
body {
    background: url("../images/site-pozadie.jpg") no-repeat;
    background-size: 100% auto;
    background-color: black;
    font-family: 'Fira Sans', sans-serif;
}
img {
    pointer-events: none;
}

.row {
    margin: 0;
}

/* -----------------------HEADER------------------------------ */

.site-logo {
    background: rgba(190, 0, 0, .85); /* #be0000 */
    padding: 10px;
    padding-right: 15px;
    text-align: right;
    width: calc(50% - 189px);
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: calc(50% - 480px);
}

.site-header {
    margin-bottom: 70px;
}

.site-navigation {
    margin-top: 20px;
    width: 55%;
    float: right;
    padding-right: 0;
}

.menu {
    background: rgba(33, 33, 33, .85);
    padding: 19px;
    margin-bottom: 0;
}

.menu li {
    text-decoration: none;
    display: inline-block;
    padding-left: 20px;
    font-size: 18px;
}

.menu li a {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-style: italic;
}

.menu li a.active {
    color: #be0000;
}

.menu li a:hover,
.menu li a:focus  {
    color: #be0000;
    text-decoration: none;
}

.menu li a.highlight {
    color: #be0000;
}

.menu li a.highlight.active,
.menu li a.highlight:hover,
.menu li a.highlight:focus {
    color: white;
}



/* -------------------FILTER------------------ */

.vyber-automobilov {
    color: #fff;
    font-weight: bold;
    font-style: italic;
    font-size: 26px;
    margin-bottom: 30px;

}

.cars-listing {
    margin: 0 auto;
    position: relative;
}

.filter {
    width: calc(50% - 190px);
    padding-left: calc(50% - 480px);
    background: rgba(13, 13, 13, .85);
    text-align: center;
    padding-right: 25px;
    margin-bottom: 40px;
    padding-bottom: 5px;
}

.filter.fixed {
    position: fixed;
    top: 0;
}

.filter.bottom {
    position: absolute;
    bottom: 0;
}

.filter-placeholder {
    display: none;
}

.filter.fixed + .filter-placeholder, .filter.bottom + .filter-placeholder {
    width: calc(50% - 190px);
    float: left;
    display: block;
}

.filter select, .surcharge-calculator-power, .surcharge-calculator-emission,
.filter-checkbox-label {
    width: 100%;
    display: block;
    float: right;
    color: #be0000;
    font-style: italic;
    padding: 12px 8px;
    margin-bottom: 9px;
    font-size: 16px;
    border: none;
    background: #fff url("../images/sipka-box-red.svg") no-repeat right;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    border: 1px solid #be0000;
}

input[name="all_wheel_drive"]{
    display: none;
}

.filter-checkbox-label {
    text-align: left;
    padding-left: 12px;
    background-image: url("../images/prazdna-box-red.svg");
    user-select: none;
}

.filter-checkbox-label.medium {
    display: none;
}

input[name="all_wheel_drive"]:checked ~ .filter-checkbox-label {
    background-image: url("../images/fajka-box-red.svg");
}

.surcharge-calculator-label {
    display: block;
    font-size: 16px;
    margin-top: 15px;
}

.surcharge-calculator-label:last-of-type {
    font-weight: lighter;
}

.surcharge-calculator-power,
.surcharge-calculator-emission {
    max-width: 400px;
    float: none;
    display: block;
}

.surcharge-calculator-result-value {
    font-weight: bold;
}

.surcharge-calculator-result-value:after {
    content: '€';
}

.filter > a {
    color: #fff;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
}

.filter > a:hover,
.rst-filter a:hover  {
    text-decoration: none;
    color: #be0000;
}

.filter button, .landing-show-attributes, .landing-form-attributes-submit,
.scroll-to-filter-button {
    width: 100%;
    padding: 13px 8px;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: bold;
    background: #be0000 url("../images/sipka-nobox-red-01.svg") no-repeat right;
    border: 1px solid #be0000;
}

.scroll-to-filter {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    padding: 15px;
    background-color: black;    
    z-index: 1;
}

@media screen and (min-width: 768px) {
    .scroll-to-filter {
        display: none !important;
    }
}

.scroll-to-filter-button {
    display: block;
    text-align: center;
}

.scroll-to-filter-button:hover {
    text-decoration: none;
}

