/*
Theme Name: Sylphane Promotion
Author: Demeillat Matthieu
Author URI: 
Theme URI: 
Tags: full-site-editing
Text Domain: ng1-fse
Requires at least: 6.1
Requires PHP: 7.4.33
Tested up to: 6.4
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Generated on fullsiteediting.com. No code version.
*/
/* Importation des mixins depuis un fichier externe */
header.wp-block-template-part {
  width: 100%;
  position: fixed;
  z-index: 2;
}
.scrolled header.wp-block-template-part {
  box-shadow: 5px 2px 30px 0px rgba(0, 0, 0, 0.25);
}
header.wp-block-template-part > .wp-block-group {
  display: flex;
  padding-right: 25px;
  padding-left: 25px;
}
header.wp-block-template-part > .wp-block-group > .wp-block-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
}
header.wp-block-template-part > .wp-block-group > .wp-block-group > .wp-block-image {
  margin: 0;
}
header.wp-block-template-part > .wp-block-group > .wp-block-group > .wp-block-group {
  margin-block-start: 0px !important;
}
@media (min-width: 1200px) {
  header.wp-block-template-part > .wp-block-group > .wp-block-group {
    min-width: 1200px;
  }
}
header.wp-block-template-part > .wp-block-group > .wp-block-group .is-mobile {
  display: none;
}
@media (max-width: 767px) {
  header.wp-block-template-part > .wp-block-group > .wp-block-group {
    width: 100%;
    margin: 0px 10px 0 0;
  }
  header.wp-block-template-part > .wp-block-group > .wp-block-group .is-mobile {
    display: flex;
    position: fixed;
    justify-content: flex-start !important;
    width: 50% !important;
    height: 50px;
  }
  header.wp-block-template-part > .wp-block-group > .wp-block-group .is-mobile p a {
    text-decoration: none;
    color: var(--wp--preset--color--black) !important;
    font-size: var(--wp--preset--font-size--medium) !important;
    font-size: 1.5rem !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-family: Arial !important;
    line-height: 2rem !important;
  }
  body.home.scrolled header.wp-block-template-part > .wp-block-group > .wp-block-group .is-mobile p a {
    transition: all 1s ease;
    color: var(--wp--preset--color--black) !important;
  }
  html.has-modal-open header.wp-block-template-part > .wp-block-group > .wp-block-group .is-mobile {
    z-index: 9999999999999;
    justify-content: center !important;
    width: 100% !important;
    position: relative;
    top: 50px;
  }
  header.wp-block-template-part > .wp-block-group > .wp-block-group > .wp-block-group {
    margin-block-start: 0px !important;
    display: flex;
    justify-content: end;
    width: 100%;
  }
  html.has-modal-open header.wp-block-template-part > .wp-block-group > .wp-block-group > .wp-block-group {
    position: relative;
    top: 50px;
  }
}
@media (min-width: 768px) {
  header.wp-block-template-part > .wp-block-group > .wp-block-group .wp-block-image {
    display: none;
  }
}

footer.wp-block-template-part {
  max-width: 100vw;
  overflow: hidden;
  margin-block-start: 0px;
  /*
      .top{
          opacity: 0;
          transition: opacity 0.5s ease-in-out;
          cursor: pointer;
          width: 50px;
          height: 50px;
          display: inline-block;
          position: fixed;
          bottom: 50px;
          right: 20px;
          &:after{
              content: "";

              display: block;

              width: 50px;
              height: 50px;
              border: 1px solid var(--wp--preset--color--primary);
              background-image: url(./img/top.svg);
              background-repeat: no-repeat;
              background-position: center;
              background-size: contain;
              background-color: var(--wp--preset--color--white);
              z-index: 0;
          }
      }
  */
}

/*
 body.scrolled .top {
    z-index: 5;
    opacity: 1 !important;
}
*/
body.single-realisation h1 hr {
  width: 200px;
  margin: 5px auto;
}
body.single-realisation .wp-site-blocks > .wp-block-group {
  margin-block-start: 0px !important;
  padding: 0;
}
body.single-realisation main {
  padding: 0px;
  margin-block-start: 0px !important;
}
body.single-realisation main .entry-content {
  margin-top: -1px;
}
body.single-realisation main .has-black-background-color figure.wp-block-post-featured-image:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 62px;
  height: 62px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url(img/corner4.png);
}
body.single-realisation main .has-black-background-color .wp-block-buttons {
  margin-block-start: 24px !important;
}

a {
  color: inherit;
  transition: color 0.5s ease;
}

.has-primary-background-color * {
  color: inherit;
}

/*
body{
    background-color: var(--wp--preset--color--tertiary) !important;
}
*/
main {
  z-index: 1;
  margin-block-start: 130px !important;
  padding: 0px;
  position: relative;
}
@media (max-width: 768px) {
  main {
    margin-top: 0px !important;
  }
}
main H2 {
  margin-block-start: 0px !important;
}
main .wp-block-media-text {
  margin-block-start: 0px !important;
}
main .wp-block-group {
  margin-block-start: 0px !important;
}
main .wp-block-columns {
  margin-block-start: 0px !important;
}
main .wp-block-buttons {
  margin-block-start: 0px !important;
}
main .wp-block-cover {
  margin-block-start: 0px !important;
}
main .wp-block-post-date {
  margin-block-start: 0px !important;
}
main .wp-block-query {
  margin-block-start: 0px !important;
}
main .wp-block-post {
  margin-block-start: 0px !important;
}

.entry-content {
  margin-top: 0;
  padding-right: 0px;
  padding-left: 0px;
}

.wp-block-gallery {
  gap: 8px !important;
}

@media (max-width: 768px) {
  main.wp-block-group {
    top: 60px;
  }
}
.cols-avis > .wp-block-column {
  transition: transform 0.8s;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  height: 100%;
}

@media (min-width: 768px) {
  .zoom {
    transform: scale(1.2);
  }
}
.cle-droite {
  gap: 10px;
}

.wp-site-blocks {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wp-site-blocks main {
  flex-grow: 2;
}

body.admin-bar header.wp-block-template-part {
  top: 32px !important;
}
@media (max-width: 778px) {
  body.admin-bar header.wp-block-template-part {
    top: 46px;
  }
}

html #wpadminbar {
  position: fixed;
}

ul.wp-block-post-template {
  padding: 0px !important;
}

.wp-block-cover {
  padding: 0;
}

@media (max-width: 782px) {
  .columns-inverse {
    flex-direction: column-reverse !important;
  }
  .wp-block-spacer {
    height: 15px !important;
  }
}
@media (min-width: 769px) {
  .mobile {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .desktop {
    display: none !important;
  }
}
.wp-block-cover {
  z-index: 1;
}

.wp-block-button__link {
  transition: all 0.5s ease-out;
}
.wp-block-button__link:hover {
  color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
}

body, html {
  overflow-x: hidden;
  max-width: 100vw;
}

.hidden {
  display: none;
}