/* ksw color type에 있지만 이미지의 의존성이 어디에 있을것인지 체크해봐야함.
현재 t1/images에 있기 때문에 변수 지정도 여기서 함.
*/
:root{
    --ico-calendar: url("https://css1.cncstatic.com/a/t1/images/ico_calendar.svg");

    --ico-arrow: url("https://css1.cncstatic.com/a/t1/images/ico_arrow.svg");
    --ico-arrow2: url("https://css1.cncstatic.com/a/t1/images/ico_arrow2.svg");

    --ico-close: url('https://css1.cncstatic.com/a/t1/images/ico_close.svg');

    --ico-check: url('https://css1.cncstatic.com/a/t1/images/ico_check.png');
}

/*전 페이지 공통*/
input,
textarea {
    cursor: text;
    resize: none;
}

select,
select option,
button,
button *,
a img,
a p,
a {
    cursor: pointer;
}

button,
img {
    display: inline-block;
}

button[disabled] {
    cursor: default;
    background-color: #E7E7E7 !important;
    color: #686868;
    font-weight: normal;
}

input,
textarea,
button,
select,
a,
label {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

select::-ms-expand {
    display: none;
}

select {
    -o-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* input search */
input::-ms-clear,
input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    /* background: url('/assets/img/icon/delete_icon_wh.svg') center center no-repeat; */
    cursor: pointer;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background-color: #C8C8C8;
}

input::-webkit-calendar-picker-indicator {
    display: none !important;
}

/* radio, checkbox 기본 스타일 제거 */
input[type="radio"],
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* input number 기본상태값 초기화 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox  */
input[type='number'] {
    -moz-appearance: textfield;
}

button:disabled,
input:read-only {
    background-color: var(--color-gray_70);
    border: none;
    color: var(--color-gray_400);
}

/* 기본 텍스트 color 지정 */
body,
a {
    color: var(--color-black);
}

input::placeholder {
    color: var(--color-gray_400);
}

body {
    background-color: #FEFEFE;
}

* {
    box-sizing: border-box;
}

/* 스크롤바 커스텀 */
::-webkit-scrollbar {
    width: 6px;
    /* 스크롤바의 너비 */
}

::-webkit-scrollbar-thumb {
    /* height: 30%; 스크롤바의 길이 */
    background: var(--color-gray_400);
    /* 스크롤바의 색상 */
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray_200);
    /*스크롤바 뒷 배경 색상*/
    border-radius: 10px;
}


main.wrap {
    padding: 110px 60px 60px 356px;
}




/* align */
.display_none {
    display: none;
}

.display_block {
    display: block;
}

.display_grid {
    display: grid;
}

.display_flex {
    display: flex;
}

.flex_wrap {
    flex-wrap: wrap;
}

.flex_nowrap {
    flex-wrap: nowrap;
}

.flex_start {
    justify-content: flex-start;
}

.flex_center {
    justify-content: center;
}

.flex_end {
    justify-content: flex-end;
}

.flex_between {
    justify-content: space-between;
}

.flex_around {
    justify-content: space-around;
}

.flex_align_s {
    align-items: flex-start;
}

.flex_align_c {
    align-items: center;
}

.flex_align_e {
    align-items: flex-end;
}

.flex_align_str {
    align-items: stretch;
}

.flex_dir_column {
    flex-direction: column;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/* overflow hidden */
.overflow_hidden {
    overflow: hidden;
}

/* scroll */
.scroll-x {
    overflow-y: hidden;
    overflow-x: auto;
}

.scroll-y {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}


/* font weight  */
.t-light {
    font-weight: 300;
}

.t-medium {
    font-weight: 500;
}

.t-semibold {
    font-weight: 600;
}

.t-bold {
    font-weight: 700;
}

/* font align */
.t-center {
    text-align: center;
}

.t-right{
    text-align: right;
}

.t-left {
    text-align: left;
}

/* box shadow */
.shadow {
    box-shadow: 4px 4px 10px rgba(228, 224, 255, 0.4);
}

/* border radius */
.radius-04 {
    border-radius: 4px;
}

.radius-06 {
    border-radius: 6px;
}

.radius-20 {
    border-radius: 20px;
}

/* border */
.border {
    border: 1px solid var(--color-gray_150);
}

.bd-b {
    border-bottom: 1px solid var(--color-gray_150);
}

.bd-r {
    border-right: 1px solid var(--color-gray_150);
}

.w-full {
    width: 100% !important;
}

.w-half {
    width: 50% !important;
}



.pointer {
    cursor: pointer;
}


/* form input */
.form_input {
    display: block;
    width: 100%;
    border: 1px solid var(--color-gray_100);
    border-radius: 8px;
    height: 40px;
    padding: 0 16px;
    font-size: 15px;
}

.form_input:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.form_input::placeholder,
textarea::placeholder {
    color: var(--color-gray_200);
}

.form_input:read-only,
textarea:read-only {
    color: var(--color-gray_600);
    background-color: #f6f6f6;
    border: none;
}

.form_input.type_02:read-only {
    color: var(--color-gray_600);
    background-color: var(--color-white);
    border-radius: 0;
    border-bottom: 1px solid var(--color-gray_600);
}

/* 날짜 선택 input */
.form_input.date:read-only,
.form_input.time:read-only {
    color: var(--color-black);
    background-color: #fff;
    border: 1px solid var(--color-gray_100);
}


/* button 기본 스타일 */
.btn {
    display: block;
    width: 100%;
    height: 40px;
    background-color: transparent;
    transition: all 0.4s;
}



/* 체크박스 */
/* signup checkbox */
.checkbox {
    height: 40px;
}

.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--color-gray_300);
    cursor: pointer;
    background-color: var(--color-white);
}

