/* ---------------------------- 
[Master Stylesheet]

Project: 	Southern Perfection Fabrication
Version:	1.0
Last change:	06/23/09 [templates created, lg]
Assigned to:	Lonnie Griffin [lg]
Primary use:	Web

------------------------------- */

/* ---------------------------- */
/* Basic Elements
/* ---------------------------- */
	
	body{ background:url(../images/bkground-body.gif); background-color:#131313; margin:0px; padding:0px; font-family: Tahoma, Geneva, sans-serif; font-size: 14px; color: #000; line-height:22px;  text-align:center}
	a, a:visited {color: #c72625;}
	a img { border: none; }
	a:active {outline: none;}
	a:hover {text-decoration: none;}
	a:focus{ -moz-outline-style: none;}
	form { margin: 0px; padding: 0px; }
	h1 { display: none; }
	h2 {/*Used by the image replacements*/}
	h3 {display: block; clear: both; font-size: 16px; padding: 0px; margin: 10px 0px 10px 0px; color: #333; text-transform: uppercase;}
	h4 {font-size: 14px; padding: 0px; margin: 10px 0px 10px 0px;  }
	h5 {}
	h6 {}
	p { margin: 10px 0px 10px 0px; }
	hr {height:1px; background: #ccc; display:block; clear:both; margin:10px 0px 10px 0px; overflow:hidden; border: none;}
	address { font-style: normal; line-height: 20px; }

/* ---------------------------- */
/* Main Containers
/* ---------------------------- */
	
	#wrapper {width: 960px; text-align: left; margin: 0px auto 0px auto;position: relative; }
		#wrapper:after { content: "."; display: block; height: 0px; clear: both; visibility: hidden;}
		
	#bkground-top {width: 100%; height: 330px; position: absolute; top: 0px; left: 0px; background:url(../images/bkground-top.gif) repeat-x; z-index: 0;}
	
	#logo {position: absolute; top: 0px; left: 20px; z-index: 99;}
	
	#menu {position: absolute; top: 10px; left: 235px;  z-index: 99; height: 55px;}
		#menu img {float: left;}
		#menu ul {display: none; z-index: 100; margin: 0px; padding: 0px; background: #0d0e0e; border-left: 1px solid #202222; border-top: 1px solid #202222; border-right: 1px solid #202222;list-style: none; line-height: 18px;font-size: 12px; position: absolute; top:53px; }
		#menu ul li {}
		#menu ul a {text-decoration: none;padding: 3px 4px 3px 4px; color: #eee;height: 18px; display: block;border-bottom: 1px solid #202222; width: 190px; }
		#menu ul a:hover { background: #15263a; }
		#menu #dropdown-products {left:76px;}
		#menu #dropdown-machinery {left: 199px;}
		#menu #dropdown-about-us {left: 330px;}
		#menu #dropdown-contact-us {right: 0px;}
		
	#header {position: absolute; z-index: 1; left: 0px; top: 55px; width: 630px; height: 283px;}
	
	#content {width: 666px; float: right; padding: 20px 30px 20px 30px; margin: 71px 0px 0px 0px; position: relative; background: #fff; border: 1px solid #000;}
		#content .product { border: 1px solid #ccc; width: 130px; float: left; text-align: center; padding: 10px; margin: 0px 7px 14px 7px;}
		#content .product:hover {background: #222e3f;}
		#content .product:hover img{border: 1px solid #fff;}
		#content .product:hover h3 { color: #fff; }
		#content .product img {border: 1px solid #ccc;}
		#content .product h3 { font-size: 14px; line-height: 16px; font-weight: bold; margin:3px 0px 0px 0px; padding: 0px;}
		#content .product a h3 { text-decoration: none; }
		#content #subsubmenu { margin: 0px; padding: 0px 0px 0px 0px; line-height: 24px; list-style: none; }
		#content #subsubmenu li {position: relative;width: 280px; float: left; margin: 0px 40px 0px 0px;}
		#content #subsubmenu li a {  }
		#content #image-list {list-style: none; margin: 0px 0px 20px 0px; font-weight: bold; color: #333;}
		#content #image-list li {width: 310px; float: left; margin: 0px 0px 10px 0px;}
		#content #image-list img {display: block;}
		#content .image-descriptionlist { margin-left: 150px; }
		
	#sidebar {width: 207px; float: left; margin: 160px 0px 0px 0px; padding: 0px 0px 10px 0px;position: relative; font-size: 12px; color: #999; line-height: 17px;}
		#sidebar .margin-bottom { margin-bottom: 20px; }
		#sidebar #submenu {margin: 40px 0px 0px 0px;border: 1px solid #1f1f1f;background: #000; filter:alpha(opacity=70);  -moz-opacity:0.70;  opacity:0.70; width: 170px; padding: 10px 20px 20px 20px; }
		#sidebar #submenu ul {list-style: none; margin: 0px; padding: 0px; width: 162px; text-transform:uppercase; font-size: 12px; text-align: right;}
		#sidebar #submenu ul li {border-bottom: 1px solid #2d2d2d; padding: 8px 0px 8px 0px; position:relative;}
		#sidebar #submenu ul li.active img {position: absolute; right: -18px; top: 16px;}
		#sidebar #submenu ul li.active a {color: #fff; background-color: #15263a;}
		#sidebar #submenu ul li a {text-decoration: none; color: #999; height: 20px; display: block; padding: 4px 4px 0px 0px;}
		#sidebar #submenu ul li a:hover { color: #fff; background: #15263a; }
		
	
	#footer-container {width: 100%; position: relative; height: 327px; background: #000; margin: 20px 0px 0px 0px;}
	
	#footer { width: 960px; height: 327px; margin: 0px auto 0px auto; position: relative; text-align: left;}
		#footer ul { list-style: none; margin: 0px; padding: 0px; width: 280px;}
		#footer #learn-more {left: 0px; width: 280px; height: 280px;position: absolute; top: 10px; } 
		#footer #see-how { left: 355px;width: 280px; height: 280px;position: absolute; top: 10px; } 
		#footer #get-in-touch { right: 0px;width: 280px; height: 280px;position: absolute; top: 10px; } 
		#footer ul li {border-bottom: 1px solid #2d2d2d; padding: 8px 0px 8px 0px; color: #303030; position: relative; }
		#footer ul li a { color: #606060; text-decoration: none; }
		#footer ul li a:hover { color: #fff; text-decoration: underline;}
		#footer ul li img { float: right;  position: absolute; right: 0px; top: 9px;}
		#footer ul li .right {float: right; margin: -25px 35px 25px 0px; }
		#footer p {margin: 0px 0px 0px 0px; padding: 0px; position: absolute; top: 270px; left: 0px;color: #2d2d2d; font-size: 11px;}
		#footer p a { color: #2d2d2d;  }	
		#footer #btn-quote {position: absolute; right: 0px; top: 46px;}
		#footer address {color: #606060; position: absolute; right: 0px; top: 80px; text-align: right; padding: 0px; margin: 0px 0px 0px 0px;}
		#footer address a { color: #606060; }
		
	#homepage {}
		#homepage #content {margin: 360px 0px 0px 0px; float: left;width: 571px;}
		#homepage #sidebar {width: 297px; float: right;margin: 65px 0px 0px 0px;}
		#homepage #sidebar h2 {width: 274px;}
	
	#install-flash {background: #fff; border: 1px solid red; color: #333; padding: 10px;}
		#install-flash:after { content: "."; display: block; height: 0px; clear: both; visibility: hidden;}
		#install-flash a { color: #333; }
		#install-flash img { float: left; margin: 0px 10px 0px 0px; }
		
	#map { width: 400px; height: 200px; border: 2px solid #ccc; padding: 4px; margin: 0px 10px 10px 0px; float: left;}
	
/* ---------------------------- */
/* Image Replacement
/* ---------------------------- */

	#content h2, #sidebar h2, #footer h2 { border: none; overflow:hidden; clear: both; display: block; background-repeat:no-repeat; height:0px !important; font-size:0px; position: relative;padding:19px 0px 1px 0px; margin: 10px 0px 10px 0px;border-bottom: 1px solid #ccc; height /**/:19px; }
	#content h2#welcome {background-image:url(../images/h2-welcome.gif); }
	#content h2#products {background-image:url(../images/h2-products.gif); }
	#content h2#machinery {background-image:url(../images/h2-machinery.gif); }
	#content h2#about-us {background-image:url(../images/h2-aboutus.gif); }
	#content h2#contact-us {background-image:url(../images/h2-contactus.gif); }

	#sidebar h2 {float: right; width: 205px; border-bottom: none; }
	#sidebar h2#learn-more {background-image:url(../images/h2-learnmore-sidebar.gif);}
	#sidebar h2#powder-coating {background-image:url(../images/h2-powdercoating.gif);}
	#sidebar h2#powder-coating-home {background-image:url(../images/h2-powdercoating-home.gif);}
	#sidebar h2#custom-merchandise-carts-home {background-image:url(../images/h2-customcarts-home.gif);}
	#sidebar h2#custom-merchandise-carts {background-image:url(../images/h2-customcarts-interior.gif);padding:35px 0px 1px 0px;height /**/:35px; }
	#sidebar h2#target-industries {background-image:url(../images/h2-targetindustries-home.gif);}
	
	#footer h2 {border-bottom: none; }
	#footer h2#h2-learn-more {background-image:url(../images/h2-learnmore.gif); }
	#footer h2#h2-see-how {background-image:url(../images/h2-seehow.gif); }
	#footer h2#h2-get-in-touch {background-image:url(../images/h2-getintouch.gif); float: right; width: 197px; }
	
/* ---------------------------- */
/* Forms Validation
/* ---------------------------- */

	.lbl { display: block; font-weight: bold; margin: 0px; padding: 0px 0px 2px 0px;}
	.alert { background: url(../images/alert-small.gif) no-repeat 0px 2px; padding: 0px 0px 2px 20px; display: block; margin: 5px 0px 5px 0px; font-size: 11px; position: relative; }
	.success, .error {padding: 10px; margin: 10px 0px 10px 0px; font-weight: normal; clear: both; text-align: left; position: relative;}
	.error {  background: #fff; border: 1px solid red;}
	.error h4 {border: none;padding: 8px 0px 10px 35px; margin: 0px; background: url(../images/alert.gif) no-repeat 0px 0px; color: Red;  font-size: 14px; position: relative;}
	.success {background-color: #c3fbbb;border: 1px solid #abe9a2;}
	.success h4 {border:none; padding: 5px 0px 6px 33px;background: url(../images/success.gif) no-repeat 0px 0px; margin: 0px 0px 0px 0px; color: #000;}
	.success p, .alert p, .error p { margin: 0px 0px 0px 0px; padding: 5px 0px 0px 0px; text-align: left; line-height: 18px; color: #000;}
	.progress {padding: 10px 0px 13px 10px; }
	.progress img {float: left; padding: 0px 10px 0px 0px; }
	.progress h4 { font-size: 15px; margin: 0px; padding: 10px 0px 0px 0px; color: Red;}
	
/* ---------------------------- */
/* Forms Formatting
/* ---------------------------- */

	#form { display: block; clear: both;}
	#form .left{float:left; margin:0px 5px 0px 0px}
	#form .left-phone{float:left; margin:0px 0px 0px 0px}
	#form .right-phone{float:left; margin:0px 0px 0px 5px}
	#form .clear{float:none}
	#form .lbl{position:relative; display:block; font-weight:bold; margin:5px 0px 1px 0px; clear:both; color:#333; font-size:12px}
	#form .field{font-size:12px; margin:0px 0px 0px 0px; color: #666; display: block;}
	#form .textbox {border-top:2px solid #828183; border-left: 1px solid #828183; border-right: 1px solid #c3c3c3; border-bottom: 1px solid #c3c3c3;background-color:#fff; font-size:15px; padding: 2px;}
	#form label {font-size: 12px;}
	#form select{font-size:14px;}
	#form h5{position:relative; font-weight:bold; font-size:12px; padding:4px; margin:10px 0px 5px 0px; color:#000; background-color:#e1e1e1; border-bottom:1px solid #ccc; display:block; clear:both}
	#form select { font-size: 13px; margin: 0px 0px 0px 0px; }
	#form .red{color:red;}
	#form .btn-submit{display:block; clear:both; margin:15px 0px 15px -7px; }
	#form .small{font-size:12px; line-height:16px; color: #666; }
	
/* ---------------------------- */
/* Misc
/* ---------------------------- */

	.left{float:left; }
	.right { float: right; }
	.center { text-align: center; }
	.img-left{float:left; margin:0px 10px 0px 0px; }
	.img-right{float: right; margin: 0px 0px 0px 10px; }
	
	.margin-right{margin-right: 10px;}
	.margin-top{ margin-top: 10px;}
	.margin-top-neg { margin-top: -10px; }
	.margin-bottom { margin-bottom: 10px; }
	
	.small{font-size:12px; line-height:16px; }
	.large{font-size:16px; line-height:24px;}
	
	.nodis { display: none; }
	.clear{ clear: both; }
	.grey { color: #666; }