html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; 
  }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

body {
  margin: 0 0;
  padding:10px;
  font-family: /*-apple-system-font, "Helvetica Neue", Helvetica,*/ Arial, Sans-serif;
  font-size: 18px;
  line-height: 1em;
  color: #4F5789;
  background-color:white;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
  -ms-tap-highlight-color: rgba(0, 0, 0, 0);
  -o-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  -ms-tap-highlight-color: transparent;
  -o-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
 /* Remarked out for ios -webkit-user-select: none; 
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;*/
  -webkit-outline: none;
  -moz-outline: none;
  -ms-outline: none;
  -o-outline: none;
  outline: none;
  -webkit-text-rendering: optimizeLegibility;
  -moz-text-rendering: optimizeLegibility;
  -ms-text-rendering: optimizeLegibility;
  -o-text-rendering: optimizeLegibility;
  text-rendering: optimizeLegibility;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden; 
}


div {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  -webkit-outline: none;
  -moz-outline: none;
  -ms-outline: none;
  -o-outline: none;
  outline: none; }
  
input, textarea{
	border-color: #CCCCCC;
	color: #666666;  
	background-color: #FFFFFF;
	font-size:20px;
}

select{
	font-size:100%;
	color: #666666; 
	padding:10px;
	border:none;
}

input[type="button"] {
	background: #CCCCCC;
	background: -moz-linear-gradient(top, #51588A 0%, #51588A 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #51588A), color-stop(100%, #51588A));
	background: -webkit-linear-gradient(top, #51588A 0%, #51588A 100%);
	background: -o-linear-gradient(top, #51588A 0%, #51588A 100%);
	background: -ms-linear-gradient(top, #51588A 0%, #51588A 100%);
	background: linear-gradient(top, #51588A 0%, #51588A 100%);
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#51588A', endColorstr='#51588A', GradientType=0);
	border-style: solid;
	border-radius: 4px;
	border-width: 1px;
	border-color: #909090;
	color: #ffffff;
	font-family: Arial, Helvetica;
	font-size: 18px;
	font-weight: bold;
	line-height: 40px; 
	outline-style: none;
	padding: 10px;
	
	text-shadow: 0px -1px 1px #51588A;
}

input[type="button"]:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

p {
	font-weight:300;
}

label{
	width:150px;
	float:left;
}


#progress {
	top: 0;
	right: 0;
	width: 100%;
	height: 500%;
	position: absolute;
	text-align: center;
	opacity: 0.50;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=50)";
	filter: alpha(opacity=50);
	zoom: 1;
	z-index: 1000;
	background-color: white;
	display: none;
}

#progress_indicator{
	margin-top:200px;
}

#job_heading{
	padding:8px;					
	font-size: larger;
	float:left;	
	margin-top:50px;			
}
#order_number{
	color:#666666;
}

#address{
	padding:10px;
	background-color:#CED7F4;
	margin:6px;
	border:1px solid #CED7F4; 
	border-radius: 6px; 
}

#job_description, #contacts, .table{	
	margin:6px;
	border-radius: 6px; 
}

#job_description, #contacts {
	background-color:#CCCCCC;
	padding:10px;
}

#contact{
	padding-bottom:5px;
}

#container{
	display:table;
	width:100%;
	padding: 3px;
    padding-right: 13px;
}

#job{
	display:table;
	width: 100%;  
	padding: 20px;
	background-position:10 10;
	/*background-image*/
	background-repeat:no-repeat;
	background-size: 128px;
	border:1px solid #CCCCCC; 
	border-radius: 6px; 
}

#contacts{

}


#job_details, #post_text{
	padding:10px;clear:both;
}

.section-heading{
	font-variant:small-caps

}

.break-on-small-devices{
	display:block;
	clear:both;
	margin-top:10px;
}

.table{
	width:100%;
}

.table-row{
	display:block;
	border:1px solid #CCCCCC; 
	border-radius: 6px; 
	margin-bottom:10px;
	padding:5px;
	background-color:#CCCCCC;	
}

.table-headings{
	display:none;	
}

.table-heading{
	display:none;
	font-weight:bold;
	padding:6px;
}

.table-cell{
	display:inline;
	
}

