.LightBox{
    display: none;
    position: fixed;
    top: 0; left: 0;
    z-index: 10;
    
    width: 100%;
    height: 100%; }
    .Open{display: block;}

.LightBox > .BackgroundLighBox{
    position: fixed;

    width: 110vw;
    height: 100vh;
    z-index: -1;
    background-color: #111111;
    opacity: 0.9; }

.TitlePicture{
    position: absolute;
    top: 35px; margin-left: auto; margin-right: auto;
    color: var(--White);
    font-weight: normal;    }

.SwitchButton{
    display: none;
    position: absolute;
    transform: translate(0%, -50%);

    background: gray;
    padding-left: 10px;
    width: 40px;
    height: 40px;
    font-size: 22.5px;
    line-height: 40px;
    border-radius: 100%; 
    color: var(--Shark);   

    box-shadow: 0px 0px 15px 0px gray;
    transition: all 0.25s ease-in-out;}
    .SwitchButton:hover{
        background: var(--White);
        color: #111111;
        box-shadow: 0px 0px 25px 3px gray;
        cursor: pointer;    }
        .PreviousLight{
            position: absolute;
            left: 30px; top: 50%;
            transform: translate(0%, -50%);     }
        .NextLight{
            position: absolute;
            right: 20px; top: 50%;
            transform: translate(0%, -50%);     }

.PictureIndex{
    display: none;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 10px; margin-left: auto; margin-right: auto;
    color: gray;
    font-weight: normal;
    font-size: 20px;   }



.LightBox > .CloseLighBox{
    color: white;
    float: right;
    margin-top: 15px;
    margin-right: 25px;
    font-size: 32px;
    z-index: 9; 
    cursor: pointer;


    transition: all 0.05s ease-in-out;}
    .LightBox > .CloseLighBox:hover{
        transform: scale(1.5) rotate(5deg); }

    .LightBox > .LightBoxImgContainer {pointer-events: none;}
.LightBox > .LightBoxImgContainer > div{display: none;}
.LightBox > .LightBoxImgContainer > .ImgActive{
    z-index: 10;
    width: auto;
    display: flex;
    height: fit-content;
   /* max-height: 85vh;*/
    flex-direction: row;
    justify-content: center;
    align-items: stretch ;

    pointer-events: none;
    background: none;
    margin-top: 100px;   }

        .LightBox > .LightBoxImgContainer > div > img{
            object-fit: contain;
            max-height: 85vh;
            width: auto;



            pointer-events: all;
            max-width: 100%;
          /*  border: white solid 5px; 
            border-radius: 15px;
        
            box-shadow: 0px 0px 20px -10px white;*/}
.LightBox > .LightBoxImgContainer > div > span{
    width: 50px;
    background-color: black;
    color: white;
    font-size: 32px;
    text-align: center; 

    cursor: pointer ;
    transition: all 0.1s ease-in-out;}
    .LightBox > .LightBoxImgContainer > div > span > i{
        position: relative;
        top: 50%;
        transform: translateY(-50%);    }
        .LightBox > .LightBoxImgContainer > div > span:hover{
            background-color: #333333;
        }



@media all and (max-width: 768px)
{
    .LightBox > .CloseLighBox{
        margin-top: 10px;
        margin-right: 15px;
        font-size: 25px;  }
}