html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

@media (max-width: 575px) {
    body {
        margin-bottom: 42px;
    }
}


/* -------------------------------------------------
   Site specific
   -------------------------------------------------- */

body {
    --mdb-body-font-size: 1.2rem;
    line-height: 1.35 !important;
}

.table {
    --mdb-table-font-size: 1.2rem !important;
}

.form-control-horizontal {
    width: auto !important;
    display: inline-block !important;
}

.navbar-expand-md .navbar-nav .dropdown-menu li a {
    font-size: 1.2rem;
}

.table tr:nth-child(odd) {
    background-color: #f7f7f7;
}

.table thead tr th {
    color: var(--mdb-link-color);
}

/* For showing long descriptions nicely */
.long-description {
    white-space: pre-line;
    display: inline-block
}

.long-description-container {
    max-height: 6.25rem;
    overflow: hidden;
}

/* For showing resized thumbnails */
.thumbnail {
    padding: 10px;
    text-align: end;
}

    .thumbnail .image {
    }

        .thumbnail .image img {
            border-radius: 3px;
            height: 90px;
            width: 100%;
            object-fit: cover;
        }

    .thumbnail .caption {
        padding: 4px;
        text-align: center;
        margin-top: 4px;
    }

    .thumbnail .caption-after-button {
        margin-top: -24px;
    }

    .thumbnail .caption span {
        font-size: smaller;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .thumbnail .button {
        color: rgba(150, 150, 150, 0.6);
        padding: 4px;
        position: relative;
        top: -91px;
    }

        .thumbnail .button i {
            font-size: 28px;
        }

/* General styles */
.roboto {
    font-family: 'Roboto', sans-serif;
}

.bebas {
    font-family: 'Bebas Neue', cursive;
}

.anton {
    font-family: 'Anton', sans-serif;
}

.work-sans {
    font-family: 'Work Sans', sans-serif;
}

.font-normal {
    font-family: var(--mdb-body-font-family) !important;
}

.font-size-medium {
    font-size: 1rem !important;
}

.body-container {
    margin-bottom: 61px;
    margin-top: 54px;
    padding-top: 1rem;
}

@media (max-width: 575px) {
    .body-container {
        margin-bottom: 43px;
    }
}

/* Navbar */
.navbar .logo-top {
    height: 30px;
}

.navbar .nav-item a.nav-link:hover {
    color: #adadad !important;
}

.user-action {
    border: 1px solid #d3d3d3;
    border-radius: 13px;
}


/* Home */
.hero-home {
    min-height: 42rem;
}

    .hero-home .title-home {
        font-size: 3.92rem;
        line-height: 3.29rem;
    }

    .hero-home .subtitle-home {
        font-size: 1.428rem;
        line-height: 1.786rem;
    }

.field {
    padding: 8px;
    border: 1px solid #dfdfdf;
    min-height: 39px;
}

.field-title, .table th {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.bar-actions {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    gap: 12px;
}

a:link i {
    font-size: 18px;
}

@media (max-width: 1399px) {
    .container {
        max-width: 95% !important;
    }
}
