@charset "UTF-8";
@import url("layout.css");
/*-------------------------------------------------
title       : 서브
Author      : yeona
Create date : 2026-1
-------------------------------------------------*/
#main {
  padding-top: 11.9rem;
}

#footer {
  background: #EEE;
}

.sub_visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 21.8rem;
  position: relative;
}
.sub_visual h2 {
  color: #fff;
  font-size: 3.6rem;
  text-align: center;
}
.sub_visual .img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
}
.sub_visual .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contents #contents_body {
  padding: 14rem 0;
  width: 128rem;
  max-width: calc(100% - 4rem);
  margin: 0 auto;
}

.title {
  font-size: 3.6rem;
  font-weight: 800;
  color: #111;
}

.title_wrap em {
  font-family: "Oxanium", "NanumSquare", Arial, sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #F86363, #76145F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.gradient_bg {
  background: url("../images/sub/gradient_bg.png") no-repeat center bottom/cover;
  padding: 8.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  position: relative;
}
.gradient_bg strong {
  color: #FFE863;
  font-family: "Oxanium", "NanumSquare", Arial, sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
}
.gradient_bg p {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1rem;
}
.gradient_bg .character_wrap img {
  position: absolute;
  z-index: 2;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.gradient_bg .character_wrap img.left {
  left: 8rem;
  bottom: -6rem;
  width: 20rem;
}
.gradient_bg .character_wrap img.right {
  right: 0rem;
  top: -13rem;
  width: 30rem;
}

/* 부모 컨테이너: 전체 덩어리를 중앙에 배치 */
.cell-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cell-content .price-val {
  flex: 1;
  text-align: right;
  white-space: nowrap;
}
.cell-content .badge-wrap {
  flex: 1;
  text-align: left;
  display: flex;
}
.cell-content .badge {
  display: inline-block;
  min-width: 45px;
  text-align: center;
  margin-left: 0;
}

.value-right {
  text-align: right;
  padding-right: 15%;
  font-variant-numeric: tabular-nums;
}

.box1 {
  border-radius: 1.5rem;
  background: #F6F8F9;
  padding: 10rem;
  margin-top: 7.2rem;
}
.box1 .title_wrap {
  text-align: center;
}
.box1 .diagram {
  margin-top: 6rem;
  display: flex;
  gap: 6rem;
}
.box1 .diagram .info {
  border-radius: 22.2rem;
  background: rgba(218, 63, 71, 0.1);
  padding: 3.2rem 6.85rem;
  display: flex;
  gap: 3.2rem;
  flex-direction: column;
}
.box1 .diagram .info p {
  border-radius: 22.2rem;
  border: 2px dashed #DA3F47;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20rem;
  height: 20rem;
  font-size: 2rem;
  flex-direction: column;
  gap: 0.8rem;
}
.box1 .diagram .info p strong {
  color: #DA3F47;
  font-weight: 700;
}
.box1 .diagram .info p span {
  font-weight: 800;
  display: block;
  text-align: center;
}
.box1 .diagram .list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.box1 .diagram .list li {
  border-radius: 2.4rem;
  background: #FFF;
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  font-size: 2rem;
  font-weight: 800;
  height: calc(50% - 0.9rem);
  position: relative;
}
.box1 .diagram .list li strong {
  border-radius: 2rem;
  background: linear-gradient(128deg, #F86363 6.92%, #76145F 92.87%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  height: 100%;
}
.box1 .diagram .list li + li {
  margin-top: 1.8rem;
}
.box1 .diagram .list li img {
  position: absolute;
  right: 2.4rem;
  bottom: 2.4rem;
}
.box1 .pot {
  color: #DA3F47;
}
.box1 .desc {
  margin-top: 4rem;
  font-size: 1.8rem;
}
.box1 .desc strong {
  font-weight: 800;
}

.box2 {
  border-top: 2px solid;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #F86363 0%, #76145F 100%);
  border-image-slice: 1;
  padding: 6rem 10rem;
  display: flex;
  gap: 6rem;
  position: relative;
  margin-top: 7.2rem;
}
.box2 .title_wrap {
  flex-shrink: 0;
}
.box2 p {
  font-size: 2.2rem;
  font-weight: 800;
  border-radius: 7rem;
  background: #F6F8F9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}
.box2 .img {
  position: absolute;
  right: 2rem;
  bottom: -5rem;
}

.mxds-input-item {
  display: flex;
  position: relative;
  overflow: hidden;
  gap: 0.8rem;
  max-width: 100%;
  align-items: center;
}
.mxds-input-item[data-mxds-size=minimum] {
  width: 4rem;
}
.mxds-input-item[data-mxds-size=mini] {
  width: 12rem;
}
.mxds-input-item[data-mxds-size=medium] {
  width: 20rem;
}
.mxds-input-item[data-mxds-size=large] {
  width: 26rem;
}
.mxds-input-item[data-mxds-size=max] {
  width: 35rem;
}
.mxds-input-item[data-mxds-size=quarter] {
  width: 25%;
}
.mxds-input-item[data-mxds-size=third] {
  width: 33.3333%;
}
.mxds-input-item[data-mxds-size=half] {
  width: 50%;
}
.mxds-input-item[data-mxds-size=full] {
  width: 100%;
}
.mxds-input-item input[type=text],
.mxds-input-item input[type=password],
.mxds-input-item input[type=number],
.mxds-input-item input[type=tel],
.mxds-input-item textarea,
.mxds-input-item select {
  display: block;
  width: 100%;
  border: none;
  color: #555;
  padding: 1rem 3.3rem 1rem 1.8rem;
  height: 5.6rem;
  border-radius: 0.8rem;
  border: 1px solid #ddd;
  margin: 0;
  text-indent: 0;
  outline: none;
  text-overflow: ellipsis;
}
.mxds-input-item input[type=text]::placeholder,
.mxds-input-item input[type=password]::placeholder,
.mxds-input-item input[type=number]::placeholder,
.mxds-input-item input[type=tel]::placeholder,
.mxds-input-item textarea::placeholder,
.mxds-input-item select::placeholder {
  color: #9E9E9E;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url("../images/sub/select_bg.png") no-repeat right 1.8rem center/1.1rem 0.7rem;
  cursor: pointer;
}

select:focus, input:focus, textarea:focus {
  border-color: #2689E8 !important;
  outline: none;
}

.datepicker_wrap {
  position: relative;
}
.datepicker_wrap input.datepicker {
  padding-right: 4.5rem;
  cursor: pointer;
}
.datepicker_wrap i {
  position: absolute;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #999;
  pointer-events: none;
}

.ui-datepicker {
  width: 30rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: inherit;
  z-index: 1000 !important;
}
.ui-datepicker .ui-datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem;
  border: none;
  background: none;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 3rem;
  height: 3rem;
  border-radius: 0.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next:hover {
  background: #f5f5f5;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next span {
  display: none;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev::after,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next::after {
  font-family: "remixicon";
  font-size: 1.8rem;
  color: #555;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev::after {
  content: "\ea64";
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-next::after {
  content: "\ea6e";
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-title .ui-datepicker-month,
.ui-datepicker .ui-datepicker-header .ui-datepicker-title .ui-datepicker-year {
  font-weight: 700;
}
.ui-datepicker table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.ui-datepicker table th {
  padding: 0.8rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #999;
  text-align: center;
}
.ui-datepicker table td {
  padding: 0.2rem;
  text-align: center;
}
.ui-datepicker table td a, .ui-datepicker table td span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
}
.ui-datepicker table td a:hover {
  background: #f0f0f0;
}
.ui-datepicker table td.ui-datepicker-today a {
  background: #e8e8e8;
  font-weight: 600;
}
.ui-datepicker table td.ui-datepicker-current-day a, .ui-datepicker table td.ui-state-active a {
  background: #26295D;
  color: #fff;
}
.ui-datepicker table td.ui-datepicker-other-month span {
  color: #ccc;
}
.ui-datepicker table td.ui-datepicker-unselectable span {
  color: #ccc;
}

.sub_tab {
  margin-bottom: 7.2rem;
}
.sub_tab ul {
  display: flex;
  gap: 1rem;
}
.sub_tab ul li {
  flex: 1;
}
.sub_tab ul li a {
  height: 7.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-weight: 700;
  font-size: 2rem;
  border-radius: 0.8rem;
  background: #F6F8F9;
  overflow: hidden;
  position: relative;
}
.sub_tab ul li.active a {
  background: #26295D;
  color: #fff;
}
.sub_tab ul li.active a:before {
  content: "";
  background: url("../images/sub/layer.png") no-repeat center center/cover;
  width: 7.6rem;
  height: 7.6rem;
  position: absolute;
  right: 0;
  top: 0;
}

.src_box {
  border-radius: 1.5rem;
  border: 1px solid #DCE6EB;
  display: flex;
  background: #F6F8F9;
  padding: 6rem;
  gap: 2rem;
}
.src_box .select_lst {
  display: flex;
  gap: 4rem;
  width: 100%;
}
.src_box .select_lst .group {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.src_box .select_lst .group .label {
  font-size: 2rem;
  font-weight: 800;
  width: 11rem;
  flex-shrink: 0;
  color: #111;
  white-space: nowrap;
}
.src_box .select_lst .group .field {
  width: 100%;
}
.src_box .select_lst .group .field.date_range {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.src_box .select_lst .group.group:nth-child(n+3) {
  flex-basis: 100%;
  width: 100%;
}
.src_box .select_lst:has(.group:nth-child(n+3)) {
  flex-wrap: wrap;
  gap: 1.6rem 4rem;
}
.src_box .select_lst:has(.group:nth-child(n+3)) .group:first-child {
  width: calc(60% - 4rem);
}
.src_box .select_lst:has(.group:nth-child(n+3)) .group:nth-child(2) {
  width: 40%;
}
.src_box .src_btn button {
  width: 18rem;
  border-radius: 0.8rem;
  background: #26295D;
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.table_area {
  margin-top: 7.2rem;
}
.table_area .table_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.8rem;
}
.table_area .table_top .total_count {
  font-size: 1.6rem;
  color: #555;
  font-weight: 700;
}
.table_area .table_top .total_count strong {
  color: #12358F;
  font-weight: 800;
}
.table_area .table_top .total_count .page {
  margin-right: 2rem;
}
.table_area .table_top .table_util {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.table_area .table_top .table_util .btn_excel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 2rem;
  height: 4.8rem;
  text-align: center;
  background: #424242;
  border-radius: 0.6rem;
  color: #fff;
  font-weight: 700;
  transition: background 0.2s;
  width: 18rem;
  justify-content: center;
}
.table_area .table_top .table_util .btn_excel i {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}
.table_area .table_top .table_util .btn_excel:hover {
  background: #26295D;
}
.table_area .table_top .table_util .mxds-input-item {
  height: 4.8rem;
  min-width: 18rem;
}
.table_area .table_top .table_util .mxds-input-item select {
  height: 100%;
}
.table_area .table_wrap {
  overflow-x: auto;
}
.table_area .table_wrap table {
  width: 100%;
  border-collapse: collapse;
}
.table_area .table_wrap table thead {
  background: url("../images/sub/th_bg.png") no-repeat center bottom/cover;
}
.table_area .table_wrap table th, .table_area .table_wrap table td {
  padding: 2rem 0.8rem;
  text-align: center;
  white-space: nowrap;
}
.table_area .table_wrap table th {
  font-weight: 800;
  color: #fff;
  font-size: 1.8rem;
}
.table_area .table_wrap table th:first-child {
  border-radius: 1.5rem 0 0 0;
}
.table_area .table_wrap table th:last-child {
  border-radius: 0 1.5rem 0 0;
}
.table_area .table_wrap table th .sub {
  font-weight: 400;
  font-size: 1.6rem;
}
.table_area .table_wrap table td {
  color: #555;
  font-weight: 400;
}
.table_area .table_wrap table td:first-child {
  border-radius: 1.5rem 0 0 1.5rem;
}
.table_area .table_wrap table td:last-child {
  border-radius: 0 1.5rem 1.5rem 0;
}
.table_area .table_wrap table tr:nth-child(even) {
  background: #F6F8F9;
}
.table_area .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  height: 2.9rem;
  padding: 0 0.6rem;
  border-radius: 0.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0.8rem;
  background: rgba(85, 85, 85, 0.2);
}
.table_area .badge:before {
  display: inline-block;
  content: "";
  margin-right: 0.2rem;
  content: "\f00a";
  font-size: 1.2rem;
  font-family: "remixicon";
}
.table_area .badge.up {
  background: rgba(239, 35, 34, 0.2);
  color: #F01D1C;
}
.table_area .badge.up:before {
  transform: rotate(-90deg);
  margin-top: 1px;
}
.table_area .badge.down {
  background: rgba(34, 116, 239, 0.2);
  color: #2274EF;
}
.table_area .badge.down:before {
  transform: rotate(-90deg);
  margin-top: 0;
}

.chart_box {
  border-radius: 1.5rem;
  border: 5px solid #F6F8F9;
  padding: 6rem 6rem 5rem;
}
.chart_box .chart_info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
.chart_box .chart_info:has(.mxds-input-item) {
  justify-content: space-between;
}
.chart_box .chart_info .info_lst {
  display: flex;
  gap: 1.8rem;
}
.chart_box .chart_info .info_lst li {
  font-size: 1.8rem;
  font-family: "Oxanium", "NanumSquare", Arial, sans-serif;
  font-weight: 500;
  color: #616161;
}
.chart_box .chart_info .info_lst li:before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.7rem;
}
.chart_box .chart_info .info_lst li.dix:before {
  background: #CC3685;
}
.chart_box .chart_info .info_lst li.kospi:before {
  background: #1D9E39;
}
.chart_box .chart_info .info_lst li.kosdaq:before {
  background: #427EFF;
}
.chart_box .chart_info .mxds-input-item {
  height: 4.8rem;
  min-width: 18rem;
}
.chart_box .chart_info .mxds-input-item select {
  height: 100%;
  width: 100%;
}

td > a[target=_blank]:hover {
  color: #3D4296;
  text-decoration: underline;
  font-weight: 700;
}
td > a[target=_blank]:hover:after {
  font-weight: 400;
}
td > a[target=_blank]:after {
  content: "\ea70";
  font-family: "remixicon";
  display: inline-block;
  margin-left: 0.3rem;
  vertical-align: middle;
  font-size: 1.8rem;
  color: #222;
}

/* 게시판 페이징 */
* + .board_pager {
  margin-top: 4rem;
}

.board_pager {
  font-size: 1.5rem;
  text-align: center;
}

.board_pager a {
  display: inline-block;
  overflow: hidden;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 100%;
  text-align: center;
  line-height: 3.8rem;
  vertical-align: top;
  letter-spacing: -0.1rem;
  transition: all 0.3s;
}

.board_pager a.arr {
  border: 1px solid #ddd;
}

.board_pager a.arr::before {
  display: block;
  width: 100%;
  height: 100%;
  font-family: "xeicon";
  text-align: center;
  line-height: inherit;
}

.board_pager a.arr.first::before {
  content: "\e93d\e93d";
}

.board_pager a.arr.prev::before {
  content: "\e93d";
}

.board_pager a.arr.next::before {
  content: "\e940";
}

.board_pager a.arr.last::before {
  content: "\e940\e940";
}

.board_pager a.arr.first, .board_pager a.arr.last {
  text-indent: -1.2rem;
  letter-spacing: -1.2rem;
}

.board_pager a:hover, .board_pager a:focus {
  background-color: #F5F5F5;
}

.board_pager a.active {
  background-color: #333;
  color: #fff;
}

.board_pager a.active .last_page {
  display: none;
}

.board_pager .group {
  margin: 0 0.5rem;
}

@media screen and (max-width: 1024px) {
  .sub_visual {
    font-size: 3rem;
  }
  .contents #contents_body {
    padding: 12rem 0;
  }
  .gradient_bg .character_wrap img.right {
    width: 20rem;
    right: 0;
    top: -6rem;
  }
  .gradient_bg .character_wrap img.left {
    width: 13rem;
    bottom: -3rem;
    left: 2rem;
  }
  .box1, .box2 {
    padding: 7rem 3rem;
  }
  .box2 .img {
    right: 0;
    width: 16rem;
    bottom: -2rem;
  }
  .src_box {
    padding: 4rem 3rem;
  }
  .src_box .src_btn button {
    width: 12rem;
  }
  .src_box .select_lst .group {
    width: 100% !important;
  }
  .src_box .select_lst {
    gap: 0.7rem !important;
    flex-direction: column;
  }
  .src_box .select_lst .group.group:nth-child(n+3) {
    flex-basis: auto;
  }
  .box1 .diagram .info {
    padding: 3.2rem;
  }
}
@media screen and (max-width: 768px) {
  .box1 .diagram {
    flex-direction: column;
    gap: 3rem;
  }
  .box1 .diagram .info {
    border-radius: 4rem;
    flex-direction: row;
    justify-content: center;
  }
  .box2 {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }
  .box2 .title_wrap {
    text-align: center;
  }
  .table_area .table_top {
    flex-direction: column-reverse;
    align-items: inherit;
    gap: 2rem;
    margin-bottom: 1.5rem;
  }
  .table_area .table_top .table_util {
    justify-content: flex-end;
  }
  .sub_tab {
    margin-bottom: 4.5rem;
  }
  .chart_box {
    padding: 3rem;
  }
  #main {
    padding-top: 10rem;
  }
  /* 게시판 페이징 */
  .board_pager .group {
    margin: 0 2rem;
  }
  .board_pager .group a {
    display: none;
  }
  .board_pager .group .active,
  .board_pager a.active .last_page {
    display: inline;
  }
  .board_pager .group .active {
    background: none;
    font-weight: 600;
    color: #333;
  }
  .board_pager .group .active strong::after {
    font-weight: 300;
    content: " / ";
  }
  .box1 .diagram .list li strong {
    width: auto;
    padding: 2rem;
  }
  .box1 .diagram .list li img {
    width: 5rem;
  }
}
@media screen and (max-width: 580px) {
  .box1 .diagram .info {
    gap: 2rem;
  }
  .box1 .diagram .info p {
    width: 16rem;
    height: 16rem;
  }
  .box2 .img {
    width: 12rem;
    bottom: -7rem;
  }
  .box1, .box2 {
    padding: 5rem 2rem;
  }
  .box1 .diagram .list li {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .box1 .diagram .info p {
    border-radius: 2rem;
  }
  .src_box {
    padding: 2.5rem;
    flex-direction: column;
  }
  .src_box .src_btn button {
    width: 100%;
    height: 4.6rem;
  }
  .src_box .select_lst .group .label {
    width: 9rem;
  }
  .sub_visual {
    height: 17rem;
    font-size: 2.5rem;
  }
  .chart_box .chart_info:has(.mxds-input-item) {
    flex-direction: column;
    gap: 1rem;
  }
}/*# sourceMappingURL=sub.css.map */