/* 
Design made by Wesley Fitzgerald
Made for Lathrom Manufacturing Inc
10/18/2013
*/

* {
	margin:0;
	padding:0;
	}
	
a {
	text-decoration: underline;
	color: #FFF;
	}
	
a:hover {
	text-decoration: none;
	opacity: 0.7;
	color:#888;
}

a img{
	border: none;
}

body {
	font-size: 11.5pt;
	line-height: 1.75em;
	color: #3D3D3D;
	background-color: #5595BB;
	letter-spacing: 0.02em;

}

body,input {
	font-family:Questrial, sans-serif;
}

br.clearfix {
	clear: both;
}

h1,h2,h3,h4 {
	
	letter-spacing: -1px;
	font-weight: normal;
	color: #FFF;
	font-family: Oswald, sans-serif;
	text-transform: uppercase;
}


h1{
	font-size: 3em;
}

h2{
	font-size: 2em;
}

h3{
	font-size: 1.5em;
}

h4{
	font-size: 1em;
	}
	

table {
	color: #AAA;
	font-size: 0.8em;
	font-family: Questrial, sans-serif;
}

textarea {
	border-radius: 7px;
	padding: 10px;
}

input{
	border-radius: 7px;
	padding: 5px;
	border: 0px;
}

#ie8back{
height: auto;
width:980px;
background:#222222;
}

	
#content{
	padding: 40px;
	color: #AAA;
}

#content p{
	text-align:justify;
}

#content table h4{
	font-size:1.3em;
	color:#AAA;
	text-decoration:underline;
}

#content h1, h2, h3, h4{
	padding-bottom: 10px;
	text-decoration:none;
}

#content2col{
	padding: 5px;
	-moz-column-count:2; 
	-webkit-column-count:2;
	column-count:2;
	-moz-column-gap:20px;
	-webkit-column-gap:20px; 
	column-gap:20px;
}

#contenttext{
	padding: 5px;
}

#contenttext h3,h4{
	letter-spacing: normal;
}

#contenttext h4{
	text-transform: none;
}

#equipment table{
	margin: 0 auto;
}

#equipment h3{
	letter-spacing:normal;
	text-transform:none;
	font-weight:normal;
	font-size:1.25em;
	font-family:Questrial, sans-serif;
	color:#AAA;
}

#equipment h1, h2{
	text-decoration:underline;
	font-style:italic;
}

#gallerytable{
	padding: 1px;
	font-size:1.25em;
	margin: 0 auto;
	text-align: center;
}

#gallerytable table{
	margin: 0 auto;
	width: 100%;
}

#gallerytable h2, h3, h4{
	letter-spacing: normal;
}

#gallerytable h4{
	text-transform:none;
	}
	
#gallerytable td{
	text-align: center;
}

#gallerytable img{
	width: auto;
}
	
	
#footer{
	z-index: 100;
	text-align: center;
	padding: 50px 0px 10px 0px;
	font-size: .8em;

}

#footer a{
	color: #555;
}

#footer a:hover{
	color: #999;
}



#logotop{
	text-transform: uppercase;
	position: absolute;
	top: 35px;
	left: 30px;
	z-index: 20;
}

#logotop a{
	color: #FFF;
	text-decoration: none;
	text-shadow: -6px 2px 3px rgba(0,0,0,0.8);
}

#logotop a:hover{
	opacity: 1.0;
}

#logotop h1{
	font-size: 3.2em;
	font-family: Oswald, sans-serif;
}

#logotop h4{
	font-size: 1em;
	font-family: Oswald, sans-serif;
	text-transform: uppercase;
	padding: 3px 0px 0px 15px;
}


#navigation{
	text-transform:uppercase;
	line-height: 60px;
	font-family: Oswald, sans-serif;
	padding: 0px 0px 0 0px;
	width: 980px;
	font-size: 1.2em;
	text-shadow: 0 1px 1px rgba(0,0,0,0.8);
	letter-spacing: -1px;
	color:#FFF;
	position: relative;

}

#navbar {
	
	text-align: justify;
	width: 980px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#navbar ul ul {
	display: none;
}

#navbar ul li:hover > ul {
	display: block;
}


