* {box-sizing: border-box;}

.text-container {
  position: relative;
  height: 300px; /*should be the same height as the images*/
  width: 300px;
  background-color: #008cb7;
  padding: 0 10px 0 10px;
}

.texte-carre p, h3 {
  color: #f1a735;
}

/*Petites Vignettes*/
.photobox-flex {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
}
.photobox {
	padding-bottom: 50px;
}

.video-comp-container {
  position: relative;
  height: 300px; /*should be the same height as the images*/
  width: auto;
}
.video-color {
  min-height: 200px;
  min-width: 200px;
  height: 300px;
  width: auto;
}


.img-comp-container {
  position: relative;
  height: 300px; /*should be the same height as the images*/
  margin-right: 300px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow:hidden;
}

.img-comp-img img {
  display:block;
  vertical-align:middle;
}

.img-comp-slider {
  position: absolute;
  z-index:9;
  cursor: ew-resize;
  /*set the appearance of the slider:*/
  width: 40px;
  height: 40px;
  background-color: #008cb7;
  opacity: 0.7;
  border-radius: 50%;
}
.img-comp-slider:hover {
    background-color: #f1a735;
}

.compare-flex {
	display: flex;
	flex-wrap: wrap;
	width: auto;
	justify-content: space-between;
	margin: 100px 0 50px 0;
}

/*Media Query*/
@media all and (max-width: 1024px)
{
	.compare-flex {
		padding: 0 10px 0 10px;
	}
}
