body {
    font-family: 'Open Sans', sans-serif;
}

a, a:visited {
    color: #e2001a;    
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
}

#breadcrumb, input, #footer {
    font-family: 'Slabo 13px', serif;    
}

#content ul, #content-dark ul {
    margin-left: 10px;
}

table td {
    padding: 4px 8px;
}

#header {
    margin: 0 auto;
    padding: 20px 0;
    width: 1260px;
}

#printable #header {
    display: none;
}

#subheader {
    margin: 0 auto;
    max-width: 1920px;
    min-height: 120px;
    background: url('/wp-content/themes/jyvascaravan/img/header-ribbon-bg.png') left bottom repeat-x #e0dede;
}

#subheader img {
    display: block;
    margin: 0 auto;
}

#printable #subheader {
    display: none;
}

#responsive-menu li a {
	font-weight: bold;
	font-size: 0.9rem !important;
}

ul.responsive-menu-submenu li a {
	font-weight: normal !important;
}

#subpages {
    display: table;
    width: 100%;
    padding-left: 0;
    margin: 0 !important;
}

#subpages li {
    display: table-cell;
    background: #eee;
    border-right: 1px solid #fff;
}

#subpages li a {
    display: block;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.site-branding {
    float: left;
    width: 393px;
}

#site-navigation {
    float: left;
    width: 790px;
    clear: none;
}

#site-navigation {
    padding: 10px 0 10px 36px;
    text-align: center;
}

#site-navigation ul li {
    margin-right: 16px;
}

#site-navigation ul li a {
    color: #000;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
}

#site-navigation ul li.page_item a {
    border-bottom: 3px solid #fff;
}

#site-navigation ul li.current_page_item a {
    border-bottom: 3px solid #e2001a;
}

#site-navigation ul li.current_page_item a {
    color: #e2001a;
}

#site-navigation ul.children {
    background: #fff;
    top: 36px;
}

#site-navigation ul.children li {
    padding: 5px 10px;
}

#site-navigation ul.children li a {
    font-size: 1.2rem;
    color: #000;
    border-bottom: none;
    text-align: left;
}

#Xsite-navigation .page-item-5 {
    display: none;
}

#Xsite-navigation .page-item-4464 {
    display: none;
}

#Xsite-navigation .page-item-27 {
    display: none;
}

#Xsite-navigation .page-item-4462 {
    display: none;
}

#site-navigation .page-item-4470 {
    display: none;
}

#Xsite-navigation .page-item-12459 {
    display: none;
}

#Xsite-navigation .page-item-12461 {
    display: none;
}

#site-navigation .page-item-37 {
    display: none;
}

#primary-menu {
    margin: 0 auto;
    display: inline-block;
}

#primary-menu ul.children ul.children {
	display: none;
}

.mobile-only {
    display: none;
}

.mobile-only #header-contact-info {
    margin-top: 6px;
}

#header-contact-info-container {
    text-align: center;
    margin-top: 4px;
}

#header-contact-info {
    display: inline-block;
    margin: 0 auto;
    background: #eee;
    padding: 4px 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#header-switch {
    white-space: nowrap;
}

#breadcrumb-container {
    background: #545353;
    width: 1920px;
    margin: 0 auto;
}

#breadcrumb {
    margin: 0 auto;
    width: 1260px;
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

#printable #breadcrumb {
    display: none;
}

#breadcrumb a {
    color: #fff;
    text-decoration: none;
}

#themeimage-container .bx-wrapper {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    margin-bottom: 0;
}

#themeimage-container .bx-prev {
    background: url('/wp-content/themes/jyvascaravan/img/themeimage-arrow-left.png');
    width: 45px;
    height: 45px;
    margin-top: -22px;
    left: 44px;
}

#themeimage-container .bx-next {
    background: url('/wp-content/themes/jyvascaravan/img/themeimage-arrow-right.png');
    width: 45px;
    height: 45px;    
    margin-top: -22px;
    right: 44px;
}

#themeimage-container {
    width: 1920px;
    margin: 0 auto;
}

#themeimage {
    margin: 0 auto;
}

#themeimage li img {
    margin: 0 auto;
}

#Xthemeimage div {
    height: 500px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

#ribbon-container {
    z-index: 100;
    position: relative;
    width: 100%;
}

