*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	font-size: 1.6rem;
	font-family: Helvetica, Arial;
	color: #4a3553;
	background-color: #ffffff;
}

a {
	color: #ffb251;
	text-decoration: none;
}

/* --------------------------------

Slider

-------------------------------- */
.cd-slider-wrapper {
	position: relative;
	width: 100%;
	height: 100vh;
	/* hide horizontal scrollbar on IE11 */
	overflow: hidden;
}

.cd-slider-wrapper .cd-slider,
.cd-slider-wrapper .cd-slider>li {
	height: 100%;
	width: 100%;
}

.cd-slider>li {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	/* used to vertically center its content */
	display: table;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cd-slider>li.visible {
	/* selected slide */
	position: relative;
	z-index: 2;
	opacity: 1;
}

.cd-slider>li:first-of-type {
	background-color: #ffffff;
	background-image: url(../images/img-1.jpg);
}

.cd-slider>li:nth-of-type(2) {
	background-color: #ffffff;
	background-image: url(../images/img-2.jpg);
}

.cd-slider>li:nth-of-type(3) {
	background-color: #ffffff;
	background-image: url(../images/img-3.jpg);
}

.cd-slider>li:nth-of-type(4) {
	background-color: #ffffff;
	background-image: url(../images/img-4.jpg);
}

.cd-slider>li:first-of-type,
.cd-slider>li:nth-of-type(2),
.cd-slider>li:nth-of-type(3),
.cd-slider>li:nth-of-type(4) {
	background-size: cover;
}

.cd-slider>li>div {
	/* vertically center the slider content */
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.cd-slider>li h2,
.cd-slider>li p {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	line-height: 1.2;
	margin: 0 auto 14px;
	color: #ffffff;
	width: 90%;
	max-width: 320px;
}

.cd-slider>li h2 {
	font-size: 2.4rem;
}

.cd-slider>li p {
	font-size: 1.4rem;
	line-height: 1.4;
	letter-spacing: 0.2rem;
}

.cd-slider>li .cd-btn {
	display: inline-block;
	padding: 1.2em 1.4em;
	margin-top: .8em;
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: .25em;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 1px;
	color: #ffffff;
	text-transform: uppercase;
	-webkit-transition: background-color 0.2s;
	transition: background-color 0.2s;
}

.no-touch .cd-slider>li .cd-btn:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

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

	.cd-slider>li h2,
	.cd-slider>li p {
		max-width: 820px;
		font-size: 14px;
	}

	.cd-slider>li h2 {
		font-size: 2.4em;
		font-weight: 300;
	}

	.cd-slider>li .cd-btn {
		font-size: 1.4rem;
	}
}

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

	.cd-slider>li h2,
	.cd-slider>li p {
		margin-bottom: 20px;
	}

	.cd-slider>li h2 {
		font-size: 3.2em;
	}

	.cd-slider>li p {
		font-size: 1.8rem;
	}
}

/* --------------------------------

Slider navigation

-------------------------------- */
.cd-slider-navigation {
	position: absolute;
	bottom: 50px;
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: 3;
	text-align: center;
	width: 90%;
}

.cd-slider-navigation::after {
	clear: both;
	content: "";
	display: table;
}

.cd-slider-navigation li {
	display: inline-block;
	margin-right: 20px;
}

.cd-slider-navigation li:last-of-type {
	margin-right: 0;
}

.cd-slider-navigation a {
	display: block;
	position: relative;
	height: 40px;
	width: 40px;
	background: url(../images/cd-icon-navigation.svg) no-repeat -10px -10px;
	border-radius: 50%;
	background-color: #ffffff;
}

.no-touch .cd-slider-navigation a:hover em {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition: opacity 0.2s 0s, visibility 0s 0s, -webkit-transform 0.2s 0s;
	transition: opacity 0.2s 0s, visibility 0s 0s, -webkit-transform 0.2s 0s;
	transition: opacity 0.2s 0s, visibility 0s 0s, transform 0.2s 0s;
	transition: opacity 0.2s 0s, visibility 0s 0s, transform 0.2s 0s, -webkit-transform 0.2s 0s;
}

.cd-slider-navigation li.selected:first-of-type a {
	/* change custom icon using image sprites */
	background-position: -10px -70px;
}

.cd-slider-navigation li:nth-of-type(2) a {
	background-position: -70px -10px;
}

.cd-slider-navigation li.selected:nth-of-type(2) a {
	background-position: -70px -70px;
}

.cd-slider-navigation li:nth-of-type(3) a {
	background-position: -130px -10px;
}

.cd-slider-navigation li.selected:nth-of-type(3) a {
	background-position: -130px -70px;
}

.cd-slider-navigation li:nth-of-type(4) a {
	background-position: -190px -10px;
}

.cd-slider-navigation li.selected:nth-of-type(4) a {
	background-position: -190px -70px;
}

.cd-slider-navigation em {
	/* tooltip visible on hover */
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	padding: 8px 10px;
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.7);
	white-space: nowrap;
	font-size: 1.3rem;
	border-radius: 2px;
	opacity: 0;
	visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(3px);
	transform: translateX(-50%) translateY(3px);
	-webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s, -webkit-transform 0.2s 0s;
	transition: opacity 0.2s 0s, visibility 0s 0.2s, -webkit-transform 0.2s 0s;
	transition: opacity 0.2s 0s, visibility 0s 0.2s, transform 0.2s 0s;
	transition: opacity 0.2s 0s, visibility 0s 0.2s, transform 0.2s 0s, -webkit-transform 0.2s 0s;
}

.cd-slider-navigation em::after {
	/* tooltip arrow */
	content: '';
	position: absolute;
	left: 50%;
	right: auto;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	bottom: -10px;
	height: 0;
	width: 0;
	border: 5px solid transparent;
	border-top-color: rgba(0, 0, 0, 0.7);
}

@media only screen and (min-width: 1170px) {
	.cd-slider-navigation a {
		height: 60px;
		width: 60px;
	}

	.cd-slider-navigation li:first-of-type a {
		/* change custom icon using image sprites */
		background-position: 0 0px;
	}

	.cd-slider-navigation li.selected:first-of-type a {
		/* change custom icon using image sprites */
		background-position: 0 -60px;
	}

	.cd-slider-navigation li:nth-of-type(2) a {
		background-position: -120px 0;
	}

	.cd-slider-navigation li.selected:nth-of-type(2) a {
		background-position: -120px -60px;
	}

	.cd-slider-navigation li:nth-of-type(3) a {
		background-position: -60px 0;
	}

	.cd-slider-navigation li.selected:nth-of-type(3) a {
		background-position: -60px -60px;
	}

	.cd-slider-navigation li:nth-of-type(4) a {
		background-position: -180px 0;
	}

	.cd-slider-navigation li.selected:nth-of-type(4) a {
		background-position: -180px -60px;
	}
}

/* --------------------------------

svg cover layer

-------------------------------- */
.cd-svg-cover {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
}

.cd-svg-cover path {
	fill: #ffe8c9;
}

.cd-svg-cover.is-animating {
	z-index: 4;
	opacity: 1;
	-webkit-transition: opacity 0.6s;
	transition: opacity 0.6s;
}

/* --------------------------------

snow

-------------------------------- */
.snowbox {
	position: fixed;
	z-index: 99;
}