/* ==========================================================================
   hero.css  -  teasers, headlines, home slider and hero text from custom_1.css.
   ========================================================================== */

.home-title {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 100;
  line-height: 2.4rem;
  text-align: left;
  margin: 10px 0 25px !important;
}

.themag-layout--onecol-section .row.hero-image {
	margin-top: 4rem;
}

/* Large Teaser Card */

.teaser__headline {
      font-size: 1.5rem;
  }

.teaser__content {
      padding-top: .1rem;
      text-align: center;
    }

.teaser__body {
    display: none;
      display: block;
      margin-top: .1rem;
      padding-left: 0rem;
      padding-right: 1rem;
      font-size: .8889rem;
      line-height: 1.2rem;
  }

.teaser--large-card h2 {
	font-family: var(--font-body);
	text-align: left;
	font-size: .9rem !important;
}

.teaser--large-card a {
	font-family: var(--font-body);
	color: var(--color-text);
}

.teaser--large-card .teaser__content {
    padding-top: .5rem;
    text-align: left;
}

.teaser--card .teaser__content {
	padding: .4rem 1.5rem 0 0;
}

.teaser__media::after {
	background: rgb(89,89,89);
    background: linear-gradient(90deg, rgba(89,89,89,0.6) 0%, rgba(121,121,121,0.4) 22%, rgba(0,212,255,0) 44%);
	z-index:2;
	height:100%;
}

.home-slider img::after {
	background: rgb(89,89,89);
    background: linear-gradient(90deg, rgba(89,89,89,0.6) 0%, rgba(121,121,121,0.4) 22%, rgba(0,212,255,0) 44%);
	z-index:2;
	height:100%;
}

.title.banner p {
    color: var(--color-brand);
    padding-bottom: 0;
    margin-bottom: 0;
    font-family: var(--font-heading);
	font-size: 1.08rem;
}

.path-frontpage .container.teaser__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50%;
    text-align: center;
    overflow-y: hidden;
    animation-name: xv-appear-2;
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-delay: 0.00001s;
    z-index: 3;

}

.container.teaser__content {
    max-width: 50%;
    text-align: right;
    top: 10px;

    position: absolute;

    align-items: top;
	overflow-y: hidden;
  font-size: 2.5rem;
	
	animation-name: xv-appear-2;
    animation-duration: 6s;
	animation-timing-function: ease-in-out;
	animation-delay: .00001s;
	z-index: 3;

}

.container.headline__title {
    max-width: 50%;
    text-align: left;
    top: 10px;

    position: absolute;
    align-items: top;
	overflow-y: hidden;
	
	animation-name: xv-appear-2;
    animation-duration: 5s;
	animation-timing-function: ease-in-out;
	animation-delay: .00001s;
	z-index: 3;

}

.container.headline__title a,
.container.headline__title a:hover,
.container.headline__title a:active {
	color: var(--color-text-inverse);
	text-decoration: none;
}

.container.headline__button {
    text-align: left;
    bottom: 10px;

    position: absolute;
    align-items: baseline;
	overflow-y: hidden;
	
	overflow-x: hidden;
	max-width: 50%;
	
	animation-name: xv-appear-2;
    animation-duration: 6s;
	animation-timing-function: ease-in-out;
	animation-delay: .00001s;
	z-index: 3;

}

.container.teaser__content.brand {
    /*max-width: 100%;*/
    text-align: center;
	position: absolute;
    top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
    align-items:center;
	overflow-y: hidden;
	max-width: 20vw;
/*	min-height: 100px !important;*/
	/*animation: animate__zoomIn 3s;*/
	/*animation: appear 14s ease-in ;*/ /*alternate backwards*/
	
	animation-name: xv-appear;
    animation-duration: 6s;
	animation-timing-function: ease-in-out;
	animation-delay: .00001s;
	z-index: 3;
}

.teaser__content.hometext {
      /*animation: xv-appear-2 linear 6s;*/
	z-index: 3;
}

.image__gradient:after {
	animation-name: xv-appear-2;
    animation-duration: 6s;
	animation-timing-function: ease-in-out;
	animation-delay: .00001s;
	
	z-index: 2;
}

.hero-headline {
	margin-top: 10px !important;
    margin-left: 10px !important;
	
}

@media (max-width: 767px) {
  .container.teaser__content.video {
  		display: block;
  		top: 30px;
  		position: absolute;
  	}

  .teaser__content.brand {
  		display: block;
  		max-width: 30vw;
      }
}

/*.block--views-block:mg-single-item-slider-block-6 .container.teaser__content  {
margin-top: 0 !important;
top: 0 !important;
margin-left: 0 !important;
align-items: top;
background: rgb(89,89,89);
background: linear-gradient(90deg, rgba(89,89,89,0.6) 0%, rgba(121,121,121,0.4) 22%, rgba(0,212,255,0) 44%);
z-index: 2;
height: 100%;
}*/

h2.headline-slider {
    color: var(--color-text-inverse);
    font-family: var(--font-display);
    font-size: 4.5em;
    margin: 0 auto;
    line-height: 6rem;
    white-space: nowrap;
    overflow: hidden;
    top: -20vh;
    position: relative;
    width: 100%;
	 /* added animation property to show the character one at a time*/
    /*animation: ease-in 10s*/ /*alternate backwards*/;
}

