@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");


body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: #F5F6FA;
  min-width: 1440px !important;
  min-height: 100%;
  min-height: -webkit-fill-available;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

html {
  height: -webkit-fill-available;
}

main {
  height: 100vh;
  max-height: 100vh;
  overflow-x: auto;
  overflow-y: auto;
}

:root {
--bs-primary: #499EED;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #499EED;
    --bs-btn-border-color: #499EED;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4092de;
    --bs-btn-hover-border-color: #4092de;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4092de;
    --bs-btn-active-border-color: #4092de;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #499EED;
    --bs-btn-disabled-border-color: #499EED;
}
.btn-outline-primary {
    --bs-btn-color: #499EED;
    --bs-btn-border-color: #499EED;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #499EED;
    --bs-btn-hover-border-color: #499EED;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #499EED;
    --bs-btn-active-border-color: #499EED;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #499EED;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #499EED;
    --bs-gradient: none;
}

.form-signin {
  min-width: 370px;
  padding: 1.5rem;
  box-shadow: 0px 4px 15px rgba(24, 48, 68, 0.1);
  border-radius: 10px;
  background-color: #fff;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.header {
  position: fixed;
  z-index: 10000;
}

.footer {
  align-self: stretch;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  height: 2.438rem;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.75rem;
  color: var(--bs-gray-500);
}
.wrapper {
  width: calc(100% - 260px);
  height: 100vh;
  flex-direction: column;
  display: flex;
  position: relative;
  left: 260px;
}
.content {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  gap: 1rem;
}

.badge {
  font-size: 0.75rem;
}
.badge-count {
  min-width: 1.25rem;
  border-radius: 25px;
  background-color: #6b7a99;
  font-size: 0.75rem;
  color: #fff;
}
.badge-warning {
  border-radius: 25px;
  background-color: #ebb70c;
}
.badge-safe {
  border-radius: 25px;
  background-color: #7cd85a;
}
.badge-danger {
  border-radius: 25px;
  background-color: #E85B75;
}
.badge-other {
  border-radius: 25px;
  background-color: #9499ad;
}

.dropdown .dropdown-toggle {
  outline: 0; 
  background-color: #fff;
  border-color: rgba(195, 202, 217, 0.5)
}
.dropdown .dropdown-toggle:hover,
.dropdown .dropdown-toggle:focus {
  color: var(--bs-dark);
}
.dropdown-toggle::after {
  border: none;
  vertical-align: baseline;
  width: 1rem;
  height: 1rem;
  vertical-align: -0.1em;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708' clip-rule='evenodd'/></svg>");
}
.btn-toggle.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .25rem .5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bs-gray-500);
  background-color: transparent;
  border: 0;
}
.btn-toggle.nav:hover,
.btn-toggle.nav:focus {
  color: var(--bs-white);
  background-color: transparent;
}

.btn-toggle.nav .bi {
  width: 1.25em;
  line-height: 0;
  transition: transform .35s ease;
  transform-origin: .5em 50%;
  
}

.btn-toggle.nav[aria-expanded="true"] .bi {
  color: var(--bs-white);
  transform: rotate(180deg);
}

.btn-toggle-nav {
  padding: 1rem .5rem ;
  background-color: rgba(0, 0, 0, .2);
  border-radius: var(--bs-border-radius-lg);
  list-style-type: none;
}

.btn-toggle-nav li::before {
  display: none !important;
  content: "";
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 5px;
  background-color: var(--bs-gray-500);
  position: relative;
  left: 1rem;
  top: 1.125rem;
}
.btn-toggle-nav a {
  display: flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  color: var(--bs-gray-500);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--bs-border-radius);
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: transparent;
  color: var(--bs-white);
}
.btn-toggle-nav a.active {
  color: var(--bs-cyan);
}

.scrollarea {
  overflow-y: auto;
}
.img-fluid {
  width: 100%;
  object-fit: cover;
}
.chart-container {
    width: 100%;
    min-height: 300px;
}
.fs-sm {
  font-size: 0.875rem;
}

