﻿.gallerys- {
    display:flex;
    flex-flow:column;
    max-width: var(--ps-desktop);
    margin-left: auto;
    margin-right: auto;
    justify-content:space-around;
    align-items:center;
    margin-top:30px;
}

.gallerys-body {
    display: flex;
    flex-flow: row wrap;
    width:100%;
    justify-content:space-between;
}

    .gallerys-body > * {
        /*flex: 1 1 0;*/
        margin: 20px;
    }

.nit-gallery-card {
    display: flex;
    flex-flow: column;
    max-width: 400px;
    width: 250px;
    cursor:pointer;
}
    .nit-gallery-card:hover {
        max-width: 100%;
        border: solid 2px darkgreen;
        border-radius:8px;
        background-color:aliceblue;
    }

    .-n-g-c-image-body {
    display: flex;
    padding: 2px;
    justify-content: start;
    align-items: center;
}
    .-n-g-c-image-body > img {
        max-width: 100%;
        border-radius: 5px;
    }
    

.-n-g-c-title-body{
    padding:4px;
}

.gallerys-body .collapse {
    width: 100%;
    height: auto;
}
.-nit-collapse-card {
    position:relative;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: auto;
     
    padding:1rem;
    
}

.-n-c-c-body {
    display: flex;    
    width: 100%;
    height: auto;    
    padding: 1rem;
}

.-nit-v {
    flex-flow: column;
    justify-content: center;
}

    .-nit-v > img {
        max-width: 100%;
        width: 100%;
        margin:10px;
    }

.-nit-h {
    flex-flow: row wrap;
    justify-content: space-around;
    align-items:center;
}

    .-nit-h > img {
        max-width: 200px;
        border-radius: 5px;
        margin: 10px;
    }


.-nit-coll-active {
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    border: solid 2px darkgreen;
    border-radius: 8px;
}

.-nit-coll-btn{
    display:block;
    position:absolute;
    width:40px;
    height:35px;
    border-radius:5px;
    right:20px;
    top:20px;
    background-image:url('../images/nit/common/grip-vertical.svg');
    background-size:80%;
    background-position:center center;
    background-repeat:no-repeat;
    border:solid 1px gray;
    border-radius:5px;
}

.-nit-coll-btn:hover{
    opacity:0.7;
    border-color:darkgreen;
}

@media screen and (max-width: 450px) {
    .ac-item-pio-card-images {
        display: flex;
        flex-flow:row nowrap;
        overflow-x:auto;
    }
    .gallerys-body {
        justify-content:center;
        align-items:center;
    }
    .-gs-image {
        min-width: 180px;
    }
    .-nit-h {
        flex-flow: row nowrap;
        justify-content: space-around;
        align-items:center;
        overflow-y:auto;
    }
    .-n-c-c-body {
        
        padding: 1px; 
    }
    .-nit-v > img {
        max-width: 100%;
        width: auto; 
        margin-top: 5px;
        margin-bottom: 5px;
        border-radius:5px;
    }
    .-nit-collapse-card {
        padding:1px
    }
    .-n-c-c-titlebody{
        padding:10px;
    }
    .-n-c-c-htmlbody {
        padding: 10px;
    }
    .-nit-coll-btn {
        top: 5px;
        right: 10px;
    }
    .gallerys-body > * {
        /*flex: 1 1 0;*/ 
        margin: 2px;
    }
 }