/* web font Noto Sans KR - /static/css/fonts.css 에서 자체 호스팅으로 로드한다. */

* {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", Roboto, "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif !important;
  letter-spacing: -0.04em;
}

body {
  background-color: #FFF !important;
}

.logo {
  height: 55px;
  width: auto;
  margin: 0 !important;
}

.nav-sub .nav-tabs {
  justify-content: center !important;
  border-bottom: 1px solid #e5e5e5;
}

.nav-sub .nav-tabs .nav-item .nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  font-size: 1.0rem;
  color: #5e5e5e;
  border-bottom: 3px solid transparent !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.nav-sub .nav-tabs .nav-item .nav-link.active,
.nav-sub .nav-tabs .nav-item .nav-link:hover {
  color: #2f85c4;
  border-bottom: 3px solid #2f85c4 !important;
  text-decoration: none;
}

.nav-link:hover, .nav-link:focus{
  color: #2f85c4!important;
}
.dropdown-menu > li.active > a.dropdown-item{
  font-weight: bold!important;
  color: #2f85c4!important;
  background-color: #fff!important;
}
.dropdown-item:hover{
  color: #2f85c4!important;
  background: #f5f9fc!important;
}

/* Table */
table td a {
  color: #535353;
}

table .input-checkbox {
  height: 20px;
}

.input-star input:checked + label:after {
  content: '★' !important;
  transform: none !important;
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  top: -2px;
  font-weight: 700;
}

.modal-header {
  height: 48px;
}

.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  height: 35px;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 20px;
  padding: .375rem 20px .375rem .75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  /* height: 32px; */
}

/* Datatables */
.no-sort::before, .no-sort::after {
  display: none !important;
}

.no-sort {
  padding: .7rem !important;
}


.form-filter button[type="submit"] {
  width: 50px;
  height: 36px;
  padding: .375rem;
}

/* JS Tree */
.jstree {
  height: 500px;
  overflow-y: auto;
}

.section-title {
  display: block;
  background-color: #004ea2;
  text-align: center;
  font-weight: bold;
  color: #FFF !important;
  padding: 0.5rem 0;
}

.main-popup {
  display: none;
  position: fixed;
  top: 60px;
  right: 5px;
  z-index: 999;
  border: 1px solid #aaa;
  box-shadow: -0.3em 0.3em 0.7em #666666;
  background-color: #FFF;
  min-width: 200px;
  max-width: 400px;
}

.main-popup .popup-container {
  overflow-x: hidden;
  overflow-y: auto;
}

.main-popup .popup-container > p {
  margin: 0 !important;
}

.main-popup .popup-container img {
  max-width: 100% !important;
}

.main-popup .popup-footer {
  width: 100%;
  height: 30px;
  background: #424242;
}

.main-popup .popup-footer a {
  color: #FFF !important;
}

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
  padding-right: 16px !important;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  font-weight: 700 !important;
  color: #2f85c4;
}

.text-underline {
  text-decoration: underline;
}

.btn-rounded {
  border-radius: 1.2rem;
}

.btn-outline{
  outline: 1px solid #dbdbdb!important;
  color: #767676;
  font-weight: 500;
}
.btn-outline:hover{
  outline: 1px solid #dbdbdb!important;
}

.attachment-box {
  margin-top: 0.8rem;
  margin-bottom: 2rem;
  background-color: #f7fafc;
  padding: 0.6rem 1.1rem;
  border-top: 1px solid #ddeaf2;
  border-bottom: 1px solid #ddeaf2;
}

.badge-large {
  font-size: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 3rem;
}

.border-box {
  padding: 0.6rem 0.4rem;
  border: 2px solid #004ea2;
}

.cursor-pointer {
  cursor: pointer;
}

.page-cover.bg-img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  margin: 0;
}

hr {
  margin-top: 0px;
  margin-bottom: 0px;
}

div.tagsinput input {
  width: 300px !important;
}

.popover-header {
  margin: 0 !important;
}

.shortcut-list .item {
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  background-color: rgba(36, 36, 36, 0.6);
}

.shortcut-list .item:hover {
  background-color: rgba(47, 133, 196, 0.8);
  font-weight: bold!important;
}

.shortcut-list .item img {
  display: block;
  margin: 0 auto;
  height: 76px;
  width: auto;
}

