/*
Theme Name: MobilityDisabled
Theme URI: http://dev.mobilitydisabled.co.uk
Description: Custom theme for Mobility Disabled
Version: 1
Author: Simon Kohli
Author URI: http://www.19dozen.com
This is the style sheet for all pages except the home page.
All the div elements use absolute positioning.
*/

/* These styles are general and apply to the header, main pages and footer */
body {
        background-image:url('images/back_grad1.jpg');
        background-repeat:repeat-x;
	background-color:#83b8f7;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

#container {
	position:absolute;
	left:0px;
	top:0px;
	width:1024px;
	height:1315px;
        color:white;
        font-family:"Verdana",San-serif;
        left: 50%; /*some magic to align the element in the center*/
        margin-left: -512px; /* half of the width */
}

p {font-family:"Verdana",San-serif}

#search_box {
	position:absolute;
	left:249px;
	top:0px;
	width:332px;
	height:60px;
	padding-left:320px;
	font-size:16px;
}
#search_cars {
    position:absolute;
	left:435px;
	top:22px;
}

#back_left {
	position:absolute;
	left:0px;
	top:0px;
	width:63px;
	height:1315px;
        background-image:url('images/back_grad1.jpg');
        background-repeat:repeat-x;
	background-color:#83b8f7;
}

#container_top {
        position: absolute;
        left:63px;
	top:0px;
        width:901px;
        background-image:url('images/back_grad2.jpg');
        background-repeat:repeat-x;
	height:171px;
}
#container_top img {border-width:0;}

#mobdislogo {
	position:absolute;
	left:0px;
	top:0px;
	width:249px;
	height:128px;
	background-color:#3399FF;
	padding:0 0 0 0;
	margin: 0 0 0 0;
}

#back_right {
	position:absolute;
	left:964px;
	top:0px;
	width:60px;
	height:1315px;
        background-image:url('images/back_grad1.jpg');
        background-repeat:repeat-x;
	background-color:#83b8f7;
}

#banner_box {
	position:absolute;
	left:270px;
	top:60px;
	width:652px;
	height:111px;
        font-family:"Verdana",San-serif;
        font-size:32px;
        font-weight:bold;
        line-height:50px;
        padding-left:50px
}

#contact_details {
	position:absolute;
	left:0px;
	top:128px;
	width:249px;
	height:43px;
	padding:0 0 0 0;
	margin: 0 0 0 0;
}



#menu {
	position:absolute;
	left:63px;
	top:171px;
	width:901px;
	height:46px;
	background-color:#000000;
        background-image:url('images/tl.gif');
        background-repeat:no-repeat;
}

#menu a {
    text-decoration:none;
    color:white;
}


#tr { /*Sets the top right corner */
        position:absolute;
	left:0;
	top:0;
	width:901px;
	height:46px;
        background-image:url('images/tr.gif');
        background-repeat:no-repeat;
        background-position:top right;
}

#menu ul#menu-main-menu {
        border:1px solid #444343;
        margin:5px;
		width:890px;
}

/*
#menu ul {
		list-style-type:none;
        font-size:13px;
		border:1px solid #444343;
		list-style-type:none;
        font-size:13px;padding:6px;
        margin:5px;
}
#menu li {
		list-style-type:none;
        font-size:13px;
		border-right:1px solid #444343;
        padding:7px 12px 7px 13px;
        display:inline;
}
#menu #lastlink {
        border-right:0px solid #444343;
}
#menu li.larger {
	font-size: 15px;
	font-weight: bold;
}

*/

#small_car1 {
	position:absolute;
	left:63px;
	top:217px;
	width:214px;
	height:135px;
        background-color:#464646;
        text-align:center;
        padding-top:9px;
        padding-bottom:9px;
}

#small_car2 {
	position:absolute;
	left:63px;
	top:370px;
	width:214px;
	height:135px;
        background-color:#464646;
        text-align:center;
        padding-top:10px;
        padding-bottom:11px;
}

#main_car {
	position:absolute;
	left:277px;
	top:217px;
	width:422px;
	height:289px;
        background-color:#464646;
        text-align:center;
        padding-top:9px;
        padding-bottom:11px;
}

#telephone_container {
	position:absolute;
	left:699px;
	top:217px;
	width:265px;
	height:131px;
	background:#000000;
}
#telephone_box_left {
	position:absolute;
	left:699px;
	top:217px;
	width:24px;
	height:125px;
	background: #000000;
}

#telephone_box {
	position:absolute;
	left:723px;
	top:217px;
	width:214px;
	height:120px;
	background-color:#FFFFFF;
        padding:5px 0px 0px 0px;
        color:black;
        font-size:10px;
	text-align:center;
}

#telephone_box_right {
	position:absolute;
	left:937px;
	top:217px;
	width:27px;
	height:125px;
	background: #000000;
}

#opening_times_left {
	position:absolute;
	left:699px;
	top:348px;
	width:24px;
	height:245px;
	background: #000000;
}

