* {
    font-family: Consolas, monospace, seuib, sans-serif;
}

*::selection {
    background: #666;
    color: #fff;
}

*::-moz-selection {
    background: #666;
    color: #fff;
}

body {
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

#headerDiv {
    width: 100%;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
    background: #fff;
    border-top: 2px solid #339bff;
    border-bottom: 1px solid #bbb;
    text-align: right;
}

#headerDiv #headerText {
    font-family: seuib, sans-serif;
    color: #339bff;
    /* font-weight: bold; */
    margin-left: 10px;
    float: left;
}

#headerDiv #headerText span {
    font-family: seuib, sans-serif;
    color: #ed2655;
}

#infoHeaderDiv {
    font-family: seuib, sans-serif;
    height: 50px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: normal;
    line-height: 25px;
    color: #a0a0a0;
}

/* ------------- LOGIN FORM ----------------- */

#logNapis {
    width: 400px;
    margin: 50px auto 30px;
    color: #666;
    font-weight: normal;
    font-size: 24px;
}

#formLogin, #forgetPassword {
    width: 400px;
    margin: 10px auto;
}

.bottomUnderline {
    width: 380px;
    border: none;
    border-bottom: 2px solid #339bff;
    padding: 8px;
}

label {
    display: block;
}

input {
    display: block;
    width: 300px;
    border: 1px solid #e4e4e4;
    padding: 8px;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Consolas, seui;
}

input[type=submit], button[type=submit], button {
    width: auto;
    font-size: 16px;
    font-weight: bold;
    background: #339bff;
    color: #fff;
    border: none;
    padding: 10px;
    margin-right: 2px;
    margin-top: 2px;
    font-family: Consolas, monospace, seuib, sans-serif;
}

button.btn {
    background: linear-gradient(#FDFDFD, #F0F0F0);
    color: #000;
    border: 1px solid #ccc;
    padding: 0;
    margin-right: -7px;
    margin-bottom: 15px;
    width: 30px;
    height: 30px;
    font-size: 15px;
}

button.btn:hover {
    background: linear-gradient(#F0F0F0, #FDFDFD);
}

input[type=submit]:hover, button[type=submit]:hover, button:hover {
    background: #ed2655;
    cursor: pointer;
}

.error {
    font-weight: bold;
    color: #ff0000;
    font-size: 16px;
}

/* ---------------- MENU ------------------- */

nav ul {
    margin: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #bbb;
}

nav ul li {
    display: inline-block;
    height: 40px;
}

nav ul li a {
    display: block;
    line-height: 40px;
    color: #b2b2b2;
    padding: 0px 10px;
    font-family: seuib, Consolas, sans-serif;
    font-size: 16px;
}

nav ul li a:hover {
    cursor: pointer;
    background: #f0f0f0;
}

nav ul li a.selected {
    color: #222;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
}

a {
    cursor: pointer;
    color: #339bff;
}

a.buttonHref {
    width: auto;
    font-size: 16px;
    font-weight: bold;
    background: #339bff;
    color: #fff;
    border: none;
    /* padding: 6px 10px; */
    padding: 10px;
    text-decoration: none;
}

a.buttonHref:hover {
    background: #ed2655;
    cursor: pointer;
}

h2 {
    font-size: 20px;
    color: #666;
}

/* --------------- FRAME --------------- */

.frame {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    background: #fff;
    width: auto;
    padding: 10px 20px;
    margin: 10px auto;
    border-bottom: 2px solid #bbb;
    box-sizing: border-box;
    overflow: hidden;
}

.frame:hover {
    border-bottom: 2px solid #339bff;
}

.frameContent {
    /* line-height: 60px; */
    /* margin: 10px; */
    color: #339bff;
}

/* ----------- ALERT ---------- */

#alertBox, .formBox {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.8);
    z-index: 1;
}

#alertContentDiv {
    width: 600px;
    margin: 0 auto;
    background: #fbfbfb;
    color: #000;
    font-size: 20px;
    text-align: center;
    padding: 20px;
}

#alertContentDiv * {
    font-family: seuib;
}

#alertTitleDiv {
    background: #339bff;
    color: #fff;
    padding: 10px 0;
    z-index: 2;
}

#alertTextDiv {
    padding: 10px;
}

/* ----------------- FORM WINDOWS ------------ */

.formWindow {
    display: none;
    position: fixed;
    top: 0;
    left: calc(50% - 300px);
    padding: 20px;
    width: 560px;
    background: #fbfbfb;
    z-index: 10;
}

.formWindow label {
    display: inline;
}

.formWindow input {
    display: inline;
}

.formWindow label.column {
    display: block;
    position: relative;
}

.formWindow label.column input {
    position: absolute;
    right: 40px;
    top: -16px;
}

.formWindow label.column select {
    position: absolute;
    right: 40px;
    top: -10px;
    width: 314px;
    padding: 6px;
    border: 2px solid #666;
    background: #fff;
}

.formWindow input[type=checkbox] {
    position: absolute;
    left: 160px;
}

.formWindow input[type=file] {
    width: 250px;
    margin: 0;
    border: none;
    font-size: 14px;
}