.filter button:hover, 
.landing-show-attributes:hover, 
.landing-form-attributes-submit:hover,
.scroll-to-filter-button:hover {
    color: #be0000;
    background-color: white;
    background-image: url("../images/sipka-filter-01.svg");
    background-size: 25px;
    border-color: white;
    background-position: calc(100% - 13px);    
}

.landing-show-attributes.landing-show-attributes {
    margin-top: 0;
    text-align: left;
    padding-left: 13px
}

.filter-home [type="submit"] {
    margin-top: 0;
    text-align: left;
    padding-left: 13px;
    margin-bottom: 9px;
}


.filter select[name="km_from"],
.filter select[name="km_to"],
.filter select[name="price_from"],
.filter select[name="price_to"],
.cars-listing .filter select[name="piston_from"],
.cars-listing .filter select[name="piston_to"] {
    width: 48%;
}

.cars-listing .filter select[name="piston_from"],
.cars-listing .filter select[name="piston_to"] {
    font-size: 13px;
    line-height: 22px;
}

#km_from, #price_from,
.cars-listing .filter select[name="piston_from"]{
    margin-right: 4%;
}

.attribute-label, .landing-attribute-label {
    color: #fff;
    font-weight: normal;
    text-align: left;
    padding-left: 35px;
    float: left;
    clear: left;
    margin-bottom: 0;
    padding-top: 7px;
    padding-bottom: 6.5px;
}

.filter-checkbox, .landing-filter-checkbox {
    float: left;
}


.filter-checkbox, .landing-filter-checkbox {
    display: none;
}

.filter-checkbox + .attribute-label,
.landing-filter-checkbox + .landing-attribute-label {
    background-image: url("../images/check-box-2-01.svg");
    background-repeat: no-repeat;

}

.filter-checkbox:checked + .attribute-label,
.landing-filter-checkbox:checked + .landing-attribute-label
{
    background-image: url("../images/check-box-1-01.svg");

}

