body {
/*  background: #eee;*/
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ============= Begin Testimonial Flexbox ============ */
#flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 400px;
  height: 400px;
  margin: auto;
/*  background-color: #fff;*/
/*  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);*/
  overflow: hidden;
  flex-direction: row;
  position: relative;
}

#left-zone {
  height: 50px;
  flex: 0 0 auto;
  display: flex;
  width: 100%;
}

#left-zone .list {
	height: 50px;
	display: flex;
  flex: 1 1 auto;
  justify-content: space-around;
  list-style: none;
	border-bottom: 2px solid #698b22;
	align-items: flex-end;
  align-content: stretch;
  flex-direction: row;
  margin: auto;
  padding: 0;
  box-sizing: border-box;
}

.item input {
  display: none;
}

label {
  display: block;
  opacity: 0.5;
  height: 50px;
	width: 50px;
  text-align: center;
  line-height: 50px;
  position: relative;
}

label:hover {
  opacity: 0.75;
  cursor: pointer;
}

.content-test {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(100%);
  height: 100%;
  width: 100%;
  transition: 0.5s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
}

.content-test p {
  max-width: 50%;
  text-align: center;
}

#right-zone {
  width: 100%;
  flex: 1 0 auto;
  height: 100%;
}

input:checked ~ .content-test {
  transform: translateY(0%);
  transition: transform 1s;
  opacity: 1;
}



