.sequence-theme {
	width: 100%;
	height: auto;
	position: relative;
	z-index: 15;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden; 
}
.sequence-theme #sequence {
	max-width: 1280px;
	height: 500px;
	margin: 0 auto 80px;
	position: relative;
	z-index: 5;
	border-top: 5px solid #db0000;
	box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .075);
	-webkit-border-radius: 0 0 10px 10px;
	border-radius: 0 0 10px 10px;
	overflow: hidden;
}
.sequence-theme #sequence.sequenceSubpage {
	height: 250px;
}
.sequence-theme #sequence.sequenceSubpage div.contain {
	top: 12%;
}
.sequence-theme #sequence-preloader { 
	background: #000; 
}
#sequence > ul {
	height: 100%;
	width: 100%;
	margin: 0;
	overflow: hidden;
}
#sequence > ul > li {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 7999;
}
.sequence-theme .bg_img {
	width: 100%;
	height: 100%;
	opacity: 0;
	object-fit: cover;
	display: block;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}
.sequence-theme .bg_img.img_01 { 
	background: url('../img/sequence-1.jpg') no-repeat bottom / cover;
}
.sequence-theme .bg_img.img_02 { 
	background: url('../img/sequence-2.jpg') no-repeat bottom / cover;
}
.sequence-theme .animate-in .bg_img {
	opacity: 1;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}
.sequence-theme .animate-out .bg_img {
	opacity: 0;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}
.sequence-theme #sequence div.contain {
	width: 100%;
	max-width: 1280px;
	margin: auto;
	padding: 40px;
	position: absolute;
	left: 0;
	right: 0;
	top: 25%;
	z-index: 5;
	opacity: 0;
	text-align: center;
	border-radius: 20px;
	-webkit-transition: 1s opacity ease;
	transition: 1s opacity ease;
}
.sequence-theme #sequence .animate-in div.contain {
	opacity: 1;
	left: 0;
	-webkit-transition: 1s opacity ease;
	transition: 1s opacity ease;
}
.sequence-theme #sequence .animate-out div.contain {
	opacity: 0;
	left: 100%;
	-webkit-transition: 1s opacity ease;
	transition: 1s opacity ease;
}
.sequence-theme #sequence div.contain h2.title {
	width: 100%;
	margin: 0;
	padding: 0 20px;
	display: inline-block;
	z-index: 9005;
	color: #3A3A3A;
	font-size: 30px;
	line-height: 30px;
	font-weight: 700;
	text-align: center;
	font-family: ptserif;
}
.sequence-theme #sequence div.contain a.button {
	width: 100%;
	max-width: 200px;
	height: auto;
	margin: 35px 0 10px 0;
	padding: 15px;
	display: inline-block;
	background: #db0000;
	color: #ffe2e2;
	font-size: 18px;
	line-height: 18px;
	font-weight: 500;
	text-align: center;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	-webkit-transition: opacity 1s ease 1s, bottom 1s ease 1s, background 300ms ease, color 300ms ease;
	transition: opacity 1s ease 1s, bottom 1s ease 1s, background 300ms ease, color 300ms ease;
}
.sequence-theme #sequence div.contain a.button:last-of-type {
	margin-left: 20px;
}

.sequence-theme #sequence div.contain a.button:hover { 
	background: #f97878; 
	color: #fff;
}

/*  MEDIA QUERIES
--------------------------------------------- */

@media only screen and (min-width: 0) and (max-width: 1044px) {
	
	.sequence-theme #sequence div.contain {
		width: 90%;
		margin: 0 5%;
	}

}

@media only screen and (min-width: 0) and (max-width: 1024px) {


}

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

	.sequence-theme #sequence {
		height: 440px;
	}

	.sequence-theme #sequence div.contain {
		top: 13%;
		padding: 20px;
	}

}  

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

	article.content div.middle.about div.left,
	article.content div.middle.about div.right {
		width: 100%;
	}
	
	article.content div.middle.about div.right {
		margin-top: 20px;
	}
	
	.sequence-theme #sequence div.contain a.button:last-of-type {
		margin: 0;
	}

	.sequence-theme #sequence div.contain h2.title {
		font-size: 26px;
		line-height: 38px;
	}
	
	.sequence-theme #sequence.sequenceSubpage div.contain h2.title {
		font-size: 18px;
		line-height: 28px;
	}
	.sequence-theme #sequence.sequenceSubpage div.contain a.button { 
		font-size: 14px;
		padding: 5px 10px;
	}
	.sequence-theme #sequence.sequenceSubpage div.contain {
		top: 5%;
	}

}  

@media only screen and (min-width: 0) and (max-width: 414px) {  

	.sequence-theme #sequence div.contain h2.title {
		font-size: 20px;
		line-height: 32px;
	}
	
	.sequence-theme #sequence div.contain a.button {
		max-width: 100%;
		margin: 20px 0 10px 0;
	}

}  