html, body {
  font-family: 'Bodoni Std', 'Didot HTF 06 Light', 'Garamond Premier Pro', 'Libre Baskerville', serif;
  letter-spacing: 0.05em;
  padding: 0px;
  margin: 0px;
  height: 100%;
  text-align: justify;
  font-size: 21px;
  transition: background-color 0.5s, color 0.5s;
}

.lite {
  background: #fdfdfd;
  color: #000;
}

.mid {
  background: #808080;
}

.dark {
  background: #111111;
  color: #fafafa;
}

#dimmer {
  position: fixed;
  display: none;
  background: rgba(32,32,32,0.5);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2500;
  mix-blend-mode: darken;
}

.blur {
   color: transparent;
  text-shadow: rgba(128, 128, 128, 0.5) 0px 0px 2px; 
}

*:focus {
  outline: none;
}

p {
  letter-spacing: 0.05em;
}

sup {
  font-size: 0.65em;
}

h1, h2, h3, h4, h5, h6 {
  margin:0;
}

h1 {
  font-family: 'Brown';
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: bold;
  font-size: 2.5em;
}

h2 {
  font-family: 'Brown';
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;  
}

h3 {
  font-family: 'Brown';
  font-size: 1.5em;
  font-weight: inherit;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;  
}

h4 {
  font-family: 'Bodoni Std';
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.5em;
  text-align: center;
  text-transform: uppercase;  
}

h5 {
  font-family: 'Bodoni Std';
  font-size: 1em;
  font-weight: normal;
  text-align: center;
  letter-spacing: 0.25em;
}

h6 {
  font-family: 'Brown';
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 0.1em;
  display: inline;
}

blockquote {
  margin-left: 2em;
  margin-right: 2em;
}

aside ol, aside li {
  font-size: 80%;
}

#dialog {
  font-family: 'Roboto', sans-serif;
  display: none;
  position: fixed;
  width: 50%;
  padding: 25px;
  z-index: 3000;
  background: #fdfdfd;
  color: #111111;
  border: 1px solid rgba(128,128,128,0.25);
  border-radius: 0px 0px 4px 4px;
  box-shadow: 0px 5px 20px -10px rgba(0,0,0,0.5);
  margin: auto;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  max-height: 50%;
  overflow: auto;        
}

#contents {
  font-family: 'Roboto', sans-serif;
  font-size: 0.6em;
  display: none;
  position: fixed;
  width: 50%;
  padding: 25px;
  z-index: 3000;
  background: #fdfdfd;
  color: #111111;
  border: 1px solid rgba(128,128,128,0.25);
  border-radius: 4px 4px 4px 4px;
  box-shadow: 0px 5px 20px -20px rgba(0,0,0,0.5);
  margin: auto;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  max-height: 50%;
  overflow: auto;        
}

#timer_bottom {
  left:0;
  height: 5px;
  width: 100%;
  background: #808080;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100px;
}

#contents span {
  font-size: 0.5em
}

#R_controls {
  position: fixed;
  top: 0px;
  z-index: 9;
  width: 20px;
  right: -40px;
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

#L_controls {
  position: fixed;
  top: 0px;
  z-index: 9;
  width: 20px;
  left: -40px;
  padding-top: 10px;
  padding-right: 20px;
  padding-left: 20px;
}

#dialog ul {
  list-style-type: none;
}

.article_btn {
}

#add_L, #add_R {
  margin-top: 20px;
}

.controls img {
  margin-bottom: 10px;
}

.pane_L {
  padding: 10px;
  padding-left: 100px;
  padding-right: 25px;
  overflow-y: scroll;
  overflow-x: hidden;
  direction: rtl;
}

.pane_R {
  padding: 10px;
  padding-left: 25px;
  padding-right: 100px;
  overflow-x: hidden;
  overflow-y: scroll;
}

.editor {
  direction: ltr;
}

#bubble {
  display: none;
  position: absolute;
  z-index: 11;
  border: 1px solid rgba(128,128,128,0.25);
  position: fixed;
  background: rgba(128,128,128,0.85);
  padding: 8px;
  z-index: 3000;
  box-shadow: 0px 20px 100px -20px rgba(128,128,128,0.5);
  border-radius: 3px 3px 3px 3px;
  overflow: auto;        
  color:  rgba(253,253,253,1);
}

#bubble button {
  background: rgba(128,128,128,0);
  border: 0px;
  border-right: 1px solid rgba(253,253,253,0.75);  
  color:  rgba(253,253,253,1);
  padding-left: 3px;
}


.divider_vertical,
.divider_horizontal {
  background-color: inherit;
  transition: box-shadow 0.5s, background-color 0.5s;
}

.divider_vertical.dragged {
}

.divider_horizontal.dragged {
  border-top: 1px solid rgba(128,128,128,0.75);
}

