/**********************************************************************************************

	Title: MaDCAD
	Author: Thomas Graham
	Date: 2009

  www.mad-cad.com

  #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: #32FF02;
}
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: 10px; color: #ffffff; }
.button:hover	{ background: #c3e830; color: #373737; cursor: pointer; }
.bold { font-weight: bold; }
.center { text-align: center; }
.gHighlight {
	color: #32FF02;
}
.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 {
	width: 960px;
	height: 27px;
	background-image: url(images/greentran.png);
	margin: 10px 0px 0px 0px;
}

/* 4.1 Header */
h1#logo {
	background-image: url(images/logo.png);
	background-repeat: no-repeat;
	height: 69px;
	width: 300px;
	text-indent: -9999px;
	overflow: hidden;
	margin: 30px 10px 10px 10px;
}
p.headMargin_left {
	margin: 10px;
	float: left;
	font-size: 14px;
}
ul#main_nav {
	float: left;
	margin-top: 5px;
}
ul#main_nav li {
	display: inline;
	padding: 0 20px;
}
ul#main_nav li a {
	color: #000;
}
ul#main_nav li a:hover {
	color: #EB0393;
}
ul#main_nav li#current a {
	color: #DE0184;
	background-image: url(images/nav_current.png);
	background-position: center bottom;
	padding-bottom: 5px;
	background-repeat: no-repeat;
}

ul#sub_nav {
	float: left;
	clear: both;
	width: 960px;
	text-align: right;
	background-image: url(images/greentran.png);
	margin-bottom: 1px;
	margin-top: 6px;
	padding-top: 5px;
	padding-bottom: 5px;
}
ul#sub_nav li {
	display: inline;
	padding: 0 20px;
}
ul#sub_nav li a {
	color: #000;
}
ul#sub_nav li a:hover {
	color: #EB0393;
}
ul#sub_nav li#current a {
	color: #DE0184;
	background-image: url(images/nav_current.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom: 5px;
}


/* 4.2 Masthead */
#scroll {
	width: 960px;
	height: 450px;
	position: relative;
	overflow: hidden;
	clear: both;
	color: white;
}

#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: #D40385;
}

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: #000;
	width: 960px;
}
#introText { width: 520px; float: left; }
#homeBody h2 {
	margin: 20px 10px 10px 20px;
}
#homeBody p { margin: 10px 10px 10px 20px; }

#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; }



#bottom_bar {
	clear: both;
	width: 960px;
	height: 325px;
	padding-top: 0px;
	padding-bottom: 0px;
	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: #D40385;
	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; }
#footer a {
	color: #32FF02;
}
#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: 640px;
	height: 300px;
	float: left;
	padding-right: 0px;
}
.footerThird p { font-size: 18px; }

#social_icons {
	padding: 65px 0 0 40px;
	height: 235px;
}
#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: 390px;
	border-top: 7px solid #e4e4e4;
}
#portfolio_mast img {
	float: right;
	margin: 0px 0px 0px 0px;
}
#portfolio_mast h1 {
	margin: 20px 10px 10px 20px;
	width: 340px;
}
#portfolio_mast h2 { margin: 20px 10px 10px 20px; }
#portfolio_mast p {
	margin: 10px 10px 10px 20px;
	width: 340px;
	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; }
.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;  }
.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_right img { margin: 60px 20px 0 0; }
.about_right p { width: 330px; }

#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; }


/* 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; }


			#myShow-1, #myShow-2, #myShow-3, #myShow-4 {
	height:317px;
	width: 536px;
	margin: -40px 0px 0px 0px;
	float: right;
	position: relative;
	
            }
            .slide-show {
	position: absolute;
	float: right;
	
	
            }
			.slide-showmov {
	position: absolute;
	float: right;
	padding-right: 30px;
	margin-right: 30px;
	margin-top: -10px;
	
            }
            .slide-show .slide {
	display: none;
	position:absolute;
	left: -28px;
	top: -7px;
	border: 1px solid #000;
            }
            .slide-show .slide.first, .slide img {
	display: block;
	margin-top: -40px;
	border: 1px solid #000;
            }
