/*
Theme Name: Seigle Location
Theme URI: 
Author: Sylvain Nascimento
Author URI: 
Description: Un thème sur-mesure pour Seigle Location
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: seigle-location
Tags: 
*/


main#wp--skip-link--target, .entry-content.wp-block-post-content.is-layout-flow.wp-block-post-content-is-layout-flow {
    margin: 0!important;
}

/* Submenu header */


.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container {
    min-width: 300px;
    padding: 1rem;
    border-radius: 0 0 1rem 0;
}

.current-menu-ancestor > a, .current-menu-item > a {
    color: var(--wp--preset--color--accent) !important;
}

/* Header sticky */

.sn-header-sticky.block-is-sticky {
    background: #000;
}


.sn-header-sticky.block-is-sticky img.custom-logo {
    width: 90px;
}

.sn-header-sticky.block-is-sticky img.custom-logo {
    transition: 0.2s ease-in-out;
}

/* CTA */

.sn-cta h2.wp-block-heading {
    position: relative;
    z-index: 2;
}

.sn-cta figure.wp-block-image {
    transition:0.2s ease-in-out;
}


.sn-cta:hover figure.wp-block-image {
    transform: scale(1.1);
}

/* CTA QUERY LOOP */

.sn-cta-loop {
    text-decoration: none;
}

.sn-cta-loop:hover img {
    transform: scale(1.1);
}

.sn-cta-loop img {
    transition: 0.4s ease-in-out;
}

/* Responsive */
  @media(max-width:780px){
    
    header .wp-block-cover {
        height: auto!important;
        min-height: inherit;
        padding-bottom: 3rem!important;
    }
    
    .wp-block-button__width-50 {
      width: 100%!important;
  }
}

/* Search form */

svg {}

a.searchwp-modal-form-trigger-el svg {
    fill: #fff;
}

span.current-language-item {
    /* min-height: 0!important; */
}

span.searchwp-modal-form-trigger-icon {
    display: flex;
}

.searchwp-modal-form__overlay {
    background: rgba(0,0,0,0.8)!important;
    backdrop-filter: blur(4px);
}

.searchwp-modal-form__content {
    width: calc(100% - 4rem);
    margin: 0 auto;
    max-width: 600px;
    background: transparent!important;
}

input.search-field {
    padding: 1rem;
}

input.search-submit {
    height: 52px;
    background: #000;
    border: 2px solid #000;
    color: #FFF;
    text-transform: uppercase;
    cursor: pointer;
    padding: 1rem;
    transition: 0.2s ease-in-out;
}

.searchwp-modal-form-default .searchwp-modal-form__content .search-form {
    display: flex;
    align-items: inherit;
}

button.searchwp-modal-form__close.button {
    position: absolute;
    top: -50px;
    right: calc(50% - 285px);
    color: #fff;
    font-size: 1.5rem;
    cursor:pointer;
}

input.search-submit:hover {
    background: yellow;
}