﻿/*Citizen Curious start*/
@font-face {
    font-family: 'Hockey';
    src: url('library/font/hockey.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.diary {
    width: 630px;
    min-height: 850px;
    background: #fff;
    box-shadow: 10px 6px 0 #cfdbe0;
    border-radius: 10px 10px 10px 8px;
    display: flex;
    position: relative;
    overflow: visible;
    margin: auto;
}

@media (max-width: 1024px) {
    .diary {
        min-height: 910px;
    }

    .citizen-answer span {
        font-size: 22px !important;
        line-height: 110% !important;
    }

    .owlet-details {
        font-size: 24px !important;
    }
}

@media (max-width: 767px) {
    /*.diary {
        min-height: 820px;
    }*/

    .citizen-answer {
        line-height: 1.3 !important;
    }

        .citizen-answer span {
            font-size: 17px !important;
        }

    .owlet-details {
        font-size: 18px !important;
    }
}

.spiral {
    width: 44px;
    background-image: url(/img/icons/spiral.png);
    background-size: cover;
    background-color: transparent;
    margin-left: -4px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-repeat: repeat-x;
}

.page {
    flex: 1;
    padding: 30px 10px;
    color: #333;
    background: #fffef8;
    display: none;
    border-radius: 14px;
    position: absolute;
    top: 0;
    left: 38px;
    right: 0;
    bottom: 0;
    transform-origin: left center;
    /* Pivot along the left edge (spine) */
    transition: box-shadow 0.5s ease;
    z-index: 1;
    /* Default z-index */
}

    .page.active {
        display: block;
        animation: flipPageOut 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        /* Slower speed: 1.2s, smooth easing */
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
        /* Shadow only on right and bottom */
        z-index: 2;
        /* Higher z-index when flipping */
    }

@keyframes flipPageOut {
    0% {
        transform: perspective(1500px) rotateY(0deg);
        /* Start flat */
        opacity: 1;
    }

    50% {
        transform: perspective(1500px) rotateY(-90deg);
        /* Mid-flip, smooth curve */
        opacity: 0.9;
    }

    100% {
        transform: perspective(1500px) rotateY(-180deg);
        /* Fully flipped */
        opacity: 0;
    }
}

.page.current {
    display: block;
    /* Current page */
    transform: perspective(1500px) rotateY(0deg);
    /* Flat position */
    opacity: 1;
    /* No shadow */
    z-index: 1;
    /* Below flipping page */
}

.page.next {
    display: block;
    /* Next page underneath */
    transform: perspective(1500px) rotateY(0deg);
    /* Flat position */
    opacity: 1;
    z-index: 0;
    /* Lowest z-index */
}


.diary-slide {
    margin: auto;
    background: #0000005e;
    border-radius: 100%;
    padding: 6px;
    color: #fff;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 48%;
    cursor: pointer;
    z-index: 3;
    /* Ensure arrows are clickable */
}

    .diary-slide:hover {
        background: #000;
    }

    .diary-slide.left {
        left: 0;
        margin-left: -60px;
    }

    .diary-slide.right {
        right: 0;
        margin-right: -60px;
    }

    .diary-slide .fa-chevron-left,
    .diary-slide .fa-chevron-right {
        display: flex;
        justify-content: center;
    }

/* Author Thumbnails */
.author-thumbnails {
    display: flex;
    /* justify-content: center; */
    margin-top: 20px;
    /* gap: 24px; */
}

    .author-thumbnails img {
        width: 66px;
        height: 66px;
        object-fit: cover;
        border-radius: 100%;
        cursor: pointer;
        border: 3px solid #ddd;
        transition: 0.1s;
    }

        .author-thumbnails img:hover {
            border-color: #c22cf5;
            transform: scale(1.05);
        }

.author-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    font-family: "Girls Have Many Secrets";
    font-weight: bold;
    text-align: center;
    font-size: 22px;
    padding: 10px;
    line-height: 1.2;
}

.author-thumbnails img.active {
    border-color: #c22cf5;
}

@media (max-width: 576px) {
    .diary-slide.left {
        margin-left: 0px;
    }

    .diary-slide.right {
        margin-right: 0px;
    }
}

.citizen-que {
    font-family: "Girls Have Many Secrets";
    font-size: 28px;
}

.citizen-author-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Hockey';
    font-weight: 700;
    font-size: 17pt;
    letter-spacing: .06px;
    margin-top: 10px;
}

.author-img-blog {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 100%;
    margin-right: 10px;
    border: 2px solid #c22cf5;
}

.citizen-answer {
    background-color: var(--bs-card-bg);
    color: #000;
    font-weight: 500;
    text-align: var(--bs-body-text-align);
    font-size: 16pt;
    line-height: 1.2;
    font-family: "Girls Have Many Secrets" !important;
    /* font-family: "Tw Cen MT", sans-serif; */
    /*    font-family: "Hockey is Lif", sans-serif !important;*/
}

    .citizen-answer span {
        font-family: Girls Have Many Secrets !important;
    }

