@media (max-width: 992px) {
    header {
        top: 0 !important;
    }
    #header-top {
        display: none;
    }
    #header-middle .navbar-toggler {
        position: fixed;
        right: 15px;
        top: 20px;
        border: none;
        padding: 0;
        z-index: 11;
    }
    #header-middle .navbar-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #232323;
        padding: 60px 15px 15px 15px;
        padding-top: 60px;
        transition: all 500ms ease-in-out;
        -webkit-transition: all 500ms ease-in-out;
        transform: translate3d(100%, 0, 0);
        -webkit-transform: translate3d(100%, 0, 0);
        transition-delay: 100;
        -webkit-transition-delay: 100;
        overflow: auto;
        font-size: 14px;
    }
    #header-middle .show .navbar-nav {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        width: auto!important;
        left: 0px!important;
        margin: 0 !important;
    }
    #header-middle .nav-item.dropdown {
        display: block;
    }
    #header-middle .dropdown-menu {
        background-color: #161616;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    #header-middle .nav-item.dropdown .dropdown-item {
        font-size: 13px;
        padding-left: 10px;
        padding-right: 10px;
        color: #fff;
        white-space: normal;
    }

    #header-middle .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
        background-image: url('https://cdn.boatsmartexam.com/images/close-icon-46ac73f4.png');
        background-size: 60%;
    }
    #header-middle .nav-item.dropdown .dropdown-item:focus,
    #header-middle .nav-item.dropdown .dropdown-item:hover {
        background: transparent;
    }
    .hero-item img {
        height: 100%;
        object-fit: cover;
    }
    .hero .owl-nav {
        display: none;
    }
    .hero .slide-caption h4 {
        font-size: 18px;
    }


    .hero .slide-caption p {
        font-size: 12px;
        margin-bottom: 0;
    }

    .hero .slide-caption {
        padding: 20px;
    }
    .footer-bottom .col-md-6 {
        text-align: center !important;
    }

    .footer-bottom .copyright {
        margin-bottom: 10px;
    }
    .partner-carousel .owl-nav .owl-prev {
        position: absolute;
        top: 50%;
        left: -7px;
        transform: translateY(-50%);
        color: #0e3a65;
    }

    .partner-carousel .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        right: -7px;
        transform: translateY(-50%);
        color: #0e3a65;
    }
    .partner-item img {
        padding: 15px 30px;
    }

    .logo {
        height: 45px;
    }

    .navbar-brand {
        font-size: 13px;
        align-items: initial !important;
    }

    .navbar-toggler-icon {
        background-size: 80%;
    }

    #header-middle nav.navbar {
        padding-top: 20px;
    }
    .page-detail {
        padding-top: 83px;
    }
    .right-full:before {
        width: 100%;
    }
    .counter-visitor a.btn {
        padding: 0;
        font-size: 12px;
    }

    h5.counter-number {
        font-size: 16px;
    }

    .counter-visitor h6 {
        font-size: 10px !important;
        margin-bottom: 5px;
    }

    .counter-visitor {
        padding: 5px 0 0;
        width: 130px;
    }
    .footer-top {
        padding-bottom: 80px;
    }
    .login-wrap .hero-img {
	    height: 100vh;
	}

	.login-wrap {
	    position: relative;
	}

	.login-wrap .col-lg-4 {
	    position:  absolute;
	    top: 0;
	    bottom: 0;
	    background-color: #0e3a6591;
	    color: #fff;
	}

	.login-page .hero-img img {
	    height: 100%;
	    width: 100%;
	}
	.login-wrap form .btn {
		width: 100%;
	}
	.login-wrap a {
		color: #800000;
	}
	.login-wrap .col-lg-4 > div {
	    width: 100%;
	    max-width: 320px;
	    margin: 0 auto;
	}
	.nav-search #m_search {
	    display:  block !important;
	    width: 100%;
	    right: 0;
	    background: #ffffff;
	    color: #000;
	}
	.nav-search {
		position: relative;
	}
}

@media (max-width: 992px) and (orientation: landscape) {
	.login-page {
		overflow-y: scroll;
	}
	  .login-wrap .hero-img {
	    height: 100%;
	}
	#header-middle .navbar-toggler {
		right: 75px;
	}


}