@media(max-width: 1450px) {
    .section-half-image-half-text .column-image:before {
        left: 240px;
    }

    .media-placement-right.section-half-image-half-text .column-image:before {
        left: unset;
        right: 240px;
    }
}

@media(max-width: 1360px) {
    #menu-main-menu {
        gap: 20px;
    }
}

@media(max-width: 1260px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .woocommerce-no-products-found,
    .woocommerce-notices-wrapper {
        padding: 0 15px;
    }
}

@media(max-width: 1200px) {

    .top-bar-pull-right {
        width: unset;
    }

    .top-bar-pull-left .top-bar-item {
        padding: 0 10px;
    }

    .header-logo img {
        max-width: 75px;
    }

    .header-logo a {
        font-size: 16px;
    }

    #menu-main-menu {
        gap: 10px;
    }

    .column-departments {
        max-width: 500px;
    }

    .image-gallery-grid-columns .column-left {
        flex: 65%;
    }

    .image-gallery-grid-columns .column-right {
        max-width: unset;
        flex: 35%;
    }

    .google-calendar-list-wrap .event-description {
        max-width: 260px;
    }

    .top-bar-pull-right .top-bar-item .menu {
        gap: 10px;
    }
}

@media(max-width: 1140px) {
    #menu-main-menu > li > a {
        font-size: 13px;
    }
}

@media(max-width: 1040px) {
    .header-logo a {
        font-size: 14px;
    }

    .header-logo span {
        max-width: 130px;
    }

    #menu-main-menu {
        gap: 8px;
    }
}

