/*-------------- media section ---------------*/
@media screen and (min-width:1200px) {
  #top-header .container, #slider .container{
    max-width: 1240px;
  }
}
@media screen and (max-width:576px) {
  #slider .carousel-indicators {
    bottom: 0;
    top: unset;
    right: 12px;
  }
  img.about-image2 {
    position: unset;
    margin-top: 20px;
  }
  .grid-wrapper{
    display: block;
  }
  .hedaer-btn{
    margin-top: 10px;
  }
}
@media screen and (max-width:767px) {
  .fixed-header {
    padding: 0 15px 15px 15px;
  }
  .contact-info {
    text-align: center;
  }
  .contact_social {
    text-align: center;
    margin-top: 20px;
  }
  .semi-circle {
    display: none;
  }
  .slideimagebg {
    padding-top: 12em;
    padding-bottom: 7em;
  }
  .slide_btn a.gradient_button{
    padding: 11px 13px
  }
  .about-image-3-inner {
    position: unset;
    margin-top: 20px;
  }
  #events li.nav-item {
    margin-right: 10px;
  }
  #accordionExample {
    border-left: 1px solid #e7ecf2;
    border: none;
    margin-top: 20px;
  }
  .records-info {
    margin-bottom: 20px;
  }
  .about-image:after, #events .accordion-header button:before{
    display: none;
  }
  #events .accordion-body {
    margin-left: 0;
    text-align: center;
  }
  #events .accordion-body {
    margin-left: 0;
  }
  #events span.short_title{
    margin-top: 10px;
  }
  .inner-cont:after{
    display: none;
  }
  .section_main_head {
    max-width: 100%;
  }
  .inner-cont{
    margin-bottom: 0;
  }
  .about-image{
    text-align: center;
  }
  .single-classes-inner .media i {
    text-align: center;
    margin: 11px auto;
  }
  .hedaer-btn {
    text-align: center;
    margin-top: 10px;
  }
  .image_box_wrapper{
    margin-top: 0;
  }
  #about-us .section_main_head{
    max-width: 100%;
  }
  .testimonial-block{
    left: 0;
  }
  .quote_box{
    margin: 10px;
  }
  .testimonials_image {
	margin-top: 10px;
	text-align: center;
   }
  .testimonials_image img {
    position: relative;
    z-index: -1;
    border-radius: 135px;
    margin: 0 auto !important;
  }
  .grid-wrapper > div{
    margin-bottom: 20px;
  }
  .owl-dots-box{
    text-align: center;
  }
  #search .close{
    top: 31%;
    right: 10%;
  }
  .search-no-results div#sidebar {
    margin-top: 20px;
  }
  .contac_form:after{
    display: none;
  }
  .contac_form {
    margin: 10px 0;
    padding: 20px;
    max-width: 100%;
    text-align: center;
  }
  .header_contact .media i {
    padding-right: 0;
  }
  .slider-box {
    max-width: 100%;
    text-align: center;
    padding: 20px 10px;
  }
  .contact_box_container{
    padding: 15px 15px;
  }
  .contact_details_column .media{
    margin-bottom: 20px !important;
  }
  .Slider-left-box, .section_main_head .section-text, .section_main_head .section-text p{
    max-width: 100%;
  }
  #slider .slidesmalltext{
    display: none;
  }
  #slider h1, #slider h2{
    font-size: 20px;
  }
  .contact_head{
    left: unset;
    width: 80%;
    margin: 0 auto !important;
  }
  .page-content h1{
    font-size: 120px;
  }
  .theme-footer-cols ul li {
    padding-left: 0;
    list-style: none;
    margin-left: 0;
  }
  .theme-footer-cols ul{
    margin: 0;
  }
  .theme-footer-cols ul li:before{
    display: none;
  }
  .brand-images{
    display: inline-block;
  }
  .newsletter_shortcode input[type="submit"] {
    position: unset;
    transform: unset;
    margin-top: 10px;
  }
  .newsletter_shortcode {
    padding: 0;
  }
  .logo_inner, .newsletter_shortcode input[type="text"], .newsletter_shortcode input[type="tel"], .newsletter_shortcode input[type="email"], .newsletter_shortcode input[type="phno"], .newsletter_shortcode input[type="password"], .newsletter_shortcode textarea{
    text-align: center;
  }
  .header_boxes {
    justify-content: center !important;
  }
  .about-img-bottom {
    width: 100%;
  }
  .woocommerce .cart-collaterals .cart_totals, .top_contact, .news-box h5, .news_content, .custom-nav, .quote_box {
    text-align: center;
  }
  .about-details{
    text-align: center;
    padding: 20px;
  }
  .contact_details_column{
    padding: 30px 0;
    justify-content: center;
  }
  .media, .media img {
    display: block !important;
    text-align: center;
    margin: 0 auto !important;
  }
  .media img {
    margin-bottom: 15px;
  }
  .media i {
    display: block !important;
    margin-bottom: 10px;
  }
  .custom-video-nav.owl-nav{
    text-align: center;
    margin: 0 !important;
  }
  
  
  #video-projects .owl-dots{
    display: none;
  }
  .testimonial-data i.fas.fa-quote-left{
    left: 0;
    right: 0;
  }
  .quote_box h3{
    padding-top: 30px;
  }
  #our-services .section_main_head{
    justify-content: center;
  }
  .video_overlay{
    padding: 5em 0 !important;
  }
  .newsletter_form{
    text-align: center;
  }
  .theme-footer-cols h3:after{
    margin: 0 auto;
    text-align: center;
    left: 0;
    right: 0;
  }
  .section_main_head.heading-half-width{
    max-width: 76%;
  }
  tbody, td, tfoot, th, thead, tr{
    padding: 10px 10px;
  }
  .testimonials-img{
    position: unset;
    transform: unset;
    text-align: center;
    margin: auto !important;
    margin-bottom: 20px !important;
  }
  .testimonials-info {
    margin-left: 17%;
    margin: 0;
  }
  .inner-body{
    text-align: center;
  }
  .owl-carousel .owl-item .testimonials-img img{
    margin: 0 auto !important;
  }
  .toggler{
    margin: 0;
  }
  .media img{
    margin-bottom: 0;
  }
  .section_main_head, .contact_head, .contact_details_column ul li, .theme-footer-cols{
    text-align: center;
  }
  #our-team {
    background-size: cover;
  }
  .news_content{
    padding: 18px;
  }
  .footer-col1 .is-layout-flex.wp-block-buttons {
    display: block;
  }
  .footer-col2 {
    padding-left: 5em;
    padding: 0;
    margin-top: 20px;
  }
  .contact_widget .media i{
    padding-right: 0;
  }
  .footer_icons {
    text-align: center;
    margin-top: 30px;
  }
  .copyright-text{
    text-align: center !important;
  }
  .home_contact ul {
    margin: 0;
  }
  .news-box{
    margin: 10px 15px !important;
  }
  .contact_details_column a{
    display: block;
  }
  .woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
  .woocommerce-cart table.cart td.actions .coupon button.button {
    width: auto;
    margin: 0 auto;
    float: none !important;
  }
  .woocommerce-page table.cart td.actions .button {
    margin: 0 auto !important;
  }
  section {
    padding: 30px 0;
    background-size: cover;
  }
  .logo h1 a {
    font-size: 21px;
  }
  .post-navigation .nav-previous, .post-navigation .nav-next, blockquote, .work-info img {
    width: 100%;
  }
  .admin-login.text-end{
    text-align: left !important;
  }
  .c_icon{
    margin: 7px auto;
  }
  #newsletter_section .container {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px){
  .about-image-3-inner {
    position: unset;
    margin-top: 20px;
  }
  .about-image:after, #events .accordion-header button:before{
    display: none;
  }
  .about-image{
    text-align: center;
  }
  img.about-image2{
    margin-top: 20px;
    position: unset;
  }
  
  .record_detail h6, .record_detail h6 a {
    font-size: 12px;
  }
  .box-count {
    font-size: 25px;
  }
  .hamburger{
    margin-top: 0;
  }
  .semi-circle, .event-image:after{
    display: none;
  }
  .event-image {
    text-align: center;
    margin-top: 20px;
  }
  .team_img:after{
    bottom: -18px;
  }
  #how-it-works .owl-item .how_work_image {
    transform: scaleY(.8);
  }
  .header_contact.d-md-flex.flex-wrap.align-content-center {
    display: none !important;
  }
  .testimonial-block{
    left: 14px;
  }
  .newsletter_head  .section_main_head {
    text-align: center;
  }
  .header_contact .media{
    width: 50%;
    float: left;
    margin: 0;
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
  #masthead{
    padding: 10px;
  }
  .slider-box {
    padding-bottom: 2em;
    padding-top: 2em;
  }
  .slider-box{
    padding-right: 0;
  }
  .image_box_wrapper{
    margin-top: 0; 
  }
  .head-social {
    justify-content: center;
  }
  .contact_details_column .phone_cblk{
    margin-bottom: 20px;
  }
  .about_listing_inner{
    margin-top: 0em;
  }
  .header_contact .media i{
    display: block !important;
    margin-bottom: 10px;
    padding-right: 0 !important;
  }
  #slider .slide-small-heading{
    font-size: 32px;
  }
  #slider h1, #slider h2{
    font-size: 28px;
  }
  #video-projects iframe{
    height: 100%;
  }
  #video-projects .owl-video-wrapper{
    background-size: cover !important;
  }
  .newsletter_form, .newsletter_head{
    padding: 25px;
  }
  .search_mobile a i {
    color: #222;
  }
  .bmi_image {
    display: none;
  }
  .news-box {
    margin-bottom: 20px !important;
  }
  .page-template-blog-with-left-right-sidebar .blog_inner_box {
    width: 100%;
  }
  .about-details{
    padding-right: 0;
  }
  section {
    padding: 30px 0;
  }
  .bg_overlay{
    top: -22px;
  }
  .team-head, .newsletter-banner-head, #testimonials .section_main_head{
    text-align: center;
  }

}
@media screen and (max-width: 991px){
  #how-it-works .owl-item.center .how_it_works_box{
    width: auto;
    left: unset;
  }
  #image-box {
    position: unset;
    max-width: 100%;
    padding: 18px 0 !important;
  }
  .footer-col2 {
    padding: 0 15px;
  }
  .footer-col1, .footer-col2, .footer-col3, .footer-col4 {
    margin-bottom: 20px;
  }
  
  .Slider-left-box, .section_main_head .section-text, .section_main_head .section-text p{
    max-width: 100%;
  }
  #header {
    margin-right: 0;
  }
  #main-banner .image_outer {
    left: unset;
    margin-bottom: 0;
  }
  .search_mobile{
  display: flex !important;
  }
  .banner-head {
    max-width: 100%;
    padding: 0;
  }
  #testimonials .custom-nav:before{
    display: none;
  }
  #testimonials button.owl-prev{
    margin-left: 0;
  }
  #fitnes_classes, #main-banner{
    margin: 0 !important;
  }
  #fitnes_classes ul.nav.nav-tabs{
    bottom: 0;
  }
  #fitnes_classes li.nav-item{
    margin-top: 10px;
  }
  .serach_form_box{
    display: none !important;
  }
  .testimonial_bg {
    right: 0;
    margin: 0 auto;
    float: none;
    top: 16px;
  }
  .footer-cols, .custom-nav{
    text-align: center;
  }
  #slider .slide_nav i{
    font-size: 12px;
  }
  #slider .slide_nav a{
    padding: 3px 9px;
  }
  #about-us .section_main_head h3{
    font-size: 26px;
  }
  .newsletter-banner {
    display: block !important;
  }
  .newsletter_img_column{
    margin-top: 0;
  }
  .newsletter-banner-head {
    padding-top: 20px;
  }
  .footer-navigation{
    margin-top: 20px;
  }
  #footer .top_social a:last-child {
    margin-right: 0;
  }
  #footer .footer_contact ul li{
    display: block;
  }
}
@media screen and (min-width: 992px) and (max-width: 1024px){
  .about-image-3-inner{
    right: 0;
    bottom: 1em;
  }
  img.about-image2 {
    right: 0;
  }
  #slider h1, #slider h2{
    font-size: 28px;
  }
  .image_box_wrapper {
    margin-top: -2em;
  }
  .header_contact .media{
    margin-bottom: 10px;
  }
  .hedaer-btn a.theme_button2 {
    padding: 13px 16px;
  }
  .top_contact_block {
    margin-top: 7px;
  }
  #how-it-works .owl-item.center .how_it_works_box{
    width: 382px;
  }
  .custom-social-icons a i{
    margin-bottom: 5px;
  }
  .contact_widget .media a {
    font-size: 13px;
  }
  .slide_records.slide_records_no3{
    right: 0em;
  }
  .contact_details_column .phone_cblk{
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1199px){
  .quote_box{
    padding: 18px;
  }
  .about_box h6{
    padding: 10px 0;
  }
  .about-image {
    margin-bottom: 0;
  }
  .Slider-left-box{
    max-width: 100%;
  }
  .news_content {
    padding: 16px;
  }
  .contact_widget .media a {
    font-size: 13px;
  }
  .side-navigation a{
    font-size: 13px;
  }
  .side-navigation li{
    padding: 24px 8px;
  }
  .contact_details_column .phone_cblk{
    margin-bottom: 20px;
  }
  .about-image-3-inner {
    bottom: 0em;
  }
  .team_img:after {
    bottom: -18px;
  }
  #events .nav-tabs .nav-link {
    padding: 11px 21px;
  }
}
@media screen and (max-width: 1024px){
  .head-menu-block {
    display: flex;
    align-items: center;
    justify-content: end;
  }
  #image-box {
    padding: 40px 0px;
  }
  .about_outer:after{
    display: none;
  }
  .Slider-left-box{
    max-width: 100%;
  }
  .about_outer{
    background-color: transparent;
  }
  .about-img-bottom {
    margin-top: 4px;
    margin-left: 0;
  }
  .about_outer{
    padding: 0 !important;
  }
  .about_box h6{
    padding: 10px 0;
  }
  .about-image {
    margin: 0;
  }
  #events .nav-tabs .nav-link {
    padding: 11px 18px;
  }
  .header-menu-boxx.text-end {
    text-align: left !important;
  }
  .side-navigation ul li.current_page_item a:after{
    display: none;
  }
  .side-navigation ul li:hover > ul{
    animation:unset;
  }
  .side-navigation ul li{
    width: 100%;
  }

  .headerbar, .side-navigation,
  .side-navigation ul ul li,
  .current_page_item{
    display: block;
  }
  .headerbar:focus,.hamburger:focus{
    outline: none;
  }
  .hamburger {
    text-align: center;
    color: white;
    font-size: 20px;
  }
  .side-navigation ul li.current_page_item a:before, .side-navigation ul li.current-menu-item a:before{
    display: none;
  }
  .header-menu-boxx {
    position: relative;
  }
  .main-header .side-navigation {
    display: none
  }
  .side-navigation,.side-navigation li {
    padding: 12px 5px;
  }
  .side-navigation ul li a {
    padding: 5px 8px;
    color: #fff;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
  }
  .side-navigation ul ul li a{
    border: 0;
  }
  amp-sidebar#sidebar1 {
    background: var(--color-secondry);
    width: 250px;
  }
  #sidebar1 {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    overflow-x: hidden;
    transition: .5s;
  }
  .side-navigation ul li ul, .side-navigation ul li ul ul {
    display: block !important;
  }
  .side-navigation ul ul,.side-navigation ul ul li {
    background: var(--transparent) !important;
  }
  .side-navigation ul ul {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .side-navigation ul ul li{
    padding-left: 15px;
  }
  .side-navigation ul.sub-menu li a:before{
    content: none;
  }
  .side-navigation ul>li.menu-item-has-children>a:after{
    margin-top: 0;
  }
}