/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
/* @font-face {
    font-family: 'KorailRoundGothicBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2212@1.0/KorailRoundGothicBold.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
} */
* {
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
}
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

.carousel-caption-nobg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    position:absolute;
    padding-top:1.25rem;
    padding-bottom:1.25rem;
    color:#fff;
    text-align:center
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.owl-carousel .owl-stage {
    display: flex;
}

.owl-carousel .owl-item {
    width: auto;
    height: 100%;
}
.owl-carousel .owl-nav{
    overflow: hidden;
    height: 0px;
}

.owl-carousel .item {
    text-align: center;
}

.owl-carousel .nav-btn{
    height: 47px;
    position: absolute;
    width: 26px;
    cursor: pointer;
    top: 100px !important;
}

.owl-carousel .owl-prev.disabled,
.owl-carousel .owl-next.disabled{
pointer-events: none;
opacity: 0.2;
}

.owl-carousel .prev-slide{
    background: url(nav-icon.png) no-repeat scroll 0 0;
    left: -33px;
}
.owl-carousel .next-slide{
    background: url(nav-icon.png) no-repeat scroll -24px 0px;
    right: -33px;
}
.owl-carousel .prev-slide:hover{
    background-position: 0px -53px;
}
.owl-carousel .next-slide:hover{
    background-position: -24px -53px;
}
.info-img{
    min-height: 500px;
}
.bg-grey-50{
    --bs-bg-opacity: 1;
    background-color: rgba(248, 249, 250, var(--bs-bg-opacity)) !important;
}

/* 오늘 하루 보지 않기 팝업(임시) */
button {
  border: 0;
  background: none;
  cursor:pointer;
}

.main_popup {
  position: fixed;
  z-index: 1005;
  -webkit-box-shadow: 0px 13px 40px -6px #061626;
  box-shadow: 0px 13px 40px -6px #061626;  
    width: 500px;
    left: 50%;
    margin-left: -250px; /* half of width */
    top: 70px;
    overflow: auto;
    display: none;
  &.on {
    display: block;
    background-color: #fff;
  }

  .img_wrap {
    width: 500px;
    display:flex;
    justify-content:center;
    align-items:center;
  }

  .btn_close {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 17px;
    right: 17px;
    font-size: 0;
    border: 0;
    background: none;

    &::before {
      content: "";
      width: 2px;
      height: 32px;
      background-color: #333;
      position: absolute;
      top: 0;
      left: 15px;
      transform: rotate(45deg);
    }
    &::after {
      content: "";
      width: 32px;
      height: 2px;
      background-color: #333;
      position: absolute;
      top: 15px;
      left: 0;
      transform: rotate(45deg);
    }
  }

  .btn_today_close {
    width: 100%;
    height: 45px;
    background-color: #333;
    text-align: center;
    color: #fff;
    font-size: 14px;
    display: block;
    span {
      display: block;
      line-height: 40px;
      vertical-align: bottom;
      opacity: 0.8;
    }
  }
}
@media (min-width: 992px){
    .text-lg-left {
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    html {
        font-size : 10px;
    }
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
    .bi-arrow-up {
        font-size : 20px;
    }
    
    .owl-carousel .nav-btn {
        top: 60px !important;
    }
    .info-img{
        min-height: 320px;
    }
    
	/* 오늘 하루 보지 않기 팝업(임시) */
	button {
	  border: 0;
	  background: none;
	  cursor:pointer;
	}
	
	.main_popup {
	  position: fixed;
	  z-index: 1005;
	  -webkit-box-shadow: 0px 13px 40px -6px #061626;
	  box-shadow: 0px 13px 40px -6px #061626;  
	    width: 100%;
	    left: 0px;
	    margin-left: 0; /* half of width */
	    top: 45px;
	    overflow: auto;
	    display: none;
	  &.on {
	    display: block;
	    background-color: #fff;
	  }
	
	  .img_wrap {
	    width: 100%;
	    display:flex;
	    justify-content:center;
	    align-items:center;
	    object-fit: scale-down;
	  }
	
	  .btn_close {
	    width: 32px;
	    height: 32px;
	    position: absolute;
	    top: 17px;
	    right: 17px;
	    font-size: 0;
	    border: 0;
	    background: none;
	
	    &::before {
	      content: "";
	      width: 2px;
	      height: 32px;
	      background-color: #333;
	      position: absolute;
	      top: 0;
	      left: 15px;
	      transform: rotate(45deg);
	    }
	    &::after {
	      content: "";
	      width: 32px;
	      height: 2px;
	      background-color: #333;
	      position: absolute;
	      top: 15px;
	      left: 0;
	      transform: rotate(45deg);
	    }
	  }
	
	  .btn_today_close {
	    width: 100%;
	    height: 45px;
	    background-color: #333;
	    text-align: center;
	    color: #fff;
	    font-size: 14px;
	    display: block;
	    span {
	      display: block;
	      line-height: 40px;
	      vertical-align: bottom;
	      opacity: 0.8;
	    }
	  }
	}
	}
}

@media (max-width: 1500px) {
    .carousel-caption-nobg {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(21, 36, 64, .7);
        z-index: 1;
    }
}
