/*! Flickity v2.0.5
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute; top:0;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  /**/cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  background: none;
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
	
	@media screen and (max-width:450px) {
		.flickity-prev-next-button { top:48%; width:34px; height:34px; }
	}


.flickity-prev-next-button:hover { background: white; background: none; }

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  opacity: 0.6;
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333; fill: #fff;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}





/* hero-carousel
------------------------- */




.hero-carousel {
  margin-bottom:0px; margin-top:8.0%;
  /*background: #FAFAFA url('http://i.imgur.com/R60qKwS.jpg');*/
  background-size: cover;
}

	@media screen and (min-width: 1366px) {
		.hero-carousel { margin-top:100px; }
	}
	@media screen and (max-width: 767px) {
		.flickity-slider { position:fixed;/* position:absolute; */ /*padding:50% 0;*/ }
		
			#trend.static .flickity-slider { position:static; }
		
		.flickity-viewport { /*padding:42.5% 0!important; padding:0 0 50% 0;*/ top:0; }
		.hero-carousel { margin-top:0%;  }
	}
	

.hero-carousel__cell {
  width: 100%;
  height: 240px; height:100%;
  color: white;
  /*background-image:url(../img/top/slider/img_trend.png), url(../img/top/slider/img_story01.jpg), url(../img/top/slider/bg_story01.jpg);
  background-repeat:no-repeat,no-repeat, no-repeat;
  background-position:center center, top center, top center;
  background-size:auto auto, auto auto, auto auto;*/
  
  background:#015768 url(../img/top/slider/img_story01.jpg) no-repeat top center;
}
	@media screen and (max-width: 1366px) { 
		.hero-carousel__cell { background-size:auto auto, auto auto; }
	}
	@media screen and (max-width: 767px) { 
		.hero-carousel__cell { 
			background-image:/*url(../img/top/slider/img_trend.png),*/ url(../img/top/slider/img_story01.jpg);
		  background-repeat:/*no-repeat,*/ no-repeat;
		  background-position:/*center 65%,*/ top center;
		  background-size:/*110% auto,*/ auto 100%;
			top:0; 
		}
	}


.hero-carousel__cell__content {
  padding: 20px 60px 0;
  max-width: 1170px; 
  margin: 0 auto;
  position: relative;font-family: "EB Garamond",serif;
}
	@media screen and (max-width:1240px) { 
		.hero-carousel__cell__content { max-width:1240px; }
	}

.hero-carousel__cell__content p {
	color:#fff;
	font-size:1.2rem;
	display:block;
	position: absolute; top:530px;
	right:60px; 
	line-height:1.3;
	padding-left:5px;
	width:auto; max-width:auto; 
}
	@media screen and (max-width: 1366px) { 
		.hero-carousel__cell__content p { right:20px; }
	}
	
	/*
	@media screen and (max-width: 767px) { 
		.hero-carousel__cell__content { max-width:auto!important; }
		.hero-carousel__cell__content p  { right:0px; background:rgba(0,0,0,0.6); padding:10px 10px 10px 10px; left:0; margin-left:-40px; position:static; width:100%; }
	}
	
	
	@media screen and (max-width: 450px) { 
		.hero-carousel__cell__content p  { width:145%; }
	}*/

.hero-carousel__cell__content p a { 
	float:right;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  text-align: center;
  top: 52%;
  width: 90px;
  display: block;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.5;
  padding: 2px 0 6px;
  transition: all 0.9s ease 0s;
  margin-left:10px;
  margin-top:-5px;
}
.hero-carousel__cell__content p a:hover {
  text-decoration:none;
	background:rgba(255,255,255,0.4);
}

.hero-carousel .title {
	width:auto;
	display: inline-block;
	top:255px;
	font-size:1.3rem;
	left:0; 
}
.hero-carousel .model {
	width:auto;
	display: inline-block;
	top:410px;
	font-size:1.0rem;
	float:right;
	margin-left:0%;
}

	@media screen and (max-width:1300px) {
		.hero-carousel .title { margin-left:0; }
	}

	/*@media screen and (max-width: 1366px) {
		.hero-carousel .title { margin-left:-6%; left border:1px solid red; }
	}
	@media screen and (max-width: 1240px) {
		.hero-carousel .title { margin-left:-6%; }
	}*/
	
	
	
	@media screen and (max-width: 767px) { 
		/*.hero-carousel__cell__content p a { border:none; margin-top:-3px; }
		.hero-carousel .title { left:-60px; top:0; margin-top:90%; background:rgba(0,0,0,0.6); padding:0 10px; width:100%; }*/
		
		.hero-carousel__cell__content { padding:0; }
		.hero-carousel .title,
		.hero-carousel .model { background:rgba(0,0,0,0.5); padding:0px 10px; }
		.hero-carousel__cell__content p { background:rgba(0,0,0,0.5); padding:10px 10px; }
		
		
	}
	
	
	@media screen and (max-width: 450px) { 
		/*.hero-carousel .title { margin-top:150%; }*/
		.hero-carousel .model {	top:310px; }
		.hero-carousel__cell__content p { top:375px; font-size: 1.0rem; right:0px;}
	}

