body{
    background-color: #FAFAFA;
}

a {
    color: #F44336;
}

a:hover {
    color: #F44336;
}

.navbar {
    height: 64px;
}

.navbar .navbar-brand {
    position: absolute;
    color: #fff;
    display: inline-block;
    font-size: 2.1rem;
    padding: 0;
    top: 5px;
}

a.navbar-brand {
    font-family: 'Saira Extra Condensed', sans-serif;
    letter-spacing: 4px;
    font-weight: bold;
}

a.navbar-brand img {
    vertical-align: top;
}

.nav-link {
    color: #fff;
    font-weight: 400;
    margin-left: 5px;
    margin-right: 5px;
}

.slider {
    min-height: 80vh;
}

.slider-image {
    height: 80vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

h2.row-title {
    font-weight: 500;
    letter-spacing: 1px;
    color: #444444;
}

h2.row-title-red {
    font-size: 2.28rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #D32F2F;
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.post-date {
    position: absolute;
    bottom: 5px;
    width: 100%;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

.rgba-black-slight {
    background-color: rgba(0, 0, 0, 0.3);
}

.mask.mask-my {
    opacity: 1;
}

.mask.mask-my:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

a.more-text {
    color: #EF5350;
}

a.more-text:hover {
    opacity: .7;
}

.archives-link {
    color: #D32F2F;
    font-size: 1.64rem;
    font-weight: 600;
}

.archives-link:hover {
    color: #D32F2F;
    opacity: .7;
}

.charts-box {
    background-image: url("/assets/img/statistics-background.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
    font-size: 22px;
}

.overflow-dark {
    background-color: rgba(0, 0, 0, 0.65);
}

.sponsors-slide {
    display: none;
}

.sponsors-slide .slick-slide {
    margin-left: 15px;
    margin-right: 15px;
}

.sponsors-slide .slick-slide img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
}

.mapouter{
    position: relative;
    text-align: right;
    height: 400px;
    width: 100%;
}

.gmap_canvas {
    overflow: hidden;
    background:none !important;
    height: 400px;
    width: 100%;
}

.page-content .mapouter{
    height: 500px;
}

.page-content .gmap_canvas {
    height: 500px;
}


.footer {
    background-color: #D32F2F;
    color: #fff;
}

.footer h3 {
    font-weight: 500;
}

.footer-copyright {
    background-color: #980707;
    color: #fff;
}

.white-link {
    color: #fff;
}

.white-link:hover {
    color: #fff;
}


.black-link {
    color: #222;
}

.black-link:hover {
    color: #222;
}

a:hover {
    opacity: .7;
}

.fixed-action-btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1100;
}

.btn:hover, .navbar-brand:hover {
    opacity: 1
}

#airWidget {
    background-color: #fff;
    width: 300px;
    height: 445px;
    overflow: hidden;
    margin-bottom: 10px;
}

#sidebar {
    position: fixed;
    top: 0;
    left: -100vh;
    height: 100vh;
    width: 0;
    z-index: 1040;
}

.sidebar-overflow {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

#sidebar.show {
    animation-name: display;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
}

#sidebar.showed {
    left: 0;
    width: 100vw;
}

#sidebar.hide {
    animation-name: display;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
    animation-direction: reverse;
}

@keyframes display {
    from {
        left: -100vh;
        width: 0;
    }
    to {
        left: 0;
        width: 100vw;
    }
}

#sidebar .sidebar-container {
    background-color: #fff;
    width: 90%;
    max-width: 300px;
    height: 100%;
    overflow-y: auto;
}

.navbar-brand-sm {
    color: #fff;
    letter-spacing: 2px;
    font-weight: bold;
}

.navbar-brand-sm:hover {
    color: #fff;
}

#sidebar .components li a {
    color: rgba(0, 0, 0, 0.87);
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
    opacity: 1 !important;
}

#sidebar .components li.active {
    background-color: rgba(0, 0, 0, 0.05);
}

.page-content table td, .page-content table tr, .page-content table {
    border: none;
}

.pagination .page-item.active .page-link {
    background-color: #D32F2F;
}

.view .mask {
    position: absolute;
    top: initial;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 40px;
    overflow: hidden;
    background-attachment: fixed;
}

.view.category {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 150px;
}

a:hover, a:hover div {
    cursor: pointer;
}

.archive-image {
    width: 100%;
    height: 225px;
    background-position: center;
    background-size: cover;
    display: block;
}

.nav-item.active {
    .nav-link {
        background-color: rgba(255, 255, 255, .1);
    }
}

.dropdown-item {
    border-radius: var(--mdb-dropdown-item-border-radius, 0);
}

.slider {
    width: 100%;
    height: 80vh;
    background-color: #ddd;

    .carousel-inner {
        height: 100%;
        width: 100%;
    }

    .carousel-item {
        width: 100%;
        height: 100%;
        background-size: cover;
    }
}

.sponsors-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.sponsors-slider {
    display: flex;
    align-items: center;
    gap: 40px;
    will-change: transform;
}

.sponsors-slider a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    flex-shrink: 0;
}

.sponsors-slider img {
    height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.card {
    transition: .3s;

    &:hover {
        color: initial;
    }
}

.pagination {
    .page-link.active {
        color: #fff;
        background-color: #D32F2F;
    }
}

.navbar-dark .navbar-toggler-icon {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.breadcrumb-item.active {
    color: #4F4F4F;
}

.gallery-modal {
    text-align: center;
}

.gallery-image {
    cursor: pointer;
    transition: .3s;

    &:hover {
        opacity: .8;
    }
}

.blog-card {
    min-height: 500px;
}

@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }
}

.btn-primary {
    --mdb-btn-bg: #D32F2F;
    --mdb-btn-color: #fff;
    --mdb-btn-box-shadow: 0 4px 9px -4px #D63F3F;
    --mdb-btn-hover-bg: #D63F3F;
    --mdb-btn-hover-color: #fff;
    --mdb-btn-focus-bg: #D63F3F;
    --mdb-btn-focus-color: #fff;
    --mdb-btn-active-bg: #af2727;
    --mdb-btn-active-color: #fff;
    --mdb-btn-box-shadow-state: 0 8px 9px -4px rgb(87, 20, 20), 0 4px 18px 0 rgb(87, 20, 20);
}

.btn-secondary {
    --mdb-btn-bg: #FFCDD2;
    --mdb-btn-color: #B71C1C;
    --mdb-btn-box-shadow: 0 4px 9px -4px #e6babe;
    --mdb-btn-hover-bg: #e6babe;
    --mdb-btn-hover-color: #B71C1C;
    --mdb-btn-focus-bg: #e6babe;
    --mdb-btn-focus-color: #B71C1C;
    --mdb-btn-active-bg: #e6babe;
    --mdb-btn-active-color: #B71C1C;
    --mdb-btn-box-shadow-state: transparent;
}