.checkbox input[type="checkbox"]:checked {
    background-image: var(--ico-check);
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-primary);
    border: none;
}

.checkbox input[type="radio"] {
    border-radius: 100px;
}

.checkbox input[type="radio"]:checked {
    border-color: var(--color-primary);
    border-width: 2px;
    position: relative;
}

.checkbox input[type="radio"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background-color: var(--color-primary);
}

.checkbox span {
    font-size: 15px;
    margin-left: 10px;
}


/* select */
.select-box {
    border: 1px solid var(--color-gray_100);
    background-color: var(--color-white);
    border-radius: 6px;
    position: relative;
    /* width: 180px; */
    width: 100%;
    height: 44px;
}

.select-box span.img {
    background-image: var(--ico-arrow);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%) rotate(90deg);
    z-index: 1;
}

.select-box select {
    width: 100%;
    height: 100%;
    padding: 0 0 0 12px;
    font-size: 15px;
    color: #191919;
    background-color: transparent;
    position: relative;
    z-index: 2;
}



/* page title */
.page_title {
    font-size: 24px;
    margin-bottom: 20px;
}


/* filter form */
.filter_form {
    padding: 22px 34px;
    display: block;
}

.filter_form ul {
    gap: 28px;
    margin-bottom: 16px;
}

.filter_form ul:last-child {
    margin-bottom: 0;
}

.filter_form ul li {
    gap: 10px;
}

.filter_form ul li p {
    min-width: 70px;
    width: 70px;
}

.filter_form ul li>input {
    width: 280px;
}

.filter_form .date_box li>div {
    gap: 12px;
}

/* calendar 공통 */
.calendar {
    width: 180px;
    height: 40px;
    position: relative;
}

.calendar input {
    position: relative;
    z-index: 1;
    background-color: transparent !important;
}

.calendar span.img {
    background-image: var(--ico-calendar);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}

/* time */
input.time {
    width: 120px;
}





/* ksw .icon-calendar 
img -> div로 변경 image 변수로 참조 
*/

.filter_form .date_box .calendar .icon-calendar {
    display: block;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;

    background-image: var(--ico-calendar);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* .icon-calendar  */

.filter_form .btn {
    width: 120px;
    font-size: 15px;
}




/* main content */
.content {
    margin-top: 40px;
}

.content .list_tit {
    font-size: 18px;
}

.content .list_tit a.register,
.content .list_tit button.register {
    width: 90px;
    line-height: 40px;
    font-size: 15px;
}


/* detail table 공통 */
th,
td {
    padding: 0 6px;
}

/* table list */
.content table {
    width: 100%;
    text-align: center;
    border-spacing: 0;
    font-size: 16px;
    margin-top: 14px;
}

.content table thead tr th {
    border-bottom: 1px solid var(--color-gray_700);
    padding: 15px 0 16px;
}

.content table tbody tr td {
    border-bottom: 1px solid var(--color-gray_400);
    padding: 0 6px;
    transition: all 0.4s;
    height: 50px;
    font-size: 15px;
}

.content table tbody tr:hover {
    background-color: var(--color-gray_70);
}

.content table button.detail,
.content table a.detail {
    font-size: 14px;
    padding: 5px 14px 6px;
    background-color: #fff;
}

.content table button.detail:hover,
.content table a.detail:hover {
    background-color: var(--color-secondary);
}

/* table type 2 */
.content table.type_02 tbody tr {
    cursor: pointer;
}
.content table.type_02 tbody tr.active {
    background-color: var(--color-sub_01);
}


/* 페이지네이션 (pagination) */
.pagination {
    margin-top: 50px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 100px;
    color: var(--color-gray_400);
}

.pagination li.prev {
    transform: rotate(180deg);
}

.pagination li.page_on a {
    font-weight: bold;
    color: var(--color-point);
    background-color: var(--color-secondary);
}


/* 비활성화 */
.pagination ul li.arrow_off img {
    filter: invert(80%) sepia(3%) saturate(24%) hue-rotate(323deg) brightness(88%) contrast(91%);
    /* #B0B0B0 */
}

/* ksw img->div 로 추가*/
/* .pagination a > .ico_arrow */
.pagination a > .ico_arrow,
.pagination a > .ico_arrow2 {
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.pagination a > .ico_arrow {
    background-image: var(--ico-arrow);
}
.pagination a > .ico_arrow2 {
    background-image: var(--ico-arrow2);
}

.pagination ul li.arrow_off a > .ico_arrow,
.pagination ul li.arrow_off a > .ico_arrow2 {
    filter: invert(80%) sepia(3%) saturate(24%) hue-rotate(323deg) brightness(88%) contrast(91%);
}
/* .pagination a > .ico_arrow */


/* detail pages */
.detail_btn {
    width: 90px;
    font-size: 16px;
    margin: 16px 0 16px auto;
    text-align: center;
    line-height: 40px;
}

.detail_form ul {
    gap: 24px;
    padding: 20px;
}

.detail_form li {
    width: calc(50% - 12px);
    gap: 10px;
}

.detail_form li p {
    min-width: 90px;
}

.detail_form li textarea {
    margin-top: 12px;
    padding: 14px;
    height: 100px;
}

.detail_group {
    margin-top: 36px;
    gap: 14px;
}

.detail_group button {
    width: 90px;
    font-size: 16px;
}







@media (max-width: 1200px) {
    main.wrap {
        padding-right: 30px;
        padding-left: 230px;
    }
}