.landing-form-attributes-category-name, .form-attributes-category-name {
    float: left;
    width: 100%;
    color: white;
    padding: 7px 0 6.5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.landing-attribute-label {
    width: 33%;
    clear: none;
}
.landing-attribute-label:nth-of-type(3n+1){
    clear: left;
}

.landing-form-attributes {
    background-color: black;
    background-color: black;
    padding: 20px;
    width: 50vw;
    display: none;
    min-width: 800px;
}

.landing-form-attributes [type="submit"] {
    margin-top: 20px;
}

/* -------------------- Aditional atrinutes -------------- */

.additional-attributes {
    width: 64vw;
    max-width: 1300px;
    margin-bottom: 15px;
    width: 930px;
}

.additional-attributes label {
    width: 310px;
    float: left;
    clear: none;
}


.additional-attributes input {
    //display: none;
}

.show-attributes {
    display: block;
    margin-bottom: 9px;
}


/* --------------------------- FILTER HOME --------------------- */

.home-wrap {
    background: rgba(13, 13, 13, .85);
    margin-bottom: 250px;
}
.filter-home {
    background: none;
    width: 51.2%;
    padding-top: 20px;
    padding-bottom: 0;

}

.filter-home select, .filter-home .filter-checkbox-label {
    width: 48%;
    float: left;
}

.filter-home select[name="model_id"],
.filter-home select[name="bodytype_id"],
.filter-home select[name="year_from"],
.filter-home select[name="fuel"],
.filter-home select[name="piston"],
.filter-home select[name="color_id"],
.landing-show-attributes,
.filter-checkbox-label[for="all_wheel_drive"]
{
    margin-left: 10px;
}

.homepage-content-heading {
    background: none;
}

.filter-home button, .landing-show-attributes {
    width: 48%;
    float: left;
}

.random-car img, .random-car img {
    width: 100%;
    height: auto;
}

body.home .random-car {
    float: left;
    padding-top: 73px;
    max-width: 380px;
}

.random-car a {
    color: #be0000;
    display: none;
}
.random-car a:first-child {
    display: block;
}

.random-car-udaje {
    background: #fff;
}

.random-car-udaje-nazov {
    margin: 0;
    padding: 10px 10px;
    font-weight: bold;
    font-size: 19px;
    text-decoration: none;
    float: left;
    max-width: 205px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.cars-listing-item-price {
    float: left;
    font-size: 19px;
    padding: 4px;
    padding-right: 10px;
    color: #000;
}

.cars-listing-item-price .before-discount {
    color: #be0000;
    font-size: 19px;
    position: relative;
    top: -7px;
    font-size: 16px;
}
.cars-listing-item-price .before-discount::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    top: 44%;
    height: 9%;
    background-color: #be0000;
}

.cars-listing-item-price.has-discount span {
    position: relative;
}

.rst-filter  {
    float: left;
    padding: 14px;
    width: 48%;
    font-style: italic;
    margin-left: 10px;
}



.rst-filter a, .rst-filter-inz a {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.rst-filter-inz {
    font-style: italic;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* .filter-home select[name="km_to"] {

} */


/* ----------------------------PONUKA (HOME)------------------ */

.cars-listing-results-heading {
    background: rgba(190, 0, 0, .85); /* #be0000 */
    color: #fff;
    width: calc(50% + 170px);
    margin: 0;
    margin-left: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
    font-weight: bold;
    font-style: italic;
    font-size: 26px;
}

.cars-listing-results {
    width: calc(50% + 170px);
    padding-right: calc(50% - 460px);
    background: rgba(247, 247, 247, .85);
    margin-left: 20px;
    margin-bottom: 80px;
    padding-bottom: 20px;
}

.cars-listing-item {
    background: #fff;
    margin-top: 20px;
    height: auto;
    position: relative;
}

.cars-listing-item-link {
    padding-left: 145px;
    display: block;
}

.cars-listing-item img  {
    width: 142px;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: black;
    object-fit: contain;
    font-family: "object-fit: contain;";
}

.cars-listing-item h1,
.cars-listing-item p,
.cars-listing-item strong {
    padding-left: 30px;
}

.cars-listing-item h1 {
    font-size: 19px;
    color:  #be0000;
    text-decoration: none;
    font-weight: bold;
    margin: 0;
    padding-top: 20px;
    max-width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.cars-listing-item p {
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.page-kontakt-udaje-telefony,
.page-kontakt-udaje-email {
    float: left;
    width: 60%;
}
.page-kontakt-udaje-adresa,
.page-kontakt-udaje-otvaracie-hodiny{
    float: left;
    width: 40%;    
}

.cars-listing-item p,
.car-details-equipment p,
.page-kontakt-udaje-adresa,
.page-kontakt-udaje-jazyky,
.page-kontakt-udaje-email,
.page-kontakt-udaje-otvaracie-hodiny,
.page-background p,
.lead {
    font-weight: lighter;
    font-size: 16px;
    color: #000;
}

.cars-listing-item strong {
    font-size: 19px;
    color: #000;
}

.cars-listing-item:hover {
    background: #c32021 url("../images/sipka-form.svg") no-repeat right;
    background-size: auto 35px;
    background-position: calc(100% - 10px);
}

.cars-listing-item:hover h1,
.cars-listing-item:hover p,
.cars-listing-item:hover strong,
.cars-listing-item:hover .before-discount {
    color: #fff;
}

.cars-listing-item:hover .before-discount::after {
    background-color: white;
}

.cars-listing-item:hover a {
    text-decoration: none;
}

.car-details-gallery {
    clear: both;
}

.pagination>.active>span:hover {
    background: #be0000;
    border-color: #ddd;
}

.pagination>li>a,
.pagination>li>span,
.pagination>li:first-child>span {
    color: #be0000;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>.active>span:focus,
.pagination>.active>span {
    color: #fff;
    background-color: #be0000;
    border-color: #ddd;
}

/* --------------FOOTER------------ */

.site-footer {
    background: url("../images/patka-pozadie.jpg");
    background-size: cover;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 30px 0;
    font-size: 16px;
}

.site-footer section {
    padding: 0;
}

.site-footer-firma img {
    margin-top: 16px;
    margin-bottom: 7px;
    width: 100%;
    max-width: 250px;    
}

.mid-center {
    padding: 0 15px;
}

.site-footer h2 {
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
}

.footer-logo-link {
    display: block;
}

.site-footer-email-email,
.site-footer-telefon-cislo {
    font-weight: bold;
    font-style: italic;
}

.site-footer-telefon-cislo {
    display: block;
}

.site-footer-telefon-jazyky {
    padding-top: 15px;
}

.site-footer a {
    color: #fff;
}

.mid-center {
    max-width: 960px;
    margin: 0 auto;
}

.site-footer-signature {
    margin-top: 30px;
}

.site-footer-signature-animagraf em {
    font-weight: normal;
}

.site-footer-signature-dovoz-automobilov {
    font-style: italic;
}

.site-footer-signature-dovoz-automobilov span {
    font-style: normal;
    font-weight: normal;
}

/* ------------------------DETAIL INZERAT------------------- */

.car-details-main-image,
.car-details-contacts,
.car-details-basic-info {
    width: 50%;
    padding-left: calc(50% - 480px);
    float: left;
}

.car-details-title,
.car-details-equipment,
.car-details-price {
    width: 49%;
    padding-right: calc(50% - 600px);
    float: right;
}

.car-details-price {
    padding-right: calc(50% - 600px);
}

.car-details-main-image {
    height: auto;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-top: 15px;
    background: rgba(13, 13, 13, .85);
}

.car-details-main-image a {
    display: block;
}

.car-details-main-image img {
    width: 100%;
    height: auto;
}

.car-details-contacts a,
.page-kontakt-udaje-telefony a,
.page-kontakt-udaje-email a{
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    font-style: italic;
    padding-left: 20px;
}

.car-details-contacts a {
    padding-top: 10px;
    padding-bottom: 8px;
}

.page-kontakt-udaje-email a {
    font-size: 16px;
}

.car-details-contacts {
    background: rgba(190, 0, 0, .85); /* #be0000 */
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    position: relative;
    margin-top: 20px;
    margin-bottom: 0;
}

.car-details-contacts a:last-child {
    background: url(../images/obalka.svg) no-repeat;
    position: absolute;
    top: 0px;
    right: 50px;
    padding: 30px;
    font-size: 22px;
    background-position: 90px 6px;
    letter-spacing: 0.5px;
}

.car-details-basic-info {
    font-weight: lighter;
    font-size: 16px;
    color: #fff;
    background: rgba(13, 13, 13, .85);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.car-details-title,
.page-kontakt-nadpis,
.page-kontakt-formular-nadpis,
.page-info-heading,
#contact-us h2, #send-to-friend h2,
.main h1,
.homepage-content-heading  {
    font-size: 26px;
    font-style: italic;
    color: #fff;
    background: rgba(190, 0, 0, .85); /* #be0000 */
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 20px;
    margin: 0 0 20px 0;
}

.homepage-content-heading {
    background: none;
    padding-left: 10px;
    text-align: left;
    padding-bottom: 5px;
    margin-bottom: 10px;
    padding-top: 10px;
}

.car-details-equipment {
    background: rgba(247, 247, 247, .85);
    padding-left: 20px;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.car-details-equipment h3,
.page-info h2,
.page-kontakt-udaje-nadpis {
    font-size: 19px;
    font-weight: bold;
    font-style: italic;
    color: #be0000;
    margin-bottom: 0;
}

.car-details-price {
    background-color: rgba(13, 13, 13, .85);
    color: #fff;
    font-style: italic;
    font-weight: bold;
    font-size: 28px;
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    /*margin-bottom: 20px;*/
}

.car-details-price-values {
    float: left;
}

.car-details-price-before-discount{
    color: #ff1f1f;
    margin-bottom: -7px;
    position: relative;
    font-size: 24px;
    float: left;
    margin-bottom: 0;
}

.car-details-price-before-discount::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    top: 44%;
    height: 9%;
    background-color: #e80f00;
}

.car-details-price.has-discount .car-details-price-vat {
    margin-bottom: -7px;
}

.car-details-price-without-vat {
    font-size: 19px;
    display: block;
    clear: both;
}

.car-details-print, .car-details-send, .car-details-pdf-form, .car-details-share {
    float: left;
}

.car-details-print, .car-details-send, .car-details-pdf, .car-details-share {
    color: white;
    font-size: 19px;
    padding: 40px 11px 0;
    border: none;
    display: inline-block;
    float: left;
    background-color: transparent;    
    background-size: 27px;
    background-repeat: no-repeat;
    background-position: center 10px;    
}

.car-details-print:hover, 
.car-details-print:focus, 
.car-details-send:hover, 
.car-details-send:focus, 
.car-details-share:hover, 
.car-details-share:focus, 
.car-details-pdf:hover,
.car-details-pdf:focus {
    color: white;
    text-decoration: none;
}

.car-details-print {
    margin-left: 6px;
    background-image: url("../images/ikony_vytlacit.svg");
}

.car-details-send {
    background-image: url("../images/ikony_preposlat.svg");
    background-position-y: 13px;
}

.car-details-pdf {
    margin-right: -12px;
    background-image: url("../images/ikony_pdf.svg");
}

.car-details-share {
    background-image: url("../images/dovoz-automobilov_zdielat.svg");
}

.car-details-gallery img {
    height: auto;
    max-width: 160px;
}

.car-details-gallery {
    margin: 20px 0 30px 0;
    background: rgba(13, 13, 13, .85);
    padding: 20px calc(50% - 480px);
}

.car-detail-strong.car-detail-strong {
    font-weight: 400;
}

.ponuka-submit {
    margin-bottom: 9px;
}

/* ------------------POP-UP CONTACT--------------------- */


#contact-us, #send-to-friend {
    display: none;
    background: rgba(13, 13, 13, .85);
    max-width: 475px;
}

#contact-us h2, #send-to-friend h2 {
    text-align: center;
    padding-left: 0;
}

#contact-us form, #send-to-friend form {
    padding: 0 20px 20px 20px;
}

#contact-us p, #send-to-friend p {
    padding: 0 20px;
}

#contact-us label, #send-to-friend label {
    color: #fff;
    font-weight: lighter;
    font-size: 14px;
    width: 435px;
    margin-bottom: 10px;
}

#contact-us input, #send-to-friend input {
    width: 100%;
    display: block;
    height: 30px;
    color: #000;
    padding: 5px 10px;
}

#contact-us textarea, #send-to-friend textarea {
    width: 100%;
    display: block;
    height: 100px;
    color: #000;
    padding: 5px 10px;
}

