/* main banner */
#main-banner {
	overflow: hidden;
	position: relative;
}

#main-banner .rslides_tabs {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 44px;
	z-index: 100;
}

#main-banner .rslides_tabs li {
	margin: 0 5px;
	display: inline-block;
}

#main-banner .rslides_tabs li a {
	width: 55px;
	height: 5px;
	background: #fff;
	display: block;
	text-indent: -999999px;
	opacity: .5;
}

#main-banner .rslides_tabs li:hover a,
#main-banner .rslides_tabs li.rslides_here a {
	opacity: 1;
}

/* banner */
#banner .slick-slider {
	margin: 0;
}

#banner {
	position: relative;
	margin-top: 0px;
	z-index: 2;
}

#banner .pomLink {
	position: absolute;
	z-index: 987;
	width: 100%;
	height: 100%;
}

#banner .photo {
	position: relative;
	width: calc((100% / 1) - 0px);
	height: 100%;
	background: no-repeat 50% 100% / cover;
	display: flex;
}

#banner .photo img {}

/* ---------- Fog ---------- */
.fogwrapper {
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	-webkit-filter: blur(1px) grayscale(0.2) saturate(1.2) sepia(0.2);
	filter: blur(1px) grayscale(0.2) saturate(1.2) sepia(0.2);
}

#foglayer_01,
#foglayer_02,
#foglayer_03 {
	height: 100%;
	position: absolute;
	width: 200%;
	z-index: 9;
}

#foglayer_01 .image01,
#foglayer_01 .image02,
#foglayer_02 .image01,
#foglayer_02 .image02,
#foglayer_03 .image01,
#foglayer_03 .image02 {
	float: left;
	height: 100%;
	width: 50%;
}

#foglayer_01 {
	-webkit-animation: foglayer_01_opacity 10s linear infinite, foglayer_moveme 15s linear infinite;
	-moz-animation: foglayer_01_opacity 10s linear infinite, foglayer_moveme 15s linear infinite;
	animation: foglayer_01_opacity 10s linear infinite, foglayer_moveme 15s linear infinite;
}

#foglayer_02,
#foglayer_03 {
	-webkit-animation: foglayer_02_opacity 21s linear infinite, foglayer_moveme 13s linear infinite;
	-moz-animation: foglayer_02_opacity 21s linear infinite, foglayer_moveme 13s linear infinite;
	animation: foglayer_02_opacity 21s linear infinite, foglayer_moveme 18s linear infinite;
}

/* ---------- Moving Fog ---------- */
/*
  'size: cover' || 'size: 100%'; results remain the same
  'attachment: scroll' can be added or removed; results remain the same
  'attachment: fixed' causing unexpected results in Chrome
  'repeat-x' || 'no-repeat'; results remain the same
*/
#foglayer_01 .image01,
#foglayer_01 .image02 {
	background: url("https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png") center center/cover no-repeat transparent;
}

#foglayer_02 .image01,
#foglayer_02 .image02,
#foglayer_03 .image01,
#foglayer_03 .image02 {
	background: url("https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog2.png") center center/cover no-repeat transparent;
}

/* ---------- Keyframe Layer 1 ---------- */
@-webkit-keyframes foglayer_01_opacity {
	0% {
		opacity: .1;
	}

	22% {
		opacity: .5;
	}

	40% {
		opacity: .28;
	}

	58% {
		opacity: .4;
	}

	80% {
		opacity: .16;
	}

	100% {
		opacity: .1;
	}
}

@-moz-keyframes foglayer_01_opacity {
	0% {
		opacity: .1;
	}

	22% {
		opacity: .5;
	}

	40% {
		opacity: .28;
	}

	58% {
		opacity: .4;
	}

	80% {
		opacity: .16;
	}

	100% {
		opacity: .1;
	}
}

@-o-keyframes foglayer_01_opacity {
	0% {
		opacity: .1;
	}

	22% {
		opacity: .5;
	}

	40% {
		opacity: .28;
	}

	58% {
		opacity: .4;
	}

	80% {
		opacity: .16;
	}

	100% {
		opacity: .1;
	}
}

