@font-face {
  font-family: Roboto;
  src: local("Roboto"),
  url(fonts/Roboto/Roboto-Regular.ttf);
}

@font-face {
  font-family: mono;
  src: local("mono"),
  url(fonts/ShareTechMono-Regular.ttf);
}

@font-face {
  font-family: OpenSans;
  src: local("Open Sans"),
  url(fonts/OpenSans/OpenSans-Regular.ttf);
}

:root {
  --base-color-25: #3e3d5c;
  --base-color-50: #797993;
  --base-color-75: #b3b3c9;
  --base-color-100: #eeeeff;
  --button-color: #00b9ea;
  --button-color-hover: #80DCF5;
  --background-color: #f5f5f5;
}

body, html {
    background: #020232;
    font-family : Roboto, sans-serif;
    font-size: 15px;
    color: var(--base-color-100);
    margin-bottom : 0px;
    margin-left : 0px;
    margin-right : 0px;
    margin-top : 0px;
    padding:0px;
    width: 100%;
    height: 100%;
  }

div::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: none;
}

div::-webkit-scrollbar {
  width: 4px;
  background-color: none;
}

div::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--button-color);
}

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

a {
    color: var(--button-color);
    text-decoration: none;
}   a:hover {filter: brightness(150%); text-decoration:underline}

h1 {
    color: #00b9ea;
    font-size: 38px;
    font-weight: bold;
    text-transform: uppercase;
}

h2 {
    color: #00b9ea;
    font-size: 24px;
    font-weight: normal;
    text-transform: uppercase;
}

h3 {
    color: #00b9ea;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
}

.label_error {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 32px;
    background-color: #c54343;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    font-size: 80%;
}

.label_normal {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 32px;
    background-color: #57a152;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    font-size: 80%;
}

.label_netural {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 32px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    font-size: 80%;
}

.table {
    background: none;
    display: grid;
    gap: 2px;
    color: #fff;

}
.table > div#head {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    font-size: 80%;
/*     text-transform: uppercase; */
}

.table > div#body {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 8px;
    display: flex;
    justify-content: left;
    align-items: center;
/*     font-size: 90%; */
}

.frame {
     background-color: rgba(255, 255, 255, 0.15);
     border-radius: 8px;
     padding: 32px;
 }

 .button {
    background: var(--button-color);
    color: var(--base-color-100);
    border-radius: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    border: none;
    outline: none;
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    font-size: 90%;
    font-weight: normal;
    text-transform: uppercase;
}
.button:hover {
    cursor:pointer;
    filter: brightness(125%);
    text-decoration: none;
/*     box-shadow: 0px 0px 2px 1px rgba(255, 255, 255, 0.25); */
}

.button:disabled {
    background-color: #ccc;
    color: #fff;
}

.icon {
    background: none;
    border: none;
    outline: none;
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    color: var(--button-color);
    font-size: 24px;
}
.icon > img {
    width: 100%;
    height: 100%;
}
.icon:hover {
    cursor:pointer;
    filter: brightness(150%);
}

input, select, textarea {
    font-size: 15px;
    font-family: Roboto, sans-serif;
    border: none;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    outline: none;
    color: var(--base-color-25);
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
    background-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    border-radius: 5px;
}

option {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--base-color-25);
}

input::placeholder, textarea::placeholder {
    color: var(--base-color-25);
}

input:focus::placeholder, textarea:focus::placeholder {
    color: var(--base-color-75);
}

input:focus, textarea:focus {
    background-color: #fff;
    color: var(--base-color-25);
    box-shadow: 0px 0px 4px 2px rgba(255, 255, 255, 0.25);
}

input:disabled {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff
};

input[type=password]::placeholder {
    color: var(--base-color-25);
}

input[type=password]:focus::placeholder {
    color: var(--base-color-100);
}

input[type=password]:focus {
    background-color: #ff4242;
    color: var(--base-color-100);
    box-shadow: 0px 0px 3px 2px rgba(255, 100, 0, 0.25);
}

input[type=checkbox] {
    cursor: pointer;
    transform: scale(1.3);
    background: var(--button-color);
}

input[type=range] {
    cursor: pointer;
    background: var(--button-color);
    box-shadow: none;
    padding:none;
}

input[type=radio] {
    cursor: pointer;
    background: var(--button-color);
    box-shadow: none;
}

input[type=checkbox] {
    cursor: pointer;
    transform: scale(1.3);
    background: var(--button-color);
}

textarea {
    font-size: 15px;
    font-family: Roboto, sans-serif;
    border: none;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    outline: none;
    color: var(--base-color-25);
    box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 5px;
}

.full_screen {
    display: flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
}


/* Выпадающее меню */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  margin-top: 100px;
  background-color: var(--button-color);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content > a {
    display: flex;
    height: 32px;
    justify-content: left;
    align-items: center;
    text-decoration: none;
    background: none;
    color: #fff;
    padding-left: 16px;
    padding-right: 16px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.dropdown-content > a:hover {
    background: rgba(255,255,255,0.5);
}

.menu {
    width: 100%;
    text-align: left;
    display: block;
    justify-content: left;
    align-items: center;
    padding: 8px;
    padding-left: 16px;
    padding-right: 16px;
    background: none;
    color: var(--base-color-75);
    text-decoration: none;
    border: none;
    border-left: 2px solid var(--base-color-25);
    margin: 4px;
    height: 48px;
}

.menu:hover {
 /*   background: rgba(255, 255, 255, 0.25); */
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0));
    text-decoration: none;
    border: none;
    border-left: 2px solid var(--base-color-100);
    cursor: pointer;
}

.menu:focus {
    background: linear-gradient(to right, rgba(255,255,255,0.25), rgba(255,255,255,0));
    text-decoration: none;
    border: none;
    border-left: 2px solid var(--base-color-100);
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url("/gui/icon_loading.gif") no-repeat center center;
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    cursor: progress;
}
