*:not(.pg-icon,.fa,.blueimp-gallery-button,i) {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -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: 100% !important;
}

body {
  padding-top: calc(68px + 36px);
  height: 100% !important;
  font-size: 1rem;
}

.logo {
  height: 42px;
  width: auto;
}

@media (max-width: 768px) {

  body {
    padding-top: calc(53px + 35px);
  }

  .logo {
    height: 36px;
  }
}

.navbar.navbar-styled {
  align-items: start
}

.nav-link:hover, .nav-link:focus {
  color: #29587f !important;
  background-color: #f1f2f4;
}

.navbar.navbar-styled .navbar-nav .nav-item.active .nav-link {
  color: #29587f !important;
}

.navbar.navbar-styled.opened {
  height: 200px;
  transition: height 2s;
}

.banner .banner-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.banner .banner-title > h4 {
  margin-top: 0.6rem;
  font-size: 1.5rem;
}

.banner .banner-title > p {
  font-size: 0.7rem;
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.banner .banner-menu {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background-color: rgba(0, 0, 0, .06) !important;
  border-bottom: 1px solid #efefef;
  overflow: hidden;
  z-index: 1;
}

.banner .banner-menu .banner-item {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 2.2rem;
  color: #FFF;
  height: 48px;
  transition: all .2s;
  text-decoration: none;
}

.banner .banner-menu .banner-item:last-child {
  position: absolute;
  right: 0;
}

.banner .banner-menu .banner-item:not(:last-child, .active):hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, .2);
}

.banner .banner-menu .banner-item.active {
  background-color: #fff;
  color: #29587f;
}

.banner .banner-menu .banner-item.active h5 {
  font-weight: 700;
}

.banner .banner-menu .banner-item h5 {
  font-weight: 400;
  margin: 0 auto;
  transition: all .2s;
}

.banner .banner-menu .banner-item h5.dropdown-toggle:hover {
  color: #c8d1db;
  cursor: pointer;
}

.banner .banner-menu .banner-item > i {
  margin: 0 0.3rem;
  background: rgba(0, 0, 0, .25);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  transition: all .2s;
  backdrop-filter: blur(24px);
}

.banner .banner-menu .banner-item > i:hover {
  background: rgba(0, 0, 0, .78);
}

.banner .banner-menu .banner-item > i:hover {
  cursor: pointer;
}

@media (max-width: 991px) {
  .banner .banner-menu .banner-item {
    padding: 0 .875rem;
  }
  .banner .banner-menu .banner-item h5{
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .banner .banner-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .banner .banner-menu .banner-item {
    height: 70px;
  }
}

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

.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 {
  color: #29587f;
  border-bottom: 3px solid #29587f !important;
  text-decoration: none;
  font-weight: 700;
}

.nav-sub .nav-tabs .nav-item .nav-link:not(.active):hover {
  border-bottom: 3px solid rgba(0, 0, 0, 0) !important;
}

.nav-sub .nav-tabs .nav-item .nav-link:hover {

}

.login-select-tabs {
  border-bottom: none;
  margin: 15px 0;
}

.login-select-tabs .nav-item {
  padding: 0;
}

.login-select-tabs .nav-item:first-child {
  padding-right: 8px;
}

.login-select-tabs .nav-item:last-child {
  padding-left: 8px;
}

.login-select-tabs .nav-item .nav-link {
  background-color: #fefefe;
  color: #69758a;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  border-radius: 8px;
}

.login-select-tabs .nav-item .nav-link.active {
  background-color: #29587f !important;
  color: #fff !important;
  text-wrap: nowrap;
}

.login-select-tabs .nav-item .nav-link:focus {
  background-color: #dbe4ef;
}

.login-form-card {
  width: 100%;
  max-width: 446px;
  height: fit-content;
  border-radius: 1rem;
  padding: 1.5rem;
}

.login-form-card label {
  color: #767676;
  margin-bottom: .25rem;
}

.login-form-card .form-control {
  padding: 4px 12px !important;
  border-radius: 8px;
  height: 46px;
}


.login-form-card .btn[type="submit"] {
  padding: 4px 12px;
  border-radius: 8px;
  height: 46px;
}

.login-form-card .select2-container,
.login-form-card .select2-selection,
.login-form-card .select2-selection__rendered {
  height: 46px !important;
  border-radius: 8px;
}

.login-form-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding: 0 12px;
}

