/*
Theme Name: Autokuume -teema
Theme URI: https://www.autokuume.com
Author: Jussi Mäkilä & Servoteko
Version: 1.0
License: Proprietary
Description: Autokuume -verkkosivut
Author URI: http://www.autosolution.fi
*/

/* tummempi sininen: #273d89 */
/* vaaleampi sininen: #c1f0ff */


* {margin:0;padding:0;box-sizing:border-box;}
html, body {min-height:100%;}
body, td {
	font-size: 16px;
	color: #333;
	font-family: "tablet-gothic",sans-serif;
	font-style: normal;
	font-weight: 400;
}

a {
	color: #273d89;
	text-decoration: none;
}

a:focus, a:hover {
	color: #273d89;
	text-decoration: underline;
}

body {
	background: #FFF;
	background-image: url(img/autokuume-bg-1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}

input, select {
	color: #000;
	background: #FFF;
}

p {
    margin: 0 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "tablet-gothic-wide",sans-serif;
	line-height: 1.5;
	margin: 0 0 15px;
	font-style: normal;
	font-weight: 700;
	color: #000;
}

h1 {margin-top: 40px;}
h2 {margin-top: 20px;}

/*
.border-title {
	border-bottom: 4px solid #273d89;
}
*/

img {
	max-width: 100% !important;
	height: auto !important;
}

.page-content ul {
	padding-left: 30px;
}

.tm0 {
	margin-top: 0 !important;
}

.tm10 {
	margin-top: 10px !important;
}

.tm20 {
	margin-top: 20px !important;
}

.tm40 {
	margin-top: 40px !important;
}

.bm0 {
	margin-bottom: 0 !important;
}

.bm10 {
	margin-bottom: 10px !important;
}

.bm20 {
	margin-bottom: 20px !important;
}

.bm40 {
	margin-bottom: 40px !important;
}

.button {
	display: inline-block;
	color: #fff;
	background: #273d89;
	padding: 0.5em 2em;
	border:none;
	border-radius: 4px;
}
.button:hover, .button:active, .button:focus {
	color: #fff;
	text-decoration: none;
	background-color: #000;
}

.alignright {
	float: right;
	margin: 8px 0px 15px 15px;
}

.alignleft {
	float: left;
	margin: 8px 15px 15px 0px;
}

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 18px;
    border-left: 5px solid #273d89;
	font-style: italic;
	background: #FFF;
}

/* Header and Navbar */

.box-shadowcont {
	margin-top: 15px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	overflow: hidden;
	background: rgba(255,255,255,0.0);
}

.header-container {
	background: #fff;
	-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;
	border: solid 3px #273d89;
}

.some-icons {
	position: absolute;
	top: 10px;
	right: 12px;
}

.some-icons .fa {
	display: inline-block;
	color: #273d89;
	font-size: 30px;
}

.some-icons .fa:hover {
	color: #273d89;
}

.navbar {
	margin-bottom: 0px;
	border: none;
}

.navbar-header {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.navbar-brand {
	height: 89px;
	padding: 0px;
	float: none;
}

.navbar-logo {
	margin: 0;
}

.navbar .navbar-collapse {
	text-align: center;
	background: #273d89;
}

.navbar-toggle {
	color: #273d89;
	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 12px;
	color: #fff;
	background: none;
	margin: 0;
	border: none;
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 0.02em;
	font-weight: 400;
}

.nav>li>a:hover, .nav>li>a:focus {
	color: #273d89;
	background: #FFF;
}

/* Front Page Slider */

.fp-slider-container {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	height: 500px;
	background-position: 50% 50%;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border-bottom: solid 3px #273d89;
    border-right: solid 3px #273d89;
    border-left: solid 3px #273d89;
}

.fp-slider-content {
	max-width: 940px;
	position: relative;
	top: 10%;
	margin: 0 auto;
	padding: 15px;
}

.fp-slider-text-bg {
	background: rgba(0, 0, 0, 0.4);
	padding: 15px;
	margin-bottom: 15px;
}

.fp-slider-text-bg-xs {
	background: rgba(0, 0, 0, 0.4);
	padding: 10px;
}

h2.fp-slider-title {
	font-size: 50px;
	color: #FFF;
	text-shadow: 2px 1px 4px rgba(0,0,0,1);
}

p.fp-slider-caption {
	font-size: 24px;
	color: #FFF;
	line-height: 1.4em;
	overflow: hidden;
	text-shadow: 1px 1px 2px rgba(0,0,0,1);
}

.btn-fp-slider {
	background-color: #273d89;
	color: #FFF;
	border-radius: 4px;;
}

.btn-fp-slider:hover {
	background-color: #000;
	color: #FFF;
}

.btn-rancraft {
	width: 153px;
	display: inline-block;
	float: left;
	margin: 10px;
}

#front-page {
	margin: auto;
	padding: 0;
}

