@charset "utf-8";

/* 부트스트랩 문자 크기 ******************************************/
/* html {
    font-size: 16px;
} */

/* ----------------------------------------------------------------------------- */

body {
    background: #fff;
    color: #222;
    max-width: 1380px;
    min-width: 500px;
    margin: 0 auto 100px auto !important;
    font-family: Verdana, arial, helvetica, 맑은 고딕, Malgun Gothic, 나눔고딕, NanumGothic, sans-serif;
    /* font-size: 14px ; */
    overflow-y: scroll;
    font-size: 0.9rem !important;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}


/*  */
::placeholder, .drop_help {
    color: gray !important;
    opacity: 0.4 !important;
}

/*포커스 받으면 숨기기*/
input:focus::placeholder {
    color: transparent;
}

input.attachment::placeholder {
    color: gray !important;
    opacity: 0.4 !important;
}


.btn, form, table, tr, td, input, .form-control-plaintext,
select, select option, .form-control {
    font-size: 0.9rem;
}

textarea,
input[type=text] {
    border-radius: 3px;
}

.content-wrapper {
    margin-left: 2px;
}

.form-control {
    height: 2.25em;
    /*calc(1.5em + 0.75rem + 2px);*/
    transition: none !important;
}

.form-control-sm {
    height: 2.1em;
    /*calc(1.5em + 0.5rem + 2px);*/
}

/*속도가 느려서 대체 스타일*/
.form-control2 {
    display: block;
    width: 100%;
    height: 2.25em;
    /*calc(1.5em + 0.75rem + 2px);*/
    padding: 0.375rem 0.75rem;
    /* font-size: 1rem; */
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    /*transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;*/
}

.form-control-sm2 {
    height: 2.1em;
    /*calc(1.5em + 0.5rem + 2px);*/
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-lg {
    font-size: 1rem !important;
}

.btn-sm {
    font-size: 0.8rem !important;
}



/**********************************************/
.pagination {
    justify-content: center;
}

select option,
select optgroup {
    font-size: 15px !important;
    /* font-weight: bold !important;
    color: red !important; */
}

.btn:hover {
    /* background-color: transparent;
    text-decoration: underline;
    fill: red; */
    filter: brightness(110%);
}

/* ------------------------------------------- */
/* 테스트용 테두리 */
/* div {
    border: 0.5px dotted green;
}

a,
button {
    border: 0.5px dotted blue;
}

nav {
    border: 0.5px dotted red;
}

ul {
    border: 0.5px dotted gray;
}

li, label, input, p, span, form, article, section, table, tr, td {
    border: 0.5px dotted red;
} */

/* ------------------------------------------- */
.attachment {
    background-color: #f8f8f8;
    border: DarkGray 1px dashed;
    overflow: auto;
    width: 100%;
    min-height: 70px;
    max-height: 250px;
}

.exam_box {
    border-collapse: separate;
    border: 1px solid LightSteelBlue;
    border-radius: 0.3rem;
    margin: 15px 0 5px 0;
    width: 100%;
    min-height: 42px;
    padding: 8px;
}

.bd-title {
    font-size: 17px;
    /* font-weight: bold; */
    margin: 0 0 10px 0;
}

.type_sel {
    font-size: 14px;
    min-width: 80px;
    padding: 3px 6px 3px 6px;
    margin: 2px 2px 2px 2px;
    border: 1px solid lightgray;
    border-radius: 0.25rem;
    vertical-align: bottom;
}

.type_sel2 {
    font-size: 14px;
    min-width: 100px;
    padding: 3px 6px 3px 6px;
    margin: 2px 2px 2px 2px;
    border: 1px solid lightgray;
    border-radius: 0.25rem;
    vertical-align: bottom;
}

.bg-lavender,
.type_0 {
    background-color: rgb(205, 187, 205);
    /* Lavender 보다 진하게 rgb(193, 193, 238) , rgb(205, 187, 205) */
}

.bg-blue,
.type_1 {
    background-color: LightSteelBlue;
}

.bg-wood,
.type_2 {
    background-color: Burlywood;
}

.bg-green,
.type_3 {
    background-color: DarkSeaGreen;
}

.bg-gray,
.type_4 {
    background-color: Silver;
    /* LightGray 보다 진하게 */
}

.bg-blue2,
.type_5 {
    background-color: CadetBlue;
}

/*Material Icon 정렬*/
.md-icon {
    vertical-align: text-bottom !important;
    font-size: 20px;
}

/*-------------------------------------------------------*/

.disabled {
    pointer-events: none;
}

.passage div:not(.no-indent),
.passage.present,
.note-editing-area div:not(.no-indent) {
    text-indent: 0.5rem;
}

/*------------------------------------------------------------*/

/* publish */
.side-menu {
    border: none !important;
}

@media (max-width: 768px) {
    .side-menu {
        display: none;
    }
}

.side-menu > ul {
    padding-left: 4px !important;
}

.side-menu > ul > li {
    text-align: left;
    list-style: none;
    padding-top: 14px;
    padding-bottom: 4px;
    margin-bottom: -6px;
    color: #030303;
    font-size: 14px;
}

.side-menu > ul > li > a {
    color: #030303;
}

.side-menu > ul > li > a {
    color: #030303;
}

.side-menu > ul > li > a:hover {
    color: green;
}

/*******************************/
ul.side-menu > li {
    font-weight: 500;
}

ul.side-menu:after {
    content: "";
    width: 70%;
    left: 15px;
    height: 1px;
    background: #d8d8d8;
    position: absolute;
    margin-top: 5px;
}

ul.side-my-menu:after {
    content: "";
    width: 70%;
    left: 15px;
    margin: 0 auto;
    height: 1px;
    background: #d8d8d8;
    position: absolute;
    margin-top: 5px;
}

/**************************************************************
 * 로그인 페이지
 */
.login-wrap {
    /* background-color: azure; */
    background-repeat: no-repeat;
    background-size: cover;
}

.login-wrap .page-controller {
    position: relative;
}

.login-content {
    /* position: absolute; */
    top: 0px;
    /* right: 150px; */
    bottom: 0px;
    width: 410px;
    min-width: 200px;

    padding: 10px;
    background-color: rgb(252, 252, 252);
    border: 1px solid WhiteSmoke;
}

.login-content label {
    text-overflow: hidden;
    overflow: hidden;
    white-space: nowrap;
}

.login-content.register {
    width: 610px;
}

.login-content .form-horizontal .form-group {
    margin-left: 0px;
    margin-right: 0px;
}

.login-content .title {
    font-size: 35px;
    margin: 100px 0px 50px 0px;
}

.login-content small {
    font-size: 20px;
}

.checkbox-login {
    padding: 0px;
    margin: 0px;
    position: relative;
    bottom: -2px;

    background: black;
    color: white;
}

/*문제 수정, 출제, 문제지, 제시문 <table>*/
#passage_header {
    text-align: center;
    table-layout: fixed;
    /* word-break: break-all; */
    border: 1px solid black;
}

