:root {
    --header-height: 116px;
}

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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Browser Firefox to match the Chrome */

button::-moz-focus-inner {
    padding: 0 !important;
    border: 0 !important;
}

body * {
    font-family: "GT Walsheim Pro";
}

body {
    background-color: #eef1f7;
}

body.logged header {
    display: block;
}

body.logged #content {
    display: block;
}

body.logged .mask {
    display: block;
}

body.logged .mask.hide {
    display: none;
}

.container {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.container.block {
    max-width: 1024px;
}

.container:after {
    content: "";
    display: table;
    clear: both;
}

header {
    display: none;
    position: fixed;
    width: 100%;
    background-color: #da204a;
    z-index: 999999;
}

header h1 {
    display: none;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

header h2 {
    position: relative;
    font-size: 17px;
    padding: 20px 20px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    font-weight: 500;
    background-color: #314f94;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

header h2 #back {
    position: absolute;
    left: 0;
    top: 0;
    text-transform: uppercase;
    display: none;
    float: left;
    cursor: pointer;
    background-color: transparent;
    color: #ffffff;
    padding: 20px 15px;
    font-size: 15px;
}

header h2 #back::after {
    content: "Back";
    margin-left: 5px;
}

header h2 #sync {
    position: absolute;
    right: 0;
    top: 0;
    text-transform: uppercase;
    display: none;
    float: right;
    cursor: pointer;
    padding: 20px 15px;
    font-size: 14px;
}

header h2 #sync.on {
    background-color: transparent;
    color: #fff;
}

header h2 #sync.on::before {
    content: "Uncache";
    margin-right: 5px;
}

header h2 #sync.off {
    background-color: transparent;
    color: #ffffff;
}

header h2 #sync.off::before {
    content: "Cache";
    margin-right: 5px;
}

header h2 #online {
    position: absolute;
    left: 40px;
    top: 0;
    display: block;
    float: left;
    cursor: pointer;
    background-color: transparent;
    background-color: #1ABC9C;
    padding: 10px 20px;
    text-decoration: none;
    top: 7px;
    border-radius: 30px;
    font-size: 15px;
    color: #fff;
}

header h2 #logout {
    position: absolute;
    right: 0;
    top: 0;
    text-transform: uppercase;
    display: block;
    float: left;
    cursor: pointer;
    background-color: transparent;
    color: #ffffff;
    padding: 20px 15px;
    font-size: 15px;
}

header h2 #logout::before {
    content: "Logout ";
    margin-right: 5px;
}

.offline #content h2 #sync {
    background-color: #fff;
}

#content {
    display: none;
    width: 100%;
    box-sizing: border-box;
    background-color: #eef1f7;
    height: 100vh;
}

#content #list {
    float: left;
    width: 100%;
}

#content #list li {
    float: left;
    width: 100%;
}

#content #list li:first-child {
    margin-top: 57px;
}

#content #list li a {
    font-size: 18px;
    display: block;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-bottom: 1px solid #d3d7e0;
}

#content #list li a i {
    float: left;
    margin-right: 10px;
    color: #314f94;
}

#content #list li a.sync i {
    color: #18bb9a;
}

.offline #content #list li .online {
    color: #ccc;
}

.offline #content #list li .online:after {
    content: "\f057 ";
    font-family: "FontAwesome";
    float: right;
    color: #da204a;
}

#content #list li a:after {
    content: "\f054";
    font-family: "FontAwesome";
    float: right;
}

#content #book {
    float: left;
    width: 100%;
    position: relative;
    background-color: #eef1f7;
}

#content #book .bx-wrapper {
    background-color: #eef1f7;
}

#content #book section {
    display: none;
    float: left;
    width: 100%;
    position: relative;
    text-align: center;
    height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
    box-sizing: border-box;
}

#content #book section.active {
    display: block;
}

#content #book section .bx-wrapper {
    margin-bottom: 0;
    border: 0!important;
    box-shadow: none;
}

#content #book article {
    width: 100%;
    float: left;
    position: relative;
    text-align: center;
    height: calc(100vh - var(--header-height));
}

#content #book article img {
    display: inline-block;
    max-width: 100%;
    height: calc(100vh - var(--header-height));
}

#content #book article span {
    cursor: pointer;
    position: absolute;
    padding: 1% 1.2%;
    border-radius: 50px;
    border: 1px dashed #da204a;
}

#content #book article span a {
    display: inline-block;
    font-size: 30px;
}

