/*
Theme Name: Eastern Surfaces
Theme URI: http://www.easternsurfaces.com
Description: The WordPress theme designed and developed for Eastern Surfaces.
Version: 1.0
Author: Altitude Marketing
Author URI: http://altitudemarketing.com/
*/

/*----- Start "Main definitions" -----*/
* { padding: 0; margin: 0; outline: 0; }

body {
    color: #5e5e5e;
    background: #fff url(images/body-bg.gif) repeat-x 0 0;
    text-align: left;
}

a img { border: 0; }
a { color: #ba760e; text-decoration: none; }
a:hover { text-decoration:underline !important; color:#5E5E5E !important }

.left { 
	float: left; 
	display: inline; 
}
.right { 
	float: right; 
	display: inline; 
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

.no-margins { margin:0 !important }
.no-left-margin { margin-left:0 !important }
.no-left-margin img { margin:10px 0 0 }
.no-right-margin { margin-right:0 !important }

/*----- End "Main definitions" -----*/
#page {
	padding-top: 153px;
	position:relative;
}

.nav-next { padding-right:12px; float:right; text-align:right; width:49% }
.nav-previous { float:left; text-align:left; width:49% }
.nav-next a { float:right }
.nav-previous a { float:left }

.nav-next a, .nav-previous a { display:table; padding:3px 10px; border:1px solid #eee; background:#eee; color:#000; font-weight:bold }
.nav-next a:hover, .nav-previous a:hover { background:#f6f6f6; border:1px solid #D7D7D7; color:#BA760E !important }

#header { position:absolute; top:35px; left:0 }
#navigation { height:41px; position:absolute; background:#f8f8f8; top:112px; left:0 }
.navigation { margin:0 0 20px 0 }

/*----- Start "Header" -----*/
#logo {
	float: left;
	display: inline;
}
#logo h1 {
	float: left;
	display: inline;
	padding-right: 20px;
	border-right: solid 1px #dcdcdc;
	height: 57px;
	width: 184px;
	font-size: 0;
	line-height: 0;
	margin-right: 20px;
	margin-bottom: 10px;
}
#logo h1 a {
	display: block;
	height: 57px;
	background: url(images/logo.gif) no-repeat 0 0;
	text-indent: -4000px;
}
#logo h2 {
	font-size: 13px;
	line-height: 27px;
	float: left;
	display: inline;
	padding: 15px 0;
	margin-bottom: 10px;
}
#phone {
	float: right;
	display: inline;
	font-size: 17px;
	margin-top: 14px;
	margin-bottom: 10px;
}
#phone span {
	font-size: 21px;
}
/*------ End "Header" ------*/

/*----- Start "Navigation" -----*/
#navigation a.home {
	background:url(images/link-home.gif) repeat;
	padding:0 !important;
	display:inline;
	float:left;
	font-size:0;
	height:11px !important;
	line-height:0;
	margin-right:25px;
	margin-top:8px;
	text-indent:-4000px;
	width:12px;
}
#navigation a.home:hover,
#navigation li.current_page_item a.home {
	background-position: 0 bottom;
}
#navigation ul {
	display:inline;
	float:left;
	margin:7px 0 10px 21px;
}
#navigation ul li {
	float: left;
	height:24px;
	border-right:1px solid #D7D7D7;
	display: inline;
	list-style-type: none;
	margin-left:0 !important;
	margin-right:25px
}
#navigation ul li a {
	padding-right:25px;
	color: #5e5e5e;
	text-decoration: none;
}

#navigation ul li li a { min-height:18px; }

#navigation ul li a:hover,
#navigation ul li.current_page_item a {
	color: #e59418 !important;
	text-decoration:none !important
}



#navigation ul li.current_page_item li a { color:#5e5e5e !important }
#navigation ul li li.current_page_item a { color:#e59418 !important }

#navigation ul li a.sf-with-ul {
	background: url(images/arrow.gif) no-repeat right center;
	margin-right:15px;
	padding-right:18px
}

ul.navigation li { position:relative }

ul.navigation li ul {
	width:190px;
	display:none;
	visibility: hidden;
	z-index:100;
	float:none;
	background:#f8f8f8;
	border:1px solid #D7D7D7;
	border-top:none;
	position:absolute;
	padding:4px 0;
	top:27px;
	left:-46px }
	
	.no-border { border:none !important }
	
ul.navigation li ul ul {
	width:160px;
	display:none;
	border-top:1px solid #D7D7D7;
	position:absolute;
	padding:4px 0;
	top:-15px !important;
	left:188px !important }
	
