.awesome-gallery-entry{
    cursor: pointer;
    width: 100%;
}

.awsm-gallery img {
    width: 31%;
    margin: 1%;
    display: inline-block;
    border: 5px solid white;
	cursor: pointer;
}

.zommedImgFlex {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
}


.gallery-closer {
    position: absolute;
    top: 50%;
    right: 50%;
    margin-top: -250px;
    margin-right: -440px;
}

.zommedImg {
    position:relative;
}

.zommedImgTop {
    width: 800px;
    padding-bottom: 52%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.zommedImgBot {
        display: none;
}

.gallery-icon{
    color: white;
    font-size: 2em;
    padding: 0.25em;
    cursor: pointer;
}

div#awesome-gallery-nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

div#awesome-gallery-nav a {
    background-color: var(--main-dark-color);
    padding: 0.5em;
    flex-grow: 1;
    margin: 0 0.5em 1em;
}

div#awesome-gallery-nav a.selected {
    border: 2px solid #1763ac;
}


.zommedImgFlex img{
    filter: invert(1);
    width: 25px;
    padding: 10px;
}

@media screen and (max-width: 850px) {
    .awsm-gallery img {
        width: 100%;
        margin:initial;
    }
    
    
    .zommedImg {
        width: 80%;
        position:relative;
    }
    
    
    
    .zommedImgBot, .zommedImgTop {
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 92%;
        border: 4px solid white;
        background-size: 206%;
        background-position: 2% 9%;
        position: relative;
    }
    
    .zommedImgBot {
        background-position: -96%;
        border-top: none;
    }
    
    .gallery-closer {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
    }
}

