/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

/* GLOBAL SETTINGS----------------------------------------*/	

* { 
    -moz-box-sizing: border-box; 
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;    
    box-sizing: border-box; 
	}

body {
	font-family: "Cabin-Regular", Helvetica, Arial, sans-serif;
	background-color: #F2F2F2;
	min-height: 1000px;
	color: #262223;
	background-position: center top;
	font-size: 12px;
	}

h2 {
	font-family: "Cabin-Bold", Helvetica, Arial, sans-serif;
	font-size: 2.25em;
	line-height: 1.2em;
	}
	
p {
	font-size: medium;
	color: #262223;	
}

ul {   
    list-style: none;
    font-size:small;
    padding: 5px; 
	}
	
ul li {
    display: inline;
	}

a:link {
    color: #F20F4B;
    text-decoration: underline;
	}

a:visited {
    color: #F20F4B;
    text-decoration: underline;
	}

a:hover {
    color: #262223;
    text-decoration: none;
	}

a:active {
    color: #F20F4B;
    text-decoration: underline;
	}


/* WEB FONTS*/

@font-face {
font-family: "Cabin-Bold";
src: url('../support/webfonts/cabin/cabin-bold.otf');
}

@font-face {
font-family: "Cabin-Regular";
src: url('../support/webfonts/cabin/cabin-regular.otf');
}

@font-face {
font-family: "BEBAS";
src: url('../support/webfonts/BEBAS.ttf');
}  


/* RESPONSIVE BACKGROUND IMG*/

#banner_image_placeholder {
	 background: url('../support/images/prosurface-bkgrnd.jpg') no-repeat scroll 50% 0 transparent;
	 height: 317px; /* The height of your background container */
	 position: absolute;
	 width: 100%;
}

#banner_image_placeholder_dropshadow {
	 height: 200px; /* The height of your background container */
	 position: relative;
	 width: 100%;
	 -moz-box-shadow: 0px 2px 15px -1px #000;
     -webkit-box-shadow: 0px 2px 15px -1px #000;
     box-shadow: 0px 2px 15px -1px #000;
}




/* HEADER CONTENT----------------------------------------*/		
.header {
	position: relative;
	height: 26em; /*317px*/
	}

.header .logo {
	margin-top: 3.33em; /*40px*/
	}
	
.mylogo {
	margin-left: 0.625em;
}	

/*this creates a transparent box over the background image in the logo div*/
#box-link { 
		position: absolute; 
		top: 8px; 
		width: 185px; 
		height: 87.75px;
		background-color: transparent; 
		} 
		
/* NAVIGATION */

nav {
	position: relative;
}

nav > a {
		display: none;
		}


#top-nav {
	font-family: "BEBAS", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	list-style: none;
	width: 100%;
	float: left;
	margin-top:101px;
	/*padding:1px 0;*/

}

#top-nav li {
	/*background-color: #ffffff;*/
	/*display:block;*/
	padding:0;
	float:left;
	position:relative;
	width:20%;
	height:100%
}

#top-nav li a:link, #top-nav li a:visited {
	padding:4px 0;
	display:block;
	font-size: 15px;
	text-align:center;
	text-decoration:none;
	color:#262223;
	height:2.7em; /*36px*/
	}
	
#top-nav li:hover a, #top-nav li a:hover, #top-nav li a:active {
	background: url('../support/graphics/notch.png') no-repeat center bottom;
	text-decoration:underline;
	color:#A31F34; /*maroon*/
	/*border-bottom:6px solid #262223;*/
}

.notch {
	
}	

/*this is the dropdown menu*/
#top-nav li ul.top-nav-dropdown { /*this is the container*/ 
	margin:0;
	padding:1px 1px 0;
	list-style:none;
	display:none;
	background:#000000;
	position:relative; 
	top:-2px; /*this positions the block vertically. A 0em puts the child list directly on top the parent list if it is position absolute, position relative, puts it directly under*/
	/*left:-1px; this positions the block horizontally*/
	border-top:none;
}

#top-nav li:hover ul.top-nav-dropdown { /*this displays the dropdown on hover*/ 
	display:block;	
}

#top-nav li ul.top-nav-dropdown li {
	width:100%;
	clear:left;
}

