.test-container , .test-container1 {
  height:160px;
  border: 2px solid #ccc;
  background-color: #eee;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0
}

.test-container::after {
  content: "";
  clear: both;
  display: table;
}


.test-container img {
  float: left;
  margin-top: 10px;  
  margin-right: 20px;
  border-radius: 50%;
}

.test-container1 img {
  float: left;
  margin-top: 0px;
  margin-right: 20px;
  border-radius: 0%;
}


@media (max-width: 500px) {
  .test-container {
      text-align: right;
  }
  .test-container img {
      margin: auto;
      margin-top: 20px;
      display: block;
  }
}

@media (max-width: 500px) {
  .test-container1 {
      text-align: center;
  }
  .test-container1 img {
      margin: auto;
      margin-top: 20px;
      display: block;
  }
}

/* Page Slider */
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

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

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.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 only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}