@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v15-cyrillic_latin-regular.eot');
    src: local('Open Sans Regular'), local('OpenSans-Regular'),
    url('../fonts/open-sans-v15-cyrillic_latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/open-sans-v15-cyrillic_latin-regular.woff2') format('woff2'),
    url('../fonts/open-sans-v15-cyrillic_latin-regular.woff') format('woff'),
    url('../fonts/open-sans-v15-cyrillic_latin-regular.ttf') format('truetype'),
    url('../fonts/open-sans-v15-cyrillic_latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/OpenSans-Semibold.eot');
    src: local('Open Sans Bold'), local('OpenSans-Bold'),
    url('../fonts/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-Semibold.woff2') format('woff2'),
    url('../fonts/OpenSans-Semibold.woff') format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v15-cyrillic_latin-700.eot');
    src: local('Open Sans Bold'), local('OpenSans-Bold'),
    url('../fonts/open-sans-v15-cyrillic_latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/open-sans-v15-cyrillic_latin-700.woff2') format('woff2'),
    url('../fonts/open-sans-v15-cyrillic_latin-700.woff') format('woff'),
    url('../fonts/open-sans-v15-cyrillic_latin-700.ttf') format('truetype'),
    url('../fonts/open-sans-v15-cyrillic_latin-700.svg#OpenSans') format('svg');
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: "Open Sans" !important;
    font-size: 14px;
    color: #111;
    letter-spacing: 0;
    background: #fbfbfb;
}

input, textarea {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;

    -webkit-appearance: none;
    -moz-appearance: none;
}

a {
    color: #2f3c51;
    text-decoration: none;
    font-weight: 600;
}

strong {
    font-weight: bold;
}

small {
    font-size: 0.4em;
    opacity: 0.5;
}

.scroll-wrapper {
    overflow-y: scroll;
    height: 100%;
}

.container {
    max-width: 1150px;
    margin: 0 auto;
}

.main-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 250px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.flex-bar {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column;
}

.flex-space {
    justify-content: space-between;
}

.flex-items-center {
    align-items: center;
}

.no-padding {
    padding: 0 !important;
}

.green-color {
    color: #8bc34a;
}

.red-color {
    color: #f44336;
}

.red-border {
    border: 1px solid #f44336 !important;
}

.timer {
    margin-right: 15px;
    font-size: 20px;
}

.logout {
    color: white;
    padding: 16px;
    font-size: 21px;
}

.flatpickr-quarter {
    width: 50%;
    float: left;
    background: rgb(245, 245, 245);
    cursor: pointer;
    text-transform: uppercase;
    padding: 4px;
    transition: .2s;
}

.flatpickr-quarter:hover {
    background: rgb(226, 226, 226);
}

.flatpickr-clear {
    border-top: 1px solid #f3f3f3;
    padding: 5px 10px;
    cursor: pointer;
    text-transform: uppercase;
    color: #434343;
    transition: .2s;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #1651bb;
}

::-webkit-scrollbar-track {
    /*background: rgb(249 249 249 / 69%);*/
}

.hover-over:hover {
    background: #e2e2e2;
}

/* Main header */
header {
    background: #1651bb;
    box-shadow: 0 1px 0 0 rgb(0 0 0 / 7%), 0 1px 3px rgb(0 0 0 / 10%);
}

.header-bar,
.header-nav {
    display: flex;
    /*width: 100%;*/
}

.logo {
    color: white;
    font-size: 18px;
}

.user-logo {
    align-items: center;
    margin-left: 10px;
}

.header-link {
    color: white;
    margin-right: 25px;
    text-transform: uppercase;
    padding: 20px 10px;
}

.header-link:hover {
    background: #1449a8;
}

.left-header-bar {
    width: 250px;
    background: #1449a8;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    transition: .5s;
    position: absolute;
    z-index: 1;
}

.left-header-bar.collapsed {
    width: 40px;
}

.left-header-bar.collapsed .logo {
    display: none;
}