.login-form-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 32px;
  height: 46px;
}

@media (max-width: 400px) {
  .login-form-card {
    padding: 1rem;
  }

  .login-select-tabs .nav-item .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.25rem;
  }

  .login-select-tabs .nav-item:first-child {
    padding-right: 4px;
  }

  .login-select-tabs .nav-item:last-child {
    padding-left: 4px;
  }

  .login-select-tabs .login-link {
    font-size: 0.75rem;
  }
}

.bg-primary-grident .select2-results__option {
  padding: 8px 12px !important;
}

.bg-primary-grident .select2-search--dropdown {
  padding: 0;
}

.bg-primary-grident .select2-search--dropdown .select2-search__field {
  border: 0;
  outline: 0;
  padding: 10px 12px;
  background: #e8f0fe;
}


.banner.top-bg {
  background-image: url('../img/background/top-bg-1.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  max-height: 420px;
  height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
  position: relative;
}

.banner.top-bg::after {
  content:'';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .16);
}

.banner.top-bg .container {
  display: flex;
  flex: 1;
  z-index: 1;
}


body.fullpage {
  padding: 0 !important;
}

.head-common-menu-class .nav-item {
  display: flex;
  align-items: center;
}

.head-common-menu-class .nav-item.active .nav-link{
  font-weight: 700;
}

.head-common-menu-class .nav-item .nav-link {
  display: flex;
  gap: 2px;
  color: #333;
  word-break: keep-all;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  height: 68px;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  background: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.head-common-menu-class .nav-item .nav-link:hover {
  font-weight: 600;
  box-shadow: 0 -4px 0 #29587f inset;
}

.head-common-menu-class.light .nav-item .nav-link {
  color: #fff;
  background: none;
}

.head-common-menu-class .badge-light {
  color: #29587f;
  font-size: 12px;
}

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

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

.modal-header {
  height: 48px;
  border-bottom: 0;
}
.modal-footer {
  border-top: none;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.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: #29587f;
  text-align: center;
  font-weight: bold;
  color: #FFF !important;
  padding: 0.5rem 0;
}

.subject-category-box .subject-box {
  height: 140px;
  padding-top: 30px;
  background-color: #e9ecef;
  margin-bottom: 20px;
}

.subject-category-box .subject-box .subject-title {
  color: #464547;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.subject-box .label {
  color: #29587f;
  font-weight: bold;
  border-bottom: 2px solid #29587f;
  padding-bottom: 5px;
  text-align: center;
  width: 110px;
  margin: 0 auto 10px auto;
}

.subject-category-box .subject-box:hover {
  background-color: #29587f;
}

.subject-category-box .subject-box:hover .label {
  color: #FFF;
  border-bottom: 2px solid #FFF;
}

.subject-category-box .subject-box:hover .subject-title {
  color: #FFF;
}

.majorgroup-title {
  margin-top: 0.5rem;
  text-align: left;
  font-weight: bold;
  font-size: 1.2em;
  color: #29587f;
}

.majorgroup-contents {
  font-size: 1.1em;
  padding: 0.5rem 0;
}

.subject-basket-star {
  position: absolute;
  top: 5px;
  left: 20px;
}

.subject-basket-star > input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.grade-calculation-table {
  font-size: 1.3em;
}

/* Adiga Floating Link */
.link-adiga {
  position: fixed;
  right: 0;
  top: 20%;
  width: 140px;
  height: 60px;
  background-color: #FFF;
  border-top: 1px solid #938d8f;
  border-left: 1px solid #938d8f;
  border-bottom: 1px solid #938d8f;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
  box-shadow: 7px 4px 4px #0c0c0c;
  z-index: 10;
  opacity: .8;
}

.link-adiga img {
  height: 46px;
  width: auto;
}

/* Main */
.hscredit-summary-box {
  height: 82px;
}

.hscredit-summary-box:hover {
  background-color: #3483de;
}

.hscredit-summary-box:hover i, .hscredit-summary-box:hover .feature__body h5 {
  color: #FFF !important;
}

.main-popup {
  display: none;
  position: fixed;
  top: 90px;
  right: 5px;
  z-index: 1030;
  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;
}

.loader-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFF;
  opacity: .9;
  display: none;
  z-index: 900;
}

.loader-wrap .loader-message {
  position: fixed;
  top: 55%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.7em;
  font-weight: bold;
}

