.contact-page {
    --contact-text: #3d4145;
    --contact-muted: #777;
    --contact-border: #dedede;
    --contact-background: #f8f8f8;
    --contact-accent: #f15a5a;
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */

.contact-page .sc_form_subtitle {
    margin-bottom: 8px;
}

.contact-page .sc_form_title {
    margin-bottom: 12px;
}

.contact-page .contact-intro {
    max-width: 720px;
    margin: 25px auto 42px;
    padding: 16px 24px;
    border-top: 1px solid var(--contact-border);
    border-bottom: 1px solid var(--contact-border);
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.contact-page .contact-intro strong {
    display: block;
    margin-top: 3px;
    color: var(--contact-text);
    font-size: 17px;
    font-weight: 600;
}

/* ----------------------------------------------------------
   Contact information
   ---------------------------------------------------------- */

.contact-page .sc_form_address_field {
    margin-bottom: 28px;
}

.contact-page .sc_form_address_label {
    display: block;
    margin-bottom: 8px;
    color: var(--contact-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.contact-page .contact-phone-separator {
    display: block;
    margin: 2px 0;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.5;
}

.contact-page .sc_form_address_data {
    display: block;
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 1.7;
}

.contact-page .sc_form_address_data + .sc_form_address_data {
    margin-top: 2px;
}

/* Contact links */
.contact-page .sc_form_address_data a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.contact-page .sc_form_address_data a:hover,
.contact-page .sc_form_address_data a:focus {
    color: var(--contact-accent);
}

.contact-page .sc_form_address_data a:focus {
    outline: none;
}

/* Phone */
.contact-page .sc_form_address_field_icon_phone .sc_form_address_data {
    color: var(--contact-text);
    font-size: 17px;
    font-weight: 500;
}

/* Information email highlight */
.contact-page #more_info_email {
    transition: color .2s ease, font-weight .2s ease;
}

/* ----------------------------------------------------------
   Barcode
   ---------------------------------------------------------- */

.contact-page .contact-barcode {
    box-sizing: border-box;
    width: 100%;
    margin: 42px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--contact-border);
    text-align: center !important;
}

.contact-page .contact-barcode .sc_form_address_label {
    display: block;
    margin-bottom: 2px;
    text-align: center !important;
}

.contact-page .contact-barcode-description {
    display: block;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.contact-page .contact-barcode img {
    display: block;
    float: none !important;
    position: static !important;
    width: 130px !important;
    max-width: 130px;
    height: 130px !important;
    margin: 14px auto 0 !important;
}

/* ----------------------------------------------------------
   Form
   ---------------------------------------------------------- */

.contact-page .sc_form_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
}

.contact-page .sc_form_item {
    margin-bottom: 22px;
}

.contact-page .sc_form_field label,
.contact-page .sc_form_message label {
    display: block;
    margin-bottom: 8px;
    color: var(--contact-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.contact-page .sc_form_field label.required::after,
.contact-page .sc_form_message label.required::after {
    content: " *";
    color: var(--contact-accent);
}

.contact-page .form-control {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--contact-border);
    border-radius: 0;
    background: #fff;
    color: var(--contact-text);
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-page .form-control:focus {
    border-color: var(--contact-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(241, 90, 90, .08);
}

.contact-page textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.contact-page .form-control::placeholder {
    color: #aaa;
}

/* ----------------------------------------------------------
   Information checkbox
   ---------------------------------------------------------- */

.contact-page .contact-switch {
    grid-column: 1 / -1;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 28px;
    padding: 14px 16px;
    border: 1px solid #e7e7e7;
    background: var(--contact-background);
}

.contact-page .contact-switch label {
    display: flex !important;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    color: var(--contact-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
}

.contact-page .contact-switch input {
    flex: 0 0 17px;
    width: 17px !important;
    min-width: 17px;
    height: 17px;
    margin: 0 10px 0 0 !important;
    padding: 0;
    cursor: pointer;
    accent-color: var(--contact-accent);
}

/* ----------------------------------------------------------
   CAPTCHA
   ---------------------------------------------------------- */

.contact-page .contact-captcha {
    margin: 8px 0 28px;
}

.contact-page .contact-captcha > div {
    padding: 0;
}

/* ----------------------------------------------------------
   Response note
   ---------------------------------------------------------- */

.contact-page .contact-response-note {
    margin: 0 0 22px;
    padding: 12px 16px;
    border-left: 3px solid var(--contact-accent);
    background: var(--contact-background);
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

/* ----------------------------------------------------------
   Submit button
   ---------------------------------------------------------- */

.contact-page .sc_form_button {
    margin-top: 0;
    text-align: center;
}

.contact-page .sc_form_button .sc_button {
    min-width: 230px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .03em;
}

.contact-page .sc_form_button button {
    position: relative;
}

.contact-page .contact-submit-loader {
    display: none;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -3px;
    animation: contact-submit-spin .7s linear infinite;
}

.contact-page .sc_form_button button.is-loading {
    cursor: wait;
    opacity: .75;
    pointer-events: none;
}

.contact-page .sc_form_button button.is-loading .contact-submit-loader {
    display: inline-block;
}

@keyframes contact-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ----------------------------------------------------------
   Alerts
   ---------------------------------------------------------- */

.contact-page .sc_infobox {
    margin-bottom: 30px;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    /* Layout */
    .contact-page .sc_columns {
        display: block;
    }

    .contact-page .sc_form_address,
    .contact-page .sc_form_fields {
        float: none;
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .contact-page .sc_form_address {
        margin-bottom: 40px;
    }

    /* Header */
    .contact-page .contact-intro {
        margin-bottom: 28px;
        padding: 14px 18px;
        font-size: 15px;
    }

    .contact-page .sc_form_title {
        font-size: 28px;
    }

    /* Form */
    .contact-page .sc_form_info {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .contact-page .contact-switch,
    .contact-page .contact-subject {
        grid-column: auto;
    }

    .contact-page .contact-switch {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 14px 16px 14px 10px !important;
        box-sizing: border-box;
    }

    /* Barcode */
    .contact-page .contact-barcode {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center !important;
    }

    .contact-page .contact-response-note {
        margin-bottom: 20px;
        padding: 11px 13px;
        font-size: 13px;
    }

    /* Submit */
    .contact-page .sc_form_button .sc_button {
        width: 100%;
    }
}

/* ----------------------------------------------------------
   Google Map
   ---------------------------------------------------------- */

.contact-page .sc_googlemap {
    height: 428px;
}

@media only screen and (max-width: 767px) {
    .contact-page .sc_googlemap {
        height: 320px !important;
    }
}

@media only screen and (max-width: 479px) {
    .contact-page .sc_googlemap {
        height: 280px !important;
    }
}