.right-header-bar {
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.link-wrapper {
    align-items: center;
    margin-right: 10px;
}

.link-wrapper .user {
    position: relative;
    cursor: pointer;
    margin-right: 20px;
}

.user .icon {
    position: absolute;
    width: 33px;
    height: 33px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 33px;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    background: #fff;
    border-radius: 50%;
    text-align: center;
}

.manager-icon {
    display: inline-block;
    position: relative;
}

.manager-icon .icon {
    /*position: absolute;*/
    width: 25px;
    height: 25px;
    /*transform: translate(-50%, -50%);*/
    line-height: 23px;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    background: #03a9f4;
    border-radius: 50%;
    text-align: center;
    /*left: 16px;*/
    /*top: -6px;*/
    margin-left: 5px;
}

.sub-role-icon {
    color: #03a9f4;
    margin-left: 5px;
}


.user-menu {
    display: none;
    position: absolute;
    background: #1449a8;
    right: 0;
    top: 26px;
    z-index: 1;
}

.user-menu li {
    min-width: 120px;
    margin: 10px;
}


.user-menu li a {
    padding: 10px;
    display: block;
    color: #fff;
}

.user-menu li a:hover {
    background: #1651bb;
}

/* --- USER HISTORY --- */

.user-history-wrapper {
    display: flex;
    flex-direction: column;
}

.history-input input {
    width: 100%;
    border: 1px solid #e6e6e6;
    padding: 10px;
    border-radius: 3px;
}

.history-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    align-items: center;
}

.history-clear-btn a {
    text-transform: uppercase;
    color: #e57373;
    font-weight: 100;
    font-size: 13px;
}

.history-search-btn {
    text-transform: uppercase;
    color: #ffffff;
    padding: 10px 35px;
    cursor: pointer;
    background: #8bc34a;
}

.history-stats {
    border: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-evenly;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 3px;
}

.history-stats .stats {
    display: flex;
    align-items: center;
}

.history-stats .title {
    margin-right: 5px;
    font-size: 13px;
}

.history-stats .value {
    font-weight: bold;
}

.history-time {
    float: right;
}


