html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {}

header {
    position:relative;
    z-index:10;
}

.center {
    display:flex;
    justify-content:center;
}

.right {
    display: flex;
    justify-content: flex-end;
}

ul {
    list-style:none;
}
.sidebarNavItem {
    padding: 16px;
}

.sidebarNavLink {
    position: relative;
    text-decoration: none;
}

    .sidebarNavLink::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        height: 2px;
        width: 0;
        transition: all 0.3s ease-out;
        transform: translate(-50%);
    }

    .sidebarNavLink:hover::before {
        width: 100%;
    }

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ripple div {
        position: absolute;
        border: 4px solid blue;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .lds-ripple div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* Desktop styles */
.desktop {
    display: table-cell;
}

.mobile {
    display: none;
}


.dragMediaItem {
    cursor: grab;
    list-style: none;
}
.dragMediaItem:active {
    cursor: grabbing;
}

.form-floating {
opacity:.7;
font-size: .7em;
}

    .form-floating label {
        font-size: .7em;
        color:black;
    }

.video-container {
    position: relative;
    width: 100%; /* Set the width of the container */
    overflow: hidden; /* Ensures nothing spills out */
}

    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain; /* Ensures the video maintains aspect ratio without cropping */
    }


.slide_edit_prompts {
    position: absolute;
    z-index: 10; /* Ensures it sits above the video layer */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better visibility */
    color: #fff; /* Text color */
    padding: 5px 10px; /* Padding for aesthetic spacing */
    border-radius: 5px; /* Optional: for rounded corners */
}


.lds-grid,
.lds-grid div {
    box-sizing: border-box;
}

.lds-grid {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-grid div {
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: currentColor;
        animation: lds-grid 1.2s linear infinite;
    }

        .lds-grid div:nth-child(1) {
            top: 8px;
            left: 8px;
            animation-delay: 0s;
        }

        .lds-grid div:nth-child(2) {
            top: 8px;
            left: 32px;
            animation-delay: -0.4s;
        }

        .lds-grid div:nth-child(3) {
            top: 8px;
            left: 56px;
            animation-delay: -0.8s;
        }

        .lds-grid div:nth-child(4) {
            top: 32px;
            left: 8px;
            animation-delay: -0.4s;
        }

        .lds-grid div:nth-child(5) {
            top: 32px;
            left: 32px;
            animation-delay: -0.8s;
        }

        .lds-grid div:nth-child(6) {
            top: 32px;
            left: 56px;
            animation-delay: -1.2s;
        }

        .lds-grid div:nth-child(7) {
            top: 56px;
            left: 8px;
            animation-delay: -0.8s;
        }

        .lds-grid div:nth-child(8) {
            top: 56px;
            left: 32px;
            animation-delay: -1.2s;
        }

        .lds-grid div:nth-child(9) {
            top: 56px;
            left: 56px;
            animation-delay: -1.6s;
        }

@keyframes lds-grid {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.thumbnail {
    width: 100px; /* or any desired width */
    height: auto; /* maintain aspect ratio */
    margin-right: 10px;
}

.thumbnail-slide {
    width: 100%; /* Adjust this width as per your requirement */
    max-width: 250px; /* For example, create a smaller preview */
    height: auto;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.cookieMessage {
  width: auto;
}
#toast-container > div {
    width: 300px !important;
}

#toast-container>.toast-info {
    background-image:none !important;
}

.trash-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5M11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3A1.5 1.5 0 0 0 5 1.5v1H1.5a.5.5 0 0 0 0 1h.538l.853 10.66A2 2 0 0 0 4.885 16h6.23a2 2 0 0 0 1.994-1.84l.853-10.66h.538a.5.5 0 0 0 0-1zm1.958 1-.846 10.58a1 1 0 0 1-.997.92h-6.23a1 1 0 0 1-.997-.92L3.042 3.5zm-7.487 1a.5.5 0 0 1 .528.47l.5 8.5a.5.5 0 0 1-.998.06L5 5.03a.5.5 0 0 1 .47-.53Zm5.058 0a.5.5 0 0 1 .47.53l-.5 8.5a.5.5 0 1 1-.998-.06l.5-8.5a.5.5 0 0 1 .528-.47M8 4.5a.5.5 0 0 1 .5.5v8.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5' fill='none' stroke='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    height: 24px;
}

.pencial-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M12.146.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-10 10a.5.5 0 0 1-.168.11l-5 2a.5.5 0 0 1-.65-.65l2-5a.5.5 0 0 1 .11-.168zM11.207 2.5 13.5 4.793 14.793 3.5 12.5 1.207zm1.586 3L10.5 3.207 4 9.707V10h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.293zm-9.761 5.175-.106.106-1.528 3.821 3.821-1.528.106-.106A.5.5 0 0 1 5 12.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.468-.325' fill='none' stroke='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    height: 24px;
}

.drop-area {
    position: relative;
    background-color: #f0f0f0; /* Light background color */
}

.drop-area::before {
    content: "Drop Area";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: #cccccc; /* Light gray color */
    pointer-events: none;
    z-index: 0;
}

.drop-area > * {
    position: relative;
    z-index: 1; /* Ensure content is above the background text */
}

