:root {
  --darkgray: #1f1e1e;
  --white: #ffffff;
}
@media screen and (max-width: 1441px){
  #slider img {
    height: auto;
  }
  .we-offer-image img{
    object-fit: contain;
  }
  #slider ol.carousel-indicators{
    bottom: 30%;
  }

  #slider .slide_nav {
    position: absolute;
    left: 7%;
    top: 80%;
  }
}

@media screen and (max-width: 480px){
  #single_post .date-box{
    padding: 20px 13px;
    position: unset;
    width: 50%;
    margin-left:0px;
  }
  #contact-us .contact-details{
    padding:40px 10px;
  }
  #contact-us .contact-us-icon{
    justify-content:unset;
  }
  #contact-us .contact-details .contact-us-info {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media screen and (min-width:768px) and (max-width:991px) {
  .we-offer-content h4 a{
    font-size:20px;
  }
  #slider .slide_nav {
    position: absolute;
    left: 8%;
    top: 75%;
    width: 400px;
  }
}
@media screen and (min-width:769px) and (max-width:991px) {
  #slider p{
    display:none;
  }
  #slider .carousel-next-button{
    left: 9% !important;
  }
  .why-choose-us-image img{
    position:unset;
  }
  .upcoming-events-head a{
    font-size:12px;
  }
  #contact-us .contact-details .contact-us-info{
    text-align: center;
    padding-top: 7px;
  }
  #our-records .records-text{
    text-align: center;
  }
  .slider-box{
    top: 60% !important;
  }
}

