/*!
Theme Name: Standish
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Standish
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


:root {
    /* Le Clamp est entre 1025 px à 1440 px */

    /* Font Size */
    --global-kb-font-size-sm: 1rem !important;
    /*  16 px */
    --global-kb-font-size-md: 1.5rem !important;
    /*  24 px */
    --global-kb-font-size-lg: 2rem !important;
    /*  32 px */
    --global-kb-font-size-xl: 3rem !important;
    /*  48 px à 64 px */
    --global-kb-font-size-xxl: clamp(4rem, 1.5385rem + 3.8462vw, 5rem) !important;
    /*  80 px à 128 px */
    --global-kb-font-size-xxxl: clamp(6rem, -2.3077rem + 12.9808vw, 9.375rem) !important;
    /*  96 px à 150 px */

    /* Espaces entre les colonnes Horizontales */
    --global-kb-gap-sm: clamp(1.25rem, 1.36vi + 0.91rem, 2rem);
    /* 20 px à 32 px */
    --global-kb-gap-md: clamp(2rem, 3.85vi + -0.46rem, 3rem);
    /* 32 px à 48 px */
    --global-kb-gap-lg: clamp(3rem, 7.69vi + 1.08rem, 8rem);
    /* 48 px à 128 px */
    /* Espaces entre les colonnes Verticales */
    --global-row-gutter-sm: clamp(1.25rem, 1.36vi + 0.91rem, 2rem) !important;
    /* 20 px à 32 px */
    --global-row-gutter-md: clamp(1.25rem, 1.36vi + 0.91rem, 2rem) !important;
    /* 20 px à 32 px */
    --global-row-gutter-lg: clamp(2rem, 3.18vi + 1.2rem, 3.75rem) !important;
    /* 32 px à 48 px */

    /* Padding & Margin */
    --global-kb-spacing-xs: 1rem !important;
    /*  16 px */
    --global-kb-spacing-sm: 1.5rem !important;
    /*  24 px */
    --global-kb-spacing-md: 2rem !important;
    /*  32 px */
    --global-kb-spacing-lg: 3rem !important;
    /*  48 px */
    --global-kb-spacing-xl: 4rem !important;
    /*  64 px */
    --global-kb-spacing-xxl: 5rem !important;
    /*  80 px */
    --global-kb-spacing-3xl: 6rem !important;
    /*  96 px */
    --global-kb-spacing-4xl: 8rem !important;
    /*  128 px */
    --global-kb-spacing-5xl: 10rem !important;
    /*  160 px */
}

@media (max-width: 1024px) {

    :root {

        /* Font Size */
        --global-kb-font-size-sm: 1rem !important;
        /*  16 px */
        --global-kb-font-size-md: 18px !important;
        /*  24 px */
        --global-kb-font-size-lg: 2rem !important;
        /*  32 px */
        --global-kb-font-size-xl: 3rem !important;
        /*  48 px */
        --global-kb-font-size-xxl: 4rem !important;
        /*  64 px */
        --global-kb-font-size-xxxl: 5rem !important;
        /*  80 px */

        /**** ROW - Espaces entre les colonnes en Mobile/Tablet ****/

        /* Horizontal */
        --global-kb-gap-sm: 1rem !important;
        /* 16 px */
        --global-kb-gap-md: 2rem !important;
        /* 32 px */
        --global-kb-gap-lg: 3rem !important;
        /* 48 px */
        /* Verticale */
        --global-row-gutter-sm: 1rem !important;
        /* 16 px */
        --global-row-gutter-md: 2rem !important;
        /* 32 px */
        --global-row-gutter-lg: 3rem !important;
        /* 48 px */

    }
}

@media (max-width:1024px) {

    .wp-block-kadence-column.reverse .kt-inside-inner-col {
        flex-direction: column-reverse !important;
    }

}

figure.image-absolute{
        position: absolute;
    top: -55px;
    right: 45px;
}

@media (max-width:1024px) {
    figure.image-absolute{
        position: absolute;
        right: 15px;
    }
}

@media (max-width:768px) {
    figure.image-absolute{
        position: absolute;
        right: -12px;
    }
}

/****
    STANDISH MASTER CLASS
****/

body.home .kb-count-up-process.kb-count-up-number {
    font-size: clamp(3rem, -3.4615rem + 10.0962vw, 5.625rem);
}

.header-html-inner a.button {
    background: #D5392C;
}

