
#main_slide{clear: both; width: 100%; margin:0 auto;}



#main_slide .carousel-inner{height: 100vh; overflow: hidden;}


#main_slide .carousel-inner .carousel-item img{
 position: absolute;
 top: 0; left: 0;
 min-width: 100%;
 height: 100%;
 max-width: none;
 object-fit:cover;
 object-position:center;

 user-drag: none;
 -webkit-user-drag: none;
 user-select: none;
  
}


#main_slide .carousel-item{
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  width:100%;
  height:100%;
}



.carousel-caption{bottom:45%;}


/*텍스트 스타일*/
.slide_txtarea{width: 100%;  color: #fff; text-align: center;}
.slide_txtarea h2{font-size: 3em; font-weight: 600; margin:0 auto 20px !important;}
.slide_txtarea p{font-size: 1.8em !important; letter-spacing: -0.02em;}
.slide_txtarea a {  color: #fff;    text-shadow: none;
  font-size: 14px;    font-weight: inherit;
  text-transform: uppercase;  padding:0 25px; 
  border:1px #fff solid;    display:inline-block; 
  margin: 20px auto 0;    line-height: 45px;
    -webkit-animation: 1s 4s fadeIn both;
    -moz-animation: 1s .4s fadeIn both;
    -ms-animation: 1s .4s fadeIn both;
    -o-animation: 1s .4s fadeIn both;
    animation: 1s .4s fadeIn both; border-radius: 50px; }


.slide_txtarea a:hover{background:#fff; color:#333; border:1px #fff solid;}

.carousel-control-next, .carousel-control-prev{opacity: 0;}
#main_slide:hover .carousel-control-next, 
#main_slide:hover .carousel-control-prev{opacity: 1 !important;}

.carousel-indicators{bottom: 30px;}
.carousel-indicators li { background: transparent !important;
height: 12px; width: 12px; border-radius: 100%; border:2px #fff solid;
margin-right: 5px;   
}

.carousel-indicators .active {background-color:#ffff !important;}
.carousel-indicators li:hover{cursor:pointer;}


.carousel-control-next-icon, .carousel-control-prev-icon{
  width: 40px !important; height: 40px !important;
}

.carousel-control-prev-icon {
    background-image: url('prev.png') !important;
}

.carousel-control-next-icon {
    background-image: url('next.png') !important;
}




.carousel-fade .carousel-item {
 opacity: 0;
 transition-duration: .6s;
 transition-property: opacity;
}

.carousel-fade  .carousel-item.active,
.carousel-fade  .carousel-item-next.carousel-item-left,
.carousel-fade  .carousel-item-prev.carousel-item-right {
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-right {
 opacity: 0;
}

.carousel-fade  .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade  .active.carousel-item-prev {
 transform: translateX(0);
 transform: translate3d(0, 0, 0);
}


@media screen and (max-width:680px) {

.carousel-caption{bottom:35%;}
#main_slide .carousel-inner{height: 60vh;}

.slide_txtarea h2{font-size: 1.5em; margin:0 auto 10px; }
.slide_txtarea p{font-size: 0.9em !important; letter-spacing: -0.03em; line-height: 150% !important; margin-top:10px;}
.slide_txtarea p br{display: none;}
.slide_txtarea a{line-height: 30px; font-size: 13px !important;}
	
}


@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE */
  img.img-slide {
    opacity: 0 !important;
  }
}