* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#subCategories {
    display: none;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
}

.isl .row {
    margin: 0;
}

.isl-banner {
    width: 100%;
    /* height: 200px;
    max-height: 200px; */
    /* background-color: blueviolet; */
    /* overflow: hidden; */
    position: relative;
}

.isl-banner img {
    width: 100%;
}

.isl .row .col {
    padding: 15px;
}

.isl-card-sentenceonly {
    width: 100%;
    /* height: 250px; */
    max-width: 100%;
    max-height: 100%;

    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: .5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: solid 1px wheat;
}

.isl-card {
    width: 100%;
    /* height: 250px; */
    max-width: 100%;
    max-height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: .5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: solid 1px wheat;
}

.sub-category-card,
.main-category-card .main-category-card-dummy {
    border-radius: 20px;

}

.main-category-card-dummy {
    /* opacity: .6; */
    cursor: no-drop;
}

.main-category-card-dummy div {
    opacity: .5;
}

.main-category-card-dummy img {
    opacity: .5;
}

.isl-card:hover {
    transition: .5s;
    box-shadow: 1px 1px 5px black;
}

.isl-play-button {
    z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* background-color: #292929;
    border-radius: 10%; */
}

/* .isl-card:hover .isl-play-button {
    transition: 1.3s;
    opacity: 0;
    scale: 0;
    width: 0;
    display: none;
} */

.isl-thumb-video {
    width: 100%;
}

.isl-thumb-image {
    width: 100%;
    /* border-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0; */
}