.header-html-inner a.button:hover {
    background: #55944C;
}

h1,
h2,
h3 {
    text-wrap: balance;
}
body.single-post h1,
body.single-post h2,
body.single-post h3 {
    text-wrap: inherit;
}

p {
    text-wrap: pretty;
    max-width: 75ch;
}

p.has-large-font-size {
    font-size: 3rem !important;
    line-height: 1.3em !important;
}

@media (prefers-reduced-motion: no-preference) {
    :has(:target) {
        scroll-behavior: smooth;
        scroll-padding-top: 3rem;
    }
}

i {
    font-style: normal !important;
    /* Pour plugin standish-icons */
}

.trunc p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* Display 5 lines by default */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wp-block-kadence-column.clickable-column {
    cursor: pointer;
}

/* Buttons */
span.kt-btn-inner-text,
a.wp-block-button__link,
a.kt-button {
    text-align: left;
}

@media (max-width: 767px) {
    .trunc p {
        -webkit-line-clamp: 2;
        /* Display 2 lines on screens narrower than 767px */
    }
}



/****
KADENCE HACK
****/


.kt-blocks-post-grid-item-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kt-blocks-post-grid-item-inner-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kt-blocks-post-grid-item-inner .entry-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kt-blocks-post-readmore-wrap {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: start;
}



/****
FOOTER
****/

.site-middle-footer-inner-wrap {
    align-items: start;
}

.site-bottom-footer-inner-wrap {
    align-items: center;
}

.site-footer-row-container-inner .site-container {
    padding: 0px;
}

.standish-logo {
    margin-top: -7px;
}

.standish-logo img {
    width: 100px;
}

@media only screen and (max-width: 768px) {
    .site-bottom-footer-inner-wrap .footer-widget-area-inner {
        justify-content: center;
    }
}



.wp-block-kadence-advancedbtn.contact a.adresse {
    align-items: start;
}

.wp-block-kadence-advancedbtn.contact a.adresse>.kb-svg-icon-wrap {
    margin-top: 3px;
}


/****
EMPLOYÉS
****/

.standish_employes .buttons {
    justify-content: start !important;
}

.standish_employes ul.btn li a svg {
    margin-left: -7px !important;
}


.standish_employes .readmore a {
    color: black !important;
    padding: 8px 0px !important;
    background-color: var(--global-palette9) !important;
}

.standish_employes .readmore a:hover {
    color: #55944C !important;
}

.standish-loop-employes-container.standish_employes ul,
body.single-standish_employes ul {
    list-style-type: none;
}

.standish-loop-employes-container.standish_employes .title {
    padding: 0px !important;
}

.standish-loop-employes-container .wrapper{
    width: inherit !important;
    margin: 15px 0px !important;
}

.standish-loop-employes-container.standish_employes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

body.single-standish_employes h1 {
    font-weight: normal;
    font-size: 2.5rem;
}

body.single-standish_employes .image img {
    max-width: 295px;
}

body.single-standish_employes h1 span {
    font-weight: normal;
    font-size: var(--md);
}

body.single-standish_employes .entry-content-wrap {
    padding: 2rem;
}

body.single-standish_employes .entry-content-wrap .single-content {
    margin: 0 !important;
}

.standish_employes .title a,
.standish_employes .phone {
    font-size: initial !important;
}

body.single-standish_employes .wrapper {
    max-width: inherit !important;
    margin: inherit !important;
    width: 100% !important;
    display: flex !important;
    margin-bottom: 3rem !important;
}