#contact-us .g-recaptcha, #send-to-friend .g-recaptcha {
    margin-bottom: 20px;
    display: flex;
    justify-content: end;
}

/* ----------------------KONTAKT---------------------- */

.page-kontakt-formular,
.main.main-right {
    width: 50%;
    padding-left: calc(50% - 480px);
    float: left;
    background: rgba(13, 13, 13, .85);
    margin-bottom: 300px;
}

.page-kontakt-udaje,
.page-kontakt-nadpis,
.page-kontakt .random-car{
    width: 49%;
    padding-right: calc(49% - 480px);
    float: right;
    margin-left: 1%;
}

.page-kontakt .random-car {    
    margin-bottom: 20px;
}

.page-kontakt-udaje, .page-kontakt .random-car {
    background: rgba(247, 247, 247, .85);
    padding-top: 20px;
    padding-left: 20px;
    padding-bottom: 34px;
}

.page-kontakt-udaje-telefony a,
.page-kontakt-udaje-email a {
    color: #000;
    padding-left: 0;
    margin-bottom: 10px;
}

.page-kontakt-udaje-telefony h2,
.page-kontakt-udaje-email h2 {
    margin-bottom: 10px;
}

.page-kontakt-formular-nadpis {
    background: none;
    margin: 0 0 0 60px;
    padding-left: 0;
}