#ribbon {
    margin: 0 auto;
    width: 1260px;
}

#printable #ribbon {
    display: none;
}

#ribbon ul {
    margin: 0 auto;
    width: 1080px;
    list-style: none;
    padding-left: 0;
}

#ribbon ul li {
    width: 270px;
    height: 49px;
    float: left;
    padding: 0 0 0 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;    
    border-bottom: 1px solid #000;
}

#ribbon ul li a {
    Xfont-family: 'Slabo 13px', serif;
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
}

#ribbon ul li a.small {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 8px 0 8px 70px;
}

#ribbon-opening-hours {
    background: url('/wp-content/themes/jyvascaravan/img/header-phone.png') left top no-repeat #e2001a;
}

#ribbon-opening-hours .row1 {
    padding-top: 5px;
    padding-left: 70px;    
    Xfont-family: 'Slabo 13px', serif;
    font-weight: bold;
    color: #fff;
    font-size: 0.8rem;
    display: block;
}

#ribbon-opening-hours .row2 {
    Xfont-family: 'Slabo 13px', serif;
    padding-left: 70px;    
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
    display: block;
    line-height: 1.2rem;
}

#ribbon-opening-hours a {
    font-size: 1rem !important;
}

.ribbon-default {
    background: url('/wp-content/themes/jyvascaravan/img/header-phone.png') left top no-repeat #e2001a;
}

.ribbon-default .row1 {
    padding-top: 4px;
    padding-left: 70px;    
    Xfont-family: 'Slabo 13px', serif;
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
    display: block;
}

.ribbon-default .row2 {
    Xfont-family: 'Slabo 13px', serif;
    padding-left: 70px;    
    Xfont-weight: bold;
    color: #fff;
    font-size: 0.9rem;
    display: block;
    line-height: 1.2rem;
}

.ribbon-default a {
    font-size: 1rem !important;
}

#ribbon-contact {
    background: url('/wp-content/themes/jyvascaravan/img/header-contact.png') left top no-repeat #e2001a;
}

#ribbon-online-store {
    background: url('/wp-content/themes/jyvascaravan/img/header-cart.png') left top no-repeat #e2001a;
}

#ribbon-search {
    background: url('/wp-content/themes/jyvascaravan/img/header-search.png') left top no-repeat #e2001a;
}

#content, #content-dark, #content-bottom {
    margin: 0 auto;
    width: 1260px;
    font-family: 'Slabo 13px', serif;
    font-size: 1.1rem;
    line-height: 1.9rem;
    color: #545353;
}

#printable #content, #printable #content-bottom {
    display: none;
}

.printable-ajoneuvot #content-dark {
    width: auto;
    max-width: 1140px;
}

#content-dark-container {
    background: #dfdede;
    max-width: 1920px;
    margin: 0 auto;
}

#printable #content-dark-container {
    background: none;
}

#printable-link {
    float: right;
}

#content-dark {
    padding-top: 1px;
}

#personnel h3 {
    margin-top: 60px !important;
    margin-bottom: 30px;
}

#personnel .person {
    margin-bottom: 30px;
    padding-left: 110px;
    min-height: 128px;
}

#personnel .person .name {
    font-weight: bold;
}

#personnel .person p {
    margin: 0;
}

#personnel-mini {
    background: #fff;    
    padding: 30px;
}

#personnel-mini .person {
    margin-top: 8px;
    margin-bottom: 20px;
    padding-left: 90px;
    min-height: 136px;
    font-size: 0.9rem;
    line-height: 1.8rem;
    border-bottom: 1px dotted #bbb;
}

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

    #personnel-mini .person {
        font-size: 0.8rem;
    }
}

#personnel-mini .person .name {
    font-weight: bold;
}

#personnel-mini .person p {
    margin: 0;
}

h1 {
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 2.6rem;
    line-height: 3.4rem;
    color: #190105;
}

body.page h1 {
    margin-top: 6px;
}

#home-highlights {
    text-align: center;
    margin: 0 auto;
}

#home-highlights .highlight-container {
    display: block;
    float: left;
    width: 307px;
    margin-bottom: 8px;
}

#home-highlights .highlight-container-printable {
    width: 262px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 3px;
}

body.page-id-23 #home-highlights .highlight-container {
    margin-bottom: 0;
}

#home-highlights a {
    display: block;
    width: 307px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

