.fs-0-5 {
    font-size: 0.5rem;
}

.fs-0-6 {
    font-size: 0.6rem;
}

.fs-0-7 {
    font-size: 0.7rem;
}

.fs-0-8 {
    font-size: 0.8rem;
}

.fs-0-9 {
    font-size: 0.9rem;
}

.fs-1 {
    font-size: 1rem;
}

.fs-1-5 {
    font-size: 1.5rem;
}

.fs-2 {
    font-size: 2rem;
}

.fs-2-5 {
    font-size: 2.5rem;
}

.fs-3 {
    font-size: 3rem;
}

.fs-3-5 {
    font-size: 3.5rem;
}

.fs-4 {
    font-size: 4rem;
}

.fs-4-5 {
    font-size: 4.5rem;
}

.navbar-brand > .df-logo > img,
.navbar-menu-header > .df-logo > img {
    max-height: 30px;
}

.navbar-brand > .df-logo > .logo-sm {
    display: none;
}

.content-fixed {
    position: relative;
    min-height: calc(100vh - 60px - 45px);
    min-height: calc(100svh - 60px - 45px);
    background-color: rgba(255, 255, 255, 0.75);
}

.top-item {
    font-weight: 500;
    position: relative;
    display: flex;
    white-space: nowrap;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
}

.top-item a {
    font-size: 14px;
    font-weight: 500;
    color: #001737;
    transition: all 0.2s ease-in-out;
}


@keyframes bell_ring {
    0% {
        transform: rotate(0deg);
    }
    5% {
        transform: rotate(-15deg);
    }
    7.5% {
        transform: rotate(15deg);
    }
    10% {
        transform: rotate(-15deg);
    }
    12.5% {
        transform: rotate(15deg);
    }
    15% {
        transform: rotate(-15deg);
    }
    17.5% {
        transform: rotate(15deg);
    }
    20% {
        transform: rotate(-15deg);
    }
    22.5% {
        transform: rotate(15deg);
    }
    25%, 100% {
        transform: rotate(0deg);
    }
}

@keyframes notify {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    25% {
        transform: scale(0.62);
        opacity: 1;
    }
    50% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.btn-notifiable:before {
    transform-origin: center center;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0;
    left: calc(50% + 7px);
    border-radius: 100%;
    content: "1";
    pointer-events: none;
    z-index: 6;
    background: red;
    color: white;
    font-size: 8px;
}

.btn-notifiable:after {
    transform-origin: center center;
    position: absolute;
    top: -5px;
    left: 14px;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    content: "";
    animation: notify 3s infinite;
    pointer-events: none;
    z-index: 4;
    background: red;
    transform: scale(0);
}

.btn-notifiable i {
    position: relative;
    color: white;
    -webkit-text-stroke: 2px black;
    transform-origin: center center;
    animation: bell_ring 3s ease-in-out infinite;
    font-size: 1.25rem;
    z-index: 5;
}

.footer {
    height: 45px;
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    align-items: center;
}

.collapser {
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 0.2s linear;
    max-height: 0px;
    overflow: hidden;
}

.collapser.show {
    transform: scaleY(1);
    max-height: fit-content;
}

.network-visualizer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 600px;
    overflow: auto;
}

.network-visualizer .network-row {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex-wrap: wrap;
}

.network-visualizer .network-row:nth-child(1)::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: calc(50% + 2px);
    border-bottom: 2px solid #753aba;
}

.network-visualizer .network-row:nth-child(2)::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: calc(12.5% - 1px);
    width: calc(25% + 2px);
    border-bottom: 2px solid #753aba;
}

.network-visualizer .network-row:nth-child(2)::before {
    content: "";
    position: absolute;
    bottom: 0px;
    right: calc(12.5% - 1px);
    width: calc(25% + 2px);
    border-bottom: 2px solid #753aba;
}