#navbar ul {
	background: #ae6565; 
	background: linear-gradient(top, #ae6565 0%, #7a3838 100%);  
	background: -moz-linear-gradient(top, #ae6565 0%, #7a3838 100%); 
	background: -webkit-linear-gradient(top, #ae6565 0%,#7a3838 100%); 
	background: -ms-linear-gradient(top, #ae6565 0%,#7a3838 100%);
	box-shadow: 0px 5px 9px rgba(0,0,0,0.15);
	padding: 0px 68px;
	border-radius: 20px;  
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	list-style: none;
	position: relative;
	display: block;

}

#navbar ul:after {
	content: ""; 
	clear: both; 
	display: block;
}

#navbar ul li {
	float: left;
}
#navbar ul li:hover {
	background: #7c4141;
	background: linear-gradient(top, #7c4141 0%, #6f3939 40%);
	background: -moz-linear-gradient(top, #7c4141 0%, #6f3939 40%);
	background: -webkit-linear-gradient(top, #7c4141 0%,#6f3939 40%);
	background: -ms-linear-gradient(top, #7c4141 0%,#6f3939 40%);
}
#navbar ul li:hover a {
	color: #fff;
}
		
#navbar ul li a {
	display: block; 
	padding: 2px 40px;
	color: #fff; 
	text-decoration: none;
}
			
		
#navbar ul ul {
	background: #7c4141; 
	border-radius: 0px; 
	padding: 0;
	position: absolute;
	
}

#navbar ul ul li {
	float: none; 
	border-top: 2px solid #4d2828;
	
	position: relative;
}

#navbar ul ul li a {
	padding: 5px 40px;
	color: #fff;
}	

#navbar ul ul li a:hover {
	background: #613838;
}
		
#navbar ul ul ul {
	position: absolute; 
	left: 100%; 
	top:0;
}

#quality{
	padding: 0 5% 0 5%;
}

#quality img{
	width: 80%;
	margin: 0 auto;
	display: block;
}

#quality a{
	margin: 0 auto;
	display: block;
	text-align: center;
}

#qualclause table {
	margin: 0 auto;
}


#titlebar {
	height: 120px;
	width: 940px; 
	padding: 35px;
	background: #7a3838; 
	background: linear-gradient(top, #7a3838 0%, #ae6565 100%);  
	background: -moz-linear-gradient(top, #7a3838 0%, #ae6565 100%); 
	background: -webkit-linear-gradient(top, #7a3838 0%,#ae6565 100%); 
	background: -ms-linear-gradient(top, #7a3838 0%,#ae6565 100%); 
	box-shadow: 0px -5px 9px rgba(0,0,0,0.15);
	padding: 0 20px;
	border-radius: 20px;  
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
	
	}

#wrapper{
	width: 980px;
	background: rgba(28,28,28,0.90);
	border-radius: 22px;
	position: relative;
	margin: 10px auto 0 auto;
}



#bg {
  z-index: -100;
  position: fixed; 
  top: -50%; 
  left: -50%; 
  width: 200%; 
  height: 200%;
}
#bg img {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
}
#about{
	margin: 0 auto;
}

#about img{
	margin: 0 auto;
	display: block;
}

#mobilenavigation{
	display: none;
}

#contenttext form > table{
	display: block;
	margin: 0 auto;
	text-align: center;
	
}

#errorpages {
	margin: 0 auto;
	text-align: center;
}

#errorpages h1, h2, h3, h4{
	text-decoration: none !important;
}
#settings-table{
    margin: 0 auto;
    width: 60%;
}
#settings-table tr td:first-child{
    width: 30%;
}

#settings-table thead > tr > td{
    border-top: 2px solid gray;
    font-size: 1.3em;
    text-align: left;
}
#settings-table tbody > tr td:first-child{
    text-align: right;
}
#settings-table tbody > tr:last-child > td:last-child{
    text-align: right;
}
#settings-table input[type=text], input[type=password]{
    width: 300px;
}

.admin-table{
    margin: 0 auto;
    width: 80%;
}
.admin-table tr td:first-child{
    width: 50%;
}

.admin-table thead > tr > td{
    border-bottom: 2px solid gray;
    font-size: 1.3em;
    text-align: left;
}
.admin-table tbody > tr td:first-child{
    text-align: center;
}
.admin-table tbody > tr:last-child > td:last-child{
    text-align: center;
}
.admin-table tbody > tr >td{
    border-bottom: 1px solid black;
}
.admin-table input[type=text], input[type=password]{
    width: 300px;
}
.admin-table input[type=submit]:hover{
    background-color: rgb(150,150,150) ;
}