.content_testimonial-1 .picto {
  height: 100px;
  width: 100px;
  background-image: url("../img/35%25.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.content_testimonial-2 .picto {
  height: 100px;
  width: 100px;
  background-image: url("../img/50%25.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.content_testimonial-3 .picto {
  height: 100px;
  width: 100px;
  background-image: url("../img/65%25.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.content_testimonial-4 .picto {
  height: 100px;
  width: 100px;
  background-image: url("../img/80%25.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.content_testimonial-5 .picto {
  height: 100px;
  width: 100px;
  background-image: url("../img/90%25.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.content_testimonial-6 .picto {
  height: 100px;
  width: 100px;
  background-image: url("../img/95%25.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.content-test h3:first-letter {
  text-transform:uppercase;
}

input:checked ~ label {
  opacity: 1;
  -webkit-animation: all 1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  animation: all 1s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

input:checked ~ label.label_testimonial-1 {
  color: #698b22;
  border-bottom: solid 4px #698b22;
}

input:checked ~ label.label_testimonial-2 {
  color: #698b22;
  border-bottom: solid 4px #698b22;
}

input:checked ~ label.label_testimonial-3 {
  color: #698b22;
  border-bottom: solid 4px #698b22;
}

input:checked ~ label.label_testimonial-4 {
  color: #698b22;
  border-bottom: solid 4px #698b22;
}

input:checked ~ label.label_testimonial-5 {
  color: #698b22;
  border-bottom: solid 4px #698b22;
}

input:checked ~ label.label_testimonial-6 {
  color: #698b22;
  border-bottom: solid 4px #698b22;
}

label.label_testimonial-1:before {
  content: " ";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin-left: 15px;
/*  background-image: url("https://i.postimg.cc/RFBHkG46/diamond-Pest-Logo-small.jpg");*/
  background-position: center;
  background-size: 75% 75%;
  background-repeat: no-repeat;
  border-radius: 50%;
}

label.label_testimonial-2:before {
  content: " ";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin-left: 15px;
/*  background-image: url("https://i.postimg.cc/bsqXXKCV/a-Plus-Handyman-Logo.jpg");*/
  background-position: center;
  background-size: 75% 75%;
  border-radius: 50%;
  background-repeat: no-repeat;
}

label.label_testimonial-3:before {
  content: " ";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin-left: 15px;
/*  background-image: url("https://i.postimg.cc/zV7sq04z/mod-Movers-Logo.jpg");*/
  background-position: center;
  background-size: 75% 75%;
  background-repeat: no-repeat;
  border-radius: 50%;
}

label.label_testimonial-4:before {
  content: " ";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin-left: 15px;
/*  background-image: url("https://i.postimg.cc/4Y3rypTz/ak-Pest-Control-Logo.jpg");*/
  background-position: center;
  background-size: 75% 75%;
  background-repeat: no-repeat;
  border-radius: 50%;
}

label.label_testimonial-5:before {
  content: " ";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin-left: 15px;
/*  background-image: url("https://i.postimg.cc/4Y3rypTz/ak-Pest-Control-Logo.jpg");*/
  background-position: center;
  background-size: 75% 75%;
  background-repeat: no-repeat;
  border-radius: 50%;
}

label.label_testimonial-6:before {
  content: " ";
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  margin-left: 15px;
/*  background-image: url("https://i.postimg.cc/4Y3rypTz/ak-Pest-Control-Logo.jpg");*/
  background-position: center;
  background-size: 75% 75%;
  background-repeat: no-repeat;
  border-radius: 50%;
}

label:first-letter {
  text-transform: uppercase;
}

.label_testimonial-1:hover {
/*  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#ffffff),
    to(#d64541a3)
  );
  background-image: -webkit-linear-gradient(left, #ffffff, #d64541a3);
  background-image: -o-linear-gradient(left, #ffffff, #d64541a3);
  background-image: linear-gradient(to right, #ffffff, #d64541a3);*/
  font-size: 1.2rem;
  transition: font-size 0.5s;
}

.label_testimonial-2:hover {
  font-size: 1.2rem;
  -webkit-transition: font-size 0.5s;
  -o-transition: font-size 0.5s;
  transition: font-size 0.5s;
}

.label_testimonial-3:hover {
  font-size: 1.2rem;
  -webkit-transition: font-size 0.5s;
  -o-transition: font-size 0.5s;
  transition: font-size 0.5s;
}

.label_testimonial-4:hover {
  font-size: 1.2rem;
  -webkit-transition: font-size 0.5s;
  -o-transition: font-size 0.5s;
  transition: font-size 0.5s;
}

.label_testimonial-5:hover {
  font-size: 1.2rem;
  -webkit-transition: font-size 0.5s;
  -o-transition: font-size 0.5s;
  transition: font-size 0.5s;
}

.label_testimonial-6:hover {
  font-size: 1.2rem;
  -webkit-transition: font-size 0.5s;
  -o-transition: font-size 0.5s;
  transition: font-size 0.5s;
}

p.testimonialState {
  margin-top: -5px;
  font-size: 0.8rem;
  font-style: italic;
  color: #698b22;
}

p.testimonialFrom {
  margin-top: 5px;
  font-weight: bold;
  color: #33475c;
}




@media (min-width: 480px) {
  #flex-container {
    height: 300px;
	min-height: 300px;
  }
	#left-zone {
		height: 100%;
		}
  #left-zone .list {
	  border-right: 2px solid #698b22;
	  border-bottom: 0px;
	  flex-direction: column;
	  justify-content: center;
	  align-items: flex-end;
	  height: 100%;
  }

  .content-test {
    width: 70%;
    height: 100%;
    pointer-events: auto;
    transform: translateY(-100%);
  }

  #left-zone {
    width: 33%;
  }

  #right-zone {
    height: 100%;
    width: 65%;
  }
	
	input:checked ~ label.label_testimonial-1 {
  color: #698b22;
  border-right: solid 4px #698b22;
  border-bottom: 0px;
}

input:checked ~ label.label_testimonial-2 {
  color: #698b22;
  border-right: solid 4px #698b22;
  border-bottom: 0px;
}

input:checked ~ label.label_testimonial-3 {
  color: #698b22;
  border-right: solid 4px #698b22;
  border-bottom: 0px;
}

input:checked ~ label.label_testimonial-4 {
  color: #698b22;
  border-right: solid 4px #698b22;
  border-bottom: 0px;
}

input:checked ~ label.label_testimonial-5 {
  color: #698b22;
  border-right: solid 4px #698b22;
  border-bottom: 0px;
}

input:checked ~ label.label_testimonial-6 {
  color: #698b22;
  border-right: solid 4px #698b22;
  border-bottom: 0px;
}
}
@media (min-width: 720px){
	#flex-container{
		width: 600px
	}
}
/* If the screen size is 480px or less */
/*@media (max-width: 600px) {
  .content_testimonial-1 .picto {
    padding-top: 100px;
  }
  .content_testimonial-2 .picto {
    padding-top: 100px;
  }
  .content_testimonial-3 .picto {
    padding-top: 100px;
  }
  .content_testimonial-4 .picto {
    padding-top: 100px;
  }
  .content_testimonial-5 .picto {
    padding-top: 100px;
  }
  .content_testimonial-6 .picto {
    padding-top: 100px;
  }
  .item > label {
    font-size: 1.2rem;
  }
}*/
/* ============== End Testimonial Flexbox ============= */