﻿.flag-icon-world {
    background-image: url('../images/WorldIcon.jpg');
}

.disabled-link {
    color: #999; /* Change color to a subdued one for a disabled look */
    pointer-events: none; /* Disable pointer events to prevent click */
    cursor: not-allowed;
}

.swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation {
    z-index: 2000;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.btn-blink {
    animation: blink 1s steps(1, end) infinite;
}

    .btn-blink:hover {
        animation: none;
    }

.VideoSpinner {
    margin: auto;
    width: auto;
    height: auto;
    /*    text-align: center;*/
    font-size: 10px;
}

    .VideoSpinner .text {
        display: inline-block;
        width: 100%;
        font-size: 25px;
        color: #fff;
        font-weight: bold;
    }

    .VideoSpinner > div {
        background-color: #bf5a5b;
        height: 40px;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .VideoSpinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
        background-color: #00FF00;
    }

    .VideoSpinner .rect3 {
        -webkit-animation-delay: -1s;
        animation-delay: -1s;
        background-color: #FFFF00;
    }

    .VideoSpinner .rect4 {
        -webkit-animation-delay: -.9s;
        animation-delay: -.9s;
        background-color: #FF7F00;
    }

    .VideoSpinner .rect5 {
        -webkit-animation-delay: -.8s;
        animation-delay: -.8s;
        background-color: #FF0000;
    }

@-webkit-keyframes sk-stretchdelay {
    0%,40%,100% {
        -webkit-transform: scaleY(.4);
    }

    20% {
        -webkit-transform: scaleY(1);
    }
}

@keyframes sk-stretchdelay {
    0%,40%,100% {
        transform: scaleY(.4);
        -webkit-transform: scaleY(.4);
    }

    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}

video::-webkit-media-controls-start-playback-button {
    display: none;
}

/* Define keyframes for the skeleton animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}


.modal {
    /* The rest of your modal styles */
    /* ... */
    /* Add animation properties */
    animation-duration: 0.5s; /* Adjust as needed */
    animation-timing-function: ease-in-out; /* Adjust as needed */
    animation-name: modal-animation; /* The name of the animation */
    margin-top: 30px;
}

/* Define the animation frames */
@keyframes modal-animation {
    from {
        opacity: 0; /* The modal starts with zero opacity */
        transform: scale(0.8); /* The modal starts with smaller size */
    }

    to {
        opacity: 1; /* The modal ends with full opacity */
        transform: scale(1); /* The modal ends with normal size */
    }
}


.CustomModal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: #FFF;
    border: 1px solid;
    -webkit-border-radius: 120px;
    border-radius: 120px;
    z-index: 999;
}

.FullPageModal-close {
    position: absolute;
    top: 0px;
    right: -2px;
    width: 50px;
    height: 50px;
    background: #FFF;
    border: 1px solid;
    -webkit-border-radius: 120px;
    border-radius: 120px;
    z-index: 999;
}

/*.modal-dialog2 {
    position: relative;
    width: auto;
    margin: .9rem;
    pointer-events: none;
}*/
/* Q And A*/
.social-icons {
    display: flex;
    align-items: center;
    max-width: 90%; /* Adjust the maximum width */
    /*margin: 20px auto;*/
}

    .social-icons a {
        margin-right: 15px; /* Adjust the spacing between icons */
        display: inline-block; /* Ensure the link is treated as a block element */
    }

.whatsapp-icon,
.wechat-icon,
.facebook-icon,
.messenger-icon,
.telegram-icon,
.line-icon {
    font-size: 2rem; /* Adjust the icon size */
}

.whatsapp-icon {
    color: #25d366; /* WhatsApp green */
}

.wechat-icon {
    color: #7bb32e; /* WeChat green */
}

.facebook-icon {
    color: #1877f2; /* Facebook blue */
}

.messenger-icon {
    color: #0084ff; /* Messenger blue */
}

.telegram-icon {
    color: #0088cc; /* Telegram blue */
}

.line-icon {
    color: #00b900; /* Line green */
}
/* Style for the image container */
.image-container {
    position: relative;
    overflow: hidden;
    width: 95%;
    height: 100%;
    min-height: 300px;
    margin: 20px;
}

/* Style for the skeleton loader animation */
.skeleton-loader {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
}

/* Style for the actual image */
.actual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.ribbon-2 {
    --f: 10px; /* control the folded part*/
    --r: 15px; /* control the ribbon shape */
    --t: 10px; /* the top offset */

    position: absolute;
    inset: var(--t) calc(-1*var(--f)) auto auto;
    padding: 0 10px var(--f) calc(10px + var(--r));
    clip-path: polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%, calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)), var(--r) calc(50% - var(--f)/2));
    background: #BD1550;
    box-shadow: 0 calc(-1*var(--f)) 0 inset #0005;
}