.page-kontakt-formular form  {
    margin-left: 60px;
    padding-right: 20px;
}

.page-kontakt-formular p,
#contact-us p, #send-to-friend p {
    font-size: 14px;
    color: #fff;
    font-weight: lighter;
}

.page-kontakt-formular form label {
    color: #fff;
    font-weight: lighter;
    font-size: 14px;
    margin-bottom: 10px;
    width: 400px;
}

.form-control {
    height: 35px;
    border-radius: 0;
    border: 0;
}

#message {
    height: 75px;
    margin-bottom: 20px;
}

.page-kontakt-formular button,
#contact-us button, #send-to-friend button, 
.btn.btn-info.cta {
    float: right;
    padding: 9px 36px;
    font-size: 19px;
    font-style: italic;
    background: #be0000;
    border: 0;
    border-radius: 0;
    position: relative;
    left: 20px;
    color: #fff;
}

#contact-us button, #send-to-friend button {
    position: static;
    margin-bottom: 20px;
}


.page-kontakt-formular button:hover,
.page-kontakt-formular button:active:focus,
#contact-us button:hover, #send-to-friend button:hover, 
.btn.btn-info.cta:hover {
    background: #fff;
    color: #be0000;
}

.main h1 {
    background: none;
    margin-bottom: 0;
}

.lead {
    color: #fff;
    padding-left: 20px;
}

.load-more {
    margin-bottom: 0;
    margin-top: 50px;
}

