section.header {
    margin: 0;
}

section.header .top-info {
    background-color: #b93218;
    color: #ffffff;
}

.top-info .right a {
    color: #ffffff;
}

section.header .top-info .container {
    margin: auto;
    justify-content: space-between;
    padding: .7rem;
    max-width: 1600px;
    width: 95%;
}

section.header .middle-info .container {
    margin: auto;
    justify-content: space-between;
    padding: .7rem;
    height: 100px;
    display: flex;
    align-items: center;
    max-width: 1600px;
    width: 95%;
}

.top-info .left {
    display: flex;
}

.top-info .left .dropdown > a, .top-info .left > a {
    padding: unset;
    color: #ffffff;
}

.middle-info .left img, .middle-info .middle img {
    height: 75px;
    width: auto;
}

.middle-info .right {
    color: #b93218;
    font-size: 15px;
    text-align: right;
}

.middle-info .right .row {
    align-items: center;
}

.middle-info .right .social {
    margin-right: 0rem;
}

.middle-info .right .social a {
    font-size: 14px;
    text-align: left;
    margin-left: .5rem !important;
    color: #b93218;
}

.image-info {
    position: relative;
}

.image-info .img-container {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    position: relative;
}

.image-info .main-slider img {
    max-height: 550px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.navbar.navbar-expand-lg {
    background-color: #0d317f;
    border-top: 2px solid #b93218;
    font-size: 13px;
    width: 95%;
    margin: auto auto -30px;
    z-index: 2;
}

.nav-item .nav-link {
    color: #ffffff;
    border-right: 1px solid #ffffff;
}

.nav-item .nav-link:hover {
    color: #a7a7a7;
}

.admission-open {
    position: absolute;
    color: #ffffff;
    text-align: center;
    top: 140px;
    width: 60%;
    left: 20%;
    background-color: rgba(167, 167, 167, 0.3);
    padding: 18px;
    z-index: 1;
}

.admission-title {
    font-weight: bold;
    word-wrap: break-word;
    font-size: 65px;
    color: white;
    letter-spacing: 5px;
}

.admission-course {
    font-size: 20px;
}

.btn.btn-white {
    background-color: #ffffff;
    border: none;
    padding: 10px 15px;
    color: #0d317f;
    font-weight: bold;
    margin-top: 1rem;
}

.btn.btn-white:hover {
    background-color: #0d317f;
    color: #ffffff;
}

.main-slider img {
    object-fit: cover;
    object-position: top;
}

.modal-backdrop {
    z-index: unset !important;
}

.btn.btn-outline-primary.custom-more-button.search-button {
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn.btn-outline-primary.custom-more-button.search-button:hover {
    color: #a7a7a7;
}

.qmu-logo {
    height: 45px !important;
    object-fit: scale-down !important;
}


.qmu-logo-ico {
    height: 75px !important;
    object-fit: scale-down !important;
}

.refer-friend {
    height: 20px !important;
    margin-left: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu.show {
    top: 90% !important;
}

.middle-info .right .right-info .partnerlogo {
    padding: 0 7px;
}

.contact-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/*Responsive Css*/
@media only screen and (max-width: 768px) {
    .sm-circle {
        width: 60px;
        height: 60px;

    }

    .card-media-object {
        position: absolute;
    }

    .card-media {

        height: 300px;
        margin-bottom: 300px;

    }

    .contact-social {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 3px;
    }

    .bg-circle {
        width: 70px;
        height: 70px;
    }

    .sm-circle img {
        height: 30px;
        width: auto;
        margin: 12px;
    }

    .admission-title {
        font-weight: 600;
        font-size: 29px;

    }

    .admission-open {
        top: 70px;
        width: 90%;
        left: 5%;
    }

    .middle-info .left img, .middle-info .middle img {
        height: auto;
        width: 50%;
        margin-left: 0;
    }

    .slick-prev, .slick-next {
        left: 95%;
    }

    body {
        padding: 5px;
    }

    #admissionModal .modal-content {
        height: 130%;
        width: 97%;
        border-radius: 50%;
        padding-top: 40px;
    }

    .modal-body h1, h1 {
        font-size: 1.7rem;
    }

    #admissionModal .modal-dialog {
        top: 75px;
    }

    .modal-header {

        border-bottom: 1px solid #dee2e600;

    }

    .row.p-20 {
        padding: 15px 10px;
        text-align: justify;
    }

    .sm-circle {
        margin: 5px;
    }

    button.slick-prev.slick-arrow {
        left: -2%;
        z-index: 1;
    }

    .carousel-item__info {
        padding: 0 12px;
        width: 75%;
    }

    .carousel-item__title {
        font-size: 18px;
        line-height: 25px;

    }

    i.fa.fa-bars.text-white.fa-1x {
        font-size: 30px;
        border: 2px solid;
        padding: 2px 15px;
        border-radius: 5px;
        margin-top: -5px;
    }

    .dropdown-item {

        font-size: 10px;

    }

    .middle img {
        width: 70px !important;
        margin: 0 auto !important;
    }

    .middle-info .right .right-info .partnerlogo {
        display: contents;
        padding: 73px;
    }

    .qmu-logo-ico {
        /*height: 35px !important;*/
        object-fit: scale-down !important;
        margin-left: 45px;
    }

    section.header .middle-info .container {
        height: 225px;

    }

    .middle.text-center {
        margin: 0 126px;
    }

    .top-info .left .dropdown > a, .top-info .left > a {
        padding: unset;
        color: #ffffff;
        font-size: 12px;
        margin-top: 5px;
    }

    .top-info .right a {
        color: #ffffff;
        font-size: 11px;
    }

    .right {
        font-size: 11px;
    }

    .intro.container.principals-message .message {
        width: 95%;

    }

    .navbar.navbar-expand-lg {
        width: 100%;
        margin: 0;

    }

    .recognition .internship-partner {
        margin-bottom: 10px;
    }

    .student-referral-section form {
        width: 100%;
    }

    .slick-prev, .slick-next {
        left: 95%;
    }

    body {
        padding: 5px;
    }

    #admissionModal .modal-content {
        height: 130%;
        width: 97%;
        border-radius: 50%;
        padding-top: 40px;
    }

    .modal-body h1, h1 {
        font-size: 1.7rem;
    }

    #admissionModal .modal-dialog {
        top: 75px;
    }

    .modal-header {

        border-bottom: 1px solid #dee2e600;

    }

    .row.p-20 {
        padding: 15px 10px;
        text-align: justify;
    }

    .sm-circle {
        margin: 5px;
    }

    button.slick-prev.slick-arrow {
        left: -2%;
        z-index: 1;
    }

    .carousel-item__info {
        padding: 0 12px;
        width: 75%;
    }

    .carousel-item__title {
        font-size: 18px;
        line-height: 25px;

    }

    i.fa.fa-bars.text-white.fa-1x {
        font-size: 30px;
        border: 2px solid;
        padding: 2px 15px;
        border-radius: 5px;
        margin-top: -5px;
    }

    .dropdown-item {

        font-size: 10px;

    }

    .middle img {
        width: 70px !important;
        margin: 0 auto !important;
    }

    .middle-info .right .right-info .partnerlogo {
        display: contents;
        padding: 73px;
    }

    .qmu-logo-ico { 
        object-fit: scale-down !important;
        margin-left: 45px;
    }

    section.header .middle-info .container {
        height: 250px;

    }

    .middle.text-center {
        margin: 0 126px;
    }

    .top-info .left .dropdown > a, .top-info .left > a {
        padding: unset;
        color: #ffffff;
        font-size: 12px;
        margin-top: 5px;
    }

    .top-info .right a {
        color: #ffffff;
        font-size: 11px;
    }

    .right {
        font-size: 11px;
    }

    .intro.container.principals-message .message {
        width: 95%;

    }

    .navbar.navbar-expand-lg {
        width: 100%;
        margin: 0;

    }

    .recognition .internship-partner {
        margin-bottom: 10px;
    }

    .student-referral-section form {
        width: 100%;
    }
}

