/*
Theme Name: Car Shopper (Mobile Friendly)
Description: Modified Car Shopper, more mobile friendly
Version: 1
Author: Liam O'Boyle
*/

/* Header
-------------------------------------------------------------- */ 

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; *behavior: url(/scripts/boxsizing.htc);}

body {
	font-family: "proxima-nova", "Proxima Nova", Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #000;
	background: #374f5e;
	margin: 0;
}
.wrapper {
	width: 960px;
	margin: 0 auto;
	position: relative;
}
a img {
	border: none;
}

/* Header
-------------------------------------------------------------- */ 

#header-container {
	width: 100%;
	background: #000;
}
#header {
	height: 163px;
	background: url(images/tagline.gif) top right no-repeat;
}
#logo {
	float: left;
	width: 376px;
	height: 163px;
}
#search-box {
	float: right;
	height: 35px;
	width: 235px;
	background-color: #2f2f30;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}
.search input#searchField {
	float: left;
	display: inline;
	height: 35px;
	width: 195px;
	background: none;
	border: none;
	font-family: "proxima-nova", "Proxima Nova", Arial, sans-serif;
	color: #acacad;
	font-size: 14px;
	line-height: 35px;
	margin: 0;
	padding: 0 0 0 15px;
}
.search input.button {
	float: right;
	display: inline;
	height: 35px;
	width: 35px;
	background: none;
	border: none;
	margin: 0;
	padding: 0;
	text-indent: -500px;
	overflow: hidden;
	cursor: pointer;
}
input[type=search] {
   -moz-appearance:none;
   -webkit-appearance:none;
}
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* Menu
-------------------------------------------------------------- */ 

#menu-container {
	position: relative;
	width: 960px;
	height: 50px;
}
#menu-container ul {
	list-style-type: none; 
	padding: 0; 
	margin: 0;
}
#menu-container ul li {
	float: left; 
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 200;
}
#menu-container ul li a {
	display: block; 
	padding: 14px 15px 15px 15px;
	color: #374f5e;
	font-size: 21px;
	line-height: 21px;
	text-decoration: none;
	background: #fff;
	border-right: 1px solid #ccc;
	text-align: center;
	width: 192px;
}
#menu-container ul li.nav1 a, #menu-container ul li.menu-item-42 a { border-radius: 5px 0 0 0; }
#menu-container ul li.nav5 a, #menu-container ul li.menu-item-32 a { border-right: none; border-radius: 0 5px 0 0; }

#menu-container ul li a:hover, #menu-container ul li.active a {
	color: #374f5e;
	text-decoration: none;
	background: #e1e5e7;
}
#menu-container ul ul {
	display: none;
}

/* --------- Drop downs --------- */

#menu-container li ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 200;
	clear: both;
	width: 210px;
	top: 50px;
	margin: 0;
	border-top: 1px solid #ccc;
}
#menu-container li ul.sub-menu:hover {
	display: block;
}
#menu-container li ul.sub-menu li {
	clear: both;
	padding: 0;
	margin: 0;
	float: left;
}
#menu-container li ul.sub-menu li a {
	display: block;
	width: 210px;
	color: #374f5e;
	font-size: 16px;
	line-height: 16px;
	padding: 15px;
	font-weight: normal;
	text-decoration: none;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	text-align: left;
}
#menu-container ul li.menu-item-42 ul li a { border-radius: 0; }
#menu-container ul li.menu-item-32 ul li a { border-radius: 0 }
#menu-container li ul.sub-menu li a:hover, #menu-container li ul.sub-menu li.active a {
	color: #374f5e;
	text-decoration: none;
	background: #e1e5e7;
}
#menu-container li ul.sub-menu ul {
	display: none;
	margin-left: 210px; /* ul width */
	top: 0;
}

/* Slider
-------------------------------------------------------------- */ 

#slider-container {
	width: 100%;
	height: 520px;
	background: url(images/banner-bg.jpg);
	padding: 20px 0 50px 0;
}
#slider {
	height: auto;
	position: relative;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}
#slider img {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	left: 50%;
	margin: 20px 0 0 -35px;
}

/* Body
-------------------------------------------------------------- */

