/* Page-specific styling */


html {
    position: relative;
    min-height: 100%;
    max-height: 100%;
    font-family: Arial;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
    background: white;
}
body {
    margin: 0 0 30px; /* bottom = footer height */
    overflow-y: hidden;
}
#container {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}


.content span {
    font-family: Arial;
    text-align: left;

}
#buttonLogout {
    margin-left: auto;
}
.logout-row img {
    height: 18px;
    width: 18px;
    margin-right: 5px;
}
.logout-row {
    padding: 5px 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 8;
    display: flex;
}
.content {
    position: relative;
    padding-top: 5px;
    padding: 15px  15px  15px  15px;
}
.logout-row .info {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    color: #666666;
    font-size: 16px;
    max-width: calc(100% - 70px);
}

#infoUsername {
    line-height: 1;
}
.login-row button, .logout-row button, span.btn-text {
    background: none;
    border: none;
    outline: none;
    color: #5cd1b4;
    cursor: pointer;
    font-weight: bold;
    box-shadow: none;
    font-size: 15px;
    padding: 0;
}
span.btn-text[class] {
    font-size: 14px;
}
.login-row button:hover, .logout-row button:hover, span.btn-text:hover {
    text-decoration: underline;
}
.shadow {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ebebeb;
}
.info-text {
    color: #787878;
    font-size: 14px;
    text-align: justify;
    width: calc(100vw - 40px);
    padding: 0 5px;
}
.info-text:last-child {
    margin-bottom: 10px;
}

.header[class] {
  width: 100%;
  height: 70px;
  position: relative;
}

