/* general */
@font-face {
	font-family: AvenirUltraLight;
	src: url('../webfonts/AvenirNext-UltraLight.ttf');
	font-weight: light;
}

@font-face {
	font-family: AvenirLight;
	src: url('../webfonts/AvenirNextLTPro-Regular.otf');
	font-weight: light;
}

@font-face {
	font-family: AvenirBold;
	src: url('../webfonts/AvenirNextLTPro-Bold.otf');
	font-weight: light;
}

body { margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-weight: bold; }

.logo { max-width: 250px; }
.nav-link { color: #000000; font-weight: bold; }

.avenirultralight { font-family: 'AvenirUltraLight'; }
.avenirlight { font-family: 'AvenirLight'; }
.avenirbold { font-family: 'AvenirBold'; }

.bg_img_lightblue { background: #dafbff url("../images/bg_img_lightblue.png") no-repeat top center; }

video { width: 90%; height: auto; margin: 0 auto; }

.video-container {
  width: 200%;
  height: auto;
  overflow: hidden;
  position: absolute;
  top: -5px;
  right: -20%;
  z-index: 1;
}

.video-container video {
  width: 100%;
  height: 100%;
}

a { color: #000000; }

.mobile_image {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100;White+to+Transparent */
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

}

.blob {
  background: url('../images/blob.png') no-repeat;
  background-size: contain;
}

.desc {
  margin-bottom: 260px;
}

.slider {
    background: #ffffff;
    height: 100pt;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor: default;
    user-select: none;
    touch-action: none;
}

.slider:before {
    left: 0;
    top: 0;
}
.slider:after,
.slider:before {
    background: linear-gradient(
        to right,
        #efeef2 0%,
        hsla(0, 0%, 100%, 0) 100%
    );
    content: "";
    height: 75pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}
.slider:after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.slider:after,
.slider:before {
    background: linear-gradient(
        to right,
        #efeef2 0%,
        hsla(0, 0%, 100%, 0) 100%
    );
    content: "";
    height: 75pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider .slide-track-1 {
    animation: scroll-l 30s linear infinite;
    display: flex;
    width: 3500px;
}
.slider .slide-track-2 {
    animation: scroll-r 30s linear infinite;
    display: flex;
    width: 3500px;
}

.slider .slide {
    height: 75pt;
    width: 250px;
    display: flex;
    align-items: center;
    text-align: center;
}
.slider .slide img {
    width: 180px;
    padding: 1pc;
    vertical-align: middle;
    margin: 0 auto;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

@keyframes scroll-l {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}
@keyframes scroll-r {
    100% {
        transform: translateX(0);
    }
    0% {
        transform: translateX(calc(-250px * 7));
    }
}

.chat {
	position: fixed;
	bottom: 10px;
	right: 10px;
	font-size: 24px;
	cursor: pointer;
    z-index: 999;
}

.chatblock {
	position: fixed;
	bottom: 10px;
	right: 10px;
	padding: 15px;
	border: 3px solid #b9b9b9;
	background: #ffffff;
	border-radius: 8px;
	max-width: 400px;
    z-index: 999;
}

.close-chat {
	position: absolute;
	top: -15px;
	right: -5px;
	font-size: 28px;
	cursor: pointer;
}

.speech {
  font-size: 14px;
  color: #fff;
  background: #a53d38;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  margin: 10px auto;
  max-width: 280px;
}

.speech::after {
  content: "";
  border: 20px solid transparent;
  position: absolute;
}

 
.left.speech::after {
  border-right-color: #a53d38;
  border-left: 0;
  left: -10px; top: 50%;
  margin-top: -10px;
}

.relative {
    position: relative;
}

.noflow {
    overflow: hidden;
}

.z1 {
    z-index: 1;
}

.z2 {
    z-index: 2;
}

.z9 {
    z-index: 9;
}

.z99 {
    z-index: 99;
}

.pt5pct {
    padding-top: 5%;
}

.pb5pct {
    padding-bottom: 5%;
}

.text-gold {
    color: #feae00;
}

.desktop { display: block; }
.mobile { display: none; }

@media only screen and (max-width: 600px) {
	.logo { max-width: 150px; }
	.navbar-nav { text-align: right; background: #e2e2e2; }
	.nav-item { border-bottom: 1px solid #ffffff; padding-right: 15px; }
	.mainvideo {  }
	video { width: 100%; }

    .desktop { display: none; }
    .mobile { display: block; }

    .video-container2 {
      width: 100%;
      height: auto;
      position: absolute;
      top: -8%;
      left: -74%;
      z-index: -5;
    }

    .video-container2 video {
      width: 200%;
      height: 100%;
    }

    .mob50 {
        max-width: 60%;
    } 

    .mtmob10pct {
        margin-top: 6%;
    }
}

@media only screen and (max-width: 900px) and (min-width: 601px) {
	.logo { max-width: 200px; }
	video { width: 100%; }
}