div.gallery{
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
}

div.gallery_container{
    height: 100%;
}

div.gallery li{
    width: 4rem !important;
    height: 4rem !important;
    overflow: hidden;
}

div.gallery li img{
    width: 100%;
}

div.gallery li[data-bs-target="#imageGallery"]{
    text-indent: 0px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

div.gallery img.image{
    
    z-index: 2001;
    width: auto !important;
    height: 80vh;
}

div.gallery.hidden{
    display: none;
}

*.image-gallery img{
    cursor: pointer;
}

div.gallery_close{
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    padding: 35px 0px;
    z-index: 2002;
    font-size: 20px;
}

div.gallery_close:hover{
    opacity: 1;
}

div.carousel-item{
    height: 100vh;
}

div.carousel-item iframe{
    min-width:90vh !important;
    min-height:50vh !important;
    top:50%;
    padding: 30px;
    background-color: white;
    transform: translate(-50%, -50%);
    position: absolute;
}

div.carousel-item img{
    top:50%;
    padding: 30px;
    background-color: white;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    vertical-align: middle;
    max-width: 80vw;
    max-height: 80vh;
    width: auto !important;
    height: auto !important;
    margin: auto;
}

i[data-text]{
    position: relative;
}
i[data-text]:after{
    position: absolute;
    left: 50%;
    top:50%;
    transform: translate(-50%, -50%);
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-weight: 300;
    font-size: 0.4em;
    line-height: 100%;
    filter: invert(1);
    content: attr(data-text);
}

li.detail-param-line:nth-child(odd){
    background-color: #f9fafb;
}