@charset 'utf-8';

/* counsel_ css */

input:focus {
  outline: none;
}

.counsel {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  background: #004191;
  height: 100px;
  width: 100%;
}
.ev_counsel_in{
  position: relative;
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
}
.ev_counsel_in .form-box, .ev_counsel_in form{
  height: 100%;
}
.ev_counsel_in form{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form_con{
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  height: 100%;
}
.form_con ul{
  display: flex;
  align-items: center;
  gap: 22px;
}
.form_con ul li{
  display: flex;
  align-items: center;
  gap: 12px;
}
.form_con ul li .fl-name{
  font-size: 19px;
  color: #fff;
}

#counsel .form_con .info input, #counsel .form_con select{
  padding: 0 7px;
  height: 36px;
  border: 1px solid #12355f;
  border-radius: 8px;
  font-size: 18px;
}
#counsel .form_con .info >div{
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
#counsel .form_name input{
  width: 122px;
}
#counsel .form_number input, #counsel .form_number select{
  width: 83px;
}
#counsel .form_content input{
  width: 300px;
  font-size: 15px !important;
}

.form_number .text-box>ul{
  display: flex;
  gap: 5px;
}
#counsel .form_number span{
  color: #fff;
}
.form_number select{
  -webkit-appearance: none;
}
.form_number select:focus{
  outline: none;
}
.form_number .text-box ul li:first-child{
  position: relative;
}
.form_number .text-box ul li:first-child::after{
  content: "∨";
  clear: both;
  color: #232323;
  position: absolute;
  right: 11%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 1;
}

#receive-btn{
  width: 125px;
  height: 53px;
  background-color: transparent;
  color: #fff;
  font-size: 21px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  border: 2px solid #fff;
  border-radius: 8px;
  cursor: pointer;
}

.provision{
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.85rem;
}
#provision-check[type="checkbox"]{
  width: 34px;
  height: 34px;
  border: 1px solid #12355f;
  -webkit-appearance: checkbox;
}
.provision_btn{
  text-align: start;
}

#privacy_btn{
  display: block;
  padding: 0.2rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: break-spaces;
  word-break: keep-all;
}

/* 개인정보 처리방침 팝업 */
#privacy_box {
  position: fixed;
  display: none;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  z-index: 99999999;
}
#privacy_box table {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  background: #fcfcfc;
  font-family: "Noto Sans Korean", "Malgun Gothic", dotum, sans-serif;
  white-space: break-spaces;
  overflow-x: auto;
  -ms-overflow-style: none;
  border-collapse: collapse;
  border-radius: 12px;
}

#privacy_box tbody {
  display: flex;
  flex-direction: column;
}
#privacy_box tr:first-child {
  display: flex;
  line-height: 65px;
  text-align: center;
  border-bottom: 1px solid #232323;
}
#privacy_box tr:last-child {
  height: 76vh;
  overflow-y: scroll;
  padding: 0 2%;
}
#privacy_box tr:first-child th:first-child {
  width: calc(100% - 50px);
  font-size: 21px;
  font-weight: 900;
}
#privacy_box tr:first-child th:last-child {
  width: 65px;
  background: #232323;
  border-radius: 0 12px 0 0;
}
#privacy_box button {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  font-size: 21px;
}
#privacy_box th{
  font-family: "Noto Sans KR";
}
#privacy_box pre {
  font-size: 1rem;
  white-space: break-spaces;
  overflow-x: unset;
  font-family: "Noto Sans KR", dotum, sans-serif;
  text-align: start;
}
/* 모바일 간편상담 버튼 */
.mo_counsel_btn{
  display: none;
}
@media screen and (max-width: 1200px) {
  .counsel{
    height: 120px;
  }
  .ev_counsel_in form{
    justify-content: center;
    gap: 3%;
  }
  #counsel .form_con .info{
    flex-direction: column;
    gap: 10px;
  }
  #counsel .form_con .info >div{
    width: 100%;
  }
  .form_con ul li{
    gap: 10px;
  }
  #counsel .form_content input{
    width: 175px;
  }
  .provision{
    font-size: 1rem;
  }
  #privacy_btn{
    display: inline-block;
    font-size: 1rem;
  }
  #receive-btn{
    height: 80px;
  }
  #privacy_box table{
    width: 60vw;
  }
  #privacy_box tr:last-child{
    padding: 0 4%;
  }
}

@media all and (max-width: 767px) {
  .counsel{
    height: 190px;
  }
  .ev_counsel_in{
    z-index: 99999;
    background-color: #004191;
  }
  .ev_counsel_in form{
    width: 90%;
    margin: 0 auto;
    align-items: flex-start;
  }
  #counsel .form_con .info >div{
    flex-direction: column;
    gap: 10px;
  }
  .form_con ul li{
    gap: 8px;
  }
  .form_con ul li .fl-name{
    font-size: 3vw;
    text-align: left;
    width: 16%;
  }
  .form_con ul li .fr-con{
    width: 79%;
  }
  #counsel .form_name input,#counsel .form_content input, #counsel .form_number input, #counsel .form_number select{
    width: 100%;
    font-size: 3.5vw;
    height: 32px;
  }
  .form_number .text-box>ul{
    gap: 3px;
  }
  .form_number .text-box ul li{
    width: 33%;
  }
  .provision, #privacy_btn{
    font-size: 13px;
  }
  #receive-btn{
    width: 25%;
    font-size: 4.5vw;
    margin-top: 13px;
    height: 130px;
    padding: 0 5px;
  }
  #counsel #provision-check[type="checkbox"]{
    width: 20px;
  }
  #privacy_btn{
    position: absolute;
    bottom: 11px;
  }
  .provision{
    height: 20px;
  }
  #privacy_box table{
    width: 80vw;
  }
  #privacy_box tr:last-child{
    height: 60vh;
    padding: 0 6%;
  }

  /* 모바일 간편상담 버튼 */
  .mo_counsel_btn{
    display: block;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    clear: both;
    padding: 0.6rem 3.5rem;
    font-weight: 700;
    color: #fafafa;
    background-color: #004191;
    border-radius: 20px 20px 0 0;
    font-size: 1.2rem;
    z-index: 999;
    box-shadow: -1px 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
  }
  .counsel{
    bottom: -100%;
    transition: bottom 0.6s;
  }
  .counsel.up{
    bottom: 0;
  }
}