#result-table .assign:hover {
  cursor: pointer;
  background-color: #fafafa;
}

#result-table .unassigned:hover .description {
  display: block;
}

.class-division-parallel-selector {
  padding: 0 8px;
}

.cell-parallel:hover {
  cursor: pointer;
  background-color: #eee;
}

.scroll-table {
  overflow-y: scroll;
  overflow-x: scroll;
  height: 500px;
}

.scroll-table table {
  table-layout: fixed;
}

.scroll-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.scroll-table td:nth-child(4) {
  background-color: #FFF;
  position: sticky;
  left: 0;
  z-index: 1;
}

.input-checkbox input.muted:checked + label {
  border-color: #aaa;
  background: #aaa;
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 90% !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;
}

.input-checkbox {
  margin-top: 0.1em;
}

.nav-tabs .nav-link.active {
  border-color: #dee2e6 #dee2e6 #fafafa;
  color: #29587f;
  font-weight: 600;
}

.navbar.navbar-styled {
  background-color: #FFF;
}

.navbar .navbar-toggler {
  color: #333;
  font-size: 40px;
}

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

.bg-danger {
  color: #FFF;
}

.collapsing {
  transition: none !important;
}


.fullpage-menu {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 400px;
  background-color: #FFF;
  box-shadow: #878787 15px 0px 34px;
  z-index: 1040;
  will-change: transform;
  backface-visibility: hidden;

  display: block !important;
  height: 100% !important;
  overflow: visible !important;

  transform: translateX(100%);
  transition: transform 0.4s ease-in-out, visibility 0.4s !important;
  visibility: hidden;
}

.fullpage-menu[style*="display: none"] {
  display: block !important;
  transform: translateX(100%) !important;
  visibility: hidden !important;
}

.fullpage-menu.show,
.fullpage-menu.open,
.fullpage-menu.active {
  transform: translateX(0) !important;
  visibility: visible !important;
}

.fullpage-close-button {
  display: flex;
  width: 64px;
  height: 64px;
  font-size: 32px;
  color: #fff !important;
  background-color: #505050;
  border-radius: 50%;
  z-index: 10;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: #979793 0px 0px 3px;
  transition: all .3s;
}

.fullpage-close-button:hover {
  background-color: #333;
}


/* 4. 모바일 화면 대응 */
@media (max-width: 768px) {
  .fullpage-menu {
    width: 100% !important;
    transform: translateX(100%);
  }
  .fullpage-menu.show {
    transform: translateX(0) !important;
  }
}


.fullpage-menu .fullpage-menu-list {
  height: 100%;
  width: 100%;
  padding-top: 50px;
  padding-left: 40px;
  padding-right: 40px;
  overflow-y: auto;
}

.fullpage-menu .fullpage-menu-list h5 {
  margin-top: 2rem;
  font-weight: bold;
}

.fullpage-menu .fullpage-menu-list ul li {
  margin-top: 0.3rem;
}

.fullpage-menu .fullpage-menu-list ul li a {
  color: #66707d;
  font-size: 15px;
  font-weight: 400;
  padding: 4px 0;
  display: block;
}

@media (max-width: 768px) {
  .fullpage-menu {
    position: fixed;
    left: 50px;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: #FFF;
    z-index: 1040;
  }

  .fullpage-menu .fullpage-menu-list {
    padding-top: 30px;
    padding-left: 32px;
    padding-right: 72px;
  }

  .fullpage-menu .fullpage-menu-list ul li {
    margin-top: 0.2rem;
  }

  .fullpage-menu .fullpage-menu-list h5 {
    margin-top: 1.4rem;
    font-weight: bold;
  }
}

.menuline {
  display: none;
  position: absolute;
  right: 64px;
  width: 1px;
  background-color: #e5e5e5;
  bottom: 0;
  z-index: 0;
}

.fullpage .navbar.navbar-styled {
  background: none !important;
}

.subpage-menu {
  position: fixed;
  z-index: 1029;
  top: 68px;
  left: 0;
  right: 0;
  height: 160px;
  background-color: #FFF;
  box-shadow: 0px 7px 20px rgb(0, 0, 0, 15%);
}

.btn-primary {
  color: #fff;
  background-color: #29587f;
  border-color: #29587f;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #4383b2;
  border-color: #4383b2;
}

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

.attachment-box {
  margin-top: 0.8rem;
  background-color: #f6f6f6;
  padding: 0.8rem 1.2rem;
}

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

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

