/* Nettix Pro Styles */

.tm30 {margin-top: 30px;}

#main-nettix {
	margin: 30px auto 0 auto;
}

.button {
    display: inline-block;
    color: #fff;
    background: #009fe3;
    padding: 10px 20px;
    border: none;
    border-radius: 0 !important;
    font-weight: 700;
    text-transform: uppercase;
}

#main-nettix-nettix .button:hover, #main-nettix-nettix .button:active, #main-nettix-nettix .button:focus {
	color: #fff;
	text-decoration: none;
	background-color: #000000;
}

.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: #242422;}

.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: 10px;
    float: left;
    color: #000;
    background: rgba(255,255,255,1.0);
    line-height: 1.33em;
    cursor: pointer;
    padding: 0px;
    height: 368px;
    width: 265px;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 13px;
    text-align: center;
    border: 1px solid #e3e3e3;
}

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;
	color: #000;
}

.make-model {
	font-size: 16px;
	color: #009fe3 !important;
}

.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: #FFF;
    color: #000 !important;
    font-size: 16px;
    font-weight: 700;
}

.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: #000;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: #000;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: 0 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;
}

#control-bar select {
	min-width: auto;
	display: inline;
}

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: #000;
    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: #009fe3;
	font-size: 14px;
	color: #FFF;
	width: 870px;
}
.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: 10px 0 0 10px;
    padding: 0;
    background-color: transparent;
    width: 124px;
    height: 74.3px;
    float: left;
    border-radius: 0;
    border: 1px solid #e3e3e3;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.thumbnail:hover {
	border-color: #000;
}
.thumbnail img {
	position: absolute;
	width: 100%;
}
img#main-image {
	margin: 10px 0 0 0;
	width: 870px;
	float: left;
	border: 1px solid #e3e3e3;
	cursor: pointer;
	border-radius: 0;
}


.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:32px;}
.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;}
.perustiedot .col .nice-select {height: 26px; line-height: 14px;}

.accessories ul {overflow:hidden; clear: both;list-style: none;margin:0;padding:0;}
.accessories li {float:left;padding:1px 5px;background-color: #009fe3;margin:3px;color: #FFF;font-size:13px;}
#module {
	width: 500px;
}
  
#module div.collapse[aria-expanded="false"] {
	display: block;
	height: 163px !important;
	overflow: hidden;
}
  
#module div.collapsing[aria-expanded="false"] {
	height: 163px !important;
}
  
#module a.collapsed:after  {
	content: '+ Näytä lisää';
}
  
#module a:not(.collapsed):after {
	content: '- Näytä vähemmän';
}

#finance_duration {margin-top:-5px;text-align: right;min-width: auto;display: inline;}

.perustiedot > .financing-primary > div > label, .perustiedot > .financing-primary > div > span {
    font-weight: bold;
}

.perustiedot .financing-primary div {
    height: 36px;
}

.perustiedot .financing-secondary div {
    color: #ababab;
    height: 23px;
    font-style: italic;
}

.monthly {
    font-size: 24px;
    margin-top: 15px;
    background: #f1f1f1;
    padding: .5em;
    height: auto !important;
}

/*.contact .contact-row {overflow: hidden;}*/
.contact label {float:left;padding-top: 10px;height: 55px;}
.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%;height: 42px;border: solid 1px #e3e3e3;min-width: auto;}
.contact .contact-row .nice-select {float: right; width: 50%; min-width: auto; margin-top: -55px;}


.peeps {
    display: inline-block;
}

.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;
    padding: 10px 15px;
    min-height: 340px;
    border: solid 1px #e8e8e8;
    border-radius: 5px;
}
.company_details_container {overflow: visible;}
.company_details_container h2 {margin-top:0;}
.company_details table {width:auto;}
.company_details td {}
.company_details th {padding-right: 5px;}
#google-map {
	border: none;
	max-width: 776px;
    height: 345px;
    border: solid 1px #e8e8e8;
    border-radius: 5px;
}

