@font-face {
    font-family: lcarsfont; /* Ãàðíèòóðà øðèôòà */
    src: url(/lcars/fonts/lcars.ttf); /* Ïóòü ê ôàéëó ñî øðèôòîì */
}

html {
    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;

    -moz-user-select: -moz-none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: lcarsfont, serif;
    font-size: 8mm;
    color: black;
    background-color: black;
    height: 90%;
}

body div {
    background-color: rgb(0, 139, 139);
}


/*========================================================*/
.error1 {
    position: absolute;
    align-self: center;
    top: 15vh;
    height: 30vh;
    right: 16vw;
    width: 60vw;
    background-color: red;
    border-radius: 50px;
}

.error2 {
    position: absolute;
    border-radius: 30px;
    background-color: black;
    top: 20px;
    bottom: 20px;
    left: 150px;
    right: 150px;
}

.error3 {
    position: absolute;
    left: 0;
    right: 0;
    top: 6vh;
    bottom: 6vh;
    text-align: center;
    font-size: 17vh;
    color: red;
    background-color: black;
}

/*========================================================*/
.TOP_PLATE {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    /*height: 200px;*/

    border-bottom-left-radius: 50px; /*Primary radius*/
}

/*Top half of screen*/

.TOP_PLATE .LEFT_PANEL {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
}

/*Left-top bar, with a time*/
.TOP_PLATE .LEFT_PANEL .ELEMENT {
    position: relative;
    left: 0;
    right: 0;
    height: auto;

    padding: 5px 5px;
    text-align: right;
    border-bottom: 5px solid black;
}

/*Time-bar, fix*/

.TOP_PLATE .SPACE {
    position: absolute;
    top: 0;
    left: 150px;
    right: 0;
    bottom: 20px; /*==primary radius-secondary radius*/

    border-bottom-left-radius: 30px; /*Secondary radius*/
    background-color: black;
}

/*Top part, black panel with header*/
.TOP_PLATE .SPACE .PANEL {
    position: absolute;
    top: 0;
    left: 30px; /*==Secondary radius;*/
    right: 0;
    bottom: 15px;

    text-align: right;
    color: white;
    background-color: black;
}

/*Usable place with buttons*/
.TOP_PLATE .SPACE .PANEL .CAPTION {
    top: 0;
    right: 0;

    font-size: 14mm;
    background-color: black;
}

.TOP_PLATE .SPACE .PANEL .USER_INFO {
    /*position: absolute;
    left: 0;
    top: 0;*/

    text-align: left;
    background-color: inherit;
    font-size: 8mm;
    width: 30%;
}

.TOP_PLATE .SPACE .PANEL .BUTTON_BAR {
    position: absolute;
    height: 110px;
    right: 0;
    bottom: 0;
    /*left: 0;*/

    background-color: black;
}

.TOP_PLATE .SPACE .PANEL .BUTTON_BAR .BUTTON {
    float: right;

    min-width: 12vw;
    margin-left: 10px;
    margin-bottom: 10px;

    text-decoration: none;
    border-radius: 40px;
    background-color: cyan;
    color: black;
    padding: 5px;
    padding-top: 10px;
    padding-right: 16px;
}

/**============================================================================**/
.DOWN_PLATE {
    position: absolute;
    top: 220px;
    left: 10px;
    right: 10px;
    bottom: 10px;

    border-top-left-radius: 50px; /*Primary radius*/
}

/*Down half of screen*/

.DOWN_PLATE .LEFT_PANEL {
    position: absolute;
    top: 70px; /*==primary radius+20px*/
    left: 0;
    height: auto;
    width: 150px;
    bottom: 0;

    border-top: 5px solid black;
}

/*Left-down bar, main menu*/
.DOWN_PLATE .LEFT_PANEL .ELEMENT {
    position: relative;
    left: 0;
    right: 0;
    height: auto;

    text-decoration: none;
    text-align: right;
    padding: 5px;
    padding-top: 20px;
    border-bottom: 5px solid black;
}

