/*#body-s {*/
/*    content-visibility: auto;*/
/*}*/
.wrapper.center-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cat-selector-slider {
    width: 100%;
    max-width: 1310px;
    height: 395px;
    background-color: #F8F7F7;
    border-radius: 10px;
    padding: 30px 20px;
    margin-bottom: 60px;
}
body h2.h2 {
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 28px;
}
.slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}
.slider-cards {
    min-width: inherit;
}
.slider-cards li {
    min-width: calc(20% - 15px);
    height: 260px;
    border-radius: 10px;
    position: relative;
    margin: 0 7px;
}
.slider-cards li img {
    pointer-events: none;
    position: absolute;
    display: inline-block;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 35px);
    border-radius: 10px;
    object-fit: cover;
}
.slider-cards li a {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.slider-cards li span {
    position: absolute;
    bottom: 0;
    pointer-events: none;
    margin-top: auto;
    font-size: 20px;
    font-weight: 600;
    line-height: 18px;
    z-index: 5;
    text-shadow: 0 0 1px #fff, -1px -1px 1px #fff, 1px 1px 1px #fff;
}
.circle-arrows {
    position: absolute;
    top: calc(50% - 27px);
    border-radius: 50%!important;
    width: 50px;
    height: 50px;
}
.right-arrow {
    right: 4px;
}
.left-arrow {
    left: 4px;
}
.left-arrow svg {
    transform: rotate(180deg);
}
body button.btn.circle-arrows:hover {
    transform: scale(1.02);
}
body button.btn.circle-arrows:active {
    transform: scale(0.98);
}
.swiper-scrollbar {
    display: none!important;
}
#body-s .swiper-slide {
    width: unset;
}
.swiper-slide:hover {
    transform: scale(1.01);
}
.swiper-slide:active {
    transform: scale(0.95);
}
.swiper-slide a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.events .swiper-slide img {
    object-fit: cover;
}
#txt-2 {
    display: none;
}
.swiper-slide .name-cat {
    position: absolute;
    bottom: 0;
    font-size: 0.8em;
    left: 0;
    padding: 15px 5px 20px;
    width: 92%;
    height: 2.1em;
    word-wrap: break-word;
    transform: translateY(10%);
    font-weight: 600;
    text-align: center;
}

button.btn:after {
    display: none;
}
button.swiper-button-prev svg {
    transform: rotate(180deg);
}
.new-slider {
    padding-top: 2em;
    background-color: #F8F7F7;
    border-radius: 20px;
    margin-bottom: 2em;
}
.banner-links {
    width: 35%;
}
.photo-galery img {
    display: inline-block;
    object-fit: cover;
    object-position: center 20%;
    width: calc(33% - 10px);
    height: auto;
    max-height: calc(33vw / 2);
    cursor: pointer;
}
.archive .max-photo {
    position: fixed;
    z-index: 99999999;
    display: inline-block;
    width: 100vw;
    height: 129vh;
    left: 50%;
    top: 50%;
    object-position: center;
    object-fit: contain!important;
    max-height: unset;
    transform: translate(-50%, -50%) scale(1);
}
.archive-link a {
    display: inline-block;
    width: 200px;
    height: 250px;
    position: relative;
}
.archive-link a img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.archive-link a span {
    position: absolute;
    z-index: 2;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    display: inline-block;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 6px 7px;
    text-align: center;
    box-sizing: border-box;
}
.video-fone {
    position: fixed;
    left: 0;
    top: 0;
    display: inline-block;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    object-fit: fill;
    opacity: 0.6;
}
.llist-cards {
    padding: 1em;
}
.list-card {
    position: relative;
    padding: 1em;
    border-radius: 7px;
    box-shadow: 0 0 1px rgb(0, 0, 0);
    background-color: #fff0a7;
    border-bottom: 1px solid #fff;
}
.list-card:before {
    content: '';
    position: absolute;
    pointer-events: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 7px;
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.38);
}
.list-card .name-card {
    font-weight: 800;
    font-size: 1.3em;
}
.block-shadow {
    border-radius: 15px;
    box-shadow: 5px 6px 12px rgba(0, 0, 0, 0.27);
    background-color: floralwhite;
}
.red-block {
    background-color: #ffdbdb;
}
.events {
    background-color: #ffffff;
    padding-bottom: 20px;
}
.alarm-list summary {
    background-color: #ffc6c6;
    display: flex;
    width: 100%;
    padding: 10px;
    color: yellow;
    text-shadow: -1px -1px 1px #444444, 1px 1px 1px #575757;
    border-radius: 10px;
    cursor: pointer;
}
.alarm-list section {
    transition: 0.6s;
    opacity: 0;
    overflow-y: hidden;
    max-height: 0;
}
.alarm-list summary span {
    font-size: 1.3em!important;
}
.alarm-list summary:hover span {
    transform: scale(1.03);
}
.alarm-list summary:active span {
    transform: scale(0.9);
}
.alarm-list[open] summary {
    margin-bottom: 15px;
}
.alarm-list[open] section {
    opacity: 1;
    overflow-y: hidden;
    max-height: calc(100dvh - 100px);
}
.row-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.place {
    transition: 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}
