/******************** layout ********************/
html {
  background: #000;
}
body {
}
html {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

/* layout */
#allWrap {
  position: relative;
  width: 100%;
}
#allBg {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
  overflow: hidden;
  z-index: 999;
}
#wrap {
  width: 100%;
  overflow: auto;
}

/* sub content */
#contentWrap {
  position: relative;
}

/*********** content ************/
#content {
  width: 100%;
  height: 100%;
}
#content:after {
  content: '';
  display: block;
  clear: both;
}

/*** left section ***/
#visiContent {
  position: relative;
  width: auto;
  margin: 77px 335px 0 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#visiContent:after {
  content: '';
  display: block;
  clear: both;
}
#visiContent.expandExe {
  opacity: 0;
}

#visiContent #visiBox {
  position: relative;
  width: 100%;
  background: #ccc;
  border-radius: 10px;
  overflow: hidden;
  z-index: 10;
}
#visiContent #visiBox:after {
  content: '';
  display: block;
  clear: both;
}
#visiContent #visiBox.student .studentDiv {
  opacity: 1;
  z-index: 30;
}
#visiContent #visiBox.teacher .teacherDiv {
  opacity: 1;
  z-index: 30;
}

/* visible box */
#visiContent #visiBox .vsImg {
  position: relative;
  padding: 15px;
  z-index: 10;
}
#visiContent #visiBox .vsImg:after {
  content: '';
  display: block;
  clear: both;
}
#visiContent #visiBox .vsImg img {
  width: 100%;
}

/* visible student */
#visiContent #visiBox .studentDiv {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
#visiContent #visiBox .studentDiv .sBox {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  margin: -79px 0 0 0;
}
#visiContent #visiBox .studentDiv .sBox .sIco {
  padding: 0 0 33px 0;
}
#visiContent #visiBox .studentDiv .sBox .sTxt {
  font-size: 30px;
  color: #000;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
}

/* visible teacher */
#visiContent #visiBox .teacherDiv {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: -1;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
#visiContent #visiBox .teacherDiv .sBox {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  margin: -100px 0 0 0;
}
#visiContent #visiBox .teacherDiv .sBox .sIco {
  padding: 0 0 33px 0;
}
#visiContent #visiBox .teacherDiv .sBox .sTxt {
  font-size: 30px;
  color: #000;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1px;
}

/* visible stopwatch */
#visiContent #stopwatch {
  display: none;
  position: absolute;
  left: 20px;
  top: 20px;
  width: 101px;
  height: 100px;
  text-align: center;
  background: url('/images/bg_stopwatch.png') left top no-repeat;
  z-index: 20;
}
#visiContent #stopwatch span {
  display: inline-block;
  width: 100%;
  font-family: 'DSDIGI';
  font-size: 60px;
  color: #000;
  line-height: 1.2;
  padding: 18px 0 0 0;
}

/* footer */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 86px;
  z-index: 20;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
footer .fInbox {
  position: relative;
  margin: 10px 315px 0 0;
}
footer .fInbox:after {
  content: '';
  display: block;
  clear: both;
}
footer.expandExe {
  opacity: 0;
}

/* bookmarkBox */
.bookThumbnail {
  width: 130px;
  height: 90px;
}
.bookmarkBox {
  display: block;
  opacity: 1;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 110px;
  background: #fbc61e;
  border-radius: 10px;
  z-index: 30;
}
.bookmarkBox .bookSlide {
  width: auto;
  margin: 10px 50px 0;
  overflow: hidden;
}
.bookmarkBox .bookslide .slick-list {
  overflow: visible;
}
.bookmarkBox .bookslide .slick-slide {
  padding: 0 5px;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  border: 0;
}
.bookmarkBox .prevRBtn {
  position: absolute;
  left: 5px;
  top: 50%;
  margin: -20px 0 0 0;
  display: inline-block;
  width: 40px;
  height: 40px;
  /* background: url('/images/btn_bookmark_prev.png') left top no-repeat; */
}
.bookmarkBox .nextRBtn {
  position: absolute;
  right: 5px;
  top: 50%;
  margin: -20px 0 0 0;
  display: inline-block;
  width: 40px;
  height: 40px;
}

