.app-container {
  width: 100%;
  min-width: 1200px;
}

.app-container .app-contents {
  width: 100%;
  padding-top: 102px;
}

.app-container .app-contents main {
  width: 90%;
  margin: 0 auto;
  min-height: calc(100vh - 282px);
  padding: 3rem 0 5rem;
}

.app-container .app-contents header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bs-gray-lighter);
  z-index: 100;
}

.app-container .app-contents header .header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 32px;
}

.app-container .app-contents header .header-top .btn {
  color: var(--bs-gray-dark) !important;
  font-size: var(--fs-14);
  font-weight: 400;
  position: relative;
  margin-left: 1.5rem;
}

.app-container .app-contents header .header-top .btn::before {
  content: "";
  display: block;
  width: 1px;
  height: 10px;
  position: absolute;
  top: calc(50% - 5px);
  left: -0.75rem;
  background: rgba(0, 0, 0, 0.25);
}

.app-container .app-contents header .header-top .btn:first-of-type::before {
  display: none;
}

.app-container .app-contents header .header-bottom {
  width: 100%;
  background: var(--bs-primary);
  position: relative;
}

.app-container .app-contents header .header-bottom .w-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-container .app-contents header .header-bottom .w-con h1 {
  display: inline-flex;
  margin-right: 2rem;
  margin-top: -4px;
}

.app-container .app-contents header .header-bottom .w-con ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.app-container .app-contents header .header-bottom .w-con ul > li a {
  padding: 0 1.25rem;
  color: var(--bs-white);
  opacity: 0.6;
  font-size: var(--fs-18);
  font-weight: 700;
  position: relative;
}

.app-container .app-contents header .header-bottom .w-con ul > li a::before {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  position: absolute;
  top: calc(50% - 6px);
  left: 0;
  background: rgba(255, 255, 255, 0.5);
}

.app-container .app-contents header .header-bottom .w-con ul > li > a {
  display: block;
  line-height: 70px;
}

.app-container .app-contents header .header-bottom .w-con ul > li:first-of-type {
  padding-left: 0;
  margin-left: 0;
}

.app-container .app-contents header .header-bottom .w-con ul > li:first-of-type > a {
  padding-left: 0;
}

.app-container .app-contents header .header-bottom .w-con ul > li:first-of-type > a::before {
  display: none;
}

.app-container .app-contents header .header-bottom .w-con ul > li.active > a {
  opacity: 1;
}

.app-container .app-contents header .header-bottom .w-con ul > li.active > a::after {
  opacity: 1;
  visibility: visible;
}

.app-container .app-contents header .header-bottom .w-con ul > li.on > a {
  opacity: 1;
  color: var(--bs-white);
}

.app-container .app-contents header .header-bottom .w-con p {
  justify-self: flex-end;
  font-weight: 400;
  color: var(--bs-white);
}

.app-container .app-contents header .header-bottom .w-con p span {
  opacity: 0.8;
}

.app-container .app-contents footer {
  padding: 2rem 0 1rem;
  height: 180px;
  background: var(--bs-gray-lighter);
  color: var(--bs-gray-dark);
}

.app-container .app-contents footer .logo {
  margin: -6px 2rem 0 0;
}

.app-container .app-contents footer p {
  font-size: var(--fs-14);
  font-weight: 400;
}

.app-container .app-contents footer p.copyright {
  margin-top: 2rem;
  font-size: var(--fs-12);
}

.app-container .app-contents footer p.copyright span {
  color: var(--bs-dark);
}