.standish_employes .title {
    padding: 0 0 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.standish_employes ul.btn li {
    border: solid 1px var(--color1) !important;
}

article.employes.loop-entry {
    display: flex;
    flex-direction: column;
}

article.employes.loop-entry .post-thumbnail {
    padding-bottom: 100%;
}

article.employes.loop-entry .entry-content-wrap {
    padding: 2rem 0 1rem !important;
}

article.employes.loop-entry .footer {
    margin-top: auto;
}

article.employes.loop-entry .footer a.kt-blocks-post-readmore.wp-block-button__link.button:before {
    content: '\e954';
    font-family: icomoon;
    font-size: 2rem;
    margin-right: 1rem;
}

article.employes.loop-entry .footer a.kt-blocks-post-readmore.wp-block-button__link.button {
    display: flex;
    align-items: center;
    background: transparent;
    color: var(--color1);
    padding: 0;
}

article.employes.loop-entry .footer a.kt-blocks-post-readmore.wp-block-button__link.button:hover {
    background: transparent;
    color: var(--color2);
}

@media (max-width:1024px) {
    .standish-loop-employes-container.standish_employes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width:768px) {
    .standish-loop-employes-container.standish_employes {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .standish-loop-employes-container .wrapper {
        width: inherit !important;
        margin: 0 !important;
    }

    .standish_employes .wrapper {
        flex-direction: column;
        margin-bottom: 1.5rem !important;
    }

    .standish_employes .title {
        padding: 0;
    }

    body.single-standish_employes h1 {
        font-size: 32px;
        padding-top: 1.5rem;
    }

    body.single-standish_employes .photo-employe {
        max-width: 100%;
    }

    article.employes.loop-entry .entry-content-wrap {
        padding: 1rem 0 !important;
    }

    .article-info-link.top {
        flex-direction: column;
        min-width: 100% !important;
        justify-content: start !important;
        display: flex !important;
        align-items: start !important;
    }
}


/****
  HOTSPOT
****/

.wp-block-getwid-image-hotspot__tooltip {
    text-align: left !important;
}

.wp-block-getwid-image-hotspot__tooltip-content {
    font-size: 1rem;
    line-height: 1.6rem;
}

i.fas::before {
    font-family: "FontAwesome";
}

@media (max-width:768px){
    .wp-block-getwid-image-hotspot__dot-content {
        font-size: 1rem !important;
}
}

/****
  TABLES
****/

.wp-block-table thead {
    border-bottom: 0px !important;
    background: var(--global-palette1);
    color: white;
}

.wp-block-table th {
    padding: 1.5em !important;
    border: 0px !important;
    border-bottom: 1px solid var(--global-palette1) !important;
    text-align: left;
    font-weight: 600;
}

.wp-block-table td {
    padding: 1.5em !important;
    border: 0px !important;
    border-bottom: 1px solid var(--global-palette1) !important;
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    .wp-block-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .wp-block-table table th {
        background: #333;
        color: white;
        font-weight: bold;
    }

    .wp-block-table table td,
    .wp-block-table table th {
        padding: 1em !important;
        text-align: left;
        min-height: 40px;
    }

    /* Force table to not be like tables anymore */
    .wp-block-table table,
    .wp-block-table table thead,
    .wp-block-table table tbody,
    .wp-block-table table th,
    .wp-block-table table td,
    .wp-block-table table tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .wp-block-table table thead {
        display: none;
    }

    .wp-block-table table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .wp-block-table table tr {
        border: 1px solid var(--global-palette2);
        border-bottom: 0px;
    }

    .wp-block-table table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid var(--global-palette2) !important;
        position: relative;
        padding-left: 50% !important;
        display: block;
        align-items: center;
    }

    .wp-block-table table td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 1em;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        color: white;
    }

    /*
    CSS alternatif
    */
    /*
    .wp-block-table table tr:nth-of-type(odd) {
      background: #eee;
    }
    */

    .wp-block-table table tbody tr {
        position: relative;
        margin-bottom: 20px;
    }

    .wp-block-table table tbody tr td {
        padding: 0;
        margin: 0;
    }

    .wp-block-table table tbody tr:before {
        background-color: var(--global-palette1);
        content: " ";
        position: absolute;
        top: 0;
        left: 0;
        width: 47%;
        padding-right: 10px;
        white-space: nowrap;
        height: 100%;
    }
}



/****
  FLUENT FORM 
****/

select.ff-el-form-control {
    background-image: url(/wp-content/themes/standish/assets/images/chevron_down.svg) !important;
    background-size: 20px !important;
    background-position-x: calc(100% - 12px) !important;
}

.ff-el-datepicker {
    background-image: url(/wp-content/themes/standish/assets/images/calendar_month.svg) !important;
    background-size: 20px !important;
    background-position-x: calc(100% - 12px) !important;
    background-repeat: no-repeat !important;
    background-position-y: 50% !important;
}

.ff-el-group input[type=radio]:after,
.ff-el-group input[type=checkbox]:after {
    margin-left: 0px !important;
    margin-top: -2px !important;
    background-size: 12px !important;
}

.fluentform .ff-el-group {
    margin-bottom: 10px !important;
}

section.footer fieldset {
    display: flex;
    gap: 1rem;
}

section.footer .ff-el-group.ff-el-form-hide_label{
    min-width: 300px;
}

