/*!
Theme Name: tfs
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tfs
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

tfs is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.grecaptcha-badge {
    visibility: hidden !important;
}
.publicated {
    margin: 20px 0;
}
span.tps-featured-priority-display {
    margin-right: 5px;
    font-weight: 600;
}
.top-menu li {
    position: relative;
    z-index: 10;
}
.vacancy-single ul {
    margin-bottom: 2rem !important;
}
.vacancy-single ul ul {
    margin-bottom: 0;
}

.charity-loadmore-wrap {
    margin-top: 25px;
}
.post-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 25px 0;
}
.post-images-grid__item {
    position: relative;
    padding-top: 57%;
}
.post-images-grid__item img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}
.post-images-grid--grid-three {
    grid-template-columns: repeat(3, 1fr);
}
.post-images-grid--grid-two {
    grid-template-columns: repeat(2, 1fr);
}
.post-images-grid--grid-five {
    grid-template-columns: repeat(5, 1fr);
}
.hide-on-mobile {
}
.floating-menu {
    position: fixed;
    bottom: 84px;
    right: 20px;
    display: inline-block;
    z-index: 99;
    /* opacity: 0.7; */
}
.admin-bar .floating-menu {
    display: inline-block;
}
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}
.floating-btn__label {
    position: absolute;
    bottom: 1px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 10px;
    color: #000;
}
.floating-btn img {
    /* width: 30px; */
    /* height: 30px; */
}

.floating-buttons {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: absolute;
    bottom: 60px;
    left: 0;
}

.floating-menu.open .floating-buttons {
    display: flex;
}

