/*  
Theme Name: Svenska Bil & Däck AB
Theme URI: http://www.svbd.se/
Description:
Version: 1.0
Author: Gefle Design
Author URI: http://www.gefledesign.se/
*/

/* ---------->>> Body and universal reset <<<-----------*/

* {
           margin: 0;
	       padding: 0;
}

body {
           background: #CCC;
	       color: #555;
	       font: 0.8em/1.5em Helvetica Neue, Arial, Helvetica, san-serif;
	       text-align: left;
	       margin: 25px 0;
}

/* ---------->>> Container<<<-----------*/

#container {
           width: 820px;
	       background: url(images/content.gif) top center repeat-y;
	       position: relative;
	       margin: 0 auto;
}

/* ---------->>> Top <<<-----------*/

#top {
           width: 820px;
	       height: 19px;
	       background: #CCC url(images/top-bg.gif) top center repeat-y;
	       position: absolute;
	       top: 0;
	       left: 0;
	       z-index: 1;
}

/* ---------->>> Header <<<-----------*/

#header {
           width: 820px;
	       height: 100px;
	       background: #CCC url(images/header-bg.gif) top center repeat-y;
	       position: relative;
}

#header #logo {
           position: absolute;
	       top: 35px;
	       left: 30px;
}

#header #phone-email {
           color: #D31145;
	       font-size: 13px;
	       font-weight: bold;
	       line-height: 18px;
	       position: absolute;
	       top: 43px;
	       right: 30px;
}

/* ---------->>> Car Image <<<-----------*/

#car-image {
           width: 790px;
	       height: 269px;
	       background: #FFF url(images/1.jpg) center center no-repeat;
	       position: relative;
	       margin: 0 auto;
}

#car-loan {
           width: 179px;
	       height: 150px;
	       background: url(images/ranta.png) no-repeat;
	       position: absolute;
	       top: 8px;
	       right: 5px;
}

/* ---------->>> Menu <<<-----------*/

ul#menu {
           width: 790px;
	       background: #333;
	       text-transform: uppercase;
	       display: inline;
	       float: left;
	       margin: 0 0 0 15px;
	       padding: 0;
}

ul#menu li {
           display: inline;
}

ul#menu li a {
           width: auto;
	       color: #FFF;
	       font-size: 13px;
	       font-weight: bold;
	       text-transform: uppercase;
	       text-decoration: none;
	       line-height: 2.75em;
	       letter-spacing: 1px;
	       display: block;
	       float: left;
	       border-right: 1px solid #CCC;
	       margin: 0;
	       padding: 0 14px;
}

ul#menu li a:hover, ul#menu li.current_page_item a {
           background: #D31145;
}

/* ---------->>> Main Content <<<-----------*/

#main-content {
           width: 790px;
	       background: #FFF;
	       position: relative;
	       float: left;
	       display: inline;
	       clear: both;
	       border-top: 8px solid #FFF;
	       border-bottom: 8px solid #FFF;
	       margin-left: 15px;
	       padding: 0 0 20px;
}

/* ---------->>> Content Primary <<<-----------*/

#content-primary {
           width: 500px;
	       float: left;
	       display: inline;
	       margin: 0 0 0 10px;
	       padding: 20px 0 0;
}

/* ---------->>> Content Secondary <<<-----------*/

#content-secondary {
           width: 250px;
	       float: right;
	       padding: 20px 10px 0 0;
}

/* ---------->>> Footer <<<-----------*/

#footer {
           width: 820px;
	       background: url(images/footer-bg.gif) bottom center no-repeat;
	       clear: both;
	       padding: 20px 0;
}

#footer a {
           color: #666;
	       text-decoration: none;
}

#footer a:hover {
           color: #000;
}

/* ---------->>> Misc <<<-----------*/

h1, h2, h3 {
           color: #444;
	       font-size: 190%;
	       font-weight: normal;
	       margin: 0 0 15px;
}

h4 {
           font-size: 1.4em;
	       font-weight: normal;
	       padding: 5px 0;
}

h5 {
           color: #666;
	       font-size: 150%;
	       font-weight: normal;
	       text-transform: uppercase;
}

a:link, a:visited {
           color: #D31145;
	       text-decoration: none;
}

a:hover {
           text-decoration: underline;
}

a img {
           border: 0;
}

p {
           margin: 0 0 30px;
}

#content-secondary p {
           margin: 0 0 10px;
}

ul, li {
           list-style: none;
}

.clearfix:after {
           height: 0;
	       display: block;
	       visibility: hidden;
	       clear: both;
	       content: ".";
}

.clearfix {
           display: inline-block;
}

.clearfix {
           display: block;
}

#three-columns {
           width: 760px;
	       color: #666;
	       margin: 0 auto;
}

#three-columns ul {
           border-top: 1px solid #CCC;
	       margin: 15px 0 0;
}

#three-columns li {
           border-bottom: 1px solid #CCC;
	       padding: 3px 0;
}

#three-columns .column-1, #three-columns .column-2, #three-columns .column-2 {
           width: 32%;
	       float: left;
}

#three-columns .column-2 {
           margin: 0 15px;
}

#copyright {
           width: 820px;
	       color: #666;
	       text-align: center;
	       margin: 0 auto;
	       padding: 18px 0 10px;
}

.frame {
           background: #F7F7F7;
	       margin: 0 0 1.5em;
	       padding: 1em;
	       -webkit-border-radius: 5px;
	       -moz-border-radius: 5px;
}

.frame ul {
	margin: 5px 0 0;
}

.frame ul li {
	list-style: square;
	margin: 0 0 5px 18px;
}

.frame p.extra-padding {
	line-height: 18px;
	padding: 8px 0;
}

.frame p.extra-padding.last {
	padding: 8px 0 0;
}

.frame img {
	float: left;
	border: 1px solid #DDD;
	margin: 0 12px 0 0;
	padding: 1px;
}

.frame span {
	font-style: italic;
}

.last {
           margin: 0;
}

.no-border img {
	float: none;
	border: 0;
	margin: 15px 12px 0 0;
	padding: 0;
}