@charset "utf-8";

/*-------------------------------------------------
# Tailwind Customize
-------------------------------------------------*/
.fs-0 {
  font-size: 0;
}
.lh-0 {
  line-height: 0;
}
.z-10 {
  z-index: 10;
}
.z-999 {
  z-index: 999;
}
.z-9999 {
  z-index: 9999;
}
.z-100000 {
  z-index: 100000;
}
.zoom-1 {
  zoom: 1;
}
textarea {
  padding: 8px;
}

.grid-basic-5 {
  grid-template-columns: auto 8rem 4rem 4rem 4rem;
}
.grid-basic-6 {
  grid-template-columns: 2.5rem auto 8rem 4rem 4rem 4rem;
}
.grid-basic-7 {
  grid-template-columns: 2.5rem auto 8rem 4rem 4rem 4rem;
}
.grid-basic-8 {
  grid-template-columns: 2.5rem 4rem auto 8rem 4rem 4rem 4rem 4rem;
}

.caption,
caption {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
.win_btn .btn_submit {
  color: #fff;
  background-color: rgba(99, 102, 241, 1);
  border-radius: 5px;
}
.win_btn .btn_close {
  background-color: rgba(75, 85, 99, 1);
  border-radius: 5px;
}
.btn_cke_sc {
  font-size: 0.9rem;
  margin-bottom: 10px;
  height: 25px;
}
.btn_cke_sc_close {
  padding: 2px 8px;
  background: rgba(99, 102, 241, 1);
  border-radius: 3px;
  color: #fff;
  font-size: 0.9rem;
}

input:checked + svg {
  display: block;
}

/* Board Category */
#bo_cate ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_cate li {
  display: inline-block;
  padding: 2px;
}
#bo_cate a {
  display: block;
  line-height: 18px;
  padding: 5px 12px;
  border-radius: 30px;
  border: 1px solid #d6e9ff;
  color: rgba(99, 102, 241, 1);
  font-size: 0.9rem;
}
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
  text-decoration: none;
  background: rgba(224, 231, 255, 1);
}
#bo_cate #bo_cate_on {
  z-index: 2;
  background: rgba(99, 102, 241, 1);
  color: #fff;
  font-weight: bold;
  border: 1px solid rgba(99, 102, 241, 1);
  -webkit-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
  -moz-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
  box-shadow: inset 0 2px 5px rgb(33, 135, 202);
}

/*-------------------------------------------------
# Header
-------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 40;
  /* height: 86px; */
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
/* .scrolled-offset {
  margin-top: 70px;
} */
.logo {
  width: 115px;
}

/*-------------------------------------------------
# Navigation
# sm에서 햄버거 메뉴의 위치가 어긋나는 문제 해결
-------------------------------------------------*/
@media (max-width: 767px) {
  /* .basic {
    position: relative;
  }
  nav {
    position: absolute;
    top: 0;
  } */
  #header {
    height: 4rem;
  }
  .logo {
    width: 80px;
  }
}
nav > h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

/*-------------------------------------------------
# Slick
-------------------------------------------------*/
@media (min-width: 640px) {
  .slick-track {
    height: 600px;
  }
  .v-center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
}

/*-------------------------------------------------
# Main Top
-------------------------------------------------*/
#main-top {
  background: linear-gradient(0deg, rgb(0 0 0 / 30%), rgb(0 0 0 / 70%)), url("/images/bg-main.jpg") 50% no-repeat;
  background-size: cover;
  height: 40vh;
  background-attachment: fixed;
}
/* @media (min-width: 1024px) {
  #main-top {
    background-attachment: fixed;
  }
}
@media (max-width: 768px) {
  #main-top {
    height: 80vh;
  }
}
@media (max-height: 500px) {
  #main-top {
    height: 100vh;
  }
} */

/*-------------------------------------------------
# lawtop
-------------------------------------------------*/
.lawtop {
  height: 500px;
}
@media (max-width: 1024px) {
  .lawtop {
    height: 400px;
  }
}

/*-------------------------------------------------
# Testimonials
-------------------------------------------------*/
.testimonials {
  background: url("../img/testimonials/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
}
.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}
.swiper-pagination-bullet {
  background: #fff;
}
.swiper-pagination-bullet-active {
  background: #fff;
}

/*-------------------------------------------------
# Back to top
-------------------------------------------------*/
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*-------------------------------------------------
# SKIN
-------------------------------------------------*/
/* Member */
/* #sign_in h1 {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
} */

/*-------------------------------------------------
# 게시판용(공통)
-------------------------------------------------*/
/* #container_title span::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: -9px;
  left: calc(50% - 60px);
}
#container_title span::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background-color: rgba(99, 102, 241, 1);
  bottom: -10px;
  left: calc(50% - 20px);
} */

#bo_list nav {
  position: relative;
}
#bo_gall nav {
  position: relative;
}

#captcha {
  margin: 10px 0;
}
#captcha #captcha_img {
  display: inline;
}