.header span{
  font-family: Arial;
  font-weight: bold;
  font-size: large;
  color: rgb(249, 159, 35);
}
.logo {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}
.logo.model {
  background: linear-gradient(to bottom, #f9a02359, transparent 60%);;
}
.logo.optimizer {
  background: linear-gradient(to bottom, #6768a659, transparent 60%);;
}
.logo.energy {
  background: linear-gradient(to bottom, #6dbcdb59, transparent 60%);;
}
.logo div {
  position: absolute;
  transition: all 0.15s ease-in;
  background: white;
}
.not-act-h {
  opacity: 0.6;
  cursor: pointer;
  transform: translateY(-100%);
  top: calc(100% - 4px);
  border-radius: 4px;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
  padding: 2px 4px 0 4px;
}
.not-act-h.left {
  left: 8px;
}
.not-act-h.right {
  right: 10px;
}
.logo div.not-act-h img {
  height: 20px;
  margin-bottom: -2px;
}

.logo div img {
  height: 36px;
}
.logo div:hover {
  opacity: 1;
}
.logo div.act-h {
  transform: translateX(-50%);
  top: 2px;
  left: 50%;
  bottom: unset;
  opacity: 1;
  background: none;
}
.logo >img {
  position: absolute;
  height: 42px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#myLog {
    padding: 15px;
    font-family: Arial;
    font-size: small;

}


.content button {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    background: white;
    font-family: Arial;
    margin: 15px 0;
    margin-top: 5px;
    min-width: 90px;
    color: #5cd1b4;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
}
.content button.react-datepicker__navigation {
    padding: 0;
    border-radius: unset;
    border: 0.45rem solid transparent;;
    outline: unset;
    background: none;
    box-shadow: unset;
    font-family: unset;
    margin: unset;
    margin-top: unset;
    min-width: unset;
    color: unset;
    box-shadow: unset;
}

.content button.react-datepicker__navigation--previous {
    left: 10px;
    border-right-color: #ccc;
}
.content button.react-datepicker__navigation--previous:hover {
    border-right-color: #b3b3b3;
}
.content button.react-datepicker__navigation--next {
    right: 10px;
    border-left-color: #ccc;
}
.content button.react-datepicker__navigation--next:hover {
    border-left-color: #b3b3b3;
}
.calendar-icon {
    position: absolute;
    right: 4px;
    bottom: 5px;
    height: 14px;
    width: 12px;
    pointer-events: none;
}
div.react-datepicker__current-month, div.react-datepicker-time__header, div.react-datepicker-year-header {
    font-size: 0.8rem;
    margin-top: 3px;
}

.content button:active {
    box-shadow: none;
}

.content button:hover {
    cursor: pointer
}

.tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
label {
    width: 100px;
    display: block;
}
input {
    width: 200px;
    display: block;
}
.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #f99f23;
    font-family: Arial;
    font-size: small;
    color: white;
    text-align: center;
    width: calc(100% - 30px);
    padding: 8px 15px;
}
.footer.optimizer {
    background-color: #6768a6;
}
.footer.energy {
  background-color: #6dbcdb;
}
.padding {
    padding: 15px;
}
.error {
    margin: 5px;
    text-align: center;
    margin-top: 10px;
    color: red;
}
.buttons {
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center;
    position: relative;
}
.buttons .btn-title {
    color: #666666;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 14px;
}
.wideButton
{
    width: 200px;
}
button.simple-btn {
    width: 80px;
    background: #5cd1b4;
    color: white;
    margin: 0;
    font-weight: bold;
    box-shadow: none;
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    font-size: 14px;
}

/* Style the buttons that are used to open the tab content */
.tab div {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 12px;
    transition: 0.3s;
    margin: 0;
}

/* Change background color of buttons on hover */
.tab div:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab div.active {
    background-color: #ccc;
}
.content {
    max-height: calc(100vh - 189px);
    height: 100%;
    overflow-y: auto;
    padding-top: 5px;
}
.content + div.content {
    display: none;
}
.content.small {
    max-height: calc(100vh - 236px);
}
/* Style the tab content */
.tabcontent {
    border: none;
    flex-direction: column;
    align-items: center;
    margin: auto;
}
.tabcontent.fullsize {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.login-row {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
}
.login-row span {
    font-size: 13px;
    color: #787878;
    margin-left: 5px;
}
.login-row span a {
    color: #5cd1b4;
    text-decoration: none;
}
a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}
.info-text table td {
    font-size: 14px;
    padding: 5px;
    vertical-align: top;
}
.info-text table tr:first-child td {
    padding-top: 0;
}
.info-text table td:nth-child(odd) {
    color: #787878;
    padding-left: 0;
}

.info-title {
    padding: 5px;
    color: #f9a023fe;
    font-weight: bold;
    font-size: 16px;
}
.image-row img {
    width: 100px;
    margin: 5px;
}
.image-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    width: calc(100vw - 40px);
}
.extra-space {
 height: 20px;
}

.info-text.mr-btm-s {
    margin-bottom: 8px;
}

/* *******************Login******************* */

.btn-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 200px;
    margin-top: 20px;
}
.btn-row button {
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    background: white;
    box-shadow: none;
    font-family: Arial;
    min-width: 70px;
    color: #47c2a3;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
    cursor: pointer;
}
.btn-row button:active {
    box-shadow: none;
}
.login label {
    color:#666666;
     font-size: 14px;
}
.login {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.input-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.input-row input {
    padding: 5px 10px;
    font-size: 16px;
    box-shadow: inset 0px 0px 8px #ccc, inset 0px 0px 1px 1px #666666;
    outline: none;
    border: none;
    border-radius: 3px;
    color: #f99f23;
}
body.login {
    margin: 0;
}
.login .info-title {
    font-size: 24px;
    margin-bottom: 15px;
}
.error-ie {
    display: flex;
    color: red;
    font-size: 12px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}
#unapproved-user {
    position: absolute;
    height: 76px;
    z-index: 10;
    background: #fcaaaa;
    color: white;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#close-unapproved-user {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 20px;
    height: 20px;
    opacity: 0.6;
}
#close-unapproved-user:hover {
    opacity: 1;
}
#close-unapproved-user:before, #close-unapproved-user:after {
    position: absolute;
    left: 10px;
    content: ' ';
    height: 20px;
    width: 3px;
    background-color: white;
}
#close-unapproved-user:before {
    transform: rotate(45deg);
}
#close-unapproved-user:after {
    transform: rotate(-45deg);
}
.subtabs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;   
    border: 1px solid #ccc; 
    border-radius: 0 0 16px 16px;
    padding: 4px;
    margin: -4px -14px 0 -14px;
    background: rgb(235, 235, 235);
}

.subtabs .glider {
    position: absolute;
    display: flex;
    height: calc(100% - 8px);
    width: calc(100% / 3 - 4px);
    background-color: #47c2a3;
    left: 4px;
    border-radius: 14px;
    transition: 0.25s ease-out;
}

