a {
    cursor: pointer;
}
.book-body.article-detail h2.title {
    display: none;
}

.btn-grad.disable {
    pointer-events: none;
}

#ajax-loading {
    width: 50px;
    z-index: 888;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 80px;
    visibility: hidden;
    /* opacity: 0;
    transition-delay: 0s;
    transition-duration: 0s;
    transition-property: opacity; */
}
body.ajax-loading #ajax-loading  {
    visibility: visible;
    /* transition-delay: 1s; */
    /* opacity: 1; */
}
.nd-box.snb-close #ajax-loading  {
    margin-left: 0;
}
#ajax-loading img {
    width: 100%;
}



/* xsl */

.article-body {
    margin: 14px 0;
    margin-bottom: 25px;
}
.ui.segment.article {
    background-color: rgba(0,0,0,.03);
}
.article-body .key-element {
    color: blue
}
.article-body blockquote {
    color: grey; 
}
.article-body .note {
    color: grey;
    font-size: .9em;
}
.haeje-body {
    margin: 14px 0;
}
.haeje-body p {
    line-height: 2.3;
    margin-bottom: 25px;
}
/* .haeje-profile span.label {
    color: grey;
    font-weight: bold;
} */
.ui.segment.haeje {
    background-color: rgba(0,0,0,.03);
}
.article-body .page, .haeje-body .page {
    font-size: .79em;
    /* position: absolute; */
    border-radius: 8px;
    background-color: #deeef6;
    border: 1px solid #738f4f;
    padding: 2px;
    line-height: 1;
}
.indentation {
    display: inline-block;
}
.indentation.indent_1 {
    width: 1em;
}
.indentation.indent_2 {
    width: 2em;
}
.indentation.indent_3 {
    width: 3em;
}

input:focus {
    outline: none;
}
  
/* 비활성 트리 */
.snb-list li.disabled * {
    /* color: rgb(163, 163, 163) !important ; */
    pointer-events: none;
    opacity: .6;
}
.snb-list li.disabled > .cate > .ico::before {
    background-color: silver !important;
    width: 3px !important;
    height: 3px !important;
    top: 4px !important;
    left: 4px !important;
}
.snb-list li.disabled > .cate > .ico::after {
    background-color: transparent !important;
}

.article-body {
	line-height: 2;
}
.article-body .page, .haeje-body .page {
    border-radius: 10px;
    background-color: #e3ecf0;
    border: 1px solid #8593ac;
    padding: .4rem;
}

.article-body .key-element {
    color: var(--color-blue-l);
}

.article-body .note {
    font-weight: 300;
}


/* font size form <rem> to <em> */
.book-body .title {
    font-size: 1.72em !important;
}
.book-body .txt-wrap {
    font-size: 1.187em !important;
}

/* default= 1.6rem */
body.font-size-7 .book-body.article-detail {
    font-size: 1.3rem;
}
body.font-size-8 .book-body.article-detail {
    font-size: 1.4rem;
}
body.font-size-9 .book-body.article-detail {
    font-size: 1.5rem;
}
body.font-size-11 .book-body.article-detail {
    font-size: 1.7rem;
}
body.font-size-12 .book-body.article-detail {
    font-size: 1.85rem;
}
body.font-size-13 .book-body.article-detail {
    font-size: 2.0rem;
}


/* search */
.no-query {
    text-align: center;
    padding: 2rem;
}
.search-results em {
    font-style: normal;
    /* background: #edc5c5;
    border-radius: .2rem; */
}
.default-search-results em {
    font-style: normal;
    background: #edc5c5;
    border-radius: .2rem;
}
/* .search-results a.word {
    pointer-events: none;
} */
input[name=q] {
    ime-mode: active;
    -ms-ime-mode: active;
}



