@charset "utf-8";
/* Cornerstone Contracting CSS Document */

body {
	background-color: #ffffff;
	background-image: url(images/BeigeStoneTile.png); 
	background-repeat: repeat;
}

html{
	height:100%;				/* Force vertical scrollbars in VTz + Opera to prevent 'jumping' */
	margin-bottom:1px;
	overflow-y:scroll;			/* this line is for IE */
}
 
img { max-width: 100%; height: auto; }  

a {
	color: #961621;
	font-weight: bold;
	text-decoration: none;
}
a:hover {color: #fece08;}

p { margin: 0px; padding: 0px;}

h1{	
	text-align: center;
	vertical-align: top;
	color: #fece08;		/* gold */
    font-family: 'Open Sans', Arial, Helvetica, serif;
	font-size: 24px;
	font-weight: bold;
	margin-top:15px;
	margin-bottom:15px;
}

h2{	
	color: #fece08;		/* gold */
    font-family: 'Open Sans', Arial, Helvetica, serif;
	font-size: 18px;
	font-weight: bold;
	display: inline;
}
h3{	
	color: #961621;		/* brick */
    font-family: 'Open Sans', Arial, Helvetica, serif;
	font-size: 18px;
	font-weight: bold;
	display: inline;
}

.BodyTable {
	background-color: #fff;
    margin-left: auto;
    margin-right: auto;
}

.colorBrick {color: #961621;}
.colorGold {color: #eda900;}
.colorSky {color: #87A3B9;}

img {border:0px; padding:0px;}
img.framed {border:1px; padding:0px; border-color:#000;}

.Centered {margin-left: auto; margin-right: auto; }
.ContentsCentered {text-align: center;}
.ContentsLeft {text-align: left;}
.ContentsRight {text-align: right;}

.Copyright {display: block;}
.Copyright, .Copyright a {
	color:#000!important;
	font-family: "trajan-pro-3", Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	line-height:20px;
	vertical-align:middle;
	font-weight:normal!important;
}
.Copyright a:hover {color:#961621!important; }

.FloatR {float: right; padding-left: 10px;}
.FloatL {float: left; padding-right: 10px;}

.FrameBlack {
	background-color: #000; 
	padding: 5px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-top-right-radius: 4px;
	-moz-border-radius-bottomleft:4px;
	border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	border-bottom-right-radius: 4px;
}

.KeepTogether {display: inline-block}


.MainTable {
	background-color: #961621;
	padding: 6px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.NavTable {
	vertical-align: middle;
	background: #961621;
	margin-bottom: 10px;
}
a.Link_Nav {
	color:#fff;
    font-family: 'Open Sans', Arial, Helvetica, serif;
	font-size: 20px;
    line-height: 2em;
	font-weight: bold;
    padding-left: 50px;
	padding-right: 50px;
}
a.Link_Nav:hover {	color:#fece08;}


.PadTop5 {margin-top: 5px;}

.TextBody {
	color: #000000;
    font-family: 'Open Sans', Arial, Helvetica, serif;
	font-size: 16px;
	line-height: 22px;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}
.TextBodyNumbers {
	font-family: "Times New Roman", Times, serif;
	font-size: 18px;
	padding-left: 0px;
	padding-right: 0px;
}
.ClientList {
    display: inline-block;
    max-width: 320px;
    margin-right: 10px;
	font-size: 12px;
	line-height: 13px;
    align-content: left;
}
ul  {margin-top: 0px;}
ul li {margin-left: -25px;}

.VertBottom {vertical-align: bottom;}
.VertMid {vertical-align: middle;}
.VertTop {vertical-align: top;}


/* SLIDESHOW */
#fadeshowContainer {max-width: 510px; text-align: center; }
#fadeshow1 .gallerylayer  { vertical-align: top;}
/* make all images inside fadeshow1 scale to 100% of slideshow width */
#fadeshow1 .gallerylayer img { width: 100%; height: auto; margin-top: 0px!important; background-color: transparent!important}

@media all and (min-width: 511px) { 
    #fadeshowContainer {max-width: 510px;}
    #fadeshow1 {width: 500px!important; height: 275px!important;}
}
@media all and (max-width: 510px) { 
    #fadeshowContainer {max-width: 280px;}
    #fadeshow1 {width: 270px!important; height: 148px!important;}
}
@media all and (max-width: 310px) { 
    #fadeshowContainer {max-width: 235px;}
    #fadeshow1 {width: 225px!important; height: 123px!important;}
}



/* GALLERY **************************************/
#gallery {
   line-height:0;
   -webkit-column-count:5; /* split it into 5 columns */
   -webkit-column-gap:5px; /* give it a 5px gap between columns */
   -moz-column-count:5;
   -moz-column-gap:5px;
   column-count:5;
   column-gap:5px;
}   
#gallery img {
   width: 100% !important;
   height: auto !important;
   margin-bottom:5px; /* to match column gap */
}
@media (max-width: 1200px) {
   #gallery {
    -moz-column-count:    4;
    -webkit-column-count: 4;
    column-count:         4;
   }
}
@media (max-width: 1000px) {
   #gallery {
    -moz-column-count:    3;
    -webkit-column-count: 3;
    column-count:         3;
   }
}
@media (max-width: 800px) {
   #gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
   }
}

@media (max-width: 400px) {
   #gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
   }
}    
 
 
/* Navigation ************************/ 
@media (min-width: 1200px) { 
	#Navigation {width: 1000px; margin-left: auto; margin-right: auto; text-align: center;}
}
@media all and (max-width: 1199px) {
	#Navigation {width: 100%; padding-right: 10px; padding-left: 10px;  margin-left: auto; margin-right: auto; text-align: center;}	
}

img {max-width: 100%; height: auto; }

.MainTable {max-width: 1212px}
.BodyTable {width: 100%; max-width: 1200px; }

/* FOR SPECIFIED VIEWPORTS */ 

@media all and (min-width: 1200px) {
    .MainTable {width: 1212px; }
	.MobileHide {display: inline-block;}
	.MobileShow {display: none;}
    .Half {width: 49%; display: inline-block}
}


@media all and (max-width: 1199px) {
    .MainTable, .Copyright {width: 90%; padding: 6px;}
    .TextBody {	padding-left: 5px; 	padding-right: 5px;}
    .Half {width: 100%; margin-left: auto; margin-right: auto;}
    #HomeServiceList {margin-top: 20px}
    a.Link_Nav { padding-left: 40px; padding-right: 40px;}
}
    

/* Tablets to Desktops */ 
@media all and (min-width: 768px) and (max-width: 999px) {
	.MobileHide {display: none;}
	.MobileShow {display: inline-block;}
	.Nav_Link {	font-size: 15px; line-height: 40px; padding-left: 14px;	padding-right: 14px;	}
    #NavMenu {margin-left: auto; margin-right: auto;}
	.TextBody {	padding-left: 5px; 	padding-right: 5px;}
    .NavBar{width: 100%;}
    a.Link_Nav { padding-left: 12px; padding-right: 12px;}
}

@media all and (max-width: 767px) { 
    #fadeshow1 {width:100%!important}
    .TextBody {	font-size: 12px;}
    .TextBodyNumbers {font-size: 13px;}
	h1 { 	font-size: 120%;}
	h2 { 	font-size: 110%;}
	.MobileHide {display: none;}
	.MobileShow {display: inline-block;}
	.Nav_Link {	font-size: 15px; line-height: 40px; padding-left: 8px;	padding-right: 8px;	}
    #NavMenu {margin-left: auto; margin-right: auto;}
    a.Link_Nav {padding-left: 10px; padding-right: 10px;}
}

@media all and (max-width: 480px) {
	.wrapper {  min-height: auto;  margin-bottom: 0px; }	 /* Equal to height of footer plus margin-bottom of last child */
	.FooterStripe {height: auto;}
	.Footer {padding-top: 5px; padding-bottom: 5px;}
	h1 { 	font-size: 150%;}
	h2 { 	font-size: 130%;}
    h3 { 	font-size: 110%;}
	.Copyright, .Copyright a {font-size; 10px; line-height: 15px;}
    a.Link_Nav { font-size: 12px;}
    .ClientList {font-size: 10px!important;}
}

@media all and (max-width: 320px) {
	.Copyright, .Copyright a  { font-size: 8px; line-height: 11px;}
    #Banner1 img {margin-right: 5px; margin-left: 5px;}
    .ClientList {font-size: 9px!important;}
}