section.footer .ff-el-form-control{
    border-radius:100px;
}

section.footer .fluentform{
    margin-top: 2rem;
}

@media (min-width:1024px){
    .wp-block-getwid-image-hotspot__dot-content {
        font-size: 3rem !important;
    }
}

@media (max-width:768px){
    section.footer .frm-fluent-form fieldset {
        display: block !important;
        gap: 1rem;
    }

    section.footer .ff-el-group.ff-el-form-hide_label{
        min-width: inherit !important;
        /* padding-bottom:1rem !important; */
    }
}

/*.ff-default .ff-el-form-control:focus{
    border-color: var(--global-palette1) !important;
}
.ff-btn-submit{
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-family: var(--global-heading-font-family) !important;
    text-transform: uppercase !important;
    border-radius: 100px !important;
    padding: 2em 2.75em 2em 2.75em !important;
    box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0.25) !important;
    color: var(--global-palette1) !important;
    background: var(--global-palette3) !important;
    text-decoration: none !important;
    min-width: fit-content !important;
    width: 100% !important;
}
.ff-btn-submit:hover{
    opacity: 1 !important;
    background:  var(--global-palette1) !important;
    color:  var(--global-palette3) !important;
}
input.ff-el-form-control {
    border-radius: 100px !important;
}
textarea.ff-el-form-control {
    border-radius: 20px !important;
}*/