.cursor-pointer {
  cursor: pointer;
}

.intro-subtitle-round {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background-color: #29587f;
  color: #FFF;
  font-weight: bold;
  font-size: 1.15rem;
  text-align: center;
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

.intro-subtitle-round-sm {
  font-size: 1rem;
  width: 100px;
  height: 100px;
}

.intro-subtitle-box {
  display: flex;
  margin-top: 1.5rem;
  border-bottom: 2px solid #29587f;
}

.intro-subtitle {
  background-color: #29587f;
  color: #FFF;
  font-weight: bold;
  font-size: 1.04rem;
  padding: 0.4rem 0.6rem;
  line-height: 1.2rem;
}

.bt-primary {
  border-top: 2px solid #29587f;
}

.bb-primary {
  border-bottom: 2px solid #29587f;
}

.object-fit-contain {
  object-fit: contain !important;
}

.school-space-box {
  border: 1px solid rgba(50, 50, 50, .1);
  box-shadow: 4px 8px 24px rgba(0, 0, 0, .08);
  padding: .75rem;
  overflow: hidden;
  transition: all .3s;
  background: #fff;
  border-radius: 14px;
}

.school-space-box:hover {
  transform: translateY(-4px);
  box-shadow: 12px 20px 40px rgba(50, 50, 50, .2);
}

.school-space-box-imgbox{
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  border-radius: 14px;
}

.school-space-box:hover img{
  transform: scale(1.04);
  filter: brightness(1.2);
}

.school-space-box:hover a{
  color: #29587f;
}

.school-space-box img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all .3s linear;
}

.school-space-box .content {
  color: black;
  font-weight: bold !important;
  height: 100%;
}

.school-space-box .title {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  transition: all .3s;
  font-size: 1rem;
}

.school-space-box a:hover .title {
  color: #004ea2;
}

.school-space-box .date {
  color: rgba(0, 0, 0, .5) !important;
  font-weight: 300;
  font-size: .875rem;
}

.school-space-box a{
  text-decoration: none;
}

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

.table .table thead tr:last-child {
  border-bottom: 2px solid #8b8b8b;
}

.table .table thead tr:first-child {
  border-top: 2px solid #8b8b8b;
}

.table-responsive .table.table-condensed thead tr:first-child {
  border-top: 1px solid #dbdbdb;
}

.table-responsive .table.table-condensed thead tr:last-child {
  border-bottom: 1px solid #dbdbdb;
}

.table-responsive .table.table-condensed strong {
  font-weight: 500;
  color: #29587f;
}

.table-responsive .table.table-condensed th,
.table-responsive .table.table-condensed td {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.table-responsive .table.table-condensed .badge {
  padding: 4px 6px;
  font-size: 0.875rem;
  font-weight: 400;
  margin-right: 2px;
}

.badge-primary {
  background: #29587f !important;
}


.table .table thead th {
  color: #3c434b;
  background-color: #fcfcfc;
}

.inspection-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 34px;
}

/*bg-color*/
.bg-orange {
  background-color: #E94821;
}

.bg-coral-blue {
  background-color: #0071a2;
}

.bg-light-blue {
  background-color: #0091d0;
}

.bg-blue {
  background-color: #000FA2;
}

.bg-navy {
  background-color: #2A00A2;
}

.bg-purple {
  background-color: #4F00D0;
}

.bg-light {
  background: #f4faff !important;
}

.bg-primary {
  background-color: #29587f !important;
}