.place:hover {
    transform: scale(1.05);
}
.place .birthday-data,
.place .birthday-photo {
    position: absolute;
    object-fit: cover;
}
.bithday {
    position: relative;
    padding: 0 0 20px;
}
.bithday .sider {
    width: 60px;
}
.place:before {
    content: '';
    position: absolute;
    display: inline-block;
    width: calc(100% - 49px);
    height: 68%;
    background: linear-gradient(#fff7e600 56%, rgb(255 247 230) 90%);
    bottom: 22px;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, 0);
    border-radius: 50%;
}
.place img {
    transition: 0.1s;
    object-fit: contain;
    display: inline-block;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    box-shadow: 0 0 10px #2196f3;
}
.place:hover img {
    transform: scale(1.05);
}
.place:active img {
    transition: 0.001s;
    transform: scale(0.95);
}
.birthday-text {
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background-color: floralwhite;
    padding: 4px 7px;
    border-radius: 7px;
    width: max-content;
}
.birthday-name {
    bottom: -11px;
    font-size: 1.5em!important;
    box-shadow: 0 0 10px #2196f3;
}
.birthday-data {
    bottom: 25px;
    box-shadow: 0 0 10px #2196f3;
}
@keyframes ball-up {
    0% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 50% 0;
    }
    100% {
        background-position: 50% 100%;
    }
}
.bithday:before {
    content: '';
    width: 100%;
    height: 90%;
    left: 0;
    top: 5%;
    opacity: 0.2;
    position: absolute;
    background-image: url("/DOWNLOAD/20240922-143734_id-2-724630.gif");
    background-size: 14%;
    animation: ball-up 10s ease-in-out infinite;
    /*border-radius: 50%;*/
    /*filter: blur(2px);*/
}
/*.bithday:after {*/
/*    content: '';*/
/*    width: 110%;*/
/*    height: 110%;*/
/*    left: 50%;*/
/*    top: 50%;*/
/*    opacity: 0.4;*/
/*    position: absolute;*/
/*    transform: translate(-50%, -50%);*/
/*    background-image: url("/DOWNLOAD/20240922-143734_id-2-724630.gif");*/
/*    background-size: 19%;*/
/*    animation: none;*/
/*    !*border-radius: 50%;*!*/
/*    z-index: -1;*/
/*    filter: blur(10px);*/
/*}*/
.days-to {
    position: absolute;
    z-index: 10;
    right: 7px;
    top: 27px;
    color: #ffffff;
    text-shadow: -1px -1px 1px #000, 1px 1px 1px #000;
    font-family: school, sans-serif !important;
    font-size: 1.2em !important;
}
.days-to:not(.now):before {
    content: 'ещё  ';
}
.days-to.now.pulse {
    color: red!important;
    font-size: 2em!important;
    border-radius: 250px;
    background-color: yellow;
    padding: 2px 15px;
}
.grider {
    max-width: 100vw;
    overflow: hidden;
    justify-content: space-around;
    display: flex;
    margin: 0 auto;
    width: fit-content;
}
.parent-item {
    padding: 0.5em 1em;
    box-shadow: 0 0 6px #5ebcff;
    margin: 20px;
    max-width: 25%;
}
.parent-item * {
    font-size: 1.5em!important;
}
.parent-item .btn.btn-just {
    margin-top: 10px;
    font-size: 1.2em!important;
}
.birthday-star {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.birthday-star img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.birthday-section h2 {
    margin-bottom: 0;
}
.sides-photos-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 60%;
    width: 30%;
    aspect-ratio: 1;
    transform: translateY(-50%);
    z-index: 5;
    /*outline: 2px solid red;*/
}
.sides-photos-2 img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    display: inline-block;
    object-fit: contain;
    /*aspect-ratio: 1;*/
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}
.sides-photos-2 .new-photo-img {
    transform: translate(-50%, -50%) rotate(180deg) scale(0)!important;
}
.sides-photos-2 img {
    transition: 1.1s;
    transform: translate(-50%, -50%) rotate(0deg) scale(1)!important;
}
.sides-photos-2.left-side-photo {
    left: 0;
}
.sides-photos-2.right-side-photo {
    right: 0;
}
.slowly-hidden {
    transition: 1.05s;
    transform: translate(-50%, -50%) rotate(180deg) scale(0)!important;
    opacity: 0;
}