/* Mobile navigation */
.mobile-nav {
    display: none;
    position: fixed;
    right: 0px;
    top: 0px;
    width: 270px;
    height: 120%;
    padding: 25px 25px;
    background: #f5f5f5;
    border-left: 1px solid #ccc;
    box-shadow: -2px 0px 3px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.mobile-nav.opened {
    display: block;
}

.mobile-nav > .close {
    position: absolute;
    right: 21px;
    top: 25px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    z-index: 1;
}

.mobile-nav > .close > img {
    width: 100%;
}

.mobile-nav > .section {
    display: block;
    margin: 0px 0px 10px 0px;
    font-size: 14px;
    line-height: 24px;
    color: #00a63f;
    font-weight: bold;
    text-transform: uppercase;
}

.mobile-nav > .menu {
    margin: 0px 0px 35px 0px;
}

.mobile-nav > .menu > li {
    display: block;
}

.mobile-nav > .menu > li > a {
    display: block;
    margin: 2px 0px;
    padding: 10px 0px;
    font-size: 16px;
    line-height: 16px;
    color: #444;
    text-transform: uppercase;
    font-weight: bold;
}

.mobile-nav > .menu > li:hover > a {
    color: #00a63f;
}

.mobile-nav > .menu > li.active > a {
    color: #00a63f;
}

.mobile-nav > .languages > li {
    display: inline-block;
    vertical-align: middle;
}

.mobile-nav > .languages > li > a {
    display: block;
    padding: 5px 12px;
    font-size: 16px;
    line-height: 16px;
    color: #444;
    text-transform: uppercase;
    font-weight: bold;
}

.mobile-nav > .languages > li:first-child > a {
    padding-left: 0px;
}

.mobile-nav > .languages > li.active > a {
    color: #00a63f;
}

/* Breadcrumbs */

.breadcrumbs-nav {
    max-width: 1150px;
    margin: 0px auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

.breadcrumbs-nav > a {
    color: #444;
}

.breadcrumbs-nav > a:hover {
    color: #111;
}

.breadcrumbs-nav > a.active {
    color: #09851d;
}

.breadcrumbs-nav > a:not(.active)::after {
    content: "•";
    padding: 0px 10px;
    color: #444;
}

/* Main content */
.main-content {
    display: flex;
}

.page-wrapper {
    flex: 1;
    overflow-y: scroll;
    padding: 20px;
    height: calc(100vh - 54px);
}

.main-content .page-title {
    display: block;
    margin: 0px 0px 25px 0px;
    font-size: 35px;
    line-height: 35px;
    color: #333;
}

.main-content.with-sidebar {
    display: flex;
    flex-flow: row nowrap;
}

.main-content.with-sidebar > .module-content {
    display: block;
    flex: 1 1 auto;
    padding-right: 45px;
}

.main-content.with-sidebar > .module-sidebar {
    display: block;
    flex: 0 0 auto;
    width: 280px;
}

.total-time {
    font-size: 14px;
    margin: 10px 0;
}

.total-time span {
    color: #847878;
    font-size: 14px;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #fff;
    box-shadow: inset -2px 0 0 0 rgb(0 0 0 / 2%);
    border-right: 1px solid #e6e6e6;
    overflow-y: scroll;
    height: calc(100vh - 54px);
    transition: .5s;
}

.sidebar.collapsed {
    width: 0px;
}

.sidebar-content {
    transition: .2s;
}

/*.sidebar.collapsed .sidebar-content {*/
/*    opacity: 0;*/
/*}*/

.sidebar-content .menu {
    margin-top: 20px;
}

.main-area {
    display: flex;
    min-height: 100%;
}

.side-menu {
    padding: 10px;
}

.side-menu a {
    display: block;
    padding: 10px;
    border-radius: 3px;
    font-size: 13px;
}

.side-menu a i {
    margin-right: 15px;
    font-size: 20px;
    color: #847878;
}

.side-menu a:hover {
    background: #ececec;
}

.sidebar .title {
    margin-left: 20px;
    text-transform: uppercase;
    color: #b1b1b1;
}

.project-count {
    margin: 0 10px;
}

/* Mobile submenu */
.mobile-submenu {
    display: none;
    margin: 0px 0px 25px 0px;
}

.mobile-submenu > li {
    display: block;
    margin: 0px 0px 3px 0px;
}

.mobile-submenu > li:last-child {
    margin-bottom: 0px;
}

.mobile-submenu > li > a {
    display: block;
    padding: 15px 18px;
    font-size: 15px;
    line-height: 17px;
    color: #192853;
    background: #f5f6f6;
    border-left: 4px solid #ddd;
}

.mobile-submenu > li:hover > a {
    color: #001040;
    border-left-color: #09851d;
}

.mobile-submenu > li.active > a {
    color: #001040;
    border-left-color: #09851d;
}

/* Main footer */
.main-footer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: #222;
    padding: 15px 0px;
}

.main-footer > .bottom {
    display: block;
    max-width: 1150px;
    margin: 0px auto;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    text-align: center;
}

@media all and (max-width: 1200px) {
    .main-header > .upper > .middle {
        width: 100%;
        padding: 0px 20px;
    }

    .main-header > .slide {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-nav > .logo {
        left: 20px;
    }

    .main-content {
        width: 100%;
    }

    .main-footer > .bottom {
        width: 100%;
        padding: 0px 20px;
    }
}

@media all and (max-width: 800px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
        margin: 0 auto;
    }

    .header-nav > .menu {
        display: none;
    }

    .header-nav > .languages {
        display: none;
    }

    .header-nav > .mobile-trigger {
        display: block;
    }

    .main-content.with-sidebar {
        display: block;
    }

    .main-content.with-sidebar > .module-content {
        padding-right: 0px;
    }

    .main-content.with-sidebar > .module-sidebar {
        display: none;
    }

    .mobile-submenu {
        display: block;
    }
}

@media all and (max-width: 500px) {
    .main-header > .slide > .title {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 7px;
    }

    .main-header > .slide > .text {
        font-size: 14px;
        line-height: 16px;
    }

    .main-footer > .bottom {
        font-size: 13px;
    }
}

@media all and (max-width: 400px) {
    .mobile-nav {
        width: 75%;
    }
}


/* ********** APP.KEX.EE ************ */
/* ********** APP.KEX.EE ************ */
/* ********** APP.KEX.EE ************ */
/* ********** APP.KEX.EE ************ */
/* ********** APP.KEX.EE ************ */
/* ********** APP.KEX.EE ************ */
.delete-waybill-btn {
    cursor: pointer;
    border: 1px solid red;
    border-radius: 8px;
    padding: 2px 15px;
    color: red;
    text-align: center;
}

.delete-waybill-btn:hover {
    background: red;
    color: #fff;
}

.hex-value {
    font-size: 11px;
    color: grey;
}

.add-new-btn a {
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 10px;
    background: #205ecf;
    color: #fff;
}

.add-new-btn a:hover {
    background: #1a53ba;
}

.back-btn {
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
}

.page-back .back-btn {
    color: #b1b1b1;
}

.page-back .back-btn:hover {
    color: #919191;
}

.metsahake-change-input {
    background: none;
    border: 1px solid white;
    transition: .2s;
}

.metsahake-change-input:hover {
    background: white;
    border: 1px solid black;
}

/* ------ LOGIN SCREEN & INPUTS --------- */
.input-row {
    display: flex;
    flex-direction: column;
}

.input-row:not(:last-child) {
    margin-bottom: 10px;
}

.input-row label {
    display: block;
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    color: #444;
}

.input-row input {
    border: 1px solid #dddddd;
    padding: 10px 8px;
    border-radius: 3px;
}

.input-row .title {
    font-size: 15px;
    text-transform: uppercase;
    color: #b1b1b1;
    margin-bottom: 5px;
}

.input-row .value {
    font-weight: 600;
}


.input-row .input-error {
    border: 1px solid red;
}

.input-row select {
    padding: 8px;
    border: 1px solid #dddddd;
}

.time-input {
    margin-right: 10px;
}

.time-label {
    margin-bottom: 5px;
    font-size: 11px;
    color: #bdbdbd;
}

.time-delete {
    border: 1px solid transparent;
    padding: 10px;
    border-radius: 3px;
    transition: .2s;
    cursor: pointer;
    position: relative;
    top: 3px;
}

.time-delete:hover {
    border: 1px solid #f44336;
    color: #f44336;
}

.login-inner .input-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}