#content #book article span a i {
    color: #da204a;
    display: inline-block;
}

#content #book article span a div {
    color: #da204a;
    font-size: 16px;
    text-transform: uppercase;
    margin-left: 10px;
    display: inline-block;
}

#content #toolbar {
    z-index: 99999;
    position: fixed;
    top: 57px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    background: #eef1f7!important;
    left: 0;
    display: none;
    box-shadow: 1px 1px 2px rgb(181 186 185);
}

#content #toolbar.active {
    display: block;
}

#content #toolbar ol {
    float: right;
}

#content #toolbar ol li {
    display: inline-block;
}

#content #toolbar ol li a, #content #toolbar ol li button {
    transition: all .5s;
    text-decoration: none;
    float: left;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
    margin-left: 5px;
    border: 0;
    line-height: 100%;
    height: 2.25rem;
    padding-left: 1.2rem!important;
    padding-right: 1.2rem!important;
    background-image: linear-gradient(180deg, #0088f2, #4367F7);
    background-color: transparent!important;
    transition: background .5s;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#content #toolbar ol li span {
    float: left;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 2.25rem;
    height: 2.25rem;
    padding-left: .5rem!important;
    padding-right: .5rem!important;
    color: #0088f2;
    border: 1px solid #0088f2;
    margin-left: 5px;
    margin-right: -7px;
    position: relative;
    box-sizing: border-box;
    background-color: #ffffff;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .1);
}

#content #toolbar ol li a:focus, #content #toolbar ol li button:focus {
    background-image: none;
    background-color: #223362!important;
}

#content #toolbar .draw {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 100%;
    height: 2.25rem;
    padding-left: 1.2rem!important;
    padding-right: 1.2rem!important;
    float: left;
    cursor: pointer;
    text-decoration: none;
    color: #223362;
}

#content #toolbar .draw.working {
    outline: #223362;
}

.drawing-board-control button, .drawing-board-control-size .drawing-board-control-inner {
    float: left;
    cursor: pointer;
    border: #f8f3e4;
    box-sizing: border-box;
    height: 2.25rem;
    width: 2.75rem;
    border-radius: 0;
    background-color: transparent;
    background-image: linear-gradient(180deg, #fbf9f3, #fbf9f3);
    transition: background .5s;
    outline: none;
    color: #223362;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
}

.drawing-board-control-size .drawing-board-control-inner {
    border-radius: 3px;
    padding: 0!important;
}

.drawing-board-controls .drawing-board-control>button:last-child:not(:only-child) {
    border-radius: 0 3px 3px 0;
}

.drawing-board-controls .drawing-board-control>button:first-child:not(:only-child) {
    border-radius: 3px 0 0 3px;
}

.drawing-board-controls .drawing-board-control>button:only-child {
    border-radius: 3px!important;
}

.drawing-board-controls .drawing-board-control {
    margin-right: 5px;
}

.drawing-board-control-size-dropdown span {
    background-color: #da204a;
}

.drawing-board-control-size-dropdown-current {
    width: 100%;
}

.drawing-board-control-size-dropdown-current span {
    background-color: #da204a;
}

.drawing-board-control-inner .drawing-board-control-size-dropdown {
    width: 43px!important;
    background-color: #fff;
    top: 38px;
    left: 1px;
    overflow: visible;
    border: 1px solid #eef1f7;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 10px 0;
}

.drawing-board-control-inner .drawing-board-control-size-dropdown li {
    margin: 0;
    padding: 4px 2px!important;
    box-shadow: none;
    box-sizing: border-box;
}

.drawing-board-control button.active, .drawing-board-control-size .drawing-board-control-inner:hover {
    background-image: none;
    background-color: #ffffff;
    color: #223362;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .1);
    -webkit-box-shadow: inset 2px 2px 4px rgba(0, 0, 0, .1);
}

.drawing-board-control-size .drawing-board-control-inner:hover {
    color: #da204a!important;
}

.drawing-board-control-size .drawing-board-control-inner:hover span {
    background-color: #da204a!important;
}

#content #toolbar ol li a.menu-link {
    background-image: none;
    color: #314f94;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
}

#content #toolbar #player {
    display: none;
    float: right;
    margin-right: 30px;
}

.menu {
    padding: 30px 0;
    box-sizing: border-box;
    transition: all .5s;
    position: fixed;
    z-index: 9999999;
    background-color: #eef1f7;
    left: -75%;
    top: 0;
    width: 75%;
    height: 100vh;
}

