* { margin: 0; padding: 0; outline: 0; }

body, html { height: 100%; }

body {
    font-size: 14px;
    line-height: 22px;
    font-family: 'Gothic A1', arial, sans-serif;
    color: #272727;
    bg-color: #ffffff;
    min-width: 100%;

}

.footer p {
	color: #333;
	font-size: small;
    	font-family: 'Gothic A1', arial, sans-serif;
	text-align: center;
	display: block; }

nav {background: none; margin: -5px; }

.navbar-right {
	font-size: 12px; }

#firstWell { margin-top: -10px; }

.MainImage {
    width: 100%;
    position:relative; }

#MainCaption {
    float: right;
    position: absolute;
    right: 20px;
    top: 25%;
    width: 25%;
    padding: 12px;
    background: black;
    opacity: 0.75;
    border: 2px solid #000;
    border-radius: 20px;
	z-index: -1;}

/*font-family: 'WorkSans', sans-serif;*/

a:hover { color:silver; text-decoration: underline; }
a img { border: 0; }

article, aside, details, header, menu, nav, section { display: block; }

.cl { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }

.notext { font-size: 0; line-height: 0; text-indent: -4000px; }

.left, .alignleft { float: left; display: inline; }

.right, .alignright { float: right; display: inline; }

.shell { width: 981px; margin: 0 auto; }
.container { background: url(images/container.png) repeat-y center 0;  }










.slider-holder { position: relative; margin-bottom:0px;   }



.slider ul { list-style:none; list-style-position: outside; }
.slider ul li { float: left; width: 938px; height: 350px; }
.slider .slide-cnt { width: 450px; height: 220px; position:relative; overflow: hidden; float: left; padding-top: 30px; padding-left:10px;  }

