
/* ---------------------------------------------------
    important more css
----------------------------------------------------- */

/* @import ""; */


/* ---------------------------------------------------
    Variables
----------------------------------------------------- */

:root {
    --white: #ffffff;
    --slightwhite: #fafafa;
    --black: #000000;
    --gray: #eeeeee;
    --linkcolor: #999999;
    --hovercolor: #00fc04;
    --visitedcolor: #000000;

    --graylight: #F8F8F8;
    --graysmoke: #F5F5F5;
    --graylightgray: #D3D3D3;
    --graydark: #808080;
    --graydarkest: #606060;
    --grayverydark: #585858;
    
    --pdgreen: #00fc04;
    --pdgreendark: #00b603;
    --pdgreenlight: #e6ffe6;
}

/* ---------------------------------------------------
    default
----------------------------------------------------- */

html, body {
    height: 100%; 
    overflow: hidden;
}

* {
    margin: 0px;
    cursor: default;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: var(--graydarkest);
    line-height: 1.8;
}

body {
    background: var(--white);
}

a {
    text-decoration: none;
}

* a, * a:link {
    color: var(--pdgreendark);
    background-color: var(--pdgreenlight);
    font-family: 'Space Mono', sans-serif;
    letter-spacing: -0.5px; 
}

* a:visited, a:visited {
    color: var(--pdgreendark);
}

* a:hover, a:hover {
    color: var(--pdgreenlight);
    background-color: var(--pdgreendark);
}

b, strong {
    font-size: 18px !important;
}

iframe {
    width: 92% !important; 
    border: 10px solid var(--black); 
}

.iframe {
    display: flex;
    align-items: center;
    justify-content: center;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed var(--graydark);
    margin: 40px 0;
}

.img-content {
   width: 100%;
}

.img-content-shrink {
   width: 40%;
}

/* ---------------------------------------------------
    container
----------------------------------------------------- */

.container {
    padding-top: 11px; 
    padding-right: 10px;
    position: absolute; 
    left: 270px; 
    height: 100%;
    overflow-y: scroll;
    overflow-x: none;
    scrollbar-color: var(--graydark) var(--white);
}

/* ---------------------------------------------------
    sidebar
----------------------------------------------------- */

.sidebar-header {
    padding: 10px;
    background: var(--grayverydark);
    font-size: 25px !important;
    color: var(--white); 
    line-height: 15px; 
    padding-bottom: 20px;
    height: 130px; 
}

.sidebar-headcontents {
    position: fixed;
    z-index: 1;
    top: 0px; 
    padding-top: 10px; 
    width: 260px;
}

.sidebar-download {
    position: fixed;
    left: 0px; 
    z-index: 1;
    width: 260px;
    top: 160px; 
}

.sidebar-header b {
    font-size: 25px !important;
    color: var(--white); 
}

.sidebar {
    position: fixed;
    z-index: 1;
    top: 0px; 
    overflow-y: none;
    overflow-x: none;
    width: 260px;
    height: 100%;
    background: var(--graydark);
    color: var(--white);
    scrollbar-color: var(--white) var(--graydark);
    line-height: normal; 
}


.sidebar-contents {
    position: absolute;
    z-index: 1;
    top: 240px; 
    overflow-y: scroll;
    overflow-x: none;
    width: 260px;
    max-height: 60%;
    background: var(--graydark);
    color: var(--white);
    scrollbar-color: var(--white) var(--graydark);
    line-height: normal; 
}

.sidebar-footer {
    position: fixed;
    z-index: 1;
    bottom: 0px; 
    overflow-y: none;
    overflow-x: none;
    width: 260px;
    height: 70px;
    background: var(--graydark);
    color: var(--white);
    scrollbar-color: var(--white) var(--graydark);
    line-height: normal; 
}

/* ---------------------------------------------------
    links
----------------------------------------------------- */

.download {
    background: var(--white);
    color: var(--grayverydark);
    margin: 10px; 
    border-radius: 5px;
    padding: 10px; 
    text-align: center;
    font-size: 20px; 
    font-weight: bold;
    list-style: none; 
}

.download:hover {
    background-color: var(--grayverydark);
    color: var(--white) !important;
}

.credit {
    background: var(--grayverydark);
    color: var(--white);
    margin: 10px; 
    border-radius: 5px;
    padding: 10px; 
    text-align: center;
    list-style: none; 
}

.credit:hover {
    color: var(--grayverydark) !important;
    background-color: var(--white);
}


/* ---------------------------------------------------
    sidebar formatting
----------------------------------------------------- */

