img.custom-logo {
    object-fit: contain;
    height: 100%;
    /*padding: 1em;*/
}

div#header-wrapper {
    background-color: var(--main-color);
    display: flex;
    height: 90px;
    /*min-width: 1000px;*/
}

#header-menu-wrapper a {
    text-decoration: none;
}

div#header-menu-wrapper {
    width: 100%;
}

#header-menu-wrapper li {
    display: inline;
    font-size: 13px;
}

#header-menu-wrapper ul {
    list-style-type: none;
    list-style-image: none;
    padding: 0;
    margin: 0;
}

div#top-header-wrapper {
    width: inherit;
    display: flex;
    height: 32px;
}


#menu-top-main-menu li a {
    color: white;
}

#menu-top-main-menu li {
    display: table-cell;
    font-size: 13px;
    padding: 7px 15px;
    font-family: "NeueHaasUnica";
}

#menu-top-main-menu li:first-child {
    font-family: "NeueHaasUnica";
}

#menu-top-main-menu li:first-child a {
    color: var(--main-color);
}

#menu-top-main-menu li a {
    font-weight: 500;
}

#menu-top-main-menu li:first-child {
    background-color: white;
}

div#top-header-right-content {
    margin-left: auto;
}

#top-header-right-content li a {
    padding: 9px 15px;
    color: white;
    font-weight: 300;
    font-family: "NeueHaasUnica";
    line-height: 28px;
}

#top-header-right-content li:first-child a {
    background-color: #EB4D67;
}


ul#menu-main-menu {
    height: 100%;
    background-color: white;
    padding: 17px 7px;
    margin: 0;
}


#menu-main-menu a {
    color: #707070;
    padding: 17px 7px;
    font-weight: bold;
    font-size: 14px;
}

#menu-main-menu li {
    padding-left: 15px;
    font-family: "NeueHaasUnica";
}

#menu-main-menu > li {
    display: inline-block;
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    width: 180px;
    left: 0px;
    top: 37px;
    z-index: 2;
    background-color: white;
}

@media screen and (max-width: 1200px) {
    .sub-menu {
        padding-left: 34% !important;
    }
}

.sub-menu li {
    display: block !important;
    width: 100%;
    height: 37px;
    align-items: center;
    padding-top: 5px;
}

.sub-menu-indicator > a:after {
    color: var(--main-color);
    content: url(https://www.spirit-entreprises.fr/wp-content/uploads/2021/04/Trace-2461.png);
    margin-left: 20px;
}

.astm-search-menu path {
    fill: var(--main-color) !important;
    position: absolute;
}

#reponsive-mobile-header {
    display: none;
}

#rev_slider_2_1_wrapper .custom.tparrows {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

label.toggle {
    display: none;
}

/*p.custom-news-card-content-text:after {*/
/*    content: ' [...]';*/
/*    color: var(--second-color);*/
/*}*/

rs-arrow.tp-leftarrow.tparrows.custom,
rs-arrow.tp-rightarrow.tparrows.custom {
    padding-top: 1%;
}

/* SAFARI FIX */
@media not all and (min-resolution: .001dpcm) {
    @supports (-webkit-appearance:none) {
        #menu-main-menu .sub-menu li a {
            font-size: 11px;
        }
    }
}

@media screen and (min-width: 1200px) {
    li:hover ul.sub-menu {
        display: block;
    }
}

@media screen and (max-width: 1200px) {
    #header-menu-wrapper {
        display: none;
    }

    div#header-wrapper {
        display: block;
        height: auto;
    }

    #header-wrapper a {
        width: 100%;
        text-align: center;
    }

    #header-wrapper img.custom-logo {
        /*! padding: 5px 0 5px; */
        width: auto;
        height: 56px;
        padding-left: 82px !important;
    }

    div#top-header-wrapper {
        display: block;
        height: auto;
    }

    #menu-top-main-menu li a {
        color: var(--main-color);
    }

    #menu-top-main-menu li {
        display: block;
        background-color: #FBFBFB;
        text-align: center;
        border: 1px solid #FBFBFB;
    }

    #menu-top-main-menu li:nth-child(even) {
        background-color: #F4F4F4;
        border: 1px solid #F4F4F4;
    }

    #top-header-right-content {
        display: none;
    }

    #reponsive-mobile-header {
        display: block;
    }

    #menu-main-menu li {
        display: block;
    }

    #menu-main-menu li {
        display: block;
        text-align: left;
        /*height: 40px;*/
        line-height: 40px;
    }

    ul#menu-main-menu {
        padding: 0;
    }

    .sub-menu {
        display: none;
        position: unset;
        width: 100%;
    }

    li.menu-link-active > a {
        border-left: 10px solid var(--main-color);
    }

    li.menu-link-active,
    li.menu-link-active ul.sub-menu {
        display: block;
        background-color: #F8F8F8;
    }

    li:hover ul.sub-menu li:before {
        content: url(https://www.spirit-entreprises.fr/wp-content/uploads/2021/04/Ligne-444.png);
    }

    .sub-menu li {
        height: 40px;
        display: none;
        line-height: 40px;
    }

    .astm-search-menu {
        display: none !important;
    }

    #reponsive-mobile-header li a {
        display: block;
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding: 0;
        background-color: var(--main-color);
        border: none;
        font-family: 'NeueHaasUnica';
        color: white;
    }

    #reponsive-mobile-header li:first-child a {
        background-color: #EB4D68;
    }

    #menu-main-menu li {
        padding: 0;
    }

    #menu-main-menu > li > a {
        display: block;
        padding: 0;
        text-align: left;
        padding-left: 35% !important;
    }

    i:before, i:after {
        font-style: normal;
        margin: 0;
    }

    label.toggle {
        display: block;
        color: white !important;
        font-weight: bold;
        margin: auto;
        margin-right: 15px;
    }

    span#menu-header-name {
        margin-right: 13px;
        font-size: 21px;
        line-height: 30px;
    }

    .menu-link-active ul.sub-menu {
        display: block;
    }

    .sub-menu-indicator.menu-link-active > a:after {
        color: var(--main-color);
        content: ' X';
        margin-right: 10%;
        text-align: right;
        float: right;
    }

    .menu-toggle:before {
        content: 'X';
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    }

    .main-menu-active {
        display: block !important;
    }

    .icon-menu:before {
        font-size: 20px !important;
    }
}

