@charset "UTF-8";

/*
	***** 공통 스타일 *****
*/


body {
    margin: 0;
    border: 0;
    padding: 0;
}

#tsViewer {
    font-family: 'NotoSansR';
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    border: 0;
}

#tsViewer ul,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#tsViewer a {
    text-decoration: none;
    color: #333;
}



#tsViewer .contentWrap {
    position: relative;
    width: 1170px;
    height: 768px;
    overflow: hidden;
}


/* pageTitle */
#tsViewer .pageTitle {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    z-index: 10;
    background-color: #333333;
}

#tsViewer .pageTitle .openMind::before {
    content: url("../images/icon_openMind.png");
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 3px;
}

#tsViewer .pageTitle .openMind {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #fff;
    font-family: 'NotoSansB';
}

#tsViewer .pageTitle .textBook {
    position: relative;
    font-family: 'NotoSansM';
    color: #ffb380;
    font-size: 13px;
    margin-left: 19px;
    margin-top: 3px;
    padding-right: 10px;
}

#tsViewer .pageTitle .textBook::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 10px;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    background-color: #ffb380;
}

#tsViewer .pageTitle .pagination {
    font-family: 'NotoSansB';
    color: #fff;
    margin-left: 10px;
}

#tsViewer .pageTitle .btnCopyUrl {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 39px;
    top: 8px;
    width: 140px;
    height: 22px;
    font-size: 13px;
    color: #333333;
    font-family: NotoSansB;
    letter-spacing: -1px;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ffa200;
}

#tsViewer .pageTitle .btnCopyUrl>img {
    margin-right: 5px;
}


/* contentsStudy */
#tsViewer .contentsStudy {
    position: absolute;
    width: inherit;
    left: 0;
    bottom: 0;
    height: 38px;
    line-height: 38px;
    background-color: #333;
    color: #fff;
    z-index: 10;
}

#tsViewer .contentsStudy .listInner {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: inherit;
}

#tsViewer .contentsStudy .listInner .navBox {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 13px;
}

#tsViewer .contentsStudy .listInner .navMenu {
    height: inherit;
    margin-right: 21px;
    cursor: pointer;
}

#tsViewer .contentsStudy .listInner .navMenu img {}

#tsViewer .contentsStudy .listInner .navMenu span {
    margin-left: 9px;
    font-size: 15px;
    font-family: 'NotoSansB';
}

#tsViewer .contentsStudy .listInner .listBtn {
    display: none;
    width: 55px;
    height: 22px;
    line-height: 22px;
    margin-right: 5px;
    text-align: center;
    font-size: 14px;
    background-color: #717171;
    border-radius: 5px;
    font-family: 'NotoSansB';
    cursor: pointer;
}

#tsViewer .contentsStudy .listInner .listBtn:last-child {
    margin-right: 0;
}

/* pagination */
#tsViewer .contentsStudy .pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#tsViewer .contentsStudy .pagination .pageArrow {
    cursor: pointer;
}

#tsViewer .contentsStudy .pagination .pageArrow img {
    vertical-align: -1px;
}

#tsViewer .contentsStudy .pagination .pageArrow.disabled {
    pointer-events: none;
    opacity: 0.3;
}

#tsViewer .contentsStudy .pagination .pageBox {
    margin: 0 10px;
}

#tsViewer .contentsStudy .pagination .pageBox span {
    font-size: 15px;
}

#tsViewer .contentsStudy .pagination .pageBox span:nth-child(1) {
    font-family: 'NotoSansB';
}

/*btnTool 공통 클래스*/
#tsViewer .btnTool {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 115px;
    height: 22px;
    text-align: center;
    font-size: 13px;
    border-radius: 5px;
    font-family: 'NotoSansB';
    cursor: pointer;
}

/* 수업도구 열기 */
#tsViewer .contentsStudy .toolBox {
    position: absolute;
    right: 0;
    top: 9px;
    z-index: 5;
}

#tsViewer .contentsStudy .openTool {
    display: none;
    margin-right: 13px;
    background-color: #ff6600;
}

#tsViewer .contentsStudy .openTool.active {
    display: flex;
    background-color: #ff6600;
}