.owlet-details {
    font-family: "Hockey is Lif", sans-serif !important;
    font-size: 22px;
    font-weight: 700;
}

.citizen-answer::first-letter {
    font-size: 40px;
    font-weight: bold;
    /* bold */

    float: left;
    line-height: 1;
    margin-right: 2px;
}

.citizen-blog-img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 14px;
    height: 200px;
    object-fit: contain;
    margin-top: 10px;
}

.wooden-banner {
    background-image: url("/img/icons/que-bg-1.jpg") !important;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    padding: 20px 72px 22px 22px;
    font-weight: bold;
    box-sizing: border-box;
    margin-bottom: 22px;
    font-size: 26px;
    font-family: "Tw Cen MT", sans-serif;
    color: #000;
}

.que-owl-container {
    position: relative;
}

.que-owl-icon {
    position: absolute;
    right: -84px;
    top: -38px;
    width: 86px;
}

@media (max-width: 500px) {
    .wooden-banner {
        font-size: 20px;
        padding: 16px;
    }

    .que-owl-icon {
        right: -22px;
        top: -68px;
        width: 60px;
        z-index: 8;
    }
}

.que-info {
    font-size: 20px;
    line-height: 140%;
    /*    font-family: "Tw Cen MT", sans-serif;*/
    font-family: "Girls Have Many Secrets";
    letter-spacing: -0.1pt;
    margin-bottom: 28px;
    text-align: justify;
}

@media (max-width: 991px) {
    .select-que-visible-991 {
        display: block;
    }

    .select-que-visible-992 {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .select-que-visible-991 {
        display: none !important;
    }

    .select-que-visible-992 {
        display: block;
    }
}

.page-corner-flip {
    position: absolute;
    bottom: 0;
    right: 0;
    /* width: 100px;
            height: 100px; */
    cursor: pointer;
    z-index: 2;
    background: transparent;
    border-style: solid;
    border-width: 100px 100px 0 0;
    border-color: #fffaf3 transparent transparent transparent;
    filter: drop-shadow(-4px -4px 6px rgba(0, 0, 0, 0.3));
    transition: all ease 0.5s;
    background-color: #ecece7;
}


    .page-corner-flip:hover {
        border-width: 130px 130px 0 0;
        border-color: #fffaf3 transparent transparent;
        background-color: #ecece7;
    }
.que-info span {
    font-family: "Girls Have Many Secrets" !important;
    text-align: justify !important;
}

.que-info p {
    font-family: "Girls Have Many Secrets" !important;
    text-align: justify !important;
}
/* For screens up to 425px */
@media (max-width: 425px) {
    .diary {
        min-height: 1350px;
    }

    .spiral {
        width: 22px;
    }

    .page {
        left: 20px;
    }
}

/* For screens up to 375px */
@media (max-width: 375px) {
    .diary {
        min-height: 1450px;
    }

    .spiral {
        width: 22px;
    }

    .page {
        left: 20px;
    }
}

/* For screens up to 320px */
@media (max-width: 320px) {
    .diary {
        min-height: 1750px;
    }

    .spiral {
        width: 22px;
    }

    .page {
        left: 20px;
    }
}
.citizen-answer span {
    font-size: 16pt !important;
}

.citizen-answer p {
    margin-bottom: 0 !important;
}
/*Citizen Curious end*/
/* New Dropdown*/
.custom-select {
    position: relative;
    font-family: Arial;
}

    .custom-select select {
        display: none;
        /* hide original SELECT element */
    }

.select-selected {
    background-color: #fff;
    border: 1px solid #cccccc;
    padding: 8px 22px 8px 16px;
    cursor: pointer;
    white-space: normal;
    /* allow multiline */
    word-break: break-word;
    /* break long words */
}

    /* arrow */
    .select-selected:after {
        content: "";
        position: absolute;
        top: 40px;
        right: 10px;
        width: 14px;
        /* adjust size as needed */
        height: 14px;
        /* adjust size as needed */
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        /* make sure it scales properly */
        pointer-events: none;
        /* so it doesn't block clicks */
    }


.select-items div,
.same-as-selected {
    border-bottom: 1px solid #cccccc;
    padding: 8px 16px;
    cursor: pointer;
    white-space: normal;
    word-break: break-word;
}

.select-items {
    position: absolute;
    /*min-height: 42px;*/
    border: 1px solid #cccccc;
    font-size: 14px;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    height: 196px;
    overflow-y: auto;
}

.select-hide {
    display: none;
}

.select-items > div:nth-child(odd) {
    background-color: #f17d1f14;
}