.shortcut-list .item p {
  color: #fff;
  text-align: center;
  margin-top: 4px;
}

.shortcut-list .item img {
  width: 32px;
  height: 32px;
}

.inspection-input {
  width: 50%;
  border: none;
  border-color: transparent;
  text-align: center;
}

.fw-bold {
  font-weight: bold !important;
}

.fs-1 {
  font-size: 40px !important;
  margin: 0;
  line-height: 1.2em!important;
}

.fs-2 {
  font-size: 32px !important;
  margin: 0;
  line-height: 1.25em!important;
}

.fs-4 {
  font-size: 20px;
  line-height: 1.4em!important;
}

.fs-5 {
  font-size: 16px;
  line-height: 1.5em!important;
}

.gap-1 {
  gap: 4px!important;
}

.gap-2 {
  gap: 10px!important;
}

.gap-3 {
  gap: 20px!important;
}

.gap-4 {
  gap: 28px!important;
}

.gap-5 {
  gap: 40px!important;
}

.text-primary {
  color: #00b3de !important;
}

.text-secondary {
  color: #2f85c4 !important;
}

.navbar {
  min-height: auto;
  border: none;
  top: auto;
}

.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
  font-weight: 700 !important;
  color: #2f85c4
}

.navbar-nav .nav-link {
  font-weight: 400 !important;
}

.navbar-nav .nav-link:hover {
  font-weight: 500 !important;
  color: rgba(0, 0, 0, 0.7);
}