#main {
	margin: auto;
}

.no-gutter {
	padding: 0;
}

.content-container {
	width: 960px;
	margin: auto;
}

.content-element {
	padding: 1em;
	border-radius: 4px;
    box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	background: #FFF;
	border: solid 3px #273d89;
}

.content-element h1, .content-element h2, .content-element h3 {
	margin-top: 0;
	line-height: 1;
}

.fp-intro-img {margin-top: 10px;}

.fp-vehicles {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	float: none;
	padding: 0;
}

#footer {
	overflow: hidden; 
	background: #FFF;
	margin-top: 3em;
}

#footer-content {
	overflow: hidden;
	width: 960px;
	margin:2em auto;
	text-align: center;
	color: #000;
}

.footer-divider {
	margin-left: 12px;
	margin-right: 12px;
}


#main .palstat {
	background-color: transparent;
	overflow: hidden;
	margin:3em 0;
	position: relative;
}

#main .palstat a {color: #273d89;}

#main .palsta {float:left;width: 306px;padding: 0 0.5em;height:500px;}
#main .palsta .inner {background-color: #fff;padding: 1em;height: 100%;overflow: hidden;}
#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;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: bold;background-color: #ddd;}
#main .palsta .slogan {display: none;}

#main .palsta .price {font-size: 2em;font-weight: bold;background-color: #273d89;padding: 0.2em;;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;
	padding:0.5em;
	color: #fff;
	background: #273d89;
	border-bottom: solid 3px #79081c;
}

#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;}

.rahoitus h2 {font-size:1.2em;font-weight:bold;padding:0.5em;margin-top:0;color: #fff;background: #273d89;}

.rahoitus img {
	margin-bottom: 5px;
}

.rahoitus .nimi {
	margin-bottom: 16px;
}

.notice {clear:both;padding:1em;font-weight: bold;}
.notice.success {background-color: lightgreen;}
.notice.error {background-color: lightcoral;}


div.auto {
	position: relative;
	margin: 5px;
	float: left;
	color: #000;
	background:rgba(255,255,255,1.0);
	line-height: 1.33em;
	cursor: pointer;
	padding:0px;
	height:360px;
	width:275px;
	overflow: hidden; 
	box-sizing: border-box;
	font-size: 13px;
	text-align: center;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
}

div.auto:hover {
	border: none;
	-webkit-box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
}

.auto-inner div {
	padding: 5px 10px 5px 10px;
}

.make-model {
	font-size: 16px;
}

.auto ul {
	list-style: none;
	list-style-type: none;
}

.vehicle-image-container {
	width: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
}

.auto img.vehicle-image {
	margin-bottom:0.5em;
	transition: border-color 0.5s;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	width: 100%;
}

.car-price {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	background: #273d89;
	color: #FFF;
	font-size: 16px;
}

.auto div {clear: both;}
.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-weight: 300;font-style: italic; color: #666; font-size: 11px;}
.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;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: #273d89;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: #273d89;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: 2em 0 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: #273d89;
    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;
	font-style: italic;
	background-color: #273d89;
	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;
}

.image-box {
    display: block;
}


.thumbnail {
	margin: 15px 0 0 15px;
	padding:0;
	background-color: transparent;
	width: 140px;
	height: 93px;
	float: left;
	border-radius: 4px;
	border: 1px solid #273d89;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}
.thumbnail:hover {
	border-color: #273d89;
}
.thumbnail img {
	position: absolute;
	width: 100%;
}
img#main-image {
	margin: 10px 0 0 0;
	width: 792px;
	float: left;
	border: 1px solid #273d89;
	cursor: pointer;
	border-radius: 4px;
}


.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 solid #FFF;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: #273d89;margin: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 {
	color: #333;
}
.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;
	background: none;
	min-height: 340px;
}
.company_details table {width:auto;}
.company_details td {}
.company_details th {padding-right: 5px;}
#google-map {
	border: none;
	max-width: 705px;
	height: 340px;
}