.bg-primary-gradient {
  background: linear-gradient(180deg, #4d80b1 0%, #b5cfe2 78%);
}

.required-icon {
  margin-left: 3px;
  color: red;
  font-size: 5px;
}

.different-submit-subject {
  background-color: #F9FBF7 !important;
}

.added-submit-subject {
  background-color: #C6EFCE !important;
}

.modified-submit-subject {
  background-color: #FFEB9C !important;
}

.removed-submit-subject {
  background-color: #FFC7CE !important;
}

.site-card-img {
  width: 50%;
  height: 100%;
  display: block;
  margin: 10px auto;
  object-fit: scale-down !important;
}

.site-card-link {
  font-weight: bold;
  color: black;
}

.card-site {
  height: 130px;
}

.subject-group-item {
  cursor: grab;
}

.subject-group-item:last-child {
  margin-bottom: 50px !important;
}

.subject-group {
  min-height: 100px;
  padding-right: 0px !important;
}

.intro-basket-container {
  text-align: center;
}

.intro-basket-container img.img-fluid {
  max-width: 1024px;
}

.certbox {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 260px;
  border: 2px solid #e3e3e3;
  padding: 0.45rem 0.1rem;
}

.cert-reading-box {
  width: 100%;
  height: 180px;
  border: 1px solid #d2d2d2;
  border-radius: 0.25rem;
  background-color: #ededed;
  overflow-y: auto;
}

.cert-reading-box .title {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 10px;
  color: #29587f;
}

.cert-reading-box .content {
  padding: 10px;
}

.gap-1{
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.opacity-50 {
  opacity: .5;
}

.rounded-3 {
  border-radius: 1rem !important;
}

.menu-top-grid-container {
  display: grid;
}

.menu-top-grid-container.display-4column {
  grid-template-columns: repeat(4, 196px);
}

.menu-top-grid-container.display-1column {
  grid-template-columns: 196px;
}

.dropdown-menu:has(.menu-top-grid-container) {
  left: auto;
  right: 0;
  top: calc(100% + 12px);
  box-shadow: 2px 4px 8px rgba(0, 0, 0, .12);
  border: 1px solid #dbdbdb;
  border-radius: 8px;
}

.navbar-bg-style {
  background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
}

.unified-card-stepper .nav-pills {
  display: flex;
  background-color: #f1f3f5;
  padding: 8px;
  border-radius: 12px;
  gap: 8px;
}

.unified-card-stepper .nav-item {
  flex: 1;
  display: flex;
}

.step-item-box {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px !important;
  padding: 10px 15px !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: #6c757d !important;
  transition: all 0.2s ease;
}

.step-item-box.active {
  background-color: #ffffff !important;
  color: #0d6efd !important;
  border-color: #dee2e6 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.step-content-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: #dee2e6;
  color: #495057;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.step-item-box.active .step-number {
  background-color: #0d6efd;
  color: #ffffff;
}

.step-text-group {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-text-group .title {
  font-size: 1rem;
  line-height: 1.2;
  display: block;
}

.step-text-group .desc {
  font-size: 0.8rem;
  opacity: 0.7;
  white-space: nowrap;
}

/* 이전 버튼 비활성화 스타일 */
.btn.disabled, .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.unified-card-stepper .nav-link.active {
  background-color: #ffffff !important;
  border: 1px solid #dee2e6 !important;
  border-bottom: 3px solid #0d6efd !important;
  transform: translateY(-2px);
}

.next-process, .prev-process {
  min-width: 100px;
  font-weight: 600;
}

/* breadcrumb */
.breadcrumb {
  margin-bottom: 2px;
  font-size: 14px;
}

.breadcrumb .breadcrumb-item a{
  color: #505050;
}

.breadcrumb .breadcrumb-item {
  color: #505050;
}


/*footer*/
#page-footer {
  background-color: #f1f4f9 !important;
  color: #475569 !important;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(51, 65, 85, 0.1);
  margin-top: 80px;
}

#page-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#page-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

#page-footer .footer-brand img {
  height: 40px;
  filter: none;
  opacity: 1;
}

#page-footer .footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  margin-left: 25px;
  transition: all 0.2s ease;
}

#page-footer .footer-links a:hover {
  text-decoration: underline;
}

#page-footer .footer-links a.privacy {
  color: #0f172a;
  font-weight: 700;
}

#page-footer hr {
  border: 0;
  border-top: 1px solid #cbd5e1;
  margin-bottom: 35px;
}

#page-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#page-footer address {
  font-style: normal;
  font-size: 14px;
  color: #334155;
  margin-bottom: 8px;
}

#page-footer .contact {
  font-size: 14px;
  margin-bottom: 15px;
}

#page-footer .contact b {
  color: #94a3b8;
  margin-right: 8px;
  font-weight: 500;
}

#page-footer .copyright {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

#page-footer .footer-family select {
  background-color: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  min-width: 220px;
  cursor: pointer;
  transition: border-color 0.2s;
}

#page-footer .footer-family select:hover {
  border-color: #94a3b8;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  #page-footer .footer-top,
  #page-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  #page-footer .footer-links a {
    margin-left: 0;
    margin-right: 15px;
  }
}

input.semester{
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: right;
}