:root {
    --basic-text: #53545C;
    --main-blue: #438CFD;
    --main-green: #82D8B4;
    --teacher-main: #209DFF;
    --student-main: #36BF76;
    --parents-main: #FE6868;
}
:root { --main-color: #438CFD;  }
.teacher_bg { --main-color: #209DFF; }
.student_bg { --main-color: #36BF76; }
.parents_bg { --main-color: #FE6868; }

/* scrollbar setting */
/* * { scrollbar-width: thin; scrollbar-color: #ddd rgba(0,0,0,0); } */
::-webkit-scrollbar { cursor: pointer; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { border-radius: 3px; -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.5); background-color:#ddd;  } 

/* common layout */
.clearfix::after { content: ''; display: block; clear: both;}

.pcOnly { display: inline-block;}
.notOnPc { display: none;}
.mOnly { display: none; }
.mBreak { display: none; }

.main-bdright {border-right: 2px solid #F0F0F0;}


/* checkbox */
input[type=radio]:not(old){  width : 24px;  margin:0;  padding:0;  opacity : 0;}
input[type=radio]:not(old) + label{  display: inline-block;  margin-left : -28px;  padding-left : 28px;  background   : url('/resources/common/images/common/checkbox_blue.png') no-repeat 0 0;  line-height  : 24px; font-size: 16px; font-family:sans-serif;}
input[type=radio]:not(old):checked + label{  background-position: 0 -48px;} 

input[type=checkbox] {  display: none;}
input[type=checkbox]+label span {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px 0 0px;
    cursor: pointer;
    background: url('/resources/common/images/common/checkbox_blue.png') no-repeat;
    background-position: 0px 0px;
    background-size: 45px 20px;
    position: relative;
    top: 4px;
}
input[type=checkbox]:checked+label span { background-position: -25px 0px;}

/* checkbox - student */
.student_bg input[type=radio]:not(old) + label{   background : url('/resources/common/images/common/checkbox_green.png') no-repeat 0 0; }
.student_bg input[type=radio]:not(old):checked + label{  background-position: 0 -48px;} 
.student_bg input[type=checkbox]+label span {
    background: url('/resources/common/images/common/checkbox_green.png') no-repeat;
    background-position: 0px 0px;
    background-size: 45px 20px;
}
.student_bg input[type=checkbox]:checked+label span { background-position: -25px 0px;}
input[type=radio]+label,
input[type=checkbox]+label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


input:focus,
textarea:focus,
select:focus {
    outline: none;
}

label,
select,
input {
    vertical-align: middle;
}


/* select */
select {
    vertical-align: bottom;
    display: inline-block;
    padding: 5px 30px 5px 10px;
    font-family: poppinsR;
    font-size: 14px;
    color: var(--basic-text);
    line-height: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-sizig: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
select::-ms-expand {
    display: none;
}
select option[value=""][disabled] {
	display: none;
}

/* select for teacher main filter */
.seltype01 {
    height: 32px;
    border-radius: 30px;
    border: 1px solid #BDBDBD;
    background: #F7F7F8 url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 10px center;
    background-size: 12px;
}

/* select for profile */
.seltype02 {
    height: 40px;
    border-radius: 3px;
    border: 1px solid #999;
    background: #FFF url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 10px center;
    background-size: 12px;
}
 
/* select for popup, materials, notice .. */ 
.seltype03 { 
    height: 50px;
    border-radius: 8px;
    border: 0;
    padding-right: 35px;
    background: #F2F5F8 url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 14px center;
    background-size: 11px;
}
.teacher_bg .seltype03 {
    background: #F2F5F8 url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 14px center;
    background-size: 11px;
}
.student_bg .seltype03 {
    background: #F2F8F2 url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 14px center;
    background-size: 11px;
}
.parents_bg .seltype03 {
    background: #FAF4F4 url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 14px center;
    background-size: 11px;
}
/* select for filter std, class, book ... */
.seltype04 {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    border: 0;
    padding-right: 35px;
    padding-left: 20px;
    color: #FFF;
    font-family: 'poppinsM';
    font-size: 16px;
}

.seltype04 option { background-color: #fff; color: #333; font-family: 'poppinsR'; }

/* teacher */
.teacher_bg .seltype04 {
    background: #209DFF url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
    background-size: 12px;
}
.teacher_bg .seltype04.sel_blue { 
    background: #205EFF url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
    background-size: 12px;
}

/* student */
.m_classlist .seltype04 {
    background: #36BF76 url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
    background-size: 12px;
}
.m_box_book .seltype04 {
    background: #38C7D0 url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
    background-size: 12px;
}

/* parents */
.parents_bg .m_classlist .seltype04 {
    background: #FE6868 url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
    background-size: 12px;
}
.parents_bg .m_box_book .seltype04 {
    background: #FEB068 url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
    background-size: 12px;
}

/* input */

input {
    vertical-align: bottom;
    display: inline-block;
    padding: 10px;
    margin: 0;
    font-family: poppinsM;
    font-size: 14px;
    color: #333;
    line-height: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-sizig: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 0;
}
input:focus {outline: none;}

/* change calendar icon */
input[type="date"] {
    position: relative;
    border: 0;
    padding: 0 5px 0 30px;
    background: #F2F5F8 url('/resources/common/images/common/icon_calendar.png') no-repeat left 5px center / 24px auto;
}

input[type="date"]::-webkit-clear-button,
input[type="date"]::-webkit-inner-spin-button {
    display: none;
    appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: transparent;
    cursor: pointer;
}
input[type="date"]::before {
    content: attr(data-placeholder);
    width: 100%;
}
input[type="date"]:valid::before { display: none; }
input[data-placeholder]::before {
    position: absolute;
    top: 0;
    left: 0px;
    background: #F2F5F8 url('/resources/common/images/common/icon_calendar.png') no-repeat left 5px center / 24px auto;
    width: 100%;
    color: #999;
    font-family: poppinsR, poppinsR;
    font-size: 16px;
    line-height: normal;
    padding: 0 5px 0 30px;
}

/* basic inputbox */
.inputType01 {
    height: 40px;
    border-radius: 3px;
    border: 1px solid #999;
    background: #FFF;
}
/* popup inputbox */
.inputType02 {
    height: 50px;
    padding: 10px;
    border-radius: 8px;
    background: #F2F5F8;
    font-family: poppinsR;
    font-size: 16px;
}

/* text area */
.textType02 {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 0;
    background: #F2F5F8;    
    font-family: poppinsR;
    font-size: 16px;
}
textarea {text-align:left;padding:10px;letter-spacing:0;line-height:24px;word-break: keep-all;color:#222;border:1px solid #ccc;font-family: korMed;font-size:14px;-webkit-box-sizig: border-box;-moz-box-sizing: border-box;box-sizing: border-box;overflow-y:auto;}
input::placeholder, textarea::placeholder { color: #ABAFB1; font-family: poppinsR; font-size: 16px;}
:-ms-input-placeholder { font-size: 14px !important;}
::-ms-input-placeholder { font-size: 14px !important;}

/* search inputbox */
.search_box01 {width: 100%;position: relative;}
.search_box01 input {width: 100%; position: relative;}

input[type='text'].inputsearch01 {
    height: 40px;
    padding: 10px 40px 10px 15px;
    border-radius: 30px;
    border: 1px solid #BDBDBD;
    background: #FFF;
    font-family: poppinsR;
    font-size: 14px;
}
input[type='text'].inputsearch01::placeholder {
    color: #BBC6D2;
    font-family: poppinsR;
    font-size: 14px;
}
.btn_search01 {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: url(/resources/common/images/common/icon_search.png) no-repeat center / 20px 20px;
    text-indent: -9999px;
}

/* button for popup, materials, notice .. */ 
.btn_search02 {
    padding: 11px 22px;
    border-radius: 8px;
    color: #FFF;
    font-family: poppinsM;
    font-size: 16px;
}
.teacher_bg .btn_search02 { background: #475879;}
.student_bg .btn_search02 { background: #408C8C;}
.parents_bg .btn_search02 { background: #9D7C75;}


/* button */

/* 모바일에서 세로정렬 */
.btnbox01 {margin-top: 40px;}
.btnbox01::after {content: ''; display:block; clear: both;}
.btnbox01 .btn:nth-child(1) {float: right;}

/* 모바일에서 가로정렬 */
.btnbox02 {margin-top: 40px;}
.btnbox02::after {content: ''; display:block; clear: both;}
.btnbox02 .btn:nth-child(2) {float: right;}

/* 가운데 정렬 */
.btnbox03 {margin-top: 40px; text-align: center;}
.btnbox03::after {content: ''; display:block; clear: both;}
.btnbox03 .btn {float: none; margin: auto;}

/* 버튼 3개 배열 */
.btnbox04 {margin-top: 40px; text-align: right;}
.btnbox04::after {content: ''; display:block; clear: both;}
.btnbox04 .btn {display: inline-block;float: none;line-height: 45px;}
.btnbox04 .btn:nth-child(1) {float: left;}
.btnbox04 .btn:nth-child(2) {margin-right: 10px;}

.btn {
    display: inline-block;
    font-family: poppinsM;
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
}
/* basic btn */
.btnType01 {
    width: 150px;
    height: 45px;
    /* line-height: 45px; */
    border-radius: 3px;
}
/* popup btn */
.btnType02 {
    width: 180px;
    height: 50px;
    border-radius: 12px;
    font-size: 18px;
}
/* inner btn */
.btnType03 {
    width: 140px;
    height: 36px;
    border-radius: 3px;
    font-size: 14px;
}
/* search btn */
.btnType04 {
    width: 100px;
    height: 40px;
    border-radius: 8px;
}

.btnType05 {
    width: 350px;
    height: 45px;
    border-radius: 3px;
    line-height: 45px;
}

/* btncolor */
.btnMain {
    border: 0;
    background: #438CFD;
    color: #FFF;
}
.btnNavy {
    border: 0;
    background: #475879;
    color: #FFF;
}
.btnBlue {
    border: 0;
    background: var(--teacher-main);
    color: #FFF;
}
.btnWhite {
    border: 1px solid var(--teacher-main); 
    background: #FFF;
    color: var(--teacher-main);
}
.btnGreen {
    border: 0;
    background: var(--student-main);
    color: #FFF;
}
.btnGW {
    border: 1px solid var(--student-main); 
    background: #FFF;
    color: var(--student-main);
}
.btnR {
    border: 0;
    background: var(--parents-main);
    color: #FFF;
}
.btnRW {
    border: 1px solid var(--parents-main); 
    background: #FFF;
    color: var(--parents-main);
} 
.btnGray01 {
    border: 0;    
    background: var(--basic-text);
    color: #FFF;
}
.btnGray02 {
    border: 0;    
    background: #808997;
    color: #FFF;
} 
.btnGray03 {
    border: 0;    
    background: #B1BDC2;
    color: #FFF;
} 
.btnRed {
    border: 0;    
    background: #FF4949;
    color: #FFF;
} 
.btnBrown{
    border: 0;    
    background: #9D7C75;
    color: #FFF;
} 

/* txt effect */
.plaintxt {color: #333; font-family: poppinsR; font-size: 16px; line-height: 1.5;}
.text_bold { font-weight: bold; }
.txt_center {text-align: center;}
.text_main_blue { color: var(--main-blue);}
.text_blue { color: var(--teacher-main)}
.text_green { color: var(--student-main)}
.text_main {color: var(--main-color);}
.text_red { color: #F93232;}
.text_yellow { color: #FAE20E;}
.text_white {color: #fff}
.text_gray {color: #666;}
.text_brick { color: #ED4C5C;}


/* bg color */
.bg_gray { padding: 20px 15px;  border-radius: 8px;  background: #F2F5F8;}

/* layout */
.wdt100p {width: 100% !important;}
.wdt50p {width: 50% !important;}
.hgt100p {height: 100%;}
.mgt60 {margin-top: 60px;}
.mgb10 {margin-bottom: 10px;}
.mgb30 {margin-bottom: 30px;}

@media all and (max-width : 1024px) {
    .main-bdright {	border: none;}
    
    .poppinsnPc { display: block;}
	.mOnly { display: none; }
	.mBreak { display:inline; }

    /* basic btn */
    .btnType01 {
        width: 200px;
    }

}
@media all and (max-width : 767px) {
	.pcOnly { display:none; }
	.mOnly { display:block !important;}
	.mBreak { display:inline; }

	.checkbox_wrap .checkbox {
        max-height: 130px;
    }

	.seltype04 {
	    color: #333;
	}
    
    .teacher_bg .seltype04 {
        border: 1px solid #8FCEFF;
	    background: #ECF8FF url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 14px center;
	    background-size: 12px;
    }
    .teacher_bg .seltype04.sel_blue { 
	    border: 1px solid #8FAFFF;
        background: #ECF0FF url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 14px center;
        background-size: 12px;
    }
    .teacher_bg .seltype04.sel_white  { 
        border: 1px solid #DDD;
        background: #FFF url("/resources/common/images/common/arrow_down_lg.png") no-repeat right 14px center;
        background-size: 12px;
    }
    
    .student_bg .seltype04 {
        color: #fff;
    }

    /* parents */
    .parents_bg .seltype04 {
        color: #fff;
    }
    .parents_bg .m_classlist .seltype04 {
        background: #FE6868 url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
        background-size: 12px;
    }
    .parents_bg .m_box_book .seltype04 {
        background: #FEB068 url("/resources/common/images/common/arrow_down_w.png") no-repeat right 14px center;
        background-size: 12px;
    }

    .btnbox01, .btnbox02, .btnbox03, .btnbox04 {margin-top: 30px;}

    /* 모바일에서 세로정렬 */
    .btnbox01 .btn {width: 100%;}
    .btnbox01 .btn:last-child {margin-top: 10px;}

    /* 모바일에서 가로정렬 */
    .btnbox02 .btn { width: calc(50% - 5px); margin-right: 10px;}
    .btnbox02 .btn:nth-child(2) {margin-right: 0;}

    /* 가운데 정렬 */
    .btnbox03 .btn { width: 100%;}

    /* 버튼 3개 배열 */                   
    .btnbox04 .btn:nth-child(1) { width: calc(50% - 5px); margin-right: 10px;}
    .btnbox04 .btn:nth-child(2) { width: calc(50% - 5px); margin-right: 0;}
    .btnbox04 .btn:nth-child(3) { width: 100%; margin-top: 10px;}
}