.login-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 50px;
    overflow: scroll;
    height: 100vh;
}

.login-container h1 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.login-btn {
    padding: 16px;
    border: none;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: -20px;
    background-color: #205ecf;
}

.login-btn:hover {
    background-color: #1b52b7;
}

.login-outer {
    width: 350px;
    display: block;
    margin: 0 0 20px 0;
    padding: 30px 30px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%);
}

.login-inner {
    max-width: 400px;
}

.connection-list li {
    background: #1651bb;
    padding: 5px;
    cursor: pointer;
    color: #fff;
}

.connection-list li:after {
    content: "\f00d";
    font-family: FontAwesome;
    font-size: 14px;
    float: right;
}

.connection-list li:not(:last-child) {
    margin-bottom: 5px;
}

.connection-limits {
    position: relative;
    top: -8px;
}

/* ---- KEX PAGE --------------- */

.archive-btn {
    border: none;
    background: none;
    color: #c1c1c1;
    text-transform: uppercase;
    cursor: pointer;
}

.archive-btn:hover {
    color: red;
}

.save-btn {
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    background: #2e9061;
    border-radius: 2px;
}

.save-btn:hover {
    background: #277e56;
}

.page-header {
    display: flex;
    margin-bottom: 20px;
}

.header-title {
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}

.page-header .title-container {
    margin-top: 10px;
}

.page-blocks {
    display: flex;
    margin: -10px;
    flex-wrap: wrap;
}

.page-column {
    flex: 1;
    margin-bottom: -20px;
}

.single-column {
    max-width: 400px;
}

.page-inputs {
    background: white;
    padding: 20px;
    box-shadow: 0 1px 3px 0 rgb(60 60 60 / 20%);
    margin: 20px 10px;
}

.input-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    align-items: center;
}

.column img {
    width: 100px;
    cursor: pointer;
}

