.ox__gad {
  padding: 20px 0;
}
.ox__gad * {
  box-sizing: border-box;
}
.ox__gad *:focus {
  outline: none;
}
.ox__btn {
  cursor: pointer;
  border-radius: 6px;
  padding: .7rem 1.5rem .7rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  border: 0px solid transparent;
  line-height: 1;
  background: #3394e6;
  color: #fff;
  border: 1px solid #1c88e3;
  transition: all 250ms ease-out;
}
.ox__btn:focus {
  box-shadow: 0px 0px transparent;
}
.ox__btn:hover {
  background: #60acec;
  color: #fff;
}
.ox__btn:active,
.ox__btn:focus {
  background: #3394e6;
  color: #fff;
  border: 1px solid #1c88e3;
}
.ox__btn:active:hover,
.ox__btn:focus:hover {
  background: #60acec;
  color: #fff;
}
.ox__input {
  padding: 0.5rem 1rem 0.5rem;
  display: inline-block;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
}
.ox__title {
  text-align: center;
  margin: 15px 0;
  padding: 0;
}
.ox__input {
  padding: 0.5rem 1rem 0.5rem;
  display: inline-block;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
}
.ox__title {
  text-align: center;
  margin: 15px 0;
  padding: 0;
}
.ox__title-big {
  font-weight: bold;
  font-size: 1rem;
}
.ox__names {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 15px;
  -ms-grid-rows: auto;
      grid-template-rows: auto;
}
.ox__names-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ox__names-item label {
  margin-bottom: 5px;
}
.ox__rezult {
  display: none;
  padding: 15px;
}
.ox__item .alignleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 16px;
}
.ox__item:after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  clear: both;
}
.allcards {
  display: flex;
  flex-wrap: wrap;
  padding-left: 32px;
  justify-content: center;
}
.allcards__item {
  background-image: url(img/rubashka.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 75px;
  height: 106px;
  cursor: pointer;
  margin-left: -32px;
  box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  transition: all 250ms ease-out;
  transform: rotateY(180deg);
  position: relative;
  z-index: 1;
}
.allcards__item.hovered {
  margin-top: -10px;
}
.allcards__item.opened {
  margin-top: -168px;
  transform: rotateY(0deg);
  margin-left: 0px;
  box-shadow: -5px 0px 10px -5px rgba(0, 0, 0, 0.5);
  position: absolute;
}
.allcards__item.opened[data-count="count_1"] {
  margin-left: -198px;
}
.allcards__item.opened[data-count="count_2"] {
  margin-left: -77px;
}
.allcards__item.opened[data-count="count_3"] {
  margin-left: 45px;
}
.allcards__item.opened[data-count="count_4"] {
  margin-left: 166px;
}
.ox_glaz {
  width: 170px;
  opacity: 1;
  transition: all 750ms ease-out;
}
.card-position {
  max-width: 420px;
  width: 100%;
  margin: 0 auto 20px;
  position: relative;
  text-align: center;
  padding-top: 160px;
  padding-bottom: 120px;
}
.card-position__item {
  width: 106px;
  position: absolute;
}
.card-position__item:nth-child(1) {
  top: 0;
  left: calc(50% - 53px);
}
.card-position__item:nth-child(2) {
  bottom: 0;
  left: 0;
}
.card-position__item:nth-child(3) {
  bottom: 0;
  right: 0;
}
.card-position__card {
  width: 100%;
  padding-top: 149px;
  background-color: transparent;
  margin: 0 auto;
  border: 5px solid transparent;
  background-image: url('img/rubashka-back.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.card-position__desc {
  background: #fff;
  padding-top: 5px;
  text-align: center;
  font-size: 14px;
}
.show__card {
  background-image: url(img/rubashka.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 75px;
  height: 106px;
  cursor: pointer;
  margin-left: 0px;
  box-shadow: 5px 0px 10px -5px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  transform: rotateY(180deg);
  position: absolute;
  opacity: 0;
}
.show__card.opened {
  margin-top: -168px;
  opacity: 1;
  transform: rotateY(0deg);
  margin-left: 0px;
  box-shadow: -5px 0px 10px -5px rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: 2;
  width: 106px;
  height: 149px;
}
.show__card.opened[data-count="count_1"] {
  margin-left: -36px;
  margin-top: -468px;
}
.show__card.opened[data-count="count_2"] {
  margin-left: -351px;
  margin-top: -176px;
}
.show__card.opened[data-count="count_3"] {
  margin-left: 284px;
  margin-top: -176px;
}
.btns {
  text-align: center;
  margin: 20px auto;
}
.ox_smalltext {
  display: block;
  font-size: 1rem;
}
#ox__rezult {
  display: none;
  max-width: 750px;
  margin: 0 auto;
  border: 1px solid #262626;
  border-radius: 5px;
  padding: 5px 15px;
}
.rezult-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto;
      grid-template-rows: auto;
  -ms-grid-columns: 150px calc(100% - 150px - 2rem);
      grid-template-columns: 150px calc(100% - 150px - 2rem);
  grid-gap: 2rem;
  margin: 1rem auto 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #262626;
}
.rezult-list__img {
  position: relative;
  height: 200px;
}
.rezult-list__img img {
  width: 115px;
}
.rezult-list__title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.rezult-list__cardtitle {
  background: #e6e6e6;
  padding: 10px 15px;
  -ms-grid-column: span 2;
      grid-column: span 2;
  font-weight: bold;
  font-size: 1.1rem;
}

.rezult-list__content {
	font: normal 16px/1.5 Arial, Helvetica, sans-serif;
}

@media (min-width: 767px) {
  .show__card {
    transition: all 250ms ease-out;
  }
}
@media (max-width: 767px) {
  .ox__names {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .ox__title {
    font-size: 1.35rem;
  }
  .ox__title {
    font-size: 1.35rem;
  }
  .ox__title-big {
    font-size: 1.5rem;
  }
  .allcards {
    max-width: 299px;
    margin: 0 auto;
  }
  .allcards__item.opened[data-count="count_1"] {
    margin-top: -331px;
    margin-left: -81px;
  }
  .allcards__item.opened[data-count="count_2"] {
    margin-top: -331px;
    margin-left: 49px;
  }
  .allcards__item.opened[data-count="count_3"] {
    margin-left: -81px;
  }
  .allcards__item.opened[data-count="count_4"] {
    margin-left: 49px;
  }
  .ox_glaz {
    width: 120px;
  }
  .card-position {
    width: 270px;
    padding-top: 110px;
    padding-bottom: 50px;
  }
  .card-position__item {
    width: 75px;
  }
  .card-position__item:nth-child(1) {
    left: calc(50% - 37.5px);
  }
  .card-position__card {
    padding-top: 106px;
  }
  .show__card.opened {
    width: 75px;
    height: 106px;
  }
  .show__card.opened[data-count="count_1"] {
    margin-left: -16px;
    margin-top: -298px;
  }
  .show__card.opened[data-count="count_2"] {
    margin-left: -113px;
    margin-top: -131px;
  }
  .show__card.opened[data-count="count_3"] {
    margin-left: 83px;
    margin-top: -131px;
  }
  .rezult-list {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
    grid-gap: .5rem;
  }
  .rezult-list__img {
    text-align: center;
  }
  .rezult-list__title {
    text-align: center;
    font-size: 1.35rem;
    width: 100%;
  }
  .rezult-list__cardtitle {
    -ms-grid-column: span 1;
    grid-column: span 1;
    text-align: center;
    font-size: 1.35rem;
  }
}
