@media (max-width: 1199px) {
    .carousel-caption br {
        display: none;
    }

    #services {
        margin-top: 1.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand img {
        width: 56px;
    }

    #navbarmain .dropdown-menu {
        padding: .5rem;
    }

    #navbars, #navbars::before {
        transition: all 300ms ease-in-out;
        -webkit-transition: all 300ms ease-in-out;
        -moz-transition: all 300ms ease-in-out;
        -o-transition: all 300ms ease-in-out;
        position: fixed;
        top: 0;
        bottom: 0;
    }

    #navbars {
        background: #fff;
        left: -230px;
        width: 220px;
        padding: 1rem;
        z-index: 9999;
    }

        #navbars.show {
            left: 00px;
        }

        #navbars::before {
            content: "";
            background-color: rgba(0,0,0,.8);
            left: 00px;
            right: 0;
            z-index: 999;
        }

        #navbars.show::before {
            left: 220px;
        }

        #navbars .navbar-toggler {
            color: #A61D37;
            position: absolute;
            right: 0px;
            top: 0;
        }

    .carousel-caption {
        justify-content: end;
    }
}

@media (max-width: 768px) {
    #newstop-highlight-list {
        height: auto !important;
    }

        #newstop-highlight-list .nano-content {
            position: static;
        }

    #browseNews .thumb {
        flex: 0 0 160px;
    }

    #tabs-responsive {
        overflow-x: scroll;
    }

    #tabHistory {
        height: 54px;
        flex-wrap: nowrap;
        background-position: 0 22px !important;
    }

        #tabHistory .nav-item {
            margin-right: 1rem;
            white-space: nowrap;
        }

        #tabHistory.nav-tabs .nav-item .nav-link {
            margin-bottom: 0 !important;
        }

        #tabHistory.nav-tabs .nav-link::before, #tabHistory.nav-tabs .nav-link::after {
            display: none;
        }

        #tabHistory.nav-tabs .nav-item:nth-child(2n) .nav-link {
            margin-top: 0;
        }

            #tabHistory.nav-tabs .nav-item:nth-child(2n) .nav-link::before {
                bottom: 44px;
                top: 44px;
            }

            #tabHistory.nav-tabs .nav-item:nth-child(2n) .nav-link::after {
                top: 72px;
                bottom: auto;
            }

    #listBranchs .inner {
        height: 240px;
    }

    #listBranchs .text {
        padding: .5rem;
    }

    #lightfancybox {
        background-size: auto 100% !important;
    }

    .contact-fix-bottom {
        display: flex;
        flex-direction: row;
        left: .5rem;
    }

        .contact-fix-bottom .contact-fix-icon {
            padding: .25rem;
            flex: 0 0 40px;
            margin: 0 .25rem;
            margin-bottom: 0rem;
        }

        .contact-fix-bottom .icon-box {
            margin: 0 !important;
            flex: 0 0 32px;
        }

            .contact-fix-bottom .icon-box .fas {
                width: 32px;
                height: 32px;
                line-height: 32px;
            }

    .contact-info {
        display: none;
    }

    #section1 .bg {
        background: #1A2844;
        margin-left: 0px;
    }

    #listBranchs .inner {
        height: 100%;
    }

    .bn-text {
        padding: 10px;
        background: #1a2844c4;
        /* opacity: 0.5; */
        color: #fff;
    }

    #tabNews.nav-tabs .nav-link {
        padding: 0.5rem 0.5rem;
    }

    #newstop-highlight-list1 {
        max-height: 200px;
    }

    #newstop-highlight-list2 {
        max-height: 400px;
    }

    #services .topmn a div {
        padding: 5px !important
    }

    #rnbnleft1-mb {
        display: block;
    }

    #rnbnleft1-dt {
        display: none
    }

    .p-md-4 {
        padding: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    /*.bannervis {
		max-height: 155px;
	}
		.bannervis video{
			position:relative;
		}
		.bannervis .contentvis {
			bottom: -2%;
		}
		.bannervis .button {
			padding: 6px 10px;
			font-size: 15px;
		}*/
    .bannervis {
        max-height: 19vh;
    }

    .contentvis {
        bottom: 10%;
    }

    .bannervis .button {
        padding: 6px 10px;
        font-size: 15px;
    }

    .header-overlay {
        max-height: 100vh;
        max-width: 100vw;
    }

    .bannervis video {
        width: 100%;
        height: auto;
    }

    .col-xs-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    #section1 .bg {
        background: #1A2844;
        margin-left: 0px;
    }

    .sname {
        font-size: 13px;
    }

    #listBranchs .inner {
        height: 100%;
    }

    #newstop-highlight-list1 {
        height: 400px;
        /* display: block; */
    }

    .list-group-flush {
        padding-left: 10px;
    }

    .navbar-brand img {
        width: 45px;
    }

    .carousel-caption {
        top: -11px;
        padding-left: 0;
        padding-right: 0;
        right: 1%;
        left: 1%;
    }

    .carousel-control-next, .carousel-control-prev {
        z-index: 99;
        width: 7%;
    }

    .carousel-caption .inner {
        width: 100%;
    }

    #rnbnleft1-mb {
        display: block;
    }

    .contactel {
        display: block;
    }

    #browseNews .item {
        display: block;
    }

    .evenbox {
        min-height: auto;
        margin-bottom: 10px;
    }

    .fnomal {
        font-weight: 400
    }

    #tabNewsContent .hotNews .p-3 h2 {
        font-size: 16px;
    }

    .bnl1 {
        display: inline-block;
    }

    #footerBt {
        display: none
    }

    #footerBtMb {
        display: block
    }

    .tlsolid::after {
        width: 0px;
    }

    .al-row2 {
        height: 135px;
    }

        .al-row2 h4 {
            height: 130px;
        }

    .lightfancybox2, .discovery {
        display: none
    }
    .icon-right img {
        width: 50%;
    }
    .p-3-3 {
        padding: 0.5rem !important;
    }
    .d-none-mobile{
        display:none;
    }
    .d-block-mobile {
        display:block;
    }
    .list-group-flush > .list-group-item {
        padding: 0.2rem 1rem;
    }
}

@media (max-width: 450px) {
    /*	#browseNews .item{
		display: block;
	}*/
    .navbar-brand img {
        width: 45px;
    }

    .evenbox {
        height: auto;
        margin-bottom: 10px;
    }
}

@media (min-width: 1200px) {
    #services .p-xl-4 {
        padding: 0.5rem !important;
    }

    .evenbox {
        height: auto;
        margin-bottom: 10px;
    }

    .imgslider .img-item img {
        max-height: 330px;
    }
}