.divider_vertical {
  width: 2px;
  cursor: ew-resize;
}

.lite .divider_horizontal {
  background-color: #fdfdfd;
  box-shadow: 0px 0px 2px 8px rgba(253,253,253,1);
}

.dark .divider_horizontal {
  background-color: #111111;
  box-shadow: 0px 0px 2px 8px rgba(17,17,17,1);
}

.divider_horizontal {
  margin-left: 20px;
  margin-right: 20px;
  height: 2px;
  border-top: 1px solid rgba(128,128,128,0.25);
  cursor: ns-resize;
}

.divider_horizontal:hover {
  border-top: 1px solid rgba(128,128,128,0.5);
}

.divider_vertical:after,
.divider_horizontal:after,
.divider_vertical:before,
.divider_horizontal:before {
  background: transparent;
  opacity: 0;
  position: absolute;
  display: block;
  content: '';
}
.divider_vertical:after,
.divider_vertical:before {
  top: 0;
  bottom: 0;
  width: 4px;
}
.divider_vertical:after {
  left: 100%;
}
.divider_vertical:before {
  right: 100%;
}
.divider_horizontal:after,
.divider_horizontal:before {
  left: 0;
  right: 0;
  height: 4px;
}
.divider_horizontal:after {
  top: 100%;
}
.divider_horizontal:before {
  bottom: 100%;
}

/* SPINNING LOGO */
.logo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  z-index: 300000;
}

.spinning {
  animation-name: ckw;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  transform-origin: 50% 50%;
  display: inline-block;
  animation-timing-function: linear;
}

#pw {
  position: fixed;
  width: 100%;
  top: 50%;
  margin-top: 150px;
  letter-spacing: 10px;
  outline: 0;
  font-size: 200%;
  background-color: inherit;
  text-align: center;
  color : transparent;
  text-shadow : 0 0 0 #fafafa;
  border: 0px solid #000;
  letter-spacing: 10px;
  outline: 0;
  padding-left: 8px;
}

.systemText {
  font-family: 'Brown';
  text-transform: uppercase;
  font-size: 0.5em;
}

#comment {
  font-size: 70%;
  position: absolute;
	padding: 10px;
	z-index: 2000;
  background-color: inherit;
  min-width: 50px;
  max-width: 250px;
  display: none;
  border: 1px solid rgba(128,128,128,0.25);
  border-radius: 3px;
  box-shadow: 0px 20px 100px -20px rgba(128,128,128,0.5);
}

.ghosted {
  color: rgba(128,128,128,0.25);
}

#comment button {
  margin: 4px;
}

.red.circle { background-color: rgba( 204, 0, 0, 1 ); }
.blue.circle { background-color: rgba( 0, 153, 255, 1 ); }
.green.circle { background-color: rgba( 119, 170, 0, 1 ); }
.yellow.circle { background-color: rgba( 255, 204, 51, 1 ); }

mark {
  color: inherit;
  background-color: inherit;
}

section:hover mark.red { background-color: rgba( 204, 0, 0, 0.4 ); }
section:hover mark.blue { background-color: rgba( 0, 153, 255, 0.4 ); }
section:hover mark.green { background-color: rgba( 119, 170, 0, 0.4 ); }
section:hover mark.yellow { background-color: rgba( 255, 204, 51, 0.4 ); }

#colorButtons {
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
}

.circle {
  cursor: pointer;
  width: 12px;
  height: 12px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border: 0px;
}

#dialog input {
  border: 0px;
  border-bottom: 1px dashed #808080;
  background-color: inherit;
}