.subtabs.two .glider {
    width: calc(100% / 2 - 8px);
}

.subtabs.one .glider {
    display: none;
}

.subtabs button {
    border-color: rgba(102, 102, 102, 0.529);
    box-shadow: none;
    padding: 5px;
    align-items: center;
    margin: 0px;
    color: rgba(0, 0, 0, 0.518);
    min-width: calc(100% / 3 - 2px);
    width: calc(100% / 3 - 2px);
    position: relative;
    z-index: 2;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 14px;
    transition: color 0.15s ease-in;
}
.subtabs.two button {
    min-width: calc(100% / 2 - 4px);
    width: calc(100% / 2 - 4px);
}
.subtabs.one button {
    min-width: 100%;
    width: 100%;
}
.subtabs button:hover,.subtabs button.act {
    border: 1px solid #47c2a3;
    color: white;
    background: #47c2a3;
    opacity: 1;
}
div.subtabs button.act {
    opacity: 1;
    pointer-events: none;
    z-index: 5;
}
.subtabs :nth-child(1).act ~ .glider {
    transform: translateX(0);
}
.subtabs :nth-child(2).act ~ .glider {
    transform: translateX(calc(100% + 2px));
}
.subtabs :nth-child(3).act ~ .glider {
    transform: translateX(calc(200% + 6px));
}
.subtabs.two :nth-child(2).act ~ .glider {
    transform: translateX(calc(100% + 8px));
}

#functionsDiv {
    width: 100%;
}
.subcontent {
    padding-top: 40px;
}
#no-linked-info, #no-sites-info, #ems-content {
    display: none;
    padding: 0 5px;
}
#ems-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#site-list {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
#site-list >div {
    padding: 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}
#site-list >div .icon {
    height: 17px;
    width: 17px;
    border: 1px solid rgba(102, 102, 102, 0.529);
    border-radius: 4px;
    box-shadow: inset 0 0 3px rgba(102, 102, 102, 0.529);
    margin-right: 5px;
    position: relative;
}
#site-list >div .label {
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;

}
#site-info-table table {
    width: 100%;
    border-collapse: collapse;
}
#site-info-table table th {
    background: #666;
    color: white;
}
#site-info-table table td, #site-info-table table th {
    border: 1px solid rgba(102, 102, 102, 0.529);
    padding: 2px 4px;
}
#site-info-table table td {
    font-size: 14px;
}
#aprove-ems-first, #change-site, #sendToEMS {
    align-self: center;
}

#site-list >div.only-display {
    pointer-events: none;
}
#site-list >div.only-display .icon {
    border: 0;
    box-shadow: none;
}
#site-list >div.only-display .icon::after{
    border-left: 3px solid #787878;
    border-bottom: 3px solid #787878;
    content: '';
    height: 4px;
    width: 9px;
    position: absolute;
    bottom: 0;
    left: 1px;
    transform: rotate(-47deg) translateX(6px) translateY(-4px);
}

#site-list >div.active .icon::after {
    content: '';
    border-left: 3px solid #5cd1b4;
    border-bottom: 3px solid #5cd1b4;
    height: 4px;
    width: 9px;
    position: absolute;
    bottom: 0;
    left: 1px;
    transform: rotate(-47deg) translateX(6px) translateY(-4px);
}

#ems-content .info-text {
    padding: 0;
}
#map {
    pointer-events: none;
    width: 100%;
}
#site-info-table {
    width: 100%;
}
.popup-container {
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(102, 102, 102, 0.4);
    padding: 10px;
    z-index: 20;
}
.login-ems {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    background: white;
    align-self: center;
    border: 2px solid rgb(249, 159, 35);
    border-radius: 10px;
    padding: 15px 10px;
    min-width: 260px;
}
.login-ems .login .info-title {
    text-align: center;
    font-size: 16px;
    margin: 0;
    padding: 0;
}
.login-ems .login .info-subtitle {
    color: #787878;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
}
.login-ems .login .btn-row {
    padding: 0;
    margin-top: 0;
    flex-direction: row;
}
.login-ems .login .btn-row button {
    margin: 0;
}
div.input-row {
    margin-bottom: 5px;
}
.login-ems .login .error {
    margin-top: 5px;
    margin-bottom: 10px;
    min-height: 20px;
}
#change-site {
    margin: 5px 0;
}
.content button.change-icon {
    font-size: 30px;
    height: 32px;
    width: 32px;
    min-width: 32px;
    padding: 0;
    line-height: 0;
}
.sites-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#send-info {
    display: none;
    margin: 15px 0;
}