.background-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3; /* Adjust opacity as needed */
    z-index: 0; /* Ensure it's behind the main content */
    pointer-events: none; /* Disable interaction with background */
}

    .background-content img, /* If your slide content has images */
    .background-content video {
        width: 100%; /* Make sure it fits within the div */
        height: 100%;
        object-fit: cover; /* Ensure it covers the area properly */
    }

.foreground-content {
    position: relative;
    z-index: 1; /* Ensures this is above the background */
}

.fabric-overlay-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* If you only want clicks to pass through to the grid, not the canvas */
}
    .fabric-overlay-canvas.active {
        pointer-events: auto; /* Allow clicks on the canvas */
    }

    .fabric-overlay-canvas.inactive {
        pointer-events: none; /* Pass clicks through to the grid */
    }

.notification-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px; /* Adjust height as needed */
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* High z-index to stay on top */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3); /* Optional shadow */
}

.iconButton{
    background: none;
    border: none;
}

ul.c {
    list-style-type: circle;
}



/* TV Frame Classes */

/* Landscape Frame */
.frame-landscape {
    width: 40vw; /* Smaller size for desktop */
    height: calc(40vw / 16 * 9); /* Maintain 16:9 aspect ratio */
    max-width: 800px; /* Limit the size for larger screens */
    max-height: 450px; /* Limit height for larger screens */
}

/* Portrait Frame */
.frame-portrait {
    width: 30vw; /* Smaller size for desktop */
    height: calc(30vw / 9 * 16); /* Maintain 9:16 aspect ratio */
    max-width: 400px; /* Limit the size for larger screens */
    max-height: 700px; /* Limit height for larger screens */
}



.thin-tv-frame {
    background-color: white;
    position: relative;
    border: 4px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    margin: auto; /* Center within column */
}

    .thin-tv-frame::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle highlight for edge */
        border-radius: 8px;
        pointer-events: none; /* Ensures this layer doesn't block interactions */
    }

/* Screen Content */
.screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    color: #fff;
    padding: 20px;
}

    .screen h2 {
        font-size: 1.5em;
        margin: 0 0 10px;
    }

    .screen p {
        font-size: 1em;
        margin: 0;
    }


@media (max-width: 992px) { /* For tablets and smaller devices */
    .frame-portrait, .frame-landscape {
        width: 90%; /* Slightly smaller width for smaller screens */
    }

    .frame-portrait {
        height: calc(90% / 9 * 16); /* Adjust portrait height */
    }

    .frame-landscape {
        height: calc(90% / 16 * 9); /* Adjust landscape height */
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: table-cell;
    }
    .frame-landscape {
        width: 70vw;
        height: calc(70vw / 16 * 9);
    }

    .frame-portrait {
        width: 60vw;
        height: calc(60vw / 9 * 16);
    }

    .screen h2 {
        font-size: 1.2em; /* Adjust text size for smaller screens */
    }

    .screen p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .frame-landscape {
        width: 80vw;
        height: calc(80vw / 16 * 9);
    }

    .frame-portrait {
        width: 60vw;
        height: calc(60vw / 9 * 16);
    }

    .screen h2 {
        font-size: 1em;
    }

    .screen p {
        font-size: 0.8em;
    }
}

.banner-text {
    font-family: "Roboto", "Helvetica Neue", sans-serif;
    font-weight:400;
    color: white;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 1); /* Dark shadow around text */
}

.banner-text-header {
    font-weight:900;
    font-size: 3.1em;
}

.banner-text-sub {
    font-size: 1.7em
}


.second-banner {
    width: 100%;
    background: #E6F0FA;
    
    padding: 50px 20px;
}

.third-banner {
    width: 100%;
    background: #E6F0FA;
    padding: 50px 20px;
}

.hero-banner {
    width: 100%;
    padding: 50px 10px;
    background-color: #E6F0FA;
}

.card-body {
    border: solid 2px #7BC043;
    background-color: #fff;
}

.card-text {
    color: #2C2C2C;
}

.bi {
    color: #7BC043;
}

.hero-content {
  /*  max-width: 1200px;*/
    margin: 0 auto;
    display: flex;
 /*   flex-direction: row;
    gap: 40px;
    align-items: center;*/
}

.hero-text-section {
    width:90%;
    margin: 0px auto;
}

.hero-text {
    text-align:center;
   font-size:47px;
}
.hero-subtext {
    font-size: 37px;
    text-align: center;
}
.hero-lower-text {
    font-size: 17px;
    text-align: center;
    margin-left: 160px;
    margin-right: 160px;
    
}

.static-left {
    flex: 1;
}

.rotating-right {
    flex: 1;
    padding: 40px 100px; /* heavy padding on both sides */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .rotating-right {
        padding: 40px 20px; /* Reduce padding on mobile */
        text-align: center;
    }
}

.rotating-content {
    height:100%;
}

.rotating-item {
    position: absolute;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
    height: 100%;
}

    .rotating-item.active {
        opacity: 1;
        transform: translateX(0);
        position: relative;
    }

.video-container {
    height: 100%;
    width: auto;
    position: relative;
}

    .video-container video {
        width: 100%;
        height: 100%;
        position: absolute;
        object-fit: cover;
        z-index: 0;
    }

    /* Just styling the content of the div, the *magic* in the previous rules */
    .video-container .caption {
        margin-top:10%;
        z-index: 1;
        position: relative;
        text-align: center;
        color: white;
        font-family: "Imperial Script", cursive, Tahoma, Geneva, Verdana, sans-serif;
    }
