/*
Theme Name: AutoJari -teema
Theme URI: http://www.autojari.fi
Author: Jussi Mäkilä & Servoteko
Version: 1.0
License: Proprietary
Description: AutoJarin verkkosivut
Author URI: http://www.autosolution.fi
*/

/* sininen: #000098 */


* {margin:0;padding:0;box-sizing:border-box;}

html, body {min-height:100%;}

body, td {
	font-family: 'Yrsa', serif;
	font-size: 16px;
	color: #000;
}

body {
	background: #8e9eab;
	background: -webkit-linear-gradient(to right, #eef2f3, #8e9eab);
	background: linear-gradient(to right, #eef2f3, #8e9eab);
}

h1 {margin-top: 0px;}

.button {
	display: inline-block;
	color: #fff;
	background: #000098;
	padding: 0.5em 1em;
	border-radius: 4px;
	border:none;
}
.button:hover, .button:active, .button:focus {
	color: #fff;
	text-decoration: none;
	background-color: #000098;
}

#main {
	width: 960px;
	margin: auto;
	padding: 20px;
	background: rgba(255,255,255,0.7);
	-webkit-border-radius: 5px;
	-moz-border-radius:5px;
	border-radius: 5px;
}

/* Header and Navbar */

#header-container {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.some-icons {
	position: absolute;
	top: 10px;
	right: 12px;
}

.some-icons .fa {
	display: inline-block;
	color: #FFF;
	font-size: 30px;
}

.some-icons .fa:hover {
	color: #d5030c;
}

.navbar {
	margin-bottom: 0px;
	border: none;
	text-align: cent;
}

.navbar-header {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.navbar-brand {
	height: auto;
	padding: 0px;
	float: none;
}

.navbar-logo {
	margin: 13px auto 13px auto;
	float: none;
	width: 330px;
	
}

.navbar .navbar-collapse {
	text-align: center;
	background: #000098;
	-webkit-border-radius: 5px;
	-moz-border-radius:5px;
	border-radius: 5px;
	margin-bottom: 15px;
}

.navbar-toggle {
	color: #000098;
	float: none;
	padding: 13px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
}

.nav>li>a {
	position: relative;
	display: block;
	height: 52px;
	line-height: 52px;
	padding: 0px 16px;
	color: #FFF;
	background: none;
	margin: 0;
	border: none;
	text-transform: uppercase;
	font-size: 18px;
	letter-spacing: 0.02em;
	font-weight: 700;
}

.nav>li>a:hover, .nav>li>a:focus {
	color: #000098;
	background: #FFF;
}

.ms-view {-webkit-border-radius: 5px;-moz-border-radius:5px;border-radius: 5px;}

.frontpage-slider:before {
	font-size: 2.5em;
	font-weight: bold;
	font-style: italic;
	position: absolute;
	text-align: left;
	z-index: 100;
	color: #fff;
	margin-top: 4em;
	margin-left: 1em;
	margin-right: auto;
	width: 100%;
	text-shadow: 2px 2px 5px #000;
	content: "Laadukkaat vaihdokit AutoJarilta";
}

/* Product Listings */

.product-listings ul {
	list-style-type: none;
}

.product-listings li {
	border-bottom: 2px dotted #000098;
	padding-bottom: 10px;
	padding-top: 10px;
}

.listing-container {
}

.listing-name {
	margin-top: 0;
	font-size: 20px;
	font-weight: 700;
}

.listing-price .label {
	background-color: #000098;
	position: absolute;
	top: 10px;
	left: 25px;
	color: #FFF;
	font-size: 18px;
}

.listing-images {
	float: left;
	margin-right: 7px;
}

.pagination {margin: 5px 0;}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #000098;
    border-color: #000098;
}

.pagination>li>a, .pagination>li>span {
    color: #000098;
}

/* Footer */

#footer {
	overflow: hidden;
	background: #000098;
	margin-top: 3em;
}

#footer-content {/* border-top: 2px solid #bbb */; overflow: hidden;width: 960px;margin:1em auto;}
#footer-content .footer-images {float:left;}
#footer-content .footer-images img {margin-right: 1em;height: 80px;}
#footer-content .footer-box {float:right;}
#footer-content .footer-box span {display: block;color: #eee;font-weight: bold;}
#footer-content .footer-box .fa {color: #FFF; font-size: 2em; margin-top: 5px;}
#footer-content .footer-box .fa:hover {color: #000098;}

