/* https://www.dwuser.com/education/content/creating-responsive-tiled-layout-with-pure-css/ */
body {
  margin: 0;
  padding: 0;
  background: #EEE;
  font: 10px/13px 'Lucida Sans',sans-serif;
}
.wrap {
  overflow: hidden;
  margin: 10px;
}
.box {
  float: left;
  position: relative;
  width: 20%;
  padding-bottom: 20%;
}
.boxInner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  overflow: hidden;
}
.boxInner img {
  width: 100%;
}
.boxInner .titleBox {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-bottom: -50px;
  background: #000;
  background: rgba(0, 0, 0, 0.5);
  color: #FFF;
  padding: 10px;
  text-align: center;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
body.no-touch .boxInner:hover .titleBox, body.touch .boxInner.touchFocus .titleBox {
  margin-bottom: 0;
}
@media only screen and (max-width : 480px) {
  /* Smartphone view: 1 tile */
  .box {
    width: 100%;
    padding-bottom: 100%;
  }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
  /* Tablet view: 2 tiles */
  .box {
    width: 50%;
    padding-bottom: 50%;
  }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
  /* Small desktop / ipad view: 3 tiles */
  .box {
    width: 33.3%;
    padding-bottom: 33.3%;
  }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
  /* Medium desktop: 4 tiles */
  .box {
    width: 25%;
    padding-bottom: 25%;
  }
}














/* OLD ONE*/

.justify-content-center {
  justify-content: center !important;
}

.cadre-conteneur .container .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

.col-lg-3 {
  flex: 0 0 auto;
  width: 300px;
}

.bouton-conteneur .container .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

.image-conteneur {
  width: 100%;
  height: 55vh;
  background-image: url("https://www.tooltyp.com/wp-content/uploads/2014/10/1900x920-8-beneficios-de-usar-imagenes-en-nuestros-sitios-web.jpg");
  background-color: white;
  background-size: cover;
}
.image-conteneur .color-conteneur {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
}
.image-conteneur .color-conteneur .titre-conteneur {
  position: absolute;
  bottom: 12%;
  right: 6%;
}
.image-conteneur .color-conteneur .titre-conteneur h1 {
  font-size: 3.5em;
  color: white;
}
.image-conteneur .color-conteneur .titre-conteneur h2 {
  font-size: 3em;
  color: orange;
}

.bouton-conteneur {
  width: 100%;
}
.bouton-conteneur .container .row {
  padding-top: 15px;
  padding-bottom: 15px;
}
.bouton-conteneur .container .row .col-12,
.bouton-conteneur .container .row .col-md-4 {
  position: relative;
}
.bouton-conteneur .container .row .col-12 .bouton,
.bouton-conteneur .container .row .col-12 .bouton-hidd,
.bouton-conteneur .container .row .col-md-4 .bouton,
.bouton-conteneur .container .row .col-md-4 .bouton-hidd {
  margin: 5px;
  padding: 10px;
  border-radius: 10px;
  background-color: limegreen;
}
.bouton-conteneur .container .row .col-12 .bouton-hidd,
.bouton-conteneur .container .row .col-md-4 .bouton-hidd {
  background-color: grey;
}
.bouton-conteneur .container .row .col-12 .bouton a,
.bouton-conteneur .container .row .col-12 .bouton-hidd a,
.bouton-conteneur .container .row .col-md-4 .bouton a,
.bouton-conteneur .container .row .col-md-4 .bouton-hidd a {
  display: block;
  text-align: center;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
}
.bouton-conteneur .container .row .col-12 .bouton:hover,
.bouton-conteneur .container .row .col-12 .bouton-hidd:hover,
.bouton-conteneur .container .row .col-md-4 .bouton:hover,
.bouton-conteneur .container .row .col-md-4 .bouton-hidd:hover {
  opacity: 0.75;
}

.cadre-conteneur {
  width: 100%;
}
.cadre-conteneur .container .row .col-6 .cadre,
.cadre-conteneur .container .row .col-md-3 .cadre,
.cadre-conteneur .container .row .col-lg-4 .cadre {
  margin: 1em;
  height: 11em;
  border: 1px solid;
  border-radius: 10px;
  position: relative;
}
.cadre-conteneur .container .row .col-6 .cadre a,
.cadre-conteneur .container .row .col-md-3 .cadre a,
.cadre-conteneur .container .row .col-lg-4 .cadre a {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  color: white;
}
.cadre-conteneur .container .row .col-6 .cadre a:hover,
.cadre-conteneur .container .row .col-md-3 .cadre a:hover,
.cadre-conteneur .container .row .col-lg-4 .cadre a:hover {
  color: white;
}
.cadre-conteneur .container .row .col-6 .cadre .cadre-texte,
.cadre-conteneur .container .row .col-md-3 .cadre .cadre-texte,
.cadre-conteneur .container .row .col-lg-4 .cadre .cadre-texte {
  text-align: center;
  width: calc(100% + 2px);
  background-color: rgba(30, 30, 30, 0.65);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 0%);
  font-size: 0.8em;
  color: white;
}