.person {
    width: 380px;
    float: left;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
    background: #fff;
    color: #333;
    border-radius: 5px;
    border: solid 1px #e8e8e8;
    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: #242422;
	padding: 0;
	margin: 0;
	display: inline;
	white-space:nowrap;
	border-radius: 5px;
}

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: #01a1d5;
	margin: 1em 0;
	text-align: center;
	display: none;
	color: #242422;
	border-radius: 5px;
}

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

/** 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:12px;}
 .ui-widget .ui-widget-content {overflow: hidden; border-top:none !important;padding:1em; background: #f1f1f1;min-height: 69px;}
 .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;}

 #down_payment {width: 80%;}

 /* input.required, select.required {border:1px solid #242422;background-color: #fed;} */

 /* imageLightBox */
#imagelightbox {
	box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
    position: fixed;
    z-index: 9999;
}
#imagelightbox-loading,
#imagelightbox-loading div {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
#imagelightbox-loading {
    width: 2.5em; /* 40 */
    height: 2.5em; /* 40 */
    background-color: #444;
    background-color: rgba( 0, 0, 0, .5 );
    position: fixed;
    z-index: 10003;
    top: 50%;
    left: 50%;
    padding: 0.625em; /* 10 */
    margin: -1.25em 0 0 -1.25em; /* 20 */

    -webkit-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
    -moz-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
    box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
}
#imagelightbox-loading div {
    width: 1.25em; /* 20 */
    height: 1.25em; /* 20 */
    background-color: #fff;

    -webkit-animation: imagelightbox-loading .5s ease infinite;
    -moz-animation: imagelightbox-loading .5s ease infinite;
    -o-animation: imagelightbox-loading .5s ease infinite;
    animation: imagelightbox-loading .5s ease infinite;
}
@-webkit-keyframes imagelightbox-loading {
    from { opacity: .5;	-webkit-transform: scale( .75 ); }
    50%	 { opacity: 1;	-webkit-transform: scale( 1 ); }
    to	 { opacity: .5;	-webkit-transform: scale( .75 ); }
}
@-moz-keyframes imagelightbox-loading {
    from { opacity: .5;	-moz-transform: scale( .75 ); }
    50%	 { opacity: 1;	-moz-transform: scale( 1 ); }
    to	 { opacity: .5;	-moz-transform: scale( .75 ); }
}
@-o-keyframes imagelightbox-loading {
    from { opacity: .5;	-o-transform: scale( .75 ); }
    50%	 { opacity: 1;	-o-transform: scale( 1 ); }
    to	 { opacity: .5;	-o-transform: scale( .75 ); }
}
@keyframes imagelightbox-loading {
    from { opacity: .5;	transform: scale( .75 ); }
    50%	 { opacity: 1;	transform: scale( 1 ); }
    to	 { opacity: .5;	transform: scale( .75 ); }
}
#imagelightbox-overlay {
    background-color: #fff;
    background-color: rgba( 255, 255, 255, .9 );
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
 
.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: #01a1d5; color: #FFFFFF;}

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

/** media queryt responsiivisuutta varten **/
@media screen and (max-width: 960px) {
	/* yleiset */
	#header-main, #main-nettix, #footer-content, #control-bar, .floating {width: 100%;}
	#control-bar {padding:0 14px;}

	/* etusivu ja ajoneuvolistaus */
	.news {float:left; width: 100%;height: auto;margin:1em 0;clear:both;}
	.news .news-items {height:auto;}
	#list_type {display: none;}
	#main-nettix .palsta.left {display: none;}
    #main-nettix .palsta.center, #main-nettix .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% !important;margin:1% !important;}
	.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:#01a1d5;color: #242422;}
	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: 767px) {
	.contact .contact-row .nice-select {float: none;  width: 100%; margin-top: auto;}
}

@media screen and (max-width: 650px) {

    /* 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) {
	
	/* etusivu ja ajoneuvolistaus */
	div.auto, .news {width:100%;margin: 1em 0;height: 380px;float:left;}
	.new {overflow:hidden; margin: 2em 0;}
	.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%; font-size: 11px;}
	.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%;}
}


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