/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* Formulaires */
input[name="form-field-uoojzp"]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #111; font-weight: bold !important; opacity: 1;
}
input[name="form-field-uoojzp"]::-moz-placeholder { /* Firefox 19+ */
    color: #111; font-weight: bold !important; opacity: 1;
}
input[name="form-field-uoojzp"]:-ms-input-placeholder { /* IE 10+ */
    color: #111; font-weight: bold !important; opacity: 1;
}
input[name="form-field-uoojzp"]:-moz-placeholder { /* Firefox 18- */
    color: #111; font-weight: bold !important; opacity: 1;
}

/* Pictos accueil */
.block-pictos-cel {
    -webkit-transition:  all 0.25s ease !important;
    -moz-transition:  all 0.25s ease !important;
    -o-transition:  all 0.25s ease !important;
    transition:  all 0.25s ease !important;
}
.block-pictos-cel:hover {
    -moz-transform: scale(0.9) !important;
    -webkit-transform: scale(0.9) !important;
    -o-transform: scale(0.9) !important;
    -ms-transform: scale(0.9) !important;
    transform: scale(0.9) !important;
}
.block-pictos-cel:hover img {
  animation: flip 1s linear; 
}
@keyframes flip{
   from{
    transform: rotateY(0deg);
  }
   to{
     transform: rotateY(360deg);
  }
}


/* Produits en relation*/
.produits-rel {
    background: linear-gradient(var(--shade-light), var(--shade-ultra-light));
    padding: var(--section-space-s);
}
.produits-rel .produits-rel-cont {
    align-items: center;
}
.produits-rel .produits-rel-grid {
    display: grid;
    grid-template-columns: var(--grid-1);
    grid-gap: var(--space-m);
    margin-bottom: var(--space-s);
}
.produits-rel .produits-rel-prod {
    display: flex;
    flex-direction: column;
}
.produits-rel .produits-rel-img {
    box-shadow: var(--box-shadow-m);
    border: 4px solid #fff;
}
.produits-rel .produits-rel-titre {
    font-size: var(--h4);
    margin-top: var(--space-xs);
}
@media screen and (min-width: 576px) {
    .produits-rel .produits-rel-grid {
        grid-template-columns: var(--grid-2);
    }
}
@media screen and (min-width: 768px) {
    .produits-rel .produits-rel-grid {
        grid-template-columns: var(--grid-4);
    }
}

/* Fiche produit */
.produit-caract-ul, .produit-caract-ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.produit-caract-ul {
    border-top: 1px #666 solid;
    border-left: 1px #666 solid;
    border-right: 1px #666 solid;
    margin: var(--space-m) 0 var(--space-m) 0;
}
.produit-caract-ul li {
    border-bottom: 1px #666 solid;
    padding: 4px 8px;
}


/* Boutons */
.bricks-button {
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
    z-index: 3;
    color: #fff;
}
.bricks-button::before, .bricks-button::after {
    content: "";
    position: absolute;    
    box-sizing: border-box;
    transition: 0.5s ease-in-out;
}
.bricks-button::before {
    background-color: #004480;
    width: 1px;
    z-index: -1;
    transform-origin: 50% 50%;
    transform: rotate(45deg);
    opacity: 0.5;
}
.bricks-button::after {
    background-color: var(--bricks-color-mpjqmp);
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    filter: brightness(1);
}
.bricks-button:hover::before {
    width: 100%;
    padding: 50%;
    opacity: 1;
}
.bricks-button:hover::after {
    filter: brightness(1.75);
}


/* Menu principal */
.icone-home svg {
    color: var(--bricks-color-tvxppt);
    fill: var(--bricks-color-tvxppt);
    width: 18px;
    height: 18px;    
}

/* Hamburger */
.brxe-nav-menu .bricks-mobile-menu-toggle {
  height: 28px;
}
.brxe-nav-menu .bricks-mobile-menu-toggle span {
  height: 4px;
}
.brxe-nav-menu .bricks-mobile-menu-toggle .bar-center {
  top: 12px;
}
.brxe-nav-menu .bricks-mobile-menu-toggle .bar-bottom {
  top: 24px;
}

/* Diapo */
.diapo {
    height: 100%;    
}
.diapo-titre-cont {}
.diapo-titre {
}
.diapo-sous-titre {
}
.diapo .splide__slide {
    min-height: 360px;
}
.diapo .diapo-image .bu-image-item {
    padding: 0 !important;
    height: 100%;
}
.diapo .splide__arrows {
    display: none;
}

@media screen and (min-width: 576px) {
    .diapo .splide__arrows {
        display: block;
    }
}

/* Footer */
#brx-footer {
    background-color: #283135;
    background-image: linear-gradient(#222222, #283135);
}
.footer-marques-ul, .footer-marques-ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}