.network-visualizer .network-column {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.network-visualizer .network-column::after {
    content: "";
    position: absolute;
    top: 0px;
    width: 2px;
    height: 2rem;
    border-left: 2px solid #753aba;
}

.network-visualizer .network-column::before {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 2px;
    height: 2rem;
    border-left: 2px solid #753aba;
}

.network-visualizer .network-row:nth-child(1) .network-column::after {
    bottom: 0px;
    top: initial;
}

.network-visualizer .network-row:last-child .network-column::before {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0px;
    height: 0rem;
}

.network-visualizer .network-frame.no-user {
    cursor: not-allowed !important;
    opacity: 0.25;
}

.network-visualizer .network-frame .user-name {
    font-weight: bold;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.25rem 0.25rem;
}

.network-visualizer .image-placeholder {
    width: 110px;
    height: 120px;
    border-radius: 0.25rem;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #090909;
}

.box-icon-ruby {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 30px 22px;
    min-height: 130px;
    border: 1px solid #d7d7d7;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    z-index: 1;
    margin-bottom: 2rem;
}

.box-icon-ruby::before {
    top: 6px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    border: 1px solid #d7d7d7;
    transition: all 0.3s ease-in-out;
    z-index: -1;
    position: absolute;
    content: "";
}

.box-icon-ruby::after {
    top: 14px;
    right: 14px;
    bottom: 14px;
    left: 14px;
    background: #3c6a36;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -2;
    position: absolute;
    content: "";
}

.box-icon-ruby .unit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.ruby-with-image {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ruby-with-image .unit-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ruby-with-image .unit-img img {
    max-width: 100%;
}

.box-icon-ruby:hover {
    border-color: #3c6a36;
}

.box-icon-ruby:hover::before {
    border-color: rgba(255, 255, 255, 0.4);
}

.box-icon-ruby:hover::after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
}

.box-icon-ruby::after {
    top: 14px;
    right: 14px;
    bottom: 14px;
    left: 14px;
    background: #3c6a36;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -2;
}

.box-icon-ruby .box-icon-ruby-icon {
    font-size: 2.5rem;
    color: #252525;
}

.box-icon-ruby .box-icon-ruby-title {
    margin-bottom: 0px !important;
}

.box-icon-ruby .box-icon-ruby-title {
    margin-bottom: 0px;
    color: #3c6a36;
}

.box-icon-ruby:hover .box-icon-ruby-icon {
    color: white;
}

.box-icon-ruby:hover .box-icon-ruby-title {
    color: #eda407;
}

.inverted {
    filter: invert(67%) sepia(90%) hue-rotate(100deg) saturate(100%);
}

.box-icon-ruby:hover .invertable {
    filter: brightness(2.5) hue-rotate(-100deg) saturate(100%);
}

.box-icon-ruby:hover .inverted {
    filter: invert(0%);
}

.box-icon-ruby .subtitle {
    position: absolute;
    top: 1rem;
    left: 0rem;
    text-align: center;
    width: 100%;
    font-size: 0.8rem;
    color: black;
    font-weight: bold;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}

@keyframes fadeAlert {
    from {
        opacity: 1;
        pointer-events: all;
    }
    to {
        opacity: 0;
        pointer-events: none;
        height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.fade-alert {
    opacity: 1;
    animation-name: fadeAlert;
    animation-duration: 0.2s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
    pointer-events: all;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade2000 {
    opacity: 1;
    animation-name: fade2000;
    animation-duration: 0.2s;
    animation-delay: 0s;
    animation-fill-mode: forwards;
}

@keyframes fade2000 {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.overflow-x-visible {
    overflow-x: visible;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.fadeInRight {
    transform: translateX(15%);
    opacity: 0;
    pointer-events: none;
}

.fadeInRight.run {
    animation-name: fadeInRight;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    pointer-events: all;
}

.spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    width: 100svw;
    height: 100vh;
    height: 100svh;
    background-color: rgba(0, 0, 0, 0.97);
    z-index: 9999999;
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.preloader {
    pointer-events: all;
}

.preloader .spinner {
    opacity: 1;
    transition: opacity 0.4s linear;
}

.spinner .inside-spin::before {
    animation: 0.7s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 10px #939fa2;
    border-bottom-color: #fcc937;
    border-radius: 50%;
    content: "";
    height: 120px;
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    width: 120px;
    will-change: transform;
}

@keyframes spinner-logo {
    0% {
        transform: translate3d(-25%, -25%, 0) rotateY(0deg);
    }
    100% {
        transform: translate3d(-25%, -25%, 0) rotateY(360deg);
    }
}

.spinner .logo-interno {
    height: 60px;
    position: absolute;
    z-index: 9999;
    transform: translate3d(-25%, -25%, 0) rotateY(0deg);
    will-change: transform;
}

.spinner .logo-interno img {
    height: 60px;
    animation: 1s linear infinite spinner-logo;
    animation-play-state: inherit;
}

.preloader.loaded {
    pointer-events: none;
}

.preloader.loaded .spinner {
    opacity: 0;
}

div.has-error {
    color: #dc3545 !important;
}

input.has-error {
    border-color: #dc3545 !important;
}

select.has-error {
    color: #dc3545;
}

select.has-error option:not([selected]) {
    color: #1b2e4b !important;
}

input.has-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

input.has-error::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #dc3545 !important;
    opacity: 1; /* Firefox */
}

input.has-error:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #dc3545 !important;
}

input.has-error::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #dc3545 !important;
}

.form-control.has-error {
    border-color: #dc3545 !important;
}

.form-control.has-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.input-group.has-error .input-group-prepend span {
    border-color: #dc3545 !important;
}

.input-group.has-error .select2 .select2-selection {
    border-color: #dc3545 !important;
}

.top-section-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.table-centered tr > td {
    vertical-align: middle;
}

.nav-item.divider .nav-link {
    font-size: 1.2rem;
}

[has-toggle="collapse"] .fa.fa-chevron-right {
    transform: rotate(90deg);
}

[has-toggle="collapse"].collapsed .fa.fa-chevron-right {
    transform: rotate(0deg);
    transform-origin: center;
    transition: all 0.2s linear;
}

.dgap {
    gap: 0.5rem;
}

.dhgap {
    gap: 0.25rem;
}

.dgap1 {
    gap: 1rem;
}

.dgap1_5 {
    gap: 1.5rem;
}

.dgap2 {
    gap: 2rem;
}

.dgap3 {
    gap: 3rem;
}

.dgap4 {
    gap: 4rem;
}

.dgap-5 {
    gap: 5%;
}

.dgap-10 {
    gap: 10%;
}

.dgap-15 {
    gap: 15%;
}

.dgap-20 {
    gap: 20%;
}

.dgap-25 {
    gap: 25%;
}

.dgap-30 {
    gap: 30%;
}





.dgap {
    gap: 0.5rem;
}

.dhgap {
    gap: 0.25rem;
}

.dgap1 {
    gap: 1rem;
}

.dgap1_5 {
    gap: 1.5rem;
}

.dgap2 {
    gap: 2rem;
}

.dgap3 {
    gap: 3rem;
}

.dgap4 {
    gap: 4rem;
}

.dgap-5 {
    gap: 5%;
}

.dgap-10 {
    gap: 10%;
}

.dgap-15 {
    gap: 15%;
}

.dgap-20 {
    gap: 20%;
}

.dgap-25 {
    gap: 25%;
}

.dgap-30 {
    gap: 30%;
}

.bordered {
    border: 1px solid #dedede;
}

.brad05 {
    border-radius: 0.5rem;
}

.brad1 {
    border-radius: 1rem;
}

.brad15 {
    border-radius: 1.5rem;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .top-section-buttons {
        display: flex;
        flex-direction: column;
    }

    .top-section-buttons .button-container button:not(:first-child) {
        margin-top: 0.5rem;
    }

    .top-section-buttons .button-container button {
        width: 100%;
    }
}

.modal-body img {
    max-width: 100%;
}

.btn-order {
    padding: 0px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
}

.history-data {
    width: calc(100% - 1rem);
    gap: 0.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.history-data::-webkit-scrollbar {
    height: 6px;
}

.history-data::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.3);
}

.history-data::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.3);
}

