/* https://github.com/keshikan/DSEG */
@font-face {
    font-family: 'DSEG14';
    src: url('../font/DSEG14Classic-Regular.woff2') format('woff2'),
        url('../font/DSEG14Classic-Regular.woff') format('woff'),
        url('../font/DSEG14Classic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Google material icons */
.material-icons.md-18 {
    font-size: 18px;
}

.material-icons.md-24 {
    font-size: 24px;
}

/* Default */
.material-icons.md-36 {
    font-size: 36px;
}

.material-icons.md-48 {
    font-size: 48px;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;


    font-family: Helvetica, Arial, sans-serif;
}

/* light theme default */

body {
    position: relative;
    color: #101010;
    background-color: #ebebeb;
}

i {
    color: #101010;
}

/* dark theme */

body[data-theme="dark"] {
    color: #ebebeb;
    background-color: #101010;
}

body[data-theme="dark"] i {
    color: #ebebeb;
}

#online-clock {
    display: block;
    width: 100%;
    height: 100%;
}

#logo {
    width: 32px;
    height: 32px;
    vertical-align: -5px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 4px;
    image-rendering: optimizeQuality;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 2vh;
    text-align: center;
    font-size: 32px;
    padding: 16px;
    box-sizing: border-box;
    font-weight: bold;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px;
    text-align: center;
    font-size: small;
    box-sizing: border-box;

}

/** Menu **/

#menu {
    position: absolute;
    top: 8px;
    right: 8px;
}

.menu-icon {
    font-size: 36px;
    cursor: pointer;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #ebebeb;
    border: 1px solid #101010;
    z-index: 1;
}

body[data-theme="dark"] .menu-dropdown {
    background-color: #101010;
    border: 1px solid #ebebeb;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 8px;
    text-decoration: none;
    color: #101010;
    background-color: transparent;
    width: 100%;
}

body[data-theme="dark"] .menu-item {
    color: #ebebeb;
}

.menu-item i {
    margin-right: 8px;
}

.menu-item:hover i {
    color: #101010;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    color: #ebebeb;
    background-color: #101010;
}

body[data-theme="dark"] .menu-item:hover {
    color: #101010;
    background-color: #ebebeb;
}

.color-picker input[type="color"] {
    border: none;
    /* Remove the default border */
    background: transparent;
    /* Make the input transparent */
    cursor: pointer;
    /* Indicate it's clickable */
}

/** Modal **/

.modal {
    display: none; /* flex; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-wrapper {
    position: relative;
    width: 68%;
    height: 68%;
    max-width: 1024px;
    color: #101010;
    background-color: #ebebeb;
    border: 1px solid #101010;
}

body[data-theme="dark"] .modal-wrapper {
    color: #ebebeb;
    background-color: #101010;
    border-color: #ebebeb;
}


.modal-content {
    width: 100%;
    height: 100%;
    padding-left: 16px;
    padding-right: 48px;
    padding-top: 48px;
    padding-bottom: 16px;
    box-sizing: border-box;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
}

.modal-text {
    font-size: medium;
}