/* inter-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/inter-v12-latin-200.eot'); /* IE9 Compat Modes */
    src: url('../fonts/inter-v12-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/inter-v12-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/inter-v12-latin-200.woff') format('woff'), /* Modern Browsers */
    url('../fonts/inter-v12-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/inter-v12-latin-200.svg#Inter') format('svg'); /* Legacy iOS */
}

/* inter-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v12-latin-regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/inter-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/inter-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/inter-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/inter-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/inter-v12-latin-regular.svg#Inter') format('svg'); /* Legacy iOS */
}

/* inter-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/inter-v12-latin-500.eot'); /* IE9 Compat Modes */
    src: url('../fonts/inter-v12-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/inter-v12-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/inter-v12-latin-500.woff') format('woff'), /* Modern Browsers */
    url('../fonts/inter-v12-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/inter-v12-latin-500.svg#Inter') format('svg'); /* Legacy iOS */
}

/* inter-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-v12-latin-700.eot'); /* IE9 Compat Modes */
    src: url('../fonts/inter-v12-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/inter-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/inter-v12-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../fonts/inter-v12-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/inter-v12-latin-700.svg#Inter') format('svg'); /* Legacy iOS */
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 13px;
    background-color: #f8f8fa;
    color: #52545b;
    user-select: none;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    display: none;
    box-shadow: inset 0 0 2px #ccc;
    border-radius: 4px;
    background-color: #e7e7e9;
    /* border: 1px solid #4dad33; */
}
::-webkit-scrollbar-thumb {
    background: #4dad33;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3c8a09;
}

/* CUSTOM CHECKBOX */
.cbx-container {
    display: inline;
    position: relative;
    padding-left: 24px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.cbx-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.cbx-checkmark {
    position: absolute;
    top: -1px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #e7e7e9;
}
.cbx-container:hover input:not([disabled]) ~ .cbx-checkmark {
    background-color: #ccc;
}
.cbx-container input:checked ~ .cbx-checkmark {
    background-color: #4dad33;
}
.cbx-container input:disabled:not([checked]) ~ .cbx-checkmark {
    background-color: red;
}
.cbx-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.cbx-container input:checked ~ .cbx-checkmark:after,
.cbx-container input:disabled ~ .cbx-checkmark:after{
    display: block;
}
.cbx-container input:checked ~ .cbx-checkmark:after {
    left: 6px;
    top: 3px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cbx-container input:disabled:not([checked]) ~ .cbx-checkmark:after,
.cbx-container input:disabled:not([checked]) ~ .cbx-checkmark:before{
    content:'';
    position: absolute;
    top:50%;
    left:50%;
    background-color: #ffffff;
    width: 16px;
    height:3px;
}
.cbx-container input:disabled:not([checked]) ~ .cbx-checkmark:after {
    transform:translate(-50%,-50%) rotate(-45deg);
}
.cbx-container input:disabled:not([checked]) ~ .cbx-checkmark:before {
    transform:translate(-50%,-50%) rotate(45deg);
}

/* CUSTOM RADIO BUTTON */
.rbt-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.rbt-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.rbt-checkmark {
    position: absolute;
    top: calc(50% - 10px);
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}
.rbt-container:hover input ~ .rbt-checkmark {
    background-color: #ccc;
}
.rbt-container:active input ~ .rbt-checkmark {
    background-color: rgba(77,173,51,.5);
}
.rbt-container input:focus ~ .rbt-checkmark {
    box-shadow: 0 0 0 0.25rem rgba(77,173,51,.5);
}
.rbt-container input:checked ~ .rbt-checkmark {
    background-color: #4dad33;
}
.rbt-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.rbt-container input:checked ~ .rbt-checkmark:after {
    display: block;
}
.rbt-container .rbt-checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}


/* CUSTOM DROPDOWN */
#myInput {
    box-sizing: border-box;
    /* background-image: url('searchicon.png'); */
    /* background-position: 14px 12px; */
    /* background-repeat: no-repeat; */
    font-size: 16px;
    padding: 12px 14px;
    border: none;
    width: 500px;
    line-height: 1;
}
#myInput:focus {outline: 2px solid #4dad33;}
.dropdown {
    position: relative;
    display: inline-block;
}
#myInput:focus + .dropdown-content {
    display: block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 400px;
    border: 1px solid #ddd;
    z-index: 1;
    max-height: 40vh;
    overflow: auto;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {background-color: #e7e7e9}
.show {display:block;}


/* FLOATING LABEL */
.user-input-wrp {
    position: relative;
    width: 100%;
}
.user-input-wrp .inputText{
    width: 100%;
    outline: none;
    border:none;
    border-bottom: 2px solid white;
    background-color: transparent;
    box-shadow: none !important;
    font-weight: normal;
    padding-left: 4px;
    border-radius: 0;
}
.user-input-wrp .inputText:focus,
.user-input-wrp input:not(:focus):valid {
    border-color: #4dad33;
}
.user-input-wrp .floating-label {
    position: relative;
    pointer-events: none;
    top: 0;
    left: calc(-100% + 2px);
    transition: 0.2s ease all;
}
.user-input-wrp input:focus ~ .floating-label,
.user-input-wrp input:not(:focus):valid ~ .floating-label{
    top: -24px;
    left: -100%;
    font-size: 10px;
    opacity: 1;
}


/* LOGIN */
.login-label {
    text-align: left;
    margin-bottom: .5rem;
}
.login-label > label {
    color: #4dad33;
    text-transform: uppercase;
    font-size: 15px;
}
.login-input {
    margin-bottom: 2rem;
}
.login-input > input {
    width: 100%;
    border-radius: 10px;
    height: 60px;
    border: none;
    outline: none;
    box-shadow: inset 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
    padding: 15px;
}
.login-input > input:focus {
    outline: 2px solid #4dad33;
}
.login-button > button {
    height: 60px;
    text-transform: uppercase;
    font-size: 20px;
}

/* TABLE */
thead > tr {
    background-color: #2c3540;
    color: white;
}
th:not(:last-child) {
    border-right: 2px solid white;
}
thead > tr:nth-child(even) {
    border-bottom: 2px solid white;
    background-color: #4dad33;
}
tr:nth-child(even) {
    background-color: #d9ecd5;
}
tr[onclick] {
    cursor: pointer;
}
th, td {
    padding: 6px 8px;
}
th {
    white-space: nowrap;
    text-align: center;
    vertical-align: bottom;
}
th > input {
    width: 100%;
    border: none;
    outline: none;
    color: #52545b;
    font-weight: normal;
}
td {
    line-height: 1.4;
}
td > a {
    color: inherit;
    display: block;
}
.table-container {
    width: 100%;
    height: 100%;
    overflow: scroll;
}
.table-container > table {
    overflow: hidden;
    min-width: 100%;
    table-layout: fixed;
}

/* NAVBAR */
.navbar-fixed-top {
    z-index: 90;
    background-color: #f6f6f9;
}
.navbar-fixed-left {
    height: 100vh;
    padding-top: 50px;
    background-color: #e9e9ea;
    position: fixed;
    top: 0;
    left: 0;
    user-select: none;
    width: 260px;
    z-index: 100;
}
.navbar-headmenu {
    margin-top: 2rem;
    font-size: 20px;
}
.navbar-headmenu > a {
    padding-left: 30px;
    padding-right: 40px;
}
.navbar-submenu {
    font-size: 15px;
}
.navbar-submenu > li > a {
    padding-left: 30px;
    padding-right: 50px;
}
.nav > li > a:hover {
    color: #4dad33;
    background: none;
}
.nav > li > a:focus {
    color: #4dad33;
    background: none;
}


li > a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding-top: 3px;
    padding-bottom: 3px;
    font-weight: bold;
}
li > a:hover {
    text-decoration: none;
    color: #4dad33;
}