/* bottom util */
.bomUtil {
  margin: 0 0 0 15px;
  z-index: 40;
}
.bomUtil > ul:after {
  content: '';
  display: block;
  clear: both;
}
.bomUtil > ul > li {
  position: relative;
  float: left;
  background: url('/images/bg_b_util_line1.png') right 50% no-repeat;
}
.bomUtil > ul > li > a {
  position: relative;
  display: inline-block;
  padding: 0 16px;
  z-index: 20;
}
.bomUtil > ul > li:last-child {
  background: url('');
}
.bomUtil > ul > li > ul.dlist {
  padding: 0 15px;
}
.bomUtil > ul > li > ul.dlist:after {
  content: '';
  display: block;
  clear: both;
}
.bomUtil > ul > li > ul.dlist > li {
  float: left;
  padding: 0 5px;
  background: url('/images/bg_b_util_line2.png') right 50% no-repeat;
}
.bomUtil > ul > li > ul.dlist > li:last-child {
  background: url('');
}

/* bottom util stamp */
.bomUtil .stampDiv {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  display: none;
}
.bomUtil .stampDiv ul {
  margin: 0 0 40px 0;
  padding: 0 0 0 13px;
}
.bomUtil .stampDiv ul:after {
  content: '';
  display: block;
  clear: both;
}
.bomUtil .stampDiv ul li {
  display: block;
  margin: 5px 0 0 0;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: returnToNormal;
  animation-name: returnToNormal;
}
.bomUtil .stampDiv ul li a {
  position: relative;
  display: block;
  width: 150px;
  height: 40px;
  background: #fbc61e;
  border-radius: 30px;
  text-align: left;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.bomUtil .stampDiv ul li a span {
  display: inline-block;
  font-size: 18px;
  color: #000;
  line-height: 40px;
  letter-spacing: -1px;
  padding: 0 0 0 46px;
}
.bomUtil .stampDiv ul li a:after {
  position: absolute;
  left: 3px;
  top: 3px;
  content: '';
  width: 34px;
  height: 34px;
  background: url('/images/bg_stamp_div_ico.png') left top no-repeat;
}
.bomUtil .stampDiv ul li a:hover {
  background: #fe716c;
}

/* bottom util timer */

/* paging */
.bomPage {
  position: absolute;
  right: 15px;
  bottom: 0;
  min-width: 140px;
  height: 40px;
  font-size: 0;
  line-height: 0;
  text-align: center;
  background: #fbc61e;
  border-radius: 50px;
  overflow: hidden;
}
.bomPage button {
  display: inline-block;
  padding: 0 2px;
}
.bomPage a.prev {
  float: left;
}
.bomPage a.next {
  float: right;
}
.bomPage span {
  position: absolute;
  left: 50%;
  top: 0;
  display: inline-block;
  width: 68px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0 -34px;
  padding: 9px 0;
}
.bomPage span:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 40px;
  background: url('/images/bg_bompage_span.png') left 50% no-repeat;
}
.bomPage span:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 40px;
  background: url('/images/bg_bompage_span.png') left 50% no-repeat;
}
.bomPage * {
  vertical-align: middle;
}

/*** right section ***/
#chatContent {
  position: fixed;
  right: 20px;
  bottom: 40px;
  width: 285px;
  z-index: 30;
}
#chatContent:after {
  content: '';
  display: block;
  clear: both;
}

/* chattingBox */
#chatContent .chattingBox {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0 0 86px 0;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-sizing: border-box;
}
#chatContent .chattingBox .chatOut {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: auto;
}
#chatContent .chattingBox .chatIn {
  width: 100%;
  overflow: hidden;
}
#chatContent .chattingBox .talkDiv {
  margin: 15px 15px 0 15px;
}
#chatContent .chattingBox .talkDiv:after {
  content: '';
  display: block;
  clear: both;
}
#chatContent .chattingBox .talkDiv > div {
  width: 70%;
  padding: 8px 14px;
  overflow: hidden;
}
#chatContent .chattingBox .talkDiv .lTalk {
  float: left;
  background: #f6f8fd;
  border-radius: 10px 10px 10px 0;
}
#chatContent .chattingBox .talkDiv .rTalk {
  float: right;
  background: #fbc61e;
  border-radius: 10px 10px 0 10px;
}
#chatContent .chattingBox .talkDiv .talkbox {
  font-family: 'Open Sans', 'sans-serif';
  font-size: 12px;
  color: #000;
  line-height: 1.4;
  word-break: keep-all;
}