.w-con {
  width: 1200px;
  margin: 0 auto;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-center > * {
  min-width: 1px;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-start > * {
  min-width: 1px;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flex-end > * {
  min-width: 1px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-between > * {
  min-width: 1px;
}

.flex-auto {
  flex-basis: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

.fs-10 {
  font-size: var(--fs-10) !important;
}

.fs-11 {
  font-size: var(--fs-11) !important;
}

.fs-12 {
  font-size: var(--fs-12) !important;
}

.fs-14 {
  font-size: var(--fs-14) !important;
}

.fs-16 {
  font-size: var(--fs-16) !important;
}

.fs-18 {
  font-size: var(--fs-18) !important;
}

.fs-20 {
  font-size: var(--fs-20) !important;
}

.fs-24 {
  font-size: var(--fs-24) !important;
}

.fs-28 {
  font-size: var(--fs-28) !important;
}

.fs-32 {
  font-size: var(--fs-32) !important;
}

.fs-36 {
  font-size: var(--fs-36) !important;
}

.fs-48 {
  font-size: var(--fs-48) !important;
}

.fs-64 {
  font-size: var(--fs-64) !important;
}

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

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

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

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

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

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

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

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

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

.text-primary {
  color: var(--bs-primary) !important;
}

.title-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 1rem;
}

.title-area h3 {
  font-size: var(--fs-24);
  line-height: 1.5;
  margin: 0;
}

.title-area p {
  margin: 1rem 0 0;
  font-weight: 400;
  color: var(--bs-gray);
}

.sub-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.sub-title h5 {
  font-size: var(--fs-16);
  line-height: 1.5;
  margin: 0;
}

.bg-title {
  color: var(--bs-dark);
  background: var(--bs-th-bg);
  font-size: var(--fs-16);
  font-weight: 700;
  padding: 0.5rem 1rem;
}

.btn-area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1rem 0 0;
}

.btn-area > * {
  margin-left: 0.5rem;
}

.btn-area > *:first-child {
  margin-left: 0;
}

.ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
  width: inherit;
  width: 100%;
}

.ellipsis-line {
  display: block;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ellipsis-line.line-2 {
  -webkit-line-clamp: 2 !important;
}

.ellipsis-line.line-4 {
  -webkit-line-clamp: 4 !important;
}

form .form-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1.5rem;
}

form .form-group:first-of-type {
  margin-top: 0;
}

form .form-group .form-label {
  margin: 0;
  flex: 0 0 80px;
  padding: 0;
  color: var(--bs-gray-dark);
  font-weight: 700;
}

form .form-group .form-label + * {
  flex-grow: 1;
  font-weight: 400;
  color: var(--bs-dark);
  word-break: break-all;
}

form.align-start .form-group {
  align-items: flex-start;
}

form.thick .form-group .form-label {
  padding: 0.712rem 0;
}

form.column .form-group {
  flex-direction: column;
  align-items: stretch;
}

form.column .form-group .form-label {
  flex: 0 0 auto;
  padding-bottom: 0.25rem;
}

.dl-box dl {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1rem;
}

.dl-box dl:first-of-type {
  margin-top: 0;
}

.dl-box dl dt {
  margin: 0;
  flex: 0 0 80px;
  padding: 0;
  color: var(--bs-gray-dark);
  font-weight: 400;
}

.dl-box dl dd {
  flex-grow: 1;
  font-weight: 400;
  color: var(--bs-dark);
  word-break: break-all;
}

.dl-box.align-start dl {
  align-items: flex-start;
}

.dl-box.thick dl dt {
  padding: 0.712rem 0;
}

.dl-box.column dl {
  flex-direction: column;
  align-items: stretch;
}

.dl-box.column dl dt {
  flex: 0 0 auto;
  padding-bottom: 0.25rem;
}

.dl-box.row dl {
  margin: 0;
}

.dl-box.line {
  flex-direction: row;
}

.dl-box.line dl {
  display: inline-flex;
  margin: 0;
  padding: 0 0.5rem;
  position: relative;
}

.dl-box.line dl:before {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  position: absolute;
  top: calc(50% - 6px);
  left: 0;
  background: var(-color);
}

.dl-box.line dl:first-of-type {
  padding-left: 0;
}

.dl-box.line dl:first-of-type:before {
  display: none;
}

.border .bg-title {
  border-bottom: 1px solid var(--bs-border-color);
}

.bg-box {
  padding: 0.75rem 1.25rem;
  color: var(--bs-gray-dark);
  font-size: var(--fs-14);
  border-radius: 0;
  word-break: keep-all;
}

.bg-box.bg-primary-light {
  background: var(--bs-primary-light);
}

.bg-box.bg-gray {
  background: var(--bs-gray-lighter);
}

.no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: var(--fs-14);
  font-weight: 500;
  text-align: center;
  color: var(--bs-dark);
  padding: 1rem 0;
  min-height: 80px;
  margin: 0;
}

td.no-data {
  min-height: auto;
  padding: 2rem 0;
  display: table-cell;
  text-align: center !important;
}

.annotation {
  color: var(--bs-green);
  display: block;
  margin-bottom: 0.5rem;
}

.annotation:before {
  content: "<!-- ";
}

.annotation:after {
  content: " -->";
}

.annotation.ct {
  display: block;
  text-align: center;
}

.form-check-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.form-check-container .form-check {
  margin-right: 1.5rem;
}

.form-check-container.column {
  flex-direction: column;
}

.form-check-container.center {
  justify-content: center;
}

.form-check-container.center .form-check {
  margin: 0 0.5rem;
}

.swiper-wrap {
  position: relative;
  width: 100%;
}

.swiper-wrap .swiper-box {
  height: 100%;
  margin: -1rem 0;
  padding: 1rem 0;
}

.swiper-wrap .swiper-box .swiper-slide {
  width: auto;
}

.swiper-navigation {
  z-index: 2;
}

.swiper-navigation .swiper-button-prev,
.swiper-navigation .swiper-button-next {
  position: absolute;
  top: calc(50% - 20px);
  margin-top: 0;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.5);
}