#footer-content .site-title {
	color: #FFF;
	font-size: 32px;
	font-weight: 700;
}

#footer-content .site-description {
	color: #FFF;
	font-size: 20px;
	font-weight: 700;
}

#main .palstat {
	background-color: transparent;
	overflow: hidden;
	margin:1em 0;
	position: relative;
}

#main .palstat a {color: #000098;}

#main .palsta {float:left;width: 306px;padding: 0 0.5em;height:480px;}
#main .palsta .inner {background-color: #fff;padding: 1em;height: 100%;overflow: hidden;-webkit-border-radius: 3px;-moz-border-radius:3px;border-radius: 3px;}
#main .palsta .header {font-size: 1.5em;font-weight: bold;margin-bottom: 1em;}
#main .palsta img {width:100%;}
#main .palsta .texts > span {display: block;text-align: center;}

#main .palsta .make {font-size: 1.5em;background-color: #eee;padding: 0 0.5em;border-radius: 5px;margin: 1em 0;height: 120px;line-height: 120px;}
#main .palsta .make span {display:inline-block; vertical-align: middle;line-height: normal;}

#main .palsta .slogan {padding: 1em 0;margin-bottom:1em;font-weight: 700;background-color: #ddd;border-radius: 5px;}
#main .palsta .slogan {display: none;}

#main .palsta .price {font-size: 2em;font-weight: bold;background-color: #000098;padding: 0.2em;border-radius: 5px;color:#fff;}
#main .palsta .cycle-slideshow {color: inherit;background-image: none;overflow: hidden;height:100%;width:100%;}

#main .palsta .slideshow a:visited, #main .palsta .slideshow a:active, #main .palsta .slideshow a:focus {text-decoration: none;}

#main .palsta.left {padding-left:0;}
#main .palsta.center {}
#main .palsta.right {padding-right:0;}

#main .palsta .advert {overflow: hidden;display: none;color: inherit;}
#main .palsta .advert:hover {text-decoration: none;}

#main .palsta h2 {font-size:1.2em;font-weight:bold;padding:0.5em;margin-top:0;color: #fff;background: #000098;-webkit-border-radius: 3px;-moz-border-radius:3px;border-radius: 3px;}
#main .palsta .news-items {overflow: auto;text-align: left;}
#main .palsta .news-item {float:left;margin-bottom: 1em;width:100%;}
#main .palsta .news-item .date {color:#999;display: block;}
#main .palsta .news-item .subject {font-weight: bold;}
#main .palsta .news-item img {height:45px;width:auto;float:left;margin-right: 0.5em;margin-top:0.2em;box-shadow: none;border: none;}

.rahoitus {float:right; width: 280px; margin: 0px 10px;}

