@media screen and (max-width:991px) {
    .header-main{
    min-height: 100px;
    }
    #cssmenu>ul>li:hover>a,
    #cssmenu ul li.active a {
    color: #fff;
    }
    .logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    text-align: left;
    padding: 0px 0 0 0;
    float: none
    }

    .logo2 {
    display: none
    }

    nav {
    width: 100%;
    }

    #cssmenu {
    width: 100%
    }

    #cssmenu ul {
    width: 100%;
    display: none
    }

    #cssmenu ul li {
    width: 100%;
    border-top: 1px solid #444;
    float: left;
    }

    #cssmenu ul li:hover {
    background: transparent !important;
    }

    #cssmenu ul ul li,
    #cssmenu li:hover>ul>li {
    height: auto
    }

    #cssmenu ul li a,
    #cssmenu ul ul li a {
    width: 100%;
    border-bottom: 0
    }

    #cssmenu ul ul li a {
    padding-left: 25px
    }

    #cssmenu ul ul li {
    background: #333 !important;
    }

    #cssmenu ul ul li:hover {
    background: #eb1768 !important
    }

    #cssmenu ul ul ul li a {
    padding-left: 35px
    }

    #cssmenu ul ul li a {
    color: #ddd;
    background: none
    }

    #cssmenu ul ul li:hover>a,
    #cssmenu ul ul li.active>a {
    background: #eb1768;
    color: #fff
    }

    #cssmenu ul ul,
    #cssmenu ul ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left
    }

    #cssmenu>ul>li.has-sub>a:after,
    #cssmenu>ul>li.has-sub>a:before,
    #cssmenu ul ul>li.has-sub>a:after,
    #cssmenu ul ul>li.has-sub>a:before {
    display: none
    }

    #cssmenu #head-mobile {
    display: block;
    padding: 23px;
    color: #ddd;
    font-size: 12px;
    font-weight: 700
    }
    nav#cssmenu ul {
    float: right;
    margin-top: 54px;
    }
    nav#cssmenu ul .gallerymenu {
    margin-top: 0px;
    }
    .button {
    background: #eb1768;
    width: 55px;
    height: 46px;
    position: absolute;
    right: 0;
    top: 24px;
    cursor: pointer;
    z-index: 12399994;
    }

    .button:after {
    position: absolute;
    top: 22px;
    right: 20px;
    display: block;
    height: 8px;
    width: 20px;
    border-top: 2px solid #dddddd;
    border-bottom: 2px solid #dddddd;
    content: ''
    }

    .button:before {
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    position: absolute;
    top: 16px;
    right: 20px;
    display: block;
    height: 2px;
    width: 20px;
    background: #ddd;
    content: ''
    }

    .button.menu-opened:after {
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
    top: 23px;
    border: 0;
    height: 2px;
    width: 19px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg)
    }

    .button.menu-opened:before {
    top: 23px;
    background: #fff;
    width: 19px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg)
    }

    #cssmenu .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid #fff;
    height: 38px;
    width: 46px;
    cursor: pointer
    }

    #cssmenu .submenu-button.submenu-opened {
    background: #262626
    }

    #cssmenu ul ul .submenu-button {
    height: 34px;
    width: 34px
    }

    #cssmenu .submenu-button:after {
    position: absolute;
    top: 22px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #fff;
    content: ''
    }

    #cssmenu ul ul .submenu-button:after {
    top: 15px;
    right: 13px
    }

    #cssmenu .submenu-button.submenu-opened:after {
    background: #fff
    }

    #cssmenu .submenu-button:before {
    position: absolute;
    top: 19px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    background: #fff;
    content: ''
    }

    #cssmenu ul ul .submenu-button:before {
    top: 12px;
    right: 16px
    }

    #cssmenu .submenu-button.submenu-opened:before {
    display: none
    }

    #cssmenu ul ul ul li.active a {
    border-left: none
    }

    #cssmenu>ul>li.has-sub>ul>li.active>a,
    #cssmenu>ul ul>li.has-sub>ul>li.active>a {
    border-top: none
    }
    #cssmenu>ul>li {
    margin: 0;
    }
    /*  page media css */
    .aboutsimg{
    margin-bottom: 20px;
    }
    .counter{
    margin-bottom: 20px;
    }
    .left_info ul li {
    display: inline-block;
    margin-right: 0px;
    }

    .page_toptitle {
    padding: 20px 0;
    }
    .bg-header {
    min-height: 100px !important;
    }
    .addresbox{
    margin-bottom: 50px;
    }
    .course-title-page {
    font-size: 1.3rem;
    }
    .course-des-page {
    font-size: 0.9rem;
    }
    #coursepage .pagecouresboder{
    border: 0;
    }
    .table thead th, .table tbody td {
    font-size: 0.9rem;
    padding: 8px;
    }
    .btn-primary {
    font-size: 0.85rem;
    padding: 5px 10px;
    }
    .couressbox {
    margin-bottom: 20px;
    }
    /* page media css */
    /* image pop-up media css */
    .modal-content{
    margin: 5px;
    width: 80%;
    }
    .aboutsimg img {
    padding: 0 0 10px 10px;
    background: #eb1768;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    min-height: 223px !important;
    }
    .abutscolorhome{
    display: none;
    }
    .aboutsdcs {
    -webkit-line-clamp: 6; 
    max-height: 12em; 
    }
    .testimonial-profile {
    width: 90% !important;
    margin-bottom: 20px;
    }
    .testimonial-content {
    width: 100%;
    }
    .blogsection2{
    gap: 10px;
    margin-bottom: 20px;
    }
    .newsblog{
    gap: 10px;
    }
    .newsblockdec {
    display: none;
    }
    .newsimageicon img{
    width: 70%;
    }
    .newsimage img{
    width: 70%;
    }
    .centerheadermain .webname {
        font-size: 28px;
    }
    .right_info {
        display: none;
        }
    .left_info {
        text-align: center;
        }
        .header-top::before {
        display: none;
        }
        .about-experience {
            padding: 10px 5px 10px 5px;
            border-radius: 20px 20px 20px 0px;
        }
        .about-img .img-1 {
            border-radius: 40px 40px 0px;
        }
        .about-img .img-3 {
            margin-top: 40px;
            border-radius: 40px 40px 0px;
        }
        .aboutstitle {
            font-size: 28px;
        }
        .couress .leftWelBg {
            width: 50%;
        } 
        .blogsection2 {
            padding: 10px 10px;}
        .newsicon {
            font-size: 14px;
        }
        .newsblocktitle a {
            font-size: 17px;
        }
    }

