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



#main_slide .carousel-inner{height: 70vh; 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;
 -khtml-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:38%;}


/*텍스트 스타일*/
.slide_txtarea{width: 100%; text-align: center; text-shadow: 0 2px 4px rgb(0,0,0,.25);}
.slide_txtarea h2{font-size: 3em; font-weight: 600; margin:0 auto 20px;}
.slide_txtarea p{font-size: 1.2em }
.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:10px auto 0;    line-height: 40px;
    -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; }


.slide_txtarea a:hover{background:#fff; color:#000;}

.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 ;
height: 12px; width: 12px; 
margin-right: 5px; border:2px #fff solid ;
}

.carousel-indicators .active {background:#fff;}
.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;
}









#main_slide .carousel-inner
{height:611px;}
.carousel-caption
{right:0; left:0; width:100%; text-align:center;}
.slide_txtarea p
{font-size:30px; font-weight:300; line-height: 34px;}


.carousel-indicators li
{border-radius:50%; background:#fff;}
.carousel-indicators li.active
{border-radius:25px; border-color:#133c92; background:#133c92 !important; width:40px;}


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

#main_slide .carousel-inner{height: 45vh;}

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

	
}

@media screen and (max-width:414px){
  #main_slide .carousel-inner
  {height:250px;}
  .carousel-caption
  {padding:0 10px; bottom:25%;}
  .slide_txtarea h2
  {font-size:26px; margin:0 auto 10px; font-weight:500;}
  .slide_txtarea p
  {font-size:15px;}



  .carousel-indicators
  {bottom:15px;}
}