.btn.btn-info.cta {
    left: 0;
}

/* -------------------------DOVOZ VOZIDLA------------ */

.page-info h1,
.page-background {
    width: calc(50% + 170px);
    padding-right: calc(50% - 460px);
    float: right;
}

.page-background {
    background: rgba(247, 247, 247, .85);
    padding: 0 calc(50% - 480px) 100px 20px;
}

.page-background h2,
.page-background p {
    padding-right: 20px;
}

.page-info-heading {
    margin-bottom: 0;
}

.page-info {
    margin-bottom: 300px;
    user-select: none;
}

.uvod-textu {
    margin-top: 20px;
}

.page-background dl{
    font-weight: lighter;
    font-size: 16px;
}

.financovanie-partner-logo {
    float: left;
    padding-right: 15px;
    margin-bottom: 15px;
    width: 25%;
}

.financovanie-partner-logo + p {
    clear: left;
}



/* ---------------------MEDIA QUERRY-------------- */

@media screen and (max-width: 990px) {
    .car-details-main-image,
    .car-details-basic-info {
        padding-left: 15px;
    }

    .car-details-gallery {
        padding-left: 15px;
        padding-right: 15px;
    }

    .car-details-equipment,
    .car-details-title {
        padding-right: 20px;
    }
    .landing-form-attributes {
        width: calc(100vw - 100px);
        width: auto;
        min-width: auto;
    }
    .landing-attribute-label {
        width: 50%;
    }
    .landing-attribute-label:nth-of-type(3n+1) {
        clear: none;
    }
    .landing-attribute-label:nth-of-type(2n+1) {
        clear: left;
    }
    .page-kontakt-udaje-telefony,
    .page-kontakt-udaje-email,
    .page-kontakt-udaje-adresa,
    .page-kontakt-udaje-otvaracie-hodiny{
        width: 100%;
    }    
    
    .additional-attributes {
        width: 100%;
    }
}

.lg-outer {
    cursor: pointer;
}

body.lg-on {
    overflow: hidden;
}

.lg-image {    
    object-fit: contain;
    font-family: 'object-fit: contain;';
}

.lg-fullscreen-on .lg-image {
    width: 100% !important;
    height: 100% !important;
    vertical-align: top;
}

.lg-thumb-open.lg-fullscreen-on .lg-image {
    height: calc(100% - 142px) !important;
}

@media screen and (max-width: 1200px) {
    .car-details-send {
        clear: left;
    }
}
@media screen and (max-width: 980px) {
    .site-logo {
        background: rgba(190, 0, 0, .85);
        padding: 10px;
        text-align: right;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: calc(50% - 480px);
        text-align: center;
    }

    .site-navigation {
        margin-top: 0;
        width: 100%;
        float: right;
        padding-right: 0;
        padding-left: 20px;
        padding-left: 0;
        text-align: center;
    }

    .filter-home {
        padding-bottom: 30px;
    }

    .filter-home select {
        width: 100%;
    }

    /*    .filter select[name="km_to"] {
        margin-left: 9px;
    } */

    .filter {
        margin-right: 1%;
        width: 39.333333%;
        padding-left: 15px;
    }
    .filter.fixed + .filter-placeholder, .filter.bottom + .filter-placeholder {
        width: 39.333333%;
        margin-right: 1%;
    }
    .filter-home {
        width: 51.2%;
    }

    .filter-home select[name="km_to"], .filter-home select[name="price_to"],
    .filter-checkbox-label {
        width: 100%;
    }
    
    .filter-home .filter-checkbox-label {
        display: none;
    }    
    
    .filter-checkbox-label.medium {
        display: block;
    }    

    .filter-home select[name="km_to"] {
        margin-left: 0;
    }

    .filter-home button {
        margin-top: 0;
    }

    body.home .random-car {
        padding-top: 74px;
        width: 47%; 
        max-width: none;
    }

    /*   #km_from, #price_from {
    margin-right: 0;
        } */

    /*   #price_from {
        margin-right: 9px;
    } */

    .home-wrap {
        margin-bottom: 0;
    }

    .filter-home select[name="model_id"],
    .filter-home select[name="fuel"],
    .filter-home select[name="transmission"],
    .filter-home select[name="bodytype_id"],
    .filter-home select[name="year_from"],
    .filter-home select[name="piston"],
    .filter-home select[name="color_id"],
    .filter-home [type="submit"],
    .landing-show-attributes.landing-show-attributes,
    .filter-checkbox-label[for="all_wheel_drive"]
    {
        margin-left: 0;
    }

    .landing-show-attributes.landing-show-attributes,
    .filter-home [type="submit"],
    .rst-filter {
        text-align: center;
    }    

    .landing-show-attributes,
    .filter-home [type="submit"],
    .rst-filter {
        width: 100%;
    }

    .cars-listing-results,
    .cars-listing-results-heading {
        width: 59.66667%;
        margin-left: 0;
    }

    .cars-listing-item h1,
    .cars-listing-item p,
    .cars-listing-item strong {
        float: none;
        padding-left: 15px;
        padding-right: 10px;
    }

    .cars-listing-item h1 {

    }

    .cars-listing-item p {
        max-width: 350px;
    }

    .cars-listing-item h1 {
        max-width: 350px;
    }

    .cars-listing-item p {
        overflow: hidden;
        margin-bottom: 0;
    }

    .cars-listing-item strong {
        float: left;
    }

    .car-details-basic-info {
        margin-bottom: 0;
    }

    .car-details-price {
        width: 50%;
        float: left;
    }
    .car-details-price-values {
        margin-bottom: 10px;
    }
    .car-details-print {
    }
}