#opening_times {
	position:absolute;
	left:723px;
	top:348px;
	width:214px;
	height:240px;
	background-color:#FFFFFF;
        padding:5px 0px 0px 0px;
        color:black;
        font-size:10px;
        background-image:url('images/clock_icon.png');
        background-repeat:no-repeat;
        background-position:top right;
}

#opening_times_right {
	position:absolute;
	left:937px;
	top:348px;
	width:27px;
	height:245px;
	background: #000000;
}

#content {
	position:absolute;
	left:63px;
	top:217px;
	width:596px;
	height:auto;
	min-height:1034px;
	background-image:url('images/bl.gif');
	background-repeat:no-repeat;
	background-position:bottom left;
	background-color: white;
	color:black;
	font-size: 0.8em;
	padding: 0 20px 20px 20px;
}

#content .ul_two_column {
    float: left;
    width: 435px;
    margin: 4px 0 10px 0;
    padding: 0;
    list-style: none;
}
#content .li_two_column {
    float: left;
    width: 188px;
    margin: 2px 15px 3px 14px;
    padding: 0;
}

#email_box {
	position:absolute;
	left:699px;
	top:593px;
	width:245px;
	background-color:#000000;
        padding:15px 5px 20px 15px;
}

/* End of general and header footer styles */

/*begin sidebar featured cars*/
#sidebar {
	position:absolute;
	left:699px;
	top:681px;
	width:265px;
	height:595px;
	background-color:white;
	}
#left_space {
	position:absolute;
	left:699px;
	top:681px;
	width:17px;
	height:595px;
	background-color:#000000;
}

#border_left {
	position:absolute;
	left:716px;
	top:681px;
	width:21px;
	height:595px;
	background-color:#FFFFFF;
}

#top_space {
	position:absolute;
	left:737px;
	top:681px;
	width:180px;
	height:12px;
	background-color:#000000;
}

#border_right {
	position:absolute;
	left:917px;
	top:681px;
	width:28px;
	height:595px;
}

#right_space {
	position:absolute;
	left:945px;
	top:681px;
	width:19px;
	height:595px;
	background-color:#000000;
}

#border_top {
	position:absolute;
	left:737px;
	top:693px;
	width:180px;
	height:34px;
	background-color:#FFFFFF;
}

#car_link1 {
	position:absolute;
	left:750px;
	top:727px;
	width:160px;
	height:120px;
	background-color:#FFFFFF;
}

#more_info1 {
	position:absolute;
	left:750px;
	top:847px;
	width:150px;
	height:35px;
	background-color:#D7D7D7;
	color:black;
	font-size:12px;
	text-align:center;
	vertical-align:middle;
	line-height:30px;
	padding-left: 10px;
}
#more_info1 a {color:black}
#more_info1 img {
	vertical-align:middle;
	display:inline;
	border-width:0;
	margin-left: 20px;
}

#car_link2 {
	position:absolute;
	left:750px;
	top:882px;
	width:160px;
	height:120px;
	background-color:#FFFFFF;
}

#more_info2 {
	position:absolute;
	left:750px;
	top:1001px;
	width:150px;
	height:38px;
	background-color:#D7D7D7;
	color:black;
	font-size:12px;
	text-align:center;
	vertical-align:middle;
	line-height:30px;
	padding-left:10px;
}
#more_info2 a {color:black}
#more_info2 img {
	vertical-align:middle;
	display:inline;
	border-width:0;
	margin-left: 20px;
}

#car_link3 {
	position:absolute;
	left:750px;
	top:1039px;
	width:160px;
	height:120px;
	background-color:#FFFFFF;
}

#more_info3 {
	position:absolute;
	left:750px;
	top:1159px;
	width:150px;
	height:39px;
	background-color:#D7D7D7;
        color:black;
        font-size:12px;
        text-align:center;
        vertical-align:middle;
        line-height:30px;
		padding-left:10px;
}
#more_info3 a {color:black}
#more_info3 img {
	vertical-align:middle;
	display:inline;
	border-width:0;
	margin-left: 20px;
}

#border_bottom {
	position:absolute;
	left:737px;
	top:1198px;
	width:180px;
	height:19px;
	background-color:#FFFFFF;
}
/*End of sidebar featured cars*/


/*Begin of Products table styles for product listing*/
#results_container {
    font-weight:500;
    font-family:'Verdana', San-serif;
    font-size:12px;
	margin-bottom: 10px;
	margin-top: 15px;
}

#car_image {
    width: 180px;
    height: 120px;
}

#car_name {
    height: 58px;
    width: 416px;
    background-color: black;
    color: white;
    padding: 15px 5px 2px 10px;
    font-weight:bold;
	vertical-align:top;
}
#car_name a {
	color:white;
	text-decoration:none
}

#monthly_payment {
    height: 31px;
    background-color: #e0249a;
    color: white;
    padding: 2px 5px 2px 5px;
    text-align:center;
    font-weight:bold;
}

#price {
    background-color: #e0249a;
    color: white;
    padding: 2px 5px 2px 5px;
    text-align:center;
    font-weight:bold;
}

#year {
    background-color:#d7d7d7;
    width: 108px;
    padding: 6px 5px 6px 5px;
    text-align:center;
}