/*All buttons on main menu*/

.DOWN_PLATE .SPACE {
    position: absolute;
    top: 20px; /*==primary radius-second radius*/
    left: 150px;
    bottom: 0;
    right: 0;

    border-top-left-radius: 30px; /*Second radius*/
    background-color: black;
}

/*Main black panel*/
.DOWN_PLATE .SPACE .PANEL {
    position: absolute;
    top: 10px;
    left: 30px; /*==second radius*/
    right: 0;
    bottom: 0;

    background-color: black;
    color: white;
}

/*Main panel of screen*/

.DOWN_PLATE .SPACE .PANEL .HEADER {
    position: relative;
    height: 40px;
    margin: 20px;

    border-radius: 25px;
    background-color: darkcyan;
}

/*Header of a panel*/
.DOWN_PLATE .SPACE .PANEL .HEADER .TEXT {
    position: absolute;
    height: 100%;
    right: 25px;

    padding-right: 3px;
    padding-left: 3px;
    background-color: black;
    color: white;
}

/*=====================================================*/
.ST1_FORM {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background-color: black;
}

.ST1_FORM .HEADER {
    position: relative;
    height: 40px;
    margin: 20px;

    border-radius: 25px;
    background-color: darkcyan;
}

.ST1_FORM .HEADER .RR {
    position: absolute;
    height: 100%;
    left: 25px;
    width: 5px;

    background-color: black;
}

.ST1_FORM .HEADER .TEXT {
    position: absolute;
    height: 100%;
    right: 25px;

    padding-right: 3px;
    padding-left: 3px;
    background-color: black;
    color: white;
    font-size: 40px;
}

.ST1_FORM .CONTAINER {
    position: absolute;
    top: 80px;
    bottom: 90px;
    right: 20px;
    left: 20px;

    background-color: black;
}

.ST1_FORM .TA_CONTAINER .TA .LINE {
    background-color: darkcyan;
    text-align: right;
    padding: 5px;
    padding-bottom: 3px;
    border-bottom-left-radius: 40px;
    border-top-left-radius: 40px;
    color: black;
}

.ST1_FORM .TA_CONTAINER {
    position: absolute;
    top: 80px;
    bottom: 20px;
    right: 20px;
    left: 20px;

    background-color: black;
}

.ST1_FORM .TA_CONTAINER .TA {
    resize: none;
    width: 100%;
    height: 100%;

    background-color: black;
    border-style: solid;
    border-color: darkcyan;
    color: white;
    font: inherit;
}

.ST1_FORM .BUTTON_BAR {
    position: absolute;
    right: 0;
    height: 45px;
    top: 0;
    background-color: black;
    width: 100%;
}

.ST1_FORM .BUTTON_BAR .BUTTON {
    float: right;
    width: 20%;
    min-width: 10vw;
    margin-left: 10px;
    text-align: right;
    border-radius: 45px;
    background-color: cyan;
    color: black;
    padding: 3px;
    padding-top: 7px;
    padding-right: 14px;
    padding-left: 14px;
}

.ST1_FORM .BUTTON_BAR .TEXT_BOX {
    float: left;
    display: inline;
    width: 70%;
    font-family: lcarsfont, serif;
    font-size: 10mm;
    color: white;
    border: 0;
    background-color: black;
}

.ST1_FORM .DOWN_BAR {
    position: absolute;
    height: 40px;
    bottom: 20px;
    left: 20px;
    right: 20px;

    border-radius: 25px;
    background-color: darkcyan;
}

.ST1_FORM .DOWN_BAR .TEXT {
    position: absolute;
    height: 100%;
    left: 25px;

    padding-right: 3px;
    padding-left: 3px;
    background-color: black;
    color: white;
    font-size: 40px;
}

.ST1_FORM .DOWN_BAR .BUTTON {
    position: absolute;
    height: 100%;
    right: 25px;

    text-align: right;
    border-right: 5px solid black;
    background-color: darkcyan;
    padding-right: 5px;
    padding-left: 10px;
}