.table-cell-long{
	clear: both;
    display: block;
}

.table-cell-longer{
	clear: both;
    display: block;
}

.table-cell-longer, .table-cell-long, .table-cell{
	color:#666666;
	padding:6px;
}

.table-cell-empty{
	display:none;
}

.small-devices-only{
	display:inline-block;
	clear:both;
}

.photos{
	display: grid;
    grid-template-columns: 3fr 3fr 3fr;
	margin: 6px;
}
   
.photo-container{
	display:inline;
	padding:5px;
	text-decoration:none;
	color:#666666;
	line-height: 30px;
}

.photo-portrait{
	width:100px;
}

.photo-landscape{
	height:100px;
}

.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: 5px;
	text-align: center;
	top: 5px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}	

.modal_div {
    visibility: hidden;
    background-color: #DADADA;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid #000;
    padding: 15px;
    opacity: 1;
    position: fixed;
    /*top: 1%;
    left: 10%;
	margin-right:5%;*/
	width:100%;
    text-align: center;
}

#modal_background {
	visibility:hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	background-color: white; /*dim the background*/
}		

#photo_max{
	visibility: hidden;
    display: block;	
	padding:30px;
}

#photo_max_img_box{
	overflow:scroll;
	margin:10px;
	overflow:scroll;
}

#photo_max_img{
	width:100%;
}



.photo_line_info{
	white-space:nowrap;
}

.error-message{
	margin-top:10px;
	margin-bottom:10px;
    opacity: 0.9;
    background-color: #FFFF99;
    border: 1px solid #000000;
    z-index: 1;
    padding: 10px;
    line-height: 30px; 
    border-radius: 8px;
}

@media screen and (min-width: 400px){
	.table-cell-long{
		clear: none;
		display: inline;
		min-width:200px;
	}
	.table-cell-longer{
		min-width:400px;
	}
	.photo{
		width:150px;
	}

}

@media screen and (min-width: 640px){
	/*#job{
		width: 620px;
	}*/
	#job_container{
	    padding: 30px;
    	padding-right: 40px;
	}
	
	label{
		float:none;
	}
	
	
	
	.table{
		display:table;
		min-width:545px;			
		margin: 6px;
		background-color:#CCCCCC;
		border:1px solid #CCCCCC; 
		border-radius: 6px;			
	}

	.table-row,.table-headings{
		display:table-row;
		background-color:#CCCCCC;
	}
	
	.table-heading{
		display:table-cell;
		font-weight:bold;
	}
	
	.table-cell, .table-cell-long{
		display:table-cell;
	}
	
	.table-cell-empty{
		width:50%;
		display:table-cell;
	}

	.break-on-small-devices{
		display:none;
	}
	
	.small-devices-only{
		display:none;
	}
	
	.photos{
		grid-template-columns: 3fr 3fr 3fr 3fr 3fr;
	}
	
	
	#progress {					
		text-align: left;					
	}

	#progress_indicator{
		margin-top:200px;
		margin-left:250px;
	}
	
	.error-message{
    	margin-left: 30px;
		margin-right: 40px;
		margin-bottom: 0px;
	}
	
	@media screen and (min-width: 720px){
	
		/*#job{
			margin-left:100px;
			margin-right:100px;
		}*/
		.photos{
			grid-template-columns: 3fr 3fr 3fr 3fr 3fr 3fr 3fr 3fr;
		}

	}
	@media screen and (min-width: 1024px){
	
		/*#job{
			margin-left:250px;
			margin-right:250px;
		}*/
		.table-cell-nowrap{
			white-space:nowrap;
		}
		
	}
	
}	

.icon-background{
	background-repeat:no-repeat;
    height:30px;
    width:50px;
    padding-left:50px;
    display:table-cell;
}


.icon-tick {
  background-image: url("/schemes/tablet_orange/ie_icons_grey_background/tick.png");
  height:20px;
  float:left;
}

.show_icon, .hide_icon{
	padding-left:20px;
}

.highlight{
	margin-top:10px;
	margin-bottom:10px;
    opacity: 0.9;
    background-color: #FFFF99;
    border: 1px solid #000000;
    z-index: 1;
    padding: 10px;
    line-height: 30px; 
    border-radius: 8px;
}