body {
    margin: 0;
    padding: 0;
}

body.appendix-shown{
    overflow: hidden;
}

.appendix{
    display: block;
    background-color: rgba(0, 0, 0, 0);
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.55em;
    color: #263238;
    transition: background-color 0.3s ease-out 0s;
    overflow: hidden;
}

.appendix code{
    background-color: #fff;
    border-radius: 3px;
    padding: 0.1rem 0.2rem;
}

.appendix pre{
    padding: 0.5rem 1rem;
    border-radius: 3px;
    background-color: #fff;
}

.appendix pre code{
    font-size: 12px;
    padding: 0;
    border-radius: 0;
}

.appendix.visible{
    top: 0;
    display: block;
    background-color: rgba(0, 0, 0, 0.75);
}

.appendix .popup{
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    box-shadow: 0 0 16px #111;
    overflow: auto;
    transition: left 0.3s ease-out 0.15s;
}

.appendix.visible .popup{
    left: 0;
}

.appendix .popup-content{
    margin: 2rem;
}

.appendix .close-btn{
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: block;
    font-size: 20px;
    font-weight: bold;
    width: 1rem;
    height: 1rem;
    color: #666;
    cursor: pointer;
}

.appendix .close-btn:hover{
    color: #111;
}

.appendix h1,
.appendix h2,
.appendix h3,
.appendix h4{
    font-family: Montserrat, sans-serif;
    font-size: 1.57143em;
    font-weight: 400;
    margin-bottom: 0.9em;
}

.appendix h5,
.appendix h6{
    font-family: Montserrat, sans-serif;
    font-size: 1.17143em;
    font-weight: 400;
    margin-bottom: 0.9em;
}

.appendix ul,
.appendix ol{
    padding-left: 0;
}

.appendix ul li,
.appendix ol li{
    margin-bottom: 0.5rem;
}

.appendix table{
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.appendix table thead th,
.appendix table thead td{
    color: rgba(38, 50, 56, 0.5);
    font-weight: normal;
    text-transform: uppercase;
    font-size: 0.929em;
    font-family: Montserrat, sans-serif;
}

.appendix table td,
.appendix table th{
    padding: 0.35rem 0.45rem;
}

.appendix table thead tr:last-child{
    border-bottom: 1px solid rgba(38, 50, 56, 0.3);
}

.appendix table tbody tr{
    border-bottom: 1px solid rgba(38, 50, 56, 0.15);
}

.appendix table tbody tr:last-child{
    border-bottom: none;
}

.appendix .text-right{
    text-align: right;
}

.appendix .text-center{
    text-align: center;
}

@media screen and (min-width: 640px){
    
    .appendix .popup{
        width: 50%;
        border-right: 1px solid #333;
    }
    
    .appendix.visible .popup{
        left: 50%;
    }
    
}

@media screen and (min-width: 1024px){
    
    .appendix .popup{
        width: 33%;
    }
    
    .appendix.visible .popup{
        left: 67%;
    }
    
}

#build-version{
    background-color: rgba(0, 0, 0, 0.5);
    color: #ddd;
    font-size: 8px;
    line-height: 12px;
    font-family: monospace;
    padding: 2px 5px;
    position: fixed;
    z-index: 1000;
    bottom: 0;
    right: 0;
    display: block;
    text-align: right;
    text-transform: uppercase;
}