@media screen and (max-width: 960px) {
    .page-kontakt-formular form,
    .page-kontakt-formular-nadpis {
        padding-left: 13.5%;
        margin-left: 0;
    }
}

@media screen and (max-width: 920px) {
    .cars-listing-item h1 {
        max-width: 300px;
    }

    .cars-listing-item p {
        max-width: 300px;
    }
}

@media screen and (max-width: 830px){
    .car-details-contacts a:last-child {
        right: 0;
    }

    .cars-listing-item h1 {
        max-width: 250px;
    }

    .cars-listing-item p {
        max-width: 250px;
    }
}

@media screen and (max-width: 720px) {
    .car-details-contacts a:last-child {
        position: static;
        margin-top: 15px;
        padding-bottom: 15px;
    }
}

/* @media screen and (min-width: 768px) {
    .attribute-label {
        display: ;
    }
} */


@media screen and (max-width: 767px) {
    .filter,
    .cars-listing-results,
    .cars-listing-results-heading {
        width: 100%;
    }
    
    .filter {
        padding-right: 15px;
    }
    
    .filter.fixed, .filter.bottom {
        position: static;
        transform: none !important;
    }
    
    .filter.fixed + .filter-placeholder, .filter.bottom + .filter-placeholder {
        display: none;
    }

    .cars-listing-item h1 {
        max-width: 420px;
    }

    .additional-attributes {
    }

    .attribute-label, .additional-attributes .attribute-label {
        width: 50%;
        clear: none;
    }

    .cars-listing-item p {
        max-width: 400px;
    }

    .rst-filter-inz {
        clear: left;
        padding-top: 20px;
    }

    .reset-filter-down,
    .button-down {
        display: none;
    }


    .filter select[name="km_from"], .filter select[name="km_to"], .filter select[name="price_from"], .filter select[name="price_to"],
    .cars-listing .filter select[name="piston_from"], 
    .cars-listing .filter select[name="piston_to"] {
        width: 49%;
    }

    #km_from, #price_from, .cars-listing .filter select[name="piston_from"]{
        margin-right: 2%;
    }

    .filter-home select[name="price_to"], .filter-home select[name="km_to"] {
        width: 100%;
    }

    .landing-attribute-label {
        width: 100%;
    }
    .landing-attribute-label:nth-of-type(n) {
        clear: left;
    }

    body.home .random-car-udaje-nazov {
        max-width: 250px;
    }

    body.home .random-car {
        width: 100%;
        padding: 30px 35px;
    }

    .cars-listing-results-heading {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .cars-listing-results article:first-child {
        margin-top: 0;
    }

    .cars-listing-results {
        padding-top: 20px;
    }
    .site-footer-firma img {
        width: auto;
    }
}

