.contentpage {
    padding-top: 40px;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1; /* Текст видим */
    }
    50% {
        opacity: 0; /* Текст скрыт */
    }
}

.blink-text {
    color: yellow !important;
    animation: blink 1s step-end infinite; /* Анимация длится 1 секунду, бесконечно */
}

.simple_comment {
    border: 1px solid #eee;
    position: relative;
}

.comment_form {
    position: relative;
    width: 100%;
    clear: both;
    width: 100%;
    margin: 0.7% 0;
    max-width: 640px;
    padding: 5px 15px;
    border-radius: 4px;
    border: 1px solid #eee;
    outline: none;
}

.sitecomment {
    position: relative;
    clear: both;
    display: block;
    padding: 1em 0;
}

.sitecomment_author {
    font-weight: 700;
    color: #005321;
    margin-bottom: 0.5em;
    font-size: 1.1em;
    padding-left: 1em;
}

.sitecomment_text {
    max-width: 100%;
    display: inline-block;
    padding: 1.5em;
    border-radius: 1em;
    background-color: #f5f5f5;
}

.star-rating__container {
    display: inline-block;
}

.star-rating__wrapper {
    position: relative;
    display: flex;
}

.star-rating {
    display: inline-block;
    position: relative;
    user-select: none;
}

.star-rating__bg {
    color: #e0e0e0;
    display: flex;
}

.star-rating__live {
    display: flex;
    color: #ffb74d;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.star-rating_active:hover .star-rating__live {
    overflow: auto;
    width: 100% !important;
    color: #e0e0e0;
}

.star-rating__item_active {
    color: #fb8c00;
    cursor: pointer;
    transition: color 0.1s ease-in-out;
}

.star-rating__item {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.star-rating__avg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    width: 2em;
}

.star-rating__votes {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.5em;
    font-size: 0.875em;
}

#warning0 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 600px;
    display: none;
    overflow: hidden;
    z-index: 99999;
}

.warning0 {
    position: relative;
    display: none;
    justify-content: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: var(--c5);
    color: var(--c1);
    font-size: 0.9em;
    z-index: 99999;
    text-wrap: balance;
    opacity: 0.91;
}

.warning0 a {
    color: #ddd;
    text-decoration: underline;
}

.warning--active {
    display: flex;
}

.warning__text {
    margin-right: 30px;
}

.warning__read {
    color: var(--c1);
}

.warning__read:hover {
    color: var(--c8) !important;
}

.warning__read:hover {
    color: var(--c5);
}

.warning__apply span {
    border: 1px solid var(--c1);
    color: var(--c1);
    padding: 5px;
    margin: 0 10px;
    cursor: pointer;
    display: inline-block;
}

.gallery-photo {
    width: 23%;
    aspect-ratio: 1/1;
    margin: 0.5%;
}

.cms_prev {
    position: absolute;
    bottom: 40%;
    padding: 7px;
    font-size: 2em;
    color: #fff;
    background: #333;
    left: 0;
    cursor: pointer;
}

.cms_next {
    position: absolute;
    bottom: 40%;
    padding: 7px;
    font-size: 2em;
    color: #fff;
    background: #333;
    right: 0;
    cursor: pointer;
}

.imgpos {
    display: none;
}

.fixed-price {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fcfcfc;
    position: relative;
    overflow: hidden;
    display: block;
}

.pr_fixed {
    position: fixed;
    z-index: 9999;
    top: 0;
}

.cms_gallery_h {
    margin-left: 1%;
    font-size: 2.1em;
    font-weight: 200;
}

.cms_album {
    display: inline-block;
    color: #fff;
    margin: 0.25%;
    background: #777;
    padding: 1% 2%;
    font-size: 1.2em;
    font-weight: 300;
    position: relative;
    cursor: pointer;
}

.cms_album_prev {
    display: inline-block;
    color: #fff;
    margin: 0.5%;
    background: #cccccc;
    padding: 1% 2%;
    font-size: 1.2em;
    font-weight: 300;
}

.cms_album_image {
    height: 24vh;
    width: 19.5%;
    margin: 0.25%;
    background-size: cover !important;
    background-position: center !important;
    float: left;
    position: relative;
    display: block;
    transition: all 0.4s;
}

.cms_gallery_images {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    clear: both;
    margin-top: 20px;
}

.cms_gallery_info {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    clear: both;
    margin-top: 45px;
    border-top: 1px solid #eee;
    padding: 40px 1%;
    font-weight: 300;
    font-size: 1.3em;
}

.cms_delete {
    display: none;
    position: absolute;
    top: -2px;
    right: -2px;
    color: #fff;
    font-size: 14px;
    background: red;
    overflow: hidden;
    cursor: pointer;
    padding: 0 7px;
    z-index: 2;
}

.cms_edit {
    display: none;
    position: absolute;
    top: 22px;
    right: -2px;
    color: #fff;
    font-size: 14px;
    background: green;
    overflow: hidden;
    cursor: pointer;
    padding: 0 7px;
    z-index: 2;
}

.cms_album .cms_delete {
    top: -2px;
    left: -2px;
    right: auto;
    display: block;
}

.cms_album .cms_edit {
    top: 22px;
    left: -2px;
    right: auto;
    display: block;
}

.cms_album:hover {
    background: #333;
}

.cms_album_prev:hover {
    background: #555;
}

.cms_album_image:hover {
    -webkit-filter: none; /* Webkit браузеры */
    filter: none; /* для IE6-9 */
    filter: none; /* W3C */
    transform: scale(1.2);
    z-index: 5;
    border: 5px solid #fff;
}

.cms_album:hover .cms_delete {
    display: block;
}

.cms_album_image:hover .cms_delete {
    display: block;
}

.cms_album:hover .cms_edit {
    display: block;
}

.cms_album_image:hover .cms_edit {
    display: block;
}

@media only screen and (max-width: 900px) {
    .cms_gallery_info {
        font-size: 1.1em;
    }

    .cms_gallery_h {
        margin-left: 1%;
        font-size: 1.6em;
        font-weight: 200;
    }

    .cms_album {
        margin: 1%;
        background: #777;
        padding: 2% 4%;
        font-size: 1em;
        max-width: 320px;
    }

    .cms_album_prev {
        margin: 1%;
        background: #cccccc;
        padding: 2% 4%;
        font-size: 1.2em;
    }

    .cms_album_image {
        height: 24vh;
        width: 49%;
        margin: 0.5%;
    }

    .gallery-photo {
        width: 48%;
        margin: 0.6%;
    }
}
