/**
 * demo.css
 * https://coidea.website
 *
 * Licensed under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * 
 * Copyright 2018, COIDEA
 * https://coidea.website
 */

 @import url('https://fonts.googleapis.com/css?family=Molle:400i|Open+Sans+Condensed:300,700');
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body #coidea {
  font-family: 'Open Sans Condensed', sans-serif;
  background:#00a99a;
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  min-height: 100vh;
  overflow: hidden;
}
.slider {
  position: relative;
  display: block;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  overflow: hidden;
}
.slider__nav-bar {
  position: absolute;
  width: 180px;
  height: 170px;
  bottom: -90px;
  left: 50%;
  transform: translateX( -50% );
  border-radius: 90px;
  text-align: center;
  background: #0a7578;
  z-index: 100;
}
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY( -50% );
  width: 64px;
  height: 64px;
  transition: 0.2s;
  cursor: pointer;
  z-index: 100;
  opacity: 0.8;
}
.slider__arrow:hover {
  opacity: 1;
}
.slider__arrow_prev {
  left: 25px;
  width: 45px;
  height: 45px;
  background-image: url(../head_img/arrow__left-white.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 45px;
}
.slider__arrow_next {
  right: 25px;
  width: 45px;
  height: 45px;
  background-image: url(../head_img/arrow__right-white.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 45px;
}
.nav-control {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  opacity: 1;
  width: 35px;
  height: 35px;
  transition: 0.2s;
  cursor: pointer;
  background-image: url(../head_img/dot.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 33px 33px;
  margin-top: 32px;
  z-index: 3;
}
.nav-control:hover {
  opacity: 0.8;
}
.nav-control_active {
  opacity: 1;
  background-image: url(../head_img/dot-black.png);
}
.slider-list {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.slider-list::before {
  content: '';
  display: block;
  padding-top: calc(9 / 16 * 100%);
}
.slider-list__item {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  width: 100%;
  height: 125%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16vw;
  color: #000;
  will-change: transform;
  z-index: 1;
}
.slider-list__item .back__element {
  position: absolute;
  /* display: block; */
  width: 11%;
  height: 100%;
  top: 0;
  left: 11%;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.slider-list__item .back__element img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  top: 40%; left: 75%;
  transform: translate( -50%, -50% );
}
.slider-list__item .main__element {
  position: absolute;
  /* display: block; */
  width: 16%;
  height: 100%;
  top: 0;
  left: 72%;
  right: 0;
  bottom: 0;
  z-index: 999;
}
.slider-list__item .main__element img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  top: 40%; left: 50%;
  transform: translate( -50%, -50% );
}
.slider-list__item .front__element {
  position: absolute;
  /* display: block; */
  width: 100%;
  /* height: 100%; */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  /* transform: scale(0); */
}
.slider-list__item .front__element img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  top: 45%; left: 50%;
  transform: translate( -50%, -50% );
}
.slider-list__item .title__element {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
}
.slider-list__item .title__element .title {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  top: 50%; left: 50%;
  transform: rotate(-15deg) translate( -45%, -125% );
  font-family: 'Molle', cursive;
  color: #eef2f3;
  text-align: center;
}
.slider-list__item .more__element {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10;
}
.slider-list__item .more__element .content {
  position: relative;
  display: block;
  width: 100%;
  max-width: 768px;
  height: auto;
  margin: 64px auto;
  padding: 0 32px;
  color: #2e3131;
  text-align: left;
}
.slider-list__item .more__element .content .headline {
  position: relative;
  display: block;
  max-width: 240px;
  font-family: 'Molle', cursive;
  font-size: 38px;
  line-height: 46px;
}
.slider-list__item .more__element .content .excerpt {
  position: relative;
  display: block;
  max-width: 240px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 0 16px;
}
.slider-list__item .more__element .content .link {
  position: relative;
  display: block;
  font-family: 'Open Sans Condensed', sans-serif;
  width: 180px;
  height: 48px;
  border-radius: 24px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.05), 0 10px 10px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
}
.slider-list__item .more__element .content .link .fill {
  position: absolute;
	background-image: linear-gradient(to right, #d43325, #f36e67);
	background-size: 150% 150%;
	height: 48px;
	width: 180px;
	border-radius: 24px;
	margin: 0;
	z-index: -1;
  transition: all 0.4s ease;
  -webkit-animation: gradient 3s ease infinite;
	-moz-animation: gradient 3s ease infinite;
	animation: gradient 3s ease infinite;
}
.slider-list__item .more__element .content .link .fill.fill-dark {
  background-image: linear-gradient(to right, #252228, #848f9e);
} 
.slider-list__item .more__element .content .link a {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  color: #dde3e6;
  font-weight: 700;
  text-align: center;
  line-height: 48px;
  text-decoration: none;
  outline: 0px none;
  outline: 0px;
  z-index: 2;
}
.slider-list__item .more__element .content .link:hover {
  box-shadow: 0 19px 38px rgba(0,0,0,0.05), 0 15px 12px rgba(0,0,0,0.06);
}
.slider-list__item_active {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  z-index: 2;
}


@media screen and (max-width: 640px) {

  .slider-list__item .title__element .title {
    font-size: 26vw;
  }

  .slider-list__item .more__element .content .excerpt {
    display: none;
  }

  .slider-list__item .more__element .content .link {
    margin-top: 16px;
  }

}

@media screen and (max-width: 560px) {

  .slider__nav-bar {
    /* hide dots for mobile */
    opacity: 0;
    z-index: -1;
  }

}

@-webkit-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@-moz-keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@media(min-width: 280px) and (max-width:900px) {
.slider-list__item {
  height: 100%;
}
.slider-list__item .back__element {
  width: 100%;
  left: 0;
}
.slider-list__item .back__element img {
  width: 75%;
  max-width: 480px;
  top: 14%;
  left: 52.5%;
}
.slider-list__item .front__element img {
  max-width: 480px;
  top: 44%;
  width: 82%;
}
.slider-list__item .main__element {
  width: 100%;
  top: 43%;
  left: 0;
}
.slider-list__item .main__element img {
  position: absolute;
  display: block;
  width: 98%;
  max-width: 430px;
  height: auto;
  top: 42%;
  left: 50%;
  transform: translate( -50%, -50% );
  /* background-color: #fff; */
}
.slider__arrow_prev {
  left: 10px;
  width: 35px;
  height: 35px;
  background-size: auto 35px;
}
.slider__arrow_next {
  right: 10px;
  width: 35px;
  height: 35px;
  background-size: auto 35px;
}
}
@media(min-width: 481px) and (max-width:900px) {
.slider-list__item .back__element img {
  top: 11%;
  width: 55%;
}
.slider-list__item .front__element img {
  max-width: 500px;
  top: 44%;
  /* width: 70%; */
}
.slider__nav-bar{
	display:none;
}
.slider-list__item .main__element img {
  max-width: 520px;
  height: auto;
  top: 44%;
  left: 50%;
}
}
@media(min-width: 769px) and (max-width: 899px) {
.slider-list__item .back__element img {
  top: 11%;
  width: 60%;
  left: 52.5%;
}
.slider-list__item .front__element img {
  max-width: 580px;
  top: 44%;
}
.slider__nav-bar{
	display:none;
}
.slider-list__item .main__element img {
  max-width: 600px;
}
}
@media(min-width: 901px) and (max-width:1281px) {
.slider-list__item .front__element img {
  max-width: 550px;
  top: 35%;
  left: 47%;
}
.slider-list__item .back__element img {
  top: 38%;
  left: 30%;
}
.slider-list__item .back__element {
  width: 15%;
  left: 11%;
}
.slider-list__item .main__element {
  width: 25%;
}
.slider-list__item .main__element img {
  top: 38%;
}
}