@media only screen and (pointer: fine) {

    .menu-principal-wrapper > .menu-principal > .menu-item:hover > a {
        color: var(--wp--preset--color--theme-primary);
    }

    ul.menu-principal > .menu-item:not(.menu-item-has-children):hover a::after {
        width: 8px;
        height: 8px;
    }

    ul.menu-principal > .menu-item-has-children:hover > .sub-menu {
        transform: scaleY(1);
    }

    ul.menu-principal .sub-menu .menu-item:not(.current_page_item) a:hover {
        color: rgba(255, 255, 255, .7);
    }

    .btn-primary .wp-block-button__link:hover {
        background-color: transparent;
        color: var(--wp--preset--color--theme-primary);
        border-color: var(--wp--preset--color--theme-primary);
    }

    .btn-secondary .wp-block-button__link:hover,
    .wpcf7-submit:hover {
        background-color: var(--wp--preset--color--theme-secondary);
        color: var(--wp--preset--color--theme-white);
    }

    .btn-tertiary.wp-block-read-more:hover,
    .btn-tertiary .wp-block-button__link:hover {
        background-color: transparent;
        color: var(--wp--preset--color--theme-primary);
        border-color: var(--wp--preset--color--theme-primary);
    }

    .home .wp-block-read-more:hover {
        background-color: var(--wp--preset--color--theme-secondary);
        border-color: var(--wp--preset--color--theme-secondary);
    }

    .btn-primary.btn-prev .wp-block-button__link:hover::before {
        border-color: var(--wp--preset--color--theme-primary);
    }

    .inner-header .wp-block-button__link:hover {
        background-color: var(--wp--preset--color--theme-secondary) !important;
        color: var(--wp--preset--color--theme-white) !important;
    }

    .btn-phone .wp-block-button__link:hover::before,
    .btn-mail .wp-block-button__link:hover::before {
        color: var(--wp--preset--color--theme-white) !important;
    }

    .theme-banner .fake-btn .wp-block-paragraph:hover {
        background-color: var(--wp--preset--color--theme-primary);
    }

    .theme-banner:hover .wp-block-cover__background {
        opacity: .1;
    }

    .theme-banner:hover .fake-btn {
        max-height: 100px;
    }

    .ti-widget.ti-goog .ti-controls div.ti-next:hover,
    .ti-widget.ti-goog .ti-controls div.ti-next:focus, 
    .ti-widget.ti-goog .ti-controls div.ti-prev:hover, 
    .ti-widget.ti-goog .ti-controls div.ti-prev:focus {
        background-color: transparent !important;
    }

    .btn-booking .wp-block-button__link:hover {
        background-color: var(--wp--preset--color--theme-secondary);
        color: var(--wp--preset--color--theme-white);
    }

    .site-footer .fa-solid:not(.scrollup):hover::before,
    .site-footer .fa-solid:not(.scrollup):hover strong a,
    .menu-footer-wrapper > .menu-footer > .menu-item > a:hover {
        color: var(--wp--preset--color--theme-primary);
    }

    .fb-social a:hover {
        background-color: var(--wp--preset--color--theme-secondary);
        border: .1rem solid #112f4e;
    }

    .scrollup:hover {
        background-color: var(--wp--preset--color--theme-secondary);
    }

    .booking-fixed-header .cover-page .wp-block-button__link:hover {
        border-color: var(--wp--preset--color--theme-secondary) !important;
    }

}

@media (min-width: 1200px) {
    
    body:not(.accueil):not(.annu_fiche_avocat):not(.wp-singular):not(.annonce) h1, 
    body:not(.accueil):not(.annu_fiche_avocat):not(.wp-singular):not(.annonce) .headerSkin .header__diap-texte pre, 
    .headerSkin .header__diap-texte body:not(.accueil):not(.annu_fiche_avocat):not(.wp-singular):not(.annonce) pre {
        padding-bottom: 3rem;
    }

}

@media screen and (max-width: 1199px) and (min-width: 782px)  {

    .textOverImg__section img {
        aspect-ratio: 1 / 1;
    }

}

@media only screen and (min-width: 1000px) {

    .fixed-header .site-header {
        top: -107px;
    }

}