.rahoitus .inner {background-color: #fff;padding: 1em;height: 100%;overflow: hidden;-webkit-border-radius: 3px;-moz-border-radius:3px;border-radius: 3px;}

.rahoitus h2 {font-size:1.2em;font-weight:bold;padding:0.5em;margin-top:0;color: #fff;background: #000098;-webkit-border-radius: 3px;-moz-border-radius:3px;border-radius: 3px;}

.rahoitus img {
	margin-bottom: 5px;
}

.rahoitus .nimi {
	margin-bottom: 16px;
}

.notice {clear:both;padding:1em;font-weight: bold;border-radius: 5px;}
.notice.success {background-color: lightgreen;}
.notice.error {background-color: lightcoral;}


div.auto {margin: 10px 10px 0 0;float: left;color: #000;background: none;line-height: 1.33em;cursor: pointer;padding:10px;height:390px;width:296px;overflow: hidden; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; box-sizing: border-box;}
div.auto:hover {border: solid 1px #000098;background: #FFF;}
.auto img.vehicle-image {box-shadow: 0px 2px 4px rgba(100, 100, 100, 0.4);border: 2px solid #fff;margin-bottom:0.5em;width:100%;transition: border-color 0.5s;}
.auto div {clear: both;padding:0.5em 0;}
.auto label {float: left;clear: left;margin: 0;}
.auto .merkki, .auto .malli, .auto .tyyppi {display: inline;}
.auto .merkki {font-weight: bold;}
tr.auto .tyyppi {display:block;font-size: 0.8em;}
.auto .slogan {display: block;margin-top:1em;font-style: italic;font-size: 12px;}
.auto .hinta,.auto .vuosimalli,.auto .mittarilkm {display: inline-block;float: left;margin-left: 5px;}
.auto img.uusi {position: absolute;border:none;box-shadow: none;margin:2px 0 0 2px;}
.auto td.vehicle-name {padding-left: 1em;}
.auto.more-cars:hover {background-color:transparent;box-shadow: none;}
.auto.more-cars a {display:block;font-size:2.5em;font-style: italic;line-height: 1.1em;box-shadow: 0px 2px 4px rgba(100, 100, 100, 0.8);border: 2px solid #fff;margin-bottom:0.5em;border-radius: 8px 0 8px 0;width:100%;background-color: #f0f0f0;color: #4d535f;height: 54%;padding: 1.6em 0;text-align: center;text-decoration: none;}
.auto.more-cars a:hover {background-color: #000098;color: #000;}
tr.auto .slogan {margin-top:0;}
.auto .banner {position: absolute;padding: 5px 10px 5px 15px;font-size: 1em;text-transform: uppercase;background-color: #000098;color: #fff;font-weight: bold;text-align: center;margin-left: -1px;margin-top: 10px;border:2px solid #fff;border-left:none;}

#control-bar {overflow: hidden;margin: 1em 0;}
#control-bar div.list-type, #control-bar div.list-order {
	display: block;
	float: right;
	padding: 1em 0;
}
#control-bar div.list-type {
	margin-right: 2em;
}
#control-bar h1 {
	float: left;
	margin:0;
	padding:0;
}


table.autot {
    width: 100%;
}

table.autot td {
    width: auto;
    vertical-align: middle;
}

table.autot td:first-child {
    width: 64px;
}
table.autot tr:hover td {
	background-color: orange;
	cursor: pointer;
}

span.list_link {
    margin-right: 10px;
}

table.autot th {
    background: #000098;
    padding: 3px 0;
    width: auto;
}
.vehicledetails label {
    display: inline-block;
    clear: left;
    margin: 0;
}
.vehicledetails .merkki, .vehicledetails .malli, .vehicledetails .tyyppi, .vehicledetails .ajoneuvolaji {
    display: inline-block;
}
.vehicledetails .merkki {
    font-weight: bold;
}
.vehicledetails .slogan {
    display: block;
	clear: both;
	padding: 1em;
	font-size: 1.2em;
	margin-top:1em;
	font-weight: bold;
	background-color: #000098;
	color: #FFF;
	width: 610px;
}
.vehicledetails .hinta,.vehicledetails .vuosimalli,.vehicledetails .mittarilkm {
    display: inline-block;
    float: left;
}

.vehicledetails .hinta {
    float: right;
    text-align: right;
}

.vehicledetails .iso-hinta {
    font-size: 21px;
}

.vehicledetails .alv-vahennys {
	margin-right: 1em;
}

span.updating {
    color: #bbb;
}

.clear {
    clear: both;
}

.infobox {
    width: 610px;
}

.image-box {
    display: block;
    width: 960px;
}


.thumbnail {
	margin: 15px 0 0 15px;
	padding:0;
	background-color: transparent;
	width: 140px;
	height: 93px;
	float: left;
	box-shadow: 0px 2px 4px rgba(100, 100, 100, 0.4);
	border-radius: 0;
	border: 2px solid #fff;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}
.thumbnail:hover {
	border-color: #000098;
}
.thumbnail img {
	position: absolute;
	width: 100%;
}
img#main-image {
	margin: 10px 0 0 0;
	width: 610px;
	float: left;
	box-shadow: 0px 2px 4px rgba(100, 100, 100, 0.4);
	border: 2px solid #fff;
	cursor: pointer;
}


.info {width: 610px;}
.perustiedot .col {min-width:250px; width: 48%;float: left;display: inline-block;}
.perustiedot .col:nth-of-type(2n+1) {float:right;}
.perustiedot .col > div {border-bottom: 1px dotted #4d535f;overflow: hidden;height:24px;}
.perustiedot label {float:left;padding-top: 5px;}
.perustiedot span {padding-top: 5px;float:right;text-align: right;}
.perustiedot input#down_payment {margin-top:-5px;width: 80px;text-align: right;}

.accessories ul {overflow:hidden; clear: both;list-style: none;margin:0;padding:0;}
.accessories li {float:left;padding:3px 8px;background-color: #000098;margin:3px;border-radius: 3px; color: #FFF;}


#finance_duration {margin-top:-5px;text-align: right;}

.contact .contact-row {border-bottom: 1px dotted #4d535f;overflow: hidden;}
.contact label {float:left;padding-top: 3px;}
.contact span {float:right;width: 60%;}
.contact span label {padding: 0;font-weight: 400;float:right;width: auto;border: none;margin-left:2%;}
.contact input[type=checkbox],.contact input[type=radio] {margin-left: 5px;margin-right: 3px;}
.contact input[type=text], .contact select {float:right;width: 50%;}


.peeps {
    display: inline-block;
    width: 720px;
}

.company_details {padding: 1em;}
.company_details div {
    margin-bottom: 1em;
}
.company_details div.social_media {margin: 0;}
.company_details_container {
    width: 240px;
    display: inline-block;
    float: right;
}
.company_details_container {overflow: visible;}
.company_details_container h2 {margin-top:0;}
.company_details {
    width: 240px;
    border-radius: 5px;
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(100, 100, 100, 0.2);
	min-height: 340px;
}
.company_details table {width:auto;}
.company_details th {padding-right: 5px;}
#google-map {
	border-radius: 5px;
	border: 5px solid #fff;
	box-shadow: 0 2px 4px rgba(100, 100, 100, 0.2);
	width: 668px;
	height: 340px;
}


.person {
    width: 348px;
    display: inline-block;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
	background-color: #fff;
	box-shadow: 0 2px 4px rgba(100, 100, 100, 0.2);
}
.person span {display: block;}
.person .name {font-weight: 700;}
.person .title {}
.person .misc {margin: 10px 0;}
.person .person-image {float:left;margin:10px;width:109px;height:164px;background-size: cover;background-position: center center;}
.person > div {float:left;margin:14px 0 0 14px;}
.person > div.person-name {width: 100%;padding-left: 144px;margin-left: -130px;}

a.phone-number, a.email {color: #000;padding:0;margin:0;display: inline;white-space:nowrap;}
a.phone-number img, a.email img {display: none;}

#map-button {float:left;width:100%;padding:1em;font-size:1.5em;font-weight:bold;border-radius: 4px;box-shadow: 0 2px 4px rgba(100, 100, 100, 0.2);background-color:#000098;margin:1em 0;text-align: center;display: none;color:#000;}



.financing table, .financing input.button {
	float: left;
}

.credit-table {}
.credit-table td {
	padding:0.5em;
}
.credit-table tr td:nth-of-type(2n+1) {
	font-weight: bold;
}
.credit-table tr td:nth-of-type(2n) {
	width: 130px;
	text-align: right;
}
.credit-table .highlight td {
	font-size: 1.2em;
}
.credit-results {
	margin-top:2em;
	float:left;
	clear: both;
	overflow: hidden;
	background-color: #fff;
	padding: 1em;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(100, 100, 100, 0.2);
}

/** valtapesu **/
.wash-table {border-collapse: separate;border-spacing: 5px;width: 100%;margin: 0 -5px;}
.wash-table tr.spacer td {background-color: transparent;}
.wash-table td {padding: 5px;}
.wash-table td img {height: 25px;}
.wash-table td b {display: block;margin:0;padding:0;text-transform: uppercase;color: #333;}
.wash-table td.price-column {width: 120px;font-weight: bold;text-align: center;color: #333;}
.wash-table thead td {font-weight: bold;font-size: 1.2em;}
.wash-table tbody td {background-color: #eee;color: #777;}
.wash-table tbody td.price-column {font-size: 1.2em;}
.wash-table tfoot td {padding: 1em;font-weight: bold;text-align: center;}

/** hakusivu & ostamme **/
#search_form {margin:-0.5em;}
#purchase_form {margin:-0.5em;}
#purchase_form textarea {height: 106px;}
 .results,  .buttons {float:left;clear: both;padding: 0 0.5em;}
 .results {margin:1em 0;}
 .ui-widget {float:left;padding: 0.5em; border-radius: 3px;}
 .ui-widget .ui-widget-header {padding:5px;}
 .ui-widget .ui-widget-content {overflow: hidden; border-top:none !important;padding:1em;}
 .ui-widget ul {list-style: none;margin:0;padding:0;}
 .ui-widget li {float:left;width: 150px;margin:0;padding:0;}
 .ui-widget .ui-widget-content input[type="text"],
 .ui-widget .ui-widget-content select,
 .ui-widget .ui-widget-content textarea {width: 100%;margin:0;}
 .ui-widget .ui-widget-content select {padding:2px;}
 .ui-widget .ui-widget-content select option {padding:1px;}
 .ui-widget ul.body_types li {padding:15px;height:100px;}
 .ui-widget.w100 {width:100%;}
 .ui-widget.w50 {width:50%;}
 .ui-widget.select-list {width:33%;}
.select-list + .select-list + .select-list {width:34% !important;}
 .ui-widget.w25 {width:25%;}
.w50 .ui-widget-content, .w25 .ui-widget-content {}
 .ui-widget.w100 li {width: 25%;min-width: 150px;}
 .ui-widget.w50 li {width: 50%;}
 .ui-widget.w25 li {width: 100%;}
 .ui-widget.select-list .ui-widget-content {padding:0;}
 .ui-widget.select-list .ui-widget-content .list {border: none; padding:5px;width: 100%;height: 122px;overflow:auto;}

.ui-widget.select-list li {width: 100%;cursor:pointer;}
.ui-widget.select-list li.selected {background-color: lightblue;}
.ui-widget.select-list li:hover {background-color: lightgray;}

.ssangyong-image {width:100%;}

 #down_payment {width: 80%;}

 /* input.required, select.required {border:1px solid #000;background-color: #fed;} */


/** jQuery UI Dialog **/
.ui-dialog {box-shadow: 0px 10px 10px rgba(100, 100, 100, 0.5);}
.ui-dialog h1 {font-size: 1.2em;}
.ui-dialog h1 .date {font-weight: normal; color: #888;margin-right: 0.5em;}
.ui-dialog-titlebar {display:none;}
.ui-dialog .ui-widget-content {border:none;}
.ui-dialog .news-image {max-width: 300px;float:left;margin-right: 1em;}

.ui-widget .ui-widget-header {background: #000098; color: #FFFFFF;}

#resp-frontpage {display:none;}
.responsive {display: none;}

/** media queryt responsiivisuutta varten **/
@media screen and (max-width: 960px) {
	/* yleiset */
	#header-main, #main, #footer-content, #control-bar, .floating {width: 100%;}
	#control-bar {padding:0 14px;}
	#header-main {padding:0;}
    .some-links {display:none;margin-right: 14px;}
    #footer-content {padding: 0 14px;}

	#header-main .menu ul {
		width:100%;
		background: linear-gradient(to bottom, #000098 0%,#b45a00 50%, #c16100 51%,#000098 100%); /* W3C */
		margin:0;
		padding:0;
		overflow: hidden;
	}
    #header-main .menu li {width: auto !important;}
	#header-main .menu li a {padding:1em;border: none;white-space: nowrap;background: none;}
    #header-main .menu li a img {display: none;}


	/* etusivu ja ajoneuvolistaus */
	#main {padding: 0 14px;}
	#main h1 {display: none;}
	#content h1 {display: block;}
	.news {float:left; width: 100%;height: auto;margin:1em 0;clear:both;}
	.news .news-items {height:auto;}
	#list_type {display: none;}
	#main .palsta.left {display: none;}
    #main .palsta.center, #main .palsta.right {width: 100%;height:auto;margin:1em 0;padding:0;}


	/* auton sivu */
	.vehicledetails .infobox {width: 100%;}
	.vehicledetails .slogan {width:100%;}
	.image-box {width:100%;}
	img#main-image {width: 100%;}
	.thumbnail {float: left;width:23%;height:0;padding-bottom:15%;margin-left:2%;}
	.thumbnail:nth-of-type(4n+1) {margin-left:0;}
	.info {width: 100%;}

	/* yhteystiedot */
	.company_details_container {float:left;width: 100%;margin-bottom: 0;clear: both;}
	.company_details {float:left;width: 100%;min-height:0;margin-bottom:1em;}
	.company_details div {float:left;margin: 0;}
	.company_details div.contact-info {width: 60%;}
	.company_details div.open {width: 25%;}
	.company_details div.social_media {float:right;width: 40px;}
	#google-map {width:100%;float:left;}
	.peeps {width: 100%;}
	.peeps h2 {clear:both;}
	.person {width: 48%;margin:1em 0;float:left;}
	.person:nth-of-type(2n) {float:right;}
	.person > div.person-contact {width: 210px;margin-top:0;margin-bottom: 14px;}
	a.phone-number, a.email {display:inline-block; width:auto; padding: 5px 10px;border-radius: 4px;background-color:#000098;color: #FFF;}
	a.email {margin-top:1em;}
	a.phone-number img, a.email img {display:inline-block;width: 16px; height: 16px;margin:0;padding:0;margin-right: 0.5em;}
	.contact-info a.email {margin-bottom: 1em;}
	.contact-info a.phone-number {margin-top: 1em;}
	#map-button {color: #FFF;}

	/* autohaku & ostamme */
	.buttons input, .buttons a {font-size: 1.2em;}

	/* vertaa hintoja */
	.wp-image-52 {width: 100%;height: auto;}
	
	/* rahoitus-sivun widget */
	.rahoitus {position:relative; width: 97%; margin: 30px 0px; }
	
}

@media screen and (min-width: 768px) {
	.navbar-nav {float: none; margin: 0;}
	.navbar-nav>li {float: none; display: inline-block;}
}


@media screen and (max-width: 767px) {
	#main {
		padding: 10px;
		background: rgba(255,255,255,1.0);
		-webkit-border-radius: 0px;
		-moz-border-radius:0px;
		border-radius:0px;
	}
	
	.navbar-header {text-align: center;}
	.navbar-logo {margin: 13px auto 0px auto;}
	
	#footer {margin-top: 0;}
	
}

@media screen and (max-width: 650px) {
	/* valikko ja yläpalkki */
	#header-main .menu ul {background: #000098;}
	#header-main .menu li {width: 50% !important;float:left;}
	#header-main .menu li:last-of-type {width: 100% !important;}
	#header-main .menu li a {border:1px solid #333;}
	#header-main .menu li:last-of-type a {border-bottom-width: 2px;}

    /* alapalkki */
	#footer * {padding: 0;margin:0;}
	#footer .footer-box {padding:0.5em;width: 100%;}
	.footer-images {display: none;}
    .footer-box span {display: none;}
    .footer-box span.company-name {display: block;font-size: 1.2em;width:100%;text-align: center;}

	/* etusivu ja ajoneuvolistaus 
	#slider-container {display:none;}*/

	/* yhteystiedot */
	#google-map {display: none;}
	#map-button {display: block;}
	.peeps h2 {display: none;}

	/* autohaku & ostamme */
	.results, .buttons {position: fixed;background-color: #fff;width: 100%;padding: 1em;z-index: 40;margin:0;left:0;}
	.buttons {bottom:0;z-index: 9;}
	/* .results {bottom:62px;padding-bottom: 0;}*/
	.results {bottom:0;left:200px;width: auto;z-index: 10;}
	#search_form {overflow:hidden;margin-bottom:60px;}
	#purchase_form {overflow: hidden;margin-bottom: 40px;}
	.ui-widget.w100 li {width:33%;}
	.ui-widget.select-list {width:50%;}
	.select-list + .select-list + .select-list {width:100% !important;}
	
	.navbar-logo {width: 50%; float: none;}
}
@media screen and (max-width: 550px) {
	/* etusivu ja ajoneuvolistaus */
	div.auto, .news {width:100%;margin: 1em 0;height: auto;float:left;}
	.new {overflow:hidden; margin: 2em 0;}

	/* auton sivu */
	.contact .contact-row {border:none;margin-bottom:1em;}
	.contact label {width: 100%;}
	.contact span {float:left;width: 100%;}
	.contact span label {float:left;width: auto;}
	.contact input[type=text], .contact select {float:left;width: 100%;}
	.contact input[type=submit] {font-size: 1.5em;}
	.perustiedot .col {float: left;width: 100%;}
	.vehicledetails .slogan {}

	/* yhteystiedot */
	.person {width: 100%;}
	.company_details div.contact-info {width: 70%;}
	.company_details div.open {width: 30%;}
	.company_details div.social_media {display: none;}

	/* autohaku & ostamme */
	.ui-widget.w100 li {width: 50%;}
	.ui-widget.w50 {width: 100%;}
	.ui-widget.w25 {width: 50%;}
	
	.frontpage-slider:before {font-size: 1.5em; margin-top: 2em;}
}


@media screen and (max-width: 460px) {
	.results {bottom:62px;left:0;padding-bottom: 0;width: 100%;}
}

@media screen and (max-width: 440px) {
	div.financing .button {margin:1em 0 !important;}
}

@media screen and (max-width: 380px) {
	/* yhteystiedot */
	.company_details div {float: none;width: 100% !important;}

	/* autohaku & ostamme */
	.ui-widget.w100 li {width: 100%;}
	.ui-widget {width:100% !important;}
	.buttons input, .buttons a {width: 48% !important;margin:0;float:left;text-align: center;}
	.buttons input:last-of-type, .buttons a:last-of-type {float: right;}
    .perustiedot input#down_payment {width: 50px;}
}
