/* 탑슬라이더 */
.slide-tmargin {margin-top: 0px;}

/* 메인슬라이더 */
.main-slider {
    width: 100%;
    height: 800px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 0;
}
.owl-main-slider {
    height: 100%;
}
.owl-main-slider .owl-stage-outer {
    height: 100%;
}
.owl-main-slider .owl-stage {
    height: 100%;
}
.owl-main-slider.owl-drag .owl-item {
    height: 100%;
}
.owl-main-slider .item {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.owl-main-slider .owl-dots {
    bottom: 5%;
	position: absolute;
    width: 100%;
    text-align: center;
	margin-top:0
}
.owl-main-slider .owl-dots span {
	display: block;
    width: 20px;
    height: 3px;
    background-color: #d6d6d6;
}
.owl-main-slider .owl-dot {
	display: inline-block;
    margin: 0 0.35rem;
}
.owl-main-slider .owl-dot.active span {
	background-color: #D4F21B;
}
.owl-main-slider .animated {
    -webkit-animation-duration : 2s;
    animation-duration : 2s;
    -webkit-animation-fill-mode : both;
    animation-fill-mode : both;
}
.owl-main-slider .item-cont {
    width: 100%;
	max-width: 1540px; /* 1340, 1430, 1540*/
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    /*align-items: left;*/
    justify-content: center;
    flex-direction: column;
	margin: 0 auto;
}
.owl-main-slider .item-cont .con-box {
	position: relative;
	padding: 100px 100px;
	max-width: 100%;
	width: 100%;
	z-index: 1;
}
.owl-main-slider .item-cont .con-box .con-box-border-1 {
	display: none;
	position: absolute;
	top: 0;
	left: calc(50% - 400px);
	width: 100%;
	max-width: 800px;
	height: 50px;
	border-top: 10px solid rgba(255, 255, 255, 0.3);
	border-left: 10px solid rgba(255, 255, 255, 0.3);
	border-right: 10px solid rgba(255, 255, 255, 0.3);
	z-index: -1;
}
.owl-main-slider .item-cont .con-box .con-box-border-2 {
	display: none;
	position: absolute;
	top: 10px;
	left: 0;
	width: 100%;
	max-width: 400px;
	height: 80px;
	border-right: 10px solid rgba(243, 245, 102, 0.3);
	z-index: -1;
}
.owl-main-slider .item-cont .con-box .con-box-border-3 {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: calc(100% - 10px);
	border-bottom: 10px solid rgba(255, 255, 255, 0.3);
	border-right: 10px solid rgba(255, 255, 255, 0.3);
	z-index: -1;
	border-bottom-right-radius: 80px;
}
.owl-main-slider .item-cont .con-box .con-box-border-4 {
	display: none;
	position: absolute;
	bottom: 0;
	right: calc(50% - 400px);
	width: 100%;
	max-width: 800px;
	height: 50px;
	border-left: 10px solid rgba(255,255,255, 0.3);
	border-right: 10px solid rgba(255, 255, 255, 0.3);
	border-bottom: 10px solid rgba(255, 255, 255, 0.3);
	z-index: -1;
}

.owl-main-slider .item-cont h6 {color: #fff;font-size: 18px;letter-spacing: -0.05em;font-weight: 400;margin: 0 0 10px;word-break: keep-all;font-family: 'Montserrat';text-transform: unset;line-height: 1.4;text-align: left;margin-bottom: 20px;}
.owl-main-slider .item-cont h2 {color: #fff;font-size: 54px;font-weight: 400;word-break: keep-all;font-family: 'OTWelcomeRA';line-height: 1.2;text-align: left;margin-bottom: 0;}
.owl-main-slider .item-cont h2 span {font-family: 'OTWelcomeBA';}
.owl-main-slider .item-cont p {color: #fff;font-size: 18px;letter-spacing: -0.05em;font-weight: 300;margin: 20px 0 0;word-break: keep-all;font-family: '';text-transform: unset;line-height: 1.5;text-align: left;}

.uppercase {text-transform: uppercase;}
.max-800-on {display: none;}
.color-test {background-color: #fff;}

a.theme-btn-2 {width: auto;}

.owl-main-slider .item-cont .btn-zone {display: block;margin-top: 50px;text-align: left;}

.owl-main-slider .bg-article {
	position: absolute;
	bottom: 0;
	left: 20%;
	width: 100%;
	height: 90%;
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: contain;
}
@media screen and (max-width: 1240px) {
	.owl-main-slider .bg-article {left: 5%;}
}
@media screen and (max-width: 800px) {
	.owl-main-slider .bg-article {}
}

.doteoveray {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url('../../theme/ybusiness_1/js/revolution-slider/assets/gridtile.png');
}

@media screen and (min-width: 1241px) {
	.owl-main-slider .item-cont .con-box {
		padding: 100px 100px 100px 55%;
	}
	.owl-main-slider .item-cont h2 {
		font-size: 60px;
	}
	.owl-main-slider .item-cont h6 {
		font-size: 26px;
	}
	.owl-main-slider .item-cont p {
		font-size: 18px;
	}
}
@media screen and (min-width: 801px) and (max-width: 1240px) {
	.owl-main-slider .item-cont .con-box {
		padding: 100px 100px 100px 50%;
	}
	.owl-main-slider .item-cont h2 {
		width: 97%;
		margin-left: auto;
		margin-right: auto;
	}
	.owl-main-slider .item-cont h6 {
		width: 97%;
		margin-left: auto;
		margin-right: auto;
	}
	.owl-main-slider .item-cont p {
		width: 97%;
		margin-left: auto;
		margin-right: auto;
	}
	.owl-main-slider .item-cont .btn-zone {
		width: 97%;
		margin-left: auto;
		margin-right: auto;
	}
}
@media screen and (max-width: 1240px) {
	.main-slider {
		height: 750px;
	}
	.owl-main-slider .item-cont .con-box .con-box-border-1 {
		left: calc(50% - 350px);
		max-width: 700px;
	}
	.owl-main-slider .item-cont .con-box .con-box-border-4 {
		right: calc(50% - 350px);
		max-width: 700px;
	}
}
@media screen and (max-width: 1024px) {
	.main-slider {
		height: 750px;
	}
}
@media only screen and (max-width: 800px) {
    .owl-main-slider .item-cont {width: 90%;margin-left: auto;margin-right: auto;}
    .max-800-on {display: inline-block;}
    .owl-main-slider .item-cont h6 {text-align: center;width: 90%;margin-left:auto;margin-right: auto;}
    .owl-main-slider .item-cont h2 {text-align: center;}
	.owl-main-slider .item-cont p {text-align: center;}
	.owl-main-slider .item-cont .btn-zone {text-align: center;}
	.owl-main-slider .item-cont .con-box {
		padding-left: 0;
		padding-right: 0;
		max-width: 800px;
		width: 100%;
	}
	.owl-main-slider .item-cont .con-box .con-box-border-1 {
		left: 0;
		width: 100%;
		max-width: 100%;
	}
	.owl-main-slider .item-cont .con-box .con-box-border-4 {
		right: 0;
		width: 100%;
		max-width: 100%;
	}
}
@media screen and (max-width: 767px) {
    #public h2, #guide h2 {margin-bottom: 30px !important;}
	.main-slider {
		height: 800px;
	}
}
@media screen and (max-width: 640px) {
    .owl-main-slider .item-cont h2 {
		font-size: 40px;
	}
}
@media screen and (max-width: 480px) {
	.main-slider {
		height: calc(100vh - 47px);
	}
	.owl-main-slider .item-cont .con-box {
		padding-top: 0px;
		padding-bottom: 200px;
	}
	.owl-main-slider .item-cont .con-box .con-box-border-1 {
		left: 0;
		width: 100%;
		max-width: 100%;
	}
	.owl-main-slider .item-cont .con-box .con-box-border-2 {
		right: 0;
		width: 100%;
		max-width: 100%;
	}
	.owl-main-slider .item-cont .con-box .con-box-border-3 {
		right: 0;
		width: 100%;
		max-width: 100%;
	}
}

/* Scroll down icon */

@-webkit-keyframes scroll-down-anim {
	0%{ top: -7px; }
	50%{ top: 3px; }
	100%{ top: -7px; }
}
@-moz-keyframes scroll-down-anim {
	0%{ top: -7px; }
	50%{ top: 3px; }
	100%{ top: -7px; }
}
@-o-keyframes scroll-down-anim {
	0%{ top: -7px; }
	50%{ top: 3px; }
	100%{ top: -7px; }
}
@keyframes scroll-down-anim {
	0%{ top: -7px; }
	50%{ top: 3px; }
	100%{ top: -7px; }
}

.scroll-down{
	z-index: 999;
	width: 150px;
	height: 43px;
	margin-left: -75px;
	line-height: 43px;
	white-space: nowrap;
	position: absolute;
	bottom: 10%;
	left: 50%;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 3px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	color: rgba(255,255,255, .5) !important;
	
	-webkit-transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940); 
    -moz-transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940); 
    -o-transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940); 
    transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940); 

}


.scroll-down:hover,
.scroll-down:focus{
	text-decoration: none;
	letter-spacing: 6px;
	color: rgba(255,255,255, 0) !important;
}
.scroll-down.static,
.scroll-down.static{
	color: rgba(255,255,255, .4) !important;
}
.scroll-down.static:hover,
.scroll-down.static:focus{
	letter-spacing: 3px;
	color: rgba(255,255,255, .85) !important;
}
.scroll-down-icon{
	width: 26px;
	height: 100%;
	margin-left: -13px;
	position: absolute;
	top: 0;
	left: 50%;
	border: 2px solid rgba(255,255,255, .35);
	
	-moz-border-radius: 13px;
	-webkit-border-radius: 13px;
	border-radius: 13px;
	
	-webkit-transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940); 
    -moz-transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940); 
    -o-transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940); 
    transition: all 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
	
	-webkit-animation: scroll-down-anim 1s infinite;
    -moz-animation: scroll-down-anim 1s infinite;
    -o-animation: scroll-down-anim 1s infinite;
    animation: scroll-down-anim 1s infinite; 
}

.scroll-down-icon:after{
	content: " ";
	width: 2px;
	height: 12px;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -1px;
	background: rgba(255,255,255, .35);
	
	-webkit-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);  
    -moz-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000); 
    -o-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000); 
    transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}
.scroll-down:hover .scroll-down-icon{
	background: rgba(255,255,255, .7);
}

.scroll-down:hover .scroll-down-icon:after{
	background: rgba(0,0,0, .5);
}
.scroll-down.light:hover .scroll-down-icon:after,
.bg-color .scroll-down:hover .scroll-down-icon:after,
.bg-color-alfa .scroll-down:hover .scroll-down-icon:after,
.bg-color-alfa-30 .scroll-down:hover .scroll-down-icon:after,
.bg-color-alfa-50 .scroll-down:hover .scroll-down-icon:after,
.bg-color-alfa-70 .scroll-down:hover .scroll-down-icon:after,
.bg-color-alfa-90 .scroll-down:hover .scroll-down-icon:after{
	background: rgba(255,255,255, .15);
}

@media only screen and (max-width: 1240px) {
	.scroll-down {display: none;}
}
@media only screen and (max-width: 480px) {
	.scroll-down {display: block;bottom: 20%;}
}