/*제시문 수정된 형식*/
.present {
    text-align: justify;
    /* word-break: break-all; */
    border: 1px solid black;
    padding: 5px;
}

/*******************************/
#side-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

#side-left li a {
    display: block;
    font-size: 15px;
    font-weight: 500;

    padding: 5px 5px 5px 0.5em;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    width: 100%;
}

/*******************************/
#button {
    margin-bottom: 1em;
    color: #333;
}

#button ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

#button li {
    margin: 0;
}

#button li a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    /* font-family: 'Nanum Gothic'; */
    padding: 5px 5px 5px 0.5em;
    background-color: #fff;
    /*#2175bc;*/
    color: #000;
    text-decoration: none;
    width: 100%;
    padding-left: 20%;
}

#button li span {
    display: block;
    font-size: 20px;
    font-weight: 500;
    /* font-family: 'Nanum Gothic'; */
    padding: 5px 5px 10px 0.5em;
    background-color: #fff;
    /*#2175bc;*/
    color: #000;
    text-decoration: none;
    width: 100%;
    padding-left: 20%;
    font-weight: bold;
}

html > body #button li a {
    width: auto;
}

#button li a:hover {
    background-color: #ddd;
    color: green;
}

/*-------------------------------------------------------*/

.min-high-1 {
    min-height: 800px;
    /* background-color: Honeydew; */
    /* lightblue Lavender Cornsilk LightSteelBlue PowderBlue LightCyan LightYellow MediumAquamarine*/
}

.pd-1 {
    padding: 1% 0 1% 0;
}

/*검색 판넬*/

.border-right-grey-100 {
    border-right-color: #ebecec;
}

.border-bottom-grey-100 {
    border-bottom-color: #ebecec;
}

.alpha-primary {
    background-color: #f4faff;
    border-color: #cfcfcf;
}

.text-white,
.text-white:hover,
.text-white:focus {
    color: #fff !important;
}

.bg-blue {
    background-color: #03a9f4;
    border-color: #03a9f4;
    color: #fff;
}