h2.headline-slider.small {
    color: var(--color-text-inverse);
    font-family: var(--font-display);
    font-size: 3em;
    margin: 0 auto;
    line-height: 5rem;
    white-space: nowrap;
    overflow: hidden;
    top: 0;
    width: 100%;
    /*animation: type 10s*/ /*alternate backwards*/;
}

@media (max-width: 850px) {
  h2.headline-slider {
  		font-size: 4.5em;
      }

  h2.headline-slider.small {
  		font-size: 2.5em;
      }
}

.slider-caption {
font-family: var(--font-display);
position: absolute;
bottom: 0vh;
left: 0vw;
display: inline-block;
color: white;
font-size: 1.4em;
font-weight: 200;
background: var(--color-surface);
padding: 2px 7px;
}

@media (max-width: 550px) {
  .slider-caption {
  		font-size: 1.2em;
          display: inline-block;
      }
}

@media (max-width: 450px) {
  .slider-caption {
  		display:none;
      }
}

.teaser__headline--light,
.teaser__headline--light a {
    color: var(--color-text-inverse);
    font-family: var(--font-display);
	text-align: left;
}

.teaser__headline--large {
  font-size: 1.7rem;
}

@media (min-width: 576px) and (max-width: 767px) {
  .teaser__headline--large {
      font-size: 1.8rem;
  	  line-height: 1.1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
  .teaser__headline--large {
      font-size: 1.9rem;
  	  line-height: 1.1;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .teaser__headline--large {
      font-size: 2.1rem;
  	  line-height: 1.2;
    }
}

@media screen and (min-width: 1200px) {
  .teaser__headline--large {
      font-size: 2.3rem;
  	  line-height: 1.3;
    }
}

.teaser__headline--large > .ml-lg-auto,
.teaser__headline--large > .mx-lg-auto {
margin-left: 0 !important;
}

.slide__description {
    color: rgba(249,249,249,1.00);
    text-shadow: 1px 4px 4px 0 rgba(0,0,0,0.1);
    font-size: 2.2em !important;
    font-family: "Brandon Grotesque","Raleway",sans-serif !important;
    font-weight: 100;  
}

.slide__caption {
    content: "";
}

.slide__caption:before {
    display: block;
    background-image: url(/sites/default/files/lp2022.svg);
    background-size: 200px;  
}

/* image wrap person */

div#front .front-caption p {
    position: relative;
    padding: 0 15px;
    font-size: 18px;
}

@media (min-width: 1170px) {
  div#front .front-caption p {
          font-size: 20px;
          font-weight: 300;
      }
}

@media (max-width: 768px) {
  .rooms-and-spaces-group__slider-container {
          width: 100vw;
          position: relative;
          left: 50%;
          right: 50%;
          margin-left: -50vw;
          margin-right:-50vw
      }
}

.rooms-and-spaces-group__slider {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 0;
    margin-right:0
}

@media (min-width: 767px) {
  .rooms-and-spaces-group__slider {
          margin-left: -8px;
          margin-right:-8px
      }
}

@media (min-width: 992px) {
  .rooms-and-spaces-group__slider {
          margin-left: -12px;
          margin-right:-12px
      }
}

@media (max-width: 768px) {
  .rooms-and-spaces-group__slider {
          overflow-x: scroll;
          flex-wrap: nowrap;
          align-items: stretch;
          -ms-scroll-snap-type: x mandatory;
          scroll-snap-type: x mandatory;
          -webkit-overflow-scrolling:touch
      }
}

.amenity-single__headline {
    font-weight:700
}

.property-headline-expanded {
    border-bottom: 1px solid #ddddde;
    padding-bottom: 16px;
    display: flex;
    align-items: flex-start;
    justify-content:space-between
}

@media (max-width: 1199px) {
  .property-headline-expanded {
          flex-direction:column
      }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .property-headline-expanded {
          border-bottom: none;
          margin-bottom:0
      }
}

@media (max-width: 480px) {
  .List--toi-headline {
          margin-bottom:8px
      }
}

@media (min-width: 992px) {
  .blazy--field-designer-hero {
  	margin-right: 5vw;
  	}
}

/*.caption {
	font-size: .9rem !important;
}*/
/* hero overlay */

.teaser__media.image__gradient:after {
    content:"";
    position:absolute;
    left:0; top:0;
    width:100%; height:100%;
    display:inline-block;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 30%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 30%, rgba(255,255,255,0) 100%);
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 30%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#313136",endColorstr="#ffffff",GradientType=1);
/*	animation-name: xv-appear-3;
    animation-duration: 6s;
	animation-timing-function: ease-in-out;*/
	z-index: 2;
}

/*.image__gradient.brand:after {
    content:'';
    position:absolute;
    left:0; top:0;
    width:100%; height:100%;
    display:inline-block;
    background: var(--color-surface);
    background: -moz-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 65%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 65%, rgba(255,255,255,0) 100%);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 65%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
	animation-name: xv-appear-2;
    animation-duration: 5s;
}*/

.image__gradient img {
  display:block;
	z-index: 1
}

.image__gradient h2 {
	z-index: 3
}

.mailchimp-newsletter__teaser {
  margin-bottom: 1rem;
  line-height: 1.3;
}