.btn {
  border: none!important;
  border-radius: 4px !important;
  padding: 10px 20px;
  font-weight: 400!important;
  display: flex;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-block {
  padding: 18px 0 !important;
  border-radius: 8px !important;
  font-size: 16px!important;
}

.btn-primary {
  background: #2f85c4;
  color: #fff;
  border-radius: 4px;
  color: #fff;
}

.btn[data-action="delete"] {
  background: #ffe8e6;
  color:#ff4141;
}

.btn-primary:hover, .btn-primary:focus {
  color: #fff !important;
  filter: brightness(1.1);
  background: #2f85c4 !important;
}

.btn-ghost {
  color: #767676 !important;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, .1);
}

.btn-plus {
  padding : 6px 12px!important;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #fff !important;
  opacity: 1 !important;
  user-select: none;
  color: #676a6c!important;
}

.btn-plus:hover {
  background: #f5f7f8;
}

.btn-plus:hover img {
  filter: brightness(1.5);
}

.table-empty{
  padding: 48px 0!important;
}

.table-title{
  text-align: left;
  padding: 8px 0 8px 12px;
  display: block;
  text-overflow:ellipsis; overflow:hidden; white-space:nowrap;
}
.icon-pin{
  margin-left:12px
}


.table-title.table-title-fixed{
  font-weight: bold;
  padding: 8px 2px;
  display: inline-block;
}

.table-row{
  transition: all .3s;
}

.table-row:nth-of-type(2n-1){
  background: #fafafa;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
}

.table-row td{
  transition: all .3s;
  text-overflow:ellipsis; overflow:hidden; white-space:nowrap;
}

.table-row td a{
  transition: all .3s;
}

.table-row:hover{
  background: #f7fafc;
}

.table-row:hover td, .table-row:hover td a{
  color: #2f85c4!important;
  font-weight: 600!important;
}

.table-row:hover .td-date-text{
  letter-spacing: -0.06em;
}

.select2-selection{
  border-radius: 4px;
}

.form-control{
  border-radius: 4px;
}

.form-control.main-input-search {
  padding: 36px 0;
  font-size: 24px;
  font-weight: 500 !important;
  color: #767676;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", Roboto, "Noto Sans KR", "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif !important;
  border-radius: 8px;
  outline: none;
  border: none;
  margin-bottom: 32px;
}

.form-control.main-input-search::placeholder {
  color: #9ac1ca;
  letter-spacing: -0.04em;
  font-weight: 700 !important;
}

.form-control.main-input-search:focus::-webkit-input-placeholder { /* WebKit browsers */
  color: transparent;
}

.section-search {
  background: var(--gradation_light, linear-gradient(102deg, #66d1eB 0%, #2f85c4 108%));
  padding: 80px 0;
}

.section-search button[type = submit] {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  background: none;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}

.section-search button .pg-icon {
  font-size: 36px;
  color: #00b3de;
}

.board-content{
  min-height: 160px;
}

#head-common-menu.navbar{
  padding: 0;
  display: block;
}
#head-common-menu.navbar .container{
  padding: 0.5rem 1rem;
}

.top-notice {
  background: #f5f7f8;
  padding: 8px 20px;
  overflow: hidden;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.top-notice div{
  width: 100%;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.top-notice a:first-child {
  color: #767676;
  display: block;
  white-space: nowrap;
  text-align: center;
  margin: 0!important;
}
.top-notice:hover a:first-child{
  color: #2f85c4;
  font-weight: 600;
}

.top-notice .btn-link{
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
  background: #676a6c;
  color: #fff;
}
.top-notice .btn-link:hover{
  background: #959da3;
  color: #fff
}

.top-notice div a:nth-of-type(1){
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-notice > div:not(div:first-child){
  display: none;
}

/* .top-notice .btn-link {
  padding: 6px 12px;
  border-radius: 4px;
  color: #fff !important;
  background: #505050;
  font-size: 12px;
} */

.btn-link.hover:not(.active), .btn-link:hover:not(.active) {
  background-color: rgba(47, 133, 196, 0.8) !important;
}

/* login */
.container-login .select2-container .select2-selection.select2-selection--single {
  width: 100%;
  height: 60px !important;
  border: 1px solid #dbdbdb !important;
  border-radius: 8px;
}

.container-login .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 !important;
}

.container-login .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  bottom: 0;
  right: 16px;
}

.container-login .select2-container .select2-selection {
  padding: 0 16px;
}

.container-login .login-label {
  color: #333;
}

.btn-login {
  padding: 12px 24px !important;
}

.container-login {
  max-width: 496px;
  width: 100%;
  padding: 160px 0;
}

.container-login .form-control {
  height: 60px !important;
  border-radius: 8px !important;
  padding: 0 16px;
}


/* board UI */
.form-board-search {
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: end;
}
.form-board-search .form-group{
  margin: 0!important;
}
.form-board-search .form-control{
  box-sizing: border-box;
  padding: 12px;
  border-radius: 8px;
  height: 48px;
  font-size: 16px!important;
}
.form-board-search input[type = text]{
  min-width: 180px;
}

.btn-search{
  background: none;
  border: none;
  width: 40px!important; height: 40px!important;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: all .3s;
  border-radius: 50%;
  padding: 0 0 4px 0!important;
  margin-bottom: 4px
}
.btn-search:not(.position-absolute){
  background: #2f85c4;
}
.btn-search:not(.position-absolute):hover{
  background: #3493d7;
}
.btn-search:not(.position-absolute) img{
  filter: brightness(2);
}

.form-board-search button img{
  width: 18px; height: 18px;
}

.form-board-search button:hover{
  background: #efefef;
}

.form-board-search .select-arrow-custom{
  -o-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-position: calc(100% - 12px) center;
  background-repeat: no-repeat;
  color: #676a6c;
  padding-right: 32px;
}

.table-board th, .table-board td{
  border: none!important;
}

.table-board .table thead th{
  background: transparent!important;
}
.table-board .table thead tr:first-child{
  border: none!important;
}
.table-board .table thead tr:last-child{
  border-bottom: 1px solid #eaeaea!important;
}
.table-board .table.table-condensed thead tr th{
  font-size: 14px!important;
  color:#abafb8;
}
.table.table-condensed tbody tr td *:not(.dropdown-default){
  color: #676a6c
}
.table-board .table .null{
  color:#abafb8;
  display: inline!important;
  padding: 12px;
}

.table-board .table .null:hover{
  background: #f5f9fc;
  border-radius: 8px;
  color:#2f85c4;
}

.table-board .table .null.sorted-asc, .table-board .table .null.sorted-desc{
  color: #2f85c4;
  background: #f5f9fc;
  border-radius: 8px;
  font-weight: 700!important;
}
.pagination {
 gap: 10px;
 padding-top: 40px!important;
}
.pagination li{
  padding: 0!important;
}
.pagination li:nth-child(1) .page-link,
.pagination li:nth-child(2) .page-link,
.pagination li:nth-last-child(1) .page-link,
.pagination li:nth-last-child(2) .page-link{
  font-size: 24px!important;
  line-height: 24px;
  color: #aaa!important;
  padding-top: 2px;
}

.pagination li .page-link{
  border: none!important;
  border-radius: 6px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.pagination li:not(.active) .page-link{
  color: #767676!important;
}

.pagination li.active .page-link {
  border: 1px solid #ddeaf2!important;
  background: #f7fafc!important;
  color: #2f85c4!important;
  font-weight: bold;
}
.pagination li.disabled .page-link{
  opacity: .5;
}



.error-container{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.error-numb{
  font-weight: 900;
  font-size: 140px;
  line-height: normal!important;
  margin: 0!important;
  padding: 0!important;
  color: #2f85c4;
}

/* breadcrumb */
#icon-home{
  filter:grayscale(1);
  transition: all .3s;
}
#icon-home:hover {
  filter:grayscale(0);
}

.breadcrumb-custom .dropdown-menu{
  box-shadow: 0px 2px 8px rgba(0, 0, 0, .12);
  top: 8px!important;
}
.breadcrumb-custom{
  padding: 16px 8px;
  /* background: #f7fafc; */
  /* border-top: #ddeaf2 1px solid; */
  /* border-bottom: #ddeaf2 1px solid; */
  box-shadow: 0 0 2px rgba(0,0,0,.12);
  color: #676a6c;
  font-size: 14px;
  font-weight: 500;
}
.breadcrumb-custom > div{
  flex-wrap: wrap;
}
.breadcrumb-custom a{
  color: #959da3;
}

.breadcrumb-custom a:hover{
  color: #2f85c4;
}


/* footer */
.page-container .page-content-wrapper .footer {
  padding: 80px 0;
  background-color: #333 !important;
  color: #fff !important;
}

.copy {
  opacity: .8;
  font-size: 12px;
}

.f-info {
  padding: 8px 0;
}

.f-info .small-text {
  font-size: 13px !important;
}

.btn-dropdown {
  font-size: 14px;
  padding: 14px 64px 14px 16px;
  background: none;
  border: 1px solid #aaa;
  border-radius: 4px;
  color: #fff;
  -o-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-position: calc(100% - 14px);
  background-repeat: no-repeat;
}

.f-menu {
  border-bottom: 1px solid #767676;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.f-menu .nav-link {
  padding: 0;
}

.f-menu .nav-link:hover, .f-menu .nav-link:focus {
  color: #fff !important;
  font-weight: 700;
}

.page-container .page-content-wrapper .content {
  padding-bottom: 303px;
}

@media (min-width: 992px) {
  .text-lg-start {
    text-align: left !important;
  }

  .float-lg-end {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 991px) {
  .fs-1 {
    font-size: 28px !important;
  }

  .fs-2 {
    font-size: 20px;
  }

  .fs-4 {
    font-size: 18px;
  }

  .fs-5 {
    font-size: 14px;
  }

  .gap-5 {
    gap: 24px !important;
  }

  .navbar-light .navbar-brand {
    padding: 0;
    margin: 0;
  }

  .logo {
    height: 44px;
  }

  .navbar-toggler {
    border: none;
  }

  .section-search {
    padding: 48px 24px;
  }

  .section-search h4 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }

  .form-control.main-input-search {
    font-size: 16px !important;
    border-radius: 6px !important;
    margin-bottom: 16px;
    padding: 28px 20px !important;
  }

  .btn-login {
    position: absolute;
    right: 20px;
    top: 16px;
  }

  .page-container .page-content-wrapper .content {
    padding-bottom: 404px;
  }
}

@media (max-width: 767px) {
  .table-board{
    border: none!important;
  }
  .btn-cons{
    margin-bottom: 8px!important;
  }
  .form-board-search {
    width: 100%;
    justify-content: space-between;
  }
  .form-board-search .form-group{
   width: 100%;
   flex: 1;
  }
  .form-board-search .form-control{
    width: 100%;
  }
  .form-board-search input[type = text]{
    min-width: auto;
  }
  .form-board-search button[type = "submit"] {
    height: auto;
    padding: 12px 0!important;
  }

}