#home-highlights .highlight-container-printable a {
    width: 262px !important;
}

body.page-id-23 #home-highlights .highlight-container {
    width: 315px;    
}

body.page-id-23 #home-highlights a {
    width: 315px;
}

#home-highlights .title {
    display: block;
    background: #e2001a;
    padding: 8px;
    font-weight: bold;
}

#printable #home-highlights .title span {
    font-size: 0.9rem;
    line-height: 1.2rem;
}

#home-highlights .details-container {
    display: block;
    background: #190105;
    padding: 8px 0 0 0;
    font-size: 0.8rem;
}

#printable #home-highlights .details-container {
    font-size: 0.7rem;    
    padding: 4px 0 0 0;
}

#home-highlights .details {
    background: #fff;
    color: #000;
    padding: 4px 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

body.page-id-48953 #home-highlights .title,
body.page-id-5 #home-highlights .title,
body.page-id-4462 #home-highlights .title,
body.page-id-4464 #home-highlights .title,
body.page-id-27 #home-highlights .title,
body.page-id-12459 #home-highlights .title,
body.page-id-12461 #home-highlights .title {
    height: 66px;    
}

#printable #home-highlights .title {
    height: 50px !important;
}

body.page-id-48953 #home-highlights .title span,
body.page-id-5 #home-highlights .title span,
body.page-id-4462 #home-highlights .title span,
body.page-id-4464 #home-highlights .title span,
body.page-id-27 #home-highlights .title span,
body.page-id-12459 #home-highlights .title span,
body.page-id-12461 #home-highlights .title span {
    line-height: 1.6rem;
    display: block;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#home-highlights .image {
    display: block;
    height: 195px;
}

#printable #home-highlights .image {
    height: 166px;
}

body.page-id-23 #home-highlights .image {
    height: 201px;
}

#home-highlights img {
    display: block;
    position: relative;
    margin: 0 auto;
}

#home-highlights .left {
    display: block;
    width: 50%;
    float: left;
    text-align: center;
    background: #190105;
    padding: 8px;
    font-weight: 600;
}

#printable #home-highlights .left {
    padding: 3px;
}

#home-highlights .right {
    display: block;
    width: 50%;
    float: left;
    text-align: right;
    background: #190105;
    padding: 8px;
    font-weight: 600;
}

#printable #home-highlights .right {
    padding: 3px;
}

#home-highlights .full {
    display: block;
    text-align: center;
    background: #190105;
    padding: 8px;
    font-weight: 600;
}

#home-highlights .full-right {
    display: block;
    text-align: right;
    background: #190105;
    padding: 8px;
    font-weight: 600;
}

#home-highlights a:nth-child(even) .title {
    background: #190105;
}

#home-highlights a:nth-child(even) .left,
#home-highlights a:nth-child(even) .right,
#home-highlights a:nth-child(even) .full,
#home-highlights a:nth-child(even) .full-right {
    background: #e2001a;
}

#affiliates {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
    display: table;
    width: 100%;
    margin-left: 0 !important;
}

#printable #affiliates {
    display: none;
}

#affiliates li {
    background: #fff;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

body.page-id-23 #affiliates li {
    border-right: 1px solid #e0dede;
}

#affiliates li .item-container {
    display: block;
    height: 110px;
}

#affiliates li a {
    height: 110px;
    line-height: 110px;
}

#affiliates li a img {
    vertical-align: middle;
}

.affiliates-wide li a img {
    width: 100%;
}

#home-modules {
    margin-top: 20px;
}

#home-modules ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: table;
    width: 100%;
}

#home-modules ul li {
    display: table-cell;
    margin: 0;
    padding: 0;
    width: 33.333%;
    border-right: 20px solid #e0dede;
}

#home-modules ul li:nth-child(3) {
    border-right: none;
}

#home-modules .home-module-container {
    padding: 20px;
    margin-right: 20px;
    background: #fff;
}

#home-modules .home-module {
    border: 1px solid #d9d8d8;
    padding: 0 20px;
    min-height: 286px;
}

#home-module-product-search-container {
    background: #e1001a !important;
}

#home-module-product-search {
    border: 1px solid #deffff !important;
}

#home-module-newsletter-container {
    background: #535252 !important;
}

#home-module-newsletter {
    border: 1px solid #757474 !important;
    background: #fff;
}

