@media(max-width:1040px) {

    .top_header .title li,
    .top_header .userdetails li {
        font-size: 12px;
    }

    .top_header .nav > li > a {
        padding: 10px 5px;
    }
}

@media(max-width:980px) {
    header.text-center {
        padding: 1em 2em !important;
    }

    header h1 {
        font-size: 2em !important;
    }

    header h4 {
        font-size: 1.4em !important;
    }

    .events .circle-shape {
        width: 100px;
        height: 100px;
    }
}

.events {
    padding-top: 2em !important;
}

.events .square1 a {
    font-size: 1.2em;
}

@media(max-width:650px) {
    .intro {
    width: 100% !important;
  }
    .events .fa-3x {
    font-size: 1.5em;
}
    .notification .badge {
        top: -5px !important;
        right: 218px !important;
    }

    .ec_courses a {
        height: auto !important;
        display: block !important;
        font-size: 1em !important;
        width: 100% !important;
    }

    .home_banner h2 {
        font-size: 1.5em !important;
    }

    .navbar-toggle .icon-bar {
        background: #000;
    }

    .navbar-toggle {
        padding: 9px 10px;
        margin-top: -35px;
        margin-right: 0px;
        margin-bottom: 0px;

    }

    .custompd {
        padding: 0px 5px;
        margin-top: .4em;
    }

    .mt-custom .navbar {
        position: absolute;
        right: 5px;
        top: 0;
        width: 100%;
        z-index: 9;
    }

    .mt-custom .navbar ul {
        background: #fff;
        text-align: center;
    }

    .top-header {
        border-bottom: none !important;
        padding-top: .2em;

    }

    header.text-center {
        background-size: cover !important;
        width: 98.2%;
    }

    .circle-shape-description img {
        width: 35px;
    }

    .events .circle-shape {
        width: 70px;
        height: 70px;
    }

    .events {
        padding-top: 1em !important;
    }

    .quote {
        color: #00953b;
        font-weight: bold;
        margin-bottom: .1em;
    }

    .subtitle {
        color: #f47700;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 1em;
        margin-bottom: .2em;
    }

    .testimonials ul li img {
        margin: 0 auto;
        width: 75%;
    }

    .testimonials ul li {
        width: 24% !important;
    }

    .events .square1 a {
        font-size: 1em;
    }

    .nav > li {
        border-bottom: 1px solid #ddd;
    }

    .top_header .nav > li > a {
        padding: 5px 5px;
    }

    /* 23june */
    .griditem {
        flex-wrap: wrap !important;
        display: block !important;
    }

    /*
.griditem div ul {
    display: block !important;
}
*/
    .griditem div:first-child {
        display: block !important;
        flex-wrap: wrap !important;
    }

    .griditem div ul {
        display: block !important;
    }

    .griditem div ul .multilang {
        flex-wrap: wrap;
        display: flex !important;
    }

    h2.resp-accordion {

        font-weight: bold;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: .8em !important;
    }

    .square1 {
        margin-bottom: 1em !important;
    }

    .course_desc {
        padding: 0em 0em !important;
    }

    .course_desc h1 {
        font-size: 1.5em !important;
    }

    .list-group-horizontal .list-group-item {
        width: 23% !important;
        font-size: 1em !important;
    }

    .courses-desc h2 {
        font-size: 1.1em !important;
    }

    .testimonials ul li {
        width: 23% !important;
    }

    .home_banner h2 {
        font-size: 1em !important;
    }

    .ec_courses .col-md-2 a,
    .ec_courses .col-md-4 a {
        padding-top: .5em !important;
    }

    .ec_courses h3 span,
    .videosdesc h3 span {
        font-size: 1.5em !important;
    }
}
