.brand-primary-color-2 {
    color: #6f2023;
}

body.show-popup {
    overflow: hidden;
}

.redbook-flipbook-popup.modal {
    padding: 0;
}

.txtLoadingProgress.caption {
    opacity: 0;
}

body.is-scroll .rb-header,
body.show-popup .rb-header {
    opacity: 0;
    z-index: -9;
}

iframe {
    max-height: 100vh;
    overflow: hidden;
}

.book-widget {
    overflow: hidden;
}

.rb-index {
    background-color: #fffef5;
    color: #ffffff;
}

.index-header-text {
	margin-top: 50px;
}

.index-menu-items {
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.index-menu-items-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background-color: #6f2023;
    padding: 30px 7.5px 20px;
}

.index-menu-items:not(.index-menu-items-icon) {
    overflow: hidden;
}

.index-menu-items:not(.index-menu-items-icon) img {
    transform: scale(1.2);
    border-radius: 30px;
}

.index-menu-items:hover {
    opacity: 0.7;
}

.index-menu-items-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: invert(0);
}

.index-menu-items-icon .padlock {
    width: 25px;
    height: auto;
    position: absolute;
    top: 35px;
    left: 35px;
}

.index-menu-items-icon img:not(.padlock) {
    opacity: 0.1;
}

.rb-index-menu-item {
    height: calc(100% - 40px);
    max-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: calc(50% - 120px / 2);
    top: 20px;
    text-align: center;
}

.rb-index-click {
    text-align: center;
}

.redbook-flipbook-popup {
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.close-flipbook {
    position: absolute;
    top: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    color: #fff;
    border: none;
    font-size: 30px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

.df3d-book canvas {
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
}

.flipbook-main-wrapper .flipbook-menuBottom {
    display: none;
}