@keyframes foglayer_01_opacity {
	0% {
		opacity: .1;
	}

	22% {
		opacity: .5;
	}

	40% {
		opacity: .28;
	}

	58% {
		opacity: .4;
	}

	80% {
		opacity: .16;
	}

	100% {
		opacity: .1;
	}
}

/* ---------- Keyframe Layer 2 ---------- */
@-webkit-keyframes foglayer_02_opacity {
	0% {
		opacity: .5;
	}

	25% {
		opacity: .2;
	}

	50% {
		opacity: .1;
	}

	80% {
		opacity: .3;
	}

	100% {
		opacity: .5;
	}
}

@-moz-keyframes foglayer_02_opacity {
	0% {
		opacity: .5;
	}

	25% {
		opacity: .2;
	}

	50% {
		opacity: .1;
	}

	80% {
		opacity: .3;
	}

	100% {
		opacity: .5;
	}
}

@-o-keyframes foglayer_02_opacity {
	0% {
		opacity: .5;
	}

	25% {
		opacity: .2;
	}

	50% {
		opacity: .1;
	}

	80% {
		opacity: .3;
	}

	100% {
		opacity: .5;
	}
}

@keyframes foglayer_02_opacity {
	0% {
		opacity: .5;
	}

	25% {
		opacity: .2;
	}

	50% {
		opacity: .1;
	}

	80% {
		opacity: .3;
	}

	100% {
		opacity: .5;
	}
}

/* ---------- Keyframe Layer 3 ---------- */
@-webkit-keyframes foglayer_03_opacity {
	0% {
		opacity: .8
	}

	27% {
		opacity: .2;
	}

	52% {
		opacity: .6;
	}

	68% {
		opacity: .3;
	}

	100% {
		opacity: .8;
	}
}

@-moz-keyframes foglayer_03_opacity {
	0% {
		opacity: .8
	}

	27% {
		opacity: .2;
	}

	52% {
		opacity: .6;
	}

	68% {
		opacity: .3;
	}

	100% {
		opacity: .8;
	}
}

@-o-keyframes foglayer_03_opacity {
	0% {
		opacity: .8
	}

	27% {
		opacity: .2;
	}

	52% {
		opacity: .6;
	}

	68% {
		opacity: .3;
	}

	100% {
		opacity: .8;
	}
}

@keyframes foglayer_03_opacity {
	0% {
		opacity: .8;
	}

	27% {
		opacity: .2;
	}

	52% {
		opacity: .6;
	}

	68% {
		opacity: .3;
	}

	100% {
		opacity: .8;
	}
}

/* ---------- Keyframe moveMe ---------- */
@-webkit-keyframes foglayer_moveme {
	0% {
		left: 0;
	}

	100% {
		left: -100%;
	}
}

@-moz-keyframes foglayer_moveme {
	0% {
		left: 0;
	}

	100% {
		left: -100%;
	}
}

@-o-keyframes foglayer_moveme {
	0% {
		left: 0;
	}

	100% {
		left: -100%;
	}
}

@keyframes foglayer_moveme {
	0% {
		left: 0;
	}

	100% {
		left: -100%;
	}
}

@media only screen and (min-width: 280px) and (max-width: 767px) {

	#foglayer_01 .image01,
	#foglayer_01 .image02,
	#foglayer_02 .image01,
	#foglayer_02 .image02,
	#foglayer_03 .image01,
	#foglayer_03 .image02 {
		width: 100%;
	}
}

#banner .matext_box {
	position: absolute;
	z-index: 8;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	z-index: 10;
}

#banner .matext_box .babox01,
#banner .matext_box .babox02,
#banner .matext_box .babox03,
#banner .matext_box .babox04 {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#banner .matext_box .babox01 {
	margin-top: -28vw;
}

#banner .matext_box .babox02 {
	margin-top: -6vw;
}

