/* d_order.css */

#book {
     position: relative;
}

#book .right {
     position: absolute;
     width: 70%;
     padding: 0px 25px 25px 25px;
}
#book .right {
     left: 15%;
}

#reader {
     float: left;    
     border-radius: 10px;
     background-color: #109a5d;
     padding: 15px;
     border: 2px solid #000;
}
/*
#ReadMe {
     background: #ffffff;
     overflow: auto;
     height: 100%;
     border-radius: 10px;
     padding: 15px 50px 25px 50px;
}
*/
@media screen and (max-width: 899px) {

    h2 {
        font-size: 18px;
    }

/*
    #di_wrapper {
        height: auto;
    }
*/
/*
    #book {
        position: static;
    }
*/
/*
    #reader {
        height: auto;
    }

    #ReadMe {
        height: 100%;
    }
*/
    #book .right {
          left: 1%;
          width: 98%;
    }

/*
    .title {
        line-height: auto;
    }
*/
}

/*
:root {

  --nav-corner-width: 200px;

  --lang-btn-row-height: 40px;
  --lang-btn-height: 100%;
  --lang-btn-width: 40px;
  --lang-btn-color: none;
  --lang-btn-active-color: white;
  --lang-btn-down-color: grey;
  --lang-btn-fontsize: 16px;
  --lang-btn-text-color: white;
  --lang-btn-text-color-active: none;
  --close-btn-margin-right: 60px;

  --lang-btn-border-bottom-height: 1px;
  --lang-btn-border-bottom-style: solid;
  --lang-btn-border-color: white;

  --level-col-width: 40px;
  --level-btn-width: 100%;
  --level-btn-height: 40px;
  --level-btn-color: none;
  --level-btn-active-color: white;
  --level-btn-down-color: grey;
  --level-btn-fontsize: 16px;
  --level-btn-text-color: white;
  --level-btn-text-color-active: none;

  --tsp-window-max-width: 80vw;

  --container-window-max-width: calc(var(--tsp-window-max-width) + var(--level-col-width));

  --text-window-max-width: var(--tsp-window-max-width);

  --text-window-height: 600px;

  --window-border-top-height: 4px;
  --window-border-bottom-height: 5px;
  --window-border-left-width: 5px;
  --window-border-right-width: 5px;
  --window-border-color: white;
  --window-border-style: solid;
}

.dc_container_text {
  width: 100%; 
  max-width: var(--text-window-max-width); 
  height: var(--text-window-height);
  overflow-y: scroll;
  border-top: var(--window-border-top-height);
  border-bottom: var(--window-border-bottom-height);
  border-left: var(--window-border-left-width);
  border-right: var(--window-border-right-width);
  border-color: var(--window-border-color);
  border-style: var(--window-border-style);
  background-color: rgba(256, 256, 256, 0.8);
  text-align: left;
  font-family: sans-serif;
  padding: 5px 5px;
}

p {
  color: black;
}

.dc_flex-container-body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dc_flex-child-start {
  flex: 1;
}

.dc_text {
  margin-left: 5px;
  margin-right: 12px;
  line-height: 1.5;
}

@media screen and (max-width: 1450px) and (max-height: 850px) {

  :root {
    --text-window-height: 400px;
  }

}
*/
