/*Small devices (landscape phones, 576px and up) --- Most Used*/
@media (min-width: 0px) and (max-width: 992px) {
    body {
        font-size: 0.9em;
    }
    #main-navbar {
        position: relative;
    }
    #main-navbar .navbar {
        padding: 10px 1em;
    }
    #main-navbar .navbar .navbar-brand img {
        max-width: 130px;
    }
    #main-navbar .navbar .navbar-brand:after {
        display: none;
    }
    #main-navbar .navbar .nav-link {
        color: #ef5931 !important;
    }
    #main-navbar .navbar .navbar-toggler {
        padding: 0;
    }
    #main-navbar .navbar .navbar-toggler:focus {
        border: none;
        outline: none;
    }
    #main-navbar .navbar .navbar-toggler img {
        width: 35px;
    }
    #hero-slider .carousel-control-prev img,
    #hero-slider .carousel-control-next img {
        width: 25px;
    }
    .inner-page-banner {
        min-height: 200px;
    }
    .contact-information,
    .statistic-section,
    .home-services-section {
        padding: 2em 1em;
    }
    .statistic-section {
        padding-top: 0 !important;
    }
    .home-services-section {
        padding-bottom: 0 !important;
    }
    .home-services-section .nav {
        display: -webkit-box;
        display: -ms-flexbox;
        width: calc(100% + 1.875em);
        margin: 0em -0.9375em;
        -ms-flex-wrap: unset;
        flex-wrap: unset;
        overflow-x: auto;
        padding-bottom: 0.25em;
        border-bottom: 0.125em solid #e9f4ff;
        -ms-overflow-style: none;
        overflow: -moz-scrollbars-none;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .home-services-section li {
        width: auto !important;
    }
    .home-services-section li .service-icon {
        width: 30px;
        margin: 0.5em auto;
    }
    .home-services-section .tab-content .tab-pane {
        padding: 15px 5px !important;
    }
    .about-page-banner {
        min-height: 50vh !important;
    }
    .fellow-ship-banner {
        min-height: 50vh;
        background-repeat: no-repeat;
    }
    .service-page .left-block {
        padding: 0;
    }
    .service-page {
        padding-top: 2em !important;
        padding-bottom: 2em !important;
    }
}

@media (min-width: 0) and (max-width: 768px) {
    #home-about {
        padding: 2em 0;
    }
}

/*Small devices (landscape phones, 576px and up) --- col*/
@media (min-width: 0px) and (max-width: 576px) {
    .success-rate .success-list {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .hero-video-banner {
        height: 50vh;
    }
    .video-banner {
        height: 40vh !important;
    }
    .video-banner p br {
        display: none;
    }
}

/*Small devices (landscape phones, 576px and up) --- col-sm*/
@media (min-width: 576px) and (max-width: 768px) {
    .container {
        max-width: 90%;
    }
    .success-rate .success-list {
        -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/*Medium devices (tablets, 768px and up) --- col-md*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 90%;
    }
    .success-rate .success-list {
        -ms-grid-columns: 1fr 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/*Large devices (desktops, 992px and up) --- col-lg*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 90%;
    }
}

/*Extra large devices (large desktops, 1200px and up) --- col-xl*/
@media (min-width: 768px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .dropdown > .dropdown-toggle:active {
        /*Without this, clicking will make it sticky*/
        pointer-events: none;
    }
    .custom-dropdown {
        position: relative;
    }
    .custom-dropdown:before {
        content: "";
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        min-height: 30px;
    }
    .custom-dropdown-arrow {
        position: absolute;
        top: 10px;
        right: -10px;
    }
    .custom-dropdown-arrow img {
        width: 11px;
    }
}

/*This code for Big Screens --- col-xxl*/
@media (min-width: 1600px) {
    .container {
        max-width: 80%;
    }
    .col-xxl-12 {
        max-width: 100% !important;
    }
    .col-xxl-11 {
        max-width: 91.66666667% !important;
    }
    .col-xxl-10 {
        max-width: 83.33333333% !important;
    }
    .col-xxl-9 {
        max-width: 75% !important;
    }
    .col-xxl-8 {
        max-width: 66.66666667% !important;
    }
    .col-xxl-7 {
        max-width: 58.33333333% !important;
    }
    .col-xxl-6 {
        max-width: 50% !important;
    }
    .col-xxl-5 {
        max-width: 41.66666667% !important;
    }
    .col-xxl-4 {
        max-width: 33.33333333% !important;
    }
    .col-xxl-3 {
        max-width: 25% !important;
    }
    .col-xxl-2 {
        max-width: 16.66666667% !important;
    }
    .col-xxl-1 {
        max-width: 8.33333333% !important;
    }
}
