@media only screen and (max-width: 1180px) {

    .mec-calendar {
        margin-right: -10% !important;
        margin-left: 0 !important;
    }
    
    
    .tf-blog .avia-content-slider .slide-image {
        top: -50px;
    }    
    
    
    .tf-blog .avia-content-slider .slide-image {
        top: 0 !important;
        display: block !important;
        width: 70% !important;
        margin: auto !important;
        margin-top: 35px !important;
        max-width: 175px !important;
        margin-bottom: 50px !important;
    }
    
    
    .tf-blog .slide-entry {
        padding: 20px !important;
        padding-left: 20px !important;
        padding-top: 25px !important;
    }
    
    .tf-blog .slide-content {
        width: 100% !important;
        right: 0px;
    }
    
    .tf-blog .slide-content * {
        text-align: center !important;
    }
    
    
    .tf-blog .more-link {
        margin-top: 10px !important;
    }
    
    
    
 .blog-archive .read-more-link {
    float: none;
    margin-top: 0px;
    margin-bottom: 10px;
}   
    
    
}


/********************************************************************/


@media only screen and (max-width: 988px) {

    .main_menu .menu li {
        padding: 0 5px;
    }
    
    
    .mec-calendar .mec-calendar-side {
        padding: 5px;
    }
    
    .mec-box-calendar.mec-calendar .mec-calendar-side {
        border-right: 1px solid #336e7b;
        border-left: 1px solid #336e7b;
    }
    
    
    
    .tf-for-who {
        width: 42% !important;
        margin-right: 6% !important;
        margin-bottom: 60px !important;
    }
    
    
    
    .tf-for-who .av-special-heading {
        margin-top: 65px !important;
    }
    
    
    .testimonial {
        width: 42% !important;
        margin-right: 6% !important;
        margin-bottom: 30px !important;
    }
    
    
    .mec-skin-monthly-view-month-navigator-container {
        position: relative;
        top: 7px;
    }
    
    
    .mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month,
    .mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month {
        top: 22px !important;
    }


    .mec-calendar-side .mec-calendar-table {
        min-height: 320px !important;
    }


.tf-for-all .template-page, .tf-testimonial .template-page {
    padding-bottom: 0 !important;
}


.vip-card-section {
    padding: 0px 0%;
}


}


/********************************************************************/


@media only screen and (max-width: 770px) {


.tf-calendar .flex_column {
    width: 100% !important;
}


    .ld-course-list-items .ld_course_grid {
        margin: auto;
        margin-bottom: 25px;
    }
    
    
    
    .tf-for-who {
        width: 60% !important;
        margin: auto !important;
        float: none !important;
        margin-bottom: 100px !important;
        max-width: 370px;
    }
    
    
    
    .tf-blog .slide-entry {
        width: 65% !important;
        margin: auto !important;
        display: block;
        float: none !important;
        margin-bottom: 18px !important;
    }
    
    
    .testimonial {
        margin-bottom: 50px !important;
    }
    
    
    
    #socket .copyright-widanet {
        float: none !important;
        display: block;
    }
    
    
    #socket .copyright {
        text-align: center !important;
    }
    
    
.header_color .av-subnav-menu a:hover, .header_color .main_menu ul:first-child > li a:hover, .header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, .header_color .main_menu ul:first-child > li.active-parent-item > a {
    border: none !important;
}



#top #menu-item-search {
    display: block !important;
    margin-left: -10px !important;
}


#top #menu-item-search [data-av_icon]:before {
    font-size: 20px !important;
}



#top #menu-item-search #searchform {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}



    .mec-calendar .mec-calendar-events-side {
        position: relative;
        right: 35px;
        border: none !important;
    }


    .mec-box-calendar.mec-calendar .mec-calendar-side {
        position: relative;
        right: 4px !important;
        border: none !important;
    }
    
  
  .mec-calendar {
    margin-right: 0 !important;
}


.mec-calendar {
    width: 370px;
}


.tf-blog .avia-button-center {
    margin-top: -35px;
    margin-bottom: 35px !important;
}




.title_container .main-title {
    margin-bottom: 15px;
}




.timeline-overlay .timeline-overlay-content {
    width: 95% !important;
}



.vip-card-section {
    padding: 0px 15%;
}


.vip-card.active {
    transform: scale(1.05);
    z-index: 999999999;
    margin: 20px 0 !important;
    position: relative;
    right: 5px;
}


.vip-card-section .content {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}



.sidebar_shadow .sidebar_right .content.av-enable-shadow {
    box-shadow: none !important;
}

.mihanpanel-profile-widget {
    box-shadow: none !important;
}


.blog-archive .blog-meta  {
    display: block !important;
    float: none !important;
    margin: auto !important;
}

.blog-archive .entry-content-wrapper {
    padding-right: 20px !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
}


.blog-archive .small-preview {
    display: block !important;
    margin: auto !important;
}

.blog-archive .small-preview {
    display: block !important;
    margin: auto !important;
    float: none !important;
}

.blog-archive article {
    padding-left: 0;
}

.blog-archive .entry-content {
    padding-left: 20px;
}


}



/********************************************************************/



@media only screen and (max-width: 576px) {

   .tf-for-who {
        width: 95% !important;
    }
    
    .tf-blog .slide-entry {
        width: 95% !important;
    }
    
    
    .testimonial {
        width: 90% !important;
        margin: auto !important;
        margin-bottom: 60px !important;
        display: block !important;
        float: none !important;
    }
    
    
.vip-card-section {
    padding: 0px 5%;
}


.vip-cta .avia_textblock h3{
    text-align: right;
}
    
    

}


/********************************************************************/



@media only screen and (max-width: 400px) {
      .mec-box-calendar.mec-calendar .mec-calendar-side {
        right: -10px !important;
    }  
}


@media only screen and (max-width: 375px) {
      .mec-box-calendar.mec-calendar .mec-calendar-side {
        right: -30px !important;
    }  
}