/*
 Theme Name:   PRIORISE
 Theme URI:    https://priorise.com
 Description:  Thème PRIORISE
 Author:       STUDIO WBM
 Author URI:   https://priorise.com
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light
 Text Domain:  priorise_theme
*/

/**************************
        HEADER DESKTOP 
***************************/

/* Header Archive */
.container-fluid.header-archive{
    background: rgba(255, 255, 255, 0.80);
    /* box-shadow: 0px 1px 4px 0px rgba(61, 0, 137, 0.20); */
    border-bottom: 1px solid rgba(99, 53, 241, 0.20);
    backdrop-filter: blur(27px);
    -webkit-backdrop-filter: blur(27px);
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 99999;
    position: fixed;
}
.container-header-archive{
    padding: 0 50px;
}
.container-header-archive .row.header-menu-row{
    padding: 30px 0px 15px;
}
body.header-fixed .container-header-archive .row.header-menu-row{
    padding: 20px 0 10px;
}
.container-header-archive .header-logo svg {
    max-height: 45px;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}
.container-header-archive .main-far-nav{
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
}
.container-header-archive .main-far-nav button{
    box-shadow: 0px 1px 4px 0px rgba(61, 0, 137, 0.20);
}
body.header-fixed .container-header-archive .header-logo svg{
    max-height: 40px;
}
body .container-header-archive .header-items-container .main-nav a{
    color: var(--themeFontColor);
}
body.archive.tax-mpa_service_category div#rowFilters > div:first-of-type a, body.archive.tax-localisation div#rowFilters > div:first-of-type a{
    display: flex;
    align-items: center;
    gap: 6px;
}
div#rowFilters{
    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(99, 53, 241, 0.10);
    padding: 10px 0;
    gap: 10px;
}

div#rowFilters > div:first-of-type{
    display: flex;
    gap: 8px;
    align-items: center;
}
div#rowFilters > span.material-symbols-outlined{
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    cursor: pointer;
    padding: 10px;
}
div#rowFilters > span.scroll-cat-prev.material-symbols-outlined{
    transform: scale(0);
}
div#rowFilters > div:first-of-type span.material-symbols-outlined{
    font-size: 24px;
    color: var(--themePurple);
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}
div#rowFilters ul{
    list-style-type: none;
    display: flex;
    gap: 5px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    padding: 10px 20px;
    border-left: 1px solid rgba(99, 53, 241, 0.10);
    border-right: 1px solid rgba(99, 53, 241, 0.10);
}
body.header-fixed .container-header-archive .header-items-container .main-nav{
    opacity: 1;
}

/* End Header Archive */

body {
    overflow-x: hidden;
}

body .header-desktop{
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 9999;
    position: fixed;
}
body.header-fixed .header-desktop{
    padding: 10px 0;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.header-logo{
    display: flex;
    height: 100%;
    align-items: center;
}

body .header-desktop svg.logo-img, body .header-desktop .logo-img #mark-logo{
    opacity: 1;
    -webkit-transition: opacity 300ms ease-in-out;
    -moz-transition: opacity 300ms ease-in-out;
    -ms-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
}
body.header-fixed .header-desktop .logo-img #mark-logo{
    opacity: 0;
}

.row.header-menu-row {
    justify-content: space-between;
    padding: 40px 0px 20px;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    align-items: center;
}
body.header-fixed .row.header-menu-row {
    padding: 15px 0px;
}
.header-items-container  ul{
    display: flex;
}
nav.col-auto.header-items-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
nav.col-auto.header-items-container ul{
    padding: 0;
    margin: 0;
}
nav.col-auto.header-items-container ul li{
    list-style-type: none;
}
nav.col-auto.header-items-container ul li a{
    text-decoration: none;
}
body.home nav.col-auto.header-items-container ul li a{
    color: #FFFFFF;
}
nav.col-auto.header-items-container .main-nav ul{
    display: flex;
    gap: 40px;
}