.inp-error{
    background-color: rgb(255,150,150);
}
.success{
    color:rgb(0, 219, 37);
}
.right-align{
    text-align: right;
}
.admin-table input[type=button]:hover{
    background-color: rgb(150,150,150) ;
}
.hide-block{
    display: none;
}
#sec-menu-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
}
.sec-menu-button{
    display: inline-block;
    width: 150px;
    height: 80px;
    background-color: #7a3838;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 2px 2px #444 ;
    transition: box-shadow .5s, background-color .5s, color .5s, transform .5s;
    cursor: pointer;
    
}
.sec-menu-button:hover{
    background-color: #4c2323;
    color: #555;
    box-shadow: none ;
    transform: scale(.98,.98);
}

.sec-menu-txt{
    cursor: pointer;
    top: 50%;
    width: 100%;
    color: #DDD;
    transform: translate(0, 50%);
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1em;
}
.fileClasses table{
    width: 60%;
    margin: 0 auto;
}
.fileClasses table input[type=text], table textarea{
    width: 100%;
}

.ufiles-table{
    margin: 0 auto;
    width: 100%;
}
.ufiles-table tr td:first-child{
    width: 20%;
}

.ufiles-table thead > tr > td{
    border-bottom: 2px solid gray;
    border-collapse: collapse;
    font-size: 1.3em;
    text-align: left;
}
.ufiles-table thead > tr > td:last-child{
    width: 8%;
}
.ufiles-table tbody > tr td:first-child{
    text-align: center;
}
.ufiles-table tbody > tr:last-child > td:last-child{
    text-align: center;
}
.ufiles-table tbody > tr >td{
    border-bottom: 1px solid black;
    color: #fff;
    border-collapse: collapse;
}
.ufiles-table input[type=text], input[type=password]{
    width: 300px;
}
.ufiles-table input[type=submit]:hover{
    background-color: rgb(150,150,150) ;
}

.ufiles-table tbody > tr:hover{
    background-color: rgb(70,70,70);
    cursor: pointer;
}
.ufiles-table tbody > tr > td > a{
    text-decoration: none;
    color: #fff;
}
.ufiles-small-head{
    color: #AAA !important;
    text-align: left !important;
    font-size: 1.25em;
}
.ufiles-table input[type=button]:hover{
    background-color: #AAA;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 990px or less */
@media handheld, screen and (max-width: 990px) {
	
	#wrapper {
		width: 94%;
	}
	#content {
		width: auto;
	}
	#titlebar {
		width: auto;
	}
	#sidebar {
		width: 30%;
	}
	#navigation{
		width: auto;
	}
	#navbar{
		width: auto;
		}
	#intropic{
		width: auto;
	}
	#content-slider{
		width: auto;
	}
	#mask{
		width: auto;
	}

	#slider{
		width: auto;
	}
	
	#navbar ul {
	padding: 0px 30px;
	}
	
	#navbar ul li a {
	padding: 2px 30px;
	}

}

@media handheld, screen and (max-width: 845px){
	#navbar ul {
	padding: 0px 20px;
	}
	
	#navbar ul li a {
	padding: 2px 20px;
	}
	
	#gallerytable img{
		width: 100%;
	}
	#gallerytable p{
		text-align: center;
	}
}


/* for 700px or less */
@media handheld, screen and (max-width: 700px) {

	#content {
		width: auto;
		float: none;
	}
	#sidebar {
		width: auto;
		float: none;
	}
	#navbar ul {
	padding: 0px 15px;
	}
	
	#navbar ul li a {
	padding: 2px 8px;
	}
	
	#about img{
	width: 80%;

}
	
}

@media handheld, screen and (max-width: 550px){
	#navigation{
		font-size: 1em;
	}
}

/* for 480px or less */
@media handheld, screen and (max-width: 480px) {
	html, body{
		overflow-x: hidden;
		background: rgb(28,28,28);
	}
	
	#bg img {
	display: none;
	}
	
	#content{
		margin-top: 100px;
		top: 0;
		bottom: 0;
	}


	#wrapper{
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		margin: 0 auto;
		padding: 0;
		background: rgb(28,28,28);
	}

	#titlebar {
		position: fixed;
		top: 0;
		width: 100%;
		padding: 1px 10px 1px 10px;
		margin: 0 auto;
		border-radius: 0;
		border: none;
		z-index: 2;
		box-shadow: 0 8px 10px rgba(0,0,0,0.5);
		
	}
	h1 {
		font-size: 24px;
	}
	#sidebar {
		display: none;
	}
	
	#footer {
	bottom: -2px;
	height: auto;
	font-size: 0.75em;
	margin-left: auto;
	margin-right: auto;
	padding: 5px 0px 5px 0px;
	width: 100%;
	position: fixed;
	text-align: center;
	color: #DDD;
	background: #7a3838; 
	background: linear-gradient(top, #ae6565 0%, #7a3838 100%);  
	background: -moz-linear-gradient(top, #ae6565 0%, #7a3838 100%); 
	background: -webkit-linear-gradient(top, #ae6565 0%, #7a3838 100%); 
	background: -ms-linear-gradient(top, #ae6565 0%, #7a3838 100%); 
	box-shadow: 0 -5px 10px rgba(0,0,0,0.5);
	line-height: 1.5em;
}

#footer a{
	color: #DDD;
}

#content2col{
	padding: 5px;
	-moz-column-count:1; 
	-webkit-column-count:1;
	column-count:1;
	-moz-column-gap:20px;
	-webkit-column-gap:20px; 
	column-gap:20px;
}

.rslides{
	display:none;
}

#navigation{
	display: none;
}

