html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #212121;
    font-family: "Ubuntu", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 1 auto;
}

footer {
    /*flex: 0 0 auto;*/
    text-align: right;
}

header {
    flex: 0 0 auto;
}

.app-header {
    box-shadow: 1px 1px 10px rgb(33, 33, 33);
    overflow: hidden;
    -webkit-user-select: none;
    background-color: #404040;
    color: #ffffff;
    display: grid;
    grid-template-columns: auto min-content;
    height: auto;
    max-height: 100px;
    padding: 10px;
}

.title {
    grid-column: 1;
    margin: 5px;
    font-size: 2em;
}

.logout {
    grid-column: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    cursor: pointer;
}

.box {
    padding: 5px;
    height: 100%;
}

button {
    cursor: pointer;
}

.arrow-pointer {
    display: inline-block;
    height: 2em;
    background: #404040;
    position: relative;
    color: #ffffff;
    margin-left: 1em;
    margin-bottom: 10px;
    cursor: pointer;
}

.arrow-pointer:first-child {
    margin-left: 0;
}

.arrow-pointer span {
    padding-left: 1.5em;
    padding-right: 0.5em;
    line-height: 2em;
}

.arrow-pointer:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 1em solid #212121;
    border-top: 1em solid #404040;
    border-bottom: 1em solid #404040;
}

.arrow-pointer:before {
    content: '';
    position: absolute;
    right: -1em;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 1em solid #404040;
    border-top: 1em solid #212121;
    border-bottom: 1em solid #212121;
}

#path .arrow-pointer:first-child:after {
    border-left: 1em solid #404040;
    border-top: 1em solid #404040;
    border-bottom: 1em solid #404040;
}

#path .arrow-pointer:first-child span {
    padding-left: 1em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0, 0.8);
}

#content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    height: 80%;
}

.modal-header {
    display: grid;
    grid-template-columns: 90% 10%;
}

.modal-header #file_title {
    grid-column: 1;
    margin: 0;
}

.modal-header span {
    grid-column: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.modal-header span i {
    cursor: pointer;
}

.modal-content {
    background-color: #fefefe;
    width: 100%;
    height: calc(100% - 16px - 2em);
}

.error {
    display: grid;
    grid-template-columns: auto min-content;
    background: #db2d2d;
    border: solid 2px #b61111;
    border-radius: 5px;
    width: 90%;
    height: 3em;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.error .text {
    grid-column: 1;
    line-height: 3em;
    padding-left: 10px;

}

.error span:nth-child(2) {
    grid-column: 2;
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 3em;
}

#custom-menu  {
    display: none;
    z-index:100000;
    position: absolute;
    background-color: rgb(229, 229, 229);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(114, 114, 114);
    padding: 0 0.25em 0 1.5em;
    width: 12em;
    font-size: 12px;
    overflow: hidden;
    white-space:nowrap;
    list-style: none;
    margin: 0;
}
#custom-menu button {
    display: block;
    padding: 5px;
    background: transparent;
    border: 0;
    outline: 0;
    width: 100%;
    text-align: left;
    color: #333;
}
#custom-menu button:hover {
    background-color: #DDD;
    cursor: pointer;
    color: #000;
}
#custom-menu button > span {
    display: inline;
    position: absolute;
    right: 5px;
    text-align: right;
    color: rgb(102, 102, 102);
}

.material-icon {
    font-family: Material Icons, sans-serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}