.isl-thumb-caption {
    width: 100%;
    /* position: absolute; */
    background: #00000025;
    bottom: 0;
    text-align: center;
    padding: 10px;
    color: rgb(255, 255, 255);
    border-radius: 19px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.isl-thumb-caption-main {
    width: 100%;
    /* position: absolute; */
    background: #055ee2;
    bottom: 0;
    text-align: center;
    padding: 10px;
    color: rgb(255, 255, 255);

}

.isl-thumb-caption p {
    padding: 0;
    margin: 0;
}

.isl-thumb-caption-top {
    width: 100%;
    /* position: absolute; */
    background: #0a0a0a6b;
    top: 0;
    text-align: center;
    color: wheat;
}

.main-category-card-dummy .isl-thumb-caption-main {
    background-color: red;
}

.popup {
    /* width: 60%; */
    position: fixed;
    background-color: #292929;
    /* padding-left: 10px;
    padding-right: 10px; */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: -1px -1px 5px 1px #5c5c5c;
    border-radius: 10px;
    border: solid .5px #eaeaea;
    display: flex;
    flex-direction: column;
    transition: 1s;
    display: none;
    z-index: 1001;
    
}

.border-custom-rounded {
    border-radius: 1rem;
}

.sentence-making-popup {
    width: 90%;
    height: 90vh;
    /* width: 50%; */
    position: fixed;
    background-color: #fff;
    /* padding-left: 10px;
    padding-right: 10px; */
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* box-shadow: -1px -1px 5px 1px #5c5c5c; */
    border-radius: 40px;
    border: solid 15px #088697;
    display: flex;
    flex-direction: column;
    transition: 1s;
    display: none;
    z-index: 1001;
}
.sentence-making-popup iframe{
    width: 100% !important;
    height: 100%;
}
.sentence-making-popup .close {
    z-index: 10;
}

.popup-header {
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.popup-video-container {
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
}

.popup-video-container .popup-video {
    width: 100%;
    display: none;
}

.popup-footer {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.popup-close {
    width: 40px;
    height: 40px;
    padding: 5px;
    /* background-color: #5c5c5c; */
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bolder;

}

.close {
    cursor: pointer;
}

.popup-header {
    color: white;
}

.popup-footer-2,
.popup-footer-3 {
    position: absolute;
    background-color: transparent;
    bottom: 20px;
    right: 20px;

}

.btn-round {
    border-radius: 50%;
}

.overlay,
.overlay-fs {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0 0 0 / 74%);
    z-index: 6;
    display: none;
    left: 0;
    top: 0;
}

.nav-wrapper {
    margin-top: 20px;
    list-style: none;
}

.nav-wrapper li {
    list-style-type: none;
    display: inline;
    padding: 10px;
    background-color: #292929;
}

.nav-wrapper li a {
    text-decoration: none;
    color: white;
}

.nav-wrapper .active {
    background: #8d8d8d;

}

.nav-wrapper .active a {
    color: #292929;
}

.div-droppable {
    max-height: 150px;
    border: 2px dashed #ccc;
    /* Optional: For better visual feedback */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Ensures child positioning works */
}


/* new style */


.scrollable-div {
    overflow-y: auto;
    overflow-x: hidden;
}

.main-tab {
    border: solid 1px gray !important;
    border-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    margin-right: 5px;
    background-color: rgb(0, 72, 206) !important;
    color: white;
}

.nav-tabs .active {
    background-color: white !important;
    border-bottom: 0 !important;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.sub-tab {}

.tab-content {
    border: 1px solid rgb(100, 100, 100);
    border-top: 0px;
}

/* Change the active pill's background color to Bootstrap's secondary color */
.nav-pills .nav-link.active {
    background-color: var(--bs-teal);
    color: #fff;
    /* Adjust text color for better contrast */
    border-radius: 0px;
}

/* Optionally change hover or focus states for consistency */
.nav-pills .nav-link.active:hover,
.nav-pills .nav-link.active:focus {
    text-align: center;
    color: #fff;
}

/* Change the active pill's background color to Bootstrap's secondary color */
.nav-pills-custom .nav-link.active {
    background-color: var(--bs-gray-dark) !important;
    color: #fff !important;
    /* Adjust text color for better contrast */
    border-radius: 0px !important;
}

/* Optionally change hover or focus states for consistency */
.nav-pills-custom .nav-link.active:hover,
.nav-pills-custom .nav-link.active:focus {
    text-align: center !important;
    color: #fff !important;
}

.bg-custom-yellow {
    background-color: #ffe600;
}

.word-card-sentence-making {
    z-index: 5;
}


#btnReset2 {
    right: 20px;
    bottom: 20px;
}


#mainCategoryTabs>.nav-item:nth-child(1) {
    padding-left: 2rem;
    /* Adjust for smaller screens */
}

.main-tab {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.3rem;
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

.sub-tab {
    background-color: #888888 !important;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 0px !important;
}

.sub-tab-active {
    background-color: #3b3b3b !important;

}

.sentence-only-row {
    padding-left: 2rem;
    padding-right: 2rem;
}

.btn-sentence-only {
    background-color: #f3f4f5;

}

.btn-sentence-only:hover {
    background-color: #d6dfe7;
    /* box-shadow: 0px 2px 4px 1px #b2b2b2; */
}

.sentece-only-active {
    background-color: #d6dfe7;
    border: solid 1px rgb(167, 167, 167);
    box-shadow: 0px 2px 4px 1px #b2b2b2;
}

.sentence-making-area {
    position: fixed;
    bottom: 0;
    z-index: 10;
    width: 100%;
    left: 0;
    background-color: #e0faff;
    height: 150px;
    padding: 10px;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 5px 10px #000000;
    box-shadow: 1px -4px 16px 0px #cbcbcb;
    border-top: solid 1px white;

}

.activity-content {
    padding-bottom: 200px !important
}


.div-droppable div {
    display: flex;
    flex-direction: row;

}

.div-droppable .isl-card div:nth-child(1) {
    flex-grow: 1;
}

.div-droppable .isl-card img {
    flex-shrink: 1;
    width: 100px !important;
}

.confetti {
    display: none;
}

.card-on-drag {
    max-width: 200px;
    min-width: 100px;
}

.thumb-image-sized {
    width: 5rem !important;
}

.d-none {
    display: none;
}

.w-100 {
    width: 100%;
}

.label-not-available {
    position: absolute;
    padding: 10px;
    /* background-color: rgb(170, 0, 0); */
    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-left: 11%;
    padding-right: 11%;
    text-align: center;
    z-index: 10;
    font-size: 1.3rem;
    font-weight: bold;
    width: 68%;
    opacity: 1 !important;
    z-index: 1;



}

.clear-activity {
    position: absolute;
    /* right: 72px; */
    top: 57px;
    background: #000000;
    /* width: 100px; */
    /* height: 100px; */
    text-align: center;
    /* border-radius: 50%; */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;

}

.clear-droparea {
    position: absolute;
    right: -20px;
    top: -20px;
    background: #000000;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Loader styles */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Positioning the loader inside each image */
.image-container {
    position: relative;
    display: inline-block;
    margin: 10px;
}

/* img {
    display: none; 
  } 
  */

.loader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup-content {
    width: 100%;
    height: 100%;
    z-index: 2;
}

.fullscreen-popup {
    z-index: 11;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.fs-banner,
.fs-exit-banner {
    position: absolute;
    right: 10px;
    bottom: 10px;
}



 /* Attention-seeking animation */
 @keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* Active class to change color and trigger animation */
.fs-active {
    background-color: red !important;
    animation: shake 0.5s ease-in-out;
}

/* Existing reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Card container with aspect ratio */
.sub-category-card {
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: .5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: solid 1px wheat;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0; /* Let padding define height */
}

/* Video thumbnail styling */
.isl-thumb-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}

/* Caption styling */
.isl-thumb-caption-main {
    width: 100%;
    position: absolute;
    background: #055ee2;
    bottom: 0;
    text-align: center;
    padding: 10px;
    color: rgb(255, 255, 255);
}

/* Hover effect */
.sub-category-card:hover {
    transition: .5s;
    box-shadow: 1px 1px 5px black;
}


.isl-sentence-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoContainer_assessment{
    position: relative;
	/* width: 100%; */
	/* padding-top: 56.25%;  */
}

.btn-reset{
    display: none;
}

@media (max-width: 768px) {

    .popup {
        width: 80%;
        height: 80%;
        top: 50%;
        left: 50%;
        transform: translate(0-50%, -50%);
    }
    .popup iframe {
        width: 100%;
        height: 100%;
    }
    #popupHeading{
        padding: 0 !important;
        margin: 0 !important;
    }
   .sentence-making-popup {
         width: 90%;
         height: 90%;
         top: 5%;
         left: 5%;
         transform: translate(0, 0);
    }   
    .sentence-making-popup iframe{
        width: 100%;
        height: 120%;
    }
    #activitySentence{
        /* display: none !important; */
    }
    .popup-video-container {
            width: 100%;
    height: 100%;
        height: auto;
}

}