

/* 0 Instance Colours */

.style_ver2 {
	background-color: #345966;
}
.style_live {
	background-color: #4f81bd;
}
.style_rstr{
	background-color: #4f00bd;
}
.style_bkup{
	background-color: #4f8100;
}
.style_test{
	background-color: #02560f;
}
.style_play{
	background-color: #345966;
}
.style_devp{
	background-color: #888888;
}
.style_csld{
	background-color: #345966;
}
.style_updt{
	background-color: #444444;
}


/*	2	Links and type	 */




/*	2.1	Form elements	 */
form {
	padding: 0;
	/*background-color: rgba(0,0,0,0.1);*/
}
.form_row {
	margin:2px 0;
	min-height: 2em;
}
.newproject .form_row {
	padding: 10px 0 0 0;
    
}

label, input, select, .blank_input{
	vertical-align: middle;
	display: inline-block;
	height: 2em;
}
label{
	width: 20%;
	float:left;
	/*text-align: right;*/
	line-height: 1.5em;
}
input , select, .blank_input {
	width: 65%;
/*	float: right;*/
}


/**/
input#id_ {	/* submit button*/
	width: 100%;
	float: none;
}
.blank_input {
	line-height: 2em;
 color: #000;
 padding: 0px 6px;
 background-color: rgba(255,255,255,0.75);
	border: 1px inset #fff;
}

.numeric input{ /* shorter inputs for numbers*/
	width: 50px;
}
.date input {
	width: 90px;
}

.protected input, .protected select {
	background-color: #eee !important;
	color: #555 !important;
	border: 1px solid #ccc;
}
.protected .auto input, .protected .auto br, .protected .add_row{
	display:none;
}
.protected .auto input.ignore{
	display:inline-block;
}
.cell.auto {
	text-align: right;
}

/*	3	Main layout	 */


.divider_bottom, .divider_bottom .cell {	/* gantt*/
	border-bottom: 6px solid #28415f;
}
.mdr .divider_bottom, .mdr .divider_top .cell {	/* mdr */
	border-top: 6px solid #28415f;
}
body.mdr .sticker_l .cell, body.mdr .sticker_r .cell {
	border-top: 7px solid #28415f;
	border-bottom: 5px solid #28415f;
}
.last_mdr{
	display:none;

}
.ftracker .sticker_l .cell, .ftracker .sticker_r .cell, body.mdr .sticker_l .cell, body.mdr .sticker_r .cell { /*by WH */
	height: inherit;
	text-align: center;
	vertical-align: middle;
}
.float_l {
	float: left;
}
.float_r {
	float: right;
}
.zero_height, .gantt .zero_height.row, .gantt .zero_height .cell{
	height: 0px;
	line-height: 0px;
 padding: 0;
}

/*.small_button {
	display: inline-block;
	margin: 0 3px;
	font-size: 12px;
	text-transform: initial;
	padding: 3px 6px;
	border-radius: 6px;
	background-color: #28415f;
	text-align: center;
	cursor: pointer;
}*/


/*label.small_button {
	height: auto;
 padding: 0 0.5em;
 font-weight: normal;
}*/
.cell.left .table, .tracker_table, .tracker_table.left, .mdr .sticker_l,
.table.streets_table, .deploy .sticker_l, .ftracker .sticker_l, .ftracker .sticker_l{
	border-left: 8px solid #4f81bd;
}
.cell.name {
	text-align: left;
}



/* 3.1.1 Mobile menu overrides old menu as at 2015-12-08 */









/*	3.3	Footer 	*/
footer {
	margin-top: 3em;
}
footer p {
	color: #ccc;
	font-size: 0.8em;
	margin: 0.5em 2em;
}
#debug_window {
	position: fixed;
	top: 0px;
	left: 0px;
	background: #fff;
	color: #000;
	opacity: 0.9;
	font-size: 0.8em;
	line-height: 1.4em;
 z-index: 10000;
}

/*	4	Secondary layout structures	 */



/* 4.1 RAG buttons */

#home_form {
	padding: 0;
}