@media screen and (max-width: 480px) {
    .page-info h1,
    .page-background {
        width: 100%;
    }

    .filter-home select {
        width: 100%;
    }

    .filter-home button {
        margin-top: 0;
    }

    body.home .random-car-udaje-nazov {
        max-width: 195px;
    }

    /*   .filter select[name="km_to"], .filter select[name="price_to"] {
        width: 100%;
    } */

    .page-background {
        padding: 20px 20px 100px 20px;
    }

    .page-background h2:first-child {
        margin-top: 0;
    }

    .btn.btn-info.cta {
        padding: 9px 10px;
    }

    /* --------------------MENU TOGGLE-------------------- */

    #toggle {
        display: block;
        width: 33px;
        height: 30px;
        margin: 30px auto 10px;
    }

    #toggle span:after,
    #toggle span:before {
        content: "";
        position: absolute;
        left: 0;
        top: -11px;
    }
    #toggle span:after{
        top: 11px;
    }
    #toggle span {
        position: relative;
        display: block;
    }

    #toggle span,
    #toggle span:after,
    #toggle span:before {
        width: 100%;
        height: 5px;
        background-color: rgba(190, 0, 0, .85);
        transition: all 0.3s;
        backface-visibility: hidden;
        border-radius: 2px;
    }

    /* on activation */
    #toggle.on span {
        background-color: transparent;
    }
    #toggle.on span:before {
        transform: rotate(45deg) translate(8px, 8px);
    }
    #toggle.on span:after {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    #toggle.on + #menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    /* menu appearance*/
    #menu {
        position: relative;
        left: -5px;
        top: -5px;
        width: 235px;
        padding: 10px;
        margin: auto;
        text-align: center;
        border-radius: 4px;
        background: white;
        box-shadow: 0 1px 8px rgba(0,0,0,0.05);
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s;
        background: rgba(13, 13, 13, .85);
        display: none;

    }
    #menu:after {
        position: absolute;
        top: -15px;
        left: calc(50% - 10px);
        content: "";
        display: block;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 20px solid white;
    }
    ul, li, li a {
        list-style: none;
        display: block;
        margin: 0;
        padding: 0;
    }
    li a {
        padding: 5px;
        color: #888;
        text-decoration: none;
        transition: all .2s;
    }

    .menu li {
        padding-left: 0;
    }

    /* ------------------------END MENU TOGGLE-------------- */

    .site-header {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 500px) {
    .cars-listing-item strong {
        padding-right: 20px;
    }

    .car-details-main-image,
    .car-details-contacts,
    .car-details-basic-info {
        width: 100%;
    }

    .car-details-title,
    .car-details-equipment,
    .car-details-price {
        width: 100%;
    }
    
    .car-details-equipment {
        margin-bottom: 0;
    }

    .car-details-contacts a:last-child {
        position: absolute;
        top: -5px;
        right: 0;
    }

    .car-details-contacts {
        padding-bottom: 20px;
    }

    .page-kontakt-formular {
        width: 100%;
        margin-bottom: 23px;
    }

    .page-kontakt-udaje,
    .page-kontakt .random-car,
    .page-kontakt-nadpis {
        width: 100%;
    }

    .page-kontakt .random-car {
        margin-bottom: 200px;
    }

    .page-kontakt-formular form,
    .page-kontakt-formular-nadpis {
        padding-left: 23px;
        margin-left: 0;
    }

    .page-kontakt-formular button {
        position: static;
    }

    .financovanie-partner-logo {
        float: none;
        width: auto;
        max-width: 100%;
        padding-right: 15px;
        margin-bottom: 15px;
    }
    .attribute-label, .additional-attributes .attribute-label {
        width: 100%;
    }
}

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

    .car-details-contacts a:last-child {
        position: static;
        background-position: 150px 6px;
    }

    .car-details-contacts  {
        padding-bottom: 0;
    }

    .car-details-contacts a {
        text-align: center;
        padding-left: 0;
    }
}

@media print {
    a[href]:after, #tidio-chat {
        content: none !important;
    }
    .site-logo {
        width: calc(50% - 160px);
    }
    .site-logo-link {
        background-color: rgba(190, 0, 0, .85) !important;
        padding: 15px;
    }
    .site-navigation {
        display: none;
    }
    .car-details-print, .car-details-send, .car-details-pdf, 
    .contact-us-link.contact-us-link, .car-details-share,
    .car-details-gallery, .site-footer-signature {
        display: none;
    }
    .footer-logo-link {
        background-color: rgba(190, 0, 0, .85) !important;
        padding: 15px;
    }
    .site-footer {
        clear: both;
        display: none;
    }
    @media print {
        .car-details-price-before-discount::after {
            background-color: black !important;
        }
    }    
}