#menubutton{
	font-family:Questrial, sans-serif;
	float: right;
	padding: 6px;
	border-radius: 4px;
	box-shadow: 4px 5px 6px rgba(0,0,0,0.80);
	background: #7a3838;
	border-color: #4d2828;
	border-width: 2px;
	border-style: solid;
	font-size: 1.4em;
	margin-top: 10px;
	margin-right: 10px;
	right: 0;
	display: block;
	z-index: 5;
	position: absolute;
}


#mobilenavigation{
	
	line-height: 30px;
	font-family: Questrial, sans-serif;
	padding: 0;
	height: 40px;
	font-size: 1em;
	text-shadow: 0 1px 1px rgba(0,0,0,0.8);
	letter-spacing: 0px;
	color:#FFF;
	position: absolute;
	float: right;
	right: 0;
	display: block;
	z-index: 1000;

}

#mobilenavbar {
	
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
	position: fixed;
}

#mobilenavbar ul ul {
	display: none;
	margin-top: 80px;
}

#mobilenavbar ul li:hover > ul {
	display: block;
}


#mobilenavbar ul {
	background: #ae6565; 
	background: linear-gradient(top, #ae6565 0%, #7a3838 100%);  
	background: -moz-linear-gradient(top, #ae6565 0%, #7a3838 100%); 
	background: -webkit-linear-gradient(top, #ae6565 0%,#7a3838 100%); 
	background: -ms-linear-gradient(top, #ae6565 0%,#7a3838 100%);
	box-shadow: 0px 5px 9px rgba(0,0,0,0.15);

	list-style: none;
	position: relative;
	display: block;

}

#mobilenavbar ul:after {
	content: ""; 
	clear: both; 
	display: block;
}

#mobilenavbar ul li {
	float: right;
}
#mobilenavbar ul li:hover {
	background: #7c4141;
	background: linear-gradient(top, #7c4141 0%, #6f3939 40%);
	background: -moz-linear-gradient(top, #7c4141 0%, #6f3939 40%);
	background: -webkit-linear-gradient(top, #7c4141 0%,#6f3939 40%);
	background: -ms-linear-gradient(top, #7c4141 0%,#6f3939 40%);
}
#mobilenavbar ul li:hover a {
	color: #fff;
}
		
#mobilenavbar ul li a {
	display: block; 
	color: #fff; 
	text-decoration: none;
	
}
			
		
#mobilenavbar ul ul {
	background: #7c4141; 
	border-bottom-left-radius: 10px; 
	border-top-left-radius: 10px; 
	padding: 0px 6px 0 6px;
	position: absolute;
	right: 0px;
	top: -16px;
	width: 130px;
	border: 2px solid #4d2828;
	border-right: none;
	
}

#mobilenavbar ul ul li {
	float: none; 
	border-top: 2px solid #4d2828;
	padding: 5px 0 5px 0;
	
}

#mobilenavbar ul ul li a {
	padding: 0px 5px;
	color: #fff;
}	

#mobilenavbar ul ul li a:hover {
	background: #613838;
}
		
#mobilenavbar ul ul ul {
	position: absolute; 
	left: 100%; 
	top:0;
}

#quality img{
	image-resolution: 300dpi;
}

#bg img {
  image-resolution: 10dpi;
}

}
@media handheld, screen and (max-width: 350px) {
#contenttext form > table{
	display: block;
	margin: 0 auto 0 -40px;
	text-align: center;
	
}
}

/* border & guideline (you can ignore these) 
#content {
	background: #f8f8f8;
}*/
#sidebar {
	background: #f0efef;
}
#header, #content, #sidebar {
	margin-bottom: 5px;
}
#wrapper, #header, #content, #sidebar, #footer {
	border: none;
}