body .header-items-container .main-nav{
    opacity: 1;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
body.header-fixed .header-items-container .main-nav{
    opacity: 0;
}
body.home.header-fixed .header-items-container .main-nav a{
    pointer-events: none;
}
.main-far-nav {
    display: flex;
    padding: 8px;
    align-items: center;
    gap: 10px;
    border-radius: 70px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: solid 1px rgb(180 180 180 / 19%);
}
.main-far-nav button a{
    font-size: 15px;
}
button.logged-in span.material-symbols-outlined{
    font-variation-settings:
    'FILL' 1,
    'wght' 300,
    'GRAD' 0,
    'opsz' 48
}


/**************************
        HEADER MOBILE 
***************************/

.mobile-phone-cta {
    position: fixed;
    bottom: 30px;
    right: 15px;
    height: 52px;
    width: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 35px;
    color: #FFFFFF;
    z-index: 99999999;
}
header#mobile-masthead{
    -webkit-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    -moz-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    -ms-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    -o-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    transition: all 400ms cubic-bezier(0, 0, 0.2, 1); 
}
header#mobile-masthead{
    position: fixed;
    width: 100%;
    top: -100%;
    z-index: 9999;
}
body.header-fixed header#mobile-masthead{
    transform: translateY(-100%);
}
/* burger button */

.col-header-mobile-burger {
    z-index: 1;
    background-color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 50px;
    border: 0.5px solid rgba(0, 0, 83, 0.05);
    box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, 0.05);
}
.col-header-mobile-burger:hover{ 
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.05);
}
.col-header-mobile-burger:active{
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.05);
    transform: scale(0.925);
}

/* End burger button */

.col-header-mobile{
    display: flex;
    align-items: center;
    position: relative;
    border: 0.5px solid rgba(0, 0, 83, 0.05);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
.col-header-mobile > a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-header-mobile.btn-search span{
    transform: translate(2px,2px);
}
.col-header-mobile span.material-symbols-outlined{
    font-size: 26px;
    color: var(--themeMarine);
}
.col-header-mobile.btn-search{
    background-color: #FFFFFF;
    padding: 10px 30px 10px 15px;
    border-radius: 40px 0px 0px 40px;
    margin-right: -15px;
}
.col-account-mobile{
    background-color: #FFFFFF;
    padding: 10px 15px 10px 30px;
    border-radius: 0px 40px 40px 0px;
    margin-left: -15px;
}
.col-account-mobile:hover, .col-header-mobile.btn-search:hover{ 
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.05);
}
.col-header-mobile.btn-search:active{ 
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    transform: translateX(3px)
}
.col-account-mobile:active{ 
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
    transform: translateX(-3px)
}

.col-account-mobile span.logged-in{
    font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}
.site-header-mobile{
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    width: fit-content;
    border-radius: 50px;
    z-index: 999999;
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
}
.site-header-mobile .container{
    padding: 0;
}
.row-site-header-mobile{
    display: flex;
    justify-content: center;
    align-items: center;
}



 /**** Open menu mobile ****/

#header-mobile-items-container{
    position: fixed;
    display: table;
    height: 100vh;
    width: 100%;
    bottom: 0px;
    left: 0px;
    transform: scale(0);
    z-index: 999999;
}
#header-mobile-items-container.mobile-open{
    transform: scale(1);
}
#header-mobile-items-container.mobile-open .header-mobile-bkg{
    background: rgba(0, 0, 0, 0);
    animation: fadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#header-mobile-items-container.mobile-open .header-mobile-content{
    opacity: 0;
    animation: scaleUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#header-mobile-items-container.mobile-open + main.site-main {
    animation: scaleBack 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#header-mobile-items-container.mobile-open.out {
    animation: quickScaleDown 0s 0.5s linear forwards;
}
#header-mobile-items-container.mobile-open.out .header-mobile-bkg {
    animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#header-mobile-items-container.mobile-open.out .header-mobile-bkg .header-mobile-content {
    animation: scaleDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#header-mobile-items-container.mobile-open.out + main.site-main {
    animation: scaleForward 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.header-mobile-bkg{
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: middle;
}
.header-mobile-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #FFFFFF;
    padding: 60px 35px 40px;
    border-radius: 15px;
    position: absolute;
    bottom: 110px;
    left: 20px;
    overflow: hidden;
    height: calc(100vh - 200px);
    width: calc(100% - 40px);
}
.header-mobile-content h4{
    font-size: 20px;
    color: var(--themeMarine);
    margin-bottom: 1em;
}


/* End open menu mobile */