.loading-data {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 9999999;
}

@keyframes spinner-new {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.loading-container {
    pointer-events: all;
}

.loading-container .loading-data {
    opacity: 1;
    transition: opacity 0.4s linear;
}

.loading-data .inside-spin::before {
    animation: 0.7s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 10px #939fa2;
    border-bottom-color: #fcc937;
    border-radius: 50%;
    content: "";
    height: 60px;
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    width: 60px;
    will-change: transform;
}

@keyframes spinner-logo-new {
    0% {
        transform: translate3d(-25%, -25%, 0) rotateY(0deg);
    }
    100% {
        transform: translate3d(-25%, -25%, 0) rotateY(360deg);
    }
}

.loading-data .logo-interno {
    height: 40px;
    position: absolute;
    z-index: 9999;
    transform: translate3d(-25%, -25%, 0) rotateY(0deg);
    will-change: transform;
}

.loading-data .logo-interno img {
    height: 40px;
    animation: 1s linear infinite spinner-logo-new;
    animation-play-state: inherit;
}

.loading-container.loaded {
    pointer-events: none;
}

.loading-container.loaded .loading-data {
    opacity: 0;
}

@media (min-width: 1024px) {
    .dgap-lg {
        gap: 0.5rem;
    }

    .dhgap-lg {
        gap: 0.25rem;
    }

    .dgap1-lg {
        gap: 1rem;
    }

    .dgap1_5-lg {
        gap: 1.5rem;
    }

    .dgap2-lg {
        gap: 2rem;
    }

    .dgap3-lg {
        gap: 3rem;
    }

    .dgap4-lg {
        gap: 4rem;
    }

    .dgap-5-lg {
        gap: 5%;
    }

    .dgap-10-lg {
        gap: 10%;
    }

    .dgap-15-lg {
        gap: 15%;
    }

    .dgap-20-lg {
        gap: 20%;
    }

    .dgap-25-lg {
        gap: 25%;
    }

    .dgap-30-lg {
        gap: 30%;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }

    .dgap-md {
        gap: 0.5rem;
    }

    .dhgap-md {
        gap: 0.25rem;
    }

    .dgap1-md {
        gap: 1rem;
    }

    .dgap1_5-md {
        gap: 1.5rem;
    }

    .dgap2-md {
        gap: 2rem;
    }

    .dgap3-md {
        gap: 3rem;
    }

    .dgap4-md {
        gap: 4rem;
    }

    .dgap-5-md {
        gap: 5%;
    }

    .dgap-10-md {
        gap: 10%;
    }

    .dgap-15-md {
        gap: 15%;
    }

    .dgap-20-md {
        gap: 20%;
    }

    .dgap-25-md {
        gap: 25%;
    }

    .dgap-30-md {
        gap: 30%;
    }
}

@media (max-width: 340px) {
    .navbar-brand > .df-logo > .logo-default {
        display: none !important;
    }

    .navbar-brand > .df-logo > .logo-sm {
        display: block !important;
    }
}