#miles {
    background-color:#d7d7d7;
    width: 108px;
    padding: 6px 5px 6px 5px;
    text-align:center;
}

#transmission {
    background-color:#d7d7d7;
    width: 50px;
    padding: 6px 5px 6px 5px;
    text-align:center;
}

#fuel_type {
    background-color:#d7d7d7;
    width: 50px;
    padding: 6px 5px 6px 5px;
    text-align:center;
}
#button1 {
    height: 40px;
    padding-right:40px;
    background-color:white;
	background-image:url('images/button_back_grad2.jpg');
    background-repeat:no-repeat;
	background-position: top left;
	color:white;
    font-weight:bold;
	text-align:center;
	width:94px;
}
#button1 a {text-decoration:none; color:white}
#button2 {
    height: 40px;
    padding-left:5px;
    background-color:white;
	background-image:url('images/button_back_grad2.jpg');
    background-repeat:no-repeat;
	background-position: top left;
	color:white;
    font-weight:bold;
	text-align:center;
	width:50%;
}
#button2 a {text-decoration:none; color:white}

#contact_button {
    width: 100%;
    height:100%;
    background-color:fuchsia;
    color:white;
    font-weight:bold;
    background-image:url('images/button_back_grad2.jpg');
    background-repeat:no-repeat;
}

#more_details_button {
    width: 100%;
    height:100%;
    background-color:fuchsia;
    color:white;
    font-weight:bold;
    background-image:url('images/button_back_grad2.jpg');
    background-repeat:no-repeat;
}


/* end of Product table styles */

/* Start of Single product page styles */
#main_image{width: 596px}

#main_image img {
	display: block;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid black;
	padding: 2px 2px;
}
#image_gallery .attachment-thumbnail {
	border: 1px solid black;
	padding: 2px 2px;
}
#content .bold {font-weight:bold}
#content #additional_links {
	float:right;
	font-size:0.8em;
	vertical-align:middle;
}
#content #additional_links div {
	margin-left:10px;
	display:inline;
}
#content .center{text-align:center}
#single_contacts {clear:both;}


/*End of single product page styles*/

/* Begin Discount field styles */

p.discount{
   color:red;
   font-size:16px;
   font-weight:bold;
   text-align:center;
   line-height:24px;
}

p.discount2{
   color:red;
   font-size:24px;
   font-weight:bold;
   text-align:center;
   line-height:24px;
   margin-bottom:0px;
   padding-bottom:0px;
}
p.small{
   font-size:9px;
   line-height:11px;
   margin-top:0px;
   padding-top:0px;
   margin-bottom:10px;
   padding-bottom:10px;
}

/* End discount field styles */

#bottom_space {
	position:absolute;
	left:737px;
	top:1215px;
	width:180px;
	height:45px;
	background-color:#000000;
	text-align:center;
	padding-top:22px;
	background-image:url('images/button_back_grad3.gif');
	background-position:center center;
	background-repeat:no-repeat;
}


#bottom_space a {
	text-decoration:none;
	color:white;
	font-size: 16px;
	font-weight: bold;
}

#privacy_policy_box {
	position:absolute;
	left:699px;
	top:1276px;
	width:245px;
	height:auto;
	background-color:#000000;
	font-size:11px;
	padding:10px;
	background-image:url('images/br.gif');
	background-repeat:no-repeat;
	background-position:bottom right;
}
#privacy_policy_box a {color: white; text-decoration:none}


div.tag_box{
	clear:both;
	margin-top:20px;	
}

hr{
	clear:both;
}

div.tag_box a:link, div.tag_box a:hover, div.tag_box a:active, div.tag_box a:visited{
	color:#CCC;
	text-decoration:none;
}

ul.cities,ul.cities li{
	padding:0;
	margin:0;
}

ul.cities{
	margin-bottom:10px;
}

ul.cities li{
	display:inline;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Right Content */
.left-sidebar #primary {
	float: right;
	margin: 0 0 0 -26.4%;
	width: 100%;
}
.left-sidebar #content {
	margin: 0 7.6% 0 34%;
	width: 58.4%;
}
.left-sidebar #secondary {
	float: left;
	margin-left: 7.6%;
	margin-right: 0;
	width: 18.8%;
}

/* Images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full {
	max-width: 97.5%;
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.entry-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
p img,
.wp-caption {
	margin-top: 0.4em;
}
.wp-caption {
	background: #eee;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-family: Georgia, serif;
	font-size: 12px;
}
.wp-caption .wp-caption-text {
	margin-bottom: 0.6em;
	padding: 10px 0 5px 40px;
	position: relative;
}
.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}
#content .gallery {
	margin: 0 auto 1.625em;
}
#content .gallery a img {
	border: none;
}
img#wpstats {
	display: block;
	margin: 0 auto 1.625em;
}
#content .gallery-columns-4 .gallery-item {
	width: 23%;
	padding-right: 2%;
}
#content .gallery-columns-4 .gallery-item img {
	width: 100%;
	height: auto;
}


