/*
Theme Name: Graniti Theme
Theme URI: http://www.creativenights.com/resources/wordpress/wp-basic-hr/
Description: Graniti
Version: 1.0
Author: Creative Nights
Author URI: http://www.creativenights.com/
*/

* { margin: 0; padding: 0; }

html { font: 12px/18px Helvetica, Arial, sans-serif; color: #444; background: #fff; }

a img,
fieldset	{ border: 0; }

a			{ color: #0F870F; outline: none; }
a:hover,
a:focus		{ color: #1177ff; text-decoration: none; }

a:active	{ }

#sizer          { margin: 0 auto; width: 980px; overflow: auto; background: url(i/grid.png) repeat-y 20px 0; background: none; }
.grid           { width: 940px; margin: 0 20px; }
.grid:after     { content: " "; display: block; clear: both; height: 0; font-size: 0; visibility: hidden; }

#header 		{ float: left; background: url(i/header-top-border.png) no-repeat 20px 0; }
#header .grid   { }

#logo { float: left; padding: 62px 0 47px 80px; background: url(i/graniti-logo.png) no-repeat 20px 62px; }

#header h1		{ font-weight: bold; font-size: 34px; line-height: 34px; }
#header h1 a	{ display: block; color: #0f870f; text-decoration: none; }
#tagline		{ font-size: 12px; color: #898989; }

#search-form	{ float: right; }

#lang-switcher      { float: right; clear: right; width: 180px; padding: 28px 20px; font-size: 11px; text-align: right; color: #898989; }
#lang-switcher a    { color: #1177ff; text-decoration: none; }

#main-nav		{ float: left; width: 980px; background: url(i/main-nav-shadow.png) no-repeat 98px 100%; }
#main-nav .grid { /* border-bottom: 1px solid #ccc; */ }
#main-nav ul    { float: right; width: 610px; padding: 0 10px; background: #f6f6f6; }

#main-nav li	{ list-style: none; float: left; display: inline; text-transform: uppercase; }
#main-nav li a	{ display: block; padding: 16px 10px; text-decoration: none; }
#main-nav li.current_page_item,
#main-nav li.current_page_ancestor,
#main-nav li.current_page_parent { background: url(i/main-nav-active.png) no-repeat 50% -1px; }
                          
#main-nav li.page-item-14,
#main-nav li.page-item-16,
#main-nav li.page-item-19,
#main-nav li.page-item-21,
#main-nav li.page-item-23,
#main-nav li.page-item-26   { font-weight: bold; } 

#main-nav .plus { padding: 0 5px; }


#content		{ float: left; clear: both; width: 980px; }
#content .grid  { /* background: url(i/main-content-top-grad.png) repeat-x 0 0; */ }

#content h1,
#content h2				{ font-weight: normal; }

#content h1				{ font-size: 34px; line-height: 36px; margin-bottom: .5em; color: #0f870f; }
#content h2				{ font-size: 18px; line-height: 12px; margin-bottom: .5em; }
#content h3				{ font-size: 12px; line-height: 18px; margin-bottom: .5em; text-transform: uppercase; }	
#content h4				{ font-size: 12px; line-height: 18px; margin-bottom: .5em; }

#content p,
#content li,
#content label			{ font-size: 12px; }

#content p,
#content ul,
#content ol				{ margin-bottom: 27px; }

#content p + ul,
#content p + ol        { margin-top: -18px; }

#content li				{ list-style: square outside; margin-left: 20px; }
#content li *			{ font-size: 1em; }

.main-content			{ float: left; width: 500px; padding: 54px 20px; }
.main-content-wide      { float: left; width: 900px; overflow: hidden; }  

.main-content .post     { float: left; position: relative; width: 460px !important; margin-left: 60px; }
             
/*
.main-content .post img { float: left; margin: 0 20px 18px -40px; }
*/

.main-content .post p,
.main-content .post h2,
.main-content .post h3          { clear: left; }
.main-content .post .alignleft  { float: left; margin: 0 20px 36px -40px; }
.main-content .post .alignright { float: right; clear: right; margin: 0 -360px 36px 20px; }
.main-content .post .alignnone  { float: none; clear: both; margin: 0 20px 36px -40px; }

.main-content .post p + .alignleft, 
.main-content .post p + .alignright,
.main-content .post p + .alignnone  { margin-top: 36px; } 

/*
.main-content .post .pullright  { float: right; width: 260px; margin: 0 -360px 24px 0 !important; }
*/


#quick-contact          { float: right; width: 280px; padding: 29px 0 18px; }

.supplementary-content 	{ float: right; width: 300px; padding: 54px 0 36px 0; }
.supplementary-content #quick-contact { float: none; }
	

#footer 	{ float: left; clear: both; border-top: 1px solid #fff; background: url(i/footer-bar.png) no-repeat 20px 0; }
#footer .grid { }
#footer p	{ font-size: 11px; }

#copyright	    { float: left; padding: 36px 20px; text-align: left; color: #666; }
.pipe           { color: #ccc; }
#siteby a    { text-decoration: none; color: #999; }



/*** HOMEPAGE ***/

#homepage-intro { width: 980px; height: 290px; margin-left: -20px; background: url(i/homepage-intro.jpg) no-repeat; }

#featured-content { position: relative; width: 270px; height: 250px; padding: 20px; margin-left: 650px; background: #00746b; }
#featured-content .thumb { position: absolute; bottom: 20px; left: 20px; }
#featured-content h2 { font-size: 12px; line-height: 18px; color: #fff; }
#featured-content h2 strong { display: block; text-transform: uppercase; }
#featured-content h2 a { color: #fff; text-decoration: none; }

.homepage-tripples { float: left; width: 940px; border-top: 1px solid #fff; background: url(i/homepage-faux-border.png) no-repeat 0 100%; }
.homepage-box               { float: left; width: 268px; padding: 24px 20px; margin: 0 1px 1px; background: #fff url(i/main-content-top-grad.png) repeat-x 0 0; }
.homepage-box.middle-box    { width: 278px; }
.homepage-box h3    { padding-bottom: 9px; margin-bottom: 18px; color: #0F870F; }
.homepage-box p     { margin-bottom: 9px !important; }

#latest-news .date { font-weight: bold; color: #000; margin: 0 !important; }
#latest-news .entry { color: #666; margin: 0; }

#company-overview p { margin-bottom: 18px !important; }
#company-overview .figure { float: left; }

#quick-find form { padding: 9px 0; }
#quick-find form label { float: left; width: 60px; padding-right: 20px; }
#quick-find form select { width: 185px; }

#latest-news .figure { padding-top: 19px; margin-bottom: 0 !important; }




/*** Galleries ***/

.caption { display: block; padding: 18px 0 18px 40px; font-weight: normal; background: url(i/thumbnail-pull.png) no-repeat 20px -3px; }

.materials-list             { float: left; width: 960px; margin-left: -30px; }
.gallery-list               { width: 640px; }
.materials-list li          { float: left; list-style: none !important; width: 220px; height: 280px; margin: 0 50px 48px !important; }
.materials-list li a        { float: left; text-decoration: none; text-transform: uppercase; }
.materials-list li a strong.caption { padding-bottom: 0; }
.materials-list li a:hover img    { box-shadow: 0 5px 15px rgba(0,0,0,.2); -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.2); -moz-box-shadow: 0 5px 15px rgba(0,0,0,.2); -khtml-box-shadow: 0 5px 15px rgba(0,0,0,.2); } 

.materials-list .stock-items            { float: left; display: inline; padding: 8px 0 8px 40px !important; }
.materials-list .stock-items li         { float: left; margin: 0 10px 0 0 !important; width: auto; height: auto; }
.materials-list .stock-items a          { display: block; padding: 0; width: 12px; height: 12px; text-transform: none; background: url(i/stock-item-icon.png) 0 0; text-indent: -9999px; overflow: hidden; }
.materials-list .stock-items a:hover    { background-position: -12px 0; }
.materials-list .stock-items .first-item { margin-left: 40px; }

.subpages-nav       { float: right; width: 150px !important; margin-right: 130px; border-bottom: 10px solid #eee;  }
.subpages-nav ul    { margin-bottom: 27px !important; }
.subpages-nav li    { list-style: none !important; margin: 0 0 9px !important; }
.subpages-nav .current_page_item    { }
.subpages-nav .current_page_item a { font-weight: bold; color: #000; text-decoration: none; }



#contact-page h2 { font-weight: bold; font-size: 12px; }

#full-contact-box { float: left; width: 300px; margin: 0 100px 0 60px; }
#map-box { float: left; width: 300px; }
#map-box .iframe-wrapper { margin-left: -120px; background: #f6f6f6; }

#map-box .caption { margin-left: -40px; }

.edit-link { float: left; clear: both; padding-left: 60px; } 

#fancybox-left, #fancybox-right { width: 50% !important; }
#fancybox-title { text-transform: none !important; }





