/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://royalgolfagadir.ma
 Description:  Thème enfant de Hello Elementor
 Author:       ENERGIEDIN
 Author URI:   https://energiedin.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  hello-elementor-child
*/

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

body:not(.home) {
    padding-top: 185px !important;
}

.golf-header {
    top: 0px !important;
    z-index: 9 !important;
}

body.admin-bar:not(.home) {
    padding-top: 217px !important;
}

.admin-bar .golf-header {
    top: 32px !important;
}

.menu-line .elementor-nav-menu .elementor-item {
    opacity: 0.7;
}

.btn-parcours-video .elementor-button {
    padding: 6px 12px 6px 6px !important;
}

.btn-parcours-video svg {
    width: 28px !important;
}

.btn-parcours-video .elementor-button-content-wrapper {
    align-items: center;
    gap: 8px;
}

.btn-size-icon svg {
    width: 28px !important;
    height: 28px !important;
}

.btn-size-icon .elementor-button-content-wrapper {
    align-items: center;
    gap: 10px;
}

.mask-border {
    position: relative !important;
    background: rgba(248, 248, 248, 0.11);
    box-shadow: 0 15.772px 26.287px 0 rgba(0, 0, 0, 0.04) !important;
}

.mask-border::before {
    content: '' !important;
    position: absolute !important;
    inset: 0;
    padding: 1px;
    background: linear-gradient(95deg, #0D5347 0%, #0D5347 77%, #FFF 97%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: inherit;
    pointer-events: none;
    border-radius: 12px !important;
}

.text-journal .elementor-widget-text-editor h1,
.text-journal .elementor-widget-text-editor h2,
.text-journal .elementor-widget-text-editor h3,
.text-journal .elementor-widget-text-editor h4,
.text-journal .elementor-widget-text-editor h5,
.text-journal .elementor-widget-text-editor h6 {
    color: #000;
    font-family: "Shippori Mincho";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 5px;
}

.text-journal .elementor-widget-text-editor,
.text-journal .elementor-widget-text-editor p,
.text-journal .elementor-widget-text-editor b,
.text-journal .elementor-widget-text-editor span {
    color: #000;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 !important;
}

.trp-language-switcher {
    width: fit-content !important;
    height: auto;
}

.trp-language-switcher .trp-ls-shortcode-current-language {
    border: 0;
    padding: 0 12px 0 0 !important;
    width: fit-content !important;
}

.trp-language-switcher > div {
    background-position: calc(100%) calc(8px), calc(100%) calc(1em);
    background-image: url(/wp-content/plugins/translatepress-multilingual/assets/images/arrow-down-3101.svg) !important;
}

.trp-language-switcher > div > a {
    padding: 0 !important;
    color: #414141 !important;
}

.trp-language-switcher:focus .trp-ls-shortcode-language, 
.trp-language-switcher:hover .trp-ls-shortcode-language {
    width: fit-content !important;
    padding: 0 12px 0 0 !important;
    border: 0 !important;
}

/* Partners slick carousel */
.list_partners {
    display: block !important;
}

.list_partners.slick-initialized {
    display: block;
}

.list_partners .slick-track {
    display: flex;
    align-items: center;
}

.list_partners .slick-slide {
    height: auto;
}

.list_partners .slick-slide > div {
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list_partners .elementor-widget-image {
    width: fit-content !important;
}

.list_partners .elementor-widget-image img {
    height: 140px;
    width: auto;
    object-fit: contain;
}

.list_partners .slick-track {
    gap: 120px;
}

.golf-header .open-menu-principal {
    display: none;
}

.menu-mobile svg path {
    fill: #FFF !important;
    stroke: #0D5347 !important;
}

.comment-jouer-img-mobile {
    display: none;
}

.academie-mobile {
    display: none !important;
}

.golf-header .btn-reserve {
    margin-right: 8px;
    margin-left: auto;
}

[lang="de-DE"] .menu-line .elementor-nav-menu .elementor-item,
[lang="nl-BE"] .menu-line .elementor-nav-menu .elementor-item {
    font-size: 14px;
    padding: 13px 6px !important;
}

[lang="de-DE"] .golf-header .btn-reserve,
[lang="nl-BE"] .golf-header .btn-reserve {
    font-size: 14px;
}

@media (max-width: 1340px) {

    .golf-header .logo-site {
        width: 135px;
    }

    .golf-header .elementor-nav-menu--main .elementor-item {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

}

@media (max-width: 1260px) {

    .golf-header .elementor-nav-menu--main .elementor-item {
        font-size: 14px;
    }

    .golf-header .menu-line .elementor-widget-button {
        margin-left: auto;
    }

    .golf-header .menu-line .elementor-button {
        font-size: 14px;
    }

}

@media (min-width: 1024px) AND (max-width: 1165px) {

    .elementor-element.elementor-element-95e1a0b img {
        width: 75px !important;
    }

    .elementor-15 .elementor-element.elementor-element-b1b84b3 {
        flex-wrap: wrap;
        flex-direction: unset;
            justify-content: space-between;
    }

    .elementor-15 .elementor-element.elementor-element-c04b770 {
        width: 100%;
    }

    .elementor-15 .elementor-element.elementor-element-c04b770 .elementor-icon-list-item > a {
        margin-bottom: 10px;
    }

    .elementor-element-213d477 .elementor-icon {
        position: relative;
        top: 20px;
    }

}


@media (max-width: 1165px) {

    .golf-header .menu-line {
        width: fit-content !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .golf-header .open-menu-principal {
        min-width: 36px;
        width: 36px;
        height: 36px;
        background-color: #0c5348;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .golf-header .open-menu-principal .elementor-icon-wrapper {
        display: flex;
    }

    .golf-header .open-menu-principal svg {
        fill: #FFF !important;
        width: 17px;
        height: 17px;
    }

    .golf-header .menu-principal {
        display: none !important;
    }    

    .golf-tarifs-main {
        padding-left: 0;
    }

    #panel-green_fees {
        width: 100%;
    }

    .golf-tarifs-nav {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .golf-video-popup-overlay {
        align-items: center;
    }

    .golf-gallery-main img {
        height: 420px !important;
    }

    .golf-gallery-thumb {
        height: 135px;
        min-height: 135px;
    }

    .golf-gallery-thumb img {
        height: 100%;
    }

    .golf-gallery-thumbnails {
        height: 420px;
    }

    .golf-gallery-thumbnails {
        width: 250px;
    }

    .golf-gallery-main {
        width: 100%;
    }

    .golf-tarifs-main {
        grid-template-columns: 28% 68%;
    }

    #panel-green_fees {
        width: 100%;
    }

    .golf-tarifs-title {
        line-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .restaurant-menu-modal,
    .mentions-legales-modal {
        width: 95%;
    }

}

@media (max-width: 1024px) {

    .list-services-slick {
        overflow: hidden;
    }

    .list-services-slick .slick-list {
        overflow: hidden !important;
        padding-right: 14% !important;
    }

    .golf-tarifs-main {
        grid-template-columns: 100%;
    }

    .golf-tarifs-nav {
        grid-template-columns: repeat(4, 1fr);
    }

    .list_services {
        padding: 0;
    }

    .list_services .slick-track {
        display: flex;
        gap: 25px;
    }

    .list_services .slick-slide {
        border: 1px solid #E4E4E4;
        box-shadow: unset !important;
        margin: 10px 0;
    }

    .list_services .elementor-widget-image img {
        height: 450px;
        object-fit: cover;
        border-radius: 20px 20px 0px 0px;
    }

    .golf-competitions-grid {
        padding: 0;
        width: calc(100% + 20px);
        max-width: calc(100% + 20px);
    }

    .golf-competitions-grid .slick-slide {
        box-shadow: unset;
        border: 1px solid #E4E4E4;
    }

    .list_equipe .e-con-inner .slick-list {
        margin: 0 -10px 0 0;
    }

    .comment-jouer .comment-jouer-img-desktop {
        display: none !important;
    }

    .comment-jouer .comment-jouer-img-mobile {
        display: block !important;
    }

    .notre-academy-desktop {
        display: none !important;
    }

    .academie-mobile {
        display: block !important;
    }


}

@media (max-width: 992px) {

    .hero-home .hero-home-bg img {
        height: 600px;
        object-fit: cover;
    }

    .notre-histoire {
        background-position: bottom right !important;
    }

    .notre-histoire .text-journal {
        grid-template-columns: repeat(2, 1fr);
    }

    .golf-tarifs-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .golf-tarifs-logo {
        display: none;
    }

    .golf-tarifs-title {
        line-height: normal !important;
        font-size: 100px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        min-height: auto !important;
    }

    .golf-gallery-thumb {
        width: 160px;
        height: 110px;
        min-height: 110px;
        border-radius: 10px;
    }

    .golf-gallery-thumbnails {
        height: auto;
        width: 100%;
    }

    .golf-reservation-form {
        max-width: 100%;
    }

    .golf-reservation-form .form-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

}

@media (max-width: 767px) {

    .golf-weather-widget,
    .golf-reviews-widget {
        display: none !important;
    }

    .badge-mobile .golf-weather-widget,
    .badge-mobile .golf-reviews-widget {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .badge-mobile .golf-weather-widget,
    .badge-mobile .golf-reviews-widget {
        position: unset;
    }

    .badge-mobile .elementor-shortcode {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .badge-mobile .golf-weather-widget {
        width: 45%;
    }

    .badge-mobile .golf-reviews-widget {
        width: 50%;
    }

    .list-services-slick .slick-list {
        padding-right: 30% !important;
    }

    .golf-header  {
        margin-top: 15px;
    }

    .golf-header > .e-con-inner {
        background-color: #FFF;
        border-radius: 100px;
        padding: 0;
        border: 1px solid #0D5347;
        width: calc(100% - 20px);
    }

    .golf-header .logo-site {
        width: 80px;
    }

    .golf-header > .e-con-inner > .elementor-element {
        padding: 4px !important;
    }

    .golf-header .open-menu-principal {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .hero-home .hero-home-bg img {
        height: 750px;
    }

    .notre-histoire .text-journal {
        grid-template-columns: repeat(1, 1fr);
        height: 250px;
        overflow: hidden;
        position: relative;
    }

    .notre-histoire .text-journal.expanded {
        height: auto;
        overflow: visible;
    }

    .toggle-text-journal {
        display: block;
        margin: 10px auto 0;
        background: #FFF !important;
        color: #0D5347 !important;
        border: none;
        padding: 10px 45px;
        border-radius: 50px;
        font-family: Manrope;
        font-size: 20px;
        font-weight: 500;
        cursor: pointer;
    }

    .golf-tarifs-wrapper {
        padding: 0;
        margin-top: 10px;
    }

    .golf-tarifs-nav {
        gap: 10px !important;
    }

    .golf-tarifs-nav-btn {
        font-size: 16px !important;
        padding: 10px 4px !important;
    }

    .golf-tarifs-section {
        padding: 0 !important;
    }

    .golf-tarifs-title {
        font-size: 64px !important;
        line-height: 60px !important;
        margin-top: 25px !important;
        padding: 0 60px !important;
    }

    .golf-popup-header {
        padding: 90px 10px 10px;
    }

    .golf-popup-close {
        left: 50%;
        transform: translateX(-50%);
    }

    .golf-gallery-main {
        display: none;
    }

    .golf-popup-gallery {
        padding: 15px 0px 25px;
    }

    .golf-gallery-thumbnails {
        overflow: hidden;
    }

    .golf-gallery-thumbnails.slick-initialized {
        display: block;
        width: 100%;
        height: auto;
    }

    .golf-gallery-thumbnails .golf-gallery-thumb {
        height: 175px;
        min-height: 175px;
        border-radius: 10px;
        overflow: hidden;
        border: 0;
        margin: 0 5px;
    }

    .golf-gallery-thumbnails .golf-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .golf-popup-header h2 {
        font-size: 33px;
        margin: 0 0 8px 0;
    }

    .golf-popup-header h2 span {
        margin: 0 20px;
    }

    .golf-video-popup-close {
        top: 0;
        width: 65px;
        height: 65px;
    }

    .golf-video-popup-close img {
        width: 60px;
        height: 60px !important;
    }

    .nos-tarif-bg {
        background-image: unset !important;
    }

    .golf-tarifs-content {
        background-image: url(https://royalgolfagadir.ma/wp-content/uploads/2026/01/Rectangle-48.png);
        margin-left: -20px;
        width: calc(100% + 40px);
        padding-bottom: 20px;
    }

    .nav-left-content {
        margin-top: -30px;
        margin-bottom: 15px;
    }

    #panel-practice, #panel-forfaits_semaine, #panel-caddies, #panel-forfaits_quinzaine, #panel-cotisation, #panel-lecons {
        margin: 20px auto 0;
    }

    #panel-location .golf-tarifs-table tbody td:first-child, #panel-location .golf-tarifs-table tbody td:not(:first-child) {
        font-size: 18px;
    }

    .list_services .slick-track {
        gap: 20px;
    }

    .list_services .elementor-widget-image img {
        height: 275px !important;
    }

    .list_services .elementor-icon-box-description {
        font-size: 16px !important;
    }

    .restaurant-menu-modal {
        padding: 90px 20px 25px;
    }

    .restaurant-menu-title {
        font-size: 28px;
        margin-left: auto;
        margin-right: auto;
    }

    .restaurant-menu-modal .golf-popup-close {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .golf-reservation-form .form-row:nth-of-type(2) {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .golf-popup-depart, .golf-popup-joueurs {
        margin: 0;
    }

    .golf-competitions-grid .slick-list {
        margin: 0 -10px;
        overflow: unset !important;
    }

    .badge-mobile {
        overflow: hidden !important;
    }

    .golf-popup-overlay-reservation {
        overflow: auto;
        align-items: flex-start;
    }

    .golf-popup-depart {
        max-height: unset !important;
    }

    .golf-popup-depart-header .date-time-info, .golf-popup-joueurs-header .date-time-info {
        flex-direction: row;
    }

    .golf-joueurs-section {
        padding: 20px 0px 10px;
    }

    .golf-options-section {
        padding: 0px 0px 25px;
    }

    .golf-options-warning {
        margin: 15px 0px 0;
    }

    .golf-navette-horaires {
        margin-top: 0;
    }

    .e-n-tabs-heading {
        margin-bottom: 30px !important;
        display: block !important;
    }

    .e-n-tabs-heading button {
        --n-tabs-title-order: unset !important;
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    .e-n-tabs-content .elementor-element {
        padding: 0 !important;
    }

    .golf-competitions-grid .slick-slide {
        margin: 0 10px;
    }

    .golf-competitions-grid {
        overflow: unset‚;
    }

    .golf-competition-card-title {
        font-size: 20px;
    }

    .golf-competition-detail-header .golf-popup-close.golf-competition-detail-close {
        position: relative;
        top: 0;
    }

    .golf-competition-detail-image {
        padding: 0 20px;
    }

    .footer-bottom .elementor-heading-title span {
        text-decoration: underline;
    }

    .mentions-legales-modal {
        padding: 85px 20px 25px;
    }

    .mentions-legales-title {
        margin-left: 0;
    }

    .mentions-legales-modal .golf-popup-close {
        top: 15px;
        left: 50px;
    }

    .mentions-legales-content h2, .mentions-legales-content h3, .mentions-legales-content h4, .mentions-legales-content h5, .mentions-legales-content h6 {
        font-size: 20px;
    }

    body:not(.home) {
        padding-top: 100px !important;
    }

    .golf-modify-wrapper {
        padding: 20px 0 !important;
    }

    .golf-cancel-popup {
        width: 100% !important;
        padding: 40px 20px !important;
    }

}