/*#bg-text {
    position: relative;
    color: lightgrey;
    font-size: 60px;
    transform: rotate(300deg);
    -webkit-transform: rotate(300deg);

}*/
.watermark {
    /* Used to position the watermark */
    position: relative;
}

.watermark__inner {
    /* Center the content */
    align-items: center;
    display: flex;
    justify-content: center;
    /* Absolute position */
    left: 0px;
    position: absolute;
    top: 0px;
    /* Take full size */
    height: 100%;
    width: 100%;
}

.watermark__body {
    /* Text color */
    color: rgba(0, 0, 0, 0.2);
    /* Text styles */
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    /* Rotate the text */
    transform: rotate(-45deg);
    /* Disable the selection */
    user-select: none;
}





.quiz-wrapper {
    /*    margin: 10px;*/
    padding: 10px;
    /*  width: 100%;*/
    background-color: #fff;
    max-width: 100%;
    /*max-height: 100%;*/
    /*height: 100%;*/
    /*overflow: visible;  */
    /*    width: 800px;
    height: 1000px;
    overflow-x: auto;
    overflow-y: auto;  */
}


.quiz-wrapper2 {
    /*    margin: 10px;*/
    padding: 10px;
    /*  width: 100%;*/
    background-color: #fff;
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    /*height: 100%;*/
    /*overflow: visible;  */
    width: 1200px;
    /* height: 700px;*/
    height: 100%;
    overflow-x: auto;
    overflow-y: auto;
}

.quiz-container {
    max-width: 99%;
    /*    margin: 20px auto;*/
    background-color: #fff;
    /*    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    padding: 20px;
    border-radius: 10px;
    position: relative;
    border: 1px solid black; /* Add 1px border */
    word-break: break-word;
    /*overflow: visible;*/ /* or overflow: auto; */
}

.header-section {
    color: black;
    padding: 10px 25px 10px 10px;
    border-bottom: 1px solid black; /* Add 1px border */
    font-style: italic;
    max-width: 100%;
}

.footer-section {
    color: black;
    padding: 10px;
    border-top: 1px solid black; /* Add 1px border */
    margin-top: 35px;
    font-style: italic;
    max-width: 100%;
}

.question {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    max-width: 100%;
    /*    word-wrap: break-word;*/
    /*   word-break: break-word;*/
    word-break: break-word;
    padding: 15px;
    font-weight: 700;
    /*white-space: nowrap;*/ /* Prevent text from wrapping to the next line */
    /*overflow: hidden;*/ /* Hide the overflow content */
    /*text-overflow: ellipsis;*/ /* Show ellipsis (...) for overflow text */
    /*    overflow: visible;*/
    /*word-wrap: break-word;*/ /* Add this property to enable word wrapping */
}

.options {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    /*word-break: break-word;*/
    word-break: break-word;
    /*white-space: nowrap;*/ /* Prevent text from wrapping to the next line */
    /*overflow: hidden;*/ /* Hide the overflow content */
    /*text-overflow: ellipsis;*/ /* Show ellipsis (...) for overflow text */
}

.option {
    /*    margin: 10px 0;*/
    width: 100%;
    padding: 15px;
    max-width: 100%;
    background-color: white;
    color: black;
    /* outline: 2px solid black;*/
    /*border: 1px solid black;*/ /* Add 1px border */
    /*border-radius: 4px;*/
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    /*    justify-content: space-between;
    align-items: center;*/
    font-size: 20px;
    font-weight: 700;
    /*    max-width: 100%;*/
    /*word-break: break-word;*/
    word-break: break-word;
    /*white-space: nowrap;*/ /* Prevent text from wrapping to the next line */
    /*overflow: hidden;*/ /* Hide the overflow content */
    /*text-overflow: ellipsis;*/ /* Show ellipsis (...) for overflow text */
    /* overflow: visible;*/
}

.sponsored-section {
    text-align: right;
}

.social-media-preview-image {
    max-width: 800px; /* Set the target width for social media sharing */
    max-height: 800px; /* Set the target height for social media sharing */
    width: auto;
    height: auto;
}

.customModalFooter-section {
    color: black;
    padding: 10px;
    border-top: 1px solid black; /* Add 1px border */
}

#canvasContainer {
    width: 100%; /* Instead of max-width */
    height: 100%;
    /*    padding: 5px;*/
    position: relative;
    box-sizing: border-box; /* Add this line */
    overflow: hidden;
}