#body-container {
	width: 100%;
	background: #fff;
	border-top: 3px solid #ebedef;
}
#body {
	padding: 40px 0;
}
h1 {
	color: #374f5e;
	font-size: 44px;
	line-height: 44px;
	font-weight: normal;
	margin: 0 0 15px 0;
	padding: 0;
}
h2 {
	color: #374f5e;
	font-size: 28px;
	line-height: 28px;
	font-weight: normal;
	margin: 20px 0 0 0;
}
h3 {
	color: #374f5e;
	font-size: 14px;
	font-weight: bold;
	margin: 0;
}
p {
	margin: 10px 0 15px 0;
}
a {
	color: #026cae;
	text-decoration: none;
}
a:hover {
	color: #026cae;
	text-decoration: underline;
}
div.ddsg-wrapper p {
	display: none;
}
.datetime {
	font-size: 11px;
}
.left {
	float: left;
	margin: 0 5px 0 0;
}
.right {
	float: right;
	margin: 0 0 0 5px;
}
.btn, .button {
	background: #026cae;
	border-radius: 5px;
	display: inline-block;
	font-size: 13px;
	line-height: 13px;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}
a.btn:hover, a.button:hover {
	background: #02619c;
	color: #fff;
	text-decoration: none;
}
.breadcrumbs {
	margin-bottom: 20px;
}
.clear-floats {
	clear: both;
}
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

/* Forms
-------------------------------------------------------------- */

#cta-container {
	width: 100%;
	background: #e1e5e7;
	border-top: 3px solid #d8dde0;
}
#ctas {
	padding: 40px 0;
}
.cta {
	float: left;
	width: 320px;
	border-right: 1px solid #d0d6d9;
}
.cta h2 {
	margin: 0;
}
.cta1 {
	padding: 0 30px 0 80px;
	background: url(images/icon-how-it-works.gif) no-repeat;
}
.cta2 {
	padding: 0 30px 0 120px;
	background: url(images/icon-car-examples.gif) no-repeat 30px 0;
}
.cta3 { 
	padding-left: 115px;
	border-right: none;
	background: url(images/icon-contact-us.gif) no-repeat 30px 0;
}
.post-entry {
	border-bottom: 1px solid #eee;
}

/* Forms
-------------------------------------------------------------- */

#body .gform_body ul, #sect-body .gform_body ul {
    margin: 0;
    padding: 0;
}
#body .gform_body ul li, #sect-body .gform_body ul li {
    background-image: none;
    margin: 0 0 10px 0;
    padding: 0;
}
#body .gform_body ul li li, #sect-body .gform_body ul li li {
    margin: 0;
}
#body .gform_body ul li.gfield.gfield_error, #sect-body .gform_body ul li.gfield.gfield_error, #body .gform_body ul li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning, #sect-body .gform_body ul li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: #FFDFE0;
}

/* Sidebar
-------------------------------------------------------------- */

#sidebar {
	float: right;
	width: 310px;
}

/* WordPress Core
-------------------------------------------------------------- */

.alignnone {
    margin: 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 12px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Footer
-------------------------------------------------------------- */

#footer-container {
	clear: both;
	width: 100%;
	color: #cad0d3;
}
#footer-ctas {
	margin-top: 30px;
}
#footer-ctas h2 {
	margin: 0;
	color: #fff;
}
#testimonials-container {
	float: left;
	width: 480px;
	padding: 0 30px 0 85px;
	border-right: 1px solid #495e6c;
	background: url(images/icon-testimonials.gif) no-repeat;
}
#testimonials-container .bx-wrapper .bx-pager,
#testimonials-container .bx-wrapper .bx-controls-auto {
	left: 50%;
	margin: 0 0 0 -35px;
	bottom: -20px;
}
#testimonials-container .bx-wrapper {
	margin-bottom: 20px;
}
#newsletter-sign-up {
	float: left;
	width: 480px;
	padding-left: 113px;
	background: url(images/icon-newsletter.gif) no-repeat 30px 0;
}
#mc_embed_signup {
	margin: 10px 0;
}
#mc_embed_signup table.form {
	margin: 0;
	padding: 0;
	border: none;
}
#mc_embed_signup label {
	float: left;
	width: 50px;
}
#mc_embed_signup .input {
	float: left;
	width: 300px;
	border: none;
	border-radius: 5px;
	font-family: "proxima-nova", "Proxima Nova", Arial, sans-serif;
	font-size: 16px;
	padding: 5px;
	background: #eaedee;
	margin-bottom: 5px;
}
#mc_embed_signup .button {
	float: right;
	border: none;
	cursor: pointer;
	font-family: "proxima-nova", "Proxima Nova", Arial, sans-serif;
}
#mc_embed_signup input[type="submit"]:focus{outline:none;}
#mc_embed_signup input[type="submit"]::-moz-focus-inner{border:none;}
.home #footer {
	border-top: 1px solid #495e6c;
	margin-top: 30px;
}
#footer {
	clear: both;
	padding: 27px 0 45px 0;
}
#footer p {
	margin: 0 0 15px 0;
}
#footer a {
	color: #B2B2B2;
	text-decoration: none;
}
#footer a:hover {
	color: #fff;
	text-decoration: none;
}
#copyright {
	float: left;
	width: 45%;
}
.facebook {
	background: url(images/icon-facebook.gif) no-repeat;
	height: 44px;
	display: inline-block;
	line-height: 44px;
	padding-left: 54px;
}
#footer-links {
	float: right;
	width: 45%;
	text-align: right;
}
#footer-links a {
	margin: 0 0 0 15px;
}
#avatar-link {
	line-height: 44px;
	font-size: 14px;
}
#avatar-link a {
	color: #5e7583;
}
#avatar-link a:hover {
	color: #fff;
}

