.p2p-contact-form {
    margin-bottom: 15px;
}

.contact-banner-thumbnail {
    position: relative;
    min-height: 255px;
    background-image: url('../images/contact/feature.jpg');
    background-position: center center;
    background-repeat: no-repeat;
}

.contact-banner-caption {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
}

.p2p-contact-form .btn.disabled {
    opacity: 1.0;
}

.p2p-contact-form .btn.disabled:hover {
    cursor: pointer;
}

.p2p-contact-form-fields {
    border-color: #FFBB3A;
    border-width: 2px;
    height: 40px;
    font-size: 16px;
    letter-spacing: 0.04em;
    font-family: 'AvenirNext-DemiBold', sans-serif;
}


.p2p-contact-info {
    padding: 25px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.p2p-contact-info h2 {
    margin-top: 0;
}

.contact-banner-caption p {
    font-size: 2vw;
    font-family: "AvenirNext-DemiBold";
}

.contact-banner-caption a {
    font-size: 1.5vw;
}

.p2p-contact-info h2 {
    font-size: 25px;
}

.p2p-contact-info p {
    font-size: 18px;
}

.p2p-contact-form {
    margin-bottom: 60px;
}

.p2p-footer-image {
    height: 24px;
    margin-left: 30px;
    margin-bottom: 10px;
}

h3.p2p-follow {
    margin-top: 0;
}

label.p2p-contact-label {
    display: none;
}


@media (max-width: 425px) {
    .p2p-phrase {
        margin-bottom: 0 !important;
    }

    .footer {
        padding-top: 0 !important;
    }
}

@media(min-width: 768px) and (max-width: 991px) {
    .p2p-email-field{
        width: 30% !important;
        border-color: #FFBB3A;
        border-width: 2px;
    }
}

@media(min-width: 992px) and (max-width: 1199px) {
    .p2p-email-field{
        width: 25% !important;
        border-color: #FFBB3A;
        border-width: 2px;
    }
}

@media(min-width: 1200px) {
    .p2p-email-field {
        width: 25% !important;
        border-color: #FFBB3A;
        border-width: 2px;
    }

    .contact-banner-caption p {
        font-size: 24px !important;
    }

    .contact-banner-caption a {
        font-size: 20px !important;
    }
}

@media(min-width: 1920px) {
    .p2p-contact-info p {
        font-size: 20px;
    }
}

/* everything above xs devices */
@media(min-width: 768px) {
    .p2p-content {
        min-height: 1190px;
    }

    .p2p-contact-info h2 {
        letter-spacing: 0.05em;
    }

    .p2p-contact-info p {
        letter-spacing: 0.01em;
    }

    .p2p-form-group {
        width: 100%;
    }
}

@media(min-width: 1362px) and (max-width: 1415px) {
    .col-sm-3 {
        width: 23% !important;
    }
}

/* xs devices */
@media(max-width: 767px) {

    p.contact-address {
        font-weight: bold;
        line-height: 25px;
        font-size: 20px;
        margin-bottom: 2px;
        font-family: 'AvenirNext-Regular';
    }

    p.contact-phone {
        font-weight: bold;
        line-height: 25px;
        font-size: 20px;
        font-family: 'AvenirNext-Regular';
        color: #333;
    }

    p.contact-email {
        margin-top: -12px;
        font-weight: bold;
        line-height: 25px;
        font-size: 3.5vw;
        font-family: 'AvenirNext-Regular';
    }

    .contact-banner-caption-xs {
        text-align: center;
        display: inline-block;
        margin-top: 20px;
    }

    .contact-banner-thumbnail {
        background-position: 0% 10%;
        min-height: 140px;
        zoom: 0.89;
    }

    .p2p-contact-info {
        padding: 0px;
        text-align: center;
    }

    .p2p-contact-info h2 {
        font-size: 25px;
        padding-top: 20px;
    }

    .p2p-contact-info p {
        font-size: 15px;
        padding-bottom: 20px;
    }

    .p2p-email-field {
        width: 60%;
        display: inline-block;
        border-color: #FFBB3A;
        border-width: 2px;
    }

    .p2p-contact-form .btn {
        font-weight: 600;
    }
}