/*Large devices (desktops, 992px and up)*/

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-expand-lg .navbar-nav .nav-link{margin: 0 10px;}
}

@media(width:992px) {
    #support {
        margin-top: -11%;
    }

    .teacher-prof .teacher-text-hover {
        top: 0;
    }

    .overlay_social a {
        font-size: 12px;
        top      : 50%;
        left     : 40%;
        transform: translate(-29%, -50%);
    }

    .course-one .profile {
        margin-left: 0px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 991.98px) {}

@media (width: 768px) {
    .teacher-prof {
        width : 50%;
        margin: 0 auto;
    }

    .teacher-prof .teacher-text-hover {
        top: 0;
    }
}

/* Small devices (landscape phones, 576px and up)*/

@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar-nav {
        margin-right : 0px; position: relative; z-index: 999999; background:rgba(0,0,0,.5);
        width        : 100%;
        margin-top   : 15px;
        margin-bottom: 10px;
    }
    .zhtlist h1{height: 40px; overflow: hidden;}
    .zhtlist .img img{width: 100%; height:130px;}
    .flex, .flexbetween {
        display: inline;
    }
    .aboutcont img{width: 100%; margin: 0 auto;}
    .aboutmap{width:100%; height: 250px;}
}

/* Extra small devices (portrait phones, less than 576px)*/

@media (max-width: 575.98px) {
    .header_left {
        display: none;
    }
    .abouttext, .aboutcont img{margin: 0 auto; width: 100%;}
    .aboutmap{width:100%; height: 250px;}
    .headertop .rightsearch{width: 100%;}
    .header_right ul {
        line-height : 36px;
        padding-left: 0px;
        float       : right;
        margin-right: 10px;
    }

    /* nav  bar*/
    .navbar {
        padding-bottom: 5px;
    }

    .navbar-brand {
        padding-top: 0px;
    }

    .navbar-toggler {
        padding: 5px 8px;
    }
    .navbar-nav {
        margin-right : 0px; position: relative; z-index: 999999; background:rgba(0,0,0,.5);
        width        : 100%;
        margin-top   : 15px;
        margin-bottom: 10px;
    }
    .friendlinkllist{width: 95%; margin: 10px auto;}
    .leftfixed, .rightfixed{display:none}
    .navbar-expand-lg .navbar-nav .nav-link {
        text-align  : center;
        padding-top : 5px;
        padding-left: 40px; margin: 0;
    }
    .zhtlist h1{line-height: 32px; height: 32px; overflow: hidden;}
    .zhtlist .img img{width: 100%; height:130px;}
    .flex, .flexbetween {
        display: inline;
    }

    .footerrerwm,
    .footerlink,
    .form-group {
        width: 100%;
    }

    .footerrerwm li {
        width: 50%;
    }

    .positionreleative {
        width         : 100%;
        padding-bottom: 50px;
    }

    .lineHhidden1 {
        line-height: 32px;
    }

    .footerText {
        display: none
    }

    .businesslist li {
        width : 45%;
        margin: 0 2%;
    }
}

@media(width:480px) {
    .flex, .flexbetween {
        display: inline;
    }
    .abouttext, .aboutcont img{margin: 0 auto; width: 100%;}
    .aboutmap{width:100%; height: 250px;}
    .footerrerwm,
    .footerlink {
        width: 100%;
    }

    .footerrerwm li {
        width: 50%;
    }

    .footerrerwm {
        width: 100%;
    }

    .positionreleative {
        width         : 100%;
        padding-bottom: 50px;
    }

    .lineHhidden1 {
        line-height: 32px;
    }

    .footerText {
        display: none
    }

    .businesslist li {
        width : 45%;
        margin: 0 2%;
    }
    .leftfixed, .rightfixed{display:none}
}

@media(width:320px) {
    .flex, .flexbetween {
        display: inline;
    }
    .abouttext{margin: 0 auto; width: 100%;}
    .footerrerwm,
    .footerlink {
        width: 100%;
    }

    .footerrerwm li {
        width: 50%;
    }

    .footerrerwm {
        width: 100%;
    }

    .positionreleative {
        width         : 100%;
        padding-bottom: 50px;
    }

    .lineHhidden1 {
        line-height: 32px;
    }

    .footerText {
        display: none
    }

    .businesslist li {
        width : 45%;
        margin: 0 2%;
    }
    .leftfixed, .rightfixed{display:none}
}