@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,800');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

.quote_style {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}

body, html {
	font-family: 'Open Sans', sans-serif;
	overflow-x: hidden;
  font-weight: 300;
}

p {
	font-size: 1.4em;
	font-weight: 300;
	line-height: 1.5; 
}
h1, h2, h3, h4, h5 {
    font-weight: 300;
    line-height: 1.3;
}
.txt_white_shadow {
    text-shadow: 2px 2px 3px  #FFF;
}
.txt_black_shadow {
    text-shadow: 2px 2px 3px  #000;
}

/* ******************************************************************* */
/* ******************************************************************* */
/* Important to all */
/* ******************************************************************* */
/* ******************************************************************* */

.video-container {
	position: absolute;
	top: 0;
	z-index: -1;
	bottom: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	object-fit: fill;
}

.video-container video {
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


/* ******************************************************************* */
/* ******************************************************************* */
/* SOLUT: AIKAJANA */
/* ******************************************************************* */
/* ******************************************************************* */

.celllife_intro p {
	font-size: 2rem;
	font-weight: 300;
	line-height: 1.5; 
}

#timeline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #FFF;
    background-image: url(../img/bg/avp/bg_avp_cells2.jpg);
    background-size: cover;
    background-position: top left;
    background-repeat: none;
    margin-top: 10px;
    color: #000;
}
#timeline:hover .tl-item {
  width: 25%;
}

.tl-item {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  position: relative;
  width: 25%;
  height: 70vh;
  min-height: 700px;
  color: #000;
  overflow: hidden;
    border-right: 1px solid #ccc!important;
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}
.tl-item:before, .tl-item:after {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.tl-item:after {
  background: rgba(255, 255, 255, 0.80);
  opacity: 1;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}
.tl-item:before {
  background: -webkit-linear-gradient(top, transparent 0%, white 75%);
  background: linear-gradient(to bottom, transparent 0%, white 75%);
  z-index: 1;
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) translateY(50%);
          transform: translate3d(0, 0, 0) translateY(50%);
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
}
.tl-item:hover {
  width: 40% !important;
}
.tl-item:hover:after {
  opacity: 0;
}
.tl-item:hover:before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) translateY(0);
          transform: translate3d(0, 0, 0) translateY(0);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
  transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
  transition: opacity 1s ease, transform 1s ease 0.25s;
  transition: opacity 1s ease, transform 1s ease 0.25s, -webkit-transform 1s ease 0.25s;
}
.tl-item:hover .tl-content {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: all 0.75s ease 0.5s;
  transition: all 0.75s ease 0.5s;
}
.tl-item:hover .tl-bg {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}

.tl-content {
  -webkit-transform: translate3d(0, 0, 0) translateY(25px);
          transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 1.618em;
  top: 55%;
  opacity: 0;
  font-weight: 300;
  font-size: 1.2vw;
}
.tl-content h1 {
  text-transform: uppercase;
  color: #990000;
  font-size: 1.4rem;
  font-weight: normal;
}
.tl-content p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
}

.tl-year {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  border-bottom: 1px solid #990000;
}
.tl-year p {
    font-size: 1.6rem;
    line-height: 0;
    font-weight: 300;
    color: #000;
}

