/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/* Style the accordion panel. Note: hidden by default */
a {
    color: black;
}

a:link {
    color: black;
}

a:visited {
    color: grey;
}

a:hover {
    color: grey;
}

a:active {
    color: grey;
}

.collapse {
    right: 0px;
}

.toolbar {
    float: right;
}

.card {
    border: none;
    color: #444242;
}

.card-header:first-child {
    border-radius: none;
    border: none;
}

.card-header {
    background-color: rgba(0,0,0,0);
    border: none;
    box-sizing: none;
    border-bottom: none;
    margin: none;
}

.btn-link {
    color: darkolivegreen;
    font-weight: bold;
    font: small-caps;
}

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container,
    .container-sm {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container,
    .container-sm,
    .container-md {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 1140px;
    }

    div.gallery {
        margin: 1px;
        width: 200px;
        height: 275px;
    }

    div.gallery img {
        width: 100%;
        height: 100%;
    }

    div.gallery-overlay {
        position: relative;
        bottom: 100%;
        left: 0;
        right: 0;
        top: -100%;
        background-color: #133d2f;
        opacity: 85%;
        overflow: hidden;
        width: 100%;
        height: 0;
        text-align: left;
        transition-delay: 0.2s;
        transition-duration: 0.5s;
    }

    div.gallery:hover .gallery-overlay {
        height: 40%;
    }

    .gallery-text {
        color: light;
        font-size: 16px;
        position: relative;
        top: 15px;
        left: 5px;
        right: 8px;
        bottom: 5px;
        overflow: hidden;
        padding-left: 2px;
        padding-right: 2px;
    }

    div.container.gallery:hover .gallery-overlay {
        height: 70%;
    }

    /* Dropdown Button */
    .dropbtn {
        background-color: #04AA6D;
        color: white;
        padding: 16px;
        font-size: 16px;
        border: none;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f1f1f1;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }

    .dropdown-content a {
        color: dark;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {
        background-color: #ddd;
        text-decoration: none;
        color: darkgoldenrod;
        cursor: pointer;
    }

    /* Show the dropdown menu on hover */
    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* Change the background color of the dropdown button when the dropdown content is shown */
    .dropdown:hover .dropbtn {
        background-color: #3e8e41;
    }
}

.btn-download {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.375rem 0.75rem;
    margin: 2px;
    margin-top: 6px;
    font-size: 1rem;
    line-height: 1.5;
}

.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
}

.btn-download-primary {
    border-radius: 12px;
    color: #212529;
    text-decoration: none;
    background-color: #ddd;
    border-color: #b95e08cc;
    transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out, border-color 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.btn-download-primary:hover {
    color: #b9b608cc;
    background-color: #ddd;
    border-color: #b9b608cc;
    text-decoration: none;
}

.btn-download-primary:focus,
.btn-download-primary.focus {
    color: #b9b608cc;
    background-color: #ddd;
    border-color: #b9b608cc;
    box-shadow: 0 0 0 0.1 rgba(185, 182, 8, 0.5);
}

.btn-download-primary.disabled,
.btn-download-primary:disabled {
    color: #212529;
    background-color: #ddd;
    border-color: #b95e08cc;
}

.btn-download-primary:not(:disabled):not(.disabled):active,
.btn-download-primary:not(:disabled):not(.disabled).active,
.show > .btn-download-primary.dropdown-toggle {
    color: #212529;
    background-color: #ddd;
    border-color: #b95e08cc;
}

.btn-download-primary:not(:disabled):not(.disabled):active:focus,
.btn-download-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-download-primary.dropdown-toggle:focus {
    color: #212529;
    background-color: #ddd;
    border-color: #b95e08cc;
}

.txt-correct-opacity {
    background-color: rgba(52, 58, 64, 0.4);
    color: #e3e3e3;
}

@media (max-width:768px) {
    .navbarlarge {
        visibility: hidden;
        display: none;
        height: 1px;
    }
}

@media (min-width:767px) {
    .navbarsmall {
        visibility: hidden;
        display: none;
        width: 1px;
    }
}