#mainCanvas {
    max-width: 100%;
    height: auto;
    width: 100%;
    display: block;
    object-fit: contain;
}

#deleteIcon {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    display: none;
    z-index: 999; /* Add this line */
    padding: 5px; /* Adjust the padding as needed */
    font-size: 1rem; /* Adjust the font size as needed */
    line-height: 1; /* Ensure no additional vertical space */
}

.meme-wrapper {
    box-sizing: border-box; /* Add this line */
    /*    padding: 5px;*/
    background-color: #fff;
    display: flex;
    /*  justify-content: center;
    align-items: center;*/
    width: 100%;
    max-width: calc(100% - 5px);
    height: fit-content;
}

.meme-container {
    /*   padding: 5px;*/
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    border: 1px solid black;
    width: fit-content;
    height: fit-content;
    max-width: 100%;
}

.memeHeader-section {
    color: black;
    padding: 10px 25px 10px 10px;
    border-bottom: 1px solid black; /* Add 1px border */
    /*font-style: italic;*/
    font-size:16px;
    font-weight:bold;
    max-width: 100%;
}

.memeFooterEmbeded-section {
    color: black;
    font-size: 16px;
    font-weight: bold;
    max-width: 100%;
    /*border-top: 1px solid black;*/ /* Add 1px border */
 /*   height: 100%;*/
    max-height: fit-content;
    padding: 10px 25px 10px 10px;
}

.memeFooter-section {
    color: black;
    padding: 10px;
    border-top: 1px solid black; /* Add 1px border */
  /*  margin-top: 10px;*/
    font-style: italic;
    max-width: 100%;
}

.disabled-card {
    opacity: 0.7;
    pointer-events: none; /* Disable click events on the card */
    /* Additional styling as needed */
}


.file-input-btn {
    display: none;
}

.file-input-btn-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    /* Add any additional styling you want for your button */
}

/*canvas {
    height: 100vh;
    width: 100vw;
    display: block;
}
*/
/* Q And A*/
/*
    .option:hover {
        background-color: #45a049;
    }
*/
/*.buttonWithEffect {
}

    .buttonWithEffect:active {
        transform: translateY(10px);
    }

    .buttonWithEffect.clicked {
        transform: translateY(0);
    }

*/
/*.animated-button:after {
    content: "";
    background: #90EE90;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s;
}

.animated-button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s;
}
*/
.btn-loading {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}

#toTop {
    position: fixed;
    /* bottom: 35px;
    right: 20px;*/
    bottom: 20px;
    left: 20px;
    cursor: pointer;
    display: none;
}

    #toTop .fa {
        margin-right: 5px;
    }




.Loginpopup {
    /*display: none; for demonstration*/
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2000;
    display: none;
}

.Loginpopup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(119, 119, 119, 0.7);
    z-index: 2001;
}

.Loginpopup-wrapper {
    position: relative;
    /*top: 50%;*/
    top: 40%;
    max-width: 50%;
    /*   max-width: 350px;*/
    max-height: 85%;
    margin: auto;
    z-index: 2002;
    transform: translateY(-50%);
}


.Loginpopup-content {
    text-align: center;
}

    .Loginpopup-content li {
        text-align: left;
    }



.Loginpopup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: #FFF;
    border: 1px solid;
    -webkit-border-radius: 120px;
    border-radius: 120px;
    z-index: 999;
}

.Loginpopup-content {
    height: 100%;
    background-color: #FFF;
    padding: 10px;
    border-radius: 4px;
}

/* additional styling */
.Loginpopup-content {
    text-align: center;
}

.my-swal {
    margin-top: 60px !important; /* Adjust the top margin of the toast */
}

    .my-swal .swal2-icon {
        margin-right: 10px !important; /* Adjust the margin between the icon and the message */
    }


.masonry-layout {
    column-count: 1;
    column-gap: 1em;
}

.masonry-item {
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
    box-sizing: border-box;
}

.image-container2 {
    position: relative;
    display: inline-block; /* so the size of the container fits the image */
}

.top-right-button {
    position: absolute;
    top: 0;
    right: 0;
}