#tsViewer .contentsStudy .openTool::after {
    content: url("../images/icon_openTool.png");
    width: 15px;
    height: 15px;
    line-height: 22px;
    margin-left: 3px;
    padding-bottom: 2px;
}

/* 수업도구 닫기 */
#tsViewer .contentsStudy .closeTool {
    background-color: #717171;
    margin-right: 13px;
}

#tsViewer .contentsStudy .closeTool.active {
    display: none;
}

#tsViewer .contentsStudy .closeTool::after {
    content: url("../images/icon_closeTool.png");
    width: 15px;
    height: 15px;
    line-height: 22px;
    margin-left: 3px;
    padding-bottom: 2px;
}

#tsViewer .contentsStudy .closeToolList {
    position: absolute;
    right: -36px;
    display: flex;
    align-items: center;
    width: 528px;
    background-color: #ff6600;
    transform: translateX(0);
    transition: .5s;
}

#tsViewer .contentsStudy .closeToolList.active {
    transform: translateX(528px);
}

#tsViewer .contentsStudy .closeToolList span {
    margin-right: 10px;
    font-size: 14px;
    cursor: pointer;
}

#tsViewer .contentsStudy .closeToolList span:first-child {
    margin-left: 27px;
}

#tsViewer .contentsStudy .closeToolList span a {
    color: #fff;
}

#tsViewer .contentsStudy .closeToolList span a:hover {
    margin-bottom: 7px;
    color: #ffe032;
}

#tsViewer .contentsStudy .closeToolList .btnNotice {
    display: none;
}

/* 학습목차 클릭시 모달 */
#tsViewer .modalContainer {
    position: fixed;
    top: 0;
    transform: translateX(-474px);
    transition: .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 413px;
    height: 730px;
    font-size: 13px;
    background-color: #ae7c65;
    z-index: 110;
}

#tsViewer .modalContainer.active {
    transform: translateX(0);
}

#tsViewer .modalContainer .modalWhiteBg {
    position: relative;
    width: 393px;
    height: 710px;
    padding: 30px;
    padding-top: 40px;
    padding-right: 0;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 10px 35px 10px 10px;
}

#tsViewer .modalContainer .modalWhiteBg .character {
    position: absolute;
    display: block;
    bottom: -5px;
    left: 80%;
    transform: translateX(-80%)
}

#tsViewer .modalContainer .modalWhiteBg .modalInnerWrap {
    height: 610px;
    padding-right: 5px;
    box-sizing: border-box;
}

#tsViewer .modalContainer .brownArrow {
    position: absolute;
    right: -60px;
    cursor: pointer;
}

/* 모달창 도입, 전개 */
#tsViewer .modalContainer .modalBox {
    margin-bottom: 32px;
}

#tsViewer .modalContainer .modalBox:last-child {
    margin-bottom: 0;
}

#tsViewer .modalContainer .modalBox .cl_headLineBox {
    margin-bottom: 5px;
}

#tsViewer .modalContainer .modalBox .cl_headLineBox::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ae7c65;
}

#tsViewer .modalContainer .modalBox .cl_headLineBox .headLineTxt {
    display: inline-block;
    width: 96px;
    height: 34px;
    line-height: 34px;
    border-radius: 15px 30px 0 0;
    padding-left: 23px;
    color: #fff;
    font-size: 15px;
    font-family: 'NotoSansB';
    background-color: #ae7c65;
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: -1px;
}

#tsViewer .modalContainer .modalBox ul {
    width: calc(100% - 5%);
    margin: 0 auto;
    box-sizing: border-box;
}

#tsViewer .modalContainer .modalBox .txtWrap {
    font-family: 'NotoSansB';
    cursor: pointer;
    margin-bottom: 5px;
}

#tsViewer .modalContainer .modalBox .txtWrap .contentTitleCell {
    display: flex;
}

#tsViewer .modalContainer .modalBox .txtWrap .textbookPage {
    color: #a7a7a7;
}

#tsViewer .modalContainer .modalBox .txtWrap:hover span {
    color: #ff6600;
}

