/**
 * Product modal 
 */
.product-modal {
  width: 1280px;
  padding: 44px 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.product-modal__wrapper {
  background-color: #fff;
  padding: 27px 48px;
}

.product-modal-view {
  width: 800px;
  float: left;
  padding-top: 4px;
}

.product-modal-sidebar {
  width: calc(100% - 847px);
  margin-left: 3.96%;
  float: right;
}

/* p_modal_objects */
.product-modal-objects__top {
  position: relative;
  padding-bottom: 8px;
}

.product-modal-objects__title {
  margin-right: 50px;
}

.product-modal-objects__nav {
  position: absolute;
  right: 0;
  top: 1px;
}

.slider-nav-small {
  display: inline-block;
  vertical-align: top;
  width: 20px;
  height: 20px;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-image: url("../img/products/modal/modal_product_icons.png");
  opacity: 0.41;
  transition: opacity 0.25s;
}
.slider-nav-small.prev {
  background-position: -147px -24px;
}
.slider-nav-small.next {
  background-position: -173px -24px;
}
.slider-nav-small.slick-disabled {
  opacity: 0.15;
}
.slider-nav-small.slick-disabled:hover {
  opacity: 0.15;
}
.slider-nav-small:hover {
  opacity: 1;
}

.product-modal-objects__nav {
  width: 50px;
  float: right;
  font-size: 0;
  text-align: right;
}
.product-modal-objects__nav .slider-nav-small {
  margin-left: 5px;
}

.product-modal-objects__item {
  margin-left: 8px;
  margin-right: 8px;
  overflow: hidden;
  font-size: 0;
}

.product-modal-objects__item-inner {
  margin-left: -5px;
  margin-right: -4px;
}

.product-modal-objects__link {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding-left: 5px;
  padding-right: 4px;
  margin-bottom: 8px;
}
.product-modal-objects__link img {
  width: 100%;
  height: auto;
}

/* p_modal_top*/
.product-modal {
  color: #000;
}
.product-modal-top {
  overflow: hidden;
  position: relative;
  padding-bottom: 22px;
}
.product-modal__heading {
  margin-right: 200px;
  font-size: 25px;
  line-height: 1.4285em;
}
.product-modal__share {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  padding-top: 7px;
}

/**
 * p_modal_seam_color_brands
 */
.product-modal-seam-colors {
  position: relative;
}
.product-modal-seam-colors .seam-color__title {
  margin-right: 200px;
  font-size: 14px;
}

.seam-color__brands {
  font-size: 0;
  text-align: right;
  width: 200px;
  position: absolute;
  top: 2px;
  right: 0;
}

.seam-color__brand {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.2em;
  margin-left: 12px;
}
.seam-color__brand:first-child {
  margin-left: 0;
}
.seam-color__brand.active .seam-color__brand-link {
  color: #000;
  cursor: default;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.seam-color__brand.active .seam-color__brand-link:hover, .seam-color__brand.active .seam-color__brand-link:active, .seam-color__brand.active .seam-color__brand-link:focus {
  cursor: default;
  border-bottom: 1px dashed transparent;
}

.seam-color__brand-link {
  color: #969696;
  text-decoration: none;
  border-bottom: 1px dashed #969696;
  display: inline-block;
  padding-bottom: 0px;
  line-height: 0.9em;
}
.seam-color__brand-link:hover, .seam-color__brand-link:active, .seam-color__brand-link:focus {
  color: #000;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dashed #000;
}

.seam-color__container-in {
  display: none;
}
.seam-color__container-in.active {
  display: block;
}

.product-modal-sidebar .seam-color {
  margin-bottom: 32px;
}

.product-modal-objects__slider,
.product-modal-view__photos {
  display: none;
}
.product-modal-objects__slider.slick-initialized,
.product-modal-view__photos.slick-initialized {
  display: block;
}

.product-modal-view .slick-slide img {
  max-width: 100%;
  height: auto;
}

.product-modal-objects__slider.slick-slider {
  margin-left: -8px;
  margin-right: -8px;
}

.product-modal-view__photos .slick-prev,
.product-modal-view__photos .slick-next {
  /* width: 43px;
  height: 43px; */
  width: 36px;
  height: 34px;
}
.product-modal-view__photos .slick-prev:before,
.product-modal-view__photos .slick-next:before {
  /* width: 43px;
  height: 43px; */
  width: 36px;
  height: 34px;
  /*background-image: url("../img/products/modal/modal_product_icons.png");*/
  background-image: url('./fancybox/fancybox_sprite.png');
}

.product-modal-view__photos .slick-prev {
  left: 25px;
}
.product-modal-view__photos .slick-prev:before {
  /*background-position: -38px 0;*/
  background-position: 0 -36px;
}

.product-modal-view__photos .slick-next {
  right: 25px;
}
.product-modal-view__photos .slick-next:before {
  /*background-position: -92px 0;*/
  background-position: 0 -72px;
}

.product-modal-seam-colors .seam-color__item {
  width: calc(20% - 10px);
}

.product-modal-seam-colors .seam-color__item img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1300px) {
  .product-modal {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .product-modal-view {
    width: 60%;
  }

  .product-modal-sidebar {
    width: 40%;
    margin-left: 0;
    padding-left: 32px;
  }

  .seam-color__brands {
    width: 160px;
  }

  .product-modal-seam-colors .seam-color__title {
    margin-right: 160px;
  }

  .product-modal-sidebar .seam-color {
    margin-bottom: 32px;
  }
}

@media screen and (max-width: 1024px) {
  .product-modal-view {
    width: 64%;
    margin-left: 18%;
    margin-right: 18%;
    float: none;
    padding-bottom: 24px;
  }

  .product-modal-sidebar {
    width: 100%;
    float: none;
    overflow: hidden;
  }

  .product-modal-sidebar .seam-color {
    width: 40%;
    float: left;
  }

  .product-modal-objects {
    width: 60%;
    float: left;
    padding-left: 40px;
  }

  .product-modal-objects__link {
    width: 33.33%;
  }
}

@media screen and (max-width: 1023px) {
  .product-modal {
    padding-left: 0;
    padding-right: 0;
  }

  .product-modal-sidebar {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .product-modal__wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media screen and (max-width: 767px) {
  .product-modal__heading {
    margin-right: 0;
  }

  .product-modal__share {
    position: static;
    padding-top: 12px;
  }
}

@media screen and (max-width: 650px) {
  .product-modal-sidebar .seam-color {
    width: 100%;
    max-width: 310px;
    float: left;
    margin-bottom: 24px;
  }

  .product-modal-objects {
    width: 100%;
    float: left;
    padding-left: 0;
  }
}

@media screen and (max-width: 480px) {
  .product-modal-view {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }  
}