.hero-carousel h1 {
  font-size: 3.2rem;
  line-height: 1.0;
  margin: 0;
  padding-top: 40px;
}

.hero-carousel .tagline {
  font-size: 1.4rem;
  line-height: 1.0;
  margin: 0;
  color: #444;
}

.hero-illustration {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.hero-carousel__cell--2 {
  background: #8C8;
  /*background-image:url(../img/top/slider/img_trend.png),  url(../img/top/slider/img_story02.jpg), url(../img/top/slider/bg_story02.jpg);
  background-repeat:no-repeat, no-repeat, no-repeat;
  background-position:center center, top center, top center;
  background-size:auto auto, auto auto, auto auto;*/
  
  background:#01170a url(../img/top/slider/img_story02.jpg) no-repeat top center;
}
	@media screen and (max-width: 1366px) { 
		.hero-carousel__cell--2 { background-size:auto auto, auto auto; }
	}
	@media screen and (max-width: 767px) { 
		.hero-carousel__cell--2 { 
			background-image:/*url(../img/top/slider/img_trend.png),*/ url(../img/top/slider/img_story02.jpg);
		  background-repeat:/*no-repeat,*/ no-repeat;
		  background-position:/*center 65%,*/ top center;
		  background-size:/*100% auto,*/ auto 100%;
		}
		
		
		.hero-carousel__cell__content {
		    bottom: 7%;
		    font-family: "EB Garamond",serif;
		    margin: 0 auto;
		    max-width: 100%;
		    padding: 20px 0px 0;
		    position: absolute;
		    width: 100%;
		}
		.hero-carousel .title {
		    display: inline-block;
		    font-size: 1.3rem;
		    left: 0;
		    top: 0;
		    width: 100%;
		}
		.hero-carousel .model {
		    display: inline-block;
		    float: none;
		    font-size: 1rem;
		    margin-left: 0;
		    top: 0;
		    width: 100%;
		}
		.hero-carousel__cell__content p {
		    color: #fff;
		    display: block;
		    font-size: 1.2rem;
		    line-height: 1.3;
		    padding-left: 10px;
		    position: relative;
		    right: 0px;
		    top: 0;
		    width: 100%;
		}
		.hero-carousel__cell__content p a {
		    border:none;
		    margin:0;
		}
		
		
		
		
	}

.slogan {
  line-height: 1.2;
  margin: 0;
}

.slogan--easy,
.slogan--fun {
  font-size: 2.2rem;
  line-height: 1.1;
}

.slogan--tagline {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #444;
}

.feature-list {
  font-size: 1.8rem;
  list-style: none;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.feature-list li {
  margin-bottom: 10px;
}

.hero-carousel__cell--3 {
  background: #E90;
}

.hero-carousel__cell--4 {
  background: #E5A;
}

.by-line {
  line-height: 1.2;
  margin: 0;
  font-size: 1.8rem;
}

.by-line--made {
  padding-top: 20px;
  margin-bottom: 10px;
  color: #444;
}

@media screen and ( max-width: 500px ) {
  /* hide first cell content on small devices */
  .hero-carousel h1,
  .hero-carousel .tagline {
    display: none;
  }

}

@media screen and ( min-width: 500px ) {
  .hero-carousel__cell--1  .hero-carousel__cell__content {
    /*padding-right: 260px;*/
  }

  .hero-illustration {
    position: absolute;
    right: 60px;
    top: 20px;
  }
}

/* ---- large device styles ---- */

@media screen and ( min-width: 768px ) {

  .hero-carousel__cell {
    height: 440px; height:780px;
  }

  .hero-carousel__cell__content {
    padding-top: 40px;
  }

  .hero-carousel h1 {
    font-size: 5.8rem;
  }

  .hero-carousel .tagline {
    font-size: 2.1rem;
  }

  .hero-illustration {
    top: 80px;
  }

  .slogan--easy,
  .slogan--fun {
    font-size: 4.8rem;
  }

  .slogan--tagline {
    margin-top: 20px;
    font-size: 2.4rem;
  }

  .feature-list {
    font-size: 3.1rem;
  }

  .feature-list li {
    margin-bottom: 20px;
  }

  .by-line {
    font-size: 3.1rem;
  }

  .by-line--made {
    padding-top: 40px;
    margin-bottom: 20px;
  }

}

@media screen and ( min-width: 960px ) {

  .hero-carousel__cell--1  .hero-carousel__cell__content {
    /*padding-right: 400px;*/
  }

  .hero-carousel h1 {
    font-size: 7.8rem;
  }

  .hero-illustration {
    max-width: 400px;
    top: 20px
  }

}