#chatContent .chattingBox .message {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}
#chatContent .chattingBox .message .mBox {
  position: relative;
  width: 100%;
  padding: 15px 20px 15px 0;
  border-top: 1px #ccc solid;
  overflow: hidden;
  box-sizing: border-box;
}
#chatContent .chattingBox .message .mBox input {
  width: 100%;
  height: 40px; /*font-family: 'Open Sans', 'sans-serif';*/
  font-size: 12px;
  color: #000;
  line-height: 40px;
  border: 0;
  border-radius: 5px;
  background: #efefef;
  margin: 0;
  padding: 0 25px 0 12px;
  box-sizing: border-box;
}
#chatContent .chattingBox .message .mBox button {
  position: absolute;
  right: 0;
  top: 15px;
  border: 0;
}

/* video telephone */
#vTelephone {
  position: fixed;
  right: 20px;
  top: 77px;
  width: 285px;
  z-index: 100;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
#vTelephone .vBox {
  position: relative;
  width: 100%;
  border-bottom: 1px #000 solid;
  overflow: hidden;
}
#vTelephone .vBox .vFace {
  width: 100%;
  overflow: hidden;
}
#vTelephone .vBox .vFace .imgtest {
  width: 100%;
}
#vTelephone .vBox .vUtil {
  position: absolute;
  right: 0;
  top: 0;
  width: 35px;
  height: 100%;
  background: #000000;
  opacity: 0.5;
}
#vTelephone .vBox .vUtil a {
  display: inline-block;
  width: 35px;
  height: 35px;
  text-indent: -9999px;
}
#vTelephone .vBox .vUtil ul {
  position: absolute;
  left: 0;
  bottom: 4px;
}
#vTelephone .vBox .vUtil ul li {
  display: block;
  background: url('/images/bg_vutil_li.png') center bottom no-repeat;
  display: flex;
  justify-content: center;
  width: 35px;
  height: 35px;
  align-items: center;
}
#vTelephone .vBox .vUtil ul li:last-child {
  background: url('');
}
#vTelephone .vBox .vUtil ul li a.draw {
  background: url('/images/btn_vutil_draw.png') left top no-repeat;
}
#vTelephone .vBox .vUtil ul li a.camera {
  background: url('/images/btn_vutil_camera.png') left top no-repeat;
}
#vTelephone .vBox .vUtil ul li a.setting {
  background: url('/images/btn_vutil_setting.png') left top no-repeat;
}
#vTelephone .expandBtn {
  position: absolute;
  right: 0;
  top: 5px;
  z-index: 10;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#vTelephone .expandBtn address {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}
#vTelephone .expandBtn.on {
  position: relative;
  top: 0;
  width: 100%;
  margin: 80px 0 15px;
  text-align: right;
}
#vTelephone .expandBtn.on a {
  background: url('/images/btn_vutil_expand_on.png') left top no-repeat;
}

/* expand */
#chatContent .chattingBox.expandExe {
  border-radius: 10px;
}
#vTelephone.expandExe {
  right: auto;
  left: 0;
  width: 100%;
  border-radius: 0;
  z-index: 10;
}
#vTelephone.expandExe .vBox {
  position: relative;
  width: 48%;
  border-radius: 20px;
}
#vTelephone.expandExe .vBox:nth-child(1) {
  float: left;
}
#vTelephone.expandExe .vBox:nth-child(2) {
  float: right;
}
#vTelephone.expandExe .vBox .vUtil {
  right: 10px;
  background: none;
}
#vTelephone.expandExe .vBox .vUtil ul {
  bottom: 0;
}
#vTelephone.expandExe .vBox .vUtil ul li {
  background: url('') #4c4c4c;
  border-radius: 100%;
  margin: 0 0 10px 0;
}
#vTelephone.expandExe .vBox .vUtil ul li a {
}
#vTelephone.expandExe .vInner {
  margin: 0 0 0 20px;
}
#vTelephone.expandExe .vInner:after {
  content: '';
  display: block;
  clear: both;
}

/* select */
span.searchStyleSelectBox {
  width: 100%;
  height: 35px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  background: url('/images/bg_select_style.png') right center #fff no-repeat;
  border: 1px #ccc solid;
  border-radius: 3px;
  box-sizing: border-box;
}
.searchStyleSelectBoxInner {
  width: 100%;
  font-size: 13px;
  color: #000;
  line-height: 33px;
  padding: 0 36px 0 12px;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
}