#banner .matext_box .babox03 {
	margin-top: 1vw;
}

#banner .matext_box .babox03 img {
	width: 7vw;
}

#banner .matext_box .babox04 {
	margin-top: 15px;
}

#banner .matext_box .batextbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 7px;
}

#banner .matext_box .batextbox h2 {
	font-size: max(3 * (1vw + 1vh) / 2, 16px);
	color: #54463f;
	font-weight: 200;
	line-height: 152%;
}

#banner .matext_box .babox01 img {
	width: 39vw;
}

#banner .matext_box .babox02 img {
	width: 3.3vw;
}

#banner .matext_box .babox04 img {
	width: 9vw;
}

#banner .matext_box .babox04:before {
	content: "";
	position: absolute;
	bottom: 3px;
	left: 5%;
	width: 90%;
	height: 20px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
	filter: blur(5px);
	z-index: -1;
}



/* scrollBtn */
#scrollBtn {
	position: absolute;
	margin-left: -15px;
	padding-bottom: 70px;
	width: 20px;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 2px;
	font-size: 13px;
	color: rgb(20 20 20);
	bottom: 36px;
	right: 54px;
	z-index: 1;
	animation: godown 1s infinite linear;
	-webkit-animation: godown 1s infinite linear;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}

#scrollBtn::before {
	position: absolute;
	margin-left: -.5px;
	width: 1px;
	height: 70px;
	background: linear-gradient(to top, transparent 32%, #000 0, #000 66%, transparent 0, transparent 100%) 50% 100%/1px 300% no-repeat;
	top: 70px;
	left: 46%;
	-webkit-animation: 2.3s scrollBtnAni linear both infinite;
	animation: 2.3s scrollBtnAni linear both infinite;
	content: "";
}

@-webkit-keyframes scrollBtnAni {
	0% {
		background-position-y: 100%;
	}

	100% {
		background-position-y: 0;
	}
}

@keyframes scrollBtnAni {
	0% {
		background-position-y: 100%;
	}

	100% {
		background-position-y: 0;
	}
}

@media screen and (max-width:1160px) {
	#banner {
		margin-top: 0;
	}

	#banner .photo {}

	#scrollBtn {
		display: none;
	}
}

@media screen and (max-width:768px) {
	#banner {
		margin-top: 58px;
	}

	#main-banner ul li img {
		height: 37vh;
	}

	a.photo {
		overflow: hidden;
		background-position: 50% 50%;
		background-repeat: no-repeat;
		background-size: cover;
		display: block;
	}

	#banner .photo {
		background-position: 50% 50%;
		background-size: cover;
	}

	#banner .photo img {
		height: 410px;
	}
}

@media screen and (max-width:640px) {
	#banner .matext_box .babox01 {
		margin-top: -38vw;
	}

	#banner .matext_box .babox01 img {
		width: 55vw;
	}

	#banner .matext_box .babox02 {
		margin-top: -8vw;
	}

	#banner .matext_box .babox02 img {
		width: 7vw;
	}

	#banner .matext_box .babox03 img {
		width: 14vw;
	}

	#banner .matext_box .babox04 img {
		width: 19vw;
	}

	#main-banner .rslides_tabs {
		display: none;
	}

	#banner {
		margin-top: 64px;
	}

	#banner .photo img {
		height: 550px;
	}
}

@media screen and (max-width:480px) {
	#main-banner ul li img {
		height: 24vh;
	}

	#banner .matext_box .babox01 {
		margin-top: -47vw;
	}

	#banner .matext_box .babox01 img {
		width: 73vw;
	}

	#banner .matext_box .babox02 {
		margin-top: -10vw;
	}

	#banner .matext_box .babox02 img {
		width: 9vw;
	}

	#banner .matext_box .babox03 img {
		width: 18vw;
	}

	#banner .matext_box .babox04 img {
		width: 23vw;
	}

	#banner .photo img {
		height: 504px;
	}
}