/*=====*/

.ST1_FORM .VK_PLATE{
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    bottom: 10px;

    background-color: black;
}
.ST1_FORM .VK_PLATE .DLG{
    position: absolute;
    width: 50%;
    top: 0;
    bottom: 0;

    background-color: darkcyan;
    border-top-left-radius: 50px;
}
.ST1_FORM .VK_PLATE .DLG .CAPTION {
    position: absolute;
    right: 50px;
    height: 40px;

    background-color: black;
    padding-right: 3px;
    padding-left: 3px;
    font-size: 40px;
}
.ST1_FORM .VK_PLATE .DLG .BODY {
    position: absolute;
    left: 10px;
    top: 40px;
    bottom: 0;
    right: 5px;

    background-color: black;
    border-top-left-radius: 30px;
}
.ST1_FORM .VK_PLATE .MSG {
    position: absolute;
    width: 50%;
    right: 0;
    top: 0;
    bottom: 0;

    background-color: darkcyan;
    border-top-right-radius: 50px;
}
.ST1_FORM .VK_PLATE .MSG .CAPTION {
    position: absolute;
    right: 50px;
    height: 40px;

    background-color: black;
    padding-right: 3px;
    padding-left: 3px;
    font-size: 40px;
}
.ST1_FORM .VK_PLATE .MSG .BODY {
    position: absolute;
    left: 5px;
    right: 10px;
    top: 40px;
    bottom: 0;

    background-color: black;
    border-top-right-radius: 30px;
}
/*=====================================================*/
.LOGIN_FORM {
    position: absolute;
    width: 70%;
    right: 0;
    bottom: 0;
    height: 290px;

    background-color: darkcyan;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.LOGIN_FORM .HEADER {
    position: absolute;
    top: 0;
    right: 50px;
    font-size: 50px;
    background-color: black;
    padding-left: 10px;
    padding-right: 10px;
}

.LOGIN_FORM .BODY {
    position: absolute;
    top: 50px;
    right: 20px;
    bottom: 0;
    left: 20px;

    background-color: black;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.LOGIN_FORM .BODY .LINE {
    position: relative;
    margin: 30px;
    height: 50px;

    padding-right: 20px;
    background-color: darkcyan;
    border-radius: 25px;
}

.LOGIN_FORM .BODY .LINE .LABEL {
    margin-left: 40px;
    right: 20px;
    width: 120px;

    padding-top: 4px;
    color: black;
}

.LOGIN_FORM .BODY .LINE .TEXT_BOX_CONTAINER {
    position: absolute;
    top: 0;
    height: 50px;
    left: 170px;
    right: 25px;

}

.LOGIN_FORM .BODY .LINE .TEXT_BOX_CONTAINER .TEXT_BOX {
    position: relative;
    height: 50px;
    width: 100%;

    font-family: lcarsfont, serif;
    font-size: 10mm;
    color: white;
    border: 0;
    background-color: black;
}

.LOGIN_FORM .BODY .ACCEPT_BUTTON {
    position: absolute;
    bottom: 0;
    right: 30px;
    /*height: 50px;*/
    width: 150px;

    text-align: right;
    border-radius: 45px;
    background-color: cyan;
    color: black;

    padding: 5px;
    padding-top: 10px;
    padding-right: 16px;
    /*    padding-right: 25px;
        background-color: cyan;
        color: black;
        border-radius: 25px;*/
}

/*======================================================*/
#Submit {
    position: absolute;
    right: 5vw;
    bottom: 10px;
    height: 50px;
    width: 16vw;
    border-radius: 40px;
    border: 0;
    background-color: cyan;
    font-family: lcarsfont, serif;
    font-size: 10mm;;
}


/*.BUTTON{
    min-width: 9vw;
    margin-left: 10px;

    text-align: right;
    border-radius: 45px;
    background-color: cyan;
    color: black;

    padding: 4px;
    padding-top: 9px;
    padding-right: 14px;
}