@media (min-width: 0px) and (max-width: 768px) {  
    .headtitle1 {
    font-size: 25px;
    }    
    .centerheadermain {
    display: none;
    }
    .header-main .logo {
    display: block;
    }
    .header-main .logo img {
    max-width: 120px;
    margin-top: -40px;
    }
    .aboutsimg img {
    padding: 0 0 10px 10px;
    background: #eb1768;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    min-height: 223px !important;
    }
    .abutscolorhome{
    display: none;
    }
    .newsimageicon img{
        width: 100%;
        margin-bottom: 10px;
    }
    .testimonial-profile {
    width: 90% !important;
    margin-bottom: 20px;
    }
    .testimonial-content {
    width: 100%;
    }
    .carousel-caption .btn {
    padding: 3px; 
    font-size: 11px;
    }
    h1.display-6.text-white.mb-md-4.animated.zoomIn {
    font-size: 15px;
    }
    h5.text-white.mb-3.animated.slideInDown {
    font-size: 13px;
    margin-bottom: 5px !important;
    }
    .carousel-caption {
    top: 10%;
    padding: 5px;
    transform: translateY(6%);
    }
    .right_info {
    display: none;
    }
    .centerheadermain .webname {
    font-size: 25px;
    }
   
    .centerheadermain .webheaderaddress {
    font-size: 15px;
    }
    div#contactaddress {
    margin-top: 50px;
    }
    .contactformtitle {
    font-size: 21px;
    }
    .map {
    margin-top: 20px;
    }
    .messagetextboxpage {
    -webkit-line-clamp: 3; 
    max-height: 6em; 
    }
    .testimonial-description {
    -webkit-line-clamp: 2; 
    max-height: 8em; 
    }
    .aboutsdcs {
    -webkit-line-clamp: 7; 
    max-height: 14em; 
    }
   
    .about-img .img-2 {
        display: none;
    }
    .couress .leftWelBg {
        display: none;
    }
    .messageimgbox {
     margin-left: 0;
     display: inline-block;
    }
    #testimonialpage .testimonial_box {
        margin-bottom: 10px;
    }
    .testimonialtitle {
        margin-top: 10px;
    }    
    .aboutsyear {
        font-size: 15px;
    }
    .whysubtitle {
        font-size: 26px;
    }

}