/* Menu mobile items */
.header-mobile-row ul{
    margin-left: 0;
    padding: 0;
    list-style: none;
}
.header-mobile-row ul li{
    padding: 20px 0;
    border-bottom: 0.6px solid rgba(61, 71, 90, 0.2);
}
.header-mobile-row ul li a{
    text-transform: none;
    letter-spacing: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    display: flex;
    color: var(--themeFontColor);
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
.header-mobile-row ul li a span.material-symbols-outlined, .submenu-mobile-lvl2 ul.submenu-lvl2 li a span.material-symbols-outlined{
    font-size: 20px;
}

.submenu-mobile-lvl1, .submenu-mobile-lvl2 ul.submenu-lvl2{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow-y: scroll;
    padding: 100px 20px 80px 20px;
    background-color: #FFF;
    border-right: 0.6px solid rgba(61, 71, 90, 0.1);
    transform: translateX(-100%);
    -webkit-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    -moz-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    -ms-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    -o-transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
    transition: all 400ms cubic-bezier(0, 0, 0.2, 1);
}
.submenu-mobile-lvl1 ul.products-submenu-mobile, .submenu-mobile-lvl2 ul{
    width: 100%;
    margin-left: 0;
    padding: 0;
    list-style: none;
}
.submenu-mobile-lvl1 ul.products-submenu-mobile li, .submenu-mobile-lvl2 ul.submenu-lvl2 li{
    padding: 22px 0;
    border-bottom: 0.6px solid rgba(61, 71, 90, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.submenu-mobile-lvl2 ul.submenu-lvl2 li a{
    text-transform: none;
    letter-spacing: 0;
    text-align: left;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    display: flex;
    color: var(--black);
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
.submenu-mobile-lvl2 ul.submenu-lvl2 li a > span:first-of-type{
    max-width: 85%;
}
.submenu-mobile-lvl1 ul.products-submenu-mobile li > div, .submenu-mobile-lvl1 ul.products-submenu-mobile li > a div, .submenu-mobile-lvl2 ul.submenu-lvl2 li > a div{
    display: flex;
    align-items: center;
    gap: 10px;
}
.submenu-mobile-lvl1 ul.products-submenu-mobile li > div > span, .submenu-mobile-lvl1 ul.products-submenu-mobile li > a div span{
    font-size: 16px;
}
.submenu-mobile-lvl1 ul.products-submenu-mobile li img, .submenu-mobile-lvl2 ul.submenu-lvl2 li img{
    width: 30px;
    height: 25px;
    object-fit: contain;
}
div.submenu-mobile-open,  .submenu-mobile-lvl2 ul.submenu-lvl2.submenu-mobile-open{
    transform: translateX(0);
}
.submenu-mobile-btn-back{
    position: absolute;
    top: 30px;
    left: 15px;
}
.submenu-mobile-btn-back span{
    padding: 10px 10px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 83, 0.10);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
    border-radius: 30px;
}
.submenu-mobile-lvl2 ul.submenu-lvl2  > div:first-of-type{
    position: absolute;
    top: 37px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transform: translateX(-15px);
}
.submenu-mobile-lvl2 ul.submenu-lvl2  > div:first-of-type img{
    max-width: 30px;
    object-fit: contain;
}
.submenu-mobile-lvl1 h3.submenu-title {
    position: absolute;
    top: 43px;
    left: 0;
    width: 100%;
    text-align: center;
}
h3.submenu-title {
    color: var(--themeMarinePurple);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 0;
}
/* End menu mobile items */

/* burger menu */
.btn-menu {
    display: block;
    width: 25px;
    height: 40px;
    position: relative;
    cursor: pointer;
  }
  .btn-menu span {
    width: inherit;
    height: 2px;
    background-color: var(--themeMarine);
    font-size: 0;
    top: 20px;
    position: absolute;
    -webkit-transition: background-color 0.3 ease;
    transition: background-color 0.3 ease;
  }
  .btn-menu span:before,
  .btn-menu span:after {
    content: "";
    position: absolute;
    width: 25px;
    height: 100%;
    left: 0;
    background-color: var(--themeMarine);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .btn-menu span:before {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  .btn-menu span:after {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
  
  /**Styling the menu but after we open it and its span and build the after and before for it**/
  .btn-menu-open span {
    background-color: transparent;
  }
  .btn-menu-open span:before {
    -webkit-transform: translateY(0) rotate(45deg);
    transform: translateY(0) rotate(45deg);
  }
  .btn-menu-open span:after {
    -webkit-transform: translateY(0) rotate(-45deg);
    transform: translateY(0) rotate(-45deg);
  }
  .header-mobile-logo .row{
    justify-content: center;
    padding: 35px 0 10px;
  }
  body.home .header-mobile-logo .row{
    justify-content: flex-start;
  }
  .header-mobile-logo .row a svg{
    height: 30px;
    width: auto;
  }
ul#mobile-menu-social{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 80px;
}
ul#mobile-menu-social li img{ 
    max-width: 24px;
    object-fit: contain;
}

/****** RESPONSIVE ********/


@media only screen and (max-width: 1280px) {
    .container-header-archive .row.header-menu-row {
        padding: 20px 0px 15px;
    }
    div#rowFilters{
        padding: 5px 0;
    }
    div#rowFilters > div:first-of-type span.material-symbols-outlined {
        font-size: 20px;
    }
    .container-header-archive .header-logo svg {
        max-height: 40px;
    }
    .container-header-archive .main-far-nav button {
        padding: 12px 24px;
    }
    .container-header-archive .main-far-nav button span.material-symbols-outlined{
        font-size: 20px;
    }
    div#toggleMap span.material-symbols-outlined {
        font-size: 24px;
    }

}
@media only screen and (max-width: 1200px) {
    .main-far-nav button a, nav.col-auto.header-items-container ul li a {
        font-size: 14px;
    }
    .row.header-menu-row {
        justify-content: space-between;
        padding: 40px 0px 20px;
    }
    nav.col-auto.header-items-container{
        gap: 25px;
    }
    nav.col-auto.header-items-container .main-nav ul {
        gap: 25px;
    }
    svg.logo-img{
        max-width: 160px;
    }
    .container-header-archive {
        padding: 0 10px;
    }
}
@media only screen and (max-width: 1024px) {
    header#header-archive-employee{
        position: fixed;
        z-index: 99999;
        width: 100%;
    }
    header#header-archive-employee #mobile-masthead{
        width: 100%;
        background: rgba(255, 255, 255, 0.80);
        /* box-shadow: 0px 1px 4px 0px rgba(61, 0, 137, 0.20); */
        border-bottom: 1px solid rgba(99, 53, 241, 0.20);
        backdrop-filter: blur(27px);
        -webkit-backdrop-filter: blur(27px);
    }
    header#header-archive-employee #mobile-masthead .header-mobile-logo .row{
        justify-content: space-between;
        padding: 30px 0 15px;
    }
    #mobileHeaderLogo{
        display: flex;
        align-items: center;
    }
    div#toggleMobileMap {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    div#mobileContentMap{
        display: flex;
        gap: 10px;
        align-items: center;
    }
    div#mobileContentMap span.material-symbols-outlined{
        color: var(--themeMarine);
        font-size: 22px;
    }
    div#showMobileEmployees span.material-symbols-outlined{
        font-variation-settings:
        'FILL' 1,
        'wght' 300,
        'GRAD' 0,
        'opsz' 24
    }
    .mobile-btn-header-archive{
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        padding: 8px 15px;
        border-radius: 10px;
        gap: 6px;
        background: var(--white, #FFF);
        box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.20);
        -webkit-transition: all 300ms ease;
        -moz-transition: all 300ms ease;
        -ms-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
    }
    .mobile-btn-header-archive span:not(.material-symbols-outlined){
        line-height: normal;
    }
    div#filterMobileEmployee.active{
        background-color: var(--themeMarinePurple);
        color: var(--white);
    }
    div#filterMobileEmployee.active span.material-symbols-outlined{
        color: var(--white);
    }


}
@media only screen and (max-width: 992px) {
    nav.col-auto.header-items-container {
        gap: 25px;
    }
    svg.logo-img {
        max-width: 150px;
    }
    header#header-archive-employee #mobile-masthead .container-mobile{
        max-width: 100%;
    }
    body .header-desktop .header-items-container .main-nav{
        display: none;
    }
}
@media only screen and (max-width: 768px) {

}
@media only screen and (max-width: 575px) {
    #mobileHeaderLogo, div#mobileContentMap{
        padding: 0px 5px;
        gap: 8px;
    }
}
@media only screen and (max-width: 420px) {
    header#header-archive-employee #mobile-masthead .header-mobile-logo .row {
        align-items: flex-end;
    }
    svg.logo-img {
        max-width: 100px;
    }
    .mobile-btn-header-archive{
        font-size: 14px;
    }
}