.caret-big-down,
.caret-big-up {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    color: #4dad33;
}
.caret-big-down {
    border-top: 10px dashed;
}
.caret-big-up {
    border-bottom: 10px dashed;
}


.content {
    margin-top: 50px;
    height: calc(100vh - 160px);
}

.container {
    height: 100%;
    padding: 0;
}

.active {
    color: #4dad33;
}

.selected {
    background-color: #4dad33 !important;
    color: white;
    font-weight: bold;
}

h1 {
    font-size: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
h2 {
    color: #4dad33;
}
h3 {
    font-size: 22px;
    margin: 0;
}

label {
    margin: 0;
}

input {
    border: 1px solid rgb(209 213 219);
    outline: none;
    padding: 3px 6px;
    border-radius: 0.375rem;
}

input:focus {
    box-shadow: 0 0 0 0.2rem rgba(77,173,51,.4);
    border: 1px solid #4dad33;
}

textarea {
    border: 1px solid rgb(209 213 219);
    outline: none;
    padding: 3px 6px;
    border-radius: 0.25rem;
}
textarea:focus {
    box-shadow: 0 0 0 0.2rem rgba(77,173,51,.4);
    border: 1px solid #4dad33;
}

select {
    padding: 3px 6px;
    border: 1px solid rgb(209 213 219);
    border-radius: 0.25rem;
    outline: none;
}
select:focus {
    box-shadow: 0 0 0 0.2rem rgba(77,173,51,.4);
    border: 1px solid #4dad33;
}


button {
    background: #4dad33;
    color: white;
    border: none;
    border-radius: 0;
    padding: 8px 12px;
    font-size: 15px;
    font-weight: bold;
    transition: .15s ease-in-out;
    width: 100%;
    user-select: none;
}

button:hover {
    background: #5e6772;
}

.buttons {
    margin-bottom: 6px;
    display: flex;
}

.group {
    padding: .3vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.group label {
    width: 20%;
    line-height: 1;
}

.group input,
.group textarea,
.group select,
.group div {
    width: 70%;
}

.head-div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tabs > button {
    margin-right: 2px;
    font-size: 14px;
    padding: 4px 6px;
    white-space: nowrap;
}

@media (max-width: 800px) {
    .navbar-fixed-left {
        display: none;
    }

    .container {
        width: calc(100vw - 20px);
    }
}

@media (min-width: 800px) and (max-width: 1700px) {
    .navbar-fixed-left {
        width: 100px;
    }

    .container {
        width: calc(100vw - 160px);
        margin-left: 130px;
    }

    .navbar-headmenu,
    .navbar-submenu {
        display: none;
    }
}

@media (min-width: 1700px) {
    .container {
        width: calc(100vw - 340px);
        margin-left: 300px;
    }
}