@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: whitesmoke;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
@media (max-width: 480px) {
    html { 
        cursor: pointer;
    }
    [contenteditable="true"] {
        -webkit-user-select: auto;
    }
    .docent-element-discussion-send {
        /*top: 1px; right: 1px; height: 36px; line-height: 26px;*/
    }
    [class^="docent"]:before {
        -webkit-text-fill-color: currentColor;
    }
}
.no-cursor {
    cursor: none !important;
} 
.body {
    width: 100%;
    max-width: 900px;
    padding: 50px 60px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin: 0 auto;
    background-color: white;
    font-family: Lato;
    font-size: 15px;
    line-height: 180%;
    color: #333;
    position: relative;
    min-height: 100vh;
}
    h1 {
        font-size: 38px;
        font-weight: 400;
        line-height: 125%;
        text-align: center;
        margin: 0 auto 50px;
        width: 480px;
        max-width: 100%;
    }
    .wrapper {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }
        .header-image {
            width: 100%;
        }
        .credit-caption {
            font-size: 12px;
            font-family: Arial, sans-serif;
            color: #888;
            line-height: 125%;
            margin-bottom: 32px;
        }
            .caption {
                margin-top: 0;
                margin-bottom: 8px;
                line-height: 150%;
            }
            .credit {
                font-size: 11px;
                font-style: italic;
                color: #aaa;
            }
    .docent-logo {
        height: 16px;
        width: 16px;
        transform: translateY(2px);
    }
    .copyright {
        text-align: right;
        font-family: Arial, sans-serif;
        font-size: 12px;
        color: #888;
    }

.docent-sidebar-toggle, .docent-feedback, .docent-element-sticky-video, .docent-loading {
    display: none !important;
}
#cursor {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: scale(0.5) translate(-50%, -50%);
    -webkit-transform: scale(0.5) translate(-50%, -50%);
    pointer-events: none;
}
#cursor.default {
    transform: scale(0.5) translate(-50%, -50%) translate(-6px, -8px);
    -webkit-transform: scale(0.5) translate(-50%, -50%) translate(-6px, -8px);   
}
#cursor.pointer {
    transform: scale(0.5) translate(-50%, -50%) translate(-12px, -2px);
    -webkit-transform: scale(0.5) translate(-50%, -50%) translate(-12px, -2px);   
}
#cursor.select {
    transform: scale(0.5) translate(-50%, -50%) translate(-10px, -20px);
    -webkit-transform: scale(0.5) translate(-50%, -50%) translate(-10px, -20px);
}
@media (max-width: 720px) {
    .body {
        padding-right: 40px;
    }
}

#contextmenu {
    display: none;
    position: absolute;
    top: 300px;
    left: 500px;
    height: auto;
    width: 190px;
    background-color: #f0f0f0;
    border-radius: 8px;
    border: 1px solid #bbb;
    box-shadow: 0 4px 8px -2px rgba(0,0,0,0.5);
    font-family: sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 6px 0;
}
#contextmenu > p {
    margin: 0;
    padding: 2px 20px;
    cursor: default;
}
#contextmenu > p:hover,
#contextmenu > p.hover {
    background-color: #4E9CFB;
    color: #fff;
}
#contextmenu > p.disabled {
    color: #bbb;
    pointer-events: none;
}
hr {
    margin: 5px 0;
    border: 1px solid #ddd;
}
#contextmenu > p.submenu {
    position: relative;
}
#contextmenu > p.submenu:after {
    content: '\f0da';
    position: absolute;
    right: 16px;
    font-family: FontAwesome;
    top: 4px;
}

#auto-insert-switch, #reset-demo {
    position: fixed;
    top: 0;
    right: 0;
    height: 40px;
    width: 120px;
    background-color: white;
    border-radius: 0 0 0 4px;
    border: 1px solid #ccc;
    border-width: 0 0 1px 1px;
    outline: 0;
    font-family: Lato;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
}
    #auto-insert-switch:after {
        content: 'ON';
        color: #17CF45;
    }
    #auto-insert-switch.off:after {
        content: 'OFF';
        color: #E81A1A;
    }
#reset-demo {
    top: auto;
    bottom: 0;
    border-width: 1px 0 0 1px;
    border-radius: 4px 0 0 0;
}
