.mobile-menu-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.mobile-menu-wrap {
    width: 280px;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #ffff;
    z-index: 9999;
    visibility: hidden;
    transform: translateX(-280px);
}

.mobile-menu-wrap.animate {
    transition: all 0.35s ease;
}

.mobile-menu-wrap .logo {
    border-bottom: 1px #ffff solid;
    padding: 10px;
    text-align: center;
}

.mobile-menu-wrap .logo img {
    height: 50px;
    width: auto;
}

.mobile-menu-wrap .menu {
    background-color: #ffff;
    height: calc(100vh - 71px);
    overflow: auto;
}

.mobile-menu-toggle-btn {
    cursor: pointer;
    background-color: #428BCA;
    width: 43px;
    height: 30px;
    position: absolute;
    left: 10px;
    text-align: center;
    line-height: 26px;
    font-size: 22px;
    border-radius: 3px;
    display: none;
}

.mobile-menu-toggle-btn:hover {
    background-color: #245682;
}

.mobile-menu-toggle-btn i {
    color: #fff;
    margin-top: 4px;
}

.cont .socialicon{
    margin-left: 11px;
    display: flex;
}

.cont .socialicon .fb_iframe_widget {
    top: -7px !important;
}

@media (max-width: 782px) {
    .second-nav .container .row .bg box-shadow {
        display: none;
    }

    .mobile-menu-toggle-btn {
        display: block;
    }

    .open-menu .mobile-menu-bg {
        display: block;
    }

    .open-menu .mobile-menu-wrap {
        visibility: visible;
        transform: translateX(0px);
    }

    .metismenu .sidebar-nav ul ul a {
        margin-left: 25px;
    }
    .collapse-button{
        display : none;
    }
    .second-nav {
        right: 0px;
    }
    .header-nav {
        right: 60px;
        text-align: right;
    }
    .menu-collapser{
        display : none!important;
    }
    #tip{
        right: 0px;
    }
}


ul.slimmenu>li>a:last-child {
    padding: 10px 10px !important;
}

.class-borer {
    border-bottom: 0px dotted #909090;
    padding: 5px 0px;
}

.body-bg {
    background-size: contain;
}
@media (max-width: 1024px) {
    .back-col {
        position: relative;
        min-height: 475px;
    }
    .back-col .pad-note {
        /* height: 100%; */
    }
    .back-col .bor-a {
        position: absolute;
        bottom: 20px;
        width: 100%;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .custom-navigation::after,
    .class-borer::after{
        content: "";
        display: block;
        clear: both;
    }
    .custom-navigation a.flex-prev {
        margin-left: 0;
    }
    #footer h3,
    #footer .panel-simple div>div,
    #footer .panel-simple div>div>a {
        color: #434343;
    }

    .footer-info {
        color: #434343;
    }
}

@media (max-width: 768px) {
    .list-inline>li {
        padding-left: 5px;
        padding-right: 0;
    }

    .title-text {
        overflow: hidden;
        text-overflow: ellipsis;
        height: 75px;
        width: 95px;
        word-wrap: break-word;
        margin-bottom: 20px;
    }

    .pad-note {
        height: 160px;
    }
    .back-col .bor-a {
        position: static;
    }
    .panel-body .flexslider.videotop {
        height: auto !important;
        margin-bottom: 20px;
    }
    .panel-body .flexslider.videotop iframe {
        object-fit: cover;
    }
}

@media (max-width: 767px) {
    .img-icon {
        background-size: 4%;
    }

    .pad-cols:first-child .back-a {
        background-size: 4.7%;
    }

    .back-a {
        padding: 15px;
    }

    .pad-cols:nth-of-type(2) .back-a {
        background-size: 6.7%;
    }

    .pad-cols:nth-of-type(3) .back-a {
        background-size: 7.7%;
    }

    .pad-cols:nth-of-type(4) .back-a {
        background-size: 7%;
    }

    .counter.display-table {
        padding-bottom: 10%;
    }

    .class-wct {
        border-left: none;
    }

    .title-text {
        height: 100%;
        width: 100%;
        margin-bottom: 0;
    }

    .pad-note {
        height: auto;
    }
    .headerSearch {
        margin-top: 0px;
        float: left;
    }
}

@media (max-width: 540px) {
    .img-icon {
        background-size: 6%;
    }

    .pad-cols:first-child .back-a {
        background-size: 6.7%;
    }

    .pad-cols:nth-of-type(2) .back-a {
        background-size: 8.7%;
    }

    .pad-cols:nth-of-type(3) .back-a {
        background-size: 7.7%;
    }

    .pad-cols:nth-of-type(4) .back-a {
        background-size: 7%;
    }
}

@media (max-width: 499px) {
    #tip,
    #footer-tip {
        margin-right: 0 !important;
            right: 10px;
    }
}

@media (max-width: 425px) {
    .img-icon {
        background-size: 8%;
    }

    .pad-cols:first-child .back-a {
        background-size: 8.7%;
    }

    .pad-cols:nth-of-type(2) .back-a {
        background-size: 10.7%;
    }

    .pad-cols:nth-of-type(3) .back-a {
        background-size: 10.7%;
    }

    .pad-cols:nth-of-type(4) .back-a {
        background-size: 10%;
    }
}

