.quote {
    float: right;
    position: relative;
    z-index: 2;
    margin-right: 20px;
    z-index: 2;
}

.quote-link:link,
.quote-link:visited {
    display: block;
    width: 180px;
    height: 38px;
    padding-top: 17px;
    text-align: center;
    background-color: #edc300;
    text-decoration: none;
    color: #fff;
    font-size: 11pt;
    text-shadow: 1px 1px #555;
}

.quote-link:hover {
    background-color: #2768a6;
}

body .quote-popup-cont {
    padding: 0;
    border-radius: 25px;
    background: transparent;
    display: none;
}

.quote-popup {
    display: flex;
    flex-direction: row;
    width: calc(100vw - 30px);
    max-width: 855px;
    box-sizing: border-box;
}

.quote-body {
    position: relative;
    width: calc(100% - 60px);
    padding: 50px 80px;
    background: #fff;
}

.quote-popup__title {
    margin-bottom: 17px;
    font-weight: 700;
    font-size: 36px;
    color: #091121;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.quote-descr {
    margin-bottom: 20px;
}

.quote-descr p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.444;
}

.quote-descr p:not(:last-child) {
    margin-bottom: 1em;
}

.quote-close {
    position: absolute;
    top: 47px;
    right: 25px;
}

.quote-form .disabled {
    background: #eee;
    pointer-events: none;
}

.quote-file {
    float: left;
}

.qb-right {
    float: right;
}

.qbr-wrapper {
    display: flex;
}

a.quote-submit:link,
a.quote-submit:visited {
    display: block;
    height: 41px;
    line-height: 41px;
    padding: 0 55px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 0.939px 1.766px 4px 0px rgba(34, 0, 0, 0.23);
    background: #dd1c1a;
    transition: background 0.5s;
}

.quote-submit:hover {
    background: #c43f3c;
}

.quote-spinner {
    display: none;
    width: 41px;
}

.quote-spinner img {
    max-width: 100%;
}

.qp-disclaimer {
    width: 60px;
    padding: 50px 0 0 25px;
    box-sizing: border-box;
    background: #003a72;
}

.qp-disclaimer span {
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    color: #fafafa;
    writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
}

.qf_error span {
    margin-bottom: 15px;
    display: block;
    font-weight: 700;
}

.qf_error div {
    border-bottom: 1px solid rgb(255, 170, 170);
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.qf-close {
    margin-top: 10px;
    text-align: center;
}

.qf-close a {
    color: #4a78cb;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.ffl-wrapper {
    position: relative;
}

.form-row .ffl-wrapper {
    margin-bottom: 17px;
    width: 48.5%;
}

.form-row-captcha {
    max-width: 100px;
    margin-right: 20px;
}

.form-row.form-row-captcha .ffl-wrapper {
    width: 100%;
}

.form-row .ffl-wrapper input[type='text'] {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    font-size: 14px;
    color: #091121;
    box-sizing: border-box;
    border: 1px solid #757575;
    border-radius: 10px;
    outline: 0;
    transition: border 0.5s;
}

.form-row .ffl-wrapper input[type='text']:focus {
    border-color: #60ba91;
}

.form-row .ffl-wrapper .ffl-label,
.form-row-area .ffl-wrapper .ffl-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    position: absolute;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    pointer-events: none;
    top: 8px;
    left: 20px;
    padding: 2px 5px;
    color: #757575;
    border-radius: 10px;
    transition-property: all;
    transition-duration: 200ms;
    transition-timing-function: ease;
    transition-delay: 0s;
}

.form-row .ffl-floated .ffl-label,
.form-row-area .ffl-floated .ffl-label,
.contact-form .form-row .ffl-floated .ffl-label,
.contact-form .form-row-area .ffl-floated .ffl-label {
    top: -9px;
    background: #fff;
}

.form-row-area {
    margin-bottom: 17px;
}

.form-row-area textarea {
    width: 100%;
    min-height: 100px;
    padding: 20px;
    font-size: 14px;
    color: #091121;
    box-sizing: border-box;
    border: 1px solid #757575;
    border-radius: 10px;
    outline: 0;
    resize: vertical;
    transition: border 0.5s;
}

@media (max-width: 785px) {
    .quote-body {
        padding: 20px;
    }

    .quote-close {
        top: 24px;
    }

    .quote-body h2 {
        font-size: 28px;
    }
}

@media (max-width: 530px) {
    .quote-form .form-row {
        display: block;
    }

    .quote-form .form-row .ffl-wrapper {
        width: 100%;
    }

    .quote-descr p {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .quote-body {
        width: calc(100% - 30px);
    }

    .qp-disclaimer {
        width: 30px;
        padding: 50px 0 0 10px;
    }

    .quote-body h2 {
        font-size: 24px;
        letter-spacing: 0;
    }

    .quote-close {
        top: 20px;
    }
}
