#header-image-top-wrapper {
    display: flex;
    column-gap: 20px;
    width: 100%;
    max-width: calc(1280px + 173px);
    max-height: 700px;
    height: 700px;
    overflow: hidden;
    padding: 20px;
    padding-bottom: 0px;
    margin: auto;
}
#header-image-text-top-wrapper {
    width: 40%;
    row-gap: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
#header-image-text-top-wrapper h1 {
    font-size: 30px;
    text-align: center;
}
.header-image-text-block {
    height: 50%;
    padding: 30px;
    background-color: #eaeaea;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}
.header-image-text-block .button {
    width: 50%;
    margin-top: 15px;
}

#header-image-image-top-wrapper {
    width: 70%;
    height: 100%;
    max-height: 700px;
    /* margin: -86px auto 0; */
    border-radius: 20px;
    z-index: 11;
    overflow: hidden;
}
#header-image-image-top-wrapper img {
    min-height: 700px;
}


#sequence {
    display: none;
	width: 100%;
	min-height: 700px;
	margin: -66px auto 0;
	background: #fff;
	position: relative;
	z-index: 11;
	overflow: hidden;
	border-bottom: 6px solid #2e3192;
}

#sequence.sub {
	height: 250px;
	min-height: auto;
}

#sequence .seq-screen,
#sequence .seq-canvas,
#sequence .seq-canvas > * {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seq-screen {
	z-index: 11;
}

#sequence li {
	z-index: 1;
}

#sequence li div.background {
	width: auto;
	height: 100%;
	opacity: 0;
	position: absolute;
	left: 0;
	right: 0;
	filter: brightness(.9) blur(0.01em) grayscale(10%);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-transition-duration: 1.25s;
	transition-duration: 1.25s;
}

#sequence li.seq-in div.background {
	opacity: 1;
	transition-timing-function: ease;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}

#sequence li.seq-out div.background {
	opacity: 0;
	transition-timing-function: ease;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}

#sequence li div.contain {
	width: 100%;
	max-width: 1280px;
	height: auto;
	margin: 0 auto;
	padding: 0 20px;
	position: absolute;
	left: 0;
	right: 0;
	top: 156px;
	z-index: 5;
	opacity: 0;
	text-align: center;
	-webkit-transition-duration: 1s;
	transition-duration: 1s;
}

#sequence li.seq-in div.contain {
	opacity: 1;
	transform: scale(1);
	transition-timing-function: ease-in;
	-webkit-transition-duration: .5s;
	transition-duration: .5s;
}

#sequence li.seq-out div.contain {
	opacity: 0;
	transform: scale(1);
	transition-timing-function: ease-out;
	-webkit-transition-duration: .5s;
	transition-duration: .5s;
}

#sequence li div.contain div.content {
	width: 100%;
	padding: 30px;
	display: inline-block;
	text-align: center;
}

#sequence li div.contain div.content h1 {
	width: 100%;
	margin: 0;
	padding: 15px;
	color: #fff;
	display: inline-block;
	vertical-align: middle;
	background: rgb(214,83,83);
	background: -moz-linear-gradient(left,  rgba(214,83,83,1) 0%, rgba(216,45,45,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(214,83,83,1) 0%,rgba(216,45,45,1) 100%);
	background: linear-gradient(to right,  rgba(214,83,83,1) 0%,rgba(216,45,45,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d65353', endColorstr='#d82d2d',GradientType=1 );
	-webkit-border-radius: 300px;
	border-radius: 300px;
	text-align: center;
	font: 500 26px / 50px 'interstate', sans-serif;
}

#sequence li div.contain div.content a.cta-button {
	width: calc(280px - 50px);
	height: auto;
	margin: 30px 0 0 10px;
	padding: 0 0 0 25px;
	background: #f39200;
	display: inline-block;
	vertical-align: middle;
	color: #fff;
	font: 500 22px / 50px 'interstate', sans-serif;
	text-align: left;
	position: relative;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	-webkit-transition: linear background 100ms, linear padding 100ms;
	transition: linear background 100ms, linear padding 100ms;
}

#sequence div.contain div.content a.cta-button:hover { 
	background-color: #f2b661; 
}

#sequence div.contain div.content a.cta-button span.icon {
	width: 50px;
	height: 50px;
	margin-right: 15px;
	float: right;
	background: url('../img/icons/icon-arrow-right.svg') no-repeat calc(100% - 10px) center / 22px;
	-webkit-transition: 100ms border-color ease-in;
	transition: 100ms border-color ease-in;
}

#sequence div.contain div.content a.cta-button:hover span.icon {
	border-color: #eda948;
}

.seq-buttons {
	width: 100%;
	max-width: 1360px;
	height: 30px;
	margin: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
}

button.seq-arrow {
	width: 30px;
	height: 30px;
	margin: auto;
	background: no-repeat center / 30px;
	border: 0;
	position: absolute;
	bottom: 0;
	cursor: pointer;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-webkit-transition: ease 100ms all;
	transition: ease 100ms all;
}

button.seq-arrow.seq-prev {
	left: 20px;
	background-image: url('../img/icons/icon-arrow-left-sequence.svg');
}

button.seq-arrow.seq-prev:hover {
	left: 15px;
}

button.seq-arrow.seq-next {
	right: 20px;
	background-image: url('../img/icons/icon-arrow-right-sequence.svg');
}
button.seq-arrow.seq-next:hover {
	right: 15px;
}

div.seq-pagination {
	max-width: 1400px;
	margin: 0 auto;
	position: absolute;
	bottom: 35px;
	left: 0;
	right: 0;
	text-align: center;
}

div.seq-pagination button {
	width: 15px;
	height: 15px;
	margin-right: 10px;
	padding: 0;
	background: none;
	overflow: hidden;
	cursor: pointer;
	background: rgba(255, 255, 255, .3);
	position: relative;
	z-index: 11;
	border: 0;
	-webkit-border-radius: 300px;
	border-radius: 300px;
	-webkit-transition: linear 100ms all;
	transition: linear 100ms all;
}

div.seq-pagination button.seq-current {
	background: rgba(255, 255, 255, .6);
}

div.seq-pagination button:last-of-type {
	margin-right: 0;
}

#sequence li.single > * {
	opacity: 1;
}

#sequence li.single div.contain {
	padding: 0 20px;
	bottom: 20px;
}

#sequence li.single div.contain div.content {
	width: auto;
	max-width: auto;
	padding: 15px 15px 20px;
}

#sequence li.single img  {
	width: 100%;
	height: 100%;
	filter: brightness(100%);
	object-fit: cover;
	object-position: center;
}

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

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

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

    #header-image-top-wrapper {
        display: none;
    }

	#sequence {
        display: block;
		min-height: 400px;
	}
	
	#sequence li div.background {
		filter: brightness(.5);
	}

	#sequence li div.contain div.content h1 {
		width: 100%;
		padding: 10px;
		font: 800 26px / 34px 'interstate', sans-serif;
		background: none;
	}
	
	#sequence li div.contain div.content a.cta-button {
		margin-top: 20px;
		font: 500 22px / 46px 'interstate', sans-serif;
	}
	
} 

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

	#sequence {
		min-height: 300px;
		margin: 0;
	}
	
	#sequence li div.contain {
		top: 15px;
	}

} 

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

	#sequence li div.contain div.content {
		padding: 30px 10px;
	}

	#sequence li div.contain div.content h1 {
		font: 500 20px / 28px 'interstate', sans-serif;
	}
	
	#sequence li div.contain div.content a.cta-button {
		margin-top: 20px;
		font: 500 20px / 46px 'interstate', sans-serif;
	}

} 