/*////////////////  Hide in big screen  ///////////////////*/
.navbar .navbar-brand {
    display: none;
}

/*////////////////  Hide in small screen  ///////////////////*/
.navbar-brand-big img {
    padding: 10px 0;
    height: 100px;
}

.navbar-brand-big {
    display: block;
}

.first-topnav {
    display: block;
}

.big-sc-nav-link {
    display: none;
}

.content-space {
    width: 100%;
    height: 170px;
}

.displayNone {
    display: none;
}

.navbar-brand-big {
    display: block;
}

.changeBG {
    background-color: #181f59;
}

@media all and (max-width: 1024px) {
    #detail_article_content .col-md-9 {
        padding-top: 40px;
    }
}

/*////////////////  Less than 991px  ///////////////////*/
@media all and (max-width: 991px) {
    #heroCarousel h1 {
        padding: 25px 12px;
    }

    .navbar-wrapper {
        display: unset;
        justify-content: unset;
    }

    .slide-wrapper {
        flex-direction: column-reverse;
    }

    .slide-wrapper .col-lg-6:first-child {
        align-items: center;
        padding: 25px 0;
    }

    .home .carousel-item {
        margin-top: 0;
        min-height: 500px;
        background-position: center;
        background-size: cover;
        position: relative;
        z-index: -2;
    }

    #navbarSupportedContent .mobile-menu,
    #navbarSupportedContent .mobile-menu .dropdown-menu {
        background-color: #fff;
    }

    #navbarSupportedContent .mobile-menu .dropdown-item {
        color: #000;
    }

    .testing {
        display: none;
    }

    .mobile-menu .dropdown-menu .dropdown-item {
        padding-left: 25px;
    }

    .mobile-menu .dropdown-menu .dropdown-menu .dropdown-item {
        padding-left: 32px;
    }

    .displayNone {
        display: block;
    }

    .navbar-brand-big,
    .navbar-brand-big img,
    .navbar-brand-big form {
        display: none;
        height: 0;
    }

    .changeBG {
        background-color: #fff;
    }

    .content-space {
        width: 100%;
        height: 60px;
    }

    .first-topnav {
        display: none;
    }

    .navbar-brand-big {
        display: none;
    }

    .navbar .navbar-brand {
        display: block !important;
    }

    .navbar .bg-color-purple {
        background-color: #fff;
    }

    .navbar-nav .nav-item .nav-link {
        color: #000 !important;
    }

    .navbar-nav .nav-item .nav-link:hover {
        color: rgb(131, 131, 131) !important;
    }

    .navbar-nav .nav-link {
        padding: 8px 24px;
    }

    .dropdown-menu .dropend ul li a {
        padding: 8px 52px;
    }

    .big-sc-nav-link {
        display: block;
    }

    .dropdown-menu.drop-fade-down {
        animation: dropFadeDown 250ms ease-out;
        min-width: 13rem;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }

    .grid-container {
        grid-template-columns: auto auto auto;
    }

    .offcanvas-header {
        display: block;
    }

    .offcanvas-header button {
        float: right;
    }

    @keyframes dropFadeDown {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }
}

/*////////////////  Less than 767px  ///////////////////*/
@media all and (max-width: 767px) {
    .d-sm-none {
        display: none !important;
    }

    .home .carousel-item .carousel-content-text h4 {
        width: 90%;
    }

    .grid-container {
        grid-template-columns: auto auto;
    }
    .date_published {
        width: 60px;
        padding: 5px 0 10px 0;
    }

    .date_published .day {
        font-size: 24px;
    }

    .date_published .month,
    .date_published .year {
        font-size: 16px;
    }

    footer .copy-right {
        display: block !important;
    }

    footer .copy-right img {
        height: 60px !important;
    }

    footer .copy-right p {
        padding: 0 !important;
    }
}

/*////////////////  Less than 566px  ///////////////////*/
@media all and (max-width: 566px) {
    .card-body {
        padding: 0.5rem 1rem;
    }

    .schedule p {
        font-size: 12px;
    }

    .schedule span {
        font-size: 12px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 16px;
    }

    #btnPage small {
        font-size: 12px;
    }

    #btnPage h5 {
        font-size: 14px;
    }

    a.btnRequest {
        width: unset;
    }

    .grid-container {
        grid-template-columns: auto;
    }

    .d-sm-none {
        display: none !important;
    }
    #detail_article_content .wrapper .shear_article .items {
        display: grid;
        justify-content: center;
        gap: 8px;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
    .home .carousel-control-prev,
    .home .carousel-control-next {
        display: none;
    }

    .home .carousel-indicators button,
    .home .carousel-indicators button .overlay-image {
        width: 50px;
        height: 50px;
    }
}