.regular {
    padding: 10px; 
    color: var(--white);
    list-style: none;
}

.regular:hover {
    color: var(--graydark);
    background-color: var(--white);
}

.content-guts:before {
    content: '\21B4\a0\a0';
}

.content-guts {
    padding: 10px; 
    padding-left: 20px;
    color: var(--white);
    list-style: none;
}

.content-guts:hover {
    color: var(--graydark);
    background-color: var(--white);
}

.heading {
    font-size: 28px; 
    font-weight: bold; 
}

.heading-top {
    font-size: 40px; 
    font-weight: bold; 
}

.container-section {
    padding-bottom: 100px; 
}

.container-section-welcome, .container-section-welcome span {
    font-size: 40px; 
}

/* ---------------------------------------------------
    sidebar formatting - collapse
----------------------------------------------------- */

.collapse, .collapse a, .collapse a:link {
    background-color: var(--graydark); 
    color: var(--white) !important;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
}

.collapse:hover {
    background-color: var(--white);
    color: var(--graydark) !important;
}


.collapse:after {
    content: '+'; 
    float: right;
    margin-left: 5px;
    font-weight: bold; 
}

.active:after {
    content: "-"; 
}

.active, .collapse:active {
    background-color: var(--graydark);
    color: var(--white);
}

.content {
    display: none;
    overflow: hidden;
    background-color: var(--graydark);
}


/* ---------------------------------------------------
    sidebar formatting - expand
----------------------------------------------------- */

.expand, .expand a, .expand a:link {
    background-color: var(--graydark); 
    color: var(--white) !important;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
}

.expand:hover {
    background-color: var(--white);
    color: var(--graydark) !important;
}

.expand:after {
    content: '-'; 
    float: right;
    margin-left: 5px;
    font-weight: bold; 
}

.active2:after {
    content: '+'; 
}

/* ---------------------------------------------------
    sidebar formatting - active content highlight
----------------------------------------------------- */

#theactive {
    background: var(--grayverydark);
}

#theactive:before {
    content: '\2764\a0'; 
}

#theactive:hover {
    color: var(--grayverydark);
    background: var(--white);
}

/* ---------------------------------------------------
    pd icon
----------------------------------------------------- */

.pd-icon {
    height: 50px;
}

/* ---------------------------------------------------
    before
----------------------------------------------------- */

.before:after {
    content: '\25C0\a0\a0last';
    text-align: center; 
    position: fixed; 
    bottom: 0px;
    left: 260px; 
    background-color: var(--grayverydark);
    color: var(--white);
    width: 90px;
    height: 40px; 
    font-size: 22px !important; 
    z-index: 9;
}

/* ---------------------------------------------------
    after
----------------------------------------------------- */

.after:after {
    content: 'next\a0\a0\25B6';
    text-align: center; 
    position: fixed; 
    bottom: 0px;
    right: 0px; 
    background-color: var(--grayverydark);
    color: var(--white);
    width: 100px;
    height: 40px; 
    font-size: 22px !important; 
    z-index: 9;
    
}


/* ---------------------------------------------------
    patch link
----------------------------------------------------- */

.patch-link:before {
    content: 'Download Patch:\a0\a0';
    font-weight: bold; 
}


/* ---------------------------------------------------
    number lists
----------------------------------------------------- */

ol.number-list {
    list-style-type: decimal !important;
    font-size: 20px; 
}

/* ---------------------------------------------------
    make it wide
----------------------------------------------------- */

.make-it-wide {
    color: var(--white); 
}

/* ---------------------------------------------------
    more chapters to add
----------------------------------------------------- */

.more-chapters-to-add {
    font-size: 14px; 
    color: var(--black);
    background-color: var(--pdgreen);
    list-style: none; 
    padding: 10px; 
}


/* ---------------------------------------------------
    table
----------------------------------------------------- */

.table {
    border-collapse: collapse;
    width: 100%;
}

.table td, #table th {
    border: 1px solid var(--grayverydark);
    padding: 8px;
}

.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table tr:hover {
    background-color: #ddd;
}

.table th {
    padding: 8px;
    text-align: left;
    background-color: var(--graydark);
    color: white;
    border: 1px solid var(--grayverydark);
}

/* ---------------------------------------------------
    Keyboard shortcuts text
----------------------------------------------------- */

.keyshortcuts {
    color: var(--graydark);
    background-color: var(--gray);
    border: 1px solid var(--graydark);
    padding: 5px; 
    border-radius: 3px; 
}

/* ---------------------------------------------------
    audio file
----------------------------------------------------- */
.audio-text-wrapper {
    height: 0px; 
}