@media screen and (max-width:1023px){
  #slider img {
    height: 500px;
  }
}
@media screen and (max-width: 1024px){
  #sidebar1 ul > li:hover ul  {
    display: block;
  }
  .right_menu,.header-nav .menubar{
    padding-right: 0;
  }
  .menubar:after{
    display: none;
  }
  .header-nav .menubar {
    background-color: transparent;
  }
  .main-header .side-navigation {
    display: none;
  }
  .headerbar,.side-navigation,.side-navigation li,.side-navigation ul li a,.side-navigation ul ul li,.side-navigation li.current_page_item{
    display: block;
  }
  .side-navigation ul ul{
    display: none;
    background: unset;
    position: relative;
  }
  .side-navigation ul ul li{
    border-bottom: unset;
    padding: 5px 12px;
  }
  .side-navigation ul ul ul, .side-navigation ul ul{
    left: 5px;
  }
  .sticky .hamburger{
    color: #000;
  }
  .hamburger {
    font-size: 29px;
    color: #fff;
    cursor: pointer;
  }
  amp-sidebar#sidebar1{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: all 0.5s ease;
    padding-top: 60px;
  }
  .close-sidebar {
    position: absolute;
    top: 0;
    right: 0px;
    font-size: 36px;
    margin-left: 50px;
    display: block;
    color: var(--white);
  }
  .side-navigation li{
    border-top: 1px #303030 solid;
    display: block;
    width: 18rem;
    padding: 5px;
  }
  .side-navigation ul li a,.sticky .side-navigation a {
    padding: 5px 10px;
    display: block;
    color: var(--white) !important;
    line-height: 25px;
  }
  .side-navigation li.current_page_item {
    border-top: 1px #303030 solid;
    border-bottom: 1px #303030 solid;
  }
  .sticky ul{
    text-align: left;
  }
  .side-navigation ul li ul li a:before {
    content: "\00BB \00a0";
  }
  .slider-box {
    /* max-width: 82%;
    top: 56%; */
  }
  #slider a.theme_button{
    /* padding: 10px 11px;
    margin-top: 0px; */
  } 
  #slider .carousel-prev-button, #slider .carousel-next-button {
    bottom: 8%;
  }
  #slider .carousel-next-button {
    left: 8%;
  }
  #header .header-search {
    /* padding-top: 36px; */
  }
  #our-records .records-content .records-icon img {
    padding: 0;
  }
  #our-records .records-content p {
    line-height: 28px;
  }
  #our-records .records-text {
    padding: 0;
  }
  #register-now fieldset {
    max-width: 100%;
  }
  #upcoming-events {
    padding-top: 16%;
  }
  #our-classes .box-content h4 a {
    font-size: 18px;
  }
  .classes-button {
    padding: 0 10px;
  }
  #our-classes .box-content h4 {
    padding-bottom: 0;
  }
  .class-meta span {
    font-size: 11px;
    line-height: 18px;
  }
  .why-choose-us-content span {
    font-size: 19px;
  }
  #our-blog .blog-contents h4 a{
    font-size:20px;
  }
  #contact-us .contact-details p{
    letter-spacing: 0px;
    font-size:14px;
  }
  #testimonials .owl-dots{
    margin-top:0px;
  }

  #our-gallery .gallery_front{
    grid-template-rows: repeat(5, 60px);
  }
}
@media screen and (min-width:1025px) and (max-width:1200px) {
  .slider-box{
    max-width: 74%;
    top: 60%;
  }
  
}
@media screen and (max-width:768px) {
  #slider p{
    display: none;
  }
  #header .header-search {
    /* padding-top: 28px; */
    position: unset;
  }
  #slider h1 {
    font-size: 24px;
    padding-top: 0;
  }
  .slider-box {
    max-width: 80%;
    top: 55%;
  }
  #slider .carousel-next-button {
    left: 10%;
  }
  #slider .read-more {
    padding: 11px 23px;
  }
  #our-records .records-content .records-icon img {
    border:none;
  }
  #our-records .records-content, .records-text, .contact-details .contact-us-info, .contact-details, .open-hours {
    text-align: center;
  }
  #upcoming-events {
    padding-top: 24%;
  }
  #register-now legend {
    font-size: 25px;
  }
  #our-classes .box .box-content {
    padding-top: 0;
  }
  #experience .benefit-content h4 {
    font-size: 16px;
  }
  #our-gallery {
    padding-top: 19%;
  }
  .our-classes-head p, .we-offer-head p, .our-gallery-head p, .our-blog-head p, .pricing-plan-head p, .our-products-head p {
    width: 80%;
  }
  #why-choose-us .why-choose-us-image img {
    /* position: unset; */
  }
  #upcoming-events .upcoming-events-head a {
    font-size: 11px;
    padding: 10px 16px;
  }
  .contact-details {
    padding: 12px;
  }
  .contact-us-icon {
    padding-bottom: 20px;
  }
  #our-products .add_to_cart_button{
    font-size: 12px;
    padding: 5px 7px;
  }
}
@media screen and (max-width:767px) {
  .testimonials-box img{
    width:auto !important;
  }
  #experience .section-image img {
    position: unset;
  }
  #slider .carousel-next-button {
    left: 12%;
  }
  .we-offer-image img{
    object-fit: contain;
  }
  .we-offer-content h4 a {
    font-size: 18px;
  }
  #our-gallery .gallery_front{
    grid-template-rows: repeat(5, 60px);
    gap: 5px;
  }
  #slider .slide_nav {
    position: absolute;
    left: 19%;
    top: 75%;
    width: 400px;
  }
}
/*-------------- media section ---------------*/
@media screen and (max-width:575px){
  .we-offer-image{
    display: none;
  }
}
@media screen and (max-width:576px) {  
  .hamburger{
    color: var(--darkgray);
  }
  #slider img {
    height: auto;
  }
  #slider p {
    display: none;
  }
  #site_top .socialbox {
    text-align: left;
  }
  .row.bg-media, .contact_details .row {
    margin: 0;
  }
  #slider h1 {
    font-size: 16px;
    padding-top: 0;
    line-height: 23px;
  }
  .slider-box{
    text-align: center;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
  }
  .about-content p{
    font-size: 14px;
  }
  .woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 37%;
  }
  #slider a.theme_button{
    padding: 6px 15px;
    font-size: 12px;
  }
  #slider .carousel-caption.d-none.d-md-block {
    display: none !important;
  }
  .inner_tabbox_bg {
    background-color: var(--white);
    padding: 0 10px;
  }
  #testimonials .testimonial_box {
    padding: 20px 20px 40px 20px;
  }
  section{
    padding: 20px 0;
  }
  .media-small {
    padding-left: 10px !important;
  }
  .small_media {
    padding: 10px 0;
  }
  #slider a i{
    padding: 0px;
    font-size: 14px;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
  }
  #slider .slide_nav {
    position: absolute;
    left: 0;
    top: 79%;
    width: fit-content;
    right: 0;
    text-align: center;
    margin: auto;
  }
  .above_title {
    margin-top: 2%;
  }
  .menubar {
    padding: 0 15px;
  }
  .home.page-template #header { 
    padding-top: 15px;
  }
  #header .header-search {
    text-align: center;
    /* padding-top: 22px; */
  }
  .footer_menu ul {
    text-align: left;
    padding-top: 15px;
  }
  #header .search-form label {
    /* width: 53%; */
  }
  input.search-field {
    width: 97%;
  }
  #header {
    /* background-color: #fff !important;
    padding-bottom: 20px; */
  }
  #header .header-search{
    padding: 10px 0px;
  }
  #slider ol.carousel-indicators {
    bottom: 8%;
  }
  #slider ol.carousel-indicators li {
    /*margin-top: 14px;*/
  } 
  #slider .carousel-control-next {
    left: 15px;
  }
  #slider .carousel-control-prev {
    right: 30px;
    left: unset;
  }
  #we-offer .we-offer-title {
    display: unset;
  }
  #our-records .records-content p {
    line-height: 50px;
  }
  #our-records .records-content {
    margin-top: 20px;
  }
  #our-classes .box-content h4 a {
    font-size: 19px;
  }
  #our-classes .box-content h4 {
    padding-bottom: 0;
  }
  #experience .experience-head h3:after {
    margin-left: auto;
    margin-right: auto;
  }
  .home.page-template #header, #experience .section-image img, #experience .experience-contents, .why-choose-us-image img {
    position: unset;
  }
  #experience .experience-contents {
    margin-top: 0;
  }
  #our-gallery .our-gallery-head p, #pricing-plan .pricing-plan-head p {
    width: 100%;
  }
  .slider-box, #register-now fieldset, .our-blog-head p, .our-products-head p, .our-classes-head p, .we-offer-head p {
    max-width: 100%;
  }
  .why-choose-us-content h3:after, .testimonials-head h3:after, .upcoming-events-head h3:after {
    margin:18px auto 0 auto;
  }
  #upcoming-events .all-events, .events-content, .product-price, #our-products .owl-dots, .we-offer-image, #upcoming-events, #service_single, #we-offer .we-offer-content, #experience, #why-choose-us, #testimonials, .testimonials-content, #testimonials .owl-dots {
    text-align: center;
  }
  #testimonials .owl-dots {
    padding-top: 20px;
  }
  #testimonials .testimonials-box img {
    margin: 0 auto;
  }
  #testimonials .testimonials-info {
    /* position:inherit; */
  }
  #testimonials .open-hours {
    padding: 0;
  }
  #upcoming-events {
    padding-top: 39%;
  }
  #contact-us .contact-details {
    margin-bottom: 20px;  
  }
  #pricing-plan .pricing-plan-box {
    margin-bottom: 0;
  }
  #pricing-plan .pricing-plan-content ul {
    padding-bottom: 20px;
  }
  .logo h1 a {
    font-size: 23px;
  }
  #footer_box .widget_products {
    padding-left: 20px;
  }
  #slider .small-title {
    font-size: 12px;
    padding: 0;
  }
  #we-offer .we-offer-content h5 {
    padding-top: 15px;
  }
  #footer_box{
    text-align: center;
  }
  #footer ul li{
    list-style:none;
  }
  #footer h3{
    margin-top: 15px;
  }
  #footer .textwidget input[type=submit]{
    margin: 0 auto;
    display: block;
  }
}
@media screen and (min-width:577px) and (max-width:767px) {
  #slider .carousel-control-prev{
    /* left: 21%;
    top:82%; */
  }
  #slider .carousel-control-next {
    /* left:28%;
    top:82%; */
  }
  #slider a i{
    padding:8px 12px;
  }

}
@media screen and (min-width:768px) and (max-width:991px) {
  #slider .carousel-control-prev {
    position: absolute;
    top: 67%;
    }
    #slider .carousel-control-next {
    position: absolute;
    top: 67%;
    left: 15%;
    }
}
@media screen and (min-width:992px) and (max-width:1024px) {
    #pricing-plan .pricing-plan-box h4{
    font-size:24px;
  }
  .records-content p,.testimonials-box .qoute_text{
    font-size:14px;
  }
  .pricing-plan-content li,.open-hours ul li{
    font-size:12px;
  }
  .open-hours{
    padding:24px;
  }
  #our-blog .blog-contents h4 a{
    font-size: 18px;
  }
  #testimonials .owl-dots{
    margin-top:-37px;
  }
  #slider .carousel-control-prev,#slider .carousel-control-next {
    top: 81%;
  }
  #slider .carousel-control-prev{
    /* left: 3%; */
  }
  #slider .carousel-control-next {
    /* left: 9%; */
  }
}
@media screen and (min-width:1024px) and (max-width:1199px) {

  #slider img {
    height: 600px;
  }
  .slider-box{
    max-width: 60%;
  }
  #slider .carousel-next-button {
    left: 8%;
    bottom: 9%;
  }
  #slider .carousel-prev-button {
    bottom: 9%;
  }
  #pricing-plan .pricing-plan-box h4{
    font-size:24px;
  }
  .records-content p,.testimonials-box .qoute_text{
    font-size:14px;
  }
  .pricing-plan-content li,.open-hours ul li{
    font-size:12px;
  }
  .open-hours{
    padding:24px;
  }
  #our-blog .blog-contents h4 a{
    font-size:20px;
  }
  #contact-us .contact-details p {
    letter-spacing: 0px;
    font-size: 14px;
 }
 #slider .carousel-control-prev {
    /* left: 8%;
    top: 83%; */
  }
  #slider .carousel-control-next {
    /* left: 14%; */
    /* top: 83%; */
  }
  .side-navigation li{
    padding: 15px 7px;
  }
  #slider .slide_nav {
    position: absolute;
    left: 7%;
    top: 80%;
  }
}