#top-nav li ul.top-nav-dropdown li a:link, #top-nav li ul.top-nav-dropdown li a:visited {
	clear:left;
	background:#262223;
	color:#DBDBDB;
	text-decoration:none;
	padding:4px 0;
	border:none;
	border-bottom:1px solid #424242;
	position:relative;
	height:100%;
	z-index:1000;
}

#top-nav li ul.top-nav-dropdown li:hover a, #top-nav li ul.top-nav-dropdown li a:active, #top-nav li ul.top-nav-dropdown li a:hover {
	clear:left;
	background:#A31F34;
	color:#ffffff;
	padding:4px 0;
	border:none;
	border-bottom:1px solid #424242;
	position:relative;
	z-index:1000;

}

#top-nav .active-page {
	background: url('../support/graphics/notch-red.png') no-repeat center bottom;
	}

#top-nav .active-page .active {
	color:#A31F34; /*maroon*/
	}


	
/* MAIN CONTENT----------------------------------------*/
	
.maincontent {
	background-color: #F2F2F2;
	position: relative;
	top: -83px;
}
	
.image-block-container { 
	background-color: #F2F2F2;
	float: left;
	list-style: none;
	margin: 0 auto;
	padding: 1.667em 1.667em 0 1.667em; /*20px*/
	overflow:hidden;
	text-transform: uppercase;
	width:100%;
}

.clearfix { *zoom: 1; }
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }  


/* LANDING PAGE----------------------------------------*/

ul.block-nav-container {
	float: left;
	/*position: relative;*/
	list-style: none;
	overflow:hidden;
	padding-bottom:10000px; /* This is how you get two divs inside another div the same height without using fixed height*/
	padding-top: 0px;
	padding-left: 6px;
	padding-right: 0px;
    margin-bottom:-10000px; /* This is how you get two divs inside another div the same height without using fixed height*/
	width:20%; /*16.76em 225px*/
}

ul.block-nav-container li {
	padding-top:50%; /*115px use padding-top and padding-bottom to align text in the middle of the div*/
	padding-bottom:50%;
	display:block;
	float: left;
	/*font-size: 16px;*/
	width:100%; /*16.76em 225px*/
	text-align: center;
}

ul.block-nav-container li a:link, ul.block-nav-container li a:visited {
	display: block;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	color:#F2F2F2;
	/*width:16.76em; /*225px*/
}

ul.block-nav-container li a, ul.block-nav-container li a:hover, ul.block-nav-container li a:active {
	display: block;
	font-size: 16px;
	text-align: center;
	text-decoration: underline;
	color:#F2F2F2;
	/*width:16.76em; /*225px*/
}


ul.block-nav-container .block-nav-top {
	background-color: #9a5b18;	
}

ul.block-nav-container .block-nav-top:hover, 
ul.block-nav-container .block-nav-top:active,
ul.block-nav-container .block-nav-bottom:hover, 
ul.block-nav-container .block-nav-bottom:active {
	background-color:#A31F34;	
}

ul.block-nav-container .block-nav-bottom {
	background-color: #80704D;	
}

.image-block-wrapper {
	float:left;
	/*position: relative;*/
	overflow:hidden;
	padding-bottom:0 10000px 0; /* This is how you get two divs inside another div the same height without using fixed height*/
    margin-bottom:-10000px; /* This is how you get two divs inside another div the same height without using fixed height*/
	width: 80%;
}

.image-block-wrapper img {
    vertical-align: top;     /* Images sit on the baseline. Space below is for the descenders. Vertical-align:top to align image to the top and remove extra space at bottom of div */
}

.text-block {
	clear: both;
	float: left;
	padding: 40px 20px;
	text-transform: none;
	width:100%
	}		

.text-block p{
	font-size: 16px;
	line-height: 20px;
	margin-top: 10px;
}
	

/* SIDE BAR---------------------------------------*/

ul.side-nav-container {
	/*background-color:#6F6656;*/
	float: left;
	position: relative;
	list-style: none;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-right: 0px;
	width:20%; /*16.76em 225px*/
	/*box-shadow: 3px 3px 5px 6px #ccc;*/
    top: 45px;
    /*filter: alpha (opacity=100);*/
}

ul.side-nav-container li {
	/*padding-top:50%; /*115px use padding-top and padding-bottom to align text in the middle of the div*/
	/*padding-bottom:50%;*/
	display:block;
	float: left;
	width:100%; /*16.76em 225px*/
	text-align: center;
}