/*media  rule might not work as expected because it uses the body element to calculate the screen size, which is outside the component's scope.*/
/* For desktop and laptop screens */
@media (min-width: 1024px) {
    .masonry-layout {
        column-count: 4;
    }
    .CustomDialog {
        max-width: 100% !important;
        width: 70% !important;
    }

    .rainbow {
        background-color: #343A40;
        border-radius: 4px;
        color: #fff;
        cursor: pointer;
        padding: 8px 16px;
        position: relative; /* Add this line */
        overflow: hidden; /* Add this line */
        background-image: none; /* Remove the rainbow gradient by default */
    }

        .rainbow:after {
            content: "";
            background: white;
            display: block;
            position: absolute;
            padding-top: 300%;
            padding-left: 350%;
            margin-left: -20px !important;
            margin-top: -120%;
            opacity: 0;
            transition: all 0.8s;
        }

        .rainbow:active:after {
            padding: 0;
            margin: 0;
            opacity: 1;
            transition: 0s;
        }

        .rainbow:hover {
            background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 80%, #00C0FF 100%);
            animation: slidebg 5s linear infinite;
        }


        .rainbow:disabled {
            background-image: none; /* Remove the rainbow gradient */
            background-color: gray; /* Change the background color for the disabled state */
            cursor: not-allowed; /* Change the cursor for the disabled state */
        }

            .rainbow:disabled:after {
                background: transparent; /* Remove the white overlay */
            }

    /*  .rainbow {
        background-color: #343A40;
        border-radius: 4px;
        color: #fff;
        cursor: pointer;
        padding: 8px 16px;
    }


    .rainbow-1:hover {
        background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 80%, #00C0FF 100%);
        animation: slidebg 5s linear infinite;
    }
*/
    /*

    .rainbow-1:hover {
        background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 80%, #00C0FF 100%);
        animation: slidebg 5s linear infinite;
    }

    .rainbow-1:not(:active):hover {
        background-image: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 80%, #00C0FF 100%);
        animation: slidebg 5s linear infinite;
    }
    .rainbow-2:hover {
        background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet, red);
        animation: slidebg 2s linear infinite;
    }

    .rainbow-3:hover {
        background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, red);
        animation: slidebg 2s linear infinite;
    }

    .rainbow-4:hover {
        background-image: linear-gradient( to right, #E7484F, #F68B1D, #FCED00, #009E4F, #00AAC3, #732982 );
        animation: slidebg 2s linear infinite;
    }


    .rainbow-5:hover {
        background-image: linear-gradient( to right, #E7484F, #E7484F 16.65%, #F68B1D 16.65%, #F68B1D 33.3%, #FCED00 33.3%, #FCED00 49.95%, #009E4F 49.95%, #009E4F 66.6%, #00AAC3 66.6%, #00AAC3 83.25%, #732982 83.25%, #732982 100%, #E7484F 100% );
        animation: slidebg 2s linear infinite;
    }
*/

    @keyframes slidebg {
        to {
            background-position: 20vw;
        }
    }
}

/* For tablet screens */
@media (min-width: 768px) and (max-width: 1023px) {
    .masonry-layout {
        column-count:3;
    }
    .CustomDialog {
        max-width: 70% !important;
        width: 60% !important;
        margin: auto;
    }

    /* .question {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .option {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }*/
}

/* For phone screens */
@media (max-width: 767px) {
    .masonry-layout {
        column-count: 2;
    }
    .sticky-switch {
        position: sticky;
        top: 57px; /* Adjust this value based on the height of your navigation bar */
        left: 0;
        z-index: 1000; /* This should be higher than the z-index of your navigation bar */
        background-color: #fff;
    }

    .CustomDialog {
        max-width: 90% !important;
        width: 60% !important;
        margin: auto;
    }

    /* Disable Tap to Search on mobile devices */
    body {
        -ms-touch-action: pan-x pan-y !important;
        touch-action: pan-x pan-y !important;
    }

    *,
    *:before,
    *:after {
        -ms-touch-action: pan-x pan-y !important;
        touch-action: pan-x pan-y !important;
    }

    html {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    body::-webkit-scrollbar {
        display: none;
    }

    x-ms-webview {
        -ms-touch-action: none !important;
        touch-action: none !important;
    }
    /* Disable Tap to Search on mobile devices */

    .Loginpopup-wrapper {
        width: 90% !important;
        max-width: 95%;
        max-height: 100% !important;
        top: 7%;
        transform: none !important;
    }

    /*.question {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .option {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }*/
}


.loader-container {
    position: relative;
    display: flex;
    align-items: center;
}

.loader {
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    border-radius: 50%;
    background: linear-gradient(#f07e6e, #84cdfa, #5ad1cd);
    animation: animate 1.2s linear infinite;
    position: relative;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader span {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(#f07e6e, #84cdfa, #5ad1cd);
}

    .loader span:nth-child(1) {
        filter: blur(5px);
    }

    .loader span:nth-child(2) {
        filter: blur(10px);
    }

    .loader span:nth-child(3) {
        filter: blur(25px);
    }

    .loader span:nth-child(4) {
        filter: blur(50px);
    }

.loader:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: #f1f1f1;
    border: solid white 10px;
    border-radius: 50%;
}

.Lodearlogo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
