/* CODE SURVOL DES CABINETS */
.img-wrapper {
  width:96%;
  /* la position relative du parent va nous permettre de contrôler correctement la position des éléments enfants */
  position:relative;
  z-index:1;
  /* ici on cache les parties des éléments enfants qui vont sortir du parent (wrapper) */
  overflow:hidden;
  cursor:pointer;
}
/* le voile qu'on va faire venir sur l'image */
.cover {
  position:absolute;
  top:0;
	margin:auto;
  left:0;
  height:218px;
  width:96%;
  z-index:4;
  background:darkSlateGrey;
  /* on le cache ici grâce à l'opacité */
  opacity:0;
  /* on applique une transition pour la douceur */
  transition: all .4s ease;
  /* et on le sort du cadre du wrapper en le décalant à droite */
  transform:translateX(96%);
}
/* Maintenant on indique la propriété à appliquer au voile au survol du wrapper */
.img-wrapper:hover .cover{
  /* on le fait réapparaître en renforçant l'opacité */
  opacity:.8;
  /* puis en annulant son décalage de position */
  transform:translateX(0);
}
.img-wrapper:hover .text-ancabine{
  opacity:1; 
  transform:translateY(0);
}
.img-wrapper:hover .text-ancabine{
  opacity:1; 
  transform:translateY(0);
}
.img-wrapper img{
	transition:all .4s ease;
}
.img-wrapper:hover img{
  transform-origin:50% 50%;
  transform:scale(1.40);
}
.centered {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: 600;
    transform: translate(-50%, -50%);
    padding-top: 46%;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
}
#nosspe > section > div > div > div > div > div > div > a > img:hover {
    color: transparent;
    background: rgba(112,112,112, 0);
}
.text-ancabine {
    position: relative;
	margin:auto;
    margin-top: -100%;
    padding-top: 40.5%;
    z-index: 16;
    font-weight: 600;
	opacity: 0;
    transform: translateY(40px);
    text-transform: uppercase;
    color: #fff;
    width: 100%;
    height: 218px;
    text-align: center;
    background: rgba(66, 174, 160,0.65);
}
.text-ancabine > h3{
    color: #fff;
	font-size:16px;
}	
/* NOS CABINETS */
.format-cab-contact {
    width: 96%;
    height: 180px;
    background: rgba(112,112,112, 0.55);
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
}
.format-cab-contact img {
    transition: all .4s ease;
    width: 100%;
}

/* Maintenant on indique la propriété à appliquer au voile au survol du wrapper */
.format-cab-contact:hover .text-ancabi{
  /* on le fait réapparaître en renforçant l'opacité */
  opacity:.8;
  /* puis en annulant son décalage de position */
  transform:translateX(0);
}
/* edit -- on rajoute ici un effet de zoom sur les images. Amis de la surrenchère, soyez les bienvenus :) */
.format-cab-contact img{
	transition:all .4s ease;
	width: 100%;
}
.format-cab-contact:hover img{
  transform-origin:50% 50%;
  transform:scale(1.40);
}

.text-ancabi > h3 {
    color: #fff;
    font-size: 16px;
}
.center-contact{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    font-weight: 600;
    transform: translate(-50%, -50%);
    padding-top: 46%;
    color: #fff;
    text-transform: uppercase;
    background: rgba(112,112,112, 0.55);
    width: 182px;
    height: 182px;
}
.text-ancabi {
    position: relative;
    margin: auto;
    margin-top: -100%;
    padding-top: 39%;
    z-index: 16;
    font-weight: 600;
    opacity: 0;
    transform: translateY(40px);
    text-transform: uppercase;
    color: #fff;
    width: 100%;
    height: 182px;
    text-align: center;
    background: rgba(66, 174, 160,0.65);
}
/* FIN DE NOS CABINETS */
/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (min-width:432px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:600px) {

}
@media only screen and (min-width:720px) {

}
@media only screen and (min-width:768px) {

}
@media screen and (min-width: 481px) and (max-width: 991px) {
	
}
@media only screen and (min-width: 1025px){ 
	
}	
@media screen and (min-width: 1024px) and (max-width:1040px) {
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
.format-cab-contact {
    height: 152px;
}
.format-cab-contact > a > div.center-contact {
    padding-top: 57%;
}
}
@media only screen and (min-width:1200px) {

}
@media only screen and (min-width:1366px) {
}
@media only screen and (min-width:1440px) {
}
@media only screen and (min-width:1500px) {
}
@media only screen and (min-width:1680px) {
}
@media only screen and (min-width:1920px) {
}
@media only screen and (min-width:2560px) {
}
@media only screen and (max-width:1680px) {
}
@media only screen and (max-width:1500px) {
}
@media only screen and (max-width:1440px) {
}
@media only screen and (max-width:1366px) {
}
@media only screen and (max-width:1280px) {
}
@media only screen and (max-width:1280px) {
}
@media only screen and (max-width:1200px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width:992px) {
.format-cab-contact {
    height: 110px;
}
.format-cab-contact > a > div.center-contact {
    padding-top: 82%;
}
}
@media only screen and (max-width:800px) {

}
@media only screen and (max-width:768px) {

}
@media only screen and (max-width:720px) {

}
@media only screen and (max-width:600px) {

}
@media only screen and (max-width:480px) {

}
@media only screen and (max-width:432px) {

}
@media only screen and (max-width:414px) {
}
@media only screen and (max-width:411px) {
}
@media only screen and (max-width:384px) {

}
@media only screen and (max-width:375px) {

}
@media only screen and (max-width:360px) {
}
@media only screen and (max-width:320px) {
}
@media only screen and (min-width:1800px) {
}
@media only screen and (min-width:2000px) {
}



