
ul.mojefoto {

    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap:  wrap;

    gap: 5px;
    list-style: none;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    &:after {
        content:'';
        display:block;
        flex-grow: 10;
    }
}

li.mojefoto {
    height: 14vh;
    flex-grow: 1;
    padding: 4px;
}

li.mojefoto:last-child {
// There's no science in using "10" here. In all my testing, this delivered the best results.
flex-grow: 10;
}

img.mojefoto {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
    border-radius: 1%;
    box-shadow:
            inset 0 -3em 3em rgba(248, 245, 245, 0.11),
            0 0 0 2px rgba(208, 206, 205, 0.52),
            0.3em 0.3em 1em rgba(191, 186, 186, 0.74);
}


@media (max-aspect-ratio: 1/1) {
    li.mojefoto {
        height: 30vh;
    }
}



@media (max-height: 480px) {
    li.mojefoto {
        height: 80vh;
    }
}

@media (max-aspect-ratio: 1/1) and (max-width: 600px) {
    ul.mojefoto {
        flex-direction: row;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;

    }

    li.mojefoto {
        height: auto;
        width: 100%;
    }
    img.mojefoto {
        width: 100%;
        max-height: 65vh;
        min-width: 0;
    }
}

@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
    ul.mojefoto {
        flex-direction: row;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;

    }

    li.mojefoto {
        height: auto;
        width: 100%;
    }
    img.mojefoto {
        width: 100%;
        max-height: 65vh;
        min-width: 0;
    }
}

.mojefoto img:hover {
    opacity: 0.5;
}


#customers {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 15px;
}

#customers td, #customers th {
    border: 1px solid rgba(4, 104, 55, 0.58);
    padding: 8px;
}

#customers tr:nth-child(even){background-color: rgba(4, 104, 55, 0.09);}

#customers tr:hover {background-color: rgba(88, 131, 48, 0.43);}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

table.customTable {
    background-color: rgba(9, 246, 130, 0.28);
    border-collapse: collapse;
    border-width: 0;
    width: 100%;
}
table.customTable tr:hover {
    background-color: rgba(9, 246, 130, 0.28);
}

table.customTable td {
    border-top: 1px;
    border-style: solid;
    padding: 6px;
    border-top-color: rgba(93, 91, 91, 0.47);
}

table.customTable td a{
    color: #e80d0d;
    font-weight: bold;
    margin: 1px 10px 1px 10px;
}

table.customTable td a:hover{
    color: #046837;
}