@font-face {
    font-family: 'ubuntu';
    src: url('/core/fonts/ubuntu-regular.ttf');
}

@font-face {
    font-family: 'ubuntumono';
    src: url('/core/fonts/ubuntumono-regular.ttf');
}

:root {
    --color-black: rgb(0, 0, 0);
    --color-black-hover: rgb(20, 20, 20);
    --color-white: rgb(255, 255, 255);
    --color-white-hover: rgb(240, 240, 240);
    --color-dark: rgb(30, 30, 30);
    --color-dark-hover: rgb(50, 50, 50);
    --color-light: rgb(240, 240, 240);
    --color-light-hover: rgb(220, 220, 220);
    --color-grey: rgb(50, 50, 50);
    --color-grey-hover: rgb(80, 80, 80);
    --color-red: rgb(180, 0, 0);
    --color-red-hover: rgb(200, 0, 0);
    --color-red-highlight: rgba(180, 0, 0, 0.15);
    --color-green: rgb(0, 180, 0);
    --color-green-hover: rgb(0, 200, 0);
    --color-green-highlight: rgba(0, 180, 0, 0.15);
    --color-blue: rgb(0, 0, 180);
    --color-blue-hover: rgb(0, 0, 200);
    --color-blue-highlight: rgba(0, 0, 180, 0.15);
    --color-yellow: rgb(180, 180, 0);
    --color-yellow-hover: rgb(200, 200, 0);
    --color-yellow-highlight: rgba(180, 180, 0, 0.15);
    --color-orange: rgb(200, 100, 0);
    --color-orange-hover: rgb(220, 100, 0);
    --color-orange-highlight: rgba(200, 100, 0, 0.15);
    
    --color-blue-fade: rgb(220, 240, 255);
    --color-yellow-fade: rgb(255, 230, 180);
    
    --wozair-teal-dark: rgb(9, 74, 102);
    --wozair-teal-light: rgb(30, 95, 125);
    --wozair-teal-highlight: rgba(30, 95, 125, 0.15);
    --wozair-red: rgb(180, 0, 0);
    --wozair-red-hover: rgb(200, 0, 0);
    
    --background-color: var(--color-white);
    
    --scrollbar-thumb: var(--color-grey);
    --scrollbar-track: var(--color-light);
    --scrollbar-width: 5px;
    
    --font-color-dark: var(--color-black);
    --font-color-light: var(--color-light);
    
    --font-color: var(--font-color-dark);
    --font-size: 0.7vw;
    //--font-style: ubuntu;
    --font-style: Arial, Helvetica, sans-serif;
    --font-style-mono: ubuntumono;

    --header-border: 1px;
    --header-height: calc(59px + var(--header-border));
    --header-logo-height: 70%;
    --header-font-size: 0.7vw;
    
    --menu-color: var(--wozair-red);
    --menu-color-hover: var(--wozair-red-hover);
    --menu-border-style: solid;
    --menu-top-border-width: 5px;
    --menu-sub-border-width: 1px;
    --menu-sub-border-radius: 10px;

    --footer-height: 30px;
    --footer-font-size: 0.6vw;
    --footer-background: var(--wozair-teal-dark);
    --footer-background-hover: var(--wozair-teal-light);
    
    --mask-background: rgba(0, 0, 0, 0.95);
    
    --border-width: 1px;
    --border-style: solid;
    --border-color-dark: var(--wozair-teal-dark);
    --border-color-light: var(--color-light);

    --input-border-radius: 5px;
    --input-border-width: 1px;
    --input-border-style: solid;
    --input-background-light: var(--color-light-hover);
    --input-background-dark: var(--color-dark-hover);

    --button: var(--color-light);
    --button-hover: var(--color-yellow-fade);
    --button-radius: 5px;
    
    --table-head-background: var(--color-grey);
    --table-row-light: var(--color-light);
    --table-row-dark: var(--color-dark);
    --table-row-hover: var(--color-yellow-fade);
    --table-row-height: 50px;
    --table-border-style: solid;
    --table-border-color: var(--color-grey);
    --table-border-width: 1px;
    
    --spacing-large: 25px;
    --spacing-small: 10px;
}

html,
body {
    width: 100%;
    min-width: 800px;
    height: 100%;
    color: var(--font-color);
    font-size: var(--font-size);
    font-family: var(--font-style);
    background: var(--background-color);
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: 100%;
}

input,
select,
textarea,
button,
input:focus,
select:focus,
textarea:focus,
button:focus,
h1,
h2,
h3,
h4,
h5,
p,
a {
    outline: none;
    border: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
    opacity: 1;
}

input,
select,
textarea,
button,
input:focus,
select:focus,
textarea:focus,
button:focus {
    color: var(--font-color-dark);
    border-radius: var(--input-border-radius);
    background-color: var(--input-background-light);
    font-size: var(--font-size);
}


/* alignment */

.cls-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cls-flex_top_left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.cls-flex_top_center {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cls-flex_top_right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.cls-flex_middle_left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cls-flex_middle_center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cls-flex_middle_right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cls-flex_bottom_left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.cls-flex_bottom_center {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cls-flex_bottom_right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}


/* scrollbar */

::-webkit-scrollbar {
    width: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
    background-color: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
}

::-webkit-scrollbar-button {
    height: 0;
}

::-webkit-scrollbar-corner {
    background-color: var(--scrollbar-track);
}


/* common styling */

.cls-button_hover_shadow:hover {
    box-shadow: 0px 0px 10px grey;
}

/* login */

#id-login {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0px auto;
}

#id-login_logo {
    width: 100%;
    height: 80%;
    float: left;
}

#id-login_logo img {
    width: calc(100% - 50px);
    height: auto;
}