.move_date {
  display: inline;
}
@media (max-width: 767px) {
  .cm_wrap {
    float: none !important;
    width: 100% !important;
  }
  .move_date {
    display: block;
  }
}
#bo_v_img a {
  display: flex;
  justify-content: center;
}

/*-------------------------------------------------
# 베이직 게시판
-------------------------------------------------*/
.show-row {
  display: table-row;
}
.show-cell {
  display: table-cell;
}
.show-row-one {
  display: none;
}
@media (max-width: 992px) {
  .show-row {
    display: none;
  }
  .show-cell {
    display: none;
  }
  .show-row-one {
    display: flex;
  }
  .tbl_head01 thead th {
    padding: 10px 0;
    height: 40px;
  }
}

/*-------------------------------------------------
# Pagiination
-------------------------------------------------*/
/* .pg_current {
  background-color: rgba(99, 102, 241, 1);
  border-color: rgba(99, 102, 241, 1);
} */





html {
  scroll-behavior: smooth;
}

/* main */
.swiper-slide-01 {
  background: url("/images/main-banner-01.png") no-repeat 100% 100%;
  height: 100%;
  background-size: 100%;
}
.login-tab-list button[aria-selected="true"] {
  border-bottom: 2px solid #000;
  font-weight: bold;
}
.banner-container {
  clip-path: polygon(20% 0, 100% 0%, 100% 100%, 0 100%);
}
.banner-inside {
  background: url("/images/lawtop.png") 100% 0 no-repeat;
}

/* calc */
#openCalcDial { position: relative; z-index: 999; }
#lawCalc_float ul {display:none;}
#lawCalc_float ul li {position:absolute; width:60px; height:60px; top:50%; left:15%; transform:translate(0, -50%) rotate(0deg); transition:all ease .4s;}
#lawCalc_float ul li a {position:absolute; top:0; left:0; text-align: center;}
#lawCalc_float ul li a img {display:block; width:60px; height:60px; border-radius:50%; background:#ffc000;}
#lawCalc_float ul li a img:hover {background:#e2aa00;}
#lawCalc_float ul li a span {display:none; width:100%; font-size:12px; font-weight: normal; text-align:center; background: #fff;}



/* flowbite */
[multiple],
[type=date],
[type=datetime-local],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
select,
textarea {
  border-color: inherit;
  border-radius: .75rem;
}

.highlight {
  background-image: linear-gradient(to top, #ffff91 40%, transparent 0);
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.datepicker-title {
  color: #4F46E5;
}
.datepicker-cell.today {
  background: #DBEAFE;
}
.datepicker-cell.disabled {
  opacity: .1;
}

/* editor */
.btn_cke_sc {display: none;}
#bo_v_con * {font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif !important;}

/* bg */
.bg-mypage {background: url("/images/bg-mypage.jpg") no-repeat 50% 0;}
.bg-request {background: url("/images/bg-request.jpg") no-repeat 50% 0;}
.bg-lawyers {background: url("/images/bg-lawyers.jpg") no-repeat 50% 0;}
.bg-lawfirms {background: url("/images/bg-lawfirms.jpg") no-repeat 50% 0;}
.bg-staff {background: url("/images/bg-staff.jpg") no-repeat 50% 0;}
.bg-column {background: url("/images/bg-column.jpg") no-repeat 50% 0;}
.bg-news {background: url("/images/bg-news.jpg") no-repeat 50% 0;}
.bg-notice {background: url("/images/bg-notice.jpg") no-repeat 50% 0;}
.bg-bet {background: url("/images/bg-bet.jpg") no-repeat 50% 0;}

/* mypage */
.mypage-banner-item {
  background: url("/images/mypage-banner-01.png") no-repeat 100% 100%;
  height: 100%;
  background-size: 30%;
}

/* visited */
.visited-link:visited {
  color: #a3a3a3;
}

@media (max-width: 1023px) {
  .bg-mypage {background-position: 43% 0;}
  .bg-request {background-position: 75% 0;}
  .bg-lawyers {background-position: 67% 0;}
  .bg-lawfirms {background-position: 67% 0;}
  .bg-staff {background-position: 80% 0;}
  .bg-column {background-position: 90% 0;}
  .bg-news {background-position: 50% 0;}
  .bg-notice {background-position: 88% 0;}
  #lawCalc_float ul li { top:50%; left:50%; transform:translate(-50%, -50%) rotate(0deg); transition:all ease .4s;}
}

@media (max-width: 767px) {
  #lawCalc_float ul li { top:15%; left:50%; transform:translate(-50%, -50%) rotate(0deg); transition:all ease .4s;}
  .mypage-banner-item {
    background-size: 40%;
  }
}

/* 한글 
.us-hwp {
    background: url("/images//boardicon_hwp.svg") no-repeat top left;
    background-size: contain;
    width: 36px;
    height: 42px;
}*/