@media screen and (max-width: 1600px) {

}

@media screen and (max-width: 1400px) {
    #conditions.open .content {
        width: 50%;
        left: 50%;
        padding: 3rem;
    }
}

@media screen and (max-width: 1199px) {
    .pum-theme-waterloo .pum-container {
        padding: 35px !important;
    }
    .pum-container{
        top: 0 !important;
        height: 100vh !important;
        overflow: scroll !important;
    }
}

@media screen and (max-width: 991px) {
    header#main-header #logo-col {
        position: absolute;
        top: 5px;
    }
    header#main-header #logo {
        position: relative;
        z-index: 9999;
    }
    header#main-header {
        position: relative;
    }
    header#main-header + * {
        padding-top: 0 !important;
    }
    header#main-header nav.navbar {
        position: relative;
        right: initial;
        top: initial;
        transform: initial;
    }
    header#main-header #header-wrapper {
        padding: 0;
    }
    header#main-header #menu-col {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    header #main-navbar #menu-main {
        margin-top: 30px;
    }

    header#main-header .navbar-toggler:focus {
        outline-color: var(--primary-color) !important;
    }

    #main-navbar #menu-main li {
        order: 4;
    }

    #main-navbar #menu-main a {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        font-size: 1rem;
    }

    #menu-col .btn-phone,
    #menu-col .btn-email,
    #menu-col .btn-cart {
        background-color: transparent !important;
        color: black !important;
        border: none !important;
        font-family: 'Kumbh Sans', sans-serif;
    }

    #menu-col .btn-cart {
        visibility: hidden;
    }
    #menu-col .btn-cart::before {
        content: 'Panier';
        font-family: 'Kumbh Sans', sans-serif;
        margin-right: 5px;
        visibility: visible;
    }

    #menu-col .btn-email {
        visibility: hidden;
    }

    #menu-col .btn-email::before {
        content: attr(data-email);
        visibility: visible;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }
    .footer-coordinates,
    .footer-links > div {
        display: flex;
        justify-content: start;
    }
    .footer-scroll-button {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .nav-down,
    .nav-up {
        max-height: none !important;
    }

    #page-course .hole {
        height: auto !important;
    }
    #page-course .hole img {
        width: 115px;
    }

    .woocommerce .cart-collaterals .cart_totals {
        width: 100%;
        float: none;
    }

    #conditions.open .content {
        width: 100%;
        left: 0;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #conditions-opener {
        position: initial;
        transform: none;
        writing-mode: initial;
        padding: 0;
        text-align: end;
        padding-right: 20px;
        margin-top: 10px;
        padding-bottom: 10px;
        font-size: 0.8rem;
        border-bottom: solid 0.5px var(--primary-color);
    }
    #conditions-opener:before {
        content: none;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 18px;
    }

    header#main-header .container {
        max-width: 100%;
    }

    header#main-header .navbar-toggler {
        margin-right: 15px;
    }

    header#main-header #logo-col {
        top: 7.5px;
        justify-content: flex-start !important;
        padding-left: 15px !important;
    }

    header#main-header #menu-col {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    header#main-header #menu-main {
        padding-left: 15px;
        padding-right: 15px;
    }

    #home .banner {
        height: 450px;
    }

    #home .banner h1 {
        font-size: 3rem !important;
    }

    #home #section_quicklinks {
        margin-top: 0;
        max-width: 100%;
    }

    #home #section_calendar {
        height: 500px;
    }

    #conditions.open .content {
        padding: 2.5rem;
    }

    #section_courses .table tbody td span {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 640px) {
    .course-table table td {
        font-size: 0.8rem;
    }


    #page-course .hole .distance-color::before {
        width: 15px;
        margin-right: 5px;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 16px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    #conditions.open .content {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 380px) {
    h1 {
        font-size: 2.5rem;
    }
    #page-course .btn-filter {
        padding: 5px 15px 5px 15px
    }
     #section_courses .table tbody h3 {
         font-size: 1.2rem;
     }
     #section_courses .table tbody h4 {
        font-size: 1rem;
     }
     #section_courses .table tbody td:not(:first-of-type) {
         padding-left: 0;
         padding-right: 0;
     }

     #section_courses .check-buy {
         height: 13px !important;
         width: 13px !important;
     }
}