/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


.wd-content-layout {
    padding-block: 0;
}

legend, h1, h2, h3, h4, h5, h6, .title {
    line-height: 120% !important;
}

@media (max-width: 495px) {
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }
}

body .wd-nav-header > li > a {
    text-transform: none;
    font-weight: 600;
    color: rgb(51, 65, 85);
}

/*header:not(.whb-sticked) .whb-visible-lg .socialsIcons .elementor-social-icons-wrapper.elementor-grid span.elementor-grid-item {
    display: block;
}*/

.socialsIcons .elementor-social-icons-wrapper.elementor-grid span.elementor-grid-item:not(:last-child) {
    margin-bottom: 5px;
}

body .wd-nav-header > li > a:hover, body .wd-nav-header > li > a.active {
    color: #ea5d4a;
}

.fullWidth {
    min-width: calc(100vw - var(--wd-scroll-w) * 4 - var(--wd-sticky-nav-w));
    left: calc(50% - 50vw + var(--wd-scroll-w) * 4 / 2 + var(--wd-sticky-nav-w) / 2);
    overflow: hidden;
}

@media (min-width: 1025px) {
    .fullWidth > .e-con-inner {
        margin-right: -2px;
    }
}

.fullWidth-1 {
    min-width: calc(100vw - var(--wd-scroll-w) * 4 - var(--wd-sticky-nav-w));
    left: calc(50% - 50vw + var(--wd-scroll-w) * 4 / 2 + var(--wd-sticky-nav-w) / 2);
}

.elementor-field-type-acceptance {
    font-size: 13px;
}

.whiteText .elementor-field-type-acceptance label {
    color: #fff;
}

.elementor-field-textual {
    min-height: 44px;
}

.mainTopText:before {
    content: '';
    background-image: url(/wp-content/uploads/2025/12/main_top.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 1320px;
    height: 362px;
    position: absolute;
    top: -210px;
    left: -590px;
    z-index: -1;
}

@media (max-width: 495px) {
    .mainTopText:before {
        width: 1640px;
        height: 622px;
        top: -350px;
    }
}

.bgWave:before {
    content: '';
    width: 100%;
    height: 490px;
    background-image: url(/wp-content/uploads/2025/12/bgwave.svg);
    background-size: contain;
    background-repeat: repeat-x;
    top: auto;
    bottom: -50%;
}

.staff .info-box-icon img {
    border-radius: 20px;
}

.staff .info-box-inner.reset-last-child {
    margin-top: 0 !important;
}

.elementor-swiper-button {
    background-color: #8081bd;
    padding: 10px;
    border-radius: 50%;
}

.sp-copyright {
    font-size: 80%;
}

.sp-copyright p {
    margin-bottom: 5px;
}

.yoast-breadcrumb span {
    color: #fff;
}

.elementor-widget-video-playlist :is(.btn,.button,button,[type=submit],[type=button]) {
    justify-content: left;
}

.category h1.wd-entities-title.wd-post-title.title {
    margin: 40px 0 20px;
}

h1.wd-entities-title.wd-post-title.title {
    text-align: left;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;
}

p#breadcrumbs {
    margin-bottom: 0;
    color: #fff;
}

p#breadcrumbs a {
    color: #fff;
}

.post-breadcrumbs {
    background-color: var(--e-global-color-616949c);
    display: flex !important;
}

.post-breadcrumbs .e-con-inner {
    padding-block-end: 0;
    padding-block-start: 0;
}

h3.wd-post-title.wd-entities-title.title.post-title {
    font-size: 16px;
    font-weight: 600;
}

header.wd-single-post-header {
    margin-top: 40px;
}

main#main-content ul {
    margin-top: 0;
}

main#main-content li {
    margin-bottom: 0;
}

.elementor-lightbox .swiper .elementor-swiper-button {
    height: 50px;
    width: 50px;
}

.wd-post-thumb img {
    border-radius: 12px;
}

.current-menu-item > a.woodmart-nav-link {
    color: #ea5d4a;
}

.category-8 .wd-post-date.wd-style-with-bg {
    display: none;
}

.category .wd-post-cat.wd-style-with-bg {
    display: none;
}

.wp-singular .wd-post-cat.wd-style-with-bg {
    display: none;
}

.category-soczialnaya-mediko-psihologicheskaya-reabilitacziya-i-adaptacziya time.published, .category-speczialnyj-logopedicheskie-metodiki time.published {
    display: none;
}

.category-soczialnaya-mediko-psihologicheskaya-reabilitacziya-i-adaptacziya header.wd-single-post-header {
    margin-bottom: 0;
}

.website-wrapper .gt_float_switcher img {
    display: none;
}

/* Переводчик и Accessibility
===========================================================*/
.gt_float_switcher.notranslate, .wd-header-text.reset-last-child.accessibility img,
.mobileMenuAccessibility img, .headerInstagram img, .headerMobileInstagram img {
    background-color: #ffffff;
    border: 1px solid #63b7f2;
    margin-top: 2px;
    margin-bottom: 3px;
    padding: 9px;
    border-radius: 30%;
    box-shadow: none;
    width: 50px;
    height: 50px;
    line-height: 26px;
    position: relative;
    overflow: visible;
    cursor: pointer;
    transition: all .4s;
}

.gt_float_switcher.notranslate {
    line-height: 21px;
    padding: 12px 4px;
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    display: none !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 0 !important;
    font-weight: 100 !important;
    text-align: center;
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    font-size: 16px;
    font-weight: 500;
    color: #63b7f2;
}