#overlaped-events-list {
    max-height: 50vh;
    overflow-y: auto;
    box-shadow: inset 0px 0px 10px 1px rgba(102,102,102,0.529);
}
#overlaped-events-list table {
    border-collapse: collapse;
}
#overlaped-events-list table td {
    border: 1px solid rgba(102, 102, 102, 0.529);
    padding: 2px 4px;
    font-size: 14px;
}
#overlaped-events-list table td:nth-child(odd) {
    text-align: right;
}
#overlaped-events-list table tr.head td {
    text-align: center;
    background: #666;
    color: white;
    font-weight: bold;
}
#close-success {
    margin: 0;
}
#success-info {
    font-size: 20px;
    margin-bottom: 20px;
}

.login-ems .login .info-title p {
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    padding: 0;
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    z-index: 100;
    border-bottom: 1px solid rgba(102,102,102,0.529);
    background: white;
}
#loader div {
    width: 2%;
    height: 4px;
    background: rgb(249, 159, 35);
}
.spiner-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 100;
}
.spiner-container.container {
    position: absolute;
}
.spiner-container.container .spiner {
    position: absolute;
    height: 24px;
    width: 24px;
    margin-top: unset;
    margin-left: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.spiner-container.container .spiner div.ms-Spinner-circle {
    height: 24px;
    width: 24px;
}
.spiner-container.small {
    position: relative;
    top: unset;
    left: unset;
    bottom: unset;
    right: unset;
}
.spiner-container.small .spiner {
    height: 14px;
    width: 14px;
    margin-top: unset;
    margin-left: unset;
    margin-right: 5px;
}
.spiner-container.small .spiner div.ms-Spinner-circle {
    height: 14px;
    width: 14px;
    border: 2px solid rgb(249, 159, 35);
    border-top-color: transparent;
}
.spiner-container.small.centered {
    align-self: center;
}
span.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.spiner {
    height: 44px;
    width: 44px;
    margin-top: calc(50vh - 22px);
    margin-left: calc(50vw - 22px);
}
.spiner-body {
    height: 40px;
    width: 40px;
    border: 4px solid rgb(249, 159, 35);
    border-radius: 50%;
    border-right-color: transparent;
    transition: transform;
}
div.ms-Spinner-circle {
    height: 60px;
    width: 60px;
    border: 4px solid rgb(249, 159, 35);
    border-top-color: transparent;
}
div.centered-content-container {
    display: flex;
    justify-content: center;
}
button:disabled {
    pointer-events: none;
    opacity: 0.6;
}
.error-hint, .success-hint {
    opacity: 0.6;
    position: absolute;
    bottom: 0;
    font-size: 14px;
}
.multi-hints-container {
    position: absolute;
    bottom: unset;
    top: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.multi-hints-container .error-hint, .multi-hints-container .success-hint {
    position: unset;
    font-size: 12px;
}
span.error-hint {
    color: red;
    text-align: center;
    line-height: 1;
    bottom: -5px;
}
.success-hint {
    color: #5cd1b4;
}
.popup-dlg {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: Arial;
    min-height: 140px;
    margin-top: -30px;
    padding: 8px;
    padding-top: 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
select {
    max-width: 120px;
    min-width: 120px;
    font-size: 16px !important;
    background: white;
    color: #5cd1b4;
    outline: none !important;
    border: none !important;
    text-align: right;
    text-align-last: right;
    overflow: hidden;
    overflow: -moz-hidden-unscrollable;
    padding-right: 10px;
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzVjZDFiNDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat right white;
    -webkit-appearance: none;
    -moz-appearance: none;
}
select option {
    text-align: right;
    direction: rtl;
}
select option:hover {
   background: red;
}
.inp-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}
.mrg-top-auto {
    margin-top: auto;
}
.react-datepicker-wrapper .react-datepicker__input-container input, input[type=date] {
    color: #5cd1b4;
    outline: none !important;
    border: none !important;
    border-bottom: 1px solid #5cd1b4 !important;
    font-size: 16px !important;
    width: 104px;
}
.react-datepicker__day-name[class], .react-datepicker__day[class], .react-datepicker__time-name[class] {
    margin: 0;
    width: 1.3rem;
    line-height: 1.3rem;
    font-size: 0.6rem;
}
input[type=date]::-webkit-calendar-picker-indicator {
    filter: invert(86%) sepia(74%) saturate(393%) hue-rotate(84deg) brightness(90%) contrast(80%);
}
.result-info {
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
    margin: 8px 0;
    min-height: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.result-info .err {
    color: red;
}
.result-info span {
    text-align: center;
}
.btn-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 200px;
    margin-top: 20px;
}
.btn-row button {
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    background: white;
    box-shadow: none;
    font-family: Arial;
    min-width: 70px;
    color: #47c2a3;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
    cursor: pointer;
}
.login label {
    color:#666666;
    font-size: 14px;
    font-weight: bold;
}

.input-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.input-row input {
    padding: 5px 10px;
    font-size: 16px;
    box-shadow: inset 0px 0px 8px #ccc, inset 0px 0px 1px 1px #666666;
    outline: none;
    border: none;
    border-radius: 3px;
    color: #f99f23;
}
body.login {
    margin: 0;
}
.login .info-title {
    font-size: 24px;
    margin-bottom: 15px;
}
div.input-row {
    margin-bottom: 5px;
}
.error {
    margin: 5px;
    text-align: center;
    margin-top: 10px;
    color: red;
}
.switch:hover {
    text-decoration: underline;
    cursor: pointer;
    opacity: 1;
}
.login-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #666666b9;
    z-index: 101;
}
.login {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border:#ccc;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
    padding: 16px;
    width: 240px;
}
.login #close-unapproved-user:before, .login #close-unapproved-user:after {
    background: #666666;
}
.login div.spiner-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.login div.spiner-container >:first-child {
    top: 50%;
    left: 50%;
    position: relative;
    transform: translate(-50%, -50%);
}

