.ffl-row {
    margin-bottom: 25px;
}

.ffl-wrapper {
    position: relative;
    display: block;
}

.ffl-wrapper.captcha-wrapper {
    margin-bottom: 20px;
    margin-right: 55px;
    display: inline-block;
    vertical-align: middle;
    width: 160px;
}

.textarea-wrapper {
    margin-bottom: 25px;
}

.ffl-row .ffl-wrapper {
    width: 48%;
}

.ffl-row .ffl-wrapper:nth-child(odd) {
    float: left;
}

.ffl-row .ffl-wrapper:nth-child(even) {
    float: right;
}

.ffl-wrapper input[type='text'],
.ffl-wrapper select {
    width: 100%;
    height: 51px;
    line-height: 51px;
    padding: 0 20px;
    box-sizing: border-box;
    border: 2px solid #d2d2d2;
    border-radius: 10px;
    font-size: 18px;
    outline: 0;
}
.ffl-wrapper input:-internal-autofill-selected {
    background-color: rgb(255, 255, 255) !important;
    background-image: none !important;
    color: rgb(0, 0, 0) !important;
}
.ffl-wrapper textarea {
    width: 100%;
    height: 170px;
    padding: 20px;
    box-sizing: border-box;
    border: 2px solid #d2d2d2;
    border-radius: 10px;
    font-size: 18px;
    outline: 0;
    resize: none;
}

.ffl-wrapper .ffl-label {
    position: absolute;
    font-size: 14px;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    pointer-events: none;
    top: 12px;
    left: 15px;
    padding: 2px 5px;
    color: #757575;
    border-radius: 0px;
    transition-property: all;
    transition-duration: 200ms;
    transition-timing-function: ease;
    transition-delay: 0s;
}

.captcha-wrapper .ffl-label {
    left: 50%;
    transform: translateX(-50%);
}

.ffl-floated .ffl-label {
    top: -9px;
    background: #fff;
}

.cf-bottom {
    text-align: right;
}

.cf-remark {
    margin-bottom: 20px;
    margin-right: 30px;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    color: #757575;
}

.cf-submit {
    margin-bottom: 20px;
    display: inline-block;
    vertical-align: middle;
}

.cf-submit button {
    display: inline-block;
    vertical-align: middle;
    height: 50px;
    line-height: 48px;
    padding: 0 60px;
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    background-image: linear-gradient(to right, #000046, #4481eb);
    outline: 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0px 3px 5px 0px rgba(36, 57, 115, 0.54);
    moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.cf-submit button:hover {
    background: #0f3872;
}

.spinner {
    display: none;
}

.spinner img {
    height: 48px;
}

.contact-page {
    max-width: 1560px;
    margin: 65px auto 75px;
    padding: 0 10px 50px;
}

.cp-l {
    width: 59%;
    clear: both;
    position: relative;
    display: inline-block;
    vertical-align: top;
}
.cp-l img {
    display: block;
    border-radius: 15px;
    max-height: 611px;
}
.cpl-title {
    margin: 10px 0 25px;
}

.cpl-title h2 {
    margin-bottom: 9px;
    font-weight: 700;
    font-size: 30px;
    color: #070b3f;
    text-transform: uppercase;
}

.cpl-title p {
    font-size: 18px;
    color: #141414;
}

.cp-r {
    position: relative;
    width: 40%;
    clear: both;
    display: inline-block;
    vertical-align: top;
}
.cp-c {
    position: relative;
    margin-top: 2em;
    max-width: 800px;
    margin: 5% auto 0;
    clear: both;
    text-align: center;
}
.cp-c img {
    border-radius: 10px;
    box-shadow: 0px 0px 13px 0px rgba(46, 115, 156, 0.47);
    background: rgb(218, 201, 129);
}
.contact-info-block {
    padding: 40px 70px 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0.209px 2.993px 11.83px 1.17px rgba(18, 78, 162, 0.25);
}

.cp-r h3 {
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 40px;
    color: #04062e;
}
.contact-info-block p {
    margin-bottom: 20px;
}
.cib-item {
    margin-bottom: 40px;
}

.cib-item h5 {
    margin-bottom: 17px;
}

.cib-icon {
    margin-right: 11px;
}

.cib-icon img {
    max-width: 21px;
    max-height: 21px;
}

.cib-value {
    position: relative;
    top: -3px;
    line-height: 21px;
    font-weight: 700;
    font-size: 20px;
    color: #13293d;
    text-transform: uppercase;
}

.cib-item p {
    margin: 0 0 5px 60px;
    font-size: 16px;
}

.select-row {
    margin-bottom: 20px;
}

.ffl-wrapper input[type='text'],
.ffl-wrapper select {
    width: 100%;
    height: 51px;
    line-height: 51px;
    padding: 0 20px;
    box-sizing: border-box;
    border: 2px solid #d2d2d2;
    border-radius: 5px;
    font-size: 18px;
    outline: 0;
}

.contact-map {
    display: block;
    max-height: 611px;
}

.contact-rellax {
    position: relative;
    bottom: -200px;
}

@media (max-width: 1515px) {
    .pp-specs-and-form .cf-remark {
        margin-right: 15px;
    }

    .pp-specs-and-form .ffl-wrapper.captcha-wrapper {
        margin-right: 15px;
    }
}
@media (max-width: 1390px) {
    .cp-l img {
        width: 80%;
    }
}
@media (max-width: 1090px) {
    .cp-l img {
        width: 90%;
    }
}
@media (max-width: 980px) {
    .contact-page .container {
        padding: 0 5%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .cp-l,
    .cp-r {
        width: auto;
        float: none;
    }

    .contact-map {
        transform: none !important;
    }

    .contact-page .cp-l {
        order: 2;
    }
    .contact-info-block {
        width: 100%;
    }
    .cp-r {
        width: 100%;

        display: flex;
        flex-wrap: wrap;
    }
    .cp-c {
        order: 3;
    }
    .cp-l img {
        margin: 5% 0 0;
        width: 100%;
    }
}
@media (max-width: 660px) {
    .cp-l img {
        margin: 15% 0 0;
        width: 100%;
    }
    .contact-rellax {
        position: relative;
        bottom: -150px;
    }
}
@media (max-width: 460px) {
    .ffl-row {
        margin-bottom: 0;
    }

    .ffl-row .ffl-wrapper {
        width: 100%;
        margin-bottom: 10px;
    }

    .ffl-row .ffl-wrapper:nth-child(odd),
    .ffl-row .ffl-wrapper:nth-child(even) {
        float: none;
    }
    .contact-info-block {
        padding: 40px 30px 25px;
    }
    .socials a {
        margin: 5%;
    }
    .ffl-wrapper input[type='text'],
    .ffl-wrapper select {
        width: 100%;
        height: 41px;
        line-height: 41px;
        padding: 0 20px;
        box-sizing: border-box;
        border: 2px solid #d2d2d2;
        border-radius: 5px;
        font-size: 18px;
        outline: 0;
    }
    #quote-popup {
        padding: 30px 30px 30px;
        border: none;
    }
    .cf-remark {
        margin-bottom: 10px;
    }
    .cf-bottom {
        text-align: left;
    }
    .textarea-wrapper {
        margin-bottom: 15px;
    }
    #quote-popup h3 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    #quote-popup {
        padding: 15px 20px 15px !important;
        border: none;
    }
    .fancybox-close-small {
        top: 10px;
        right: 10px;
    }
}