@font-face {
    font-family: 'icomoon';
    src:
        url('/wp-content/themes/standish/assets/fonts/icomoon.woff2?43kr4p') format('woff2'),
        url('/wp-content/themes/standish/assets/fonts/icomoon.ttf?43kr4p') format('truetype'),
        url('/wp-content/themes/standish/assets/fonts/icomoon.woff?43kr4p') format('woff'),
        url('/wp-content/themes/standish/assets/fonts/icomoon.svg?43kr4p#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

i {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-file-text:before {
    content: "\dd001";
}

.icon-eco:before {
    content: "\cc048";
}

.icon-raisin:before {
    content: "\cc047";
}

.icon-list:before {
    content: "\cc046";
}

.icon-map_out:before {
    content: "\cc045";
}

.icon-library:before {
    content: "\cc044";
}

.icon-graphic:before {
    content: "\cc043";
}

.icon-carte:before {
    content: "\cc042";
}

.icon-loop:before {
    content: "\cc040";
}

.icon-forfaits:before {
    content: "\cc041";
}

.icon-accessible:before {
    content: "\cc001";
}

.icon-mid-accessible:before {
    content: "\cc002";
}

.icon-rv:before {
    content: "\cc003";
}

.icon-rv_out:before {
    content: "\cc004";
}

.icon-van_out:before {
    content: "\cc005";
}

.icon-van:before {
    content: "\cc006";
}

.icon-apple_out:before {
    content: "\cc007";
}

.icon-bolt_out:before {
    content: "\cc008";
}

.icon-bolt:before {
    content: "\cc009";
}

.icon-car:before {
    content: "\cc037";
}

.icon-electric_car_out:before {
    content: "\cc010";
}

.icon-electric_car:before {
    content: "\cc011";
}

.icon-art:before {
    content: "\cc012";
}

.icon-grains_out:before {
    content: "\cc013";
}

.icon-grocery_out:before {
    content: "\cc014";
}

.icon-miel_out:before {
    content: "\cc15";
}

.icon-miel:before {
    content: "\cc016";
}

.icon-hiking:before {
    content: "\cc017";
}

.icon-montagne:before {
    content: "\cc018";
}

.icon-montagne_out:before {
    content: "\cc019";
}

.icon-bike:before {
    content: "\cc020";
}

.icon-pedal_bike:before {
    content: "\cc038";
}

.icon-hotel_out:before {
    content: "\cc021";
}

.icon-hotel:before {
    content: "\cc022";
}

.icon-cafe_out:before {
    content: "\cc023";
}

.icon-cafe:before {
    content: "\cc024";
}

.icon-art_out:before {
    content: "\cc025";
}

.icon-pets:before {
    content: "\cc026";
}

.icon-restaurant:before {
    content: "\cc027";
}

.icon-restaurant_menu:before {
    content: "\cc028";
}

.icon-shopping_out:before {
    content: "\cc029";
}

.icon-shopping:before {
    content: "\cc030";
}

.icon-spa_out:before {
    content: "\cc031";
}

.icon-spa:before {
    content: "\cc032";
}

.icon-tour_out:before {
    content: "\cc033";
}

.icon-tour:before {
    content: "\cc034";
}

.icon-wine_out:before {
    content: "\cc035";
}

.icon-wine:before {
    content: "\cc036";
}

.icon-favorite_out:before {
    content: "\bbb01";
}

.icon-bookmark_remove:before {
    content: "\bb008";
}

.icon-bookmark_add:before {
    content: "\bb004";
}

.icon-bookmark_added:before {
    content: "\bb005";
}

.icon-bookmark:before {
    content: "\bb006";
}

.icon-bookmark_star:before {
    content: "\cc039";
}

.icon-drag:before {
    content: "\e934";
}

.icon-link:before {
    content: "\e933";
}

.icon-language:before {
    content: "\e931";
}

.icon-search:before {
    content: "\e927";
}

.icon-location:before {
    content: "\e91b";
}

.icon-place_outline:before {
    content: "\e924";
}

.icon-directions:before {
    content: "\e932";
}

.icon-max_people:before {
    content: "\eca2";
}

.icon-person:before {
    content: "\eca3";
}

.icon-groups:before {
    content: "\e908";
}

.icon-people:before {
    content: "\e909";
}

.icon-schedule:before {
    content: "\e90a";
}

.icon-date_check:before {
    content: "\eb99";
}

.icon-event:before {
    content: "\e905";
}

.icon-calendar_month:before {
    content: "\e913";
}

.icon-date_range:before {
    content: "\eb45";
}

.icon-square_foot:before {
    content: "\ecb9";
}

.icon-bedrooms:before {
    content: "\ecaf";
}

.icon-beds:before {
    content: "\ecb0";
}

.icon-bathrooms:before {
    content: "\ecb1";
}

.icon-bathrooms-2:before {
    content: "\ecb8";
}

.icon-mail:before {
    content: "\ecb3";
}

.icon-tel_outline:before {
    content: "\e910";
}

.icon-tel:before {
    content: "\ecb2";
}

.icon-copy:before {
    content: "\e90f";
}

.icon-inscription:before {
    content: "\e929";
}

.icon-pdf:before {
    content: "\e911";
}

.icon-open_in_new:before {
    content: "\e926";
}

.icon-mozaik:before {
    content: "\e920";
}

.icon-microsoftoffice:before {
    content: "\e921";
}

.icon-offer:before {
    content: "\eca1";
}

.icon-flocon:before {
    content: "\e928";
}

.icon-favorite:before {
    content: "\ecb4";
}

.icon-settings:before {
    content: "\e90b";
}

.icon-help:before {
    content: "\e998";
}

.icon-my_location:before {
    content: "\e925";
}

.icon-filter-settings:before {
    content: "\ecb6";
}

.icon-filters:before {
    content: "\ecb5";
}

.icon-options:before {
    content: "\e954";
}

.icon-check_circle:before {
    content: "\e907";
}

.icon-check:before {
    content: "\e906";
}

.icon-add:before {
    content: "\e912";
}

.icon-remove:before {
    content: "\e914";
}

.icon-close:before {
    content: "\ecb7";
}

.icon-delete:before {
    content: "\e930";
}

.icon-long-down-arrow:before {
    content: "\e903";
}

.icon-long-up-arrow:before {
    content: "\e904";
}

.icon-chevron_left:before {
    content: "\e90d";
}

.icon-chevron_right:before {
    content: "\e90e";
}

.icon-chevron_up:before {
    content: "\e915";
}

.icon-chevron_down:before {
    content: "\e916";
}

.icon-circle_left:before {
    content: "\e917";
}

.icon-circle_right:before {
    content: "\e918";
}

.icon-circle_up:before {
    content: "\e919";
}

.icon-circle_down:before {
    content: "\e91a";
}

.icon-arrow_circle_left:before {
    content: "\e91c";
}

.icon-arrow_circle_right:before {
    content: "\e91d";
}

.icon-arrow_back:before {
    content: "\e91e";
}

.icon-arrow_forward:before {
    content: "\e91f";
}

.icon-arrow_circle_left_light:before {
    content: "\e922";
}

.icon-arrow_circle_right_light:before {
    content: "\e923";
}

.icon-arrow_circle_left_fill:before {
    content: "\ef900";
}

.icon-arrow_circle_right_fill:before {
    content: "\ef901";
}

.icon-arrow_drop_up:before {
    content: "\ef902";
}