@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {

    --color-write: #fff;
    --color-orange: #ff7e00;
    --color-grey: #c7c7c7;
    --color-grey-weak: #f2f2f2;
    --color-black: #211e1e;

    --bgc-r-facede-action: #fafafa;
    --bgc-r-w: #f1f1f1;
    --bgc-frames: #fff;
    --color-icons-action: #211e1e;
    --heigth-r-facede-action: 60px;

    --color-border-default: #343540;
    --color-input-focus: #096a9b;
    --color-default: black;
    --color-text-defaut: #393939;
    --color-border-facede-action: #d5d5d5;

}

.r-w.dark-theme {

    --bgc-r-facede-action: #101214;
    --color-icons-action: #fafafa;
    --bgc-r-w: #12171a;
    --bgc-frames: #0e1a21;

    --color-border-default: #5f5f5f;
    --color-input-focus: #04387f;
    --color-default: #fff;
    --color-text-defaut: #b2b2b2;
    --color-border-facede-action: #434343;
}

* {
    box-sizing: border-box;
    outline: none;
}

.r-input-width-default {
    width: 250px;
}

.r-t-align-left {
    text-align: left;
}

.r-t-align-right {
    text-align: right;
}

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

.r-box-show-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.r-button-full-width {
    display: inline-block;
    width: 100%;
}

.r-box-show {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 0 20px;
}

.r-item-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.r-display-none {
    display: none;
}

.r-display-block {
    display: block;
}

button.r-actions-window {
    display: none
}

.r-actions-window-active {
    position: absolute;
    right: 0;
    z-index: 6;
    margin-top: 0;
    margin-bottom: 0;
    background-color: var(--bgc-r-facede-action);
}

.r-display-inline-block {
    display: inline-block
}


.r-btn-new-convert-close {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.r-btn-new-cancel-close {
    transition: transform 0.3s ease;
}

.r-close-grid {
    width: 0 !important;
    overflow: hidden;
    transition: width 0.6s ease;
}

.r-w-t h2,
.r-w h3 {
    margin: 0 !important;
}

.r-w-t {
    font-weight: bold;
    color: var(--color-default);
}

.r-left-block-grid {
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: 100%;
}

.r-act-grid-body {
    margin-top: 10px;
    height: 100%;
}

.r-act-grid-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 5px;
    height: 40px;
    bottom: 0;
}

/* inputs */
.r-i-control {
    border-radius: 6px;
    padding: 5px;
    border: 1px solid var(--color-border-default);
    font-size: 1rem;
}

/* Firefox */
.r-i-control[type=number] {
    --moz-appearance: textfield;
}

input.r-i-control[identity][disabled] {
    cursor: not-allowed;
}

.r-i-control::-webkit-outer-spin-button,
.r-i-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.r-g-i-i button {
    padding: 10px;
}

