* {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin:0;
  background:#FBFCFC;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

table, tr, td {
  padding:0;
  border-spacing:0;
}

a {
  text-decoration:none;
  color:#80714a;
}

.close {
  display:none;
  position:fixed;
  top:0;
  right:20px;
  height:50px;
  font-size:19.25px;
  line-height:1.265;
  letter-spacing:2px;
  align-items:center;
  z-index:3000;
}

.menu-item {
  padding:5px 0;
}

.link {
  color:#80714a;
  cursor:pointer;
  transition:color 0.5s ease;
}

p {
  margin:12.5px 0 0;
  font-size: 15.5px;
  line-height: 1.265;
  letter-spacing: 1px;
}

.carousel {
  position: fixed;
  top:50px;
  left:0;
  bottom:78px;
  width:calc(100% - 20px);
  padding:0 10px;
}

.carousel-cell {
  height:calc(100vh - 128px);
  text-align:center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.carousel-wrapper {
  height:100%;
}

.carousel-cell img {
  height: auto;
  width: auto;
  max-height:100%;
  max-width:100%;
}

.carousel-main__primary-mod, .carousel-main__secondary-mod, .carousel-secondary__mod {
  position:fixed;
  bottom:0;
  height:63px;
  font-size: 18.25px;
  letter-spacing:2px;
  line-height: 1.265;
}

.carousel-main__primary-mod span, .carousel-main__secondary-mod span, .carousel-secondary__mod span {
  padding-bottom:5px;
}

.carousel-main__primary-mod {
  left:0;
}

.carousel-main__counter__primary {
  padding-left:20px;
}

.carousel-main__secondary-mod {
  left:50%;
}

.carousel-main__counter {
  width:75px;
}

.carousel-main__title {
  width:calc(100% - 150px);
  text-align:center;
}

article {
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  opacity:0;
  transition:opacity 0.5s ease;
  background:#FBFCFC;
  visibility:hidden;
  transform:translateX(100%);
}

.scroller-container {
  position:fixed;
  overflow-y:scroll;
  -webkit-overflow-scrolling:touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scroller-container::-webkit-scrollbar {
  display: none;
}

.about-container, .index-container {
  display:none;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background:#eee;
  z-index:2000;
}

ul {
  margin:0;
  padding:0;
  list-style: none;
}

.index-grid {
  display: grid;
  grid-gap: 10px;
  grid-auto-flow: dense;
  padding:0 10px;
}

.index-grid li {
  display: block;
  position: relative;
  --cols: 1;
  --rows: 1;
  overflow: hidden;
}

.index-grid img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all .3s;
}

.button, .button img {
  width:100%;
  opacity:1;
  transition:opacity 0.5s;
  cursor:pointer;
}

.a-scroller-container {
  right:0;
  bottom:0;
  left:0;
}

.description {
  padding:0;
  display: none;
  background:#FBFCFC;
}

.description h1 {
  margin-top:0;
  margin-bottom:18.75px;
  font-family: neue-haas-unica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  line-height: 21px;
  letter-spacing:3px;
  text-align:center;
}

.description > * {
  display:none;
}

.spec-block {
  margin-bottom:25px;
}

.sub-wraps {
  margin-top:25px;
  line-height: 1.265;
  letter-spacing: 1px;
}

.sub-wraps span:nth-child(even) {
  padding-right:4px;
  color:#484848;
}

.sub-wraps span:nth-child(odd) {
  font-family: neue-haas-unica, sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.265;
  letter-spacing:1px;
}

.ref-block {
  margin-top:37.5px;
}

.about-mod-wrapper {
  padding:0 20px;
}

.about-module {
  padding: 0 0 25px;
  font-size: 15.5px;
  line-height: 1.265;
  letter-spacing: 1px;
}

.about-mod__item {
  margin-bottom:25px;
}

.about-mod__item-title {
  font-family: neue-haas-unica, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 21px;
  letter-spacing: 1px;
}

.privacy-policy {
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  height:27px;
  background:#eee;
  align-items:center;
  justify-content:space-between;
  z-index:9999;
}

.pp-widget-title, .pp-widget-close {
  line-height:1.265;
  font-size:13px;
  letter-spacing:0.5px;
}

/*D*/
@media screen and (min-width: 1100px) {
  .link:hover {
    color:#000;
  }

  .header {
    display:flex;
    position:fixed;
    top:0;
    height:50px;
    left:20px;
    font-size:19.25px;
    letter-spacing:2px;
    line-height:1.265;
    align-items:center;
    z-index:5000;
  }

  .header-mobile {
    display:none;
  }

  .index {
    display:flex;
    position:fixed;
    top:0;
    left:calc(50% + 10px);
    height:50px;
    font-size:19.25px;
    letter-spacing:2px;
    line-height:1.265;
    align-items:center;
  }

  .info {
    display:flex;
    position:fixed;
    top:0;
    left:calc(25% + 5px);
    height:50px;
    transform:translateX(-50%);
    font-size:19.25px;
    letter-spacing:2px;
    line-height:1.265;
    align-items:center;
  }

  .carousel-cell {
    width:50%;
  }

  .carousel-wrapper {
    padding:0 60px;
  }

  .carousel-main__primary-mod, .carousel-main__secondary-mod, .carousel-secondary__mod {
    display:flex;
    width:50%;
  }

  .carousel-main__counter__primary {
    padding-left:20px;
  }

  .carousel-main__title__primary {
    padding:0 10px 0 20px;
  }

  .carousel-main__counter__secondary {
    padding-left:10px;
  }

  .carousel-main__title__secondary {
    padding:0 20px 0 10px;
  }

  article .carousel {
    width:calc(50% - 10px);
    padding:0 10px;
  }

  .image-left {
    left: 0;
  }

  .image-left .carousel-secondary__counter {
    padding-left: 20px;
  }

  .image-right {
    left:calc(50% - 10px);
  }

  .counter-right {
    left:50%;
  }

  .counter-right .carousel-secondary__counter {
    padding-left: 10px;
  }

  .m-project-index-header, .ms-button-group {
    display:none;
  }

  .ds-scroller-container {
    top:50px;
    right:0;
    bottom:78px;
    left:0;
  }

  .d-scroller-container {
    top:50px;
    bottom:78px;
  }

  .description-left {
    left:0;
    width:calc(50% - 10px);
    margin-left:10px;
  }

  .description-right {
    left:50%;
    width:calc(50% - 10px);
    margin-right:10px;
  }

  .description p, .description h1, .sub-wraps {
    padding:0 80px;
  }

  .description-return-button__m {
    display:none;
  }

  .carousel-secondary__title {
    display:none;
  }

  .carousel-secondary__text-button {
    display:none;
  }

  .index-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .index-grid li {
    grid-column-start: span var(--cols);
    grid-row-start: span var(--rows);
    height: 26vw;
    background: #fff;
  }

  .index-rand__caption-container {
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:78px;
    background:#eee;
  }

  .index-rand__flex-wrap {
    display:flex;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:63px;
    font-size:18.25px;
    letter-spacing:2px;
    line-height:1.265;
  }

  .index-rand__project-index {
    padding:0 0 5px 20px;
    width:calc(6.25% - 20px);
    opacity:0.3;
  }

  .index-rand__project-title {
    width:81.25%;
    opacity:0.3;
  }

  .index-rand__image-index {
    padding:0 20px 5px 0;
    width:calc(12.5% - 20px);
    text-align:right;
    opacity:0.3;
  }

  .index-rand__items-hovered {
    opacity:1;
  }

  .index-hover {
    opacity:0.3;
  }

  .a-scroller-container {
    top:50px;
  }

  .about-mod-wrapper, .about-mod__item, .about-item {
    display: table;
  }

  .about-mod {
    display:table-cell;
    width:50%;
    padding-bottom:25px;
  }

  .about-mod__item-spacer {
    display: table-cell;
    width:50px;
  }

  .about-mod__item-title {
    display: table-cell;
    width:180px;
  }

  .about-mod__item-content {
    display: table-cell;
    padding:0 60px 0 0;
  }

  .carousel-main .disabled-button {
    opacity: .3;
    cursor: auto;
    pointer-events: none;
  }

  .pp-widget-title, .pp-widget-close {
    padding:1px 20px 4px;
  }
}

/*T/M*/
@media screen and (max-width: 1099px) {
  .header {
    display:none;
  }

  .header-mobile {
    display:flex;
    position:fixed;
    top:0;
    height:50px;
    left:20px;
    font-size:19.25px;
    letter-spacing:2px;
    line-height:1.265;
    align-items:center;
  }

  article {
    background:#eee;
  }

  .description {
    background:#eee;
  }

  .mobile-wrap {
    display:flex;
    position:fixed;
    top:0;
    right:20px;
    height:50px;
    font-size:19.25px;
    letter-spacing:2px;
    line-height:1.265;
    align-items:center;
  }

  .info, .index {
    display:flex;
    height:100%;
    align-items:center;
  }

  .index {
    margin-left:20px;
  }

  .flickity-prev-next-button.previous {
    left: 0;
  }

  .flickity-prev-next-button.next {
    right: 0;
  }

   .flickity-prev-next-button {
    width:38px;
    height:38px;
    margin:0 6px;
  }

  .flickity-prev-next-button .flickity-button-icon {
    height:16px;
    width:23px;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
  } 

  .carousel {
    position: fixed;
    top:61px;
    left:0;
    bottom:89px;
    width:calc(100% - 20px);
    padding:0 10px;
  }

  .carousel, article .carousel {
    width: calc(100% - 10px);
    padding: 0 5px;
  }

  .carousel-cell {
    width:100%;
  }

  .carousel-wrapper {
    padding:0 45px;
  }

  .carousel-main__primary-mod {
    display:flex;
    width:100%;
  }

  .carousel-main__title__primary {
    padding:0 10px;
  }

  .carousel-main__secondary-mod {
    display:none;
  }

  .carousel-secondary__mod {
    width:100%;
    display:flex;
  }

  .carousel-secondary__counter {
    width:75px;
  }

  .carousel-secondary__counter__m {
    padding-left:20px;
  }

  .carousel-secondary__title {
    width:calc(100% - 150px);
    text-align:center;
  }

  .carousel-secondary__title__m {
    padding:0 10px;
  }

  .carousel-secondary__text-button {
    width:75px;
    text-align:right;
  }

  .carousel-secondary__text-button__m {
    padding-right:20px;
  }

  .ds-button-group {
    display:none;
  }

  .description p, .description h1, .sub-wraps {
    padding:0 45px;
  }

  .description-overlay {
    position:fixed;
    top:0;
    left:100%;
    visibility:hidden;
    opacity:0;
    transition:opacity 0.5s ease;
  }

  .description-overlay-visible {
    position:fixed;
    top:0;
    left:0;
    visibility:visible;
  }

  .description-overlay-opacity {
    opacity:1;
  }

  .d-scroller-container {
    top:60px;
    bottom:0;
    width:100%;
  }

  .d-scroller-container > *:last-child {
    padding-bottom:78px;
  }


  .m-project-index-header, .description-return-button__m {
    display:none;
    position:fixed;
    top:0;
    left:20px;
    height:50px;
    align-items:center;
    font-size: 19.25px;
    letter-spacing: 2px;
    line-height: 1.265;
    z-index:4000;
  }

  .m-project-open-index-header, .description-open-return-button__m {
    display:flex;
  }

  .ms-scroller-container {
    top:60px;
    right:0;
    bottom:0;
    left:0;
  }

  .index-sort__title {
    padding: 39px 13px 10px;
    text-align:center;
    font-size:19.25px;
    line-height:1.265;
    letter-spacing:2px;
  }

  .index-sort__title:first-child {
    padding-top:0;
  }

  .index-grid {
    grid-template-columns: repeat(3, 1fr);
    padding:0 20px;
  }

  .ms-index-grid:last-child {
    margin-bottom:78px;
  }

  .index-grid li div:first-child {
    background: #fff;
  }

  .index-sort-image__wrap {
    position:relative;
    height:43.25vw;
  }

  .index-sort-image__caption {
    padding-top:6.25px;
  }

  .a-scroller-container {
    top:60px;
  }

  .about-mod:first-child {
    padding-bottom:0;
  }

  .about-mod:last-child {
    margin-bottom:78px;
  }

  .pp-widget-title, .pp-widget-close {
    padding:1px 20px 4px;
  }
}

  /*M*/
@media screen and (max-width: 539px) {
  .header-mobile, .m-project-index-header, .description-return-button__m {
    left: 15px;
    font-size: 16.25px;
    letter-spacing: 1.5px;
    line-height: 1.265;
  }

  .close, .mobile-wrap {
    right: 15px;
    font-size: 16.25px;
    letter-spacing: 1.5px;
    line-height: 1.265;
  }

  .index {
    margin-left: 15px;
  }

  .menu-item {
    padding-bottom:8px;
  }

  .index-grid {
    grid-template-columns: repeat(2, 1fr);
    padding:0 15px;
  }

  .index-sort-image__wrap {
    position:relative;
    height:64.5vw;
  }

  .carousel-main__primary-mod, .carousel-main__secondary-mod, .carousel-secondary__mod {
    font-size: 15.25px;
    letter-spacing: 1.5px;
    line-height: 1.265;
  }

  .carousel-main__counter, .carousel-secondary__counter, .carousel-secondary__text-button {
    width:55px;
  }

  .carousel-main__counter__primary, .carousel-secondary__counter__m {
    padding-left:15px;
  }

  .carousel-secondary__text-button__m {
    padding-right:15px;
  }

  .carousel-main__counter__primary, .carousel-main__title__primary, .carousel-secondary__counter__m, .carousel-secondary__title__m, .carousel-secondary__text-button__m {
    padding-top:4px;
  }

  .carousel-main__title, .carousel-secondary__title {
    width:calc(100% - 110px);
  }

  .description p, .description h1, .sub-wraps, .about-mod-wrapper {
    padding: 0 15px;
  }

  .privacy-policy span {
    padding:1px 15px 4px;
  }
}

article .carousel-cell {
  width:100%;
}

.in-view {
  transform:translateX(0%);
  visibility:visible;
  opacity:1;
}

.clickable {
  cursor:pointer;
}

.loader {
  display:none;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background:#FBFCFC;
  z-index:10000;
}
