:root {
    --accent: #E37176;
    --colorPrimary: #0277bd;
    --colorPrimaryDark: #004c8c;
    --colorLight: #58a5f0;
    /* --accent: #cae371;
    --colorPrimary: #7fbd02;
    --colorPrimaryDark: #368c00;
    --colorLight: #d7f058; */
    --background: rgb(240, 242, 246);
    --interfaceBackground: rgb(240, 240, 240);
    --transparent: rgba(0, 0, 0, 0.3);
    --disableColor: rgb(180, 180, 180);
    --divider: rgb(200, 200, 200);
}

body,
html {
    width: 100%;
    height: 100%;
    /* zoom: 0.9; */
}
#root {
    width: 100%;
    height: 100%;
}

a {
    color: var(--colorPrimary);
}

a:hover {
    color: var(--accent);
}

#menu_header {
    z-index: 2;
}

.loading {
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--transparent);
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    top: 0;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--colorPrimary);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.dropdown-item {
    color: var(--colorPrimary);
}

.dropdown-item:hover {
    color: var(--accent);
}

.dropdown-item:active {
    color: #fff;
}

@font-face {
    font-family: "PageFont";
    src: url("../raw/page_font.ttf");
}

body {
    font-family: "PageFont";
    background-color: var(--background) !important;
}

.card {
    border-radius: 4px !important;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
    border: unset !important;
}

.card.outlined {
    border: 2px solid var(--colorPrimary) !important;
    box-shadow: unset;
}

.c-color-primary {
    color: var(--colorPrimary);
}

.input-default {
    outline: unset;
    padding-bottom: 4px;
    border-radius: 4px;
    border: 2px solid var(--colorPrimary);
    padding-left: 16px;
    font-size: 24px;
    font-variant-caps: petite-caps;
}

.checkbox-default {
    border-radius: 4px;
    border: 2px solid var(--colorPrimary);
    height: 24px;
    width: 24px;
    margin-right: 8px;
    -webkit-appearance: none;
    outline: unset;
}

.checkbox-default:checked {
    -webkit-appearance: checkbox;
}

.shape-btn-primary {
    border-radius: 4px;
    background: var(--colorPrimary);
    border: unset;
    color: white;
    padding: 8px 16px 8px 16px;
    font-size: 18px;
}

.shape-primary {
    border-radius: 4px;
    padding: 4px 8px 4px 8px;
    background-color: var(--colorPrimary);
    color: white;
    height: fit-content;
}

.default-select {
    outline: none;
    padding-bottom: 4px;
    background: var(--colorPrimary);
    height: 40px;
    border: unset;
    color: white;
    font-variant-caps: petite-caps;
    font-size: 18px;
    padding-left: 16px;
    border-right: 16px solid var(--colorPrimary);
}

.card-header {
    background: var(--colorPrimary);
    color: white;
}

.button {
    cursor: pointer;
    padding: 8px 16px 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--transparent);
}

.navigator-paths {
    width: 100%;
    height: 56px;
    background: white;
    border-radius: 4px;
    padding-left: 8px;
}

.navigation-item {
    font-weight: bold;
    padding: 16px 8px 16px 8px;
    vertical-align: bottom;
    height: fit-content;
}

.navigation-item.desactived {
    color: var(--disableColor);
}

.navigation-arrow {
    color: var(--disableColor);
    padding: 16px 0px 16px 0px;
}

.error-label {
    color: red;
    display: none;
}

.input-group-append {
    z-index: 0;
}

.form-control {
    color: black !important;
    font-weight: bold !important;
    border: 2px solid var(--colorPrimary) !important;
}

.input-group-text {
    color: black !important;
    font-weight: bold !important;
}

.list-view {
    background: var(--colorPrimary);
    color: white;
}

.list-view.vertical {
    overflow-y: hidden;
    overflow-y: auto;
}

.list-view.horizontal {
    overflow-y: auto;
    overflow-y: hidden;
}

.divider {
    height: 1px;
    background: var(--divider);
}

.dropdown-menu {
    border: 2px solid var(--colorPrimary) !important;
}

.features {
    position: fixed;
    z-index: 4;
    bottom: 0;
    left: 0;
    min-height: 56px;
    background-color: white;
    box-shadow: 0px -3px 5px rgba(0, 0, 0, 0.3);
}

.view-toggle {
    background-color: var(--colorPrimary);
    color: white;
    display: flex;
    justify-content: center;
    text-decoration: none;
    padding: .75rem;
}

.view-toggle:hover {
    background-color: var(--colorPrimaryDark);
    color: white;
    text-decoration: none;
    opacity: 1;
}

.btn-primary {
    background-color: var(--colorPrimary);
    border-color: var(--colorPrimary);
}

.btn-primary:hover {
    background-color: var(--colorPrimaryDark);
}

.btn-primary:focus {
    background-color: var(--colorPrimaryDark);
}

.btn-outline-primary {
    color: var(--colorPrimary);
    border-color: var(--colorPrimary);
}

.btn-outline-primary:hover {
    background-color: var(--colorPrimary);
    border-color: var(--colorPrimary);
}

.page-item.active .page-link {
    background-color: var(--colorPrimary);
    border-color: var(--colorPrimary);
}

.firebase-emulator-warning{
    display: none;
}
.cursor-pointer {
    cursor: pointer;
}
.page-item.active .cursor-pointer {
    cursor: default;
}

table thead .head-option.selected .sort-direction {
    display: flex !important;
}
table thead .head-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
table thead .head-option a {
    color: black;
}
table thead .head-option .sort-direction {
    display: none;
    flex-direction: column;
    color: black;
    padding: none;
}
table thead .head-option .sort-direction .material-icons {
    font-size: medium;
    color: var(--transparent);
    padding: none;
}

table thead th {
    white-space: nowrap;
}
table tbody td {
    vertical-align: middle;
    color:var(--colorPrimary);
    white-space: nowrap;
}
table thead .first {
    width: 1px;
    white-space: nowrap;
}
.control-box {
    padding: 6px;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
    cursor: pointer;
    text-align: center;
    color: #6c757d;
}
.control-box:hover {
    color: #343a40;
}
.control-box .material-icons {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    padding: 0px;
    margin: 0px;
}