/*
Theme Name: Bereg

*/
.wpcf7-not-valid {
    border: 1px solid red !important;
}

.wpcf7-not-valid-tip, .wpcf7-validation-errors {
    display: none !important;
}

.pagination .current {
    background-color: #0c6638;
    color: #fff;
}

.pagination span.current {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    -webkit-transition: color .3s, background-color .3s;
    transition: color .3s, background-color .3s;
}

.hidden {
    display: none !important;
}

div.wpcf7-mail-sent-ok {
    border: none !important;
}

.section--gray .wpcf7-mail-sent-ok {
    color: #fff;
}

.no_margin {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

@media only screen and (min-width: 1000px) {
    .home .hero-inner::before {
        display: none;
    }

    .header-contact a {
        display: none;
    }
}


@media only screen and (max-width: 1000px) {

    .header-contact span {
        display: none;
    }
}

.slider--clients .slide__img img {
    opacity: 1;
    -webkit-filter: none;
    filter: none;
}

.number-item.-main {
    margin-bottom: 40px
}

.custom-description-section {
    padding: 40px 0;
}

.custom-description {
    margin: 0 0 15px
}

.custom-description.-hidden {
    display: none
}

.custom-description {
    font-size: 16px;
    line-height: 1.5
}

.custom-description p + p {
    margin: 15px 0 0
}

.custom-description h1, .custom-description h2, .custom-description h3, .custom-description h4, .custom-description h5, .custom-description h6 {
    font-weight: 700 !important;
    margin: 20px 0 !important;
    color: #484848
}

.custom-description h1 {
    font-size: 30px
}

.custom-description h2 {
    font-size: 28px;
    line-height: 1.5 !important;
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important
}

.custom-description h3 {
    font-size: 26px
}

.custom-description h4 {
    font-size: 24px
}

.custom-description h5 {
    font-size: 22px
}

.custom-description h6 {
    font-size: 20px
}

.custom-description a {
    color: inherit;
    border-bottom: 1px solid;
}

.custom-description a:hover {
    color: #0e6aaf
}

.custom-description ul, .custom-description ol {
    margin: 15px 0;
    list-style: inherit;
    padding: 0 0 0 20px
}

.custom-description .wp-caption {
    margin: 15px 0;
    width: auto !important
}

.custom-description .wp-caption-text {
    margin: 10px 0 0;
    font-size: 14px
}

.custom-description-btn-more {
    font-size: 16px;
    display: inline-block;
    cursor: pointer;
    color: #0e6aaf;
    border-bottom: 1px solid
}

.error-section {
    padding: 0 0 40px;
}

.error-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 30px;
}

.error-subtitle {
    font-size: 100px;
    line-height: 1;
    text-align: center;
    margin: 0 0 30px;
    font-weight: 700;
}

.error-descr {
    font-size: 18px;
    text-align: center;
    margin: 0 0 15px;
}

.error-descr a {
    display: inline-block;
    border-bottom: 1px solid;
}

.error-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.error-list-item {
    margin: 5px;
    background: #0c6638;
    color: #fff;
    padding: 5px;
}

.error-list-item:hover span {
    border-color: #fff;
}

.error-list-item span {
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: all .3s ease;
}

.header__nav-in .sub-menu {
    margin: 10px 0 20px;
    font-weight: 300;
}

.header__nav-in .sub-menu li {
    display: block;
    margin: 0;
    font-size: 14px;
}

.header__nav-in .sub-menu li + li {
    margin: 5px 0 0;
}

.header__nav-in .sub-menu a {
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.header__nav-in .-sub .sub-menu li:last-child {
    font-weight: 700;
}

.header__nav-in .menu-item-has-children {
    font-weight: 700;
}
@media (min-width:992px){
    .header__nav-in .menu-item-has-children:hover .sub-menu {
        opacity: 1;
        visibility: visible;
    }

    .header__nav-in .sub-menu a:hover {
        color: #fff;
        border-color: inherit;
    }

    .header__nav-in .sub-menu:before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 10px;
        background: transparent;
    }

    .header__nav-in .sub-menu {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        width: 220px;
        top: calc(100% + 10px);
        padding: 10px;
        background: #0c6638;
        color: #fff;
        transition: all .3s ease;
        margin: 0;
    }
}

.features__item .feature__icon {
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

.call-form__title h4 {
    font-size: 26px;
}

.call-form__subttl {
    font-size: 18px;
}

.call-form__form .form__field + .form__field {
    margin: 10px 0 0;
}

@media only screen and (max-width: 767px) {

    .call-form__form {
        max-width: 320px;
        margin: 30px auto 0;
    }

    .call-form__subttl, .call-form__title {
        text-align: center;
    }
}
.grecaptcha-badge {
    visibility: hidden;
    opacity: 0;
}