.person {
    width: 380px;
    float: left;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
    background: #fff;
    color: #333;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
    box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
    font-size: 15px;
}
.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: #273d89;
	padding: 0;
	margin: 0;
	display: inline;
	white-space:nowrap;
	border-radius: 15px;
}

a.phone-number img, a.email img {display: none;}

#map-button {
	float: left;
	width: 100%;
	padding:1em;
	font-size:1.5em;
	font-weight:bold;
	background-color: #273d89;
	margin: 1em 0;
	text-align: center;
	display: none;
	color:#000;
	border-radius: 45px;
}



.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;
	padding: 1em;
}

/** 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;}
 .ui-widget .ui-widget-header {padding:5px;}
 .ui-widget .ui-widget-content {overflow: hidden; border-top:none !important;padding:1em; background: #c1f0ff;}
 .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;} */
 
.ui-widget .ui-widget-header {
	border: none;
}

.ui-widget-content {
	border: none !important;
}


/** 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: #273d89; color: #FFFFFF;}

#resp-frontpage {display:none;}
.responsive {display: none;}


/* Social */

.wall-outer {
}

.wall-outer img {
	width: 100%;
}

#social-stream-119 {
	font-size: 13px;
	font-size: 1.3rem;
}

#social-stream-119 ul {
	list-style: none;
	padding: 0px;
	margin-left: auto;
	margin-right: auto;
}

#social-stream-119 li {
	padding: 10px 15px;
	background: #FFF;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
}


li.dcsns-li.dcsns-facebook.dcsns-feed-0 {
/*	border: 1px solid #3b5998; */
	border: none;
}

li.dcsns-li.dcsns-twitter.dcsns-feed-0 {
	border: 1px solid #4099FF;
}

li.dcsns-li.dcsns-youtube.dcsns-feed-0 {
/*	border: 1px solid #cd201f; */
	border: 1px solid #FDC301;
}

li.dcsns-li.dcsns-instagram.dcsns-feed-0 {
/*	border: 1px solid #cd201f; */
	border: 1px solid #FDC301;
}

li.dcsns-li.dcsns-rss.dcsns-feed-0 {
	border: 1px solid #FF9C02;
}

#social-stream-119 .section-intro {
	background-color: #FFF !important;
	color: #757575;
	display: block;
	margin-top: 6px;
}

#social-stream-119 .section-intro a {
	font-weight: 400;
}

#social-stream-119 .section-title {
	font-weight: 400;
	display: block;
}

#social-stream-119 .section-text {
	
}

#social-stream-119 .icon {
	display: none;
}

/** media queryt responsiivisuutta varten **/
@media screen and (max-width: 960px) {
	/* yleiset */
	#header-main, #main, #footer-content, #control-bar, .floating, .content-container {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, #273d89 0%,#b45a00 50%, #c16100 51%,#273d89 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 */
	.fp-vehicles {padding: 0 10px;}
	.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;background-color:#273d89;color: #000;}
	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;}

	/* 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 (max-width: 800px) {

}

@media screen and (min-width: 768px) {
	.navbar .navbar-nav {float: none; display: inline-block;}
	.navbar-collapse.collapse {height: 52px !important;}
}

@media screen and (max-width: 767px) {
	.navbar-toggle {display: inherit;}
	.some-icons {display: none;}
}

@media screen and (max-width: 650px) {
	
	h1 {font-size: 28px;}
	/* valikko ja yläpalkki */
	#header-main .menu ul {background: #273d89;}
	#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 .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 

	/* 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;}
}
@media screen and (max-width: 580px) {
	
	body, td {font-size: 14px;}
	
	/* etusivu ja ajoneuvolistaus */
	div.auto, .news {width:100%;margin: 1em 0;height: auto;float:left;}
	.new {overflow:hidden; margin: 2em 0;}
	
	div.auto {height: 520px;}
	.auto img.vehicle-image {width: 100%; max-height: inherit;}
	

	/* 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%;}
	
	h1, h2, h3, h4, h5, h6 {line-height: 1.2;}
	h2 {font-size: 24px;}
	.fp-slider-container {height: 300px;}
	.fp-slider-content {top: 0%;}
	h2.fp-slider-title {font-size: 24px; line-height: 1.2;}
	p.fp-slider-caption {font-size: 16px; line-height: 1.2;}
	.btn-fp-slider {font-size: 16px;}
}


@media screen and (max-width: 460px) {
	h1 {font-size: 24px;}
	.results {bottom:62px;left:0;padding-bottom:0;width: 100%;}
	div.auto {height: 420px;}
}

@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;}
}