.project_complete {
	background-color: #373 !important;
}
.project_complete span.project .title {
	background-color: #030;
 border-right: 12px solid #030;
}

span.project_menu {
	font-weight: bold;
}
span.project a, span.rags a, span.project .title {
	display: inline-block;
	text-align: center;
	line-height: 20px;
	padding: 2px 4px;
	margin: 0 2px 0 0;
}



header h1 span.project .title {	/* for streets.c.php */
 overflow: visible;
 background-color: transparent;
 border-right: 0;
 /* border-radius: 12px 0 0 0; */
 padding: 0;
 height: auto;
 width: inherit;
 max-width: 100%;
 vertical-align: baseline;
 text-align: inherit;
}








.home .no_floats input,
.home .no_floats select,
body.streets .no_floats input,
body.streets .no_floats select {
	height: 24px;
	font-size: 0.9em;
}
.no_floats .row.mobile input,
.no_floats .row.mobile select {
	width: 100px;
	text-align: center;
}

.auto select{
	margin-left: 18px;
}

.auto input.ignore {
 height: 16px !important;
	width: 16px !important;
 position: absolute;
 left: 17px;
 top: 3px;
}




/* 4.4 Street Plan */
#street_plan {
	margin-top: 0px;
}
#street_plan .cell {
	/*vertical-align: top;*/
}
#street_plan .cell input {
	width: 80px;
	font-size: 0.9em;
}
#street_plan .cell.auto input {
	width: auto;
}

.cell input:focus, .cell .hasDatepicker:focus, .cell select:focus{
	background-color: #FF0;
}

.table.streets,
.table.streets_table {
	/*width:100%;*/
}
#street_plan .street_head .cell {
	height: 35px;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	background-color: #28415f;
	text-align: center;
	vertical-align: middle;
}

span.add_row {
 text-align: center;
 cursor: pointer;
 background-color: #0C0;
 color: #fff;
	display: inline-block;
 border-radius: 6px;
 padding: 0.15em;
 width: 4em;
 margin-top: 1px;
 float: right;
}

span.add_row:hover {
	background-color: #3F3;
}

body.streets .cell {
	padding: 2px 4px;
}



/* 4.6.2. Issue log (itracker) & Project tracker (ptracker) & Work tracker (wtracker)*/

.itracker .cell.project_id, .itracker .cell.crew_id .itracker .cell.supervisor_id {
	width: 100px;
	max-width: 100px;
	min-width: 100px;
}
.itracker .cell.street_id {
	width: 250px;
	max-width: 250px;
	min-width: 250px;
}
.itracker .cell.supervisor_rag, .itracker .cell.crew_rag  {
	width: 70px;
	max-width: 70px;
	min-width: 70px;
}
.itracker .cell.short_comment {
	width: 350px;
	max-width: 350px;
	min-width: 350px;
}
.itracker .cell.comment {
	text-align: left;
}
.itracker .mdr {
	z-index: 0;
}
.itracker .sticker_l{
	z-index: 1000;
}
.itracker .sticker .cell {
	padding-top: 7px;
}
.cell.split {
	border-bottom: 1px dotted #28415f;
}
.cell.last {
	border-bottom: 3px solid #28415f;
}
.ptracker div.cell, .wtracker div.cell  {
/*	-webkit-transition: all .4s ease;
	-moz-transition: all .4s ease;
	-ms-transition: all .4s ease;
	-o-transition: all .4s ease;
	transition: all .4s ease;*/
}



/*	4.7 DEPLOY specific */
.gantt .left, .gantt .right {
	padding: 0px;
}

.gantt .row {
	height: 20px;
}

.chart .cell, .line .street, .lone.street, .gap_cell, .sticker .cell {
	width:100px;
	max-width: 100px;
	min-width: 100px;
}

.gantt .cell, .line .street, .lone.street, .gap_cell, .sticker .cell {
	vertical-align: top;
	line-height: 20px;
	height: 20px;

}
.chart .cell, .sticker .cell {
	text-transform: uppercase;
	font-size: 1em;
}
.sticker .cell {
	background-color: #28415f;
	height:35px !important;
}
.line .street, .lone.street, .gap_cell {
	border-right: 1px dotted #999;
	line-height: 18px;
	height: 18px;
}
.gap_cell {
	position: absolute;
	background-color: #ff0;
	color: #f00;
	font-weight: bold;
	text-align: center;
	border-bottom: 1px solid #990;
	cursor: pointer;
}
.table.crew_project .cell {
}

