﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */


/********must have styles *********************************/

.b24-form-sign {
    display: none !important;
}

.acf-comment-fields {
    display: none !important;
}

/* Пульсирующая форма Bitrix */
.modal-bodydip2 {
    padding: 0 20px 10px 20px;
}

.modal-bodydip-beg-s-mar {
    overflow: hidden;
    white-space: nowrap;
    animation: marquee 10s linear infinite alternate;
    padding: 5px;
    font-size: 13px;
}

.b24-form-padding-side {
    padding-left: 10px;
    padding-right: 10px;
}

.b24-form-control {
    width: 100% !important;
}

.b24-form-control-container input {
    width: 100% !important;
}

.btn_new_form_2212 {
    font-size: 14px;
    font-weight: 600;
    color: #2e302f;
    text-decoration: underline;
    padding: 5px 10px;
    /* font-family: 'Roboto', Arial, sans-serif; */
    /* display: inline-block; */
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #FFFFFF;
    cursor: pointer;
    margin-right: -1px;
    position: relative;
    overflow: hidden;
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
}

.btn_new_form_2212[data-name="whatsapp"]:before {
    background-image: url(/wp-content/uploads/2024/10/whatsapp_logo.svg);
}

.btn_new_form_2212[data-name="telegram"]:before {
    background-image: url(/wp-content/uploads/2024/10/telegram_logo.svg);
}

.btn_new_form_2212:before {
    content: "";
    display: block;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.btn_new_form_2212 span {
    display: inline-block;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

@keyframes marquee {
    from {
        text-indent: 100%;
    }

    to {
        text-indent: 0;
    }
}

.dip-bottom-b {
    color: #fff;
}

.modal-header-h {
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
    margin-top: 5px;
}

.modaldip {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-contentdip {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0 0 15px 0;
    border: 0 solid #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.closedip {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closedip:hover,
.closedip:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-headerdip {
    padding: 2px 16px;
    background-color: #d9d9d9;
    color: #000;
    border-bottom: 1px solid #d1caca;
}

.modal-bodydip {
    font-size: 12px;
    padding: 0 0;
}

.modal-footerdip {
    padding-bottom: 5px;
    background-color: #fff;
    color: #000;
    text-align: center;
    font-size: 13px;
}

.callback-bt {
    background: #38a3fd;
    border: 2px solid #38a3fd;
    border-radius: 50%;
    box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3);
    cursor: pointer;
    height: 90px;
    text-align: center;
    width: 90px;
    position: fixed;
    left: 5%;
    bottom: 5%;
    z-index: 9999;
    transition: .3s;
    -webkit-animation: hoverWave linear 1.3s infinite;
    animation: hoverWave linear 1.3s infinite;
}

.callback-bt .text-call {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.callback-bt .text-call span {
    text-align: center;
    color: #fff;
    opacity: 1;
    font-size: 9px;
    position: absolute;
    right: 0;
    top: 24px;
    line-height: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity .3s linear;
    font-family: 'montserrat', Arial, Helvetica, sans-serif;
}

@-webkit-keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56,
                163, 253, 0.2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}

@keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 0 rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56,
                163, 253, 0.2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 15px rgba(56, 163, 253, 0.2), 0 0 0 0 rgba(56, 163, 253, 0.2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 26.7px rgba(56, 163, 253, 0.067)
    }

    100% {
        box-shadow: 0 8px 10px rgba(56, 163, 253, 0.3), 0 0 0 30px rgba(56, 163, 253, 0), 0 0 0 40px rgba(56, 163, 253, 0.0)
    }
}

@keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@-webkit-keyframes shake {
    0% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }

    10% {
        transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
    }

    20% {
        transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
    }

    30% {
        transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
    }

    40% {
        transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
    }

    50% {
        transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
    }

    60% {
        transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
    }

    70% {
        transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
    }

    80% {
        transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
    }

    90% {
        transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
    }

    100% {
        transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
    }
}

@media (max-width: 767px) {
    .modal-contentdip {
        width: 93%;
    }

    .modaldip {
        padding-top: 20px;
    }

    .modal-footerdip {
        padding-bottom: 15px;
    }

    .bottom_text {
        font-size: 11px;
        margin-top: 5px;
    }
}

/* КОНЕЦ: Пульсирующая форма Bitrix */

/********  custom styles *********************************/


:root {
    --light: #f5f5f5;
    --dark: #474F54;
    --primary: #474F54;
    /* --red: #E34484; */
    --red: #E34484;
    --secondary: #E34484;
    --blue-hover: #dbd9ea;
}

.site-header-fixed {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.btn {
    padding: .8em 2em;
    border-radius: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--blue);
    color:var(--dark); */
}

a.btn.btn-primary {
    color: #f5f5f5;
}

.btn-sm {
    padding: .4em 1.5em;
}

.btn.btn-secondary {
    background: var(--dark);
    color: var(--light);
}

.btn-secondary:hover {
    background: var(--blue-hover);
    color: var(--dark);
}

/*** home ***/
.home-content,
.custom-category-content {
    position: relative;
    margin-bottom: 2rem;
    background-color: var(--dark);
    color: var(--light);
    padding: 25px 15px;
    border-radius: 16px;
    text-align: center;
    overflow: hidden;
}
.home-content .home-header  {
    color: var(--light);   
}

.home-content:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(/wp-content/uploads/2024/10/volnistoe1200-1.jpg) no-repeat center / cover;
    width: 100%;
    height: 100%;
    opacity: 0.12;
}