ul.side-nav-container li a:link, ul.side-nav-container li a:visited {
	/*background:#6F6656;*/
	clear:left;
	color:#80704D;
	display: block;
	font-size: 1em;
	text-align: center;
	text-decoration: none;
	padding:5px 0;
	border:none;
	border-bottom:1px solid #424242;
	position:relative;
	height:100%;	
}

ul.side-nav-container li a, ul.side-nav-container li a:hover, ul.side-nav-container li a:active {
	/*background: #A31F34;*/
	display: block;
	font-size: 1em;
	text-align: center;
	text-decoration: none;
	color:#A31F34;
	/*width:16.76em; /*225px*/
}


/* VARIABLE AREA (MAIN CONTENT SUBPAGES)------------------*/

.featured-image-block-wrapper img {
    vertical-align: top;     /* Images sit on the baseline. Space below is for the descenders. Vertical-align:top to align image to the top and remove extra space at bottom of div */
}

.intro {
	font-size: 2.25em;
	line-height: 1.2em;
	text-align: left;
	color: #A31F34;
}

.text-block-wrapper {
	float:left;
	position: relative;
	width: 80%;
}

.text-block-wrapper .text-block-no-pic {
	clear: both;
	float: left;
	padding: 40px 40px;
	text-transform: none;
	}
	
.text-block-no-pic p{
	font-size: 16px;
	line-height: 20px;
	margin-top: 10px;
}		

.text-block-wrapper .text-block {
	clear: both;
	float: left;
	padding-left: 40px;
	text-transform: none;
	width: 55%;
	}
			
.text-block-no-pic ul li, .text-block ul li {
	display: list-item;
	font-size: 16px;
	line-height: 20px;
	list-style: disc outside none;
	margin-top: 10px;
	margin-left: 1em;	
	}	


.subpage-project {
	display: block;
	float: right;
	background: transparent;
	padding-top: 40px;
	width: 45%;
	}

.subpage-project .project-image {
	background: rgba(179, 179, 179, 1);
	padding: 10px;
	margin-bottom: 15px;
	}
	
.subpage-project p{
	margin-bottom: 20px;
	text-transform: none;
}	

/* FOOTER----------------------------------------*/	

.footer {
	background-color: #4B4441;
	position: relative;
	}
	
.footer .copyright, .footer .social {
		color: #E7E7E7;
		font-family: "Gotham", Helvetica, Arial, sans-serif;
		margin-top: 75px;
		margin-right: 1.667em;
		}  	

.footer .copyright {
	font-size: 0.80em;
	text-align: right;
	text-transform: uppercase;	
	}	

.social {
	width: 252px;
	height: 36px;
	margin: 30px 30px 80px 30px;
	}

.social p {
	color: #E7E7E7;
	font-size: 14px;
	text-align: left;
	text-transform: uppercase;
	}


/* ===================================================================== */
/* ! Layout for mobile version   */
/* ===================================================================== */


@media only screen and (min-width: 768px) and (max-width: 1024px) {	
	
	/* MAIN CONTENT----------------------------------------*/			
		
	/*ul.block-nav-container li a:link, ul.block-nav-container li a:visited {
		font-size: 93%;
		}
		
	ul.block-nav-container li a, ul.block-nav-container li a:hover, ul.block-nav-container li a:active {
		font-size: 93%;		
		}*/	
	
}