.tl-bg {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  -webkit-transition: -webkit-filter 0.5s ease;
  transition: -webkit-filter 0.5s ease;
  transition: filter 0.5s ease;
  transition: filter 0.5s ease, -webkit-filter 0.5s ease;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

.studies {
    background: center center url(../img/bg/products/bg_studies.jpg) no-repeat;
    background-size: cover;
}
  .studies p {
    font-size: 1.4rem;
  }

.recommendations {
    background: center right url(../img/bg/products/bg-recommendations2.jpg) no-repeat;
    background-size: cover;
}

.qualityingredients {
	background: center right url(../img/bg/opportunity/bg_qualityingredients.jpg) no-repeat;
	background-size: cover;
	min-height: 768px;
}

.ansab {
	background: center left url(../img/bg/science/bg_ansab.jpg) no-repeat;
	background-size: cover;
	min-height: 768px;
}

.ansab p, .stories p {
  font-size: 1.2rem;
}

.arcticdifference {
	background: bottom center url(../img/bg/products/bg-arcticdifference.jpg) no-repeat;
	background-size: cover;
	min-height: 768px;
}

.vitaminc {
	background: bottom center url(../img/bg/products/bg_vitaminc.jpg) repeat-x;
	min-height: 768px;
}


@media (max-width: 992px) {  
  .ansab {
    background-position: top left;
    background-size: 100%;
  }
  .quote_style {
    font-size: 24px;
    line-height: 1;
  }
  .qualityingredients h3 {
    font-size: 18px;
  }
  .qualityingredients .card-text {
    font-size: 18px;
  }
  #timeline { 
    display: block!important;
  }
  #timeline:hover .tl-item { width: 100%; height: auto!important; }
  .tl-item { 
    -webkit-transform: none;
    transform: none;
    -webkit-transition: none;
    transition:none;
    display: block;
    width: 100%;
    height:auto!important;
    margin: 0px 0 2px 0;
    min-height: 0;
    padding: 20px 40px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    border: none!important;
    }
    #timeline:hover .tl-item {
      width: 100%;
    }
    .tl-item:before, .tl-item:after {
      -webkit-transform: none;
              transform: none;
      position: relative;
      width: 100%;
      height: auto!important;
    }
    .tl-item:after {
      background: rgba(255, 255, 255, 0.80);
      opacity: 1;
      -webkit-transition: none;
      transition: none;
    }
    .tl-item:before {
      background: -webkit-linear-gradient(top, transparent 0%, white 75%);
      background: linear-gradient(to bottom, transparent 0%, white 75%);
      z-index: 1;
      opacity: 0;
      -webkit-transform: none;
              transform: none;
      -webkit-transition: none;
      transition: none;
      transition: none;
      transition: none;
    }
    .tl-item:hover {
      width: 100%!important;
      height:auto!important  ;
    }
    .tl-item:hover:after {
      opacity: 0;
    }
    .tl-item:hover:before {
      opacity: 1;
      -webkit-transform: none;
              transform: none;
      -webkit-transition: none;
      transition: none;
      transition: none;
      transition: none;
    }
    .tl-item:hover .tl-content {
      opacity: 1;
      -webkit-transform: none;
              transform: none;
      -webkit-transition: none;
      transition: none;
    }
    .tl-item:hover .tl-bg {
      -webkit-filter:none;
              filter:none;
    }
    
    .tl-content {
      -webkit-transform: none;
              transform: none;
      position: relative;
      z-index: 1;
      text-align: center;
      margin: 0px auto;
      opacity: 1;
      font-size: 14px;
    }
    .tl-content h1 {
      text-transform: uppercase;
      color: #990000;
      font-size: 18px;
      font-weight: normal;
    }
    
    .tl-year {
      position: relative;
      margin: 20px auto;
      -webkit-transform: none;
              transform: none;
      z-index: 1;
      border: none;
    }
    .tl-year p { font-size: 16px; }
    
    .tl-bg {
      -webkit-transform: none;
              transform: none;
      position: relative;
      width: 100%;
      height:auto!important;
      background-size: cover;
      background-position: center center;
      -webkit-transition: none;
      transition: none;
      transition: none;
      transition: none;
      -webkit-filter: none;
              filter: none;
     border: 1px solid red;
    }


}


@media (max-width: 660px) { 
  .recommendations {
    background: center right url(../img/bg/products/bg-recommendations2.jpg) no-repeat;
    background-size: cover;
  }
  .recommendations h2 { font-size: 18px; }

  .studies {
    height: auto;
    min-height: 1200px;     
  }
  .studies h2 {font-size: 18px; }
  .studies p { font-size: 14px; }
  .vitaminc .blockquote p { font-size: 18px; }
  .qualityingredients {
    height: auto!important;
  }
  .qualityingredients_btn {
    position: relative!important;
  }
  h2 { font-size: 18px; }
  p { font-size: 16px; }
  .ingredients { font-size: 12px; }
  .arcticdifference { height: 60vh!important; min-height: 0; }
}