/* input:read-only {
    background: #ebebe4;
    outline: none;
} */

.mainSelect {
    margin-left: 50px;
    background: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 14px;
    border: 1px solid #339bff;
}

/* --------------------- LESSON BOX ---------------- */

.box {
    width: 200px;
    height: 250px;
    float: left;
    margin: 10px;
    border: 2px solid #ddd;
    background: #fff
}

.box a {
    color: #fff;
}

.lessonSummary {
    font-size: 36px;
    font-family: seuil, Consolas, monospace;
    text-align: center;
    color: #fff;
    background: #29303b;
    padding: 40px 0;
    margin-top: -6px;
    margin-left: -15px;
    margin-right: -12px;
}

.lessonImg {
    width: 200px;
    height: 100px;
}

.lessonTitle {
    font-family: Consolas, seuib, monospace;
    text-align: center;
    font-weight: bold;
    color: #666;
    font-size: 16px;
    margin: 15px;
}

.lessonBt {
    font-family: Consolas, seuib, monospace;
    background: #339bff;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 10px 6px;
    width: 60px;
    margin: 10px auto;
}

.lessonBt:hover {
    background: #ed2655;
    cursor: pointer;
}

#listOfLessonType {
    font-family: seuib;
    padding: 10px 0;
    margin-left: 20px;
}

.lessonType {
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    color: #339bff;
    padding: 2px;
    margin: 4px;
    background: #fff;
    cursor: pointer;
}

.lessonType:hover {
    color: #666;
}

textarea.lesson {
    display: block;
    width: 100%;
    height: 100px;
    font-size: 16px;
    resize: none;
    border: none;
    background: none;
    outline: none;
}

/* -------------- FORM ACCOUNT ----------- */

div.field {
    position: relative;
    margin-top: 20px;
    font-size: 16px;
}

div.field input {
    position: absolute;
    top: -14px;
    width: 250px;
    left: 280px;
}

.radioButtons {
    margin-left: 280px;
    margin-top: -15px;
}

div.companyMark input {
    display: inline-block;
    position: static;
    width: 26px;
    margin: 0;
    padding: 0;
}

.leftInfo {
    font-size: 14px;
    font-weight: bold;
}

.rightInfo {
    font-style: italic;
    padding-left: 20px;
    font-size: 14px;
}

/* ----------------- SETTINGS ----------------- */

.permission input[type=checkbox] {
    display: inline-block;
    width: auto;
}

fieldset {
    margin-bottom: 40px;
}

legend {
    color: #ff8e00;
}

.settingsSelect {
    display: inline-block;
    margin-left: 20px;
    border: 1px solid #ff8e00;
    padding: 10px 20px;
    font-size: 16px;
}

.left {
    display: table-cell;
    vertical-align: top;
    width: 60vw;
}

.right {
    display: table-cell;
    vertical-align: top;
    font-style: italic;
    font-size: 16px;
}

/* ------------------ MAIL -------------------- */

.mailChbx {
    display: inline-block;
    width: auto;
    margin: 5px 20px;
}

#mailContent {
    width: 80%;
    height: 200px;
    margin: 40px;
    resize: none;
    background: #fff;
    border: 1px solid #ccc;
    font: 18px seuib;
}

/* ----------------- PHOTO BOX ------------------- */

#photoBox {
    display: none;
}

#photoBox #closeBtn {
    position: fixed;
    right: 20px;
    top: 20px;
    padding: 20px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    border: 1px solid transparent;
}

#photoBox #closeBtn:hover {
    border: 1px solid #fff;
}

#photoBox #bigPhoto {
    position: fixed;
    left: 50%;
    top: 50%;
    max-width: 80vw;
    max-height: 80vh;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#photoBox #photoTitle {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100vw;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    padding: 6px;
    background: #999;
    color: #FFF;
    z-index: 10;;
}

/* --------------- FOOTER ----------------- */

#footerDiv {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    font-family: seuib;
    text-align: center;
    border-top: solid 1px #cbcbcb;
    margin-top: 30px;
    padding: 40px 0;
    background: #fff;
    font-size: 14px;
    line-height: 24px;
}

#footerDiv #logoFooter {
    font-family: seuib;
    color: #ed2655;
}

#footerDiv #logoFooter span {
    font-family: seuib;
    color: #339bff;
}

#footerText {
    color: #808080;
    font-family: seuib;
}

/* -------------- FONTS ---------------- */

@font-face {
    font-family: "seuib";
    src: url('../fonts/seuib.ttf');
}

@font-face {
    font-family: "seui";
    src: url('../fonts/seui.ttf');
}

@font-face {
    font-family: "seuil";
    src: url('../fonts/seuil.ttf');
}

/* ----------------- RESPONSIVENESS ---------------- */

@media only screen and (max-width: 600px) {
    #infoHeaderDiv span, .lessonSummary {
        display: none;
    }
    nav ul li {
        display: block;
        width: 100%;
        text-align: center;
    }
    .box {
        width: 100%;
        height: auto;
        margin: 10px auto;
    }
    .box .lessonImg {
        display: none;
    }
}