.col-sm-auto {
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.col-sm-auto .card a {width: fit-content;}

.col-sm-auto .card {
    border: #111111;
    background-color: #222222;
    width: fit-content;
    /* 6 paintings per line if the following lines are omitted */
    margin-left: 1em;
    margin-right: 1em;
}

.col-sm-auto .card .btn-sm {
    position : absolute;
    bottom: 5%;
    right: 5%;
    background-color: #920000;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    opacity: 0.85;
}

.col-sm-auto .card:hover .btn-sm {
    opacity: 0;
}

.col-sm-auto img{
    display:block;
    margin-left: auto;
    margin-right: auto;
    max-width: 260px;
}

.mosaic {
    margin-right: 45px;
    margin-left: 45px;
    margin-top: 45px;
}

@media(max-width: 1044px) {
    .col-sm-auto .card {margin: 0px;}
}

@media(max-width: 576px) {
    .col-sm-auto{width: fit-content;}
}

/* NAVBAR */
.gallery-view .navbar {
    margin-left: 45px;
    margin-right: 45px;
    color: #cccccc;
    border: 1px solid black;
}

.gallery-navbar .label {
    padding-left: 10px;
    padding-top: 6px;
    padding-right: 15px;
}

.gallery-navbar .button-clear {
    background-color: #333333;
    color: #dddddd;
    margin-left: 40px;
    margin-right: 10px;
}

.btns {
    /* border: 1px solid red; */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.gallery-navbar .dropdown-menu {
    color: #cccccc;
    padding-left: 5px;
}

.gallery-navbar input {
    margin-right: 100%;
}

.dropdown-menu .dropdown-divider{
    border-top: 1px solid #aaaaaa;
    margin-right: 5px;
}

.gallery-navbar .sort-label {
    color: #aaaaaa;
    font-size: 16px;
}