.nav-item.search-mobile {
    display: none;
}

@media (max-width: 992px) {

    .navbar-collapse.collapsing .navbar-nav {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -45%;
        transition: all 0.2s ease;
    }

    .navbar-collapse.show .navbar-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        flex-direction: column;
        height: auto;
        width: 45%;
        transition: left 0.35s ease;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        background-color: #0d317f;
    }

    .navbar.navbar-expand-lg {
        background-color: transparent;
        border-top: unset;
    }

    .navbar-collapse form.search-desktop {
        display: none;
    }

    .nav-item.search-mobile {
        display: block;
    }

    .nav-item .nav-link {
        color: #ffffff;
        border-bottom: 1px solid #ffffff;
        padding: 2rem 17px 17px;
        font-weight: bold;
        font-size: 12px;

    }

    .navbar-collapse form {
        border-top: 1px solid #ffffff;
        padding: 1rem;
        display: grid;
    }

    .navbar-collapse form input {
        margin-bottom: 1rem;
        width: 100% !important;
    }

    .navbar-collapse form button {
        width: 100%;
    }

    .navbar-toggler.floating-toggler {
        display: block !important;
        box-shadow: 0 0 8px 5px rgba(225, 225, 225, 0.61);
    }

    #toast {
        visibility: hidden;
        max-width: 50px;
        height: 50px;
        /*margin-left: -125px;*/
        margin: auto;
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 20px;
        position: fixed;
        z-index: 1;
        right: 150px;
        bottom: 100px;
        font-size: 17px;
        white-space: nowrap;
    }

    #toast #desc {
        color: #fff;
        padding: 16px;
        border-radius: 20px;
        background-color: #00247d;
        overflow: hidden;
        white-space: nowrap;
    }

    #toast.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 2s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, expand 0.5s 0.5s, stay 3s 1s, shrink 0.5s 4s, fadeout 0.5s 4.5s;
    }

    @-webkit-keyframes fadein {
        from {
            bottom: 100px;
            opacity: 0;
        }
        to {
            bottom: 30px;
            opacity: 1;
        }
    }

    @keyframes fadein {
        from {
            bottom: 100px;
            opacity: 0;
        }
        to {
            bottom: 30px;
            opacity: 1;
        }
    }

    @-webkit-keyframes expand {
        from {
            min-width: 50px
        }
        to {
            min-width: 250px
        }
    }

    @keyframes expand {
        from {
            min-width: 50px
        }
        to {
            min-width: 250px
        }
    }
    @-webkit-keyframes stay {
        from {
            min-width: 250px
        }
        to {
            min-width: 250px
        }
    }

    @keyframes stay {
        from {
            min-width: 250px
        }
        to {
            min-width: 250px
        }
    }
    @-webkit-keyframes shrink {
        from {
            min-width: 250px;
        }
        to {
            min-width: 50px;
        }
    }

    @keyframes shrink {
        from {
            min-width: 250px;
        }
        to {
            min-width: 50px;
        }
    }

    @-webkit-keyframes fadeout {
        from {
            bottom: 30px;
            opacity: 1;
        }
        to {
            bottom: 100px;
            opacity: 0;
        }
    }

    @keyframes fadeout {
        from {
            bottom: 30px;
            opacity: 1;
        }
        to {
            bottom: 100px;
            opacity: 0;
        }
    }
}

@media only screen and (max-width: 420px) {
  .nav-item .nav-link {
        color: #ffffff;
        border-bottom: 1px solid #ffffff;
        padding: 1rem 17px 17px;
        font-weight: bold;
        font-size: 12px;

    }
}