.r-g-i-i {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

.r-left-block.r-display-block {
    display: block;
}

/* Titles */
.r-w-t {
    padding-left: 5px;
    font-weight: bold;
}

.r-t-f {
    padding-top: 5px;
    padding-bottom: 5px;
}

/*Frames*/
.r-q-b {
    align-items: center;
}

.r-q-l {
    display: block;
    overflow: auto;
    height: 300px;
    max-height: 400px
}

.r-q-b,
.r-q-l {
    border-radius: 3px;
    background-color: var(--bgc-frames);
    padding-left: 10px;
    padding-right: 10px;
    height: max-content;
}

.r-q-b::-webkit-scrollbar-thumb,
.r-q-l::-webkit-scrollbar-thumb {
    border: 3px solid var(--color-write);
    background-color: #f1f1f1;
    border-radius: 5px;
}

.r-q-b::-webkit-scrollbar,
.r-q-l::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

.r-q-i {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    width: 100%;
    /* justify-content: flex-start;
    align-content: flex-start;
    align-items:end; */
}

.r-q-b .r-g-i-i {
    margin-bottom: 18px;
}

.f-t-line td.r-i-focus-dependency {
    border-bottom: 2px solid var(--color-orange);
}

textarea.r-i-control.r-i-focus-dependency,
input.r-i-focus-dependency {
    border: 2px solid var(--color-orange);
}

.r-g-i-i select.r-i-focus-dependency {
    border: 2px solid var(--color-orange);
}

.r-q-b .r-g-i-i .r-label-block {
    display: block;
}

.r-q-b .r-g-i-i .r-label-inline {
    display: inline;
}

/*frame type line*/
.f-t-line {
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
}

.f-t-line thead {
    position: sticky;
    top: 0;
}

.f-t-line th {
    padding-top: 5px;
    padding-bottom: 5px;
    padding: 4px;
}

.f-t-line th.title {
    padding: 0px;
}

.f-t-line th,
.f-t-line td {
    margin-left: 5px;
    margin-right: 5px;
}

.f-l-actions .f-t-line thead {
    border-radius: 10px;

}

/* Window */
.r-f {
    overflow-x: none;
    width: 100%;
}

.r-w {
    display: flex;
    margin: 0;
    height: 100%;
    background-color: var(--bgc-r-w);
    color: var(--color-default);
    scrollbar-color: rgba(93, 93, 93, 0.543) var(--bgc-r-w);
    overflow: hidden;
}

.r-b {
    padding: 5px;
}

/*Buttons*/
.r-b-i {
    margin-bottom: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    border: 0.5px solid #dbdada;
}

.r-b-i:active {
    opacity: 50%;
}

.r-left-block {
    border-right: 1px solid var(--color-border-facede-action);
}

.r-act {
    width: 500px;
    height: calc(100% - var(--heigth-r-facede-action));
    max-width: 500px;
    transition: width 0.6s ease;
}

.r-head {
    background-color: var(--bgc-frames);
}

.r-w-body {
    display: flex;
    height: calc(100% - var(--heigth-r-facede-action));
}

.r-f-work.r-f-items {
    overflow-y: scroll;
    margin-top: 10px;
}

.r-f-work.r-f-items,
.r-vertical-actions {
    box-sizing: border-box;
    height: calc(100%);
}

.r-facede-action-crud {
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 200;
}

.r-head.r-facede-action-crud {
    margin-right: 14px;
    box-sizing: border-box;
    width: auto;
}

.r-window-work {
    padding-left: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    max-height: 100%;
}

.r-f-work {
    display: grid;
    width: 100%;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    max-height: calc(100% - 55px);
    grid-template-rows: max-content;

}

.r-facede-action.top,
.r-act-opt {
    height: var(--heigth-r-facede-action);
    border-bottom: 1px solid var(--color-border-facede-action);

}

.r-window-name.top {
    display: none;
}

.r-head {
    display: flex;
    align-items: center;
    z-index: 1;
    width: 100%;
}

.r-read-new,
.r-act-opt {
    justify-content: space-between;
    padding: 5px;
}

.r-read-edit {
    justify-content: space-between;
}

.r-a-b {
    border: none;
    background-color: inherit;
}

.r-a-b-disable {
    pointer-events: none;
}

.r-a-b.r-a-b-disable i {
    color: rgb(156, 156, 156);
}

.r-a-cancel {
    margin-left: 5px;
    background-color: var(--color-write);
    width: 90px;
    border-radius: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.r-a-b i {
    color: var(--color-icons-action);
    font-size: 1.3rem;
    cursor: pointer;
}

.container-r-f {
    width: 100%
}

.r-f-home {
    width: 100%;
    height: calc(100% - var(--heigth-r-facede-action));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.r-f-home-round {
    border-radius: 50px;
    padding: 15px;
    margin-bottom: 10px;
}

.r-f-home i {
    font-size: 60px;
}

.f-l-actions {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    cursor: pointer;
    border: 2px solid var(--color-black);
    border-radius: 5px;
}

.f-l-actions a {
    border: none;
    background-color: inherit;
}

.f-l-actions a:active {
    opacity: 20%;
}

.searh-items-grid {
    display: flex;
    height: 30px;
    justify-content: space-between;
    border-radius: 20px;
    border: 1px solid var(--color-black);
    border-spacing: 0;
    overflow: hidden;
}

.searh-items-grid input {
    width: 100%;
    border: none;
    padding-left: 10px;
    padding-right: 10px;
}

.searh-items-grid button {
    border: none;
    background-color: rgb(0, 192, 118);
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
    cursor: pointer;
}

.list-vertical-buttons {
    position: absolute;
    top: 48px;
    background-color: var(--bgc-r-w);
    border: 1px solid var(--color-border-default);
    min-width: 200px;
    margin: 0;
    z-index: 1;
}

.r-globalization-list li {
    text-align: left;
}

.r-a-menu-vertical-list {
    right: 10px;
}

.r-a-menu-vertical-list.list-vertical-buttons button {
    background-color: var(--color-black);
}

.r-globalization-list.list-vertical-buttons li,
.r-enviroment-list.list-vertical-buttons li,
.r-a-menu-vertical-list.list-vertical-buttons button {
    font-size: 1rem;
    padding: 7px 5px 7px 5px;
    margin: 0;
    cursor: pointer;
    border: none;
    font-weight: bold;
    color: var(--color-text-defaut);
    text-align: left;
}

.r-globalization-list.list-vertical-buttons li:hover,
.r-enviroment-list.list-vertical-buttons li:hover,
.r-a-menu-vertical-list.list-vertical-buttons button:hover {
    color: var(--color-grey);
}

.list-vertical-buttons.list-vertical-buttons-pp-left,
.list-vertical-buttons.list-vertical-buttons-pp-rigth {
    border-radius: 5px 5px 5px 5px
}

.r-vertical-actions.r-display-block {
    display: block;
}
.r-vertical-actions {
    width: 200px;
    background-color: var(--bgc-frames);
    overflow-y: auto;
    border-left: 1px solid var(--color-border-facede-action);
}

.r-vertical-actions ol,
.list-vertical-buttons {
    list-style: none;
    padding: 0px;
}
.r-vertical-actions ol {
    margin: 0;
    padding-left: 5px;
    padding-right: 5px;
}

.r-vertical-actions ol li button,
.r-vertical-actions ol li a {
    font-size: 1rem;
    display: inline-block;
    padding: 5px 5px 7px 5px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    border: none;
    background-color: var(--bgc-frames);
    color: var(--color-default);
    width: 100%;
    text-align: left;
}

.r-vertical-actions ol li a {
    text-decoration: none;
}

.r-a-b.actions-mobile {
    display: none;
}

.r-text-nowrap {
    text-wrap: nowrap;
}

/* Console */
.r-c {
    width: 250px;
    height: 100%;
}

.actions-view {
    display: inline-block;
}

/* r-mobile */
.open-grid.r-mobile {
    display: none;
}

.r-message {
    padding: 30px 10px 10px 10px;
    width: 300px;
    background-color: var(--bgc-frames);
    border-radius: 10px;
    box-shadow: 0px 0px 2px var(--color-border-default);
    z-index: 200;

}

.r-message-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.r-message-header-icon {
    font-size: 70px;
}

.r-message-header-title {
    font-size: 2rem;
    font-weight: bold;

}

.r-message-content-text {
    text-align: center;
}

.r-message-footer .cancel-ok {
    display: flex;
    justify-content: center;
}

.r-message-footer button {
    border: none;
    padding: 10px;
    border-radius: 10px;
    min-width: 120px;
    font-weight: bold;

}

.r-message-footer button.cancel {
    background-color: #dd0000;
    margin-left: 10px;
    color: #fff;
}

.r-message-footer button.ok {
    margin-left: 10px;
    background-color: #0606d8;
    color: #fff;

}

.color-darkgrey {
    color: darkgrey;
}

.color-green {
    color: #009d16;
}

.color-orange {
    color: #f18000;
}

.color-red {
    color: #f10707;

}

.r-message-header-icon,
.r-message-header-title,
.r-message-content {
    margin-bottom: 15px;
}


/* Loader INI */

.r-loader {

    position: absolute;
    border: 6px solid var(--color-black);
    border-radius: 50%;
    border-top: 6px solid #ffa200;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 1.3s linear infinite;
    /* Safari */
    animation: spin 1.3s linear infinite;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loader FIM */


/* Inputs */

textarea.r-i-control {
    resize: none;
    border: 1px solid var(--color-black);
    min-height: 100px;
    padding-top: 10px;
}

.f-t-line .r-i-control {
    box-shadow: none;
}

.did-floating-label-content {
    position: relative;
}

.did-floating-label {
    font-size: 1rem;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 10px;
    top: 11px;
    padding: 0 5px;
    background: var(--bgc-frames);
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.did-floating-input,
.did-floating-select,
.r-i-control {
    font-size: 1rem;
    height: 36px;
    padding: 0 10px;
    background: inherit;
    box-sizing: border-box;
    color: var(--color-text-defaut);

}

.did-floating-input:focus-within,
.did-floating-select:focus-within,
.r-i-control:focus-within {
    border-color: var(--color-input-focus);
    box-shadow: inset 0 0 0 1px var(--color-input-focus);
}

.did-floating-input:focus,
.did-floating-select:focus {
    outline: none;
}

.did-floating-input:focus~.did-floating-label,
.did-floating-select:focus~.did-floating-label {
    top: -8px;
    font-size: 13px;
}

select.did-floating-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.did-floating-select::-ms-expand {
    display: none;
}

.did-floating-input:not(:placeholder-shown)~.did-floating-label {
    top: -8px;
    font-size: 13px;
}

.did-floating-select:not([value=""]):valid~.did-floating-label {
    top: -8px;
    font-size: 13px;
}

.did-floating-select[value=""]:focus~.did-floating-label {
    top: 11px;
    font-size: 13px;
}

.did-floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
    background-position: right 15px top 50%;
    background-repeat: no-repeat;
}

input:-internal-autofill-selected {
    background-color: var(--bgc-frames) !important;
}

.context-menu {
    display: none;
    position: absolute;
    z-index: 100;
    min-width: 300px;
    background-color: var(--bgc-frames);
    border-radius: 5px;
    box-shadow: 0 0 1px var(--color-border-default);
    color: var(--color-text-defaut);
    padding: 5px;
}

.context-menu ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.context-menu button {
    width: 100%;
    padding: 5px;
    background-color: var(--bgc-frames);
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: inherit;
}

.desc-environment {
    border: 1px solid var(--color-border-facede-action);
    border-radius: 20px;
    padding: 1px 10px;
    font-weight: bold;
    color: var(--color-text-defaut);
}


.r-mobile {
    display: none;
}

@media screen and (max-width:700px) {

    .r-a-b.r-btn-new-cancel-close.r-desktop-web {
        display: none;
    }

    .r-a-b.r-btn-new-cancel-close.r-mobile {
        display: unset;
    }

    .r-left-block {
        display: none;
        width: 100%;
        position: absolute;
        z-index: 200;
        bottom: 0;
        top: 0;
        background-color: var(--bgc-frames);
    }

    .r-left-block-grid {
        width: 100%;
    }

    .container-r-f.box-frame {
        display: block;
    }

    .container-r-f.box-home {
        display: none;
    }

    .r-a-b.r-mobile {
        display: inline-block;
    }

    .open-box-frame {
        display: none;
    }

    .open-grid.r-mobile {
        display: unset;
    }

    .r-a-b.r-mobile {
        display: unset;
    }
    .r-a-b.r-desktop-web {
        display: none;
    }

    .r-vertical-actions {
        display: none;
    }

    .r-f-work.r-f-items {
        display: block;
        padding-bottom: var(--heigth-r-facede-action);
    }

    .r-act {
        width: unset;
        max-width: unset;
    }

    .r-q-b,
    .r-q-l {
        margin-bottom: 10px;
    }

    .r-act-grid-body {
        padding-right: 10px;
    }

    button.r-actions-window {
        display: inline
    }

    .r-actions-window {
        display: none;
    }

    .r-facede-action.bottom {
        position: fixed;
        height: var(--heigth-r-facede-action);

    }

    .r-window-name.top {
        display: block;
        align-content: center;
        text-align: center;
        background-color: var(--bgc-r-facede-action);
        color: var(--color-icons-action);

    }

    .r-q-b .r-g-i-i,
    .r-q-b .did-floating-input,
    .r-q-b .did-floating-select,
    .r-q-b .r-i-control {
        width: 100% !important;
    }

    .r-message {
        max-width: calc(100% - 30px);
    }

    .r-vertical-actions {
        position: fixed;
        margin: 0;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
        height: calc(100% - 30px);
        width: 100%;
        right: 0;
        left: 0;
        z-index: 1;
        background-color: var(--bgc-r-w);

    }

    .r-vertical-actions ol {
        margin-top: 10px;
        padding-top: 30px;
        padding-left: 30px;
        padding-right: 30px;
        background-color: var(--bgc-frames);
        height: inherit;
    }

    .r-vertical-actions ol li button,
    .r-vertical-actions ol li a {
        text-align: center;
    }

    .r-vertical-actions li.r-mobile {
        display: inline-block;
        margin-bottom: 10px;
    }

}

.r-color-White {
    color: #FFFFFF;
}

.r-color-Silver {
    color: #C0C0C0;
}

.r-color-Gray {
    color: #808080;
}

.r-color-Black {
    color: #000000;
}

.r-color-red {
    color: #FF0000;
}

.r-color-Maroon {
    color: #800000;
}

.r-color-Yellow {
    color: #FFFF00;
}

.r-color-Olive {
    color: #808000;
}

.r-color-Green {
    color: #008000;
}

.r-color-Aqua {
    color: #00FFFF;
}

.r-color-Teal {
    color: #008080;
}

.r-color-Blue {
    color: #0000FF;
}

.r-color-Navy {
    color: #000080;
}

.r-color-Fuchsia {
    color: #FF00FF;
}

.r-color-Purple {
    color: #800080;
}