/* General Layout */

.row .diecut { padding: 0.2rem 0.4rem; }
.row .hidden { display: none; }

/* Buttons */

.button {
    font-size: 1.2rem;
    line-height: 1.2rem;
    padding: 4px 12px;
}

.invertPill {
    background: #48206E;
    border-color: #48206E;
    border-radius: 999px;
    border-style: solid;
    border-width: 2.5px;
    color: #fff;
    display: inline-block;
    font-weight: 550;
}

.invertPill:hover {
    background: #fff;
    color: #48206E;
}

.pill {
    background: rgba(0, 0, 0, 0.0);
    border-color: #888;
    border-radius: 999px;
    border-style: solid;
    border-width: 2.5px;
    color: #888;
    cursor: pointer;
    display: inline-block;
    font-weight: 550;
}

.pill:hover {
    background: #888;
    color: #fff;
}

.tag {
    border-color: #48206E;
    color: #48206E;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 0.9rem;
    margin: 5px 0 0;
    padding: 4px 8px;
}

.tag:hover {
    background: #48206E;
    color: #fff;
}

/* Cards */

.card .card-header { padding: 0.2rem 0.6rem; }

.diecut .image {
    background-color: white;
    color: white;
    height: 10rem;
}

.image img {
    background-color: #fff;
    bottom: 0;
    height: 1000;
    left: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: absolute;
    right: 0;
    top: 0;
    width: 1000;
}

.nav-item .tab-link {
    font-size: 12px;
    margin: 0.1rem;
    padding: 0.3rem;
}

/* Filters */

#filterSections {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    padding: 6px 12px;
    width: 100%;
}

.filter {
    background-color: #48206E;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    margin: 3px;
    padding: 4px;
}

.form-input {
    height: 1.8rem;
    width: 100%;
}

form { margin: 0px; }

.noMatches {
    align-content: center;
    display: table;
    margin: 0 auto;
    text-align: center;
}

#noMatches {
    background-color: #FFE2E2;
    border-color: red;
    border-style: solid;
    border-width: 2px;
    color: red;
    display: none;
    font-weight: bold;
    margin: 0 auto;
    min-width: 200px;
    width: 20vw;
}

/* Modal */

.modal {
    animation-duration: 0.25s;
    animation-name: modalAppear;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    display: block;
    height: 100%;
    left: 0;
    margin: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 1;
}

.modal .menu {
    background-color: lightgray;
    border: 2px solid #54406b;
    border-radius: 25px;
    display: inline-block;
    height: auto;
    margin: 2rem;
    padding: 2%;
    text-align: center;
    width: 70%;
}

@keyframes modalAppear {
    from { opacity: 0 }
    to { opacity: 1 }
}

/* Misc */

a.tab-link { color: #eca500; }
a.tab-link:hover { color: #b98100; }

.inline {
    display: inline-block;
    vertical-align: bottom;
}

.titleLimit {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    line-clamp: 1;
    margin-bottom: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
}

.titleLimit:hover {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    display: -webkit-box;
    line-clamp: 8;
    overflow: show;
    text-overflow: ellipsis;
    transition: 0.3s;
}

#tagResultSeparator { margin-top: 10px; }