ul.navigation li li a { padding-right:10px !important; color:#333333 }
	
ul.navigation ul li {
	display:block !important;
	position:relative;
	height:auto !important;
	border:none !important;
	margin:0 !important; padding:0;
	float:none !important;
}
	
ul.navigation ul a {
	position:relative;
	text-transform:none;
	line-height:18px;
	letter-spacing:normal;
	font-weight:normal;
	padding:8px 10px;
	display:block;
	margin:0 4px 
}

.sf-sub-indicator { display:none }
	
ul.navigation ul a { border-bottom:1px solid #d7d7d7 }
ul.navigation ul a:hover { text-decoration:none !important; color:#000 !important; background:#fff }

ul.navigation ul a img { float:left; margin:2px 10px 0 0; width:45px; height:45px; display:block }
ul.navigation ul a strong { display:block; font-size:14px; margin:0 0 4px; text-transform:uppercase }
ul.navigation ul a br { display:none }
ul.navigation ul a span.desc { font-size:11px; line-height:13px }
ul.navigation ul a span.desc p { margin:0 !important }

/*------ End "Navigation" ------*/

/*----- Start "Gallery" -----*/

.grey-block { background:#f6f6f6 }

#under-nav-line { border-top:1px solid #d7d7d7; display:block; margin:0 0 20px 0 }
#breadcrumbs { font-size:17px }

#gallery {
	border: solid 1px #d7d7d7;
	padding: 5px;
	margin-bottom: 40px;
	height:336px;
	position: relative;
}
#gallery .text {
	bottom:10px;
	left:40px;
	position:absolute;
	width:230px }
	
#gallery .text h2 {
	font-family:"Myriad Pro",Arial,Helvetica,Sans-Serif;
	font-size:41px;
	font-weight:bold;
	letter-spacing:-1px;
	line-height:38px;
	margin-bottom:5px;
	text-transform:lowercase }
	
#gallery .container {
	float: right;
	display: inline;
	width: 615px;
	height: 336px;
	position: relative;
}
#gallery .container .holder {
	width: 615px;
	height: 336px;
	overflow: hidden;
	position: relative;
	z-index: 10;
}
#gallery .container .content {
	position: absolute;
	width: 40000px;
}
#gallery .container .fragment {
	width: 615px;
	height: 336px;
	float: left;
	display: inline;
}
#gallery .container .button {
	position: absolute;
	bottom: 0;
	opacity:0.75; filter: alpha(opacity=75); -moz-opacity:0.75;
	width: 56px;
	height: 70px;
	font-size: 0;
	line-height: 0;
	text-indent: -4000px;
	cursor: pointer;
	visibility: hidden;
	z-index: 11;
}

#gallery .container .button-prev {
	left: 0;
	background: url(images/button-prev.png) no-repeat 0 0;
}
#gallery .container .button-next {
	right: 0;
	background: url(images/button-next.png) no-repeat 0 0;
}
/*------ End "Gallery" ------*/

/*----- Start "Main Blocks" -----*/
#main-blocks {
	margin-bottom: 40px;
}
#main-blocks .block {
	height: 155px;
	border-left: solid 5px #e0e0e0;
	padding-left: 20px;
	cursor: default;
	display:block;
	overflow: hidden;
}
#main-blocks .block h2, #main-blocks a.block strong {
	font-size: 23px;
	line-height: 37px;
	font-weight:normal;
	margin-bottom: 5px;
}

#main-blocks a.block span { display:block; color:#5e5e5e; margin:5px 0 }
#main-blocks a:hover.block { cursor:pointer; text-decoration:none !important }

#main-blocks .block h3 {
	font-size: 17px;
	line-height: 26px;
	margin-bottom: 0;
	font-weight: bold;
}
.block-hover, a:hover.block {
    border-left: 5px solid #ba760e !important;
}