.slider h4 { color:#fff; font-size: 16px; font-family: 'WorkSans', sans-serif;  font-weight: 500; text-shadow: rgba(0,0,0,1) 0px 1px 0px; text-transform: uppercase; }
.slider h2 { color:#990000; font-family: 'WorkSans', sans-serif; font-size: 46px; line-height:46px; padding-bottom: 12px; font-weight: 600; text-shadow: rgba(0,0,0,1) 0px 1px 0px; }
.slider p { color:#990000; }
.slider p a { color:#990000; text-decoration: underline; }
.slider p a:hover { text-decoration: none; }




.goldclass {color: #cc9900; }


.main { padding:0px; }

p { text-align:justify; padding-right: 10px; }

.featured { background: #d3d3d3; border: 1px solid #e5e5e5; padding: 10px 18px 10px 18px; margin-bottom: 22px;  position: relative; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -o-border-radius: 10px; }
.featured h4 { font-family: 'WorkSans', sans-serif;  line-height: 43px; font-size: 16px; color:#99000; font-weight:400; }
.featured h4 strong { color:#990000; font-weight: 600; }
.featured a.blue-btn { background: url(images/blue-btn.png) repeat 0 0; width: 189px; height: 39px; text-shadow: rgba(0,0,0,0.5) 0px 1px 0px;  position: absolute; top: 50%; margin-top: -20px;  right: 9px; display: block; font-size: 16px; font-weight: 500; color:#fff; text-align: center; line-height: 39px; border: 2px solid #0a7fb5; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; text-decoration: none; font-weight: 500; font-family: 'WorkSans', sans-serif; text-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
}

.featured h2 { font-size:16; line-height: 26px; padding-bottom: 6px; }

a { color: #990000; text-decoration: none; font-weight: 500;} 
.featured a { color: #990000; }
.featured a:hover { color: gray; }



.main h5 { font-size: 12px; }
.main h5 { padding-bottom: 10px; }
.main a.more { background: url(images/blue-arr.png) no-repeat 0 6px; text-decoration: underline; padding-left: 8px; font-weight: 500; font-family: 'WorkSans', sans-serif; }
.main a:hover { text-decoration: none; }

.main a.m-btn-red { display: none; background:#000000; }
.main a.m-btn-grey { display: none; background:#000000; }

#mobile_size { height: 90px; }

.main .cols { padding-bottom: 38px;  }
.main .cols .col { float:left; width: 286px; padding-right: 40px; }
.main .cols .col.last { padding-right: 0; }
.main .cols .col img.left { margin-right: 24px; margin-bottom:10px;  }
.main .cols .col a { text-decoration: none; color:#990000; }
.main .cols .col ul { list-style:none; list-style-position: outside; }
.main .cols .col ul li { padding: 10px 10px 12px; background: url(images/border-title.png) repeat-x 0 bottom; font-family: 'WorkSans', sans-serif; font-weight:600; }


.main .cols .col ul li a { padding: 0px 10px; display:block; background: url(images/blue-arr.png) no-repeat 0px 9px; }
.main .cols .col ul li.first { padding-top:2px; }

.main ul li { padding: 0px 10px; display:block; background: url(images/blue-arr.png) no-repeat 0px 9px; }

.main .entries { background: url(images/entries.png) repeat-y 0 0; position:relative; margin: 0 -20px; padding: 20px; margin-bottom: 1px; border-bottom: 1px solid #e8e8e8;  }
.main .entries h3 { margin-bottom: 15px;  background: url(images/entry-title.png) repeat-x 0 bottom; }
.main .entries .entry { width: 286px; float:left; padding-right: 40px; }
.main .entries .entry.last { padding-right:0; }
.main .entries .entry p.meta { color: #cbcbcb; }
.main .entries .entry p.meta a { color: #cbcbcb; }
.main .entries .entry-inner { padding-bottom: 18px; margin-bottom: 16px; background: url(images/entry-title.png) repeat-x 0 bottom; }
.main .entries .entry .date { margin-right: 15px;  position: relative; float:left; padding: 14px 12px; width: 40px; height: 34px; background: url(images/date-ico.png) no-repeat 0 0; } 

.main .entries .entry .date strong { color:#990000; font-size: 22px; line-height: 22px; font-family: arial, sans-serif; font-weight: bold; display:block; }
.main .entries .entry .date span { font-weight: bold; font-size: 9px; color:#c6c6c6; position:relative; margin-top: 0px; display:block; line-height:9px;  }
.main .entries .entry .date em { -webkit-transform: rotate(-90deg); line-height: 12px;
-moz-transform: rotate(-90deg);	 font-weight: bold; font-style: normal; width: 12px;  color:#bdbdbd; font-size: 12px; position:absolute; bottom: 20px; left: 41px; }

.testimonials { padding-bottom: 30px; }
.testimonials p { font-style: italic; font-family: georgia ,arial, serif; font-size: 14px; color:#898989; }
.testimonials p strong { font-size: 43px; position:relative; bottom: -19px; font-weight: normal; padding-right: 4px;  }
.testimonials p.author { font-size: 12px; text-align: right; }
.testimonials p.author strong { font-size: 12px; bottom: 0; font-weight:bold;  }


/* ipad portrait */
@media only screen and ( min-width: 768px) and ( max-width: 981px ) {
	body { width: auto; }
	.shell { width: auto; width: 768px; }

	.container { background-image:url(images/container-tablet.png); }
	.slider { width: 768px; height: 366px; background-image:url(images/CertifiedCollisionLIExteriorFreeport.jpg); }
	.slider ul li { width: 768px; }
	.slider img { width: 316px; height: 286px; margin-left: 0; margin-right: 20px;  }
	.slider h3 { font-size:16px; }
	.slider h2 { font-size: 47px; line-height: 54px; } 
	.slider .slide-cnt { width: 380px; height: 190px; }

	#thumbs-wrapper { width: 356px; }
	#thumbs a { width: 75px; height: 56px; }
	#thumbs a.selected { width: 75px; height: 65px; }
	#thumbs a.selected img { width: 75px; height: 65px; }
	#thumbs a img { width: 75px; height: 56px; }

	.featured h4  { font-size: 16px; line-height: 28px; }

	.main .cols .col { width: 222px; padding-right: 30px; }
	.main .cols .col img.left { float: none; display: block; margin:0 auto 12px; }

	.main .entries { background-image:url(images/entries-tablet.png);  }
	.main .entries .entry { width: 225px; padding-right: 24px;  }
	.main .entries .entry img { width: 100%; }
	.main .entries .entry .cnt {  height:100%; overflow: hidden; }

	#footer p.copy { float: none; display:block; padding-left: 10px; font-size:11px; line-height: 16px; }
}

/* mobile*/
@media only screen and ( max-width: 640px) { 
	
	body { width: auto; }

	.search { display:none; }
	#header { height: 80px; padding:6px; background: transparent; margin-bottom:0; }
	#logo {display: block; margin-left: auto; margin-right: auto; background: url(images/CCwebLOGO.png) no-repeat 0 0;}	

	#navigation { position:relative; z-index: 100; padding:0 0px; margin:0 10px;  }
	#navigation a.nav-btn {  margin-bottom: 15px; text-decoration: none; padding:0 36px 0 10px; line-height:30px;  display:block; background: url(images/navigation.png) repeat-x 0 0; height: 30px; position: relative; }
	#navigation a.nav-btn span { background: url(images/dd-nav-arrs.png) no-repeat 0 bottom; width: 20px; height: 15px;  position:absolute; top: 8px; right: 12px; }
	#navigation a.nav-btn.active span { background-position:0 0; }

	#navigation ul { display:none;  position: absolute; top: 30px; left: 0; width: 100%; }	
	#navigation ul li { float:none; height: 30px; border-top: 1px solid #fff; display:block; padding:0 0 0 0; background: url(images/navigation.png) repeat-x 0 0; }
	#navigation ul li a { color:#990000; border: 0; line-height:30px;  float:none; height: 30px; display: block; font-size: 14px; padding-left: 20px; padding-right: 20px; width:100%; border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; -o-border-radius: 0px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; }	
	
	#navigation ul li a:hover { color:#000000; border:0;  }
	#navigation ul li.active span { background: transparent; border:0; silver}
	#navigation ul li.first { display:none; }

	#navigation ul li li {display: none; }


	.shell { width: 320px; }
	.container { width: 320px; }
	.main { padding:0 10px; }

	#thumbs-wrapper { display: none; }
	.slider { display:none; }
	.slider-holder { width: 320px; margin:0 auto; }
	
	.slider .slide-cnt { width: 300px;  float:none; display:block; padding-top: 12px; }
	.slider ul li { width: 300px; }
	.slider h4 { padding-top:90px; font-size:20px; text-align: left;}
	.slider h2 { font-size: 32px; text-align: left;}
		
	.slider .socials { display:none; }
	
	.mobileIMG { background-image: url(images/CertifiedM.jpg); padding:0; margin:auto; height:220px; width: 300px; position:relative; }

	.main .cols .col { padding-bottom: 20px; float:none; display:block;padding-right:0; width: auto;  } 
	.main .cols .col img.left { float:none; display:block; margin: 0 auto;  }
 	.main .entries { margin:0 -10px;  }
	.main .entries .entry { width: auto; padding-right:0; float:none; display:block; margin-bottom:14px;  }

	.main a.m-btn-red { display: block; background: url(images/m-btn-red.png) repeat-x 0 0; margin: 0 10px 14px;  height: 39px; text-align: center; line-height: 39px; border: 1px solid #9e9f9f; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; display: block; font-weight: bold; font-size: 17px;  color: #ffffff; text-shadow: rgba(255,255,255,0.4) 0px 1px 0px; }

	.main a.m-btn-red:hover { background-position: 0 bottom; text-decoration: none; }
	
	

	.featured h4 {  font-size:16; line-height: 26px; padding-bottom: 6px; }
	.featured h2 { font-size:16; line-height: 26px; padding-bottom: 6px; }
	.featured a.blue-btn { float: none; display:block; right:0; left:0;  position:relative; margin: 0 auto; top:0;  width: 260px; }
	.featured { padding: 10px; }

	#mobile_size { width: 100%; }

	.logoBlock {display: block; margin-left: auto; margin-right: auto; }
	
	#footer { padding-left: 0; padding-right:0;  }
	.footer-nav { float:none; display:block; height: 12px; margin:0 auto; width: 310px; vpadding-bottom: 8px; }
	.footer-nav ul li { font-size: 8px; border-right:0; padding:0 2px; }
	#footer p.copy { line-height: 150%; font-size: 11px; text-align:justify; float:right; display:block; }

	


@media only screen and ( max-width: 767px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-resolution: 240dpi) { 
	#navigation a.nav-btn { background-image:url(images/navigation@2x.png); -webkit-background-size: 2px 30px; -moz-background-size: 2px 30px; background-size: 2px 30px; }
.main a.m-btn-grey { display: block; background: url(images/m-btn-grey.png) repeat-x 0 0; margin: 0 10px 14px;  height: 39px; text-align: center; line-height: 39px; border: 1px solid #9e9f9f; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; display: block; font-weight: bold; font-size: 18px;  color: #636363; text-shadow: rgba(255,255,255,0.4) 0px 1px 0px; }
.main a.m-btn-grey:hover { background-position: 0 bottom; text-decoration: none; }

}