/* mCustomScrollbar */
.mCustomScrollbar {
  -ms-touch-action: pinch-zoom;
  touch-action: pinch-zoom; /* direct pointer events to js */
}
.mCustomScrollbar.mCS_no_scrollbar,
.mCustomScrollbar.mCS_touch_action {
  -ms-touch-action: auto;
  touch-action: auto;
}
.mCustomScrollBox {
  /* contains plugin's markup */
  position: relative;
  overflow: hidden;
  height: 100%;
  max-width: 100%;
  outline: none;
  direction: ltr;
}
.mCSB_container {
  /* contains the original content */
  overflow: hidden;
  width: auto;
  height: auto;
}
.mCSB_inside > .mCSB_container {
  margin-right: 0;
}
.mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
  margin-right: 0;
} /* non-visible scrollbar */
.mCS-dir-rtl > .mCSB_inside > .mCSB_container {
  /* RTL direction/left-side scrollbar */
  margin-right: 0;
  margin-left: 30px;
}
.mCS-dir-rtl > .mCSB_inside > .mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
  margin-left: 0;
} /* RTL direction/left-side scrollbar */
.mCSB_scrollTools {
  /* contains scrollbar markup (draggable element, dragger rail, buttons etc.) */
  position: absolute;
  width: 16px;
  height: auto;
  left: auto;
  top: 0;
  right: 0;
  bottom: 0;
}
.mCSB_outside + .mCSB_scrollTools {
  right: -26px;
} /* scrollbar position: outside */
.mCS-dir-rtl > .mCSB_inside > .mCSB_scrollTools,
.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools {
  /* RTL direction/left-side scrollbar */
  right: auto;
  left: 0;
}
.mCS-dir-rtl > .mCSB_outside + .mCSB_scrollTools {
  left: -26px;
} /* RTL direction/left-side scrollbar (scrollbar position: outside) */
.mCSB_scrollTools .mCSB_draggerContainer {
  /* contains the draggable element and dragger rail markup */
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: auto;
}
.mCSB_scrollTools a + .mCSB_draggerContainer {
  margin: 20px 0;
}
.mCSB_scrollTools .mCSB_draggerRail {
  width: 4px;
  padding: 0 2px;
  height: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
}
.mCSB_scrollTools .mCSB_dragger {
  /* the draggable element */
  cursor: pointer;
  width: 100%;
  height: 30px;
  z-index: 1;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  /* the dragger element */
  position: relative;
  width: 4px;
  height: 100%;
  margin: 0 auto;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  text-align: center;
}
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand
  .mCSB_dragger.mCSB_dragger_onDrag_expanded
  .mCSB_dragger_bar,
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand
  .mCSB_draggerContainer:hover
  .mCSB_dragger
  .mCSB_dragger_bar {
  width: 12px; /* auto-expanded scrollbar */
}
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand
  .mCSB_dragger.mCSB_dragger_onDrag_expanded
  + .mCSB_draggerRail,
.mCSB_scrollTools_vertical.mCSB_scrollTools_onDrag_expand
  .mCSB_draggerContainer:hover
  .mCSB_draggerRail {
  width: 8px; /* auto-expanded scrollbar */
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown {
  display: block;
  position: absolute;
  height: 20px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  cursor: pointer;
}
.mCSB_scrollTools .mCSB_buttonDown {
  bottom: 0;
}

/*dark (dark colored scrollbar)*/
.mCS-dark > .mCSB_scrollTools .mCSB_draggerRail {
  background: #ddd;
}
.mCS-dark > .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: #000;
}
.mCS-dark > .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background: #ee6b23;
}
.mCS-dark > .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCS-dark
  > .mCSB_scrollTools
  .mCSB_dragger.mCSB_dragger_onDrag
  .mCSB_dragger_bar {
  background: #fbc61e;
}
.mCS-dark > .mCSB_scrollTools .mCSB_buttonUp {
  background-position: -80px 0;
}
.mCS-dark > .mCSB_scrollTools .mCSB_buttonDown {
  background-position: -80px -20px;
}
.mCS-dark > .mCSB_scrollTools .mCSB_buttonLeft {
  background-position: -80px -40px;
}
.mCS-dark > .mCSB_scrollTools .mCSB_buttonRight {
  background-position: -80px -56px;
}

button {
  background-color: Transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;
}

/** white board의 text */
.text-tool-accept {
  position: absolute;
  outline: none;
  padding: 10px;
  background: white;
  border: 5px solid black;
  z-index: 100;
  opacity: 0.8;
}
