/* ===================================================================================

Theme Name: Sparker Child
Template:     sparker

====================================================================================== */

.header-lower {
    position: sticky;
    top: 0;
}

body.admin-bar .header-lower {
    top: 32px;
}

.header-contacts {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0;
    list-style-type: none;
}

.header-contacts__item {
    margin-left: 30px;
    font-size: 14px;
}

.header-contacts__item:first-of-type {
    margin-left: 0;
}

.header-contacts__item a {
    display: inline-block;
    margin-left: 5px;
}

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}



/* Contact Popup */

.contact-popup {
    max-width: 90%;
    width: 720px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
}

.contact-popup__title {
    line-height: 1;
    margin-bottom: 20px;
}



/* Contact Form */

.contact-form-control {
    margin-bottom: 20px;
}

.contact-form-control:last-of-type {
    margin-bottom: 0;
}

.contact-form-control--message textarea {
    resize: vertical;
}

.contact-form-control .wpcf7-not-valid-tip {
    font-size: 14px;
}

.contact-form + .wpcf7-response-output {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.contact-form-control--consent span.wpcf7-list-item {
    margin: 0;
}

.contact-form-control--consent .wpcf7-list-item-label {
    cursor: pointer;
}

.contact-form-control--consent a {
    text-decoration: underline;
    color: #0f7dff;
}

.contact-form-control--consent a:hover {
    text-decoration: none;
}



@media screen and (max-width: 767px) {
    .logo-header-inner {
        margin-bottom: 0;
        padding: 20px 0 0;
    }

    .main-menu .navbar-header .navbar-toggle {
        margin-top: 15px;
    }
}


@media screen and (max-width: 576px) {
    .main-menu .navbar-header .navbar-toggle {
        margin-top: 0;
    }

    .logo-header-inner img {
        max-width: 200px;
    }

    .header-contacts {
        margin-left: 0;
        justify-content: center;
    }
}