.gt_float_switcher .gt_options a {
    background-color: #ffffff;
    border: 1px solid #63b7f2;
    margin-bottom: 5px;
    padding: 9px 4px !important;
    border-radius: 50%;
    box-shadow: none;
    width: 50px;
    height: 50px;
    line-height: 32px;
    text-align: center;
    font-size: 16px;
    color: #63b7f2 !important;
}

.gt_float_switcher .gt_options {
    position: absolute !important;
    z-index: 1 !important;
    top: 100% !important;
    left: 50%;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    min-width: max-content !important;
    padding-top: 10px !important;
    -webkit-transition: opacity .2s, background-color .4s, -webkit-transform .4s !important;
    transition: transform .4s, opacity .2s, background-color .4s, -webkit-transform .4s !important;
    -webkit-transform: scaleY(0) !important;
    transform: scaleY(0) translateX(-50%) !important;
    will-change: transform !important;
    -webkit-transform-origin: top !important;
    transform-origin: top !important;
    opacity: 0 !important;
    border-radius: 5px !important;
}

.gt_float_switcher .gt_options.gt-open {
    display: block !important;
    -webkit-transition: opacity .4s, -webkit-transform .4s !important;
    transition: transform .4s, opacity .4s, -webkit-transform .4s !important;
    -webkit-transform: scaleY(1) !important;
    transform: scaleY(1) translateX(-50%) !important;
    opacity: 1 !important;
}

.website-wrapper .gt_float_switcher .gt_options a:hover {
    background: #fff !important;
    border: 1px solid var(--wd-link-color-hover);
    color: #333333;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-right {
    right: -240px;
}

/*===========================================================*/

div#wp-pointer-0 {
    display: none;
}

/* ========== БАЗА ТАБЛИЦЫ ========== */
.services-table {
    width: 100%;
    border-collapse: collapse;
    color: #212529;
    border: 1px solid #dee2e6;
    font-size: 16px;
    min-width: 600px;
}

.table.services-table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px transparent;
}

.services-table.table > thead {
    vertical-align: bottom;
}

.services-table.table > tbody {
    vertical-align: inherit;
}

/* Заголовок */
.services-table thead th {

    border-bottom: 2px solid #dee2e6;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    text-transform: none;
    background-color: #f4a60e;
    color: #fff;
}

.services-table thead th:nth-child(1),
.services-table tbody tr td:nth-child(1) {
    width: 4%;
}

.services-table.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #dee2e6;
}

/* Ячейки */
.services-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

/* ========== ЧЕРЕДОВАНИЕ СТРОК (STRIPED) ========== */
.services-table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}


/* ========== ХОВЕР СТРОКИ ========== */
.services-table.table-hover > tbody > tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* ========== TABLE-BORDERED ========== */
.services-table.table-bordered,
.services-table.table-bordered th,
.services-table.table-bordered td {
    border: 1px solid #dee2e6;
}

/* ========== МОБИЛЬНЫЙ СКРОЛЛ ========== */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ========== СТИЛИ ВНУТРИ ЯЧЕЕК ========== */
.services-table .service-time,
.services-table .service-price {
    margin-bottom: 6px;
}

.services-table .service-time {
    display: flex;
}

.services-table .time {

    margin-left: auto;
}

/* Последний элемент без нижнего отступа */
.services-table .service-time:last-child,
.services-table .service-price:last-child {
    margin-bottom: 0;
}

body .whb-top-bar .wd-header-text {
    font-size: 16px;
}

.wd-post-excerpt.entry-content {
    font-size: 14px;
    line-height: 140%;
}

.wd-post-read-more.wd-style-link.read-more-section a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    vertical-align: middle;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none;
    line-height: 1.2;
    cursor: pointer;
    transition: all .25s ease;
    border: var(--btn-brd-width, 0px) var(--btn-brd-style, solid) var(--btn-brd-color, #E9E9E9);
    padding: var(--btn-padding, 0px 15px);
    min-height: var(--btn-height, 35px);
    font-size: var(--btn-font-size, 13px);
    border-radius: var(--btn-accented-brd-radius);
    color: var(--btn-accented-color);
    box-shadow: var(--btn-accented-box-shadow);
    background-color: var(--btn-accented-bgcolor);
    text-transform: var(--btn-accented-transform, var(--btn-transform, uppercase));
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight, 600));
    font-family: var(--btn-accented-font-family, var(--btn-font-family, inherit));
    font-style: var(--btn-accented-font-style, var(--btn-font-style, unset));
    white-space: nowrap;
}

.blog-design-masonry.wd-add-shadow .wd-post-inner {
    background-color: #fff;
}

#main-content .wd-post-date.wd-style-with-bg {
    box-shadow: 0 0 0px 1px rgb(255 255 255), 0 0 0 2px var(--wd-primary-color);
    border: 1px solid var(--wd-primary-color);
    top: auto !important;
    bottom: 10px;
    inset-inline-start: auto !important;
    right: 15px;
    padding: 2px;
}

#main-content .wd-post-date.wd-style-with-bg .post-date-day {
    color: var(--wd-primary-color);
    padding: 2px 5px;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .whb-column.whb-col-mobile.whb-column_mobile1.whb-hidden-lg > div:first-child {
        display: none;
    }
}

p:has(+ ul) {
    margin-bottom: 0;
}

.divider > a.woodmart-nav-link {
    cursor: pointer;
}