#home-modules .home-module h3 {
    text-transform: uppercase;
}

#home-module-product-search h3 {
    color: #fff;
}

#home-module-product-search select, #home-module-product-search input, #home-module-product-search input[type="submit"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 3px;
    margin-right: 3px;
    height: 36px;    
}

#home-module-product-search input[type="submit"] {
    background: #fff;
    padding: 10px;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: left;
}

#home-module-newsletter ul li {
    border-right: none;
    padding-right: 16px;
}

#home-module-newsletter h3 {
    color: #e1001a;
}

#home-module-newsletter .newsletter-email-title {
    background: url('/wp-content/themes/jyvascaravan/img/newsletter-icon.png') 4px 4px no-repeat #dfdede;
    height: 40px;    
}

#home-module-newsletter .newsletter-email {
    margin-top: 6px;
    background: #dfdede;
    width: 100%;
    border: none;
    margin-bottom: 6px;
    padding: 7px;
    display: block;
}

#home-module-newsletter .newsletter-submit {
    width: 100%;
    background: #e1001a;
    color: #fff;
    text-align: left;
    text-shadow: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
    padding: 12px;
}

#home-module-news h3 a {
    color: #545353;
    text-decoration: none;
}

#home-module-news .row {
    margin-bottom: 10px;
}

#home-module-news .date {
    background: #e1001a;
    width: 20%;
    float: left;
    text-align: center;
    color: #fff;
    font-weight: bold;
    padding: 6px;
}

#home-module-news .date .day {
    font-size: 2rem;
}

#home-module-news .title {
    width: 80%;
    float: left;
    padding-left: 10px;
    font-size: 1rem;
    line-height: 1.8rem;
}

#home-module-news .title a {
    color: #555454;
    text-decoration: none;
}

#home-module-news .title .read-more {
    font-size: 0.8rem;
    font-style: italic;
    white-space: nowrap;
}

#loan-calculator-container {
    margin-top: 20px;
}

#loan-calculator {
    width: 1260px;
    margin: 0 auto;
    padding-bottom: 40px;
}

#printable #loan-calculator {
    width: 100%;    
}

#loan-calculator-left {
    width: 30%;
    float: left;
    background: #e2001a;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    padding: 50px 0;
    font-size: 1.3rem;
}

#loan-calculator-main {
    width: 36%;
    float: left;
    padding-left: 50px;
    background: url('/wp-content/themes/jyvascaravan/img/loan-calculator-main-bg.png') left top no-repeat;
}

#loan-calculator-right {
    width: 34%;
    float: left;
    padding-top: 34px;
}

#loan-calculator-main input, #loan-calculator-main select {
    padding: 5px;
    margin-bottom: 3px;
    margin-right: 3px;
    height: 36px;
    display: block;
    background: #e0dede;
    border: 1px solid #e0dede;
}

#loan-calculator-main select {
    width: 360px;    
}

#loan-calculator-main input {
    width: 360px;
}

#loan-calculator-monthly-fee-container {
    float: left;
    width: 50%;
}

#loan-calculator-monthly-fee {
    font-weight: bold;
}

#contacts-container {
    margin-top: 30px;
}

#printable #contacts-container {
    display: none;
}

#contacts {
    width: 1260px;
    margin: 0 auto;
    font-family: 'Slabo 13px', serif;    
}

#printable #contacts {
    width: 100%;
}

#contacts h3 {
    text-transform: uppercase;
}

#contacts ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

#contacts ul li {
    width: 25%;
    float: left;
    margin-bottom: 20px;
}

#contacts ul li span {
    display: block;
}

#contacts {
    font-size: 1.3rem;
}

#contacts-email-row1 {
    font-weight: bold;
    font-size: 1rem;
}

#contacts-email-row2 {
    font-size: 1rem;
}

#contacts .contact-name {
    font-weight: bold;
}

#vehicle-details-contact-info {
    font-style: oblique;
}

#vehicle-details-to-contact {
    font-weight: bold;
}

#printable #vehicle-details-to-contact {
    display: none;
}

#footer-container {
    max-width: 1920px;
    margin: 0 auto;
    background: url('/wp-content/themes/jyvascaravan/img/footer-bg.png') center top no-repeat #dfdede;    
}