#tsViewer .modalContainer .modalBox .txtWrap:hover .textbookPage {
    color: #ff6600;
}

#tsViewer .modalContainer .modalBox .txtWrap .num {
    width: 12px;
    margin-right: 4px;
    box-sizing: border-box;
}

#tsViewer .modalContainer .modalBox .txtWrap .title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*mCustomerScrollbar*/
#tsViewer .mCSB_inside>.mCSB_container {
    margin-right: 0;
}

#tsViewer .mCustomScrollBox {
    padding-right: 25px;
}



/*
    *** 컨텐츠컨테이너
*/
#tsViewer .contentContainer {
    width: 1170px;
    height: 768px;
}

#tsViewer .contentContainer iframe {
    width: 100%;
    height: 100%;
    border: 0;
}



/*
    *** 로더
*/
#tsViewer .preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    height: calc(100% - 38px - 38px);
    z-index: 100;
    background-color: #f6e7d4;
}



/*
    *** jr 뷰어 설정
*/
#tsViewer.viewerJr .modalContainer {
    display: none;
}

#tsViewer.viewerJr .contentsStudy .navBox {
    display: none;
}

#tsViewer.viewerJr .contentsStudy .pagination {
    display: none;
}





/*
    *** 그림판
*/
.canvasElement {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    display: none;
    cursor: url('../images/drawing/p01.cur'), auto;
}