/* TEXTE FORMAT*/
.cadre-conteneur .container .row .col-6 .cadre .cadre-texte h1,
.cadre-conteneur .container .row .col-md-3 .cadre .cadre-texte h1,
.cadre-conteneur .container .row .col-lg-4 .cadre .cadre-texte h1 {
  /* font-size: 1.5em; */
  font-size: 1.2em;
  /* margin-bottom: 3px; */
}
.cadre-conteneur .container .row .col-6 .cadre .cadre-texte:hover,
.cadre-conteneur .container .row .col-md-3 .cadre .cadre-texte:hover,
.cadre-conteneur .container .row .col-lg-4 .cadre .cadre-texte:hover {
  color: white;
}
.cadre-conteneur .container .row .col-6 .cadre:hover,
.cadre-conteneur .container .row .col-md-3 .cadre:hover,
.cadre-conteneur .container .row .col-lg-4 .cadre:hover {
  opacity: 0.75;
}

/* Adherent */
.cadre-conteneur .container .row .col-6 #cadre-1 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_1551188402.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Salaries */
.cadre-conteneur .container .row .col-6 #cadre-2 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_535567966.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Rendez-vous */
.cadre-conteneur .container .row .col-6 #cadre-3 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_158320133.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* rapports */
.cadre-conteneur .container .row .col-6 #cadre-4 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_1403134820.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* documents */
.cadre-conteneur .container .row .col-6 #cadre-5 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_136964447.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* declaration annuelle */
.cadre-conteneur .container .row .col-6 #cadre-6 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_185570417.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Contact service */
.cadre-conteneur .container .row .col-6 #cadre-7 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_525480673.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Mon compte utilisateur */
.cadre-conteneur .container .row .col-6 #cadre-8 {
  background-color: white;
  background-image: url("/sites/default/files/images/shutterstock_117915073.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Mon compte utilisateur */
.cadre-conteneur .container .row .col-6 #cadre-9 {
  background-color: white;
  background-image: url("/sites/default/files/images/admpd.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Mon compte utilisateur */
.cadre-conteneur .container .row .col-6 #cadre-10 {
  background-color: white;
  background-image: url("/sites/default/files/images/dendreo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Factures */
.cadre-conteneur .container .row .col-6 #cadre-11 {
  background-color: white;
  background-image: url("/sites/default/files/images/factures.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Mon compte utilisateur */
.cadre-conteneur .container .row .col-6 #cadre-12 {
  background-color: white;
  background-image: url("/sites/default/files/images/yrcash.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Page mt71.FR */
.cadre-conteneur .container .row .col-6 #cadre-13 {
  background-color: white;
  background-image: url("/sites/default/files/images/MT71-logo-2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Page mt71.FR */
.cadre-conteneur .container .row .col-6 #cadre-14 {
  background-color: white;
  background-image: url("/sites/default/files/images/MT71-logo-2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* DPAE */
.cadre-conteneur .container .row .col-6 #cadre-15 {
  background-color: white;
  background-image: url("/sites/default/files/images/logo-Urssaf.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Factures ASMT65 */
.cadre-conteneur .container .row .col-6 #cadre-16 {
  background-color: white;
  background-image: url("/sites/asmt65/files/images/factures.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* DPAE ASMT65 */
.cadre-conteneur .container .row .col-6 #cadre-17 {
  background-color: white;
  background-image: url("/sites/asmt65/files/images/logo-Urssaf.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Enquette OSTRA */
.cadre-conteneur .container .row .col-6 #cadre-18 {
  background-color: white;
  background-image: url("/sites/default/files/images/enqueteOstra.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* MT COTRANET */
.cadre-conteneur .container .row .col-6 #cadre-19 {
  background-color: white;
  background-image: url("/sites/mt71/files/images/logocotra.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* TOOLTIP CSS */
.tooltipPageStart {
  position: relative;
  display: inline-block;
}

.tooltipPageStart .tooltipPageStarttext {
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 10%;

  /* style the tooltip */
  min-width: 50px;
  background-color: black;
  color: white;
  font-size: 12pt;
  border-radius: 3px;
  padding: 3px 10px 6px;
  white-space: nowrap;

  visibility: hidden;
}

.tooltipPageStart:hover .tooltipPageStarttext {
  visibility: visible;
}


