/*!
Theme Name: escorewp
Text Domain: escorewp
*/

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
    margin-bottom: 10px;
}

.wpcf7-spinner {
    position: absolute;
}

.scroll {
    position: absolute;
    overflow: hidden;
    margin-top: -120px;
    visibility: hidden;
}

.header-wrap__nav--languages {
    position: relative;
}

.language-current {
    padding: 13px 32px 16px 16px;
    border: solid 1px #04574D;
    border-radius: 600px;
    font-weight: 600;
    background: url('./assets/img/main/lang.svg') no-repeat 75% center;
    list-style-type: none;
    cursor: pointer;
    background-color: #fff;
}

.language-switcher {
    list-style-type: none;
    position: absolute;
    left: 0;
    width: 100%;
    top: 70px;
    border: 1px solid #04574D;
    background-color: #fff;
    border-radius: 16px;
    padding: 8px 16px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.language-switcher__active {
    opacity: 1;
    visibility: visible;
}

.language-switcher li {
    padding-bottom: 4px;
    margin-bottom: 8px;
    border-bottom: solid 1px #C0C0C0;
}

.language-switcher li:last-child {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.language-switcher .currnet {
    color: #04574D;
}

.language-switcher li a {
    color: #C0C0C0;
}

.to-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 50;
    transition: .3s;
    cursor: pointer;
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

.energy-wrap__list .item-image {
    z-index: 2;
}

.energy-wrap__list .item-image img {
    z-index: -1;
}

.credit-wrap__top--text {
    max-width: 360px;
}

@media (max-width: 1200px) {
    .language-current {
        display: none;
    }

    .language-switcher {
        position: static;
        opacity: 1;
        visibility: visible;
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        border: none;
        padding: 0;
        margin: 0 auto;
    }

    .language-switcher li {
        padding: 13px 24px !important;
        border: solid 1px #04574D !important;
        margin: 0 12px;
        border-radius: 600px;
    }

    .language-switcher li a {
        color: #04574D;
    }

    .language-switcher .current {
        background-color: #04574D;
        color: #fff;
    }
}

@media (max-width: 550px) {

    .to-top {
        right: 0;
        bottom: 0;
    }

    .to-top svg {
        max-width: 90px;
        max-height: 90px;
    }
}