@keyframes ckw {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: inherit; }
::-webkit-scrollbar-thumb { background: #808080; }
::-webkit-scrollbar-thumb:hover { background: #808080; }
::-webkit-scrollbar-thumb:active { background: #808080;}




.dd {
  position:relative;
  display:block;
  margin:0;
  padding:0;
  max-width:600px;
  list-style:none;
  line-height:20px
}

.dd-list {
  display:block;
  position:relative;
  margin:0;
  padding:0;
  list-style:none
}

.dd-list .dd-list {
  padding-left:30px
}

.dd-empty,.dd-item,.dd-placeholder {
  display:block;
  position:relative;
  margin:0;
  padding:0;
  min-height:20px;
  line-height:20px
}

.dd-handle {
  display:block;
  height:30px;
  margin:5px 0;
  padding:5px 10px;
  text-decoration:none;
  box-sizing:border-box;
}

.dd-handle:hover{
}

.dd-item>button{
  position:relative;
  cursor:pointer;
  float:left;
  width:25px;
  height:20px;
  margin:5px 0;
  padding:0;
  text-indent:100%;
  white-space:nowrap;
  overflow:hidden;
  border:0;
  background:0 0;
  font-size:12px;
  line-height:1;
  text-align:center;
  font-weight:700
}
  
.dd-item>button:before{
  display:block;
  position:absolute;
  width:100%;
  text-align:center;
  text-indent:0
}

.dd-item>button.dd-expand:before{
  content:'+'
}

.dd-item>button.dd-collapse:before{
  content:'-'
}

.dd-expand{
  display:none
}

.dd-collapsed .dd-collapse,.dd-collapsed .dd-list{
  display:none
}

.dd-collapsed .dd-expand{
  display:block
}

.dd-empty,.dd-placeholder{
  margin:5px 0;
  padding:0;
  min-height:30px;
  background:#f2fbff;
  border:1px dashed #b6bcbf;
  box-sizing:border-box;
  -moz-box-sizing:border-box
}

.dd-empty{
  border:1px dashed #bbb;
  min-height:100px;
  background-color:#e5e5e5;
  background-size:60px 60px;
  background-position:0 0,30px 30px;
  display:none;
}

.dd-dragel{
  position:absolute;
  pointer-events:none;
  z-index:9999
}

.dd-dragel>.dd-item .dd-handle{
  margin-top:0
}

.dd-dragel .dd-handle{
  box-shadow:2px 4px 6px 0 rgba(0,0,0,.1)
}

.dd-nochildren .dd-placeholder{
  display:none
}

.dd3-content {
  display: block;
  height: 30px;
  margin: 5px 0;
  padding: 5px 10px 5px 40px;
  color: #111111;
  text-decoration: none;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.dd3-content:hover {
}

.dd-dragel > .dd3-item > .dd3-content {
  margin: 0;
}

.dd3-item > button {
  margin-left: 30px;
}

.dd3-handle {
  position: absolute;
  margin: 0;
  left: 0;
  top: 0;
  cursor: pointer;
  width: 30px;
  text-indent: 30px;
  white-space: nowrap;
  overflow: hidden;
  color: #111111;
  opacity: 0;
}

.dd3-handle:before {
  content: 'E;
  display: block;
  position: absolute;
  left: 0;
  top: 3px;
  width: 100%;
  text-align: center;
  text-indent: 0;
  font-size: 20px;
  font-weight: normal;
}

.dd3-handle:hover {
  opacity: 1;
}

.article_btn {
  cursor: default;
  display: inline-block;
}

.chapter_btn {
  text-decoration: underline;
  cursor: default;
  display: inline-block;
}



.timer-group {
  height: 5px;
  margin: 0;
  bottom: 8px;
  leftt: 0px;
  position: fixed;
  width: 100%;
  z-index: 9000;
}

.timer_session {
  position: absolute;
  background:#808080;
  left: 0px;
  display: block;
}

.timer {
  border-radius: 50%;
  height: 100px;
  overflow: hidden;
  position: absolute;
  width: 100px;
}

.timer:after {
  background: #fdfdfd;
  border-radius: 50%;
  content: "";
  display: block;
  height: 8px;
  left: 1px;
  position: absolute;
  width: 8px;
  top: 1px;
}

.timer .hand {
  float: left;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 50%;
}

.timer .hand span {
  border: 50px solid rgba(0, 255, 255, .4);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  display: block;
  height: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(225deg);
  width: 0;
}

.timer .hand:first-child {
  transform: rotate(180deg);
}

.timer .hand span {
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.timer .hand:first-child span {
  animation-name: spin1;
}

.timer .hand:last-child span {
  animation-name: spin2; 
}

.timer.hour {
  background: rgba(128, 128, 128, .05);
  height: 80px;
  left: 0px;
  width: 80px;
  top: 0px;
}

.timer.hour .hand span {
  border-top-color: rgba(0, 204, 0, .2);
  border-right-color: rgba(0, 204, 0, .2);
  border-width: 40px;
}

.timer.hour:after {
  height: 76px;
  left: 2px;
  width: 76px;
  top: 2px;
}

.timer.minute {
  background: rgba(128, 128, 128, .05);
  height: 70px;
  left: 5px;
  width: 70px;
  top: 5px;
}

.timer.minute .hand span {
  animation-duration: 1800s;
  border-top-color: rgba(204, 0, 0, .2);
  border-right-color: rgba(204, 0, 0, .2);
  border-width: 35px;
}

.timer.minute:after {
  height: 30px;
  left: 20px;
  width: 30px;
  top: 20px;
}

@keyframes spin1 {
  0% { transform: rotate(225deg); }
  40% { transform: rotate(225deg); }
  80% { transform: rotate(405deg); }
  90% { transform: rotate(405deg); }
  100% { transform: rotate(585deg); }
}

@keyframes spin2 {
  0% { transform: rotate(225deg); }
  40% { transform: rotate(405deg); }
  80% { transform: rotate(405deg); }
  90% { transform: rotate(585deg); }
  100% { transform: rotate(585deg); }
}