.checkbox_list1 {
    /* zoom : 1.5;  */
    padding: 0px;
    margin: 0px;
    /* position: relative;	bottom: 1px;
	background-color: white;  border: 0px solid red; */
}

.dark-red {
    background-color: #bf3852 !important;
}

/*-----------------------------------------------------*/

.dropdown a {
    color: #000;
}

/************************************************/

.table-exam thead th,
.table-exam tbody th {
    color: black;
    background-color: LightSteelBlue;
    text-align: center;
}

.table-exam thead th,
.table-exam thead th input,
.table-exam tbody th,
.table-exam tbody tr td,
.table-exam tbody tr td input,
.table-exam tbody tr td a i {
    vertical-align: middle;
}

.table-exam thead .checkbox,
.table-exam tbody .checkbox {
    vertical-align: middle;
}

.ast {
    padding-left: 15px;
    position: relative;
}

.ast:before {
    font-family: "Font Awesome 5 Free";
    /* "FontAwesome"; "Font Awesome 5 Free";*/
    content: "\f069";
    /* "\f069";  */
    font-style: normal;
    font-weight: 900;
    text-decoration: inherit;
    /*--adjust as necessary--*/
    color: #f44336;
    font-size: 10px;
    position: absolute;
    top: 2px;
    left: 0;
}

.table-list {
    height: auto;
    min-height: 500px;
}

@media (max-width: 768px) {
    .table-list {
        height: auto;
        min-height: auto;
    }
}

.modal-body > h2 {
    margin: 0;
    padding: 0;
    font-size: 150%;
}

.modal-body > p {
    margin: 10px 0 0;
    padding: 0;
    color: #666;
    font-size: 120%;
    line-height: 170%;
}

.modal-body > p > b {
    font-weight: normal;
    color: #f44336;
}

.btn-light {
    border: 1px solid LightGray !important;
}

p {
    margin-bottom: 0.2rem !important;
}

.title.pub_name {
    font-weight: bold;
    font-size: 15px;
}

/* ------------------------------------------------------------------------- */
/* summernote fix */
.note-popover .popover-content > .btn-group,
.card-header.note-toolbar > .btn-group {
    margin-top: 5px;
    margin-right: 5px;
    margin-left: 0;
}

#summernote + div.note-editor .note-toolbar {
    z-index: 501;
}

#explanation + div.note-editor .note-toolbar {
    z-index: 500;
}

.note-editor .note-toolbar .note-btn-group.btn-group button[data-original-title="기호문자"] + .dropdown-menu {
    max-height: 350px;
    overflow-y: auto;
}

/* ------------------------------------------------------------------------- */
#bs_alerts {
    position: absolute;
    width: 80%;
    max-width: 950px;
    z-index: 9999;
    margin: 0 0px 0 15px;
    opacity: 0.95;
}

#bs_alerts label {
    width: 90%;
}

/* 상하 화살표 보이기 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    transform: scale(2);
}

.circle {
    border: 7px solid;
    border-radius: 50%;
    width: 50px;
    height: 40px;
    /* background:rgba(0,0,0,0); */
    /* color:white; */
    /*text-align:center;
  line-height:100px;*/
}

/* 원문자 */
.CircleNum0 {
    font-size: 1.1rem;
    font-weight: bold;
    color: Navy;
}

/* 문장 섞은후 묶은 괄호 */
.bracket {
    font-weight: bold;
    color: DarkRed;
}

/* Bootstrap Modal 중앙에 위치 */
.modal-dialog {
    /* .modal-dialog-centered 옮겨옴*/
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}

/* bootstrap center
주의 쓰면 안됨 modal 클릭안됨
body.modal-open .modal {
    display: flex !important;
    height: 100%;
} 
body.modal-open .modal .modal-dialog {
    margin: auto;
}*/

/* ----------------------------------------------------------------------------
select2 용
https://github.com/select2/select2
-  다중 선택에서 선택항목에 체크표시하기 
- v4.0용 - v4.1사용시 주석처리 필요
*/
.select2-container--default .select2-results__option[aria-selected="true"] {
    font-weight: bold;
}

.select2-container--default .select2-results__option[aria-selected="true"]:after {
    color: blue;
    content: "\2713";
    font-weight: bold;
    float: right;
}

/*  v4.1용(beta상태) - v4.0사용시 주석처리 필요*/
/* .select2-results .select2-results__option--selected {
    font-weight: bold;
}

.select2-results .select2-results__option--selected:after {
    color: blue;
    content: "\2713";
    font-weight: bold;
    float: right;
} */

/* ----------------------------------------------------------------------------*/

