.card-details-name, .card-details-misc {
    background-color: #00000082;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.card-details-url{
    width: 90%;
    pointer-events: all;
}

.card-details-img{
    max-width: 100%;
    margin-left:auto;
    margin-right:auto;
    display: block;
    text-align:center;
    max-height: 500px;
    aspect-ratio: auto;
}

#goTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #7d3e12;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#goTopButton:hover {
    background-color: #555;
}
.dropdown-menu-tool{
    background-color: red;
}
.search-card{
    float: right;
    max-width: 100px;
}
#log-messages{
    max-height: 200px;
}
.card-img {
    width: 150px;
    height: 200px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.2s ease-in-out;
}
.cursor-point{
    cursor: pointer;
}
.col-img-icon {
    width: 20px;
    margin-right: 5px;
}

.unselected-icon{
    filter: saturate(0) opacity(.6);
}

.list-column, .list-column-small, .list-column-tiny {
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
}

.list-column-small{
    width: 100px;
}

.list-column-tiny{
    width: 50px;
}

.list-group-item {
    font-size: 0.9em;
}

/* list-group-item hover color */
.list-group-item:hover, .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* level-icon hover color */
.level-icon:hover {
    filter: saturate(1) opacity(1);
}

.item-counter{
    float: right;
}

.level-icon {
    position: relative;
    text-align: center;
    color: white;
    margin-right: 4px;
    margin-left: 4px;
}

.level-image{
    width: 25px;
}

.level-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-weight: bold;
}

.text-container-icon{
    position: relative;
    text-align: center;
    color: white;
}

.floating-quantity {
    position: absolute;
    top: 5%;
    left: 90%;
    transform: translate(-50%, -50%);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-weight: bold;
    background-color: #7d3e12;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 0.9em;
    border: 2px solid #1f1d1d;
    border-radius: 5px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #7d3e12;
    border-radius: 5px;
}

.set-opacity {
    opacity: 0.9;
}

.card-list-img:hover .overlay {
    opacity: 0.9;
}

.overlay-text {
    color: white;
    font-size: 0.7em;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    min-width: 100%;
}

/* modal_tools_body card button hover color */
#modal_tools_body .card:hover {
    background-color: #dcdcdc;
    border-color: #acacac;
}

/* When screen width is 600px or less, lower width of card-img */
@media screen and (max-width: 600px) {
    .list-column{
        display: block;
        width: 100%;
    }
    .card-img {
        width: 110px;
        height: unset;
    }
    .overlay-text{
        font-size: 0.6em;
    }
    .search-card{
        display: block;
        margin-left: auto;
        margin-right: auto;
        float: unset;
        padding: 5px;
    }
    #main-content-div {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

/* When screen width is 450px or less */
@media screen and (max-width: 450px) {
    .card-img {
        width: 100px;
    }
}


/* When screen width is 900px or less, hide col-3 and make col full width. Show expand-filters button */
@media screen and (max-width: 900px) {
    .col-3 {
        display: none;
        width:100%;
    }
    .col-9 {
        width: 100%;
    }
    .expand-filters {
        display: block !important;
    }
    .col-overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        z-index: 1;
        top: 56px;
        left: 0;
        /* background-color: rgb(159 152 152 / 90%); */
        background: rgba(255, 255, 255, 1);
        overflow-x: hidden;
        transition: 0.5s;
        /* min-width: 300px; */
        min-width: 100%;
    }
}