@media only screen and (max-width: 767px) /*  40em 640px */ {
		html {
			font-size: 75%; /* 12 */
			}
			
		.header {
			position: relative;
			height: 100%;
			}

		.header .logo {
			 margin-top: 3.33em; /*40px*/
			}

		/*this creates a transparent box over the background image in the logo div*/
		#box-link { 
				position: absolute; 
				top: 8px; 
				width: 185px; 
				height: 87.75px;
				background-color: transparent; 
				}
				
		/* NAVIGATION */

		nav {
			position: relative;
			top: auto;
			left: auto;
			}		
		
		nav > a {
					width: 100%; 
					text-align: center;
					/*text-indent: -9999px;*/
					background-color: #A31F34;
					/*position: relative;*/
					}
					
		nav > a:link,  
		nav > a:visited {
			padding:4px 0;
			border-bottom:1px solid #424242;
			color: #DBDBDB;
			font-size: small;
			height:100%;
			text-decoration:none;
			text-transform:uppercase;	
		}
	
		/* show/hide menu */
			
		nav a:first-of-type {
			display: inline-block;
			}		
					
		.hide {
			display: none; 
			}
			
		#top-nav { 
			display: none; 
			}
			
		 .show:focus { 
	    	display: none; 
	    	}	
				
	    .show:focus + .hide {
		    display: inline-block; 
		    }	   
	    	
	    .show:focus ~ #top-nav { 
	    	display: block; 
	    	}			
			
						
		/* first level */
		nav > #top-nav {
			margin-top:0;
			/*display:none;*/
			background-color: #262223;	
			}
			
		nav:target > #top-nav {
			display: block;
			}	
			
		
		nav > #top-nav > li {
			padding:0;
			float:none;
			height:100%;
			width:100%;
			}
						
		
		#top-nav li a:link, #top-nav li a:visited {
			padding:4px 0;
			border-bottom:1px solid #424242;
			color: #DBDBDB;
			display:block;
			font-size: small;
			height:100%
			}
			
		#top-nav li:hover a, #top-nav li a:hover, #top-nav li a:active {
			text-decoration:underline;
			color:#A31F34;
			border-bottom:6px solid #262223;
			}	
		
		/*this is the dropdown menu*/
		#top-nav li ul.top-nav-dropdown { /*this is the container*/ 
			margin:0;
			padding:1px 1px 0;
			list-style:none;
			/*display:none;*/
			background:#000000;
			position:relative; 
			top:0em; /*this positions the block vertically. A 0em puts the child list directly on top the parent list if it is position absolute, 				position relative, puts it directly under*/
			/*left:-1px; this positions the block horizontally*/
			border-top:none;
			}
		
		#top-nav li:hover ul.top-nav-dropdown { /*this displays the dropdown on hover*/ 
			display:block;	
			}
		
		#top-nav li ul.top-nav-dropdown li {
			width:100%;
			clear:left;
			}
		
		#top-nav li ul.top-nav-dropdown li a:link, #top-nav li ul.top-nav-dropdown li a:visited {
			clear:left;
			background:#262223;
			color:#DBDBDB;
			text-decoration:none;
			padding:4px 0;
			border:none;
			border-bottom:1px solid #424242;
			position:relative;
			height:100%;
			z-index:1000;
			}
		
		#top-nav li ul.top-nav-dropdown li:hover a, #top-nav li ul.top-nav-dropdown li a:active, #top-nav li ul.top-nav-dropdown li a:hover {
			clear:left;
			background:#A31F34;
			color:#ffffff;
			padding:4px 0;
			border:none;
			border-bottom:1px solid #424242;
			position:relative;
			z-index:1000;
			}
		

		/* MAIN CONTENT----------------------------------------*/
			
		.maincontent {
			background-color: #F2F2F2;
			position: relative;
			top: 0px;
			}
		
		ul.block-nav-container {
			display:none;
			}	
		 
		.image-block-wrapper {
			 float:left;
			 margin-bottom: 0px;
			 width: 100%;
			 }			
				 			 
		/*.text-block p{
			font-size: 1em;
			line-height: 16px;
			}
			
		.text-block ul li {
			font-size: 14px;
			line-height: 14px;
			}		
		
		
		.intro {
			font-size: 1.5em;
			}	*/
	 
		/* SIDE BAR---------------------------------------*/

		ul.side-nav-container {
			display: none;

		}


		/* VARIABLE AREA (MAIN CONTENT SUBPAGES)------------------*/
		
		.text-block-wrapper {
			width: 100%;
		}
		
		.text-block-wrapper .text-block-no-pic {
			padding-left: 0px;
			padding-right: 0px;
			}

		
		.text-block-wrapper .text-block {
			padding-left: 0px;
			padding-right: 0px;
			width: 100%;
			}
			
		.subpage-project {
			width: 100%;
			}
			
		/* FOOTER----------------------------------------*/	

		.footer {
			height: 405px;
		}	
		
		
		.footer .copyright, .footer .social {
				margin-top: 4em;
				margin-right: 1.667em;
				}  	
		
		.footer .copyright {
			font-size: 0.80em;
			text-align: center;
			margin-bottom: 1.667em;
			}	
			
	 
}							