.vanilla-zoom {
  width: 100%;
  /*display: flex;*/
}

.vanilla-zoom .sidebar {
  /*flex-basis: 30%;*/
  width: 100%;
  display: flex;
  /*flex-direction: column;*/
}

.vanilla-zoom .sidebar img.small-preview {
  width: 60px;
  margin-right: 5px;
  cursor: pointer;
  opacity: .5;
}

.vanilla-zoom .sidebar img.small-preview.active, .vanilla-zoom .sidebar img.small-preview:hover {
  opacity: 1;
}

.vanilla-zoom .sidebar img.small-preview:last-child {
  margin-right: 0;
}

.vanilla-zoom .zoomed-image {
  width: 100%;
  height: 300px;
  flex: 1;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  margin-bottom: 5px;
}

@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

  /* Force table to not be like tables anymore */
  table, thead, tbody, th, td, tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  /*tr { border: 1px solid #ccc; }*/

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 60%;
  }

  td:before {
    /* Now like a table header */
    /*position: absolute;*/
    /* Top/left values mimic padding */
    /*top: 6px;*/
    /*left: 6px;*/
    width: 45%;
    padding-right: 10px;
    /*white-space: nowrap;*/
  }

  tr {
    border-bottom-width: 2px
  }

  /*
  Label the data
  */

  .t1:nth-of-type(n):before { content: "Вид образуемого отхода:"; }
  .t2:nth-of-type(n):before { content: "Объем образуемого отхода:"; }
  .t3:nth-of-type(n):before { content: "Плотность отхода:"; }
  .t4:nth-of-type(n):before { content: "Стоимость утилизации на выбраном полигоне:"; }
  .t5:nth-of-type(n):before { content: "Выбор необходимой техники:"; }
  .t6:nth-of-type(n):before { content: "Стоимость транспортировки:"; }
}