@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Blinker:wght@100;200;300;400;600;700;800;900&family=Noto+Sans+KR:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');

/* 내선번호조회 시작 */
/* 타이틀 */
.ct_comm_tit {
  width: 100%;
  height: 18px;
  display: flex;
  align-items: center;
  border-left: 3px solid #CF4F00;
  margin-top: 20px;
}

.ct_comm_tit h1 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin-left: 5px;
}

.ct_comm_tit button {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: #ccc;
  border: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 8px;
  cursor: pointer;
}

.ct_comm_tit button:hover {
  background: #333;
  transition: background-color 0.3s ease;
}

/* 내선번호조회 섹션 시작 */
.cbn_comm_section {
  /* width: 1610px; */
  width: calc(100% - 7px);
  height: 100vh;
  margin-top: 20px;
}

/* 내선번호조회 검색조건 */
.cbn_comm_terms {
  /* width: 1390px; */
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

/* 검색조건 법인 */
.corporate_section {
  width: 268px;
  height: 28px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #FFAD7A;
  display: flex;
}

.corporate_tit {
  width: 118px;
  height: 28px;
  border-radius: 10px;
  background: #FFEDE2;
  line-height: 28px;
}

.corporate_tit p {
  color: #333;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
}

.corporate_section select
{
  height: 28px;
  border: none;
  background: #fff;
  outline: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 15px;
}

.corporate_section select:focus option
{
  background: #333;
  color: #fff;
}

.corporate_section select option
{
  color: #333;
  font-size: 13px;
  font-weight: 500;
}

.office_comp_radio_section {
  width: 177px;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 15px;
}

.office_comp_radio_section>input {
  cursor: pointer;
  width: 20px;
  height: 20px;
  margin-top: -1px;
}

.office_comp_radio_section>p {
  color: #333;
  font-size: 13px;
  font-weight: 400;
}

/* 리스트 서브메뉴 */
.dmg_comm_sub_menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.dmg_comm_sub_bar {
  /* width: 1540px; */
  width: calc(100% - 70px);
  height: 30px;
  border-radius: 10px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dmg_comm_sub_bar select {
  border: none;
  background: none;
  cursor: pointer;
  height: 22px;
}

.dmg_comm_sub_bar select#ct_num {
  margin-left: 12px;
}

.dmg_comm_sub_bar select#ct_ts {
  margin-right: 12px;
}

.dmg_comm_sub_bar select:focus option {
  background: #333;
  color: #fff;
}

.dmg_comm_sub_bar select option {
  color: #333;
  font-size: 15px;
  font-weight: 500;
}

/* 리스트 사이드메뉴 */
.menu_side_btn button {
  width: 50px;
  height: 30px;
  border: none;
  border-radius: 10px;
  background: #A5A5A5;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.menu_side_btn button:hover {
  background: #333;
  transition: background-color 0.3s ease;
}

.menu_side_btn button i {
  font-size: 15px;
  color: #fff;
}

.menu_side_modal {
  width: 172px;
  height: 404px;
  position: fixed;
  transform: translate(-71%, 2%); 
  background: #fff;
  display: none;
  border-radius: 20px;
  border: 1px solid #eee;
  align-items: center;
  z-index: 9999;
  justify-content: center;
}

.menu_side_modal.on {
  display: flex;
  flex-direction: column;
}

.menu_side_section {
  width: 134px;
  height: 384px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

ul.menu_side_list {
  width: 100%;
  height: 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

ul.menu_side_list li {
  cursor: pointer;
}

ul.menu_side_list li p {
  color: #AAA;
  font-size: 15px;
  font-weight: 500;
}

ul.menu_side_list li:hover p {
  color: #333;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.3s ease;
}

ul.article_menu {
  margin-top: 10px;
  width: 95px;
  height: 278px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

ul.article_menu li {
  color: #aaa;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
}

ul.article_menu li i {
  font-size: 15px;
  color: #aaa;
  margin-right: 15px;
  cursor: pointer;
}

/* 리스트 스크롤 */
.dmg_comm_list_scroll {
  /* width: 1599px; */
  width: calc(100% - 16px);
  box-sizing: content-box; 
  height: 480px;
  position: relative;
  overflow-y: auto; 
  overflow-x: hidden;
  margin-top: 10px;
}

.dmg_comm_list_scroll::-webkit-scrollbar {
  width: 15px; 
  background: #F6F6F6;
}

.dmg_comm_list_scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px; 
  transition: background-color 0.3s ease;
}

.dmg_comm_list_scroll::-webkit-scrollbar-thumb:hover {
  background-color: #333; 
  transition: background-color 0.3s ease;
}

.dmg_comm_list_scroll::-webkit-scrollbar-track {
  background: #f6f6f6;
  border-radius: 10px; 
  margin: 12px; 
}

/* 리스트 */
.dmg_comm_list {
  /* width: 1540px; */
  width: calc(100% - 70px);
  min-height: 340px;
}

.dmg_comm_list>tbody>tr {
  /* width: 1540px; */
  width: calc(100% + 30px);
  background: #fff;
  border-radius: 10px;
  padding: 0;
  height: 30px;
  scroll-snap-align: start;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.dmg_comm_list>tbody>tr.odd:hover {
  background: #FBF4EF;
  transition: background-color 0.3s ease;
}

.dmg_comm_list>tbody>tr.even {
  background: #F6F6F6;
}

.dmg_comm_list>tbody>tr.even:hover {
  background: #FBF4EF;
  transition: background-color 0.3s ease;
}

.dmg_comm_list>tbody>tr>td {
  height: 30px;
  line-height: 30px; 
  padding: 0; 
  overflow: hidden;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 30px;
}

.ct_num_list {
  margin-left: 12px;
}

.ct_ts_list {
  margin-right: 12px;
}

.dmg_comm_list>td.contest_date_list {
  border-radius: 10px 0 0 10px;
}

.dmg_comm_list>tbody>tr>td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.dmg_comm_list tbody tr td.sb_file_list>i {
  font-size: 14px;
  color: #333;
}

.dmg_comm_list tbody tr td.sb_file_list {
  text-align: center;
}

.dmg_comm_list>tbody>tr>td.ct_list_line {
  color: #CF4F00;
  font-weight: 700;
}

/* 페이지 이동 */
.page {
  margin-top: 20px;
  width: 100%;
  height: 25px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.page ul {
  width: 291px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page ul li,.page ul li button {
  cursor: pointer;
}

.page ul li.prev_next {
  color: #ccc;
  font-size: 15px;
}

.page ul li.prev_next:hover {
  color: #333;
  transition: color 0.3s ease;
}

.page ul li button {
  width: 25px;
  height: 25px;
  background: #ccc;
  border: none;
  border-radius: 5px;
  color: #FFF;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
}

.page ul li button:hover {
  background: #333;
  transition: background-color 0.3s ease;
}

.page ul li button.active {
  background: #333;
  color: #FFF;
  font-weight: bold;
  cursor: default; /* Hover 상태와 구분하기 위해 */
}

.page ul li button.active:hover {
  background: #333; /* Hover 상태와 동일하게 유지 */
}