/* sidebar */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}
.nav-side {
  width: 260px;
  height: 100vh;
  box-shadow:inset 0 0.125em 0.5em #00000026;
  background: -moz-linear-gradient(top,  #26334D 0%, #5877B3 100%);
  background: -webkit-linear-gradient(top,  #26334D 0%, #5877B3 100%);
  background: linear-gradient(top,  #26334D 0%, #5877B3 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
  color: #fff;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  padding: 1.75rem 1rem;
  text-decoration: none;
  color: #A0F082;
  box-shadow: 0 0.25em 0.5em #00000050;
}

/* page top header */
.page-header .h2 {
  font-weight: 600;
  font-size: 2rem;
  color: #2b3045;
}

.breadcrumb .breadcrumb-item {
  font-size: 1.5rem;
  font-weight: 600;
}
.breadcrumb-item+.breadcrumb-item::before {
  display: none;
}

.nav-location {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.user-info-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.user-info-group .user-info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.25rem;
}
.user-info-group .label {
  border-radius: 100px;
  
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.125rem 0.625rem;
}
.user-info-group .admin {
  position: relative;
  text-transform: capitalize;
  font-weight: 600;
  font-size: .75rem;
  color: rgba(var(--bs-link-color-rgb));
  background-color: rgba(38, 151, 255, 0.15);
  border: 1px solid rgba(38, 151, 255, 0.3);
}
.user-info-group .user {
  position: relative;
  text-transform: capitalize;
  font-weight: 600;
  font-size: .75rem;
  color: rgba(var(--bs-btn-active-bg));
  background-color: rgba(157, 163, 169, 0.15);
  border: 1px solid rgba(101, 104, 108, 0.3);
}
.info-list-item {
  color: #696E82;
}
.list-card-group {
  width: 25rem;
  box-shadow: 0px 4px 10px rgba(215, 221, 237, 0.46);
  border-radius: 5px;
  background-color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.25rem;
  color: #a1a8bc;
}
.list-card-group .title {
  font-weight: 600;
  color: var(--bs-dark);
}
.weather-item-group {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0rem;
}
.weather-item {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  font-size: 0.875rem;
}

@media (max-width: 1600px) {
  .weather-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
  }
}
.stat-card-group {
  align-self: stretch;
  box-shadow: 0px 4px 10px rgba(215, 221, 237, 0.46);
  border-radius: 0px 0px 5px 5px;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #858997;
}
.stat-card-group .stat-card {
  width: 24%;
  min-width: 280px;
  border-radius: 10px;
  background-color: #f8faff;
  border: 1px solid #d4e0ea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.stat-card-group .stat-card:hover {
  box-shadow: 0px 0px 8px 2px rgba(126, 190, 251, 0.7);
  transition: all 0.3s;
}
.stat-card-group .stat-card:hover .menu-item-link,
.stat-card-group .stat-card:focus .menu-item-link {
  color: var(--bs-primary);
}
.stat-card-group .head {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 1.25rem 0rem;
  gap: 0.75rem;
  font-size: 1.25rem;
  color: #2b3045;
}
.stat-card-group .head .menu-item-link {
  display: flex;
  flex-direction: row;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
  color: #2b3045;
}
.head-box-parent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: #a0a8ac;
}
.inner-weather-group {
  align-self: stretch;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.25rem;
  gap: 0.625rem;
  color: #a1a8bc;
}
.inner {
  box-shadow: 0px -4px 5px rgba(0, 0, 0, 0.05) inset, 0px 4px 5px rgba(0, 0, 0, 0.05) inset;
  background-color: rgba(38, 51, 77, 0.03);
}

.equip-status-group {
  align-self: stretch;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  margin-bottom: 0;
  gap: 1rem;
  list-style: none;
}
.equip-status-group li {
  flex: 1;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}
.equip-status-group li .text-group {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.list-event-group {
  align-self: stretch;
  box-shadow: 0px 2px 5px rgba(38, 51, 77, 0.03);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.25rem;
  gap: 0.625rem;
  font-size: 0.875rem;
}
.list-event-group .info-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
}
.list-event-group .info-text .text-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}
.list-event-group .info-text .text-group .title {
  width: 3rem;
  position: relative;
  display: inline-block;
  text-align: left;
  flex-shrink: 0;
}

.carousel-control-next, .carousel-control-prev {
  width: 5%;
}
.carousel-control-next {
  right: -2rem;
}
.carousel-control-prev {
  left: -2rem;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
}
.carousel-indicators {
  margin-bottom: -1rem;
}
.carousel-indicators [data-bs-target] {
  background-color: var(--bs-gray-500);
}
.carousel.slide {
  min-height: 550px;
}
.control-switch .form-check {
  padding-left: 0;
}
.control-switch .form-check .form-check-input {
  float: right;
  margin-left: 1rem;
}

.table>:not(caption)>*>* {
  padding: 0.751rem;
  text-align: center;
  background-color: var(--bs-table-striped-bg);
}

.table-hover>tbody>tr:hover>* {
  background-color: var(--bs-table-striped-bg);
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-bg-type: var(--bs-table-bg);
}