.swiper-navigation .swiper-button-prev:after,
.swiper-navigation .swiper-button-next:after {
  display: none;
}

.swiper-navigation .swiper-button-prev {
  background-image: url("../images/ic_arrow_prev.png");
}

.swiper-navigation .swiper-button-next {
  background-image: url("../images/ic_arrow_next.png");
}

.form-datepicker {
  background: #fff url("../images/ic_calendar.png") no-repeat 0.65rem calc(50% - 1px);
  padding-left: 2.75rem;
}

.datepicker {
  padding: 0.5rem 0.75rem;
}

.datepicker td,
.datepicker th {
  font-size: var(--fs-12);
  width: 24px;
  height: 24px;
}

.datepicker th {
  height: 30px;
}

.logo {
  display: block;
  width: 178px;
  height: 46px;
  background: url("../images/logo.png") no-repeat left center/auto 100%;
  cursor: pointer;
}

.logo.white {
  background-image: url("../images/logo_white.png");
}

.phone-input-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.phone-input-container span {
  display: block;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

.search-area {
  background: var(--bs-gray-lighter);
  border: 1px solid var(--bs-border-color);
  padding: 1.5rem;
  border-radius: 0.25rem;
}

.search-area form .form-group {
  margin-top: 0.75rem;
}

.search-area form .form-group .form-label {
  flex: 0 0 160px;
}

.search-area .btn-area {
  margin-top: 2rem;
}

.btn-excel {
  background: url("../images/ic_excel.png") no-repeat 0.75rem center;
  padding: 0.5rem 0.75rem 0.5rem 2.75rem;
  border-color: var(--bs-success);
  color: var(--bs-success);
}

.form-group.survey {
  border: 1px solid var(--bs-border-color);
}

.form-group.survey .form-label {
  background-color: var(--bs-th-bg);
  border-bottom: 1px solid var(--bs-border-color);
  color: var(--bs-dark);
  line-height: 1.5;
  padding: 0.5rem 1rem !important;
}

.form-group.survey .survey-list > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--bs-border-color);
}

.form-group.survey .survey-list > li:first-of-type {
  border: 0;
}

.form-group.survey .survey-list > li .form-check-container {
  flex-shrink: 0;
  margin-left: 2rem;
}

.form-group.survey .survey-list > li .form-check-container .form-check {
  margin: 0 0 0 1.5rem;
}

.form-group.survey .survey-list > li .form-check-container .form-check:not(.form-switch) label {
  line-height: 1.5rem;
}

.check-input-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.check-input-container .form-control {
  width: auto;
  flex: 1;
  min-width: 100px;
}

.writer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bs-gray-dark);
  padding: 1rem;
  background: var(--bs-th-bg);
  border: 1px solid var(--bs-border-color);
}

.writer div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.writer div input {
  margin-left: 0.75rem;
}

.writer p {
  flex-shrink: 0;
  font-size: var(--fs-14);
}

.table.dental.pd td {
  padding: 0.4rem 0;
}

.table.dental td {
  padding: 0;
}

.table.dental td.disabled ul li strong,
.table.dental td.disabled ul li span {
  background: var(--bs-th-bg);
  color: var(--bs-gray);
}

.table.dental td ul {
  display: flex;
  flex-wrap: wrap;
}

.table.dental td ul li {
  flex: 0 0 33.33%;
}

.table.dental td ul li strong,
.table.dental td ul li span {
  display: block;
  min-height: 16px;
  border-top: 1px solid var(--bs-border-color);
  border-right: 1px solid var(--bs-border-color);
}

.table.dental td ul li strong {
  background: #eaeaec;
}

.table.dental td ul li:nth-child(3n) strong,
.table.dental td ul li:nth-child(3n) span {
  border-right: 0;
}

.table.dental td ul li:nth-child(1) strong, .table.dental td ul li:nth-child(2) strong, .table.dental td ul li:nth-child(3) strong {
  border-top: 0;
}
