/* Reset Styles
/*---------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1;
    color: black;
    background: white;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
    display: block;
}

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button {
    cursor: pointer;
}

/* make buttons play nice in IE:
		www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {
    width: auto;
    overflow: visible;
}

/* Sharper Thumbnails */
img {
    -ms-interpolation-mode: bicubic;
}

/* Input Styles
/*---------------------------------------------*/
input,
textarea,
select {
    font: 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #55606E;
    background: #FFF;
    border: 1px solid #C2C6CB;
    height: 40px;
    line-height: 1.2;
    margin: 0 0 10px 0;
    padding: 0 10px;
    outline: 0;
    box-sizing: border-box;
    border-radius: 3px;
    box-shadow: inset 0 1px 1px 0 rgba(0, 0, 0, 0.05);
}

input:focus,
textarea:focus,
select:focus {
    border-color: #8B8F95;
}

label {
    color: #555;
}

/* Main Styles
/*---------------------------------------------*/
html,
body {
    height: 100%;
}

body {
    font: 14px/1.8em 'Open Sans', Helvetica, Arial, Helvetica, sans-serif;
    color: #222;
    background: #2EAE9B;
    overflow: hidden;
    box-sizing: border-box;
}

a, a:visited {
    color: #909396;
    text-decoration: none;
    transition: all 0.2s linear;
}

a:hover, a:active {
    color: #21272d;
    text-decoration: none;
}

code,
pre {
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

code {
    font-size: 87.5%;
    color: #fffb00;
    word-break: break-word;
}

pre {
    display: block;
    font-size: 87.5%;
    color: #212529;
    text-align: left;
}

/* Sidebar Styles
/*---------------------------------------------*/
#sidebar {
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 250px;
    height: 100%;
    overflow: auto;
    border-right: 1px solid #DCE0E3;
}

#sidebar .btn {
    display: inline-block;
    line-height: 20px;
    padding: 1px 5px;
    border: 1px solid #9EA1A5;
    background: #f9f9fa;
    background: linear-gradient(to bottom, #ffffff 1%, #f9f9fa 20%, #dee0e2 100%);
    border-radius: 3px;
}

#sidebar .btn:hover {
    color: #111;
    border-color: #111;
}

#sidebar .btn:active {
    position: relative;
    top: 1px;
}

#sidebar .controls {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 230px;
    line-height: 35px;
    height: 35px;
    background: #F9FBFC;
    padding: 0 10px;
    border-bottom: 1px solid #DCE0E3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.07);
}

#sidebar .controls .right {
    float: right;
    margin-top: 5px;
	margin-left: 4px;
}

#sidebar .nav {
    list-style: none;
    margin: 38px 0 25px 0;
    padding: 0;
}

#sidebar ul {
    padding-left: 19px;
    list-style: none;
}

#sidebar li {
    line-height: 25px;
    position: relative;
}

#sidebar li a {
    display: block;
    padding: 0 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#sidebar li a.post {
    transition: color 0.2s linear;
}

#sidebar li span:hover a.post {
    padding-right: 60px;
}

#sidebar li a.open {
    color: #21272d;
}

#sidebar li .subpage,
#sidebar li .view,
#sidebar li .delete {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    width: 15px;
    height: 25px;
    border: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
}

#sidebar li .subpage {
    right: 50px;
}

#sidebar li .view {
    right: 30px;
}

#sidebar li .delete {
    padding-right: 10px;
}

#sidebar li span:hover .subpage,
#sidebar li span:hover .view,
#sidebar li span:hover .delete {
    opacity: 1;
}

#main {
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

#epiceditor {
    height: 100%;
    margin-left: 250px;
}

#saving {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #8dc92d;
    color: #fff;
    padding: 2px 10px;
    opacity: 0;
    border-radius: 3px;
    transition: opacity 0.3s ease-out;
}

#saving.active {
    opacity: 1;
}

/* Login Styles
/*---------------------------------------------*/
#login {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#login .wrapper {
    width: 100%;
    background: #707070;
    color: #fff;
}

#login .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

#login a,
#login a:visited {
    color: #2eae9b;
}

#login .intro pre {
    background: #fff;
    border-radius: 3px;
    padding: 5px 14px;
}

#login .intro h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

#login-form form {
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

#login-form input {
    appearance: none;
    outline: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 1);
    width: 250px;
    border-radius: 3px;
    padding: 10px 15px;
    margin: 0 auto 10px auto;
    display: block;
    text-align: center;
    font-size: 18px;
    color: #2eae9b;
    transition-duration: 0.25s;
    font-weight: 300;
}

#login-form input:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

#login-form input:focus {
    background-color: white;
    width: 300px;
    color: #53e3a6;
}

#login-form button {
    outline: 0;
    background-color: white;
    border: 0;
    padding: 10px 15px;
    color: #53e3a6;
    border-radius: 3px;
    width: 250px;
    cursor: pointer;
    font-size: 18px;
}

#login-form button:hover {
    background-color: #f5f7f9;
}

/* Misc Styles
/*---------------------------------------------*/

/* Icon Styles
/*---------------------------------------------*/
@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.ttf?bezdtv') format('truetype'),
    url('fonts/icomoon.woff?bezdtv') format('woff'),
    url('fonts/icomoon.svg?bezdtv#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="im-"], [class*=" im-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.im-eye:before {
    content: "\e900";
}

.im-file-plus:before {
    content: "\e901";
}

.im-file-text:before {
    content: "\e902";
}

.im-folder:before {
    content: "\e903";
}

.im-folder-plus:before {
    content: "\e904";
}

.im-log-in:before {
    content: "\e905";
}

.im-log-out:before {
    content: "\e906";
}

.im-trash:before {
    content: "\e907";
}