#footer-container-white-bg {
    max-width: 1920px;
    margin: 0 auto;
    background: url('/wp-content/themes/jyvascaravan/img/footer-bg.png') center top no-repeat #fff;    
}

#footer {
    margin: 0 auto;
    width: 1260px;
    color: #fff;
    font-size: 1.1rem;
}

#printable #footer {
    display: none;
}

#footer h3 {
    text-transform: uppercase;
}

#footer p {
    margin-top: 4px;
    margin-bottom: 0;
}

#footer-left {
    width: 50%;
    float: left;
    padding: 120px 20px 20px 30px;
    background: url('/wp-content/themes/jyvascaravan/img/footer-contact-icon.png') left 140px no-repeat;
}

#footer-right {
    width: 50%;
    float: left;
    padding: 120px 20px 20px 74px;
    background: url('/wp-content/themes/jyvascaravan/img/footer-service-icon.png') 38px 140px no-repeat;
}

#footer-right ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

#footer-right ul li {
    width: 50%;
    float: left;
    margin-bottom: 20px;
}

hr.clear {
    background: none;
    border: 0;
    clear: both;
    display: block;
    float: none;
    font-size: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

#search-results-count {
    background: #fff;
    padding: 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
}

#printable #search-results-count {
    display: none;
}

#vehicle-images-container {
    margin: 0 auto;
    background: #fff;
    min-height: 108px;
    padding: 4px 0;
    text-align: center;
}

#vehicle-images {
    padding: 0;
    list-style: none;
    display: inline-block;
}

#vehicle-images li {
    float: left;
    margin-right: 3px;
    margin-top: 0;
}

#vehicle-images-first {
    text-align: center;
}

#vehicle-search {
    background: #fff;
    padding: 4px 20px 20px 20px;
    margin-bottom: 20px;
    display: none;
}

#vehicle-search-q {
    background: #e2001a;
    padding: 20px 20px 10px 20px;
}

#printable #vehicle-search-q {
    display: none;
}

#vehicle-search-q h3 {
    text-transform: uppercase;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
}

#vehicle-search-q a {
    color: #fff;
}

#q-search {
    margin-bottom: 12px;
}


#vehicle-search .field-container {
    margin-top: 8px;
    width: 280px;
    float: left;
}

#vehicle-search .field-title {
    font-family: 'Open Sans', sans-serif;
    color: #545353;
    display: block;
    font-weight: bold;
    font-size: 1rem;
}

#vehicle-search input, #vehicle-search select, #vehicle-search-q input, #vehicle-search-q select {
    padding: 5px;
    margin-bottom: 3px;
    margin-right: 3px;
    height: 36px;
}

#q {
    width: 400px;
}

#vehicle-search input[type="submit"], #vehicle-search-q input[type="submit"] {
    width: 100px;
    background: #fff;
    padding: 10px;
    text-transform: uppercase;
    font-size: 1rem;
}

#vehicle-details-container {
    font-family: 'Open Sans', sans-serif;
    background: #fff !important;
} 

#vehicle-details-left {
    width: 30%;
    float: left;
}

#printable #vehicle-details-left {
    width: 100%;
    float: none;    
}

#vehicle-details-left-vehicleinfo {
    background: #e2001a;
    padding: 30px;
}

#printable #vehicle-details-left-vehicleinfo {
    padding: 10px;
}

#vehicle-details-left .vehicle-detail-value {
    font-weight: bold;
}

#vehicle-details-left .vehicle-detail-value p {
    margin-top: 2px;
    margin-bottom: 4px;
}

#vehicle-details-right {
    width: 70%;
    float: left;
    padding: 30px 50px 50px 50px;
    background: url('/wp-content/themes/jyvascaravan/img/vehicle-details-right-bg.png') left top no-repeat;
}

#printable #vehicle-details-right {
    background: none;
    padding: 10px;
}

.printable-ajoneuvot #vehicle-details-right {
    width: auto;
    max-width: 1140px;
}

#printable #vehicle-details-right p {
    margin: 0;
    font-size: 15px;
    line-height: 24px;
}

#vehicle-details-price {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
}

#vehicle-details-left .vehicle-detail {
    background: #fff;
    color: #545353;
    padding: 2px 6px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

#printable #vehicle-details-left .vehicle-detail {
    float: left;
    margin: 0 3px 4px 0;
    line-height: 22px;
}

