body{
    min-height: 100vh;
    margin: 0;
}
.flex{
    justify-content: center;
    display: flex;
    height: 100vh;
    align-items: center;
    width: 100%;
}
.logo{
    color: white;
}
nav.header-menu{
    background-color: #181c25;
    color: white;
    padding: 0 16px;
}
main{
    padding: 32px;
}
.w50{
    width:50%
}
.w200p{
    width: 200px !important;
}
.w400p{
    width: 400px !important;
}
.w250p{
    width: 250px !important;
}
.w300p{
    width: 300px !important;
}
.alert {
    position: absolute;
    padding: 20px;
    top: 10px;
    border: 1px solid gray;
    background-color: white;
    color: black;
    margin-bottom: 15px;
    width: 90%;
    border-radius: 0.25rem;
}
.alert.success {
    border-color: #badbcc;
    background-color: #d1e7dd;
    color: #0f5132;
}
.alert.warning {
    border-color: #ffecb5;
    background-color: #fff3cd;
    color: #664d03;
}
.alert.danger {
    border: 1px solid #f5c2c7;
    background-color: #f8d7da;
    color: #842029;
}
.alert.info {
    border-color: #b6effb;
    background-color: #cff4fc;
    color: #055160;
}
.closebtn {
    margin-left: 15px;
    color: gray;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.closebtn:hover {
    color: darkgray;
}

/* When moving the mouse over the close button */
.closebtn:hover {
    color: black;
}
.tabs {
    display: flex;
    padding-top: 1em;
}
.tab-buttons {
    flex: 1;
    margin-right: 1rem;
    border-right: 2px solid var(--primary);
}
.tab-buttons button {
    display: block;
    width: 100%;
    padding: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-weight: bold;
    outline: none;
    color: var(--primary);
}
.tab-buttons button.active {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.1);
}
.tab-content {
    flex: 3;
    padding: 1rem;
}
.tab-content > div {
    display: none;
}
.tab-content > div.active {
    display: block;
}

.collapse-block{
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.collapsed-block{
    padding: 16px;
    background-color: lightgray;
    border-radius: 0 0 5px 5px;
}
.dialogs-collapse{
    display: flex;
    align-items: center;
}
.dialogs-fieldset{
    margin: auto;
}
.grid-block-in-dialog{
    outline: 1px solid gray;
    padding: 16px;
    border-radius: 16px;
}
.grid-block-in-dialog-buttons{
    flex-direction: column;
    display: flex;
}
.margin6{
    margin: 6px;
}
table.data td:first-child {
    font-weight: bold;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: auto !important;
}
.pagination li {
    margin: 0 5px;
}
.pagination a {
    padding: 8px 16px;
    background-color: var(--primary);
    color: gray;
    border-radius: 5px;
    text-decoration: none;
}
.pagination a:hover {
    background-color: lightgray;
}
.pagination a.active {
    background-color: lightgray;
}
span.btn-action{
    margin-right: 6px;
    margin-left: 6px;
    cursor: pointer;
}
button.btn-action {
    width: 24px;
    height: 24px;
    margin-right: 6px;
    margin-left: 6px;
    display: contents;
}
.mrl6{
    margin-right: 6px;
    margin-left: 6px;
}
.mr24{
    margin-right: 24px !important;
    margin-left: 24px !important;
}
.iconSortInTable{
    width: 22px;
    margin-right: 6px;
}
.mt16{
    margin-top: 16px !important;
}
.btnTime{
    height: 32px;
    width: 32px;
    margin: 12px;
    padding: 0px;
}
.spanTime{
    margin: 14px;
}
.inputTime{
    display: inline-block;
    width: 128px !important;
}
.nameDay{
    display: inline-block;
    width: 141px !important;
}
.json-viewer {
    user-select: auto !important;
}
.textColorBlack{
    color: black
}
.spanAsLink{
    cursor: pointer;
}
.activeTabResult{
    display: block;
    border-bottom: 4px solid blue;
}
.frames{
    width: 100%;
    border: 2px solid lightgray;
    min-height: 150px;
}
.error-message{
    color: red;
    font-weight: bold;
}

.tab-content{
    padding-top: 0;
}
.addStep{
    background-color: var(--pico-contrast-background) !important;
    color: var(--pico-contrast-inverse) !important;
}
.btnStep{
    border-radius: 0;
}
.tab-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 140px;
    padding: var(--pico-spacing, 0.5rem) 1rem;
    border-radius: 0;
    background-color: var(--pico-contrast-bg, var(--pico-form-element-background-color));
    color: var(--pico-color, inherit);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s;
}

.tab-item:hover {
    background-color: var(--pico-contrast-underline, rgba(0, 0, 0, 0.5));
}

.tab-item.active {
    background-color: var(--pico-contrast-underline, rgba(0, 0, 0, 0.05));
    color: var(--pico-contrast);
}

.tab-name {
    font-weight: 700;
    flex-grow: 1;
}

.tab-remove {
    color: var(--pico-del-color, #d33);
    font-size: 1.2em;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease-in-out;
}

.tab-remove:hover,
.tab-remove:focus {
    color: var(--pico-del-hover-color, #a00);
    outline: none;
}

.tab-content {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--pico-card-background-color, #f8f9fa);
    border-radius: var(--pico-border-radius, 0.5rem);
    width: 100%;
}
.bi-trash{
    color: #0ab1b1;
}
.blockVariables{
    color: var(--pico-contrast-inverse) !important;
}
.addConditionals{
    width: 32px;
    height: 32px;
}
.blockLoop{
    height: 54px;
}
.variables{
    color: var(--pico-contrast) !important;
}
.variable-item{
    cursor: pointer;
    text-align: center;
}
.detailDialog{
    background-color: lightgray;
}