@media (min-width:992px) and (max-width:1199px) {
    .nav>li>a {
        padding: 10px 6px;
        font-size: 14px;
    }

    .nav-tabs li:hover a,
    .nav-tabs li:focus a,
    .nav-tabs li.active a {
        font-size: 14px;
    }

    .w3l-heading h2,
    .w3l-heading h3,
    .agileits-about-top-heading h3 {
        font-size: 18px;
    }

    .item-text.right-box,
    .item-text {
        top: 70px;
        bottom: 70px;
    }
}

/*
    device testing
*/

@media (min-width:768px) and (max-width:991px) {
    .nav-menu .dropdown-menu {
        min-width: 132px;
    }

    .w3l-heading h2,
    .w3l-heading h3,
    .agileits-about-top-heading h3 {
        font-size: 16px;
    }

    .item-text.right-box,
    .item-text {
        top: 30px;
        bottom: 30px;
    }

    .login-box {
        max-width: 70%;
    }

    .gauge-meter {
        margin-bottom: 30px;
    }
}

@media (max-width:768px) {

    .image-right img,
    .w3ls-welcome-img2 img,
    .about-right,
    .w3ls-welcome-img1 img,
    .news-text {
        height: auto !important;
    }

    .w3-welcome-left p {
        margin-top: 30px;
    }
}

@media (max-width:767px) {
    .nav-menu .dropdown-menu {
        top: 44px !important;
        z-index: 1000;
    }

    .login-page.forgot-password,
    .image-right img,
    .w3ls-welcome-img2 img,
    .about-right,
    .w3ls-welcome-img1 img,
    .news-text {
        height: auto !important;
    }

    .news-text {
        max-height: 300px;
    }

    .gauge-meter {
        margin-bottom: 30px;
    }

    .services-right-grid {
        margin-bottom: 30px;
    }

    .tips-header {
        margin-top: 30px;
    }

    .w3-welcome-left p {
        margin-top: 30px;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu-btn {
        display: block !important;
        margin-top: 0px;
    }

    .side-nav {
        display: block;
    }

    .item-text.right-box,
    .item-text {
        left: 0;
        margin: 0 auto;
        right: 0;
        top: 30px;
        width: 91%;
        bottom: 30px;
    }

    .owl-carousel .owl-nav .owl-prev::before {
        left: 16px;
    }

    .owl-carousel .owl-nav .owl-next::after {
        right: 16px;
    }

    .owl-carousel .owl-nav .owl-prev::before,
    .owl-carousel .owl-nav .owl-next::after {
        font-size: 35px;
        height: 35px;
        line-height: 35px;
        width: 35px;
    }

    .tab-content {
        padding: 30px 15px;
    }

    .ad-description>ul {
        /* padding-left: 0;*/
    }

    .monitoring .register-detail {
        margin: 0;
        padding: 0;
    }

    .login-page.forgot-password,
    .image-right img,
    .w3ls-welcome-img2 img {
        height: auto !important;
        min-height: auto !important;
    }

    .login-page.forgot-password {
        margin-top: 120px;
    }

    .login-box {
        max-width: 100%;
        padding: 15px;
    }

    .login-container {
        padding: 0 15px;
        margin-top: 120px;
    }

    .forgot-password .agileits-w3layouts-copyright,
    .agileits-w3layouts-copyright {
        position: relative;
    }

    .footer-bottom {
        display: block;
        margin-top: 20px;
    }

    .footer-top {
        display: none;
    }

    .login-box label {
        font-size: 14px;
    }

    .no-left-padding {
        padding-left: 15px !important;
    }

    .login-box .checkbox-item label {
        font-size: 16px;
    }

    .read-more {
        margin: 15px 0 30px;
    }

    .div-logo img {
        float: left;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-menu .dropdown-menu {
        top: 44px !important;
        z-index: 1000;
    }

    .w3l-heading h2,
    .w3l-heading h3,
    .agileits-about-top-heading h3 {
        font-size: 16px;
        font-weight: 600;
        /*height: 40px;*/
    }

    .login-container .col-md-6.col-sm-6.col-xs-6 {
        width: 100%;
    }

    .set-password .checkbox-item {
        text-align: left;
        padding-left: 30px;
    }
}

@media (max-width: 380px) {
    .nav-menu .dropdown-menu {
        top: 44px !important;
        z-index: 1000;
    }

    .checkbox-item span {
        float: left;
        width: 88%;
    }

    .panel-body .form-control {
        font-size: 12px;
    }
}

@media(max-width: 320px) {
    .dropdown-menu {
        top: 44px !important;
        z-index: 1000;
    }

    .ad-description span {
        left: 10px;
        position: relative;
        display: block;
        width: 100%;
        padding-right: 15px;
    }

    .checkbox-item span {
        float: left;
        width: 88%;
    }

    .ad-description>p {
        word-wrap: break-word;
    }

    .monitoring input.popover-button {
        padding: 5px;
        display: inline;
        font-size: 14px;
        width: 80%;
    }
}

/******************************** TOP HEADER - START ********************************/
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 16px;
}

.main-header .part-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-header .part-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-header .part-right .nav-menu {
    float: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    margin: 0;
}

.main-header .logo-main {
    max-width: 250px;
}

.main-header .logo-sub {
    max-width: 150px;
}


.main-header-small {
    display: none;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 16px;
}

.main-header-small .part-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-header-small .part-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.main-header-small .part-right .nav-menu {
    float: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    margin: 0;
}

.main-header-small .logo-main {
    max-width: 195px;
}

.main-header-small .logo-sub {
    max-width: 150px;
}

.main-header-small .nav-menu-btn {
    width: 22px;
}


@media screen and (max-width: 1080px) {
    .main-header .logo-main {
        max-width: 200px;
    }

    .main-header .logo-sub {
        max-width: 130px;
    }

    .nav-menu li a {
        margin: 0;
        padding: 7px 8px;
    }
}

@media screen and (max-width: 991px) {
    .main-header {
        display: none !important;
    }

    .main-header-small {
        display: flex !important;
    }
}

@media screen and (max-width: 460px) {
    .main-header-small .logo-main {
        max-width: 175px;
    }

    .main-header-small .logo-sub {
        max-width: 120px;
    }
}

@media screen and (max-width: 400px) {
    .main-header-small .part-right {
        gap: 8px;
    }

    .main-header-small .logo-main {
        max-width: 155px;
    }

    .main-header-small .logo-sub {
        max-width: 110px;
    }
}

/******************************** TOP HEADER - END ********************************/