@media(max-width: 991px) {

    .top-bar {
        padding: 10px 0 0px;
    }

    .header-wrap.menu-open .main-header-wrap {
        position: unset;
    }

    .top-bar-pull-left {
        justify-content: space-between;
        gap: 0;
    }

    .top-bar .top-bar-pull-right {
        display: none;
    }

    .top-bar-item-icon {
        display: block;
        margin-right: 6px;
        margin-top: 3px;
    }

    .top-bar-item-icon svg {
        max-width: 22px;
    }

    .main-header-wrap {
        margin: 0;
        padding: 15px 0 13px;
    }

    .main-header-wrap.fixed {
        transform: translateY(-3em);
        transition: transform .3s;
    }

    .main-header {
        padding: 15px;
    }

    .header-logo img {
        max-width: 70px;
    }

    .header-cart.mobile {
        display: block;
        margin-left: auto;
        margin-right: 25px;
    }

    .header-nav {
        display: none;
    }

    .responsive-menu {
        background: #ffff;
        margin: 0 15px;
        padding: 15px 10px 45px;
        height: 85vh;
        overflow-y: scroll;
    }

    .responsive-menu > ul > li  {
        padding-top: 7px;
        padding-bottom: 7px;
        text-decoration: none;
        list-style-type: none;
        position: relative;
    }

    .responsive-menu select.gt_selector  {
        color: #000;
        max-width: 95%;
        padding-left: 11px;
    }

    .home-menu-item a:before {
        display: none;
    }

    .home-menu-item a span {
        display: block;
    }

    .responsive-menu > ul > li > a {
        font-size: 16px;
        line-height: 19px;
        color: #191919;
        padding: 0 15px;
        display: block;
        width: 100%;
        max-width: 70%;
    }

   .responsive-menu .sub-menu {
        list-style: none;
        padding: 0;
        display: none;
        flex-direction: column;
        gap: 5px;
        margin-top: 15px;
    }

    .responsive-menu .sub-menu-open .sub-menu {
        display: flex;
        padding: 0 15px;
    }

    .responsive-menu ul {
        margin: 0;
        padding: 0;
    }
    
    .responsive-menu .sub-menu li {
        margin-bottom: 8px;
    }

    .responsive-menu .sub-menu li a {
        font-weight: 400;
        font-size: 14px;
        color: #2c2c2c;
    }

    .responsive-menu .arrow {
        position: absolute;
        top: 8px;
        right: 15px;
        display: block;
        width: 21px;
        height: 18px;
    }

    .responsive-menu .arrow:before {
        content: url(/wp-content/themes/maxcanvas_child/img/arrow-down.svg);
    }

    .responsive-menu .sub-menu-open .arrow:before {
        content: url(/wp-content/themes/maxcanvas_child/img/arrow-up.svg);
    }

    .burger-menu { 
        cursor:pointer;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .bar {
        transition:0.4s;
        display: grid;
        gap: 3px;
    }

    .bar.change {
        width: 22px;
        height: 22px;
    }

    .bar-1 {
        display: block;
        width: 22px;
        border-top: 3px solid #272F5D;
        cursor: pointer;
        transition: 0.4s;
        position: relative;
        top: 1px;
    }

    .bar-2 {
        display: block;
        width: 22px;
        border-top: 3px solid #272F5D;
        transition: 0.4s;
    }

    .bar-3 {  
        display: block;
        width: 22px;
        border-top: 3px solid #272F5D;
        transition:0.4s;
        position: relative;
        top: -1px;
    }

    .change .bar-1 {
        -webkit-transform: rotate(-45deg) translate(-5px, 7px);
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .change .bar-2 {
        opacity:0;
    }

    .change .bar-3 {
        -webkit-transform: rotate(45deg) translate(-5px, -4px);
        transform: rotate(45deg) translate(-5px, -4px);
    }

    .mobile-search {
        display: flex;
        margin-left: auto;
        margin-right: 22px;
    }

    .header-wrap.menu-open .mobile-search {
        display: none;
    }

    .astm-search-menu.is-menu.is-dropdown.menu-item {
        display: none;
    }

    #subheader  {
        margin-bottom: 30px;
    }

    .header-background {
        height: 380px;
    }

    .page-title--wrap {
        margin: 0;
        bottom: 30px;
    }

    .page-title, .page-title h1 {
        font-size: 46px;
    }

    #breadcrumbs-wrapper {
        margin-top: 5px;
    }

    .section {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }

    .section-heading-wrap {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .error-background {
       display: none;
    }

    .section-image-slider .section-title h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .section-image-slider .section-subtitle {
        font-size: 14px;
        line-height: 23px;
        max-width: 440px;
    }

    .section-image-slider .section-title {
        max-width: 350px;
    }

    .half-image-half-text-wrap {
        flex-direction: column-reverse;
    }

    .media-placement-right .half-image-half-text-wrap {
        flex-direction: column-reverse;
    }

    .section-half-image-half-text .column-image, 
    .section-half-image-half-text .column-text {
        max-width: 100%;
        width: 100%;
        height: auto !important;
    }

    .section-half-image-half-text .links-wrap {
        gap: 20px;
    }

    .section-statistics {
        margin-top: 30px;
        padding: 25px 0;
    }

    .section-image-slider-with-text .column-title {
        display: none;
    }

    .section-image-slider-with-text .slide-title.mobile {
        display: block;
        font-size: 40px;
        line-height: 52px;
    }

    .section-google-calendar {
        padding: 50px 0;
    }

    .google-calendar-events {
        flex-wrap: wrap;
        gap: 20px;
    }

    .google-calendar-events .calendar-event {
        flex: 47%;
    }

    .section-half-image-half-text {
        padding-top: 0;
        padding-bottom: 0;
    }

    .section-half-image-half-text .column-image:before {
        display: none;
    }

    .half-title-half-text-with-background-wrap {
        gap: 10px;
    }

    .half-title-half-text-with-background-wrap {
        flex-direction: column;
        align-items: self-start;
        padding: 70px 0;
    }

    .half-title-half-text-with-background-wrap .column-title, 
    .half-title-half-text-with-background-wrap .column-text {
        max-width: 100%;
    }

    .section-title h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .google-map-with-contacts-and-contact-form-wrap .contact-form {
        position: unset;
        max-width: 100%;
        padding: 10px;
        margin-top: 40px;
    }

    .google-map-with-contacts-and-contact-form-wrap .contacts-wrap {
        position: unset;
        max-width: 100%;
        padding: 0;
        margin-top: 30px;
    }

    .google-map-with-contacts-and-contact-form-wrap #map {
        height: 350px !important;
    }

    .block-with-title-and-text {
        flex: 100%;
    }

    .row-with-title-and-link {
        gap: 15px;
    }

    .row-with-title-and-link .row-link {
        position: unset;
    }

    .half-image-half-departments-wrap {
        flex-direction: column;
    }

    .half-image-half-departments-wrap > div {
        width: 100%;
        max-width: 100%;
    }

    .half-image-half-departments-wrap .column-image {
        max-width: 100%;
        max-height: unset;
    }

    .text-content-wrap .table-wrap {
      width: 100%;
      overflow-x: auto;
    }

    .text-content-wrap table {
      width: 100%;
      min-width: 910px;
    }

    .image-gallery-grid-columns {
        flex-direction: column;
    }

    .image-gallery-grid-columns .column-right {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .image-gallery-grid-columns .column-right .image-gallery-item {
        flex: 47%;
    }

    .open-house-evensts-blocks-wrap {
        flex-direction: column;
    }

    .open-house-evensts-block {
        padding: 25px 20px 25px 20px;
    }

    .open-house-evensts-block .qrcode {
        position: unset;
    }

    .block-title-wrap {
        display: flex;
        gap: 20px;
        justify-content: space-between;
    }

    .image-gallery-grid-3-columns .image-gallery-item {
        flex: 47%;
    }

    .google-calendar-list-wrap a.event-link {
        display: none;
    }


   /* table.fc-col-header {
        min-width: 800px;
    }

    table.fc-scrollgrid-sync-table {
        min-width: 800px !important;
    }

    .fc-daygrid-body.fc-daygrid-body-unbalanced {
        overflow: scroll;
    }*/

    .fc-daygrid-dot-event .fc-event-title {
        font-size: 12px;
    }

    a.fc-event {
        padding: 0;
        background: unset;
        color: #000;
        display: block;
    }

    .fc-direction-ltr .fc-daygrid-event .fc-event-time {
        display: block;
        margin: 0;
    }

    .fc .fc-button-group > .fc-button {
        padding: 2px;
        font-size: 12px;
    }

    .fc .fc-button-primary {
        padding: 2px;
        font-size: 15px;
        display: block;
        margin: 0 !important;
    }




    .video-blocks-wrap {
        flex-direction: column;
    }

    .footer-logo-name {
        font-size: 18px;
    }

    .footer-logo {
        margin-top: -125px;
    }

    .footer-logo img {
        max-width: 80px;
    }

    .footer-column-item.footer-column-4 {
        max-width: 195px;
    }

    .footer-wrap {
        padding-top: 45px;
    }

    .footer-bottom-wrap {
        padding: 20px 0 10px;
    }

}

@media(max-width: 767px) {

    .main-header {
        padding: 10px 15px 10px 10px;
    }

    .section-title h2 {
        font-size: 30px;
        line-height: 130%; 
    }

    .default-btn a, a.default-btn {
        padding: 10px 20px;
    }

    .page-title, .page-title h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .page-subtitle {
        margin-top: 0;
        font-size: 14px;
    }

    .section-image-slider .section-title-wrap {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .section-image-slider .section-subtitle {
        max-width: 100%;
    }

    .section-image-slider .section-title {
        max-width: 100%;
    }

    .statistics-wrap {
        padding: 0px;
    }

    .statistics-item {
        width: 50%;
        padding: 10px;
    }

    .section-image-slider-with-text .slide-wrap {
        padding-top: 55px;
    }

    .section-image-slider-with-text .text {
        margin: 20px 0;
    }

    .section-half-image-half-text.two-image .half-image-half-text-wrap .column-image .image-wrap {
        height: unset;
    }

    .block-with-background-image-title-link {
        height: 265px;
    }

    .google-calendar-list-wrap .calendar-event {
        flex-direction: column;
        gap: 20px;
        padding: 40px 0 40px
    }

    .google-calendar-list-wrap .event-description {
        max-width: unset;
        text-align: center;
    }

    .instagram-item {
        min-width: unset;
        max-width: unset;
        flex: 47%;
    }

    .news-item {
        flex: 47%;
    }

    .footer-bottom-wrap {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
}

@media(max-width: 545px) {

    .top-bar-pull-left {
        justify-content: center;
        width: 100%;
    }

    .top-bar-item.shop, .top-bar-item.search-wrap {
        display: none;
    }

    .top-bar-item.pgone {
        padding-right: 0;
        border: unset;
    }

    .header-logo img {
        max-width: 60px;
    }

    .main-header-wrap.fixed .header-logo img {
        max-width: 50px;
    }

    .main-header-wrap.fixed .header-logo a {
        font-size: 12px;
    }

    .responsive-menu-bottom {
        display: block;
    }

    .responsive-menu-bottom .top-bar-item.shop, 
    .responsive-menu-bottom .top-bar-item.search-wrap {
        display: flex;
        padding: 0 14px;
        margin-top: 10px;
    }

    .responsive-menu-bottom a,
    .responsive-menu-bottom .search-icon {
        color: #191919;
        font-size: 16px;
        font-weight: 500;
    }

    .responsive-menu-bottom .search-form {
        top: -2px;
    }

    .error-tex {
        font-size: 150px;
        line-height: 120px;
    }

    .text-column-item {
        flex: 100%;
    }

    .statistics-item {
        width: 100%;
        padding: 0px;
    }

    .section-image-slider-with-text .text {
        margin: 15px 0;
    }

    .section-resources .resources-columns {
        flex-direction: column;
    }

    .google-calendar-events {
        flex-direction: column;
    }


    .numbered-blocks-wrap {
        flex-direction: column;
    }

    .section-blocks-with-background-image-title-link .block-with-background-image-title-link {
        flex: 100%;
    }

    .image-gallery-grid-columns .column-left .image-gallery-item:first-child,
    .image-gallery-grid-columns .image-gallery-item  {
        height: auto;
    }

    .open-house-evensts-block .block-title {
        font-size: 16px;
        max-width: 60%;
    }

    .open-house-evensts-block .event-dates {
        margin-top: 20px;
    }

    .video-block .video-title {
        font-size: 14px;
        line-height: 20px;
    }

    .video-block .video-title-wrap {
        max-width: 280px;
        padding: 10px;
        left: 10px;
        bottom: 10px;
    }

    .video-block .video-date {
        line-height: 16px;
    }

    .section-image-slider .image-slider .image-slide {
        height: 350px;
    }

    .news-item {
        flex: 100%;
        max-width: 100%;
    }
}

@media(max-width: 460px) {
   .footer-column-item ul {
        min-width: unset;
        width: 100%;
    }

    .footer-column-item {
        width: 100%;
    }

    .footer-column-item.footer-column-2, 
    .footer-column-item.footer-column-3 {
        max-width: max-content;
    }

    .footer-column-item ul li > ul {
        max-width: unset;
    }
}