html, body, * {
    box-sizing: border-box;
}

html {
    background: #222;
}

#main-container {
    display: none;
}

#topbar {
    background: #191919;
    height: 40px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#topbar img {
    height: 20px;
    float: right;
    margin: 10px;
}

#trigger {
    background: #191919;
    border: 0;
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    padding-top: 4px;
}

.slider-info-save {
    display: none;
}

#story {
    background: #191919;
    border: 0;
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 0;
    left: 40px;
    width: 40px;
    height: 40px;
    padding-top: 4px;
}



#help {
    background: #191919;
    border: 0;
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 0;
    left: 80px;
    width: 40px;
    height: 40px;
    padding-top: 4px;
}

#charactersheet {
    background: #191919;
    border: 0;
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 0;
    left: 120px;
    width: 40px;
    height: 40px;
    padding-top: 4px;
}

#inventory {
    background: #191919;
    border: 0;
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 0;
    left: 160px;
    width: 40px;
    height: 40px;
    padding-top: 4px;
}

#history {
    background: #191919;
    border: 0;
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 0;
    left: 200px;
    width: 40px;
    height: 40px;
    padding-top: 4px;
}

#story img, #trigger img, #help img, #charactersheet img, #inventory img, #history img {
    margin: 0;
    outline: none;
}

#story, #trigger, #help, #charactersheet, #inventory, #history {
    z-index: 2000;
}

#help, #charactersheet, #inventory, #history {
    filter: grayscale(100%);
    display: none;
}

#slider {
    display: none;
    padding-top: 60px;
    position: fixed;
    width: 400px;
    height: 100%;
    top: 0px;
    left: 0px;
    background: #191919;
    overflow: scroll;
}

.slider-menu-panel {
    color: #ddd;
    padding: 20px;
    margin: 20px;
    background: #151515;
    border: solid 1px #777;
}

#save-link img {
    margin: 0px;
}

#home {
    border: 0;
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
}

.ql-align-center {
    text-align: center;
}

.ql-align-right {
    text-align: right;
}

.hide {
    display: none !important;
}


/* Dialog */

.pointy {
    cursor: pointer;
}





/* Dice */

#dice-container {
    font-family: 'Orelega One', cursive;
    font-size: 20px;
    text-align: center;
    clear: both;
    border: solid 2px #151515;
    border-radius: 5px;
    padding: 8px;
    background: #151515;
    width: 360px;
    display: inherit;
    margin: 40px auto 0px auto;
}

#dice-images {
    width: 300px;
    margin: 20px auto 0px auto;
    text-align: center;
}

.button {
    color: #eee;
    width: 50px;
    height: 65px;
    padding-top: 3px;
    float: left;
    background: #3b3a3a;
    border: solid 3px #151515;
    border-radius: 5px;
    text-align: center;
      top: 50%;
      cursor: pointer;
}

#d4, #d6, #d8 {
    width: 80px;
}

#d10, #d12, #d20, #d100 {
    width: 120px;
}

#count-up, #count-down, #adjustment-up, #adjustment-down {
    background: #2d2d2d;
    color: #bdc509;
    font-size: 35px;
    padding: 11px;
    height: 65px;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

#count, #adjustment {
    color: #000;
    background: #bdc509;
    height: 65px;
    padding: 17px 0px;
    font-size: 25px;
}

.dice-button {
    width: 55px;
    margin: 0;
}

.dice-colour {
    width: 100px;
    clear: both;
    cursor: pointer;
}

.dice {
    width: 100px;
}

#dice-total {
    text-align: center;
    font-size: 30px;
    color: #ddd;
    height: 40px;
}

#dice-label-container {
    padding: 20px;
}

.dice-label-button {
    padding: 10px 15px;
    color: #eee;
    background: #151515;
    cursor: pointer;
}

.dice-rolled-container {
    width: 300px;
    margin: auto;
}

.dice-rolled-holder {
    display: inline-block;
}

.consumable {
    cursor: pointer;
}

@media only screen and (max-width: 700px) {

    #read-container {
        width: 100% !important;
        margin: 40px auto;
        padding: 20px;
    }
}