/**********************************************************************************************

	Title: Raw Marketing CSS
	Author: Andrew Tebbott
	Date: 2009

  www.rawmarketing.co.uk

  #373737 - Black
  #898989 - Dark Grey
  #d9d8d8 - Grey
  #f8f8f8 - Very Light Grey
  #c3e830 - Light Green
  #ffffff - White 

***********************************************************************************************
	1. CSS Reset
	2. General Elements
	3. Utility Classes
	4. Layout
		4.1 Header
		4.2 Masthead
		4.3 Home Page Layout
		4.4 Portfolio Page Layout
		4.5 Sidebar
		4.6 Footer		

***********************************************************************************************/

/* 1. CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: 14px;
  font-family: Calibri, Helvetica Narrow, sans-serif;
  vertical-align: baseline;
  }
  
/* 2. General Elements  */
body { background-image: url(images/body_bg.jpg); background-repeat: repeat; }
a { text-decoration: none; color: #8ec639; }
a:hover { color: #232323; }
p { line-height: 22px; }
blockquote { background: url(images/quote_open.jpg) 0 20% no-repeat; clear: both; margin: 30px 20px 0; padding: 0 10px 0; }
blockquote p { font-size: 18px; color: #838383; line-height: 36px; background: url(images/quote_close.jpg) 60% 81% no-repeat; }
h1 { font-size:  30px; color: #373737; margin: 10px 0 0 20px; }
h2 { font-size: 24px; color: #373737; }
h3 { font-size: 18px; color: #373737; margin: 20px 0 0 20px; }
h4 { font-size: 20px; color: #373737; margin: 10px 20px }
ul { list-style-type: none; }

/* 3. Utility Classes */
.float_left { float: left; }
.float_right { float: right; }
.dropcap { font-size: 24px; color: #373737; }
.clear { clear: both; }
.button	{ background: #232323; padding: 5px 8px; color: #ffffff; border: 1px solid #5a5a5a; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
.button:hover	{ background: #c3e830; color: #373737; cursor: pointer; border: 1px solid #a7cd0e; }
.bold { font-weight: bold; }
.center { text-align: center; }
.gHighlight { color: #c3e830; }
.margin { margin: 0 20px 20px; }
.margin_top { padding-top: 40px; }
.innermargin_top {margin: 50px 0 0 0;}
.margin_left { margin-left: 50px; }
.last { margin-bottom: 40px; }
.margin_bottom { margin-bottom: 20px; }




/* 4. Generic Layout */
#bg_wrapper { background-image: url(images/wrapper_bg.jpg); background-position: top center; background-repeat: no-repeat; }
#wrapper { width: 960px; margin: 0 auto; }
#header { background-image: url(images/header_bg.jpg); background-repeat: no-repeat; width: 960px; height: 83px; margin-top: 20px; border-bottom: 1px solid white; }

/* 4.1 Header */
h1#logo { background-image: url(images/logo.jpg); background-repeat: no-repeat; height: 69px; width: 135px; text-indent: -9999px; overflow: hidden; margin: 30px 0 0; }
p.headMargin_left { margin: 10px; float: left; font-size: 12px;}
ul#main_nav { float: right; margin: 35px 0 0; }
ul#main_nav li { display: inline; padding: 0 20px; border-right: 1px solid #d9d8d8; }
ul#main_nav li a { color: #898989; }
ul#main_nav li a:hover { color: #373737; }
ul#main_nav li#current a { color: #373737; background-image: url(images/nav_current.png); background-position: center bottom; padding-bottom: 8px; background-repeat: no-repeat; }

ul#sub_nav { float: right;  clear: both; width: 500px; text-align: right; }
ul#sub_nav li { display: inline; padding: 0 20px; border-right: 1px solid #ffffff; }
ul#sub_nav li a { color: #ffffff; }
ul#sub_nav li a:hover { color: #373737; }
ul#sub_nav li#current a { color: #373737; }


/* 4.2 Masthead */
#scroll { 
      width: 960px; 
      height: 450px; 
      position: relative;
      overflow: hidden;
      clear: both;
      color: white;
      border-bottom: 1px solid #ffffff;
}

#tools { 
      width: 9999em;
      position: absolute;
      height: 350px; 
}

.tool {
      float: left;
      width: 960px;
      height: 350px;
}

.masthead_img { 
      float: left;
      width: 420px;
      margin: 20px 30px 0;
}

.masthead_text { 
      float: right;
      width: 420px;
      margin: 30px 40px 0 0;
}

.masthead_text h2 {
      font-size: 30px;
      color: #c3e830;
}

img.main_masthead { margin: 70px 240px 0; }


#thumbs {
      background-image: url(images/mastheadNav_bg.jpg); 
      background-repeat: none;
      background-position: -0px -102px;
      height: 100px;
      width: 960px;
      position: absolute;
      top: 350px;
}

.t a {
	background-image: url(images/mastheadNav_bg.jpg);
	background-repeat: none;
	background-color: none;
	display: block;
	width: 155px;
	float: right;
	height: 80px;
	cursor: pointer;
	margin: 10px 8px 10px 0;
}

.t a.active {
	cursor:default !important;
}

#t0			    { background-position: -797px -112px; }
#t0:hover 	{ background-position: -797px -10px; }
#t0:active	{ background-position: -797px -10px; }
#t0.active	{ background-position: -797px -10px !important; }

#t1			    { background-position:-635px -112px; }
#t1:hover 	{ background-position:-635px -10px; }
#t1:active	{ background-position:-635px -10px; }
#t1.active	{ background-position:-635px -10px !important; }

#t2			    { background-position:-473px -112px; }
#t2:hover 	{ background-position:-473px -10px; }
#t2:active	{ background-position:-473px -10px; }
#t2.active	{ background-position:-473px -10px !important; }

#t3			    { background-position:-310px -112px; }
#t3:hover 	{ background-position:-310px -10px; }
#t3:active	{ background-position:-310px -10px; }
#t3.active	{ background-position:-310px -10px !important; }

#t4			    { background-position:-145px -112px; }
#t4:hover 	{ background-position:-145px -10px; }
#t4:active	{ background-position:-145px -10px; }
#t4.active	{ background-position:-145px -10px !important; }


/* 4.3 Home Template Layout */
#homeBody { background-color: #f8f8f8; width: 960px; border-top: 7px solid #e4e4e4; }
#introText { width: 520px; float: left; }
#homeBody h2 {  margin: 20px 10px 10px 20px; }
#homeBody p { margin: 10px 10px 10px 20px; }
#homeBody li { padding-left: 40px; }

#latestClients { width: 390px; height: 360px; float: right; background-color: #dcdddd; border: 1px solid #c9caca; margin: 20px 20px 0; }
#latestClients a { margin: -10px 20px 0 20px; }       
#latestClients h3 { float: right; margin: 10px 20px; }

#slideshow { position:relative; height: 243px; width: 350px; margin: 50px 20px 20px; }
#slideshow img { position:absolute; z-index:8; opacity:0.0; }
#slideshow img.active { z-index:10; opacity:1.0; }
#slideshow img.last-active { z-index:9; }

#bottom_bar { clear: both; width: 960px; height: 325px; padding-top: 30px; padding-bottom: 10px; background-image: url(images/bottomBar_bg.jpg);  }
.bottomThird { width: 300px; height: 300px; float: left; padding-right: 20px; }
.bottomThird_pad { width: 300px; height: 300px; float: left; padding-right: 20px;}
h2#specialOffer { font-size: 30px; font-family: georgia; }
h3.offer_date { color: #99df0f; margin: -10px 0 0 20px;}
p.offer_tagline { font-size: 18px; }

#footer { height: 325px; width: 960px; background-image: url(images/footer_bg.jpg); background-repeat: repeat-x; color: white; clear: both; margin-top: 10px }
#footer p { font-size: 14px; }
#footer a { color: #c3e830; }
#footer h2 { margin: 20px 0; }
#footer a:hover { color: white; }
.footerThird { width: 300px; position: relative; height: 300px; float: left; padding-right: 20px; }
.footerThird_pad { width: 300px; height: 300px; float: left; padding-right: 20px;}
.footerThird p { font-size: 18px; }

#social_icons { padding: 50px 0 0 65px; }
#social_icons a:hover { opacity: 0.5; }
#twitter_update_list { list-style-type: none; margin-left: 20px; }

#affiliates { margin: 80px 0 0 100px; }
#affiliates a { width: 115px; height: 50px; display: block; }
a#a1 { background-image: url(images/affiliates_logo.png); }
a#a2 { background-image: url(images/affiliates_logo.png); background-position: 0px -50px;  }
a#a3 { background-image: url(images/affiliates_logo.png); background-position: 0px -100px;  }

a#a1:hover { background-image: url(images/affiliates_logo.png); background-position: -115px 0px; }
a#a2:hover { background-image: url(images/affiliates_logo.png); background-position: -115px -50px;  }
a#a3:hover { background-image: url(images/affiliates_logo.png); background-position: -115px -100px;  }

#demotip {
	display:none;
	background:transparent url(images/black_arrow.png);
	font-size:12px;
	height:70px;
	width:160px;
	padding:25px;
	color:#fff;	
}

#social_icons img {
	border:0;
	cursor:pointer;
}


/* 4.4 Portfolio Page Layout: Template 1 */
#portfolio_mast { width: 960px; background-color: #edecec; background-image: url(images/portfolio_mast_bg.jpg); background-repeat: repeat-x; position: relative; clear: both; color: #373737; height: 370px; border-bottom: 1px solid #ffffff; border-top: 7px solid #e4e4e4; }
#portfolio_mast img { float: right; margin: 30px 30px 40px 0;}
#portfolio_mast h1 { margin: 20px 10px 10px 20px; }
#portfolio_mast h2 { margin: 20px 10px 10px 20px; }
#portfolio_mast p { margin: 20px 10px 10px 20px; width: 360px; float: left; }
#portfolio_mast a.button { float: left; margin: 20px; }

#portfolio_body {background-color: #f8f8f8; width: 960px; }
.portfolio_item { width: 450px; height: 225px; float: left; margin: 20px 0 0 20px; background-color: #dcdddd; border: 1px solid #d0d1d1; }
.portfolio_item img { float: right; margin: 15px 10px 0 0; }
.portfolio_item p { width: 190px; float: left; margin-left: 20px; }
.portfolio_item h2 { float: left; margin: 20px 20px 10px; width: 180px; }
.portfolio_item a.button { float: left; margin: 20px 20px 0; }


/* 4.5 About Page Layout: Template 2 */
img.about_masthead { margin: 15px 15px 0; }
.about_left { float: left; width: 450px; margin: 20px 0 0 20px; background: white; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #e2e2e2; }
.about_left p { padding-right: 20px; }
.about_right { float: right; width: 450px; margin: 20px 20px 0 0; background: white; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #e2e2e2;  }
.about_right h3 { margin: 20px 20px 10px; }
.about_img { margin: 60px 20px 0 0; }
.about_right p { width: 330px; }
.testimonial { padding: 10px; }
#left_column_about { float: left; width: 250px; }
#right_column_about { float: right; width: 200px; text-align: right; margin-top: 17px; }


/* 4.6 Testimonial Page */
blockquote.testimonial_quote { width: 450px; margin-top: 0;  background: url(images/quote_open.jpg) 0 15% no-repeat; }
blockquote.testimonial_quote p { background: url(images/quote_close.jpg) 100% 91% no-repeat; width: 370px;}
.about_left img { margin: 10px 20px 10px; }
.testimonial { margin: 0; float: right; }


/* 4.7 1 Comlumn: Services Page */
.singleColumn { background: white; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #e2e2e2; margin: 20px 20px 0; padding-bottom: 20px; }
.singleColumn_left { width: 440px; float: left; }
.singleColumn_left_lower { width: 440px; float: left; margin-left: 20px; }
.singleColumn_right { width: 440px;  float: right; }
.singleColumn_right_lower { width: 440px; float: left; margin-left: 20px; }
.singleColumn_right img { margin: 20px 0 0; }
.innerColumn_left { width: 220px; float: left; }
.innerColumn_left img { margin: 10px 20px; }
.innerColumn_right { width: 200px; float: right; }
.innerColumn_right ul { text-align: right; margin: 20px 0; }

/* CONTACT page: */
#contactForm { margin: 20px 25px 20px 20px; }
.googlemap { margin: 20px; }

/* WEB DESIGN page: */
img.thumb_template { margin: 20px 0 0 15px; border: 1px solid #e2e2e2; }
img.thumb_template:hover { border: 1px solid #c3e830; }
ul.job_list { margin: 10px 40px; }