.load-pdf {
    background: url('/wp-content/themes/jyvascaravan/img/pdf.png') 10px center no-repeat #ededed;
    padding: 5px 10px 5px 40px;
    border: 1px solid #f30000;
    display: inline-block;
    margin-top: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
}

.admin-button {
    background: #ededed;
    margin-left: 10px;
    padding: 5px 10px 5px 10px;
    border: 1px solid #f30000;
    display: inline-block;
    margin-top: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
}

#back {
    display: block;
    margin-top: 14px;
    font-size: 1rem;
}

#news-list {
    margin-bottom: 30px;
}

#news-list .row {
    margin-bottom: 5px;
}

.galleria {
	height: 440px;
}

.galleria-theme-classic {
	background: none !important;	
}

.Xgalleria-thumbnails-container {
	background: #fff;
}

.galleria-stage { 
	bottom: 80px !important;
}
.galleria-thumbnails-container { 
	height: 70px !important;
}

.galleria-thumbnails .galleria-image { 
	height: 60px !important;
}

.fb-page {
    top: -74px;
    left: -20px;
    position: absolute;
    width: 360px;
    height: 500px;    
}

#printable #contact-form-container {
    display: none;
}

.img-with-descr-left {
	width: 28%;
	float: left;
	padding-right: 20px;
}

.img-with-descr-right {
	width: 72%;
	float: left;
}

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

	.img-with-descr-left {
		width: 100%;
		float: none;
		padding-right: 0;
	}
	
	.img-with-descr-right {
		width: 100%;
		float: none;
	}

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

    .fb-page {
        width: 300px;
    }

}

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

    #home-module-product-search {
        height: 286px !important;
    }
    
    #home-module-newsletter {
        height: 286px !important;         
    }
}

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

    .fb-page {
        width: 280px;
    }
}


@media screen and (max-width: 1920px) {
    
    #themeimage-container, #breadcrumb-container {
        width: 100%;
    }
}

@media screen and (max-width: 1260px) {
        
    #ribbon-container {
        position: relative;
    }

    #ribbon, #content, #content-dark, #content-bottom, #breadcrumb, #loan-calculator, #contacts {
        width: 100%;
    }
    
    #ribbon ul {
        width: 100%;
    }
    
    #ribbon ul li {
        width: 25%;
        float: left;
        padding: 0 5px 4px 10px;
        border-right: 1px solid #fff;
        border-top: 1px solid #fff;
        border-bottom: none;
        display: block;
    }

    #ribbon .ribbon-default .row1 {
		padding-left: 56px;
	}

    #ribbon .ribbon-default .row2 {
		padding-left: 56px;
	}

    #ribbon .small {
		padding-left: 56px !important;
	}
	
	.mobile-hide {
    	display: none;
	}

	#subheader {
		min-height: 20px;
	}
		
    #contacts {
        padding: 20px;
    }
        
    #contacts ul li {
        width: 50%;
        float: left;
        margin-bottom: 20px;
    }    

    #loan-calculator-left {
        width: 30%;
        float: left;
    }

    #loan-calculator-main {
        width: 70%;
        float: left;
    }
        
    #loan-calculator-right {
        width: 100%;
        float: none;
        padding: 28 px;
        clear: both;
    }

    #header {
        padding-left: 20px;
        padding-right: 20px;
    }

    #breadcrumb {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #content {
        padding-left: 20px;
        padding-right: 20px;
    }

    #content-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer-content {
        padding-left: 20px;
        padding-right: 20px;
    }

}