.audio-text {
    position: relative; 
    left: 270px !important; 
    top: -44px !important; 
    padding: 0px; 
    margin: 0px; 
    height: 0px; 
    min-height: 0px; 
    max-height: 0px; 
}

/* ---------------------------------------------------
    audio
----------------------------------------------------- */
    

.audio-wrapper {
  width: 260px;
    height: 40px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.audio-player {
  display: grid;
  grid-template-rows: 6px auto;
  overflow: hidden;
  height: 40px;
  width: 100%;
  background: #808080;
}

.timeline {
  background: #D3D3D3;
  width: 100%;
  position: relative;
  height: 5px;
}

.progress {
  background: #585858;
  width: 0%;
  height: 5px;
  transition: 0.25s;
  -webkit-transition: 0.25s;
}

.controls {
  display: block;
  align-items: center;
  justify-content: center;
}

.controls * {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
}

.play {
  position: relative;
  left: 0;
  top: 10px; 
  height: 0;
  width: 0;
  border: 7px solid #808080;
  border-left: 13px solid #D3D3D3;
}

.pause {
  position: relative;
  top: 10px; 
  height: 15px;
  width: 20px;
  margin-left: 0px;
  margin-top: -2px;
}

.pause:before {
  position: absolute;
  top: 0;
  left: 0px;
  background: #D3D3D3;
  content: "";
  height: 15px; /* */
  width: 3px; /* */
}

.pause:after {
  position: absolute;
  top: 0;
  right: 9px;
  background: #D3D3D3;
  content: "";
  height: 15px; /* */
  width: 3px; /* */
}
    
    .name {
      color: #000;
    position: relative; 
    display: flex; 
    top: -7px; 
    left: 100px; }

/* ---------------------------------------------------
    mobile
----------------------------------------------------- */
    
@media only screen and (max-width: 600px) {
    * {
        font-size: 15px !important;
    }
    
    .heading {
        font-size: 18px !important; 
    }
    
    .heading-top {
    font-size: 28px !important; 
    }
    
    .container-section-welcome, .container-section-welcome span {
    font-size: 28px !important; 
    }
    .pd-icon {
        height: 30px;
    }
    .container {
        left: 170px; 
    }

    .sidebar, .sidebar-contents, .sidebar-download, .sidebar-footer {
        width: 160px;
    }  
    
    .sidebar-contents {
        top: 170px;
    }
    
    .sidebar-header,.sidebar-headcontents {
        height: 90px !important;
    }   
    
    .sidebar-download {
        top: 110px !important;
    }    
    
    .sidebar-footer {
        height: 45px;
    }
    
    .sidebar-header {
        padding: 5px !important;
        font-size: 15px !important;
        line-height: 10px !important; 
        padding-bottom: 12px !important;
    }

    .sidebar-header b {
        font-size: 15px !important;
   }
    
    .download {
        padding: 5px !important; 
        font-size: 13px !important; 
    }

    .credit {
        padding: 5px !important; 
        font-size: 10px !important;
    }
    
    .regular {
        font-size: 15px !important;
        padding: 5px !important; 
    }

    .content-guts {
        font-size: 15px !important;
        padding: 5px !important; 
    }

    .collapse {
        font-size: 15px !important;
        padding: 5px !important; 

    }

    .expand {
        font-size: 15px !important;
        padding: 5px !important; 

    }
    
    .before:after {
        content: '\a0\25C0\a0';
        text-align: left; 
        position: fixed; 
        bottom: 0px;
        left: 160px; 
        background-color: var(--grayverydark);
        color: var(--white);
        width: 35px;
        height: 40px; 
        font-size: 22px !important; 
        z-index: 9;
    }
    
    .after:after {
        content: '\a0\25B6\a0';
        text-align: right; 
        position: fixed; 
        bottom: 0px;
        right: 0px; 
        background-color: var(--grayverydark);
        color: var(--white);
        width: 35px;
        height: 40px; 
        font-size: 22px !important; 
        z-index: 9;
    }
    
    .more-chapters-to-add {
        font-size: 10px !important; 
    }
    

    .img-content-shrink {
       width: 100%;
    }
    
    b, strong {
    font-size: 16px !important;
    }

    audio {
        width: 160px; 
    }
    .audio-text-wrapper {
    height: 35px; 
}

    .audio-text {
        display: flex; 
        top: 0px !important; 
        left: 0px !important; 
        margin-bottom: 10px; 
    }
    .audio-wrapper {
  width: 80px;
}
    
}