.line {
	position: absolute;
	top: 0px;
}
.line .street, .lone.street {
	display: inline-block;
	position: relative;
	background-color: #7fb1ed;
	color: #000;
	border-bottom: 1px solid #0f479d;
	text-align: center;
 font-size: 0.9em;
	overflow: hidden;
	height: 18px;
}
.line .street_block, .lone.street {
	position: absolute;
}
.line .street:not(:last-child){
	border-right: 1px dotted #050;
}
.line .street.blank{
	background-color: transparent;
	border: none;
}

.line .street span.project, .lone.street span.project{
	display:block;
	position: absolute;
	width:100%;
	top: 0px;
	bottom: auto;
}
.line .street:hover span.project, .line .street:active span.project ,
.lone.street:hover span.project, .lone.street:active span.project {
	bottom: 0px;
	top: auto;
}

.line .street.conflict, .lone.street.conflict {
	background-color: #FF0;
	color: #f00;
	font-weight: bold;
	border-bottom: 1px solid #CC0;
}
.line .street.gap {
 text-align: center;
}
.sticker_l .cell{
	font-size: 1em;
}
.sticker_l .keys .cell, .sticker_r .keys .cell {
	height: 35px;
	font-weight: bold;
	color: #fff;
	text-align: center;
}
.deploy .left .table .cell, .deploy .sticker_l .cell {
	 border-right: 4px solid #28415f !important;
}

div.new_week {
	display:block;
	position: absolute;
	width: 100px;
}
div.new_week select {
	font-size: 0.7em;
	width:85px;
	height:20px;
	-moz-appearance: none;
	-webkit-appearance:none;
	display: block;
 float: left;
	vertical-align: baseline;
}
div.new_week span.add, div.new_week span.minus{
	width: 15px;
	display:block;
	position: absolute;
	text-align: center;
	right: 0;
	top: 0;
	line-height: 20px;
	height:20px;
	font-weight:bold;
	background-color: #0C0;
	border-radius: 0 12px 0 0;
	cursor:pointer;
 font-size: 1.5em;
}
div.new_week input.run_rate{
	width:85px;
	font-size: 0.7em;
	float:left;
	height: 20px;
}
div.new_week span.minus{
	right: 0;
	top: auto;
	bottom: 0;
	background-color: #C00;
	border-radius: 0 0 12px 0;
}
div.new_week span.add:hover{
	background-color: #0F0;
}
div.new_week span.minus:hover{
	background-color: #F00;
}
span.mtrs_total{
	display: block;
 text-transform: lowercase;
 position: absolute;
 bottom: -3px;
 text-align: center;
 width: 90%;
 font-size: 0.8em;
}

/* 4.8 MDR */