.column img.open {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

/* ---- EXCEL --------------- */
.excel-btn {
    border: 1px solid #8bc34a;
    display: block;
    text-align: center;
    padding: 10px;
    color: #8bc34a;
    cursor: pointer;
    transition: .3s;
}

.excel-btn:hover {
    border: 1px solid #709a3b;
    color: #709a3b;
}

/* ---- PAGINATION --------------- */
.pagination {
    display: flex;
    align-self: center;
    margin-left: -5px;
    margin-top: 10px;
}

.pagination ul li {
    display: inline-block;
    border: 1px solid #dddddd;
    padding: 10px;
    margin: 0 5px;
    cursor: pointer;
}

.pagination .active {
    background: #1651bb;
    color: white;
    border: 1px solid #1651bb;
}

.paginator-list li.disabled {
    opacity: 0.5;
    cursor: initial;
}

.total-rows {
    align-self: center;
}

/* ---- RESPONSIVE TABLE --------------- */
/*.rsp-table {*/
/*    display: table;*/
/*    width: 100%;*/
/*    font-size: 1rem;*/
/*    border-bottom: 2px solid #dddddd;*/
/*    color: #8d8d8d;*/
/*}*/

.page-table {
    background: white;
    padding: 10px;
    box-shadow: 0 0 5px -3px black;
}

.rsp-table {
    display: table;
    width: 100%;
    font-size: 1rem;
    /* border-bottom: 2px solid #dddddd; */
    color: #8d8d8d;
}

.rsp-table a {
    color: #111;
}

.rsp-table .table-head {
    display: table-header-group;
}

/*.rsp-table .table-head .column {*/
/*    color: #fcfcfc;*/
/*    border-bottom: none;*/
/*    font-weight: 700;*/
/*    padding: 10px;*/
/*    background: #404040;*/
/*    border-right: 1px solid #525252;*/
/*    font-size: 14px;*/
/*    */
/*}*/

.rsp-table .table-head .column {
    color: rgb(51, 51, 51);
    /* border-bottom: none; */
    font-weight: 600;
    /* padding: 10px; */
    /* background: #404040; */
    /* border-right: 1px solid #525252; */
    /* font-size: 14px; */
}

.rsp-table .rsp-row {
    display: table-row;
}

/*.rsp-table .rsp-row:nth-child(odd) {*/
/*    background: #f7f7f7;*/
/*}*/

.rsp-table .rsp-row:hover {
    background: #eaeaea;
}

.rsp-table .row:last-child .column {
    border-bottom: none;
}

.rsp-table .column {
    display: table-cell;
    border-bottom: 1px solid #eeeeee;
    padding: 10px;
    vertical-align: middle;
    line-height: 20px;
    font-size: 14px;
    color: #111;
}

.tight-table .column {
    font-size: 12px;
}

.page-table.tight-table .rsp-table .column {
    padding: 3px;
}

.width-table .page-table.tight-table .rsp-table .column {
    width: 100px;
}

.width-table .header-table {
    box-shadow: none;
    border: none;
}

.width-table .data-headline {
    font-size: 20px;
    margin: 30px 0 10px 0;
    cursor: pointer;
    border: 1px solid #1651bb;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 2px;
    min-width: 140px;
    text-align: center;
    color: #1651bb;
}

.width-table .closed {
    display: none;
}

.width-table .page-table {
    display: flex;
    flex-direction: column;
}

.skyfms-date-select {
    margin-left: 10px;
    text-transform: uppercase;
    padding: 0px 15px;
}

.border-column {
    border-left: 3px solid #03a9f4;
    padding-left: 7px !important;
}

.rsp-table .column-head {
    border-bottom: 2px solid rgb(204, 204, 204);
}


.rsp-table .column:last-child {
    text-align: right;
}

.rsp-table .column:nth-child(1) {
    /*border-left: 1px solid #eeeeee;*/
}

@media all and (max-width: 767px) {
    .rsp-table {
        display: block;
        border-bottom: none;
        font-size: 1rem;
    }

    .rsp-table .table-head {
        position: absolute;
        top: -1000em;
        left: -1000em;
    }

    .rsp-table .rsp-row {
        display: block;
        border: 1px solid #eeeeee;
        border-top: none;
        border-bottom: 2px solid #dddddd;
        margin: 0 0 10px 0;
    }

    .rsp-table .rsp-row:nth-child(odd) {
        background: #fff;
    }

    .rsp-table .column {
        overflow: hidden;
        display: none;
        text-align: right;
        position: relative;
        background: #fff;
    }

    .rsp-table .column:first-child {
        cursor: pointer;
    }

    .rsp-table .column:last-child {
        border-bottom: none;
        border-right: none;
    }

    .rsp-table .column:nth-child(odd) {
        background: #fff;
    }

    .rsp-table .column:nth-child(1) {
        background: #1651bb;
        background-position: right 10px center;
        background-size: 22px 22px;
        color: #fcfcfc;
        border: none;
        font-weight: 700;
        text-align: left;
    }

    .rsp-table .column:first-child {
        display: block;
        transition: .2s ease;
        -webkit-transition: .2s ease;
    }

    .rsp-table .rsp-row .column:first-child.active {
        background: #0e3885;
        background-position: right 10px center;
        background-size: 22px 22px;
        transition: .2s ease;
        -webkit-transition: .2s ease;
    }

    .rsp-table .column:first-child:before {
        width: auto;

    }

    .frontpage-admin .rsp-table .column:nth-child(2) {
        display: block;
    }

    .rsp-table .column:before {
        content: " " attr(data-label) " ";
        font-weight: 700;
        float: left;
        display: block;
        margin-right: 6px;
    }

    .rsp-table .column.open {
        display: block;
    }
}

/* --- ENTER APP SCREEN --- */
.enter-info {
    background: #e6f2ff;
    border-radius: 10px;
    margin-bottom: 40px;
    padding: 15px;
    display: flex;
}

.enter-info p {
    color: #3457c8;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.enter-info a {
    font-weight: bold;
    color: #3457c8;
    text-decoration: underline;
    margin-right: 20px;
    text-transform: uppercase;
}

.enter-info i {
    color: #1651bb;
    background: #c5d4fc;
    border-radius: 100%;
    padding: 2px 4px;
    font-size: 25px;
    margin-right: 15px;
}

.enter-btn {
    display: block;
    text-align: center;
    padding: 20px 15px;
    margin-bottom: 20px;
    background: #1651bb;
    border: none;
    color: white;
    text-transform: uppercase;
    border-radius: 5px;
}

.enter-btn:hover {
    background-color: #164499;
}

/* --- CHECKBOX --- */
.nice-checkbox label {
    color: #3457c8;
    font-weight: 600;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .nice-checkbox input[type=checkbox],
    .nice-checkbox input[type=radio] {
        --active: #1651bb;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, .3);
        --border: #1651bb;
        --border-hover: #275EFE;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #E1E6F9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }

    .nice-checkbox input[type=checkbox]:after,
    .nice-checkbox input[type=radio]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }

    .nice-checkbox input[type=checkbox]:checked,
    .nice-checkbox input[type=radio]:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }

    .nice-checkbox input[type=checkbox]:disabled,
    .nice-checkbox input[type=radio]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }

    .nice-checkbox input[type=checkbox]:disabled:checked,
    .nice-checkbox input[type=radio]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }

    .nice-checkbox input[type=checkbox]:disabled + label,
    .nice-checkbox input[type=radio]:disabled + label {
        cursor: not-allowed;
    }

    .nice-checkbox input[type=checkbox]:hover:not(:checked):not(:disabled),
    .nice-checkbox input[type=radio]:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }

    .nice-checkbox input[type=checkbox]:focus,
    .nice-checkbox input[type=radio]:focus {
        box-shadow: 0 0 0 var(--focus);
    }

    .nice-checkbox input[type=checkbox]:not(.switch),
    .nice-checkbox input[type=radio]:not(.switch) {
        width: 21px;
    }

    .nice-checkbox input[type=checkbox]:not(.switch):after,
    .nice-checkbox input[type=radio]:not(.switch):after {
        opacity: var(--o, 0);
    }

    .nice-checkbox input[type=checkbox]:not(.switch):checked,
    .nice-checkbox input[type=radio]:not(.switch):checked {
        --o: 1;
    }

    .nice-checkbox input[type=checkbox] + label,
    .nice-checkbox input[type=radio] + label {
        font-size: 14px;
        line-height: 21px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-left: 4px;
    }

    .nice-checkbox input[type=checkbox]:not(.switch) {
        border-radius: 7px;
    }

    .nice-checkbox input[type=checkbox]:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }

    .nice-checkbox input[type=checkbox]:not(.switch):checked {
        --r: 43deg;
    }

    .nice-checkbox input[type=checkbox].switch {
        width: 38px;
        border-radius: 11px;
    }

    .nice-checkbox input[type=checkbox].switch:after {
        left: 2px;
        top: 2px;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }

    .nice-checkbox input[type=checkbox].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }

    .nice-checkbox input[type=checkbox].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }

    .nice-checkbox input[type=radio] {
        border-radius: 50%;
    }

    .nice-checkbox input[type=radio]:after {
        width: 19px;
        height: 19px;
        border-radius: 50%;
        background: var(--active-inner);
        opacity: 0;
        transform: scale(var(--s, 0.7));
    }

    .nice-checkbox input[type=radio]:checked {
        --s: .5;
    }
}