.pagination .page-item .page-link {
  padding: 0.5rem 0.95rem;
  color: var(--bs-gray);
}
.page-item.active .page-link {
  color: var(--bs-white);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.accordion-button::after {
  display: none;
}
.accordion-button::before {
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  content: "";
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-size: var(--bs-accordion-btn-icon-width);
  transition: var(--bs-accordion-btn-icon-transition);
  margin-left: -1rem;
  margin-right: 0.5rem;
}
.accordion-button.collapsed::before {
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2' clip-rule='evenodd'/></svg>");
}

.accordion-header.position-relative .btn-float {
  position: absolute;
  top: 0.65rem;
  right: 0.5rem;
  z-index: 3;
}

/* calendar custom styles */
.fc-daygrid-event-dot {
    position: relative;
}
.fc-license-message {
    display: none !important;
}
.fc-col-header .fc-scrollgrid-sync-inner {
    padding: 7px;
    background-color: #B8BEC8;
}
.fc-scroller-harness .fc-datagrid-header tr,
.fc-timeline-header tr.fc-timeline-header-row {
    background-color: #B8BEC8;
}
.fc-scroller-harness th.fc-datagrid-cell,
.fc-timeline-slot-frame a.fc-timeline-slot-cushion,
.fc-col-header .fc-scrollgrid-sync-inner a.fc-col-header-cell-cushion {
    color: #fff;
    font-weight: 600;
}
.fc .fc-timeline-event-harness {
    top: 6px !important;
}
.fc .fc-daygrid-event {
    border-radius: 0;
    font-size: 13px;
}
.fc .fc-highlight {
    border: 1px solid #53C6F9;
}
.fc-button-group .fc-button {
    padding: 3px 6px 6px !important;
}
.fc-col-header .fc-day-sun .fc-scrollgrid-sync-inner a.fc-col-header-cell-cushion {color:#d32d34;}
.fc-col-header .fc-day-sat .fc-scrollgrid-sync-inner a.fc-col-header-cell-cushion {color:#1A82B6;}

.total-control {
    display: flex;
    margin-top: 5px;
}
.total-control .form-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 50%;
}
.total-control .form-group .toggle-switch {
    margin-bottom: 0;
}
.form-condition .formset {
    position: relative;
}
.form-condition .formset .unit {
    position: absolute;
    right:25px;
    top: 7px;
}

.aligner {
  display: flex;
  align-items: center;
  justify-content: center;
    text-align: center;
}
.box-gauge .comment {
    margin-top: 30px;
    font-size: 16px;
}

/* timeline styles */
.table-timeline {
	position:relative;
	margin:auto;
	overflow:hidden;
	border:1px solid #D3DCE5;
}
.table-wrap {
	width:100%;
	overflow-x:auto;
}
.table-timeline table {
	width:100%;
	margin:auto;
  text-align: center;
	border-collapse:collapse;
	border-spacing:0;
    border-color: #D3DCE5;
    font-size: 13px;
}
.table-timeline th, .table-timeline td {
    min-width: 48px;
	padding:8px 10px;
	border:1px solid #D3DCE5;
	background:#fff;
	white-space:nowrap;
	vertical-align:top;
}
.table-timeline thead>tr>th{
    width: 54px;
    background-color: #B8BEC8;
    color: #fff;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}
.table-timeline tbody>tr>th {
    background-color: #fff !important;
    color: #34495e;
    font-weight: 400;
    text-align: center;
    font-size: 14px;
}
.table-timeline tbody>tr>th .ellipsis {
    width: 100px;
    display: block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.clone {
	position:absolute;
	top:0;
	left:0;
	pointer-events:none;
}
.clone th, .clone td {
    border-color:transparent;
	visibility:hidden;
}

.clone tbody th {
	visibility:visible;
	color: #fff;
}
.clone .fixed-side {
	border:1px solid #D3DCE5;
	background:#B8BEC8;
	visibility:visible;
}

.week-event-wrapper {
    position: relative;
    left: -11px;
    top: -10px;
}
.week-event {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(365, 48px);
}

.week-event-title {
    display: inline-grid;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 4px 10px; 
    font-size: 12px;
    height: 10px;
    color: #fff;
    background-color: #85CD14;
    cursor: pointer;
}


/* on&off switch style */
.toggle-switch {
    display: table;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.toggle-switch input:focus + div {
    text-decoration: underline;
}

.toggle-switch > div {
    cursor: pointer;
    border-radius: 2rem;
    width: 3.5rem;
    height: 1.75rem;
    color: #8f97a3;
    border: 2px solid #8f97a3;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    -webkit-transition: 200ms ease-out;
    transition: 200ms ease-out;
    font-size: 0;
    text-align: left;
}

.toggle-switch > div:hover {
    box-shadow: 0 1 5px #0d6efd;
}

.toggle-switch > div:before {
    will-change: translate;
    display: block;
    position: absolute;
    top: calc(50% - 0.5rem);
    left: 0.35rem;
    content: '';
    width: 1rem;
    height: 1rem;
    background: #8f97a3;
    border-radius: 50%;
    -webkit-transition: 200ms;
    transition: 200ms;
}

.toggle-switch > div:after {
    width: 3rem;
    font-size: 13px;
    font-weight: 600;
    position: absolute;
    left: 24px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: attr(data-off);
    pointer-events: none;
}

.toggle-switch input:checked + div {
    background: #0d6efd;
    border-color: #0d6efd;
}

.toggle-switch input:checked + div:before {
    left: 0.875rem;
    color: #0d6efd;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transform: translateX(calc(0.8*100% + 4px));
    transform: translateX(calc(0.8*100% + 4px));
    background: white;
}

.toggle-switch input:checked + div:after {
    content: attr(data-on);
    left: 0.5rem;
    color: #fff;
}

.toggle-switch input:focus + div:after {
    text-decoration: underline;
}


.btn-link[aria-expanded="true"] .bi::before {
    transform: rotate(180deg);
    transition: transform .35s ease;
}
.display-hide{
  display: none;
}