@media screen and (max-width: 1180px) {
    
    #header, #content, #footer, #footer-content {
        width: 100%;
    }

    #toimitilat {
        width: 100% !important;
    }

    #kohteet .kohde:nth-child(3) {
        margin-right: 42px;
    }    
    
    #kohdekortti-contact-form input {
        width: 100%;
    }

    #nf_submit_9 input {
        margin-left: 0;
    }
    
}

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

    #home-modules ul li {
        display: block;
        margin-bottom: 10px;
        width: 100%;
        border-right: none;
    }

    #footer-left {
        width: 100%;
        float: none;
        padding: 20px;
        background: #535252;
    }
    
    #footer-right {
        width: 100%;
        float: none;
        padding: 20px;
        background: #180105;
    }

    #footer-right ul li {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    
    
}

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

    #ribbon ul {
        width: 100%;
    }
    
    #ribbon ul li {
        width: 50%;
        float: left;
        padding: 0 5px 4px 10px;
        border-right: 1px solid #fff;
        border-top: 1px solid #fff;
        border-bottom: none;
        display: block;
    }

    .mobile-clear {
        clear: both;
    }

}

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

    #site-navigation {
        display: none;
    }
    
    #affiliates {
        display: block;
        width: 100%;
        background: #fff;
    }

    body.page-id-23 #affiliates li {
        border-right: none;
    }

    #affiliates li {
        display: inline-block;
        width: 24%;
    }
    
    #affiliates li .item-container {
        height: 110px;
    }

    .affiliates-wide li a img {
        width: inherit;    
        max-width: 100%;
    }

    .affiliates-mobile-clear {
        clear: both;
    }
    
    .mobile-only {
        display: block;
    }
    
    #subpages {
        display: block;
    }
    
    #subpages li {
        display: block;
        border-top: 1px solid #fff;
    }
    
    #subpages li a {
        text-align: center;
    }

}

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

    #vehicle-details-left {
        width: 100%;
        float: none;
    }
    
    #vehicle-details-right {
        width: 100%;
        float: none;
        background: none;
    }

    #personnel-mini .person {
        font-size: 0.9rem;
    }
    
    #contacts-email-row2 {
        font-size: 0.7rem;
    }
    
    #contact-form-container {
        padding: 0 20px;
    }
    
    #vehicle-details-right {
        padding: 20px;
    }

}

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

    .site-branding a img {
        width: 75% !important;
    }

    h1 {
        font-size: 2rem;
        line-height: 2.6rem;
    }

    #affiliates li {
        width: 32%;
    }

    #contacts ul li {
        width: 100%;
        float: none;
        margin-bottom: 16px;
    }    

    #loan-calculator-left {
        width: 100%;
        float: none;
    }

    #loan-calculator-main {
        width: 100%;
        float: none;
        padding: 20px;
        background: none;
    }

    #loan-calculator-right {
        padding: 20px;
    }
    
    #loan-calculator-main input, #loan-calculator-main select {
        width: 100%;
    }

    #ribbon .ribbon-default .row1 {
		padding-left: 0;
	}

    #ribbon .ribbon-default .row2 {
		padding-left: 0;
	}

    #ribbon .small {
		padding-left: 0 !important;
	}
    
}

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

    .site-branding {
        width: 100%;
    }
    
    h1 {
        font-size: 1.7rem;
    }

    .mobile-clear {
        clear: inherit;
    }

    #ribbon ul {
        width: 100%;
        background: #e2001a;
    }
    
    #ribbon ul li {
        width: 50%;
        float: left;
        padding: 0 5px 4px 10px;
        background: #e2001a;
        border-right: 1px solid #fff;
        border-top: 1px solid #fff;
        border-bottom: none;
        height: auto;
        display: block;
    }
        
    #ribbon ul li a {
        font-size: 1rem;
        padding: 4px 0 2px 0 !important;        
        clear: both;
        top: 0 !important;
        -webkit-transform: inherit !important;
        -ms-transform: inherit !important;
        transform: inherit !important;
        font-size: 0.9rem !important;
    }

    #ribbon ul li a.small {
        padding: 0;        
    }
    
    #ribbon-opening-hours .row1 {
        padding-left: 0;
    }

    #ribbon-opening-hours .row2 {
        padding-left: 0;
    }

    .ribbon-default .row1 {
        padding-left: 0;
        font-size: 0.9rem;
    }

    .ribbon-default .row2 {
        padding-left: 0;
    }
}

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

    #q {
        width: 60%;
    }

}

@media screen and (max-width: 430px) {
    
    .site-branding a img {
        width: 220px !important;
    }

    #q {
        width: 56%;
    }

    #printable-link {
        display: block;
        float: none;
    }

}

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

    #ribbon ul li.mobile-row-1 {
        min-height: 80px;
        line-height: 1.2rem;
    }

    #ribbon ul li.mobile-row-2 {
        min-height: 80px;
        line-height: 1.2rem;
    }

    #ribbon ul li.mobile-row-3 {
        min-height: 80px;
        line-height: 1.2rem;
    }

}

.arvostelut {
    margin-top: 1rem;
}