@media only screen and (max-width:959px) {
/* everything under desktop size */
	#menu-container, .wrapper, #testimonials-container, #newsletter-sign-up, #logo {
		width: 100%;
	}
	#body-container, #cta-container, #footer-ctas > *, #copyright, #footer-links {
		padding-left: 10px;
		padding-right: 10px;
	}
	#search-box {
		display: none;
	}
	#body-container img {
		display: block;
		max-width: 90%;
		height: auto;
		float: none;
		margin: initial;
		margin-top: 0.5em;
		margin-bottom: 0.5em;
	}
	#ctas .cta {
		float: none;
		width: 100%;
		padding-right: 0;
		padding-left: 100px;
		background-position: 0;
		border: none;
	}
	#ctas .cta a.btn {
		width: 100%;
		display: block;
		text-align: center;
		padding: 0.5em 1em;
		margin-right: 10px;
	}
	#testimonials-container {
		background-image: none;
	}
	#logo {
		overflow: hidden;
	}
	#logo img {
		height: auto !important;
		width: 340px !important;
	}
	#slider-container {
		height: auto;
		padding-top: 10px;
	}
	#slider img {
		border-radius: 0;
	}
	#slider .bx-controls-direction {
		display: none;
	}
	#menu-container {
		position: initial;
		height: initial;
	}
	#menu-container ul li {
		float: none;
		width: 100%;
		display: block;
		border-top: 1px solid #d8dde0;
	}
	#menu-container ul li.current-menu-item a {
		font-weight: bold;
		background: #d8dde0;
	}
	#menu-container ul li:last-child {
		border-bottom: 1px solid #d8dde0;
	}
	#menu-container ul li a {
		width:100%;
		border-radius: 0 !important;
		border: none;
	}
	#testimonials-container, #newsletter-sign-up {
		float: none;
	}
	#newsletter-sign-up {
		background: none;
		width: 100%;
	}
	#newsletter-sign-up table {
		width: 100%;
	}
	#newsletter-sign-up tr td:first-child {
		display: none;
	}
	#mc-embedded-subscribe {
		padding: 8px;
	}
	#newsletter-sign-up input, #newsletter-sign-up input.input {
		width: 100%;
		float: none;
	}
	#newsletter-sign-up input::-webkit-input-placeholder {
		text-align: center;
	}
	#newsletter-sign-up input::-moz-placeholder {
		text-align: center;
	}
	#newsletter-sign-up input:-ms-input-placeholder {
		text-align: center;
	}
	#newsletter-sign-up input:-moz-placeholder {
		text-align: center;
	}
	#copyright, #footer-links {
		float: none;
		width: 100%;
		text-align: center;
	}
	#footer-links p {
		margin: initial;
	}
	#avatar-link {
		display: none;
	}
}
@media only screen and (min-width:320px) and (max-width:641px) {
/* smartphones, iPhone, portrait 480x320 phones */
}
@media only screen and (min-width:641px) and (max-width:961px) {
/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
}
@media only screen and (min-width:961px) and (max-width:1025px) {
/* tablet, landscape iPad, lo-res laptops ands desktops */
}

@media only screen and (min-width:1025px) {
/* big landscape tablets, laptops, and desktops */
	#newsletter-sign-up input::-webkit-input-placeholder {
		color: #eaedee;
	}
	#newsletter-sign-up input::-moz-placeholder {
		color: #eaedee;
	}
	#newsletter-sign-up input:-ms-input-placeholder {
		color: #eaedee;
	}
	#newsletter-sign-up input:-moz-placeholder {
		color: #eaedee;
	}
}