.drawingMenuBox {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 260px;
    border-radius: 10px;
    z-index: 300;
    border: 1px solid #ddd;
    background: #e9e9e9;
    background: -webkit-linear-gradient(-45deg, #ccc, #fff);
    background: -o-linear-gradient(-45deg, #ccc, #fff);
    background: -moz-linear-gradient(-45deg, #ccc, #fff);
    background: linear-gradient(-45deg, #ccc, #fff);
    box-shadow: 0 0 4px 0 #555;
}

.drawingMenuTitle {
    font-size: 10px;
    color: #777;
    text-align: center;
    text-shadow: 0 0 1px #ccc
}

.menuButton {
    position: absolute;
    top: 18px;
    width: 41px;
    height: 15px;
    background: #e9e9e9;
    background: -webkit-linear-gradient(#fff, #ccc);
    background: -o-linear-gradient(#fff, #ccc);
    background: -moz-linear-gradient(#fff, #ccc);
    background: linear-gradient(#fff, #ccc);
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 10px;
    color: #777;
    text-align: center;
    cursor: pointer
}

.menuButton:hover {
    background: #f90;
    background: -webkit-linear-gradient(#fff, #f90);
    background: -o-linear-gradient(#fff, #f90);
    background: -moz-linear-gradient(#fff, #f90);
    background: linear-gradient(#fff, #f90);
    color: #fff;
    border: 1px solid #ffcd86
}

.exit {
    left: 5px
}

.hide {
    left: 53px
}

.menuLine {
    position: absolute;
    left: 5px;
    width: 90px;
    height: 1px;
    background-color: #ccc;
    box-shadow: 0 1px 1px 1px #fff
}

.step1 {
    top: 40px
}

.step2 {
    top: 73px
}

.step3 {
    top: 120px
}

.step4 {
    top: 168px
}

.navButtonStyle {
    position: absolute;
    width: 19px;
    height: 19px;
    background: #e9e9e9;
    background: -webkit-linear-gradient(#fff, #ccc);
    background: -o-linear-gradient(#fff, #ccc);
    background: -moz-linear-gradient(#fff, #ccc);
    background: linear-gradient(#fff, #ccc);
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 10px;
    color: #777;
    text-align: center;
    cursor: pointer
}

.pencil {
    top: 47px;
    left: 5px;
    background-image: url(../images/drawing/icon_pencil.png);
    background-size: 16px;
    background-position: 2px 1px;
    background-repeat: no-repeat
}

.highlight {
    top: 47px;
    left: 28px;
    background-image: url(../images/drawing/icon_highlight.png);
    background-size: 16px;
    background-position: 2px 1px;
    background-repeat: no-repeat
}

.erase {
    top: 47px;
    left: 51px;
    background-image: url(../images/drawing/icon_eraser.png);
    background-size: 16px;
    background-position: 2px 1px;
    background-repeat: no-repeat
}

.allDelete {
    top: 47px;
    left: 74px;
    background-image: url(../images/drawing/icon_allDelete.png);
    background-size: 16px;
    background-position: 2px 1px;
    background-repeat: no-repeat
}

.selectedStyle {
    border: 1px solid #f90;
    box-shadow: 0 0 2px 1px #f90
}

.thicknessContainer {
    position: absolute;
    top: 70px;
    left: 5px
}

.alphaLabel,
.colorLabel,
.thicknessLabel {
    font-size: 10px;
    color: #777;
    margin-left: 5px;
    line-height: 30px
}

.thicknessThumbnail {
    top: 6px;
    left: 70px
}

.thicknessThumbnailIcon {
    position: relative;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    margin-top: -2px;
    background-color: #555;
    border-radius: 50%;
    left: 50%;
    top: 50%
}

.alphaSlider,
.thicknessSlider {
    position: absolute;
    top: 3px;
    left: 0;
    width: 90px;
    background: 0 0
}

.alphaContainer {
    position: absolute;
    top: 118px;
    left: 5px
}

.colorThumbnailStyle {
    position: absolute;
    width: 40px;
    height: 10px;
    background: #e9e9e9;
    background: -webkit-linear-gradient(#fff, #ccc);
    background: -o-linear-gradient(#fff, #ccc);
    background: -moz-linear-gradient(#fff, #ccc);
    background: linear-gradient(#fff, #ccc);
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 10px;
    color: #777;
    text-align: center;
    cursor: pointer;
    top: 9px;
    left: 50px
}

.colorThumbnail {
    background: #a90101
}

.colorContainer {
    position: absolute;
    top: 167px;
    left: 5px
}

.colorPickerBox {
    position: absolute;
    top: 25px;
    left: 3px;
    width: 90px
}

.colorPicker {
    margin: 1px;
    width: 17px;
    height: 17px;
    border: 1px solid #888;
    border-radius: 5px;
    font-size: 10px;
    color: #777;
    text-align: center;
    cursor: pointer;
    float: left
}

.alphaThumbnailBg {
    background-image: url(../images/drawing/alphaPattern.png);
    background-size: 7px
}

input[type=range] {
    -webkit-appearance: none
}

input[type=range]:focus {
    outline: 0
}

input[type=range]::-webkit-slider-runnable-track {
    margin-top: 33px;
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: .2s;
    background: #ccc;
    border-radius: 5px;
    border: .1px solid #bbb
}

input[type=range]::-webkit-slider-thumb {
    border: .5px solid #ccc;
    height: 16px;
    width: 6px;
    border-radius: 5px;
    background: #f4f4f4;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7.5px;
    background: #e9e9e9;
    background: -webkit-linear-gradient(#fff, #ccc);
    background: -o-linear-gradient(#fff, #ccc);
    background: -moz-linear-gradient(#fff, #ccc);
    background: linear-gradient(#fff, #ccc)
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: .2s;
    background: #ccc;
    border-radius: 5px;
    border: .1px solid #bbb
}

input[type=range]::-moz-range-thumb {
    border: .5px solid #ccc;
    height: 16px;
    width: 6px;
    border-radius: 5px;
    background: #f4f4f4;
    cursor: pointer
}

input[type=range]::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    animate: .2s;
    background: 0 0;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent
}

input[type=range]::-ms-fill-lower {
    background: #ccc;
    border: .2px solid #bbb;
    border-radius: 5px
}

input[type=range]::-ms-fill-upper {
    background: #ccc;
    border: .2px solid #bbb;
    border-radius: 5px
}

input[type=range]::-ms-thumb {
    border: 1px solid #ccc;
    height: 16px;
    width: 5px;
    border-radius: 3px;
    background: #f4f4f4;
    cursor: pointer;
    background: #e9e9e9;
    background: -webkit-linear-gradient(#fff, #ccc);
    background: -o-linear-gradient(#fff, #ccc);
    background: -moz-linear-gradient(#fff, #ccc);
    background: linear-gradient(#fff, #ccc)
}