.fb_iframe_widget iframe {
    position: absolute;
    border: none;
    visibility: visible;
    width: 145px;
    height: 22px;
    margin-top: 8px;
    margin-left: -10px;
}

#header .logo {
    margin: 0;
    height: 150px;
    line-height: 150px;
    text-align: center;
}

#header .logo img {
    max-width: 150px;
    height: auto;
}

.header-nav {
    position: unset;
}

.header-nav .social-icons {
    margin: unset;
}

.display-mobile .time-school {
    position: relative;
    margin-top: -20px;
    max-height: 160px;
}

.superfish-container {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
}

.mobile-menu-toggle-btn {
    top: 50%;
    transform: translateY(-100%);
}

@media (max-width: 1024px) {
    .superfish-container {
        margin: 0 5px;
    }

    .header-nav #socialList ul li {
        margin-right: 5px;
    }

    #header .color-h2 {
        font-size: 21px;
    }
}

@media (max-width: 992px) {
    #header .logo img {
        max-width: 120px;
    }

    #header .logo {
        height: 120px;
        line-height: 120px;
    }
    #header .color-h2 {
        font-size: 20px;
    }
}

@media (max-width: 840px) {
    #header .color-h2 {
        font-size: 19px;
    }
    .superfish-container {
        margin-bottom: 15px;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        grid-template-rows: repeat(2,480px);
    }
}

@media (max-width: 499px) {
    .superfish-container {
        grid-template-columns: minmax(200px, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}

.footer-info .info-title {
    font-family: Tahoma, sans-serif;
    font-size: 18px;
    font-weight: 900;
}

.footer-info p {
    margin: 0;
}

.footer-info em {
    text-align: center;
    width: 1em;
}

.cat-a img {
    max-height: 180px;
    object-position: center;
    object-fit: cover;
    height: 100%;
}

ul.slimmenu > li:nth-of-type(9) {
	background: #f97d03;
	background: -webkit-linear-gradient(#f97d03, #e07003, #d16902); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#f97d03, #e07003, #d16902); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#f97d03, #e07003, #d16902); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#f97d03, #e07003, #d16902);
}

ul.slimmenu > li:nth-of-type(10) {
	background: #81f502;
	background: -webkit-linear-gradient(#81f502, #6ed202, #5db202); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#81f502, #6ed202, #5db202); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#81f502, #6ed202, #5db202); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#81f502, #6ed202, #5db202);
}

ul.slimmenu > li:nth-of-type(11) {
	background-color: #03f59a;
	background: -webkit-linear-gradient(#03f59a, #02d585, #00ac6c); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#03f59a, #02d585, #00ac6c); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#03f59a, #02d585, #00ac6c); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#03f59a, #02d585, #00ac6c);
}

ul.slimmenu > li:nth-of-type(12) {
	background-color: #03b4fa;
	background: -webkit-linear-gradient(#03b4fa, #0298d3, #0282b4); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#03b4fa, #0298d3, #0282b4); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#03b4fa, #0298d3, #0282b4); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#03b4fa, #0298d3, #0282b4);
}

ul.slimmenu > li:nth-of-type(13) {
	background-color: #3071f5;
	background: -webkit-linear-gradient(#3071f5, #1b5ad7, #0945bd); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#3071f5, #1b5ad7, #0945bd); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#3071f5, #1b5ad7, #0945bd); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#3071f5, #1b5ad7, #0945bd);
}

ul.slimmenu > li:nth-of-type(14) {
	background-color: #0250f3;
	background: -webkit-linear-gradient(#0250f3, #032ed2, #030cb2); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#0250f3, #032ed2, #030cb2); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#0250f3, #032ed2, #030cb2); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#0250f3, #032ed2, #030cb2);
}

ul.slimmenu > li:nth-of-type(15) {
	background-color: #f7f401;
	background: -webkit-linear-gradient(#f7f401, #dbd802, #b9b702); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#f7f401, #dbd802, #b9b702); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#f7f401, #dbd802, #b9b702); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#f7f401, #dbd802, #b9b702);
}

ul.slimmenu > li:nth-of-type(16) {
	background-color: #baf504;
	background: -webkit-linear-gradient(#baf504, #9ed103, #86b102); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#baf504, #9ed103, #86b102); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#baf504, #9ed103, #86b102); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#baf504, #9ed103, #86b102);
}

ul.slimmenu {
    display: block!important;
}

ul.slimmenu > li{
    display: inline-block!important;
    margin-left: -4px;
}

ul.slimmenu {
    background: rgb(3,180,250);
    background: linear-gradient(90deg, rgba(3,180,250,1) 0%, rgba(2,152,211,1) 35%, rgba(2,130,180,1) 100%);
}


@media (max-width: 782px) {
    ul.slimmenu {
         display: none!important;
    }
}

@media screen and (max-width: 785px) and (min-width: 767px) {
        .mobile-menu-toggle-btn{
            top: 125px;
            left: 125px;
        }
        #header .color-h1{
            font-size: 28px;
        }
        #header .color-h2 {
            font-size: 18px;
        }
}

@media (max-width: 992px) {
    ul.slimmenu > li:first-child {
             margin-left: -20px;
    }
}