.tab-content {
    display: none;
}
.tab-content.active,
.tab-content:target {
    display: block;
}
.tab-nav {
    display: flex;
    justify-content: space-between;
    /*gap: 20px;*/
}
.tab-link {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 25px;
    text-align: center;
    color: #121132;
    border-radius: 48px;
    background-color: #e6e6fa;
    border: 2px solid #121132;
    box-shadow: inset 0 4px 14px 0 rgba(0, 0, 0, 0.36);
    padding: 20px 40px;
    cursor: pointer;
    min-width: 48%;
}
.tab-link.active {
    color: #e6e6fa;
    background-color: #121132;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.to-bloggers {
    margin: 50px auto 80px;
    display: grid;
}
.to-bloggers-title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 28px;
    color: #121132;
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 1;
    align-self: start;
    justify-self: start;
    /*text-wrap: balance;*/
    max-width: 580px;
    line-height: 36px;
}
.to-bloggers-img {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
}
.to-bloggers-btn {
    border-radius: 35px;
    max-width: 361px;
    height: 68px;
    box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.25), -6px -4px 12px 0 rgba(255, 255, 255, 0.75);
    background: #121132;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 25px;
    text-align: center;
    color: #e6e6fa;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
}
.bloggers-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.bloggers-calc-title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 56px;
    color: #121132;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    line-height: 65px;
}
.bloggers-calc-desc {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 21px;
    color: #121132;
    grid-row-start: 2;
    grid-row-end: 3;
    margin: 35px auto;
}
.bloggers-calc-form {
    border: 1px solid #121132;
    border-radius: 20px;
    width: 405px;
    height: 398px;
    background: #e6e6fa;
    grid-row-start: 3;
    grid-row-end: 4;
    justify-self: center;
}
.bloggers-calc-socials {
    grid-row-start: 4;
    grid-row-end: 5;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    max-width: 377px;
    justify-self: center;
}
.socials_btn {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}
.bloggers-calc-video,
.bloggers-calc-img {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 5;
    justify-self: center;
    width: 361px;
    height: 642px;
    position: relative;
}
.bloggers-calc-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 1;
    display: none;
}
.bloggers-calc-video-play.active {
    display: block;
}
.bloggers-calc-video video,
.bloggers-calc-img img {
    border: 1px solid #121132;
    border-radius: 20px;
    box-shadow: 4px 4px 6px 0 rgba(21, 41, 87, 0.25), -4px -4px 4px 0 rgba(255, 255, 255, 0.6);
    background: #e6e6fa;
    cursor: pointer;
}
.cooperation-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 75px;
    line-height: 1.06667;
    text-align: center;
    color: #121132;
    margin-bottom: 50px;
}
.to-adverts-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 21px;
    text-align: center;
    color: #121132;
    max-width: 700px;
    margin: 60px auto;
}
.to-adverts-socials {
    display: flex;
    flex-wrap: wrap;
    column-gap: 50px;
    row-gap: 0;
    justify-content: center;
    margin-top: 40px;
}
.bloggers-calc-form form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 40px;
    height: 100%;
}
.bloggers-calc-form-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    text-align: center;
    color: #121132;
    margin-bottom: 15px;
}
.bloggers-calc-form-radio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    margin: 15px auto 30px;
}
.bloggers-calc-form-radio_row {
    display: flex;
    margin: 15px auto 30px;
    gap: 25px;
}
.bloggers-calc-form input[type=number]::-webkit-outer-spin-button,
.bloggers-calc-form input[type=number]::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
.bloggers-calc-form-radio input[type=radio] {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 17px;
    color: #121132;
}
.custom-radio {
    display: inline-block;
    /*margin-right: 10px;*/
}
.custom-radio input[type=radio] {
    display: none;
}
.custom-radio label {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    /*padding-left: 25px;*/
    margin-right: 0;
    line-height: 18px;
    user-select: none;
}
.custom-radio label:before {
    content: "";
    display: inline-block;
    border-radius: 7px;
    width: 21px;
    height: 21px;
    box-shadow: inset 2px 2px 4px 0 rgba(18, 17, 50, 0.52), inset -2px -2px 4px 0 rgba(255, 255, 255, 0.6);
    background: #e6e8fa;
    transition: all .3s ease-in-out;
}
.custom-radio input[type=radio]:checked + label:before {
    box-shadow: 2px 2px 4px 0 rgba(18, 17, 50, 0.52), -2px -2px 4px 0 rgba(255, 255, 255, 0.6);
    background: #121132;
}
.custom-radio label:hover:before {
    background: #121132;
}
.bloggers-calc-form-range {
    border-radius: 100px;
    width: 277px;
    height: 38px;
    box-shadow: inset 2px 2px 4px 0 rgba(18, 17, 50, 0.52), inset -2px -2px 4px 0 rgba(255, 255, 255, 0.6);
    background: #e6e8fa;
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 500;
    font-size: 17px;
    line-height: 0.924;
    text-align: center;
    color: #8f8da0;
    margin-bottom: 20px;
}
.bloggers-calc-form-result {
    border-radius: 35px;
    width: 221px;
    height: 52px;
    box-shadow: 2px 4px 8px 0 rgba(0, 0, 0, 0.25), -6px -4px 12px 0 rgba(255, 255, 255, 0.75);
    background: #8490c8;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: #121132;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}
.bloggers-calc-form-limit {
    color: #818181;
    padding-top: 10px;
    font-size: 12px;
}
.socials_btn {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #121132;
}
video {
    max-width: 100%;
}
@media(max-width:998px){
    .cooperation-title {
        font-size: 33px;
        line-height: 38px;
        overflow-wrap: break-word;
    }
    .tab-nav {
        gap: 15px;
    }
    .tab-link {
        font-size: 16px;
        line-height: 1.125;
        padding: 10px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 60px;
    }
    .to-bloggers {
        display: flex;
        flex-direction: column;
        margin: 40px auto 0;
    }
    .to-bloggers-title {
        font-weight: 600;
        font-size: 15px;
        text-align: center;
        line-height: 18px;
    }
    .to-bloggers-img {
        /*display: none;*/
    }
    .to-bloggers-img img {
        margin-top: 20px;
        max-width: 100%;
    }
    .to-bloggers-btn {
        margin: 0 auto;
        position: relative;
        bottom: 55px;
        max-width: 100%;
        width: 336px;
        max-width: 100%;
        height: 62px;
        border-radius: 35px;
    }
    .bloggers-calc {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .bloggers-calc-title {
        font-weight: 700;
        font-size: 23px;
        text-align: center;
        order: 1;
        line-height: 26px;
    }
    .bloggers-calc-desc {
        font-weight: 600;
        font-size: 15px;
        text-align: center;
        order: 2;
    }
    .bloggers-calc-img,
    .bloggers-calc-video {
        margin: 35px auto;
        max-width: 98%;
        order: 0;
        height: auto;
        /*display: none;*/
    }
    .bloggers-calc-video-play.active {
        display: none;
    }
    .bloggers-calc-socials {
        order: 5;
    }
    .bloggers-calc-form {
        max-width: 326px;
        height: 417px;
        width: 100%;
        order: 3;
    }
    .bloggers-calc-form form {
        padding: 25px;
    }
    .bloggers-calc-form-title {
        font-size: 15px;
    }
    .bloggers-calc-form-radio input[type=radio] {
        font-size: 15px;
    }
    .bloggers-calc-form-range {
        max-width: 277px;
        width: 100%;
    }
    .to-adverts-text {
        font-weight: 600;
        font-size: 15px;
        margin: 40px auto;
    }
    .to-adverts-form .footer_form {
        margin: 0 auto 20px;
    }
    .to-adverts-socials {
        justify-content: start;
        margin-top: 20px;
    }
    .socials_btn svg {
        max-width: 54px;
        max-height: 54px;
    }
    .socials_btn {
        font-size: 15px;
    }
}
/*.cooperation-head-img-mobile {
    display: none;
}
.container.cooperation {
    background-image: url(/imgs/cooperation_head.png?1);
    background-repeat: no-repeat;
    background-position: top right;
}
form[name="cooperation"].footer_form {
    max-width: none;
}
form[name="cooperation"] .footer_form-inner {
    justify-content: center;
    gap: 30px;
}
.cooperation-head-title {
    color: #121132;
    font-size: 75px;
    font-weight: 700;
    line-height: 80px;
    margin-bottom: 30px;
}
.cooperation-head-text {
    color: #121132;
    font-size: 21px;
    font-weight: 500;
    line-height: 25.6px;
    max-width: 560px;
}
@media(max-width:998px){
    .container.cooperation {
        background-image: none;
    }
    .cooperation-head-img-mobile {
        display: block;
        text-align: center;
    }
    .cooperation-head-img-mobile img {
        max-width: 100%;
    }
    .cooperation-head-title {
        font-size: 33px;
        line-height: 38px;
    }
    .footer_form-title {
        margin-top: 0;
        font-size: 33px;
        line-height: 38px;
        text-align: left;
        margin-bottom: 20px;
    }
    form[name="cooperation"] .footer_form-inner {
        gap: 0;
        flex-direction: column;
    }
    .footer_form-inps, .footer_form-area {
        width: auto;
    }
}*/


/*

.cooperation-head-img-mobile {
    display: none;
}
.container.cooperation {
    background-image: url(/imgs/cooperation_head.png?1);
    background-repeat: no-repeat;
    background-position: top right;
}
form[name="cooperation"].footer_form {
    max-width: none;
}
form[name="cooperation"] .footer_form-inner {
    justify-content: center;
    gap: 30px;
}
.cooperation-head-title {
    color: #121132;
    font-size: 75px;
    font-weight: 700;
    line-height: 80px;
    margin-bottom: 30px;
}
.cooperation-head-text {
    color: #121132;
    font-size: 21px;
    font-weight: 500;
    line-height: 25.6px;
    max-width: 560px;
}
@media(max-width:998px){
    .container.cooperation {
        background-image: none;
    }
    .cooperation-head-img-mobile {
        display: block;
        text-align: center;
    }
    .cooperation-head-img-mobile img {
        max-width: 100%;
    }
    .cooperation-head-title {
        font-size: 33px;
        line-height: 38px;
    }
    .footer_form-title {
        margin-top: 0;
        font-size: 33px;
        line-height: 38px;
        text-align: left;
        margin-bottom: 20px;
    }
    form[name="cooperation"] .footer_form-inner {
        gap: 0;
        flex-direction: column;
    }
    .footer_form-inps, .footer_form-area {
        width: auto;
    }
}*/