/*//-----------------------------------------------------------------------------*/
/* 탭 */
ul#tabs {
    list-style-type: none;
    margin: 10px 0px 0px 0px;
    /*탭 위치*/
    padding: 0 0 0 0;
}

ul#tabs li {
    display: inline;
}

ul#tabs li a {
    border-bottom: none;
    padding: 0.3em;
    text-decoration: none;

    border: 1px solid #c9c3ba;

    color: #42454a;
    background-color: #dedbde;
    padding: 5px 20px 2px 20px;
    /*테두리 조정*/
    border-radius: 2px;
    font-size: 1.1em;
}

ul#tabs li a:hover {
    background-color: rgb(248, 248, 248);
}

ul#tabs li a.selected {
    color: rgb(1, 1, 167);
    background-color: rgb(248, 248, 248);
    font-weight: bold;
    padding: 10px 20px 4px 20px;
    /*테두리 조정*/
    border-bottom: none;

}

div.tabContent {
    padding: 0.5em;
    border: 1px solid #c9c3ba;
    background-color: rgb(248, 248, 248);
    border-radius: 2px;
}

div.tabContent.hide {
    display: none;
}

span.link1 {
    color: blue;
    margin: 0.5em;
    white-space: nowrap;
    cursor: pointer;
}

.tabContent td {
    line-height: 180%;
}

.tabContent tr td:first-of-type {
    width: 50px;
    text-align: center;
    font-weight: bold;
    border-right: 1px solid lightgray;
}

.tabContent table {
    border-collapse: collapse;
}

.tabContent td {
    padding: 0.3em;
}

#file_list {
    border: 1px solid lightgray;
    margin: 10px 0px 10px 0px;
    padding: 10px 10px 10px 10px;
    border-radius: 3px;
}

#tbl_file_list td {
    font-size: 13px;
}


/* fireworks-js 용 */
.fireworks-js-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

canvas#fw {
    display: block;
    width: 800px;
    height: 800px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* ------------------------------------------------------------------------- */
/* 이미지 팝업 */

/* The Modal (background) */
#modalImage {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;

    display: none;
    position: fixed;

    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0);

    animation-name: modalImage_zoom;
    animation-duration: 0.3s;
}

#modalImage #modalBox {
    position: relative;
    display: block;
    width: 98%;
    height: 98%;
    margin: auto;
    background-color: rgba(100, 100, 100, 1);
}

#modalImage #modalBox2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52.5%);
    display: block;
    width: 95%;
    height: 95%;
    margin: auto;
}

/* Modal Content (image) */
#modalImage .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
}

#modalImage #modalBox .prev, .next {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    width: 30px;
    height: 100%;
    color: rgba(255, 255, 255, 1);
    font-weight: bold;
    font-size: 35px;
    transition: 0.6s ease;
    user-select: none;
}

#modalImage #modalBox .next {
    color: rgba(255, 255, 255, 1);
    right: 0;
}

/* On hover */
#modalImage #modalBox .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#modalImage #modalBox .stop {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    right: 0;
    transform: translate(0%, -50%) translate(0px, 20px);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    color: rgba(255, 255, 255, 1);
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    /* background-color: rgba(100, 100, 100, 1); */
}

#modalImage #modalBox .stop:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#modalImage #modalBox #indexText {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0%;
    left: 5%;
    width: 90%;
    height: 5%;
    color: rgba(255, 255, 255, 1);
    font-size: 15px;
    user-select: none;
}

@keyframes modalImage_zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.payed_mem_only {
    background-color: Thistle !important;
}

#bd_article hr.divider,
#form_article hr.divider {
    border: 1.5px solid Indigo;
    margin: 10px 10px 10px 10px;
    border-radius: 5px;
}

/**/

/*-----------------------------------------------------------------------------*/
/* 헤더 */
.topbar,
.topbar .content1 {
    width: 100%;
    max-width: 1376px;
    position: fixed;
    top: 0;
    z-index: 1001;
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: center;
    opacity: 1;
}

.topbar a {
    text-decoration: none;
}

.topbar ul {
    padding-top: 5px;
    background-color: white;
}

.topbar2 {
    width: 100%;
    max-width: 1376px;
    position: fixed;
    z-index: 1001;
    height: 50px;
}

.navbar-brand {
    padding: 5px 5px 0 0px;
}

.dimmed {
    background-color: #fff;
    opacity: 0.8;
}

/*-----------------------------------------------------------------------------*/
.page-container {
    width: 100%;

}

span.origin-from {
    font-size: 11px;
    color: lightgray;
}

/*-----------------------------------------------------------------------------*/