/*.nice-checkbox {*/
/*    cursor: pointer;*/
/*    color: #383A3F;*/
/*    display: block;*/
/*    font-size: 1.2em;*/
/*}*/
/*label input[type=checkbox] + .label-text:hover:before {*/
/*    color: #0e3885;*/
/*}*/
/*.nice-checkbox input[type=checkbox] {*/
/*    display: none;*/
/*}*/
/*.nice-checkbox input[type=checkbox] + .label-text:before {*/
/*    content: "";*/
/*    color: #dddfe6;*/
/*    font-family: "fontAwesome";*/
/*    line-height: 1;*/
/*    width: 1em;*/
/*    display: inline-block;*/
/*    margin-right: 5px;*/
/*}*/
/*.nice-checkbox input[type=checkbox]:checked + .label-text:before {*/
/*    content: "";*/
/*    color: #0e3885;*/
/*    animation: tick 150ms ease-in;*/
/*}*/
/*.nice-checkbox input[type=checkbox]:disabled + .label-text:before {*/
/*    content: "";*/
/*    color: #dddfe6;*/
/*}*/

@keyframes tick {
    0% {
        transform: scale(0);
    }
    90% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* --- MODAL --- */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 30vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    position: relative;
}

/* The Close Button */
.modal-close {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 0;
    right: 6px;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.header-field {
    border-bottom: 1px solid #dcdada;
    padding-bottom: 4px;
    text-transform: uppercase;
    font-size: 18px;
}

.body-field {
    margin-top: 20px;
}

/* --- ROTATE IMAGE --- */
.rotate-image {
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* --- PROJECTS --- */

.input-row .select2-container {
    width: 100% !important;
}

.select2-results__options {
    max-height: 20vh;
    overflow-y: auto;
}

.project-wrapper h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.page-wrapper .error input,
.page-wrapper .error select,
.page-wrapper .error .select2-container .select2-selection--single {
    border: 1px solid red !important;
}

.project-status {
    text-transform: uppercase;
    font-size: 15px;
}

.select2-selection {
    border: 1px solid #dddddd;
    background: white;
}

.select2-selection:after {
    content: "\f078";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
    font-family: fontAwesome;
    position: absolute;
    right: 5px;
    font-size: 8px;
}

.select2-container .select2-selection--single {
    display: flex;
    align-items: center;
    padding: 20px 0px;
    border-radius: 3px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    height: 16px;
}

.project-extra-info {
    border: 1px solid #dddddd;
}

.select2-results__option[aria-selected=true] {
    background: rgb(196, 196, 196);
    color: white;
}

.select2-results__option:hover {
    background: #42a5f5;
    color: white;
}

.select2-selection__rendered {
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: 600;
}

/* --- FRONTPAGE --- */


.date-picker {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 5px;
    border: 1px solid #dddddd;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 13px;
}

.select-bar {
    position: relative;
}

.select-bar select {
    border: 1px solid #dddddd;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 6px;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 13px;

    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: none;
}

.select-bar:after {
    content: "\f078";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
    font-family: fontAwesome;
    position: absolute;
    right: 5px;
    top: 15px;
    font-size: 8px;
}

.execute-filters button {
    width: 100%;
    border: none;
    padding: 13px;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
    background: #1449a8;
    cursor: pointer;
    font-size: 12px;
}

.execute-filters button:hover {
    background: #12429d;
}

.reset-filter {
    text-align: center;
    display: block;
    padding: 14px;
    margin-bottom: 10px;
    background: #f44336;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.reset-filter:hover {
    background: #e03f32;
}

.completed-projects i {
    /*color: #8bc34a;*/
}

.started-projects i {
    /*color: #ffc107;*/
}

.created-projects i {
    /*color: #f44336;*/
}

/**
 * STATUS
 * created - Loomisel
 * started - Ootel
 * progress - Käimas
 * completed - Lõpetatud
 * failed - Luhtunud
 * paused - Pausil
 * archived - Arhiveeritud
 */
.status-color-created {
    background: #f44336;
}

.status-color-started {
    background: #2196f3;
}

.status-color-progress {
    background: #ffc107;
}

.status-color-completed {
    background: #8bc34a;
}

.status-color-failed {
    background: #ff1300;
}

.status-color-paused {
    background: #2196f3;
}

.status-color-archived {
    background: #727272;
}

.status-box {
    width: 120px;
    display: inline-block;
    text-align: center;
    padding: 3px;
    box-shadow: inset 0 -1px 0 0 rgb(0 0 0 / 22%);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.status-box-big {
    padding: 7px;
    font-size: 13px;
}

.admin-bar {
    display: flex;
    background: white;
    margin-top: 20px;
    border: 1px solid #dddddd;
    padding: 20px;
    justify-content: space-between;
}

.left-bar,
.right-bar {
    align-items: center;
}

.right-bar
.project-header-settings {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}

.wide-view {
    display: flex;
    align-items: center;
}

.wide-view label {
    margin-left: 5px;
}

.toggle-sidebar i {
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.create-new-project a {
    display: inline-block;
    padding: 10px 65px;
    text-transform: uppercase;
    background: #2e9061;
    color: white;
}

.create-new-project a:hover {
    background: #298359;
}

.project-overview {
    display: flex;
    justify-content: center;
}

.data-sidebar {
    padding: 15px;
}

.table-bar {
    flex: 1;
    margin: 15px;
}

.table-bar h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    background: #efefef;
    padding: 10px;
    border: 1px solid #e6e6e6;
    font-weight: bold;
    border-radius: 2px;
}

.search-table {
    margin-bottom: 10px;
}

.search-table input {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #dddddd;
    padding: 10px 5px;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 13px;
}

.extra-info-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.extra-info-icon {
    margin: 0 2px;
    padding: 4px 12px;
    font-size: 20px;
    cursor: pointer;
    color: #404040;
}

.extra-info-icon:hover {
    background: #f8f8f8;
}

.data-view .select2-container {
    max-width: 200px;
}

.no-results {
    margin: 10px;
}

.no-work {
    margin: 10px 0;
    color: #9c9c9c;
}

/* --- LOG TABLE --- */
.log-table {
    width: 100%;
}

.log-table th {
    font-size: 15px;
    background: #dcdada;
    padding: 10px;
}

.log-table td {
    border: 1px solid #dcdada;
    padding: 10px;
}

/* --- USER FRONTPAGE --- */

.user-front {
    height: calc(100vh - 50px);
    overflow: auto;
}

.change-status-btn {
    cursor: pointer;
}

.user-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.user-control-bar h1 {
    font-weight: bold;
    font-size: 26px;
    margin: 30px 20px 10px 15px;
}

.change-status {
    display: flex;
    width: 100%;
    margin: 15px 0;
    padding: 18px;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    justify-content: center;
}

.change-status:hover {
    box-shadow: inset 0 -2px 0 0 rgb(0 0 0 / 22%);
}

/* --- EDIT PAGE --- */

.button-row {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
}

.button-row .row-btn {
    padding: 10px 20px;
    cursor: pointer;
}

.generate-token-btn {
    background: #2196f3;
    border: 1px solid #2196f3;
    color: white;
    border-radius: 2px;
    text-transform: uppercase;
    align-self: center;
    margin-right: 10px;
}

.generate-token-btn:hover {
    background: #0f76c6;
}

.send-token-btn {
    border: 1px solid #2196f3;
    color: #2196f3;
    border-radius: 2px;
    text-transform: uppercase;
    align-self: center;
}

.send-token-btn:hover {
    border: 1px solid #0f76c6;
    color: #0f76c6;
}

/* --- METSAHAKE --- */
.data-image {
    width: 100px;
    cursor: pointer;
}

.data-image.open {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

/* --- SKYFMS PAGE --- */

.blue-btn {
    border: 1px solid #1651bb;
    padding: 10px;
    border-radius: 2px;
    color: #1651bb;
    cursor: pointer;
}

.blue-btn a {
    color: #1651bb;
}

.refresh-btn {
    border: 1px solid #1651bb;
    padding: 10px;
    border-radius: 2px;
    color: #1651bb;
    cursor: pointer;
    text-transform: uppercase;
}

.refresh-btn:hover {
    border: 1px solid #113b8e;
    color: #113b8e;
}

.panel-header {
    margin-bottom: 20px;
}

.last-updated {
    margin-left: 10px;
}

.last-updated span {
    font-weight: bold;
}

.panel-search {
    display: flex;
    flex-wrap: wrap;
}

.panel-search input {
    border: 1px solid rgb(133, 133, 133);
    border-radius: 2px;
    padding: 7px;
    max-width: 100px;
    text-align: center;
}

.panel-search input,
.panel-search select {
    margin-left: 5px;
}

.reg-no.long {
    max-width: 800px;
    text-align: left;
}

/* --- TABS --- */

.tabs {
    display: flex;
    flex-wrap: wrap;
    background: #efefef;
}

.tabs .input {
    position: absolute;
    opacity: 0;
}

.tabs .label {
    width: 100%;
    padding: 20px 30px;
    background: #e5e5e5;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #7f7f7f;
    transition: background 0.1s, color 0.1s;
}

.tabs .label.loading {
    display: flex;
    justify-content: center;
    color: #bfbfbf;
}

.tabs .label:hover {
    background: #d8d8d8;
}

.tabs .label:active {
    background: #ccc;
}

.tabs .input:focus + .label {
    z-index: 1;
}

.tabs .input:checked + .label {
    background: #fff;
    color: #000;
}

.tabs .input:checked + .label.loading {
    background: #fff;
    color: #d1d1d1;
}

.tabs .panel {
    display: none;
    padding: 20px 30px 30px;
    background: #fff;
    width: 100%;
}

@media (min-width: 600px) {
    .tabs .label {
        width: auto;
    }

    .tabs .panel {
        order: 99;
    }
}

.tabs .input:checked + .label + .panel {
    display: block;
}

.spinner {
    position: absolute;
    color: #1651bb;
}

/* --- ANIMATIONS --- */

.spinning {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* --- MOBILE VIEWS --- */

@media all and (min-width: 1000px) {
    .show-mobile {
        display: none;
    }
}

@media all and (max-width: 1000px) {
    .data-sidebar {
        margin: 0;
        width: 100%;
    }

    .data-view .select2-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .data-view {
        flex-wrap: wrap;
    }

    .page-table {
        background: none;
        padding: 0px;
        box-shadow: 0 0 0 0 black;
        margin-left: 15px;
    }

    .extra-info-icons {
        justify-content: flex-end;
    }

    .wide-view {
        display: none;
    }

    .modal-content {
        width: 97%;
    }

    .sidebar {
        position: absolute;
        z-index: 1;
    }

    .single-column {
        max-width: 100%;
    }

    .user-front,
    .page-wrapper {
        height: calc(100vh - 170px);
    }

    .enter-study a {
        display: block;
    }

    .enter-study a:not(:last-child) {
        margin-bottom: 10px;
    }

    .user-logo {
        margin-left: 25px;
    }
}

input:focus {
    border: 1px solid #026df1;
}



















