/****************************
            STYLES
****************************/
.no-animation * {
  -webkit-animation-duration: 1ms !important;
  -moz-animation-duration: 1ms !important;
  -o-animation-duration: 1ms !important;
  -ms-animation-duration: 1ms !important;
  animation-duration: 1ms !important;
  -webkit-transition-duration: 1ms !important;
  -moz-transition-duration: 1ms !important;
  -o-transition-duration: 1ms !important;
  transition-duration: 1ms !important;
}
.card-deck {
  display: none;
}
.card-table {
  position: relative;
}
.card-unit {
  position: absolute;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .card-unit {
    width: 21vw;
  }
}
@media (max-width: 1023px) {
  .card-unit {
    width: 47vw;
  }
}
@media (max-width: 599px) {
  .card-unit {
    width: 95vw;
  }
}
.card-unit:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #191919;
  width: 20px;
  -webkit-animation: cardFirstShow 1200ms ease 700ms 1 normal;
  animation: cardFirstShow 1200ms ease 700ms 1 normal;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
@media (min-width: 1024px) {
  .card-unit.size-full {
    height: 47vh;
  }
}
@media (max-width: 1023px) {
  .card-unit.size-full {
    height: card-large-m;
  }
}
@media (max-width: 599px) {
  .card-unit.size-full {
    height: 150px;
  }
}
@media (min-width: 1024px) {
  .card-unit.size-half {
    height: 31.5vh;
  }
}
@media (max-width: 1023px) {
  .card-unit.size-half {
    height: 200px;
  }
}
@media (max-width: 599px) {
  .card-unit.size-half {
    height: 150px;
  }
}
@media (min-width: 1024px) {
  .card-unit.size-quarter {
    height: 12vh;
  }
}
@media (max-width: 1023px) {
  .card-unit.size-quarter {
    height: 200px;
  }
}
@media (max-width: 599px) {
  .card-unit.size-quarter {
    height: 150px;
  }
}
.card-unit.type-default {
  opacity: 1;
}
.card-unit.type-default:before {
  content: '';
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 40;
  background-color: rgba(0,0,0,0.3);
  -webkit-transition: all 1s;
  transition: all 1s;
}
.card-unit.current:before {
  opacity: 1;
}
.card-unit .cover {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}
.card-unit .cover.type-video video,
.card-unit .cover.type-video img,
.card-unit .cover.type-image img {
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover; object-position: center center;';
}
.card-unit .cover.type-video img {
  display: none;
}
@media (max-width: 599px) {
  .card-unit .cover.type-video video {
    display: none;
  }
  .card-unit .cover.type-video img {
    display: block;
  }
}
.card-unit .cover.type-image a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
.card-unit .cover.type-image a:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 45;
  background: -webkit-linear-gradient(bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.2) 80px);
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2) 80px);
}
.card-unit .title,
.card-unit .title a {
  font-family: "AGopt", sans-serif;
  font-size: 2.2vw;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 1px 1px 1px #333;
}
@media (max-width: 599px) {
  .card-unit .title,
  .card-unit .title a {
    font-size: 1.5em;
  }
}
.card-unit .title {
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  z-index: 50;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.card-unit .area-living,
.card-unit .area-land {
  position: absolute;
  bottom: 1.3vw;
  z-index: 50;
  font-family: "AGopt", sans-serif;
  font-size: 1vw;
  text-shadow: 1px 1px 1px #333;
}
@media (max-width: 599px) {
  .card-unit .area-living,
  .card-unit .area-land {
    font-size: 1em;
  }
}
.card-unit .area-living {
  left: 1.5vw;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}
.card-unit .area-land {
  right: 1.5vw;
  color: #ccc;
}
.card-logo a {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: hidden;
  width: 25vw;
  height: 19vh;
  max-height: 100%;
  background: url("../img/agalarov-logo-full.svg") center/contain no-repeat;
  font-size: 0;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: all 1s;
  transition: all 1s;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
@media (max-width: 599px) {
  .card-logo a {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .animate-default-residence .card-residence {
    -webkit-animation: cardResidenceS1 1000ms ease 500ms 1 normal;
    animation: cardResidenceS1 1000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
  .animate-default-residence .card-genplan {
    -webkit-animation: cardGenplanS1 3000ms ease 500ms 1 normal;
    animation: cardGenplanS1 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
  .animate-default-residence .card-land {
    -webkit-animation: cardLandS1 1000ms ease 1500ms 1 normal;
    animation: cardLandS1 1000ms ease 1500ms 1 normal;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
  .animate-default-residence .card-logo {
    -webkit-animation: cardLogoS1 1000ms ease 2500ms 1 normal;
    animation: cardLogoS1 1000ms ease 2500ms 1 normal;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
  }
  .animate-default-residence .card-logo a,
  .arragement-residence .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .arragement-residence .card-residence {
    top: 0;
    height: 12vh;
  }
  .arragement-residence .card-genplan {
    top: 0;
    left: 46vw;
    height: 12vh;
  }
  .arragement-residence .card-land {
    top: 0;
    left: 69vw;
    height: 31.5vh;
  }
  .arragement-residence .card-logo {
    top: 0;
    left: 23vw;
    height: 12vh;
  }
  .arragement-residence .card-apartment {
    top: 35vh;
    left: 69vw;
    height: 47vh;
  }
  .animate-residence-land .card-residence {
    -webkit-animation: cardResidenceS2 3000ms ease 500ms 1 normal;
    animation: cardResidenceS2 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-residence-land .card-land {
    -webkit-animation: cardLandS2 3000ms ease 500ms 1 normal;
    animation: cardLandS2 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-residence-land .card-apartment {
    -webkit-animation: cardApartmentS2 3000ms ease 500ms 1 normal;
    animation: cardApartmentS2 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    left: 69vw;
  }
  .animate-residence-land .card-logo,
  .arragement-land .card-logo,
  .arragement-apartment .card-logo {
    top: 0;
    left: 23vw;
    height: 12vh;
  }
  .animate-residence-land .card-logo a,
  .arragement-land .card-logo a,
  .arragement-apartment .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .animate-residence-land .card-genplan,
  .arragement-land .card-genplan,
  .arragement-apartment .card-genplan {
    top: 0;
    left: 46vw;
    height: 12vh;
  }
  .animate-residence-apartment .card-apartment {
    -webkit-animation: cardApartmentS3 3000ms ease 500ms 1 normal;
    animation: cardApartmentS3 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-residence-apartment .card-residence {
    -webkit-animation: cardResidenceS3 3000ms ease 500ms 1 normal;
    animation: cardResidenceS3 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-residence-apartment .card-logo {
    top: 0;
    left: 23vw;
    height: 12vh;
  }
  .animate-residence-apartment .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .animate-residence-apartment .card-genplan {
    top: 0;
    left: 46vw;
    height: 12vh;
  }
  .animate-residence-apartment .card-land {
    top: 0;
    left: 69vw;
    height: 31.5vh;
  }
  .animate-default-land .card-residence {
    -webkit-animation: cardResidenceS4 3000ms ease 500ms 1 normal;
    animation: cardResidenceS4 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-land .card-land {
    -webkit-animation: cardLandS4 3000ms ease 500ms 1 normal;
    animation: cardLandS4 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-land .card-genplan {
    -webkit-animation: cardGenplanS4 3000ms ease 500ms 1 normal;
    animation: cardGenplanS4 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-land .card-apartment {
    -webkit-animation: cardApartmentsS4 3000ms ease 500ms 1 normal;
    animation: cardApartmentsS4 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-land .card-logo {
    -webkit-animation: cardLogoS4 3000ms ease 500ms 1 normal;
    animation: cardLogoS4 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-land .card-logo a,
  .arragement-land .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .arragement-land .card-residence {
    top: 0;
    left: 69vw;
    height: 31.5vh;
  }
  .arragement-land .card-land {
    left: 0vw;
    top: 0;
    height: 12vh;
  }
  .arragement-land .card-apartment {
    top: 35vh;
    left: 69vw;
    height: 47vh;
  }
  .animate-land-apartment .card-land {
    -webkit-animation: cardLandS5 3000ms ease 500ms 1 normal;
    animation: cardLandS5 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-land-apartment .card-apartment {
    -webkit-animation: cardApartmentS5 3000ms ease 500ms 1 normal;
    animation: cardApartmentS5 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-land-apartment .card-residence {
    -webkit-animation: cardResidenceS5 3000ms ease 500ms 1 normal;
    animation: cardResidenceS5 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-land-apartment .card-logo {
    top: 0;
    left: 23vw;
    height: 12vh;
  }
  .animate-land-apartment .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .animate-land-apartment .card-genplan {
    top: 0;
    left: 46vw;
    height: 12vh;
  }
  .animate-land-residence .card-land {
    -webkit-animation: cardLandS6 3000ms ease 500ms 1 normal;
    animation: cardLandS6 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-land-residence .card-residence {
    -webkit-animation: cardResidenceS6 3000ms ease 500ms 1 normal;
    animation: cardResidenceS6 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-land-residence .card-apartment {
    -webkit-animation: cardApartmentS6 3000ms ease 500ms 1 normal;
    animation: cardApartmentS6 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    left: 69vw;
  }
  .animate-land-residence .card-logo {
    top: 0;
    left: 23vw;
    height: 12vh;
  }
  .animate-land-residence .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .animate-land-residence .card-genplan {
    top: 0;
    left: 46vw;
    height: 12vh;
  }
  .animate-default-apartment .card-residence {
    -webkit-animation: cardResidenceS7 3000ms ease 500ms 1 normal;
    animation: cardResidenceS7 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-apartment .card-land {
    -webkit-animation: cardLandS7 3000ms ease 500ms 1 normal;
    animation: cardLandS7 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-apartment .card-genplan {
    -webkit-animation: cardGenplanS7 3000ms ease 500ms 1 normal;
    animation: cardGenplanS7 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-apartment .card-apartment {
    -webkit-animation: cardApartmentS7 3000ms ease 500ms 1 normal;
    animation: cardApartmentS7 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-apartment .card-logo {
    -webkit-animation: cardLogoS7 3000ms ease 500ms 1 normal;
    animation: cardLogoS7 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-default-apartment .card-logo a,
  .arragement-apartment .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .arragement-apartment .card-residence {
    top: 35vh;
    left: 69vw;
    height: 47vh;
  }
  .arragement-apartment .card-land {
    left: 69vw;
    top: 0;
    height: 31.5vh;
  }
  .arragement-apartment .card-apartment {
    top: 0;
    left: 0vw;
    height: 12vh;
  }
  .animate-apartment-land .card-land {
    -webkit-animation: cardLandS8 3000ms ease 500ms 1 normal;
    animation: cardLandS8 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-apartment-land .card-apartment {
    -webkit-animation: cardApartmentS8 3000ms ease 500ms 1 normal;
    animation: cardApartmentS8 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-apartment-land .card-residence {
    -webkit-animation: cardResidenceS8 3000ms ease 500ms 1 normal;
    animation: cardResidenceS8 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-apartment-land .card-logo {
    top: 0;
    left: 23vw;
    height: 12vh;
  }
  .animate-apartment-land .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .animate-apartment-land .card-genplan {
    top: 0;
    left: 46vw;
    height: 12vh;
  }
  .animate-apartment-residence .card-apartment {
    -webkit-animation: cardApartmentS9 3000ms ease 500ms 1 normal;
    animation: cardApartmentS9 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-apartment-residence .card-residence {
    -webkit-animation: cardResidenceS9 3000ms ease 500ms 1 normal;
    animation: cardResidenceS9 3000ms ease 500ms 1 normal;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .animate-apartment-residence .card-logo {
    top: 0;
    left: 23vw;
    height: 12vh;
  }
  .animate-apartment-residence .card-logo a {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .animate-apartment-residence .card-genplan {
    top: 0;
    left: 46vw;
    height: 12vh;
  }
  .animate-apartment-residence .card-land {
    top: 0;
    left: 69vw;
    height: 31.5vh;
  }
}
@media (max-width: 1023px) {
  .card-logo {
    left: 0vw;
    top: 0;
    height: 200px;
  }
  .card-residence {
    left: 50vw;
    top: 0;
    height: 200px;
  }
  .card-land {
    left: 0vw;
    top: 220px;
    height: 200px;
  }
  .card-genplan {
    display: none;
  }
  .card-apartment {
    left: 50vw;
    top: 220px;
    height: 200px;
  }
}
@media (max-width: 599px) {
  .card-logo {
    left: 0;
    top: 0;
    height: 150px;
  }
  .card-residence {
    left: 0;
    top: 170px;
    height: 150px;
  }
  .card-land {
    left: 0;
    top: 340px;
    height: 150px;
  }
  .card-apartment {
    left: 0;
    top: 510px;
    height: card-small-P;
  }
  .card-genplan {
    display: none;
  }
}