/* Radio button */
/* .item-checkbox */
.ui.radio.checkbox > ul {
	position: relative;
	display: inline-flex; align-items: center;
}
.ui.radio.checkbox > ul input[type='checkbox'] {
    position: absolute; top: 0; left: 0;
	width: 20px; height: 20px;
	border-radius: 3px;
}
.ui.radio.checkbox > ul input[type='checkbox'] + label {
	position: relative;
	padding: 0 0 0 30px;
}
.ui.radio.checkbox > ul input[type='checkbox'] + label:before {
    content: '';
    position: absolute; top: 2px; left: 4px;
    width: 16px; height: 16px;
	border-radius: 3px;
    border: 1px solid #a7a7a7;
	background-color: #fff;
	vertical-align: middle;
	box-sizing: border-box;
	cursor: pointer;
}
.ui.radio.checkbox > ul input[type='checkbox']:checked + label:after {
    content: '';
    position: absolute; top: 4px; left: 9px; z-index: 2;
    width: 3px; height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.ui.radio.checkbox > ul input[type='checkbox']:checked + label:before {
	background-color: #898989;
}

.ui.radio.checkbox > ul input[type='radio'] {
    position: absolute; top: 0; left: 0;
	width: 20px; height: 20px;
	border-radius: 10px;
}
.ui.radio.checkbox > ul input[type='radio'] + label {
	position: relative;
	padding: 0 0 0 30px;
}
.ui.radio.checkbox > ul input[type='radio'] + label:before {
    content: '';
    position: absolute; top: 2px; left: 4px;
    width: 16px; height: 16px;
	border-radius: 8px;
    border: 1px solid #a7a7a7;
	background-color: #fff;
	vertical-align: middle;
	box-sizing: border-box;
	cursor: pointer;
}
.ui.radio.checkbox > ul input[type='radio']:checked + label:after {
    content: '';
    position: absolute; top: 6px; left: 8px; z-index: 2;
    width: 8px; height: 8px;
	border-radius:4px;
	background-color: #434369;
}
.ui.radio.checkbox  label {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 1.3rem;
    color: #41435b;
    font-weight: 400;
    margin-left: 1rem;
  }

form#global-search.disabled * {
    color: gray;
    pointer-events: none !important;
}
.is-regex {
    padding-left: 1rem !important;
}
.is-regex::before {
    display: inline-block;
    width: 33px;
    height: 30px;
    background-image: url("/okldb/static/site/toggle-off.svg");
    background-size: 33px 30px;
    background-repeat: no-repeat;
    content: "";
}
.is-regex.active::before {
    background-image: url("/okldb/static/site/toggle-on.svg");
}



.item-checkbox input[type="checkbox"]:indeterminate + label::before {
    background-color: #cfcece !important;
}
.item-checkbox input[type="checkbox"]:indeterminate + label::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 11px;
    z-index: 2;
    width: 0;
    height: 8px;
    border: solid #fff;
        border-top-width: medium;
        border-right-width: medium;
        border-bottom-width: medium;
        border-left-width: medium;
    border-width: 0 2px 2px 0;
    transform: rotate(90deg);
}

/* common.css로 이전 */
/* pre.exam {
    padding: .48rem 1.2rem;
    overflow: auto;
    font-size: 75%;
    line-height: 1.45;
    color: #990000;
    background-color: #e9e9e9;;
    border-radius: 6px;
    word-wrap: normal;
    margin:  .48rem 1.2rem;
    display: inline-block;
    clear: both !important;
  } */
  .popup-char .char-cont .cont-wrap.basic section .title {
    width: 180px !important;

  }

  #viewer .disabled {
    pointer-events: none;
  }

/* 용어사전 한글용어 사이 쉼표 자동붙임 제거  */
.bbs-nor-sm .tbody .cell a.word::after {
    content: '' !important;
}


/* 정규표현식 검색의 경우 박스 앞뒤에 표현식 기호를 넣어준다. */
body.regex-search .search-wrap .header-nav .search-form .box label,
body.regex-search .popup-char .input-wrap .input-form label,
body.regex-search header .header-inner .header-nav .search-form .box label {
    color:#b5b5b5 !important;
    font-weight: bold;
} 
body.regex-search .search-wrap .header-nav .search-form .box label input,
body.regex-search .popup-char .input-wrap .input-form label input,
body.regex-search header .header-inner .header-nav .search-form .box label input {
    width: calc(100% - 50px);
    margin-left: 5px;
    margin-right: 5px;
}
body.regex-search .search-wrap .header-nav .search-form .box label::before,
body.regex-search .popup-char .input-wrap .input-form label::before,
body.regex-search header .header-inner .header-nav .search-form .box label::before {
    content: "/.*";
}
body.regex-search .search-wrap .header-nav .search-form .box label::after,
body.regex-search .popup-char .input-wrap .input-form label::after,
body.regex-search header .header-inner .header-nav .search-form .box label::after {
    content: ".*/";
}