img {
    max-width: 100%
}

p, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}

#screenshot {
    position: absolute;
    border: 1px solid #fff;
    background: #fff;
    padding: 2px;
    display: none;
    color: #fff;
    opacity: .9;
}

@font-face {
    font-family: "Toyota Text - Regular";
    src: url("../font/toyotatext_rg.ttf") format("truetype");
    src: url("../font/toyotatext_rg.ttf") format("woff");
}

@font-face {
    font-family: "Toyota Text - Bold";
    src: url("../font/toyotatext_bd.ttf") format("truetype");
    src: url("../font/toyotatext_bd.ttf") format("woff");
}

@font-face {
    font-family: "Toyota Display - Bold";
    src: url("../font/toyotadisplay_bd.ttf") format("truetype");
    src: url("../font/toyotadisplay_bd.ttf") format("woff");
}

@font-face {
    font-family: "Toyota Display - Regular";
    src: url("../font/toyotadisplay_rg.ttf") format("truetype");
    src: url("../font/toyotadisplay_rg.ttf") format("woff");
}

.index {
    z-index: 99;
    margin-bottom: 10px;
    position: relative;
    top: -10px;
}

.navbar {
    box-shadow: none;
}

.modal-form .form-check-label {
    color: black;
}

.main-photo {
    background-image: url("../img/header.png");
    height: 530px;
    background-position: -170px;
    margin-top: -70px;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-photo .container {
    position: relative;
}

.navbar-brand {
    z-index: 999;
}

.mobile-form {
    display: none;
}

.main-pphoto .container {
    position: relative;
}

.form-red-background {
    background-color: #d71921;
    padding: 15px 20px;
}

.form-paragraph {
    color: #fffefe;
    font-family: "Toyota Text - Regular";
    font-size: 13px;
    font-weight: 400;
}

.form-header-small {
    color: #ffffff;
    font-family: "Toyota Display - Bold";
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
}

.form-header-big {
    color: #ffffff;
    font-family: "Toyota Display - Bold";
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 41.54px;
}

.form-wrapper {
    width: 400px;
    z-index: 999 !important;
    position: absolute;
    top: -80px;
    right: 95px;
}

.sale {
    font-family: "Toyota Display - Bold";
    color: black;
    font-size: 52px;
    font-weight: 700;
}

.sale-paragraph {
    color: #000000;
    font-family: "Toyota Display - Regular";
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.sale-paragraph:nth-child(3) {
    margin-top: 17px;
}

.sale-paragraph:nth-child(4) {
    margin-top: -10px;
}

.sale-divider {
    width: 470px;
    height: 3px;
    background-color: #d71921;
    margin-top: 5px;
}

.red-span {
    color: #d71921;
}

.main-header-wrapper {
    padding-top: 60px;
}

.data, .custom-select {
    height: 24px;
    border: 1px solid #a0a0a0;
    background-color: #f3f3f3;
    width: 100%;
    margin-bottom: 12px;
    color: #4e4e4e;
    font-family: "Toyota Text - Regular";
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    padding-left: 7px;
}

.custom-select {
    padding: 0;
    border-radius: 0;
    padding-left: 7px;
}

.screenshot {
    position: relative;
}

.form-layer {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 19px;
    z-index: 999;
}

.form-check-label {
    font-size: 10px;
    color: #fff;
    line-height: 10px !important;
    text-align: justify;
}

.form-check {
    padding-left: 0;
}

.button-submit {
    width: 106px;
    height: 24px;
    background-color: #d71921;
    color: #ffffff;
    font-family: "Toyota Text - Regular";
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.form-check-input[type=checkbox]+label, label.btn input[type=checkbox]+label {
    padding-left: 26px;
}

.obligatory {
    color: #909090;
    font-family: "Toyota Text - Regular";
    font-size: 10px;
    font-weight: 400;
    text-align: center;
}

.submit-wrapper {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.red-divider {
    background-color: #d71921;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.main-text {
    font-family: "Toyota Display - Bold";
    font-weight: 700;
}

.secondary-text {
    font-family: "Toyota Display - Regular";
    font-weight: 400;
}

.main-text, .secondary-text {
    text-shadow: 3px 4px 5px rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
}

.text-wrapper {
    padding: 50px 0 40px;
}

.aygo-background {
    background-image: url("../img/aygo.png");
    height: 133px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 33px;
}

.main-offer {
    margin: 50px 0 100px;
}

.aygo-name {
    margin-top: 34px;
}

.car-name {
    font-family: "Toyota Text - Bold";
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    color: black;
    text-align: center;
}

.car-price {
    font-family: "Toyota Text - Regular";
    font-weight: 400;
    text-align: center;
    color: black;
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: -12px;
}

.price {
    color: #d71921;
    font-family: "Toyota Text - Bold";
    font-weight: 700;
}

.red-button {
    background-color: #d71921;
}

.auto-button {
    color: #fff;
    font-family: "Toyota Text - Regular";
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    margin: 0 auto;
    width: 215px;
    height: 35px;
    border-radius: 18px;
}

.grey-button {
    background-color: #ababab;
    margin-top: 5px;
}

.yaris-background {
    background-image: url("../img/yaris.png");
}

.auris-background {
    background-image: url("../img/auris.png");
}

.auris-kombi-background {
    background-image: url("../img/auris_kombi.png");
}

.chr-background {
    background-image: url("../img/c_hr.png");
}

.corolla-background {
    background-image: url("../img/corolla.png");
}

.car-background {
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
}

.avensis-background {
    background-image: url("../img/avensis.png");
}

.rav4-background {
    background-image: url("../img/rav-4.png");
}

.new-lc150-background {
    background-image: url("../img/nowy_lc150.png");
}

.hilux-background {
    background-image: url("../img/hilux.png");
}

.proace-background {
    background-image: url("../img/proace.png");
}

.proaceverso-background {
    background-image: url("../img/proaceverso.png");
}

.main-offer .row:not(.first-row) {
    margin-top: 50px;
}

footer {
    background-color: #efefef;
}

.footer-container {
    padding-top: 60px;
    padding-bottom: 100px;
}

footer a, p, center {
    font-family: "Toyota Text - Regular";
    font-weight: 400;
    font-size: 18px;
    color: black;
}

footer a:hover {
    color: #d71921;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .main-photo {
        background-image: url("../img/mobile-background.png");
    }
    .sale {
        font-size: 44px;
    }
    .sale-divider {
        width: 404px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .car-name {
        font-size: 27px;
    }
    .text-wrapper {
        padding: 20px 0;
    }
    .main-text, .secondary-text {
        font-size: 25px;
    }
    .car-background, .aygo-background {
        background-size: contain;
    }
    .aygo-background {
        height: 100px;
        margin-top: 48px;
    }
    .aygo-name {
        margin-top: 51px;
    }
}

@media only screen and (max-width: 992px) {
    .desktop-form {
        display: none;
    }
    .mobile-form {
        display: block !important;
        margin: 20px 0;
    }
    .index {
        display: none;
    }
    .main-photo {
        margin-top: 0;
    }
    .navbar-collapse {
        text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .main-photo {
        background-image: url("../img/mobile-background.png");
    }
    .text-wrapper {
        padding: 30px 0;
    }
    .main-text, .secondary-text {
        font-size: 19px;
        line-height: 22px;
    }
    .main-offer .row:not(.first-row) {
        margin-top: 0;
    }
    .main-offer .col-md-4 {
        margin-top: 40px;
    }
    .main-offer {
        margin: 0 0 50px 0;
    }
    footer img {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .mobile-form .col-md-12 {
        padding: 0;
    }
    .sale {
        font-size: 30px;
    }
    .sale-divider {
        width: 275px;
    }
    .sale-paragraph:nth-child(3) {
        margin-top: 10px;
    }
    .sale-paragraph:nth-child(4) {
        margin-top: 0;
    }
    .sale-paragraph {
        font-size: 16px;
    }
    .main-photo {
        background-position: -305px;
    }
    .footer-container {
        padding: 60px 0;
    }
}

@media only screen and (min-width: 1400px) {
    .main-photo {
        background-position: center;
    }
}

@media only screen and (min-width: 1950px) {
    .main-photo {
        height: 670px;
    }
}