html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
}

#browser-box {
    display: block;
    position: fixed;
    inset: 3px;
    bottom: 30px;
    border: 1px solid white;
    background-color: white;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

#browser-frame {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    overflow: auto;
}

@media (max-width: 992px) {
    /*small devices*/
    body.sidebar #browser-box {
        display: none;
    }

    body.sidebar #comments-sidebar {
        left: 10px;
    }
}

@media (min-width: 993px) {
    /*large devices*/
    body.sidebar #browser-box {
        right: 400px;
    }

    body.sidebar #comments-sidebar {
        width: 380px;
    }
}

@media (hover: hover) and (min-width: 993px) {
    /*non-touch devices*/
    .touch-device {
        display: none;
    }

    .pointer-device {
        display: block;
    }
}

@media (hover: none), (max-width: 992px) {
    /*touch devices*/
    .touch-device {
        display: block;
    }

    .pointer-device {
        display: none;
    }
}

#comments-sidebar {
    position: absolute;
    right: 10px;
    top: 10px;
    bottom: 30px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

#comments-container {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 150px;
    overflow-y: auto;
}

.comment {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: white;
    position: relative;
    margin: 10px;
    margin-top: 15px;
    padding: 10px;
    font-size: 10pt;
}

#comments-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 10px;
    font-size: 17pt;
    padding: 10px;
    padding-left: 15px;
}

#comments-input-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    border: 1px solid #e0e0e0;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

#ts-display {
    position: absolute;
    font-weight: 200;
    top: 20px;
    left: 25px;
    font-size: 13pt;
    pointer-events: none;
    opacity: 0.6;
    color: white;
    background-color: black;
    padding: 3px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
}

.btn-floating-label {
    display: inline-block;
    margin-left: 4px;
    vertical-align: -3px;
    font-weight: 200;
    font-size: 12pt;
    pointer-events: none;
    opacity: 0.6;
    color: white;
    background-color: black;
    padding: 1px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
}

.btn-floating-label-vertical {
    white-space: nowrap;
    width: 100px;
    margin-left: -22px;
    margin-top: 7px;
}

#archived-ribbon {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 100px;
    height: 100px;
    z-index: 1;
    opacity: 0.7;
    pointer-events: none;
}

#archived-ribbon img {
    width: 100%;
}

#floating-action-btn-aw-ul {
    width: 800px;
}