#id-login_fields {
    width: 100%;
    height: 50px;
    float: left;
}

.cls-login_field {
    width: calc(35% - 37.5px);
    height: calc(100% - 2px);
    float: left;
    margin: 0px 0px 0px 25px;
}

.cls-login_field input {
    width: 100%;
    height: 100%;
    border-radius: var(--input-border-radius);
    border-width: var(--input-border-width);
    border-style: var(--input-border-style);
    border-color: var(--wozair-teal-dark);
    background-color: var(--color-light);
    text-align: center;
    font-size: 0.8vw;
}

.cls-login_button {
    width: calc(15% - 37.5px);
    height: 100%;
    float: left;
    margin: 0px 0px 0px 25px;
    border-radius: var(--input-border-radius);
    text-align: center;
    font-size: 0.8vw;
    color: var(--font-color-light);
    cursor: pointer;
    cursor: hand;
}

#id-login_button_login {
    background-color: var(--wozair-teal-dark);
}

#id-login_button_help {
    margin: 0px 0px 0px 50px;
    background-color: var(--wozair-teal-light);
}


/* header */

#id-header {
    width: 100%;
    height: var(--header-height);
    border-bottom-style: solid;
    border-bottom-width: var(--header-border);
    border-bottom-color: var(--wozair-teal-dark);
    margin: 0px 0px 0px 0px;
}

.cls-header_logo {
    width: 10%;
    height: 100%;
    float: left;
}

.cls-header_logo a {
    height: 100%;
}

.cls-header_logo img {
    width: var(--header-logo-height);
    height: auto;
}

.cls-header_nav {
    height: 100%;
    float: right;
}

.cls-header_nav ul {
    height: 100%;
    z-index: 5;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
}

.cls-header_nav ul li {
    float: left;
    height: calc(100% - (2 * var(--menu-top-border-width)));
    position: relative;
    border-top-color: var(--background-color);
    border-top-style: var(--menu-border-style);
    border-top-width: var(--menu-top-border-width);
    border-bottom-color: var(--background-color);
    border-bottom-style: var(--menu-border-style);
    border-bottom-width: var(--menu-top-border-width);
}

.cls-header_nav ul li:hover {
    border-top-color: var(--menu-color);
    border-top-style: var(--menu-border-style);
    border-top-width: var(--menu-top-border-width);
}

.cls-header_nav ul li:hover > ul {
    display: inherit;
}

.cls-header_nav ul li a {
    height: 100%;
    font-size: var(--header-font-size);
    color: var(--font-color-dark);
    padding: 0px 10px 0px 10px;
    cursor: pointer;
    cursor: hand;
}

.cls-header_nav ul ul {
    display: none;
    position: absolute;
    top: calc(100% + var(--menu-top-border-width));
    right: 0px;
}

.cls-header_nav ul ul li {
    width: 200px;
    float: right;
    border-style: none;
    background-color: var(--menu-color);
    border-bottom-color: var(--color-light);
    border-bottom-style: var(--menu-border-style);
    border-bottom-width: var(--menu-sub-border-width);
}

.cls-header_nav ul ul li:last-child,
.cls-header_nav ul ul li:hover:last-child{
    border-style: none;
    border-bottom-left-radius: var(--menu-sub-border-radius);
    border-bottom-right-radius: var(--menu-sub-border-radius);
}

.cls-header_nav ul ul li:hover {
    border-style: none;
    background-color: var(--menu-color-hover);
    border-bottom-color: var(--color-light);
    border-bottom-style: var(--menu-border-style);
    border-bottom-width: var(--menu-sub-border-width);
}

.cls-header_nav ul ul li a {
    color: var(--font-color-light);
    text-align: right;
    color: 0.6vw;
}

.cls-header_nav_username {
    font-weight: bold;
}


/* content */

#id-content {
    width: 100%;
    height: calc(100% - var(--header-height) - var(--footer-height));
    overflow: auto;
}


/* footer */

#id-footer {
    width: 100%;
    height: var(--footer-height);
    background-color: var(--footer-background);
}

.cls-footer_box {
    width: calc(100% / 7);
    height: 100%;
    float: left;
}

.cls-footer_box_hover:hover {
    background-color: var(--footer-background-hover);
}

.cls-footer_box a {
    height: 100%;
    width: 100%;
    color: var(--font-color-light);
    font-size: var(--footer-font-size);
}


/* mask */

#id-mask {
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: var(--mask-background);
    position: absolute;
    left: 0;
    top: 0;
}

.cls-mask {
    width: 100%;
    height: 5%;
    float: left;
}

.cls-mask img {
    width: auto;
    height: 60%;
    float: right;
    cursor: pointer;
    cursor: hand;
    margin: 0px 10px 0px 0px;
}

#id-mask_content {
    width: 100%;
    height: 90%;
    float: left;
}

/* progress and information */

#id-pandi {
    width: 500px;
    height: 150px;
    background-color: rgb(240, 240, 240);
    color: rgb(80, 80, 80);
}

#id-pandi_title {
    width: 100%;
    height: 50px;
    float: left;
}

#id-pandi_title h4 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    margin: 15px 0 0 0;
}

#id-pandi_function {
    width: 100%;
    height: 45px;
    float: left;
}

#id-pandi_function h4 {
    margin: 0;
    padding: 0;
    font-size: 15px;
}

#id-pandi_bar {
    width: calc(100% - 20px);
    height: calc(100% - 95px - 20px);
    float: left;
    margin: 10px 0 0 10px;
}

.cls-pandi_bar {
    width: 1%;
    height: 100%;
    float: left;
}

.cls-pandi_bar_green {
    background-color: rgb(0, 180, 0);
}