:root {
    --baseColour: var(--colour-secondary__blue);
    --darkColour: var(--colour-secondary__blue-tint-80);
}

body {
    min-height: 100%;
    min-width: 320px;
    background: white;
    font-family: GT-Eesti-Pro, Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

textarea {
	font-family: GT-Eesti-Pro, Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    color: #000;
    display: contents;
}

a:hover {
    font-weight: 700;
}

ul {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px
}


button:hover {
    cursor: pointer;
    color: white !important;
    background-color: var(--darkColour) !important;
}

button[type="reset"]:hover {
    background-color: black !important;
}

button[type="reset"] {
    color: black;
    background-color: #f0f0f0;
    float: left;
    margin-top: 5px;
    width: fit-content;    
}

button[type="submit"] {
    color: white;
    background-color: var(--baseColour) !important;
    float: right;
    margin-top: 5px;
    width: fit-content;
}

button[type="submit"]:hover {
    background-color: var(--darkColour) !important;
}

.buttonsmall {
    font-size: 12px;
    padding: 0px 12px;
    margin: unset !important;
    width: 40px;
}

input:read-only {
    background-color: #e8e8e8;
}

textarea:read-only {
    background-color: #f0f0f0;
}

select:disabled {
    background-color: #f0f0f0;
    color: black;
    opacity: 1;
}

input[type="date"] {
    display:block;
}

input[type="checkbox"] {
    width: 20px;
}

input[type="radio"] {
    margin: 5px 5px 0px 5px;
}
.container {
    max-width: 1540px;
    position: relative;
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

#header {
    position: absolute;
    z-index: 16;
}

.header_container {
    height: 62px;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    position: relative;
    -webkit-box-flex: 1;
    flex: 1 0 auto;
    display: flex;
    -webkit-box-align: stretch;
    align-items: stretch;
    flex-grow: 1;
}

.header {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: stretch;
    overflow: hidden;
    background-color: white;
    color: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 163px;
    width: 100vw;
    align-items: stretch;
}

.header_tools {
    display: block !important;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

.header_tools_list {
    margin: 0;
    padding: 10px 0;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
    height: 26px;
    list-style: none;
    font-size: 10pt;
}

.header_tools_list svg {
    width: 24px;
    height: 24px;
    padding-left: 20px;
}

.header_tools_item:last-of-type {
    border: 0;
}

.header_tools_item:last-child {
    padding-right: 0;
    border: none;
}

.header_tools_item {
    display: contents;
    padding: 0 10px;
    border-right: 1px solid white;
    font: normal 13px/24px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
    line-height: 1.5;
}

    .header_tools_item span {
        padding-left: 10px;
    }

.header_logo-container {
    width: auto;
    height: 100%;
    border-bottom: none;
    margin: 0;
    padding: 0;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
}

.header_logo {
    margin-right: 18px;
    flex-shrink: 0;
    width: 147px;
    align-self: center;
    display: flex;
}

.header_relogin {
    width: 25%;
    text-align: center;
}

header_relogin span {
    display: inline-block;
    cursor: pointer;
}

.main_header .header_logo {
    width: 25%;
}

.header_brand {
    margin-right: 100px;
    align-self: center;
    display: flex;
    margin: 0;
    font: normal 12px/1.5 GT-Eesti-Pro,sans-serif;
}

.header_nav {
    display: flex;
    -webkit-box-align: stretch;
    align-items: stretch;
    height: auto;
    top: 103px;
}

.header_nav-container {
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
    padding: 0;
}

.header_nav_list {
    display: flex;
    position: relative;
    list-style: none;
    padding-top: 5px;
}

.header_nav li {
    display: flex;
    -webkit-box-align: stretch;
    align-items: stretch;
    font-weight: normal;
    font-size: 11pt;
    padding-left: 20px;
}

.pagebanner {
    background-color: #F2F2F2;
    margin-top: 160px;
    display: flex;
    align-items: center;
    line-height: 1;
    min-height: 80px;
}

.pagebanner img {
    height: 200px;
    float: right;
}

.pagebanner h1 {
    width: 90%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 5px 30px;
    font-family: font-family: GT-Eesti-Pro, Arial, Helvetica, sans-serif;
    font-size: 35px;
    font-weight: 300 !important;
    color: black;
}

.pageIntro {
    margin: 20px 60px;
    text-align: center;
    font-size: 22px;
}

.pageTiles {
    margin: 0;
    padding: 10px 0;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: center;
    list-style: none;
    font-size: 10pt;
}

.pageTiles li {
    width: 100px;
    text-align: center;
    margin: 20px;
    border: 2px solid lightgray;
    height: 200px;
    cursor: pointer;
}

.pageTiles div {
    margin: 10px auto;
}

.pageTiles span {
    font-weight: bold;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    color: #000;
    display: flex;
    padding: 0 15px;
    text-align: center;
    background-color: #f2f2f2;
    border-top: 1px solid rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(0,0,0,.2);
    margin: 0;
}

.footer_container {
    position: relative;
    display: flex;
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
}

.footer_list {
    -webkit-box-align: start;
    align-items: flex-start;
    border-bottom: none;
    order: -1;
    text-align: left;
    flex-wrap: wrap;
    display: flex;
    -webkit-box-flex: 0;
    flex: 0 0 50%;
    max-width: 50%;
    height: 26px;
    list-style: none;
    font-size: 10pt;
    padding-top: 6px;
}

.footer_item {
    padding-bottom: 21px;
    display: inline-block;
    margin: 0 20px 0 0;
}

.footer_copyright {
    display: contents;
    border: none;
    -webkit-box-pack: end;
    justify-content: flex-end;
    text-align: right;
    -webkit-box-flex: 0;
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0;
    font: normal 15px/1.5 GT-Eesti-Pro,Arial, Helvetica,sans-serif;
}

.panels {
    width: 100%;
    overflow: hidden;
}

    .panels figure {
        margin: 25px;
        float: left;
        color: white;
        background-color: var(--baseColour);
        text-align: center;
        font: normal 15px/1.5 GT-Eesti-Pro,sans-serif;
        border: 1px solid #000;
    }

    .panels img {
        width: 230px;
        height: 250px;
    }

.appmenu {
    width: 100vw;
    height: 50px;
    color: white;
    display: flex;
    text-align: center;
    background-color: var(--baseColour);
    margin: 0;
}

.appmenu_external {
    width: 100vw;
    height: 50px;
    color: black;
    display: flex;
    text-align: center;
    background-color: white;
    margin: 0;
}

.appsubmenu {
    display: flex;
    width: 100vw;
    color: white;
    text-align: center;
    background-color: var(--baseColour);
    border-top: 1px solid rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(0,0,0,.2);
    margin: 0;
    padding-top: 155px;
    left:0;
    position:fixed;
    z-index:15;
}

.appmenu_tools {
    display: block !important;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

.appmenu_tools_list {
    margin: 0;
    padding: 10px 0;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: center;
    height: 26px;
    list-style: none;
    font-size: 10pt;
}

.appmenu_tools_list div {
    width: 24px;
    height: 24px;
    margin-left: 30px;
    margin-right: 10px;
    background-repeat: no-repeat;
}

.appmenu_tools_list li:last-of-type, .appmenu_tools_list li:last-of-type {
    border: 0;
}

.appmenu_tools_list li:last-child, .appmenu_tools_list li:last-child {
    padding-right: 0;
    border: none;
}

.appmenu_tools_list li {
    display: contents;
    padding: 0 10px;
    border-right: 1px solid white;
    font: normal 13px/24px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
    line-height: 1.5;
}

.appmenu_tools_item a {
    color: white;
}

.appmenu_tools_item_external a {
    color: black;
}

.appmenu_tools_item span, .appmenu_tools_item_external span {
    padding-left: 10px;
    padding-right: 30px;
}

.griditem {
    display: grid;
}

.gridCol2 {
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
}

.gridCol3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.gridForm {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    grid-template-rows: auto;
    margin: 5px 5px 5px 0px;
}

.gridForm0 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin: 5px 5px 5px 0px;
}

.gridForm2 {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto;
    margin: 5px 5px 5px 0px;
}

.gridForm4 {
    display: grid;
    grid-template-columns: 120px 1fr 50px 120px 1fr 50px;
    grid-template-rows: auto;
    margin: 5px 5px 5px 0px;
}

.gridForm4x {
    display: grid;
    grid-template-columns: 100px 1fr 100px 1fr;
    grid-template-rows: auto;
    margin: 5px 5px 5px 0px;
}

.gridForm4s {
    display: grid;
    grid-template-columns: 100px 1fr 50px 100px 1fr;
    grid-template-rows: auto;
    margin: 5px 5px 5px 0px;
}

.gridQuestions {
    display: grid;
    grid-template-columns: 1fr 120px;
    grid-template-rows: auto;
    margin: 5px 5px 5px 0px;
}

.menuContainer {
    display: grid;
    grid-template-columns: 450px 1fr;
}

.menuWindow {
    display: grid;
    grid-template-columns: 450px 1fr;
}

.sidemenu {
    display: grid;
}

.sidemenu_tools_list {
    margin: 0;
    padding: 0;
    display: grid;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: center;
    height: 26px;
    list-style: none;
}

    .sidemenu_tools_list svg {
        width:24px;
        height:24px;
    }
    .sidemenu_tools_item {
        display: block;
        font: bold 11px/20px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
        margin-bottom: 20px;
    }

        .sidemenu_tools_item span {
            border-bottom: 1px solid var(--baseColour);
            display: block;
        }

.quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 50px;
}

.quicklink3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.quicklinks span {
    border:0;
    padding-left:10px;
}

.quicklinks a {
    display: flex;
    padding-top: 5px;
}

.textHeader {
    font: bold 16px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
    text-align: center;
    color: var(--baseColour);
    margin: 10px;
}

.box_list {
    display: flex;
    position: relative;
    padding: 0;
    margin: 0;
}

    .box_list li {
        display: flex;
        list-style: none;
        align-items: stretch;
        font-weight: normal;
        font-size: 11pt;
        padding-right: 10px;
    }

.RedBorder {
    border: 2px solid var(--baseColour);
}

.filter {
    overflow-y: scroll;
    width: 400px;
}

    .filter button, .popupWindowForm button {
        padding: 0;
        background-color: unset;
        border-radius: unset;
        border: unset;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        margin-left: 2px;
        margin-top: 4px;
    }

.filter input,.filter select {
    max-width: 200px;
}

.gridbutton {
    padding: 0;
    background-color: unset;
    border-radius: unset;
    border: unset;
    width: 24px;
    height: 24px;
    vertical-align: middle;
/*    margin-left: 5px;*/
    cursor: pointer;
}

.normalFont {
    font-weight: normal;
	font-size: 14px;
}

.overlaytext {
    font: bold 11px/20px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
}

.overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 200; /* Specify a stack order in case you're using a different order for other elements */
    vertical-align: middle;
}