body.mdr .container {
	margin-bottom: 0px;
}
.mdr_row .cell, .ntracker_row .cell {
	/*text-align: center;*/
}
.ntracker_row .cell.street_id.active {
	text-align: left;
        border-bottom: 1px dotted rgba(255,255,255,0.5);
}
.ntracker_row .cell.crew_rag, .ntracker_row .cell.supervisor_rag {
	width: 120px;
	min-width: 120px;
}
.cell.nrswa_no {
	width: 150px;
	max-width: 150px;
	min-width: 150px;
}
.cell.nrswa_no input {
	width: 130px;
	max-width: 130px;
	min-width: 130px;
}
.ntracker_row .cell.Wk_Cmp, .ntracker_row .cell.RI_Cmp, .ntracker_row .cell.St_Clr, .ntracker_row .cell.Fnl_Ck, .ntracker_row .cell.Pln_Cls {
	width: 115px;
	max-width: 115px;
	min-width: 115px;
}
.mdr_row .cell.name{
	text-align: left;
}
.contract_dropdown, .query_dropdown {
/*	position: relative;
	overflow: hidden;
	padding: 0 0 0 8px;
	border: 1px solid #aaa;
	border-radius: 5px;
	background-color: #fff;
	background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
	background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
	background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
	background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
	background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
	background-clip: padding-box;
	box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
	color: #444;
	text-decoration: none;
	white-space: nowrap;
	line-height: 25px;
	display: inline;
	height: 25px ;
	color: #999;
	font-weight: bold;
	font-size: 13px ;
	text-transform: uppercase;	*/
}
.contract_dropdown {
	width: 150px ;
	height: 20px ;
}
.mdr .chosen-container { /* added by WH to increase dropdown width 
	width: 300px ;
	height: 20px ;*/
}
.contract_dropdown {
	padding-left: 4px;
}
.chosen-container-single .chosen-single span, .chosen-container-active.chosen-with-drop .chosen-single, .chosen-container-single .chosen-single, .contract_dropdown, .query_dropdown {
/* line-height: 21px;
	height: 20px ;
	border: 0;
	color: #fff;
	background: #28415f;
	background-color: #28415f;*/
}
select#id_mdr_street {
	height: 1.5em;
}
.mdr .table, .gantt .table, .ntracker .table {
	background-color: #4f81bd;/*rgba(79,129,189, 0.75);*/
}
.mdr .table, .ntracker .table, .ftracker .table {
/*	border-right: 6px solid #28415f;*/
}

.mdr .last_mdr .cell{
	display: none;
}

.mdr .left, .gantt .left, .ntracker .left, .ftracker .left {
	z-index: 500;
}
.mdr .sticker_l, .deploy .sticker_l, .ntracker .sticker_l, .streets .sticker_r, .ftracker .sticker_l{
	z-index: 600;
}
.ftracker .sticker_r{
	z-index: 550;
}
.mdr .sticker .cell, .ntracker .sticker .cell {
	max-width: 500px;
	min-width: 20px;
}
.mdr .conflict {
	background-color: #FF0 !important;
	color: #f00 !important;
	font-weight: bold !important;
	display:block !important;
	width: 100% !important;
	text-align: center !important;
}
.mdr .cell.left, .mdr .cell.right, .ntracker .left .row.data {
	padding: 0;
	vertical-align: top;
}

.mdr .left .row.data, .mdr .right .row.data {
	display:none;
}
.mdr .left .row.data:last-of-type, .mdr .right .row.data:last-of-type{
	/*margin-bottom:48px;*/
}

.mdr .left .row .cell, .sticker_l .row .cell {
	min-width:100px;
}

.data .cell.active:hover{
	cursor: pointer;
	background-color: #ffc;
}
.mdr_row.no_floats input[type=checkbox] {
	margin: 0;
}
.last_mdr {
	display: none;
}
label.del_mdr, label.del_street, span.add_week, span.green_button {
	color: #ccc;
 font-weight: bold;
 padding: 0 4px;
 line-height: inherit;
 height: initial;
 background-color: #eee;
 margin: 0 -6px 0 3px;
	cursor: pointer;
}
label.del_mdr {
	position: absolute;
	left: -3px;
	top: 1px;
	line-height:1.5em;
}
label.del_mdr:hover, label.del_street:hover {
 background-color: #fcc;
}
label.del_mdr input{
	display:none;
}
label.del_street {
	margin: 0;
	line-height: 1.5em;
}
span.add_week, span.green_button {
	color: #333;
 background-color: #3C3;
	cursor: pointer;
}
span.add_week:hover, span.green_button:hover {
	color: #000;
 background-color: #0F0;
}
.ntracker_row.no_floats input[type=checkbox] {
	margin: 0;
}
label.updt {
/*	color: #ccc; */
 font-weight: bold;
 padding: 0 4px;
 line-height: inherit;
 height: initial;
	position: center;
	right: 5px;
	top: 1px;
	line-height:1.5em;
}
label.updt:hover {
 background-color: #444;
}
label.updt input{
	display:none;
}