@media screen and (max-width: 1300px) {
    .slider-cards li {
        min-width: calc(25% - 15px);
    }
}

@media screen and (max-width: 950px) {
    .birthday-section h2 {
        margin-bottom: 15px;
    }
    .days-to {
        top: 21px;
    }
    #body-s section.birthday-section {
        margin-bottom: -20px;
    }
    .birthday-section {

    }
    .bithday .sider {
        width: 30px;
    }
    .place {
        width: calc(50vw - 20px);
        height: calc(50vw);
    }
    .place img {
        width: calc(50vw - 30px);
        height: calc(50vw - 30px);
        transform: translateY(-7px);
    }
    .place:before {
        width: 100%;
        height: calc(50vw - 50px);
        bottom: 9px;
    }
    .bithday:before {
        opacity: 0.4;
        background-size: 33%;
    }
    .bithday:after {
        display: none;
    }
    .birthday-name {
        bottom: 0;
        font-size: 1em!important;
        z-index: 10;
    }
    .llist-cards {
        padding: 10px 0;
    }
    h1 {
        margin-top: 1em;
        font-size: 1.7em;
    }
    body h2.h2 {
        font-size: 20px;
        line-height: 25px;
        margin-top: 25px;
    }
    .archive img {
        width: 100%;
        max-height: 80vw;
        height: 65vw;
        object-fit: cover;
    }
    .archive .max-photo {
        position: fixed;
        z-index: 99999999;
        display: inline-block;
        width: 137vh;
        height: 104vw;
        left: 0;
        max-width: unset;
        object-position: unset !important;
        top: 50%;
        object-fit: contain !important;
        max-height: unset;
        transform: translate(-33%, -50%) scale(1) rotate(90deg);
    }
    .archive-link a {
        display: inline-block;
        width: calc(50vw - 20px);
    }
    .wrapper .btn-just {
        margin: 0 20px 0 auto;
    }
    .birthday-data {
        bottom: 31px;
        padding: 2px 5px;
        font-size: 0.8em!important;
    }
    .bithday:before {
        border-radius: unset;
        filter: blur(2px);
    }
    .grider {
        max-width: calc(100vw - 20px);
        overflow: auto;
        display: flex;
        gap: 10px;
    }
    .parent-item {
        flex-direction: column;
        display: flex;
        justify-content: space-between;
        padding: 0.2em 0.5em;
        box-shadow: 0 0 6px #5ebcff;
        margin: 2px;
        max-width: unset;
        font-size: 0.7em !important;
    }
    .parent-item .btn.btn-just {
        font-size: 1em!important;
        margin-left: auto;
        align-self: flex-end;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .days-to.now.pulse {
        text-wrap: nowrap;
        top: 4px;
        right: -54px;
    }
    .bithday:before {
        height: 100%;
        top: 0;
    }
    .bithday:after {
    }
    .wrapper .btn-just {
        margin: 0 20px 0 auto;
    }
}