.overlaytable {
    background-color: white;
    border: 2px solid var(--baseColour);
    margin: 0 auto;
    margin-top: 120px;
}

    .overlaytable input[type="number"] {
        width: 100px;
    }

.overlaylabel {
    padding-left: 10px;
    top: 0px;
}

.topbox {
    z-index: 20000;
}

button {
    color: white;
    background-color: var(--baseColour);
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 8px;
    border: 2px solid var(--darkColour);
}

.box {
    width:12px;
    height:12px;
    background-color:black
}

.scrollableDiv {
    padding:0px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.systemLinksMain {
    max-width: 100%;
}

.main_header {
    width: 70%;
    margin: 25px auto;
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
}

.header_title {
    margin-left: 50px;
    width: 50%;
    text-align: center;
}

.systemLinksContent {
    max-width: 80%;
    margin: 15px auto;
    text-align: center;
}

    .systemLinksContent{
        margin: 30px auto;
    }

    .systemLinks {
        list-style-type: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: 50px auto;
    }

        .systemLinks li {
            padding: 40px 10px;
            margin: 10px 5px;
            min-width: 45%;
            cursor: pointer;
            background-color: rgb(0, 120, 212);
            font-weight: bold;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-content: center;
        }

.systemLinks a {
    color: white;
    height: 100%;
    width: 100%;
    position: relative;
    display: inline-block;
}

.Window_ListGrid {
    display: grid;
    font-size: 10px;
    margin-top: 5px;
}

.window-buttons {
    grid-column: span 4;
    display: block;
    margin-top: 10px;
}

    .window-buttons button {
        margin: auto;
        display: block;
    }

        .window-header {
            background-color: var(--baseColour);
            color: white;
            padding: 10px;
            display: flex;
            margin: -8px -8px 5px -8px;
            font: bold 16px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
        }

.window-footer {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 10px 0px 10px 0px;
    text-align: right;
    border-top: 2px solid var(--baseColour);
}

    .window-footer button {
        margin: 0px 10px 0px;
    }

    .appwindow {
    width: 100%;
}

.window-panel, .window-panel-PE, .window-panel-PON, .window-panel-UACC, .window-panel-RE {
    margin-left: 20px;
    margin-right: 20px;
}

.overflow {
    overflow-y: scroll;
}

.panel-table {
    font: bold 11px/20px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
    border: unset;
}

.icon-button {
    padding: 0;
    background-color: unset;
    border-radius: unset;
    border: unset;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-left: 5px;
    margin-top: 5px;
}

.floatright {
    float: right;
}

.panel-groupbox {
    display: block;
    font: bold 11px/20px GT-Eesti-Pro,Arial, Helvetica,sans-serif;
    border: 1px;
    border-color: lightgray;
    border-style: solid;
    padding: 0px;
    margin: 0px;    
    border-spacing: 0;
    border-collapse: collapse;
    padding: 0px;
}

    .panel-groupbox label, input, select {
        margin: 2px;
    }

.panel-title {
    background-color: lightgray;
    margin: 0px;
    padding: 2px;
}

.k-grid td {
	font-size: 12px;
}

.k-grid .k-state-selected {
    background-color: var(--baseColour) !important;
    color: white;
}

.k-grid .k-alt.k-state-selected {
    background-color: var(--baseColour) !important;
    color: white;
}

.ky-button-solid-base {
    border-color: #bbb;
    color: #2e2e2e;
    background-color: #e9e9e9;
    background-image: linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,0));
}

.ky-button-solid-error {
    border-color: var(--darkColour);
    color: #fff;
    background-color: var(--baseColour);
    background-image: linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,0));
}

.ky-button {
    margin: 0;
    padding: 4px 8px;
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    background-repeat: repeat-x;
    background-position: 0 center;
    font: inherit;
    line-height: 1.42857143;
    text-align: center;
    text-decoration: none;
    display: -ms-inline-flexbox;
    display: inline-flex;
    overflow: hidden;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
    -ms-flex-pack: center;
    justify-content: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    position: relative;
}
