/* 
@author : Guillaume Deschamps
company : comadequat
date : mars 2019
version : 0.1
description : gestion des css en Responsiv et mobile first avec .less.
En tenant compte du fichier principal upbootwp.less qui se base sur Bootstrap v3.0.3

- aller du général au particlier

- respecter l'ordre des propriétés

- BEM-style naming and structure
// block
.Box {...}

// elements
.Box-header {...}
.Box-body {...}
.Box-footer {...}

// modifiers
.Box--blue {...}
.Box--red {...}
.Box-header--large {...}
*/
/* ----------------------------- */
/* ==Table Of Content            */
/* ----------------------------- */
/* PETITS SUPPORTS */
@media (max-width: 768px) {
  /*--------*/
  /* LAYOUT */
  /*--------*/
  #logo_site {
    margin: 7rem 0 2rem;
  }
  .pre_nav {
    height: 14em !important;
  }
  .pre_nav .container ul {
    top: 10.5rem;
    margin: 0;
    padding: 0;
  }
  .pre_nav .container #btn_ask_catalogue {
    position: relative !important;
  }
  .inverse-flex {
    display: flex;
    flex-wrap: wrap-reverse;
  }
  .inverse-flex > div {
    margin-left: 1rem;
  }
  /* -------- ACCUEIL -------- */
  .image-entier img {
    width: auto;
    margin: auto;
  }
  .site-content {
    min-height: 15rem;
  }
  .sub-category h2 {
    font-size: 3.28rem;
  }
  .jcarousel {
    margin-top: -130px !important;
  }
  /* -------- MENU HAMBURGER -------- */
  .navbar {
    height: auto !important;
  }
  .navbar-nav:after,
  .dropdown-menu > li > .dropdown-menu:after {
    display: none;
  }
  #main-menu li {
    padding-left: 0.5rem;
  }
  .dropdown-menu {
    position: relative;
    width: 100%;
    top: 0;
    right: 0;
  }
  .jcarousel > ul.ul_carousel,
  .home .site-content h1 {
    display: block;
  }
  /* -------- PAGE CATEGORIE -------- */
  .product-content .sub-category {
    background-image: none !important;
    padding-left: 1rem;
  }
  .product-content .sub-category:nth-child(even) p {
    width: 100%;
  }
  .product-content h2 {
    width: 100%;
  }
  /* -------- PAGE PRODUIT -------- */
  .container-ul ul {
    padding: 0;
  }
  .widget-footer {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  #content {
    margin: 0 0.4rem;
  }
  .container-new-design .product-content {
    width: 100%;
  }
  #titreAccueil {
    font-size: 2rem;
  }
  .home .navbar-default,
  .page-id-13 .navbar-default {
    background-color: #eee !important;
    margin-bottom: 8rem;
  }
  .home .navbar-default a,
  .page-id-13 .navbar-default a {
    color: #3d3d3d !important;
  }
  /* -------- MENU HAMBURGER -------- */
  .footer-aside {
    position: relative;
  }
  .post_footer {
    text-align: center;
    margin-top: 1rem;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /*.dropdown-menu {
        position: relative;
        width: 100%;
        top: -60px !important;
        right: -170px;
    }

    .nav > li > ul > li > .dropdown-menu {
        right: -165px !important;
        top: -74px;
    }
    
    .navbar-nav > li:nth-child(2) > .dropdown-menu {

    }*/
}
/* GRANDS ECRANS */
@media (min-width: 768px) and (max-width: 991px) {
  .jcarousel {
    float: left;
    margin-top: -265px !important;
  }
  .jcarousel {
    float: left ;
    margin-top: -144px !important;
  }
  #content {
    padding: 0;
    position: relative;
    margin-top: 0;
  }
  #titreAccueil {
    position: absolute;
    width: 50rem;
    /* remplacer {X} par votre valeur */
    height: 20rem;
    /* remplacer {Y} par votre valeur */
    left: 50%;
    margin-left: -25rem;
    /* remplacer {X/2} par la moitié de votre width */
    padding: 42px;
    background-color: rgba(226, 225, 221, 0.39);
    color: #133174;
    z-index: 99999;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
  }
  /* PAGE CATEGORIE */
  .sub-category h2 {
    font-size: 2.285rem;
    width: 100%;
  }
}
@media (max-width: 945px) {
  .container-contact-block {
    width: 100%;
    max-height: none;
    height: 100%;
    margin-right: 0;
  }
}
