﻿
div.effortless-slide {
    border: 1px solid #15bf97;
    padding: 13px 10px;
    height: fit-content;
}

div.slide-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

nav.nav-container {
    display: flex;
    justify-content: space-between;
    height: 50px;
    padding-top: 10px;
}

/* nav next & prev start */
nav.nav-container > a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    padding: 0 10px;
    width: 40px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.3);
    text-decoration: none;
    font-size: 20px;
}

nav.nav-container > a:hover {
    background-color: #15bf97;
    border: 1px solid #fff;
    color: #fff;
}

nav.nav-container > a:active {
    color: red;
}
/* nav next & prev end */

/* slider image start */
div.slide-container img {
    width: 100%;
    opacity: 0;
    position: absolute;
    transition: all 1s ease-in;
    transform: scale(1.1);
    z-index: -1;
}

div.slide-container img.active {
    opacity: 1;
    animation-delay: 0.5s;
    transition: all 1s ease-out;
    transform: scale(1);
    z-index: 1;
}
/* slider image end */

/* nav dots start */
div.dots-container {
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

div.dots-container a::before {
    font-family: 'bootstrap-icons' !important;
    content: "\F28A"; /* Unicode for the desired icon */
    color: darkgray;
}

div.dots-container a {
    text-decoration: none;
}

div.dots-container a:hover::before {
    content: "\F287" !important;
    color: darkgray;
}

div.dots-container a.active::before {
    content: "\F582" !important;
    color: #15bf97;
}
/* nav dots end */

/* lightbox start */
div.effortless-slide > dialog.lightbox[open] { /*middle*/
    position: fixed;
    z-index: 10000;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

div.effortless-slide > dialog.lightbox > a::before {
    font-family: 'bootstrap-icons' !important;
    content: "\F623";
    position: absolute;
    top: 40px;
    right: 50px;
    color: #fff;
    font-size: 50px;
}

div.effortless-slide > dialog.lightbox > a:hover::before {
    content: "\F622";
}

div.effortless-slide > dialog.lightbox > nav.nav-lightBox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

div.effortless-slide > dialog.lightbox > nav.nav-lightBox > a {
    text-decoration: none;
    border: 1px dashed #fff;
}

div.effortless-slide > dialog.lightbox > nav.nav-lightBox > a:hover {
    background-color: #15bf97;
    border: 1px solid #15bf97;
}

div.effortless-slide > dialog.lightbox > nav.nav-lightBox > a[href='next']::before {
    font-family: 'bootstrap-icons' !important;
    content: "\F27B";
    font-size: 100px;
    color: #fff;
}

div.effortless-slide > dialog.lightbox > nav.nav-lightBox > a[href='prev']::before {
    font-family: 'bootstrap-icons' !important;
    content: "\F27A";
    font-size: 100px;
    color: #fff;
}
/* lightbox end */