/*	4.8.1 MDR status colours */
.pl {
	background-color: #0FF;
	color: #333;
	width: 100%;
	display:block;
}
.pe{
}
.su {
}
.ap{
}
.ca{}
.re{}
.pe{}
.du{}
.do{}





/*	 6.5 Gradients 		*/

.gradient_black {
	background: rgba(76,76,76,1);
	background: -moz-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(102,102,102,1) 25%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(76,76,76,1)), color-stop(12%, rgba(89,89,89,1)), color-stop(25%, rgba(102,102,102,1)), color-stop(39%, rgba(71,71,71,1)), color-stop(50%, rgba(44,44,44,1)), color-stop(51%, rgba(0,0,0,1)), color-stop(60%, rgba(17,17,17,1)), color-stop(76%, rgba(43,43,43,1)), color-stop(91%, rgba(28,28,28,1)), color-stop(100%, rgba(19,19,19,1)));
	background: -webkit-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(102,102,102,1) 25%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
	background: -o-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(102,102,102,1) 25%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
	background: -ms-linear-gradient(top, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(102,102,102,1) 25%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
	background: linear-gradient(to bottom, rgba(76,76,76,1) 0%, rgba(89,89,89,1) 12%, rgba(102,102,102,1) 25%, rgba(71,71,71,1) 39%, rgba(44,44,44,1) 50%, rgba(0,0,0,1) 51%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313', GradientType=0 );
}

.gradient_grey {
	background: rgba(156,154,156,1);
	background: -moz-linear-gradient(top, rgba(156,154,156,1) 0%, rgba(94,92,94,1) 50%, rgba(82,82,82,1) 51%, rgba(18,18,18,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(156,154,156,1)), color-stop(50%, rgba(94,92,94,1)), color-stop(51%, rgba(82,82,82,1)), color-stop(100%, rgba(18,18,18,1)));
	background: -webkit-linear-gradient(top, rgba(156,154,156,1) 0%, rgba(94,92,94,1) 50%, rgba(82,82,82,1) 51%, rgba(18,18,18,1) 100%);
	background: -o-linear-gradient(top, rgba(156,154,156,1) 0%, rgba(94,92,94,1) 50%, rgba(82,82,82,1) 51%, rgba(18,18,18,1) 100%);
	background: -ms-linear-gradient(top, rgba(156,154,156,1) 0%, rgba(94,92,94,1) 50%, rgba(82,82,82,1) 51%, rgba(18,18,18,1) 100%);
	background: linear-gradient(to bottom, rgba(156,154,156,1) 0%, rgba(94,92,94,1) 50%, rgba(82,82,82,1) 51%, rgba(18,18,18,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9c9a9c', endColorstr='#121212', GradientType=0 );
}







/*	7	RESPONSIVE	 */

.full {
	display: initial;
}
.resp {
	display:none;
}

@media screen and (max-width: 1440px) {
	.rag_row div.rag_input label {
		width: 33.16%;
	}
}

@media screen and (max-width: 1200px) {

	.rag_row div.rag_input, .rag_show_container {
		/*width: 100%;*/
	}
	.rag_show_container {
		/*float:none;*/
	}
	.float_l, .float_r {
		float: none;
	}
	form.login, .login .float_r {
		width: 100%;
	}
	.rag_row div.rag_input label {
		width: 32.85%;
		white-space: nowrap;
	}
}

@media screen and (max-width: 720px) {
/*	.full {
	}
	.resp {
		display:initial;
	}
	.container {
	}
	header {
		height: 106px;
	}
	header h1 {
		font-size: 1em;
		padding-bottom: 30px;
	}
	header .branding {
		font-size: 1.2em;
		font-weight: bold;
		padding-left: 4px;
	}
	header .user {
		margin-top: 6px;
	}
	header span.project {
		display: block;
		width: 100%;
		text-align: center;
		margin-top: 3px;
	}
	h1 span.project a {
		width: 60px;
	}*/

}

@media screen and (max-width: 720px) {
/*	.container {
	
	}
	header {
		height: 124px;
	}
	header h1 {
		font-size: 1em;
		padding-bottom: 26px;
	} */
}


/*	OVERRIDES	*/
.hidden {
	display:none;
}