.menu:after {
    content: " ";
    transition: all .5s;
    position: absolute;
    width: 50%;
    height: 100%;
    right: -250%;
    top: 0;
    background-color: rgba(0, 0, 0, .8);
}

.menu.open {
    left: 0;
}

.menu.open:after {
    right: -50%;
}

.menu .audios, .menu .links {
    margin-bottom: 60px;
}

.menu h2 {
    text-transform: uppercase;
    padding-left: 20px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.menu ul li {
    display: block;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 20px;
}

.menu ul li a {
    display: inline-block;
    width: 100%;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
}

.menu ul li a i {
    color: #314f94;
    display: inline-block;
    margin-right: 15px;
}

.menu ul li a div {
    display: inline-block;
}

.menu .close {
    position: absolute;
    display: inline-block;
    right: 20px;
    top: 20px;
    font-size: 20px;
    color: #314f94;
}

.mask {
    display: none;
    color: #fff;
    text-align: center;
    padding-top: 50%;
    box-sizing: border-box;
    font-size: 50px;
    position: fixed;
    z-index: 9999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .95) url('../images/logo.png') no-repeat center 40%;
}

.mask .progress-bar {
    display: none;
    position: absolute;
    top: 60%;
    left: 20%;
    width: 60%;
    background-color: #ccc;
    height: 30px;
}

.mask .progress-bar .progress {
    transition: all .5s;
    float: left;
    width: 0%;
    background-color: #314f94;
    height: 30px;
}

.mask .progress-bar .text {
    position: absolute;
    left: 0;
    top: 8px;
    width: 100%;
    text-align: center;
    float: left;
    font-size: 16px;
}

.drawing-board {
    height: 100%;
    width: 100%;
    position: relative;
}

.drawing-board-canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    border: 0!important;
}

.drawing-board-controls {
    top: 57px;
    left: 55px!important;
    position: fixed;
    z-index: 99999;
    width: 0;
    padding: 10px;
    box-sizing: border-box;
}

.bx-wrapper .bx-has-controls-direction {
    position: absolute;
    z-index: 99999!important;
    top: 50%;
    width: 100%
}

#install {
    display: none;
    box-sizing: border-box;
    position: fixed;
    z-index: 9999999;
    bottom: 5%;
    left: 5%;
    width: 90%;
    padding: 30px;
    background: #fff;
    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, .1);
}

#install.available {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#install p {
    font-size: 18px;
    color: #223362;
    line-height: 150%;
    width: auto;
    margin-bottom: 20px;
}

#install .actions{
    display: flex;
    justify-content: center;
    align-items: center;
}

#install .actions .dismiss{
    text-decoration: none;
    color: #314f94;
    margin-right: 20px;
}

#install #installer {
    transition: all .5s;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
    margin-left: 5px;
    border: 0;
    line-height: 100%;
    height: 2.25rem;
    padding-left: 1.2rem!important;
    padding-right: 1.2rem!important;
    background-image: linear-gradient(180deg, #0088f2, #4367F7);
    background-color: transparent!important;
    transition: background .5s;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: pre;
}

@media( max-width: 1024px) {
    .nav {
        display: none;
        opacity: 0;
    }
}

#snackbar {
    visibility: hidden;
    width: 90%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px 0;
    position: fixed;
    z-index: 1;
    left: 5%;
    bottom: 30px;
    cursor: pointer;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

#login {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #eef1f7;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    padding-top: 8%;
}

#login .logo {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 30px;
}

#login .logo img {
    max-width: 250px;
    width: 100%;
    display: inline-block;
}

#login .content {
    max-width: 500px;
    width: 100%;
    background: #ffffff;
    box-sizing: border-box;
    padding: 2.75rem;
}

#login .content p {
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #314f94;
    line-height: 150%;
}

#login .content p span {
    font-size: 24px;
    text-transform: uppercase;
}

#login .content .fields {
    display: flex;
    width: 100%;
    flex-direction: column;
}

#login .content .field {
    width: 100%;
    display: inline-block;
    margin-bottom: 20px
}

#login .content .field label {
    float: left;
    width: 100%;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    color: #314f94;
    margin-bottom: 10px;
}

#login .content .field input {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #314f94;
}

#login .content button {
    float: right;
    border: 0;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    background-color: #18bb9a;
    padding: 10px 20px;
    cursor: pointer;
    box-sizing: border-box;
    color: #fff;
}

@media(max-width: 768px) {
    header h2 {
        font-size: 14px!important;
    }
}