.home-content h1,
.home-content div {
    position: relative;
    z-index: 2;
}

.home-search-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.archive .post-cards {
    margin-bottom: 32px;
}

.page__404__btn__wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    align-self: center;
    justify-content: center;
}

.post-card.post-card--vertical {
    border-radius: 16px;
}

/*** form ***/
.contact-form .field-contact-name,
.contact-form .field-contact-email,
.contact-form .field-contact-subject,
input[type="search"],
textarea {
    width: 100%;
    padding: 10px 16px;
    border-radius: 16px;
}

@media (min-width: 768px) {

    .contact-form .field-contact-name,
    .contact-form .field-contact-email,
    .contact-form .field-contact-subject,
    input[type="search"],
    textarea {
        width: 100%;
        padding: 10px 16px;
    }
}

/*** footer ***/
.block-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    text-decoration: none;
    position: relative;
    padding-left: 24px;
    line-height: normal;
    font-weight: bold;
    transition: 0.3s;
}

.contact-link:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 16px;
    height: 16px;
}

.contact-link.phone:before {
    background: url(/wp-content/uploads/2024/10/phone.svg) no-repeat center / contain;
}

.contact-link.email:before {
    background: url(/wp-content/uploads/2024/10/mail.svg) no-repeat center / contain;
}

.site-footer .social-button {
    background: rgba(250, 250, 250, 0.15);
}

.site-footer .social-links {
    margin-bottom: 1rem;
}

.site-footer .footer-payment .custom-html-widget {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px;
    background-color: rgba(250, 250, 250, 0.85);
    border-radius: 8px;
    max-width: 100%;
}

.site-footer .footer-payment .custom-html-widget img {
    max-height: 25px;
}

.footer-widget .widget-header {
    color: var(--blue);
}

.search-icon:hover:before {
    color: var(--blue) !important;
}

.search-icon:hover {
    color: var(--blue);
}

.expert-review {
    border-radius: 16px;
}

.expert-review-poll {
    border-radius: 16px;
}

.sticky-sidebar.js-sticky-sidebar.is_stuck {
    margin-top: 90px;
}

.comments-area .comment-form-url,
.acf-comment-fields {
    display: none !important;
}

.comments-area .comment-respond .comment-form-author,
.comments-area .comment-respond .comment-form-email {
    width: 49%;
}

.bx-form-wrap {
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding-bottom: 16px;
}

.post-card__title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.star-rating-item.hover,
.star-rating--score-1:not(.hover) .star-rating-item:nth-child(1),
.star-rating--score-2:not(.hover) .star-rating-item:nth-child(1),
.star-rating--score-2:not(.hover) .star-rating-item:nth-child(2),
.star-rating--score-3:not(.hover) .star-rating-item:nth-child(1),
.star-rating--score-3:not(.hover) .star-rating-item:nth-child(2),
.star-rating--score-3:not(.hover) .star-rating-item:nth-child(3),
.star-rating--score-4:not(.hover) .star-rating-item:nth-child(1),
.star-rating--score-4:not(.hover) .star-rating-item:nth-child(2),
.star-rating--score-4:not(.hover) .star-rating-item:nth-child(3),
.star-rating--score-4:not(.hover) .star-rating-item:nth-child(4),
.star-rating--score-5:not(.hover) .star-rating-item:nth-child(1),
.star-rating--score-5:not(.hover) .star-rating-item:nth-child(2),
.star-rating--score-5:not(.hover) .star-rating-item:nth-child(3),
.star-rating--score-5:not(.hover) .star-rating-item:nth-child(4),
.star-rating--score-5:not(.hover) .star-rating-item:nth-child(5) {
    color: gold !important;
}

.post-card:not(.post-card--small) .post-card__category {
    background: var(--primary) !important;
}

/*** media ****/
.header-html-1 {
    display: none;
}

@media (min-width: 992px) {
    .header-html-1 {
        display: block;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding-top: 8px;
        padding-bottom: 0;
    }

    .site-header .social-links {
        float: left;
    }

    .header-html-2 {
        float: right;
    }

    .site-header .site-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .site-header .site-description {
        display: none;
    }

}

@media (min-width: 768px) {
    .archive .custom-category-content h2.category-header {
        font-size: 26px;
    }
}

.main-navigation+.mobile-menu-placeholder.open, .site-header+.mobile-menu-placeholder.open {
    margin-top: 0;
}