@charset "utf-8";

@import url('https://use.fontawesome.com/releases/v5.15.2/css/all.css');
@import url('https://use.fontawesome.com/releases/v5.15.2/css/v4-shims.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/xeicon@2.3.3/xeicon.min.css');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* 그누보드 팝업레이어 */
#hd_pop{width: 100%; z-index: 999999;}
@media (min-width: 480px) {
/*.hd_pops img{width: 100%!important;}*/
}


#hd_pop iframe{width: 100%; height: auto; aspect-ratio: 16 / 9;}

@media (max-width: 1024px){
    .hd_pops{top: 10px!important; left: 10px!important; }/*width: 60%!important;*/
    .hd_pops_con{width: 100%!important; height: auto!important; min-width: 300px; min-height: 100px;}
}

@media (max-width: 480px){
    
}


/*
#hd_pop{width: 100%; z-index: 999999;}
#hd_pop iframe{width: 100%; height: auto; aspect-ratio: 16 / 9;}
@media screen and (max-width: 1000px){
    .hd_pops{top: 10px!important; left: 10px!important; width: auto!important; height: auto!important; max-height: calc(100vh - 20px)!important; overflow: hidden!important;}
    .hd_pops_con{width: 100%!important; height: auto!important; max-height: calc(100vh - 70px)!important; min-width: 300px; min-height: auto!important; overflow: hidden!important;}
    .hd_pops_con img{display: block; width: auto!important; height: auto!important; max-width: 100%; max-height: calc(100vh - 70px); margin: 0 auto; object-fit: contain;}
    .hd_pops_con iframe{width: 100%; height: auto; max-height: calc(100vh - 70px);}
}
*/

/* 등록된 게시글 노노 */
.none{width: 100%!important; float: inherit!important; margin-right: 0!important; text-align: center!important; padding: 150px 0!important; color: #999; box-shadow: none!important; display: block!important; font-size: 16px; border: none!important; flex: auto!important; background: rgba(0,0,0,0)!important;}

@media screen and (max-width: 1000px){
    .none{padding: 100px 0!important; font-size: 14px;}
}


/* ============ 기본 Reset ============ */
* {
    font-family: "Poppins", "Pretendard", sans-serif;
    letter-spacing: -0.5px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    word-break: keep-all !important;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.15;
    overflow-y: scroll;
    font-size: 16px;
    scroll-behavior: smooth;
}

html, body{
    overflow-x: hidden;
}

caption {
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
}

hr,
legend {
    height: 0;
    left: -5000px;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    visibility: hidden;
    width: 0;
}

a {
    font-style: normal;
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
    border: 0;
    height: auto;
    vertical-align: middle;
}

input,
select {
    vertical-align: middle;
}

label {
    cursor: pointer;
}

.blind,
legend,
hr,
caption {
    display: block;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: -1000em;
}

strong,
em {
    font-style: inherit;
}

i,
em,
address {
    font-style: normal;
    font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-style: none;
}

td,
th {
    padding: 0;
    vertical-align: middle;
}

textarea {
    resize: none;
     line-height: 1.6;
    min-height: 200px;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

@media screen and (min-width:1000px) {

    html,
    body {
        text-rendering: optimizeLegibility;
    }
}

input:focus,
select:focus,
button:focus,
a:focus,
area:focus,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

button,
optgroup,
select,
input,
textarea {
    font-family: inherit;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    margin: 0;
    overflow: visible;
    text-transform: none;
    vertical-align: middle;
}

input::-ms-clear {
    display: none;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

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

/* ============ 추가 리셋/보강 ============ */
*::before,
*::after {
    box-sizing: border-box;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* ============ Custom Select ============ */
select {
    position: relative;
    padding-right: 40px;
    padding-left: 5px;
    background-color: #fff;
    background-image: url('../img/selct_arrow.svg');
    background-repeat: no-repeat;
    background-position: right 3px center;
    background-size: 15px auto;
    cursor: pointer;
    border: 1px solid #ccc;
    color: var(--txt-color);
}

select:focus {
    border-color: #000;
}

select:disabled {
    background-color: #f3f3f3;
    color: #999;
    cursor: not-allowed;
}

/* ============ Custom Checkbox & Radio ============ */
input[type="checkbox"],
input[type="radio"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #fff;
}

/* 체크박스 모양 */
input[type="checkbox"] {
    border-radius: 3px;
}

/* 라디오 모양 */
input[type="radio"] {
    border-radius: 50%;
}

/* 체크박스 선택 시 */
input[type="checkbox"]:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
    background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='white' stroke-width='3' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M5 13l4 4L19 7'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* 라디오 선택 시 */
input[type="radio"]:checked {
    border: 5px solid var(--main-color);
    /* 검은색 안쪽 원 */
}

/* 비활성화 */
input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