.select-input {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    font-size: 14px;
}
.select-input.disabled {
    pointer-events: none;
    opacity: 0.6;
}
.select-input .trigger {
    display: flex;
    flex-direction: row;
    padding: 8px;
    border: 1px solid #47c2a3;
    border-radius: 4px;
    line-height: 1;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    z-index: 1;
    background: white;
}
.select-input .trigger>:last-child {
    font-size: 0.8em;
    opacity: 0.6;
    font-weight: bold;
}
.select-input .trigger .placeholder {
    opacity: 0.4;
}
.select-input .trigger .control {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.select-input .trigger input, .select-input .trigger input:focus {
    border: none;
    margin: 0;
    padding: 0;
    line-height: 1;
    border-bottom: 1px solid #47c2a3;
    outline: none;
}
.select-input .selected-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-bottom: 4px;
}
.select-input .selected-items .selected-item {
  border-radius: 4px;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 2px;
  margin-bottom: 2px;
  border: 1px solid #666;
  cursor: pointer;
  padding: 4px;
}
.select-input .selected-items .selected-item .close {
  width: 14px;
  height: 14px;
  margin-right: 0px;
}
.select-input .selected-items .selected-item .close:before, .select-input .selected-items .selected-item .close:after {
  position: absolute;
  left: 6px;
  content: ' ';
  height: 14px;
  width: 2px;
}
.select-input .selected-items .selected-item :first-child {
  margin-right: 4px;
}
.select-input .dd {
    margin-top: -4px;
    padding-top: 4px;
    border: 1px solid #47c2a3;
    border-top: unset;
    border-radius: 0 0 4px 4px;
    color: #666;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    background: white;
    position: absolute;
    top: calc(100% + 2px);
    left: 0px;
    right: 0px;
    max-height: 120px;
    overflow-y: auto;
}
.select-input .dd >span {
  font-size: 10px;
  text-align: center;
  opacity: 0.6;
  display: block;
}
.select-input .dd >div {
    padding: 4px;
    cursor: pointer;
    user-select: none;
}
.select-input .dd >div:last-child {
    border-radius: 0 0 4px 4px;
}
.select-input .dd >div:first-child {
    user-select: none;
}
.select-input .dd >div:hover {
    background: #ebebeb;
}
.angle {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;    
}
.angle.up {
    border-bottom: 5px solid black;
}
.angle.down {
    border-top: 5px solid black;
}
.close {
    position: relative;
    width: 16px;
    height: 16px;
    opacity: 0.3;
    margin-right: 4px;
    cursor: pointer;
  }
  .close:hover {
    opacity: 1;
  }
  .close:before, .close:after {
    position: absolute;
    left: 7px;
    content: ' ';
    height: 17px;
    width: 2px;
    background-color: black;
  }
  .close:before {
    transform: rotate(45deg);
  }
  .close:after {
    transform: rotate(-45deg);
  }
  
  .checkbox-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
  }
  .checkbox-container.isRadio .input {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    border: none;
    background: white;
    border: 2px solid white;
    outline: 2px solid #ccc;

  }
  .checkbox-container.isRadio .input.active {
    background: #47c2a3;
    outline: 2px solid #ccc;
    border: 2px solid white;

  }
  .checkbox-container .input {
    margin: 8px 0;
    height: 16px;
    width: 16px;
    border: 1px solid #666;
    border-radius: 4px;
    position: relative;
  }
  .checkbox-container span {
    margin-left: 4px;
    font-size: 14px;
  }
  .checkbox-container.isRadio .input.active::after {
    content: '';
  }

  .checkbox-container .input.active::after {
    content: '✔';
    color: #47c2a3;
    font-weight: bold;
    top: 0;
    position: absolute;
    left: 1px;
    line-height: 1;
  }

  .two-cells-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
  
  .two-cells-row >span {
    font-size: 14px;
    opacity: 0.6;
  }

  .two-cells-row >div:first-child {
    white-space: nowrap;
    width: 40%;
  }
  .pb-container {
    height: 8px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgb(249, 159, 35);
  }
  
  .otp-page {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 101;
  }

  .otp-page .otp-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px;
    border-radius: 4px;
    background: white;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
    min-width: 75%;
    justify-content: space-between;
  }
  .otp-popup-title {
    font-weight: bold;
    color: rgb(249, 159, 35);
    font-size: 1.5em;
  }
  .otp-popup-btns-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;

  }
  .otp-popup-btns-row button {
    padding: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    background: white;
    box-shadow: none;
    font-family: Arial;
    min-width: 70px;
    color: #47c2a3;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;

  }
  .otp-popup-btns-row button.green  {
    color: white;
    background: #47c2a3;
  }

  .otp-input-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;

    margin-top: -8px;
  }
  input.otp-part {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.6em;
    width: 34px;
    border-radius: 4px;
    padding: 8px;
    outline: none;
    border: 1px solid #47c2a3;
    box-shadow: inset 0px 0px 4px rgba(0,0,0,0.4);
  }
  .otp-progress {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: #666666aa;
    font-size: 0.8em;
  }
  .otp-resend {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: #666666aa;
    font-size: 0.8em;

  }
  .otp-resend span {
    color: #47c2a3;
    cursor: pointer;
  }
  .otp-error {
    margin-top: -16px;
    color: red;
    font-size: 0.8em;
  }
  .mode-changer {
    line-height: 1;
    position: absolute;
    bottom: -6px;
    right: -6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    font-size: 0.8em;
    opacity: 0.5;
  }
  .mode-changer:hover {
    opacity: 1;
  }
  .mode-changer img{
    height: 18px;
  }

  .react-datepicker-popper {
    left: -44px !important;
  }
  
  .clickable {
    cursor: pointer;
  }

  img.active {
    box-shadow: 0 0 0 2px #47c2a3 inset;
    border-radius: 8px;
  }

  .status-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
    min-height: 28px;
  }
  .status-info >div {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .status-info .error-status {
    color: red;
    text-align: center;

  }
  .status-info .success-status {
    color: #5cd1b4;
    text-align: center;

  }
  .date-range-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: relative;
    align-self: stretch;
    margin-top: 32px;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
    padding: 12px 4px;
    padding-bottom: 24px;
  }

  .date-range-row .control-switch {
    position: absolute;
    bottom: 100%;
    left: -1px;
    right: -1px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 12px;
  }
  .date-range-row .control-switch >div{
    padding: 2px 4px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 4px 4px 0 0;
    width: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ccc;
    position: relative;
  }

  .date-range-row .control-switch >div.act {
    border-bottom: 1px solid white;
    color: unset;
  }

  .date-range-row .control-switch >div.not-act::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, #ccc);
  }

  .date-range-row input[type=number] {
    color: #5cd1b4;
    outline: none !important;
    border: none !important;
    border-bottom: 1px solid #5cd1b4 !important;
    font-size: 16px !important;
    font-weight: bold;
    width: 80px;
    text-align: center;
  }
  .date-range-row >div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .date-range-row >div:first-child .react-datepicker-popper {
    left: 0px !important;
  }

  .date-range-row >div >span {
    font-size: 12px;
  }
  .diff-input-value {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
  }

  .extracts-page {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .controll-all-extracts {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 8px;
  }
  .controll-all-extracts >div {
    padding: 4px 0;
    cursor: pointer;
    font-size: 16px;
  }
  .controll-all-extracts >div:first-child {
    color: #666666;
  }
  .extract-item {
    border-radius: 4px;
    background: #d8d8d8;
    padding: 4px;
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
  }
  
  .extract-item .trigger {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
  }
  .extract-item .trigger >:nth-child(2) {
    opacity: 0.8;
    line-height: 1;
    text-decoration: underline;
  }
  .extract-item .trigger >:first-child {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .extract-item .trigger >:nth-child(2) {
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: calc(100% - 116px);
    overflow: hidden;
  }
  .extract-details {
    padding-top: 0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .extract-details >div {
    padding: 3px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .extract-details >div span:first-child {
    font-size: 12px;
    opacity: 0.6;
  }
  .extract-details >div span:not(:first-child) {
    padding-left: 8px;
  }
  .extract-details >div span {
    opacity: 0.8;
  }
  .extract-item .trigger img {
    height: 14px;
  }
  .extract-item .trigger .control {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .extract-item .trigger .control div {
    height: 20px;
    width: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #5cd1b4;
    border-radius: 50%;
    padding: 4px;
    margin-right: 4px;
  }
  .extract-item .trigger .control div:last-child {
    margin-right: 0;
  }
  .image-btn {
    height: 20px;
    width: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #5cd1b4;
    border-radius: 50%;
    padding: 4px;
  }
  .image-btn img {
    height: 14px;
  }
  .text-btn {
    color: #5cd1b4;
    cursor: pointer;
    user-select: none;
  }

  .no-extracts {
    display: flex;
    padding: 36px 0;
    flex-direction: column;
    align-items: center;
  }

  .no-extracts :first-child {
    opacity: 0.2;
    font-size: 1.2em;
    margin-bottom: 24px;
  }
  .extracts-popup-add-edit {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #666666aa;
    z-index: 8;
  }
  .extracts-popup-add-edit .extracts-popup-add-edit-content {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    bottom: 64px;
    background: #fff;
    z-index: 8;
    border-radius: 12px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
    overflow: hidden;
  }

  .title-control-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 8px 12px 0px 12px;
    position: relative;
  }
  .extracts-popup-add-edit-content-header {
    display: flex;
    flex-direction: column;
    z-index: 1000;
    position: relative;
    border-bottom: 1px solid #ccc;
  }
  .extracts-popup-add-edit-content-header::after {
    content: '';
    height: 16px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    top: 100%;
    position: absolute;
    pointer-events: none;
  }

  .title-control-row .title {
    opacity: 0.6;
    font-size: 1.4em;
  }

  .title-control-row .close {
    position: absolute;
    right: 12px;
    top: 12px;
  }

  .extract-add-edit-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    height: calc(100% - 130px);
    overflow-y: auto;
  }

  .extract-add-edit-content .buttons {
    padding: 8px;
  }

  .extract-add-edit-content .buttons .btn-title {
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .select-inp-row {
    display: flex;
    flex-direction: row;
    align-self: stretch;
    align-items: center;
  }

  .select-inp-row >:first-child {
    white-space: nowrap;
    margin-right: 12px;
  }

  .extract-add-edit-content .date-range-row {
    border: none;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 12px;
  }
  .extract-add-edit-content .checkbox-container .input {
    margin: 2px 0;
  }

  .extract-schedule-table tr:first-child {
    font-size: 10px;
    opacity: 0.6;
  }

  .extract-schedule-table tr:first-child td {
    padding: 0;
  }

  .extract-schedule-table {
    align-self: stretch;
    padding: 2px 0;
  }
  .extract-schedule-table td:first-child {
    font-size: 12px;
    min-width: 16px;
    max-width: 16px;
    width: 16px;
  }
  .extract-schedule-table td:nth-child(2) {
    min-width: 68px;
    max-width: 68px;
    width: 68px;
  }
  .extract-schedule-table td:nth-child(4) {
    min-width: 54px;
    max-width: 54px;
    width: 54px;
  }
  .extract-schedule-table td:last-child {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
  }
  .extract-schedule-table .select-input .trigger {
    padding: 6px 4px;
    font-size: 12px;
  }
  .extract-schedule-table .select-input .dd {
    font-size: 12px;
    margin-top: -10px;
  }
  .extract-schedule-table .select-input .dd >div {
    line-height: 1;
  }
  .save-cancel-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .save-cancel-row-with-error {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .save-cancel-row-with-error >:last-child {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .extracts-popup-add-edit-content .save-cancel-row, .extracts-popup-add-edit-content .save-cancel-row-with-error {
    padding: 8px 12px;
    border-top: 1px solid #ccc;
    z-index: 100;
    position: relative;
  }
  .extracts-popup-add-edit-content .save-cancel-row::after, .extracts-popup-add-edit-content .save-cancel-row-with-error::after {
    content: '';
    height: 16px;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    bottom: 100%;
    position: absolute;
    left: 0;
    pointer-events: none;
  }
  .extracts-popup-add-edit-content .save-cancel-row button, .extracts-popup-add-edit-content .save-cancel-row-with-error button {
    padding: 8px 4px;
  }

  input.full-width-text-inp {
    align-self: stretch;
    width: unset;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0px;
    color: #5cd1b4;
    border-bottom: 1px solid #ccc;
    text-align: center;
    margin: 0 16px 8px 16px;
  }
  input.full-width-text-inp::placeholder {
    opacity: 0.6;
  }
  input.full-width-text-inp:focus {
    border-bottom: 1px solid #5cd1b4;
  }
  input.full-width-text-inp.large-text {
    font-size: 1.2em;
  }

  .popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #666666aa;
    z-index: 8;
  }
  .popup {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    right: 12px;
    max-height: 86%;
    background: #fff;
    z-index: 8;
    border-radius: 12px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .popup-header .title {
    text-align: center;
  }
  .popup-header .close {
    position: absolute;
    top: 8px;
    right: 8px;
    margin-right: 0;
  }
  .popup-content {
    justify-self: stretch;
    overflow: auto;
    flex: 1;
    padding: 0 16px;
  }
  .popup-header {
    padding: 16px 32px;
  }
  .popup-footer {
    padding: 8px;
  }
  .popup-footer button {
    padding: 8px 4px;
  }

  .error-msg-wrapper {
    min-height: 12px;
    padding: 4px 16px;
    color: red;
    font-size: 0.8em;
    text-align: center;
    line-height: 1;
  }

  .centered-abs-hint {
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 32px);
    line-height: 1;
    color: #5cd1b4;
    white-space: nowrap;
  }
  .centered-abs-hint.err {
    color: red
  }
  .extract-bg-status {
    position: absolute;
    top: 2px;
    right: 18px;
    line-height: 1;
    opacity: 0.4;
    font-size: 12px;
    cursor: auto;
  }
  .extract-bg-status:hover {
    opacity: 1;
    font-size: 14px;
  }
  div.important-hint {
    color: #666;
    border-radius: 4px;
    padding: 6px;
    border: 2px solid red;
    background: rgba(255, 0, 0, 0.2);
    text-align: center;
    margin: 8px 0;
    font-size: 12px;
  }
  .title-text {
    display: flex;
    padding: 8px;
    text-align: center;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 0;
  }
  .custom-hint {
    text-align: center;
    font-size: 14px;
    color: rgb(249, 159, 35);
    margin-top: 8px;
    margin-bottom: 10px;
  }