.contact-info.block-hover h2 { color:#5e5e5e !important }

.block-hover h2,
a:hover.block strong
.block-hover a {
	color:#5e5e5e;
}
.block-hover p,
a:hover.block span,
.block-hover h3 {
	color: #000;
}

div.block ul.clients {
	font-weight: bold;
	font-size: 16px;
	list-style: none;
}

div.block ul.clients li {
	margin-left: 0px;
}
/*------ End "Main Blocks" ------*/

/*----- Start "Ad" -----*/
.ad {
	margin-bottom: 35px;
}
.ad img {
	border: solid 1px #d7d7d7;
	padding: 5px;
}
/*------ End "Ad" ------*/

/*----- Start "Quote" -----*/
.quote {
	padding-top: 5px;
	background: url(images/quote.gif) no-repeat 0 0;
	height: 100%;
	position: relative;
	margin-bottom: 40px;
}
.quote .first {
	text-indent: 50px;
}
.quote p {
	margin-bottom: 0;
}
.quote strong {
	display:block;
	text-align: right;
}
/*------ End "Quote" ------*/

/*----- Start "Post" -----*/
.post {
	margin-bottom: 20px;
}
.post img {
	padding: 5px;
	border: solid 1px #d7d7d7;
}
.post a:hover img { border:1px solid #BA760E; }
.post h2 {
	border-top:1px solid #DDDDDD;
	margin:10px 0;
	padding:15px 0 0;
}
.post h2 a {
	text-decoration: none;
}

.post h4 { margin-bottom:5px; font-size:17px;
font-weight:bold !important; }
.post .entry h3 {
	color:#BA760E;
	font-size:15px;
	font-weight:bold;
	line-height:23px }
	
.post .entry .more {
	font-weight: bold;
	font-size: 11px;
	text-decoration: none;
}
.post .entry img {
	margin: 10px 20px;
}
.post .entry img.left {
	margin-top: 0;
	margin-left: 0;
}
.post .entry img.right {
	margin-top: 0;
	margin-right: 0;
}
.post .entry p img {
	margin-top: 10px;
}

.post img.alignleft { position:relative; top:8px }

/*------ End "Post" ------*/

/*----- Start "Contact Info" -----*/
.contact-info {
	border-left: solid 5px #e0e0e0;
	padding-left: 20px;
	margin-bottom: 30px;
}
.contact-info .block {
	margin: 10px 0;
	font-size: 19px;
}
.contact-info .block p {
	color: #ba760e;
}
.contact-info .block a {
	text-decoration: none;
}
.contact-info .block h4 {
	font-weight: bold;
}
.contact-info .block * {
	margin-bottom: 0;
}
/*------ End "Contact Info" ------*/



/*----- Start "Gallery Cat Blocks/Gallery" -----*/

.cat-block { margin:0 0 10px 0 }
.cat-block .cat-image { float:left; margin:0 1px 0 0 }
.cat-block .cat-image img { width:288px; height:150px; display:block; margin:0 }
.cat-block .cat-name { width:289px; float:right; padding:15px; height:132px; background:#f5f5f5 }
.cat-block .cat-name h3 { margin:0 0 5px; font-size:26px; text-transform:uppercase; letter-spacing:-1px; line-height:29px; font-weight:normal }
.cat-block .cat-name .desc { font-size:13px; line-height:20px }
.cat-block .cat-name p.cat-count { font-size:12px; margin:0 0 15px !important; color:#888 }
.cat-block .cat-name p { margin:0 0 5px }

.gallery-img-block { float:left; margin:0 10px 10px 0 }
.gallery-img-block img { display:block; margin:0; width:184px; height:184px }
.no-margin-right { margin-right:0 !important }


/*----- Start "Footer" -----*/
#footer {
	font-size: 12px;
}
#footer,
#footer .container_12 {
	background: url(images/greydot.gif) repeat-x 0 0;
}
#footer .grid_7, #footer .grid_5 {
	margin-top: 20px;
}
#footer .copy {
	text-align: right;
}
/*------ End "Footer" ------*/


/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 15px 20px !important;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 20px 15px 0 !important;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */




/* Contact Form 7 */
.wpcf7 p { clear:both; margin:0 }
.wpcf7 input { float:left; border:1px solid #ccc; width:315px; color:#666; background:#f8f8f8; padding:6px 7px; margin:0 0 10px 0; font-size:13px; font-family:Arial, Helvetica, sans-serif }
.wpcf7 input:focus { color:#000; background:#fff }

.wpcf7 p.submit input { background:#BA760E; color:#fff; border:none; cursor:pointer; padding:7px 15px; font-weight:bold; width:auto !important }

.wpcf7 textarea { color:#666; border:1px solid #ccc; background:#f8f8f8; width:309px; margin:0 0 10px 0; padding:10px; font-size:13px; font-family:Arial, Helvetica, sans-serif }
.wpcf7 textarea:focus { color:#000; background:#fff }

.wpcf7 .wpcf7-not-valid-tip-no-ajax { float:left; margin:0 0 0 15px; font-size:17px; font-weight:bold }