.floating-menu.open #mainButton {
    /* transform: rotate(45deg); */
}
.brif {
}
.brif-constructor {
}
.brif__container {
    width: 1140px;
    margin: 0 auto;
    max-width: 100%;
}
.brif-constructor__step {
    display: none;
}
.brif-constructor__step:first-child {
    display: block;
}
.brif-constructor__head {
    padding: 20px 0;
}
.brif-constructor__title {
    color: #000;
    font-size: 3.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.brif-templates-hidden {
    display: none;
}
.brif-constructor__body {
}
.brif-constructor__footer {
    text-align: center;
    padding: 20px 0;
}
.brif-constructor__button {
    width: fit-content;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(58, 124, 177)), to(rgb(40, 57, 113)));
    background: -webkit-linear-gradient(top, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background: -moz-linear-gradient(top, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background: linear-gradient(180deg, #3a7cb1, #283971);
    border-radius: 8px;
    color: #fff;
    padding: 1.6rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    max-width: 100%;
    border: 0;
    outline: 0;
}
.brif-generated-item {
    display: flex;
    padding: 30px 35px;
    border-radius: 10px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.18);
    box-shadow: 0 0 13px #0000002e;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.brif-generated-item:last-child {
    margin-bottom: 0;
}
.brif-items {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.brif-item {
    position: relative;
    background: blue;
    text-align: center;
    padding: 20px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    flex: 1 1 0px;
    color: #fff;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: -moz-linear-gradient(0deg, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
}
.brif-item:hover {
    background-image: -moz-linear-gradient(0deg, rgb(53, 110, 156) 0%, rgb(33, 47, 94) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(53, 110, 156) 0%, rgb(33, 47, 94) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(53, 110, 156) 0%, rgb(33, 47, 94) 100%);
}
.brif-item.active {
}
.brif-item.active .brif-item__checkbox::after {
    display: inline-block;
}
.brif-item__title {
    font-size: 1.9rem;
    font-weight: 600;
}
.brif-item__img {
    margin: auto;
}
.brif-item__checkbox {
    width: 25px;
    height: 25px;
    background: url('./img/checkbox.png') center center no-repeat;
    position: absolute;
    bottom: 18px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.brif-item__checkbox::after {
    content: '';
    display: none;
    height: 13px;
    width: 13px;
    position: absolute;
    background: url('./img/checkbox-active.png') center center no-repeat;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.brif-base-field label span {
    display: block;
}
.brif-generated-item__head {
    display: flex;
    width: 100%;
    gap: 20px;
}
.brif-generated-item__head-left {
    width: 25%;
}
.brif-generated-item__head-right {
    flex-grow: 1;
}
.brif-generated-item__title {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.brif-base-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.brif-base-field label span,
.brif-base-field__label {
    font-size: 1.4rem;
}
.brif-base-fields input,
.brif-base-fields select {
    border-radius: 5px;
    border: 1px solid #c7cdd3;
    padding: 5px;
    width: 100%;
}

.full-brief-fields {
    width: 100%;
    margin-top: 20px;
}
.full-brif-field {
    margin-bottom: 25px;
}
.full-brief-field__label {
    font-size: 1.8rem;
    font-weight: 600;
}
.full-brif-field input[type='text'] {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #c7cdd3;
    padding: 10px;
}
.full-brif-field textarea {
    width: 100%;
    height: 100px;
    border-radius: 5px;
    border: 1px solid #c7cdd3;
    padding: 10px;
}
.brif-company-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.brif-company-field {
}
.brif-company-field input {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #c7cdd3;
    padding: 10px;
}
.brif-interaction-type {
    display: flex;
    /* flex-direction: column; */
    gap: 20px;
    margin-bottom: 30px;
}
.brif-interaction-type button {
    width: fit-content;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(58, 124, 177)), to(rgb(40, 57, 113)));
    background: -webkit-linear-gradient(top, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background: -moz-linear-gradient(top, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background: linear-gradient(180deg, #3a7cb1, #283971);
    border-radius: 8px;
    color: #fff;
    padding: 2rem 3rem;
    font-size: 1.6rem;
    font-weight: 600;
    max-width: 100%;
    border: 0;
    outline: 0;
    flex: 1 1 50%;
}
.radio-label {
    display: inline-block;
    margin: 9px 35px 0px 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.choose-jar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.choose-jar__info table {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
}
.choose-jar__info table td {
    border: 1px solid #cbcbcb;
    padding: 5px 5px;
}
.choose-jar__button {
    position: relative;
    background: blue;
    text-align: center;
    padding: 20px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    flex: 1 1 0px;
    color: #fff;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: -moz-linear-gradient(0deg, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(58, 124, 177) 0%, rgb(40, 57, 113) 100%);
}
.choose-jar__title {
    font-size: 1.9rem;
    font-weight: 600;
}
.choose-jar__img {
    margin: auto;
}
.choose-jar__button.active .choose-jar__checkbox::after {
    display: inline-block;
}
.choose-jar__checkbox {
    width: 25px;
    height: 25px;
    background: url('./img/checkbox.png') center center no-repeat;
    position: absolute;
    bottom: 18px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.choose-jar__checkbox::after {
    content: '';
    display: none;
    height: 13px;
    width: 13px;
    position: absolute;
    background: url('./img/checkbox-active.png') center center no-repeat;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.hidden-toggled-field {
    display: none;
}
.hidden-toggled-field.active {
    display: block;
}
article .security {
    margin: 30px 0;
}
.ethic-list__pdf::before {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: 39px;
    height: 50px;
    background: url('./img/pdf-icon.svg') center center no-repeat;
    background-size: contain;
}
.ethic-list__pdf::after {
    content: 'Скачать PDF';
    position: absolute;
    bottom: 12px;
    right: 60px;
    font-size: 1.2rem;
    text-decoration: underline;
    text-indent: 0;
    color: #000;
    opacity: 0.9;
}
.package-filter__value.active {
    background: #283970;
    color: #fff;
}
.contacts-route {
    margin-top: -30px;
}
.contacts-route__container {
    text-align: center;
    width: 1024px;
    max-width: 100%;
    margin: 15px auto;
    padding: 0 21px;
}
.primary-btn--route img {
    width: 20px;
    margin-right: 8px;
}
.postid-2214 .security-slider__slide a::before {
    display: none;
}
@media all and (max-width: 786px) {
    .post-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacts-route {
        margin-top: -9vw;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .floating-btn {
        width: 40px;
        height: 40px;
        padding: 0;
    }
    .sogr-loadmore-wrap {
        padding-top: 30px !important;
    }
    .floating-btn img {
        /* width: 22px; */
        /* height: 22px; */
    }
    .floating-buttons {
        bottom: 34px;
        gap: 3px;
    }
    .floating-btn__label {
        font-size: 6px;
    }
    .charity-hero {
        border-radius: 9px !important;
        margin-left: auto;
        margin-right: auto;
        width: -webkit-calc(100% - 24px);
        width: -moz-calc(100% - 24px);
        width: calc(100% - 24px);
        margin: 12px auto;
    }
    .ethic-list__pdf::before {
        content: '';
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 24px;
        height: 27px;
        background: url('./img/pdf-icon.svg') center center no-repeat;
        background-size: contain;
    }
    .ethic-list__pdf::after {
        bottom: 3px;
        right: 37px;
        font-size: 1rem;
    }
}
@media all and (max-width: 400px) {
    .achievements-social__links {
        gap: 6px;
        flex-wrap: wrap;
    }
}
.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    overflow: hidden;
}

.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.phone-row__right {
    text-align: right;
}