@media screen and (min-width: 782px) {

    /*animations*/
    /*.animation--init or .animation--init--once */

    .has-animations .animation--init--once,
    .has-animations .animation--init {
        opacity: 0;
    }

    .has-animations .animation--init--once.slide-down,
    .has-animations .animation--init.slide-down {
        transform: translateY(-.25em);
    }

    .has-animations .animation--end.slide-down {
        transform: translateY(0);
    }

    .has-animations .animation--init--once.slide-up,
    .has-animations .animation--init.slide-up {
        transform: translateY(.25em);
    }

    .has-animations .animation--end.slide-up {
        transform: translateY(0);
    }

    .has-animations .animation--init--once.slide-left,
    .has-animations .animation--init.slide-left {
        transform: translateX(.25em);
    }

    .has-animations .animation--end.slide-left {
        transform: translateX(0);
    }

    .has-animations .animation--init--once.slide-right,
    .has-animations .animation--init.slide-right {
        transform: translateX(-.25em);
    }

    .has-animations .animation--end.slide-right {
        transform: translateX(0);
    }

    .has-animations .animation--init--once.pop-up,
    .has-animations .animation--init.pop-up {
        transform: scale(.75);
    }

    .has-animations .animation--init--once.pop-down,
    .has-animations .animation--init.pop-down {
        transform: scale(1.75);
    }

    .has-animations .animation--end.pop-up,
    .has-animations .animation--end.pop-down {
        transform: scale(1);
    }

    .has-animations .animation--end {
        opacity: 1;
        transition: opacity 1s ease, transform 1s ease;
    }

    .has-animations .animation--end.delay-1 {
        transition-delay: .2s;
    }

    .has-animations .animation--end.delay-2 {
        transition-delay: .3s;
    }

    .has-animations .animation--end.delay-3 {
        transition-delay: .4s;
    }

    .has-animations .animation--end.delay-4 {
        transition-delay: .5s;
    }

    .has-animations .animation--end.delay-5 {
        transition-delay: .6s;
    }

    .has-animations .animation--end.delay-6 {
        transition-delay: .7s;
    }

    .contact-btns-mobile {
        display: none !important;
    }

}

@media screen and (max-width: 781px) {

    .wp-block-column .wp-block-post-featured-image {
        text-align: center;
    }

    .wp-block-query .wp-block-post-template .wp-block-post {
        max-width: 100%;
        justify-content: center;
    }

    .shape__stretch img {
        min-height: unset;
    }

    .booking-wrapper .wp-block-button {
        width: 100% !important;
    }

    .wp-block-query:not(.blog-query) .wp-block-post-template .wp-block-post {
        flex-direction: column !important;
        gap: var(--wp--style--block-gap) !important;
        align-items: center !important;
    }

    .inner-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 1;
        background-color: var(--wp--preset--color--theme-white);
    }

    .inner-header .wp-block-site-logo {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    div.wpml-language-switcher-block {
        right: 4rem;
        top: 2rem;
    }

    .main-menu-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--wp--preset--color--theme-white);
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition: max-height .3s ease, opacity .3s ease;
        overflow-y: scroll;
        padding: 0 var(--wp--style--block-gap) var(--wp--style--block-gap) var(--wp--style--block-gap);
    }

    .show-main-menu .main-menu-wrapper {
        pointer-events: auto;
        opacity: 1;
        max-height: 100dvh;
    }

    .menu-principal-wrapper {
        padding: 0;
    }

    .menu-principal-wrapper > .menu-principal {
        flex-direction: column;
        padding-top: 118px;
        padding-bottom: var(--wp--style--block-gap);
    }

    .menu-principal-wrapper > .menu-principal > .menu-item {
        flex-flow: column wrap;
    }

    .menu-principal-wrapper > .menu-principal > .menu-item > a {
        min-height: unset;
    }

    ul.menu-principal .arrow-menu {
        position: static;
        min-height: 40px;
        min-width: 40px;
        left: calc(50% - 20px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    ul.menu-principal .arrow-menu::after {
        font-size: var(--wp--preset--font-size--h-6);
    }

    ul.menu-principal .sub-menu {
        position: relative;
        display: none;
        background: var(--wp--preset--color--theme-white);
        border-top: 1px solid var(--wp--preset--color--theme-primary);
        border-bottom: 1px solid var(--wp--preset--color--theme-primary);
        border-radius: 0;
    }

    ul.menu-principal .show-sub-menu .sub-menu,
    .inner-header p.show-menu-link {
        display: block !important;
    }

    ul.menu-principal .sub-menu a {
        color: var(--wp--preset--color--theme-black);
        text-align: center;
    }

    .show-main-menu p.show-menu-link::before {
        content: "\f00d";
    }

    .fake-booking-height {
        top: -118px !important;
    }

    .booking-fixed-header .booking-wrapper {
        top: 118px;
    }

    .inner-header .wp-block-columns {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .inner-header .wp-block-columns > .wp-block-column:not(:nth-child(2)) {
        display: none;
    }

    .main-menu-wrapper {
       border-bottom: .1rem solid #ccc;
    }

}