html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  overflow-x: hidden; /* prevent horizontal scrollbar from off-screen sidebar */
}

body {
  margin-bottom: 0; /* remove default margin that caused extra vertical scroll */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Sidebar collapse behavior */
.sidebar {
  width: 240px;
  transition: width 0.2s ease, transform 0.2s ease;
}

.sidebar.collapsed {
  width: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden;
  border-right: 0 !important;
}

/* Ensure main content adapts nicely */
@media (max-width: 991.98px) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1030; /* above content */
    transform: translateX(-100%);
  }
  .sidebar.show {
    transform: translateX(0);
  }
}

/* Allow flex item to shrink to avoid horizontal overflow */
.content-wrapper { min-width: 0; }







/* **** ¼­ºê Å¸ÀÌÆ² ****  */
.SubTitle, #divEdition .SubTitle {
    width: 100%;
    margin: 10px 0px 5px 0px;
    padding: 10px 0px;
}

    .SubTitle > div, #divEdition .SubTitle > div {
        border-style: solid;
        border-width: 0 0 1px 4px;
        padding: 10px;
        /*margin: 0 15px 0 5px;*/
        background-color: #fff;
    }

    .SubTitle div h5, #divEdition .SubTitle div h5 {
        font-size: 18px;
        font-weight: bold;
        margin: 0;
    }

    .SubTitle .Red > div {
        border-color: #FF0000;
    }

    .SubTitle.Red > div {
        border-color: #FF0000;
    }

    .SubTitle.Yellow > div, #divEdition .SubTitle.Yellow > div {
        border-color: #FFFF00;
    }

    .SubTitle.Green > div {
        border-color: #00CC00;
    }

    .SubTitle.Blue > div {
        border-color: #0000FF;
    }