

* {
  box-sizing: border-box;
}


.studio {
  margin: 10px;
  padding: 10px;
  margin-top: 0px;
  padding-top: 0px;
  margin-bottom: 40px ;
  min-height: 90vh;

  /*border-style: double;*/
}

.container {
  width: 100%;
  margin: 0px;
  padding: 0px;
  /*border-style: double; */
}

.salle {
  margin-bottom: 0px;
  margin-top: 1%;
  margin-left: 5%;
  margin-right: 5%;
  padding: 0px; 
  width: 40%;
  //border-style: double;
}

.column_img{
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;

}

.column_img:hover {
  opacity: 0.6;
}


/* Expanding image text */
#titretext {
  position: absolute;
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  opacity:1;
  top: 15px;
  left: 0px;
  padding: 5px;
  color: white;
  font-size: 20px;
  /*text-align: center;
  width: 100%;*/
}

#description-salle {
  font-size: 13px ;
}

#enconstruction {
  /*position: absolute;
  top: 0px;
  left: 0px;
  color: white;*/
  font-size: 18px ;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 20px; 
  left: 10%;
  top: 2%;
  width: 80%;
  height: 96%;
  overflow: auto;
  background-color:  white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: black ; #fefefe;
  margin: auto;
  padding: 0;
  width: 90%; 1200px;
  height: 520px; 96%;
  max-width: 90%; 1200px;
  max-height: 520px; 96%;
}

/* The Close Button */
.close {
  color: black; white;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 25px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.row-salle {
  display: none;
}

.row-salle img{
  width: 100%;
  height: 620px; /* 520*/
  object-fit: cover ;  contain ; scale-down ; contain ; cover;
}

/* w3 slide */


/* Slideshow container */
/* SEE ABOVE */

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #555 ;
}

/* Caption text */
.caption {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 10px;
  left : 0px ;
  /*width: 100%;*/
  /*text-align: center;*/
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: white;
  /*text-align: center;
  width: 100%;*/

}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 5px;
  width: 5px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation 
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
*/

/*
@media (min-height: 1090px) {
    .studio {
      height: 90vh;
      border-style: double;
    }
}
*/


/* ipad Horizontal */
@media (max-width:1024px) {

.modal{
  height: 80%; 
}

.modal-content {
  height: 480px; 
  max-height: 480px; 
}
.row-salle img{
  height: 480px;
}


}

/* IPAD vertical */

@media (max-width:768px) {

.studio {
  margin-bottom: 60px ;
}

.salle {
  margin-top: 4%;
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 10%;
  width: 70%;

}
#titretext {
  font-size: 15px;
}

.modal {
  height: 50%; 
}

.modal-content {
  height: 340px; 
  max-height: 340px; 
}
.row-salle img{
  height: 340px;
}

.close {
  top: 5px;
  right: 5px;
  font-size: 20px;
}

}

/* !!!IPHONE 6s Landscape Leana - Browser tres etroit */

@media (max-width:667px) {

.modal{
  height: 70%; 
  top: 10%;
}

.modal-content {
  height: 200px; 
  max-height: 200px; 
}
.row-salle img{
  height: 200px;
}

.caption-container {
  font-size: 11px;
}


}

/* !!!IPHONE 6s VERTICAL Leana - Browser tres etroit */
/* iphone 4s landscape Marc */

@media (max-width:600px) {

.modal{
  height: 50%; 
}

.modal-content {
  height: 200px; 
  max-height: 200px; 
}
.row-salle img{
  height: 200px;
}

}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 440px) {


}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  /* .text {font-size: 11px} */
}

/* FIN w3 slide */

