@charset "utf-8";


:root {
    --color-primary: #523AE2;
    --color-s_blue: #203FBC;
    --color-s_lblue: #2667FF;
}


@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

/* Freesentation 폰트 - 하나의 font-family로 통합 */
@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* 리아체 폰트 */
@font-face {
    font-family: 'RiaSans';
    src: url('fonts/RiaSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'RiaSans';
    src: url('fonts/RiaSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'RiaSans';
    src: url('fonts/RiaSans-ExtraBold.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}



/* 페이퍼로지 폰트 */
@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Paperogy';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* 학교안심알림장 폰트 */

@font-face {
    font-family: 'SchoolSafetyNotification';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-R.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafetyNotification';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-B.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* Pretendard Jp 폰트*/
@font-face {
    font-family: 'Pretendard Jp';
    src: url('fonts/PretendardJP-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard Jp';
    src: url('fonts/PretendardJP-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard Jp';
    src: url('fonts/PretendardJP-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard Jp';
    src: url('fonts/PretendardJP-ExtraBold.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

.sound_only {
    display: none;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
}


body {
    font-family: 'Freesentation', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Freesentation', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}


/* break-keep, letter-spacing 스타일 */

p,
div,
span,
label,
h1,
h2,
h3,
h4,
h5,
h6 {
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.02rem;
}




/*모바일, 태블릿 뷰에서 lenis 새로고침 중지*/
html,
body {
    overscroll-behavior-y: none;
}

@media (min-width:1024px) {

    html,
    body {
        overscroll-behavior-y: initial;
    }
}

/* 체크박스 체크 시 색상 변경 */

input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    border: 1px solid var(--color-primary) !important;
}

input[type="checkbox"]+label span {
    width: 16px !important;
    height: 16px !important;
    border: 1px solid var(--color-primary) !important;
}

input[type="checkbox"] {
    accent-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked+label span {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]+label:hover {
    color: var(--color-primary) !important;
}

/* input, 셀렉트박스, textbox focus 시 파란색 outline 제거 및 색상 변경 (아이디·비밀번호 동일) */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
    outline: none;
    box-shadow: none;
    background-color: #f5f5f5 !important;
    border: 1px solid var(--color-primary) !important;
}

input[type="text"]:focus-visible,
input[type="password"]:focus-visible,
input[type="number"]:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

input[type="radio"] {
    accent-color: var(--color-primary);
}

input[type="radio"]:checked {
    outline: none;
    box-shadow: none;
    accent-color: var(--color-primary);
}

select:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
    ;
}

select:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

textarea:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

textarea:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}


/* 에디터 콘텐츠 내 텍스트, 이미지 정렬 - 에디터에서 설정한 정렬 그대로 반영 */

.editor_content p,
.editor_content div,
#bo_v_con p,
#bo_v_con div {
    text-align: inherit;
    font-family: inherit !important;
}

.editor_content img,
#bo_v_con img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 게시판 콘텐츠 기본 폰트 'Freesentation' 적용 */
#bo_v_con {
    font-family: 'Freesentation', sans-serif !important;
}


/* 구글 번역 부분 커스텀 css - 번역기능 있을 경우만 사용 */

/* 구글 번역 대상 언어가 일본어(ja)일 때 전체 페이지, h1~h6 태그에 Pretendard Jp 적용 */
html:lang(ja),
html:lang(ja) * {
    font-family: 'Pretendard Jp', sans-serif;
}

html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3,
html:lang(ja) h4,
html:lang(ja) h5,
html:lang(ja) h6 {
    font-family: 'Pretendard Jp', sans-serif;
}

body {
    position: static !important;
    top: 0px !important;
}




.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    display: none !important;
}

body>.skiptranslate,
.goog-logo-link,
.gskiptranslate,
.goog-te-gadget span,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt- {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0px;
    width: 100px;

}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

#google_translate_element select {
    background: transparent;
    color: #000;
    border: none;
    font-weight: bold;
    border-radius: 0px;
    padding: 8px 12px
}

.notranslate {
    translate: no !important;
}