﻿html {
    overflow-x: unset;
}


.powerbi-container {
    aspect-ratio: 16/9;
    width: 84rem;
    margin-top: 1rem;
    -webkit-box-shadow: 0px 0px 20px 3px var(--theme-shadow);
    box-shadow: 0px 0px 20px 3px var(--theme-shadow);
}

.header_ {
    height: var(--heigt-header);
    display: grid;
    grid-auto-flow: column;
    grid-auto-rows: 1fr 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    padding-inline: 0.5rem;
    padding-left: 2em;
    z-index: 999;
    position: relative;
}

.home-layout {
    display: grid;
    justify-items: center;
}

.home-layout > div {
    margin: unset;
    padding: 1rem;
    margin-bottom: 1rem;
    max-width: 95vw;
    min-width: 80vw;
    display: flex;
    overflow-y: auto;
    width: fit-content;
    max-width: unset;
    min-width: unset;
}

.home-layout > div > a {
    aspect-ratio: 1/1;
}

.home-layout > *:first-child {
    height: 100%;
    max-height: 40vh;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 1fr 1fr;
    overflow-x: hidden;
}

.functionalities-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important
}

@media only screen and (max-width: 950px) {
    .home-layout > *:first-child {
        grid-template-columns: repeat(4, 1fr);
    }

    .functionalities-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        overflow-y: auto !important;
    }
}

@media only screen and (max-width: 750px) {
    .home-layout > *:first-child {
        grid-template-columns: repeat(3, 1fr)
    }

    .functionalities-grid {
        grid-template-columns: repeat(3, 1fr) !important
    }

    .home-layout > *:last-child {
        overflow-y: auto !important;
    }
}

@media only screen and (max-width: 580px) {
    .home-layout > *:first-child {
        grid-template-columns: repeat(2, 1fr)
    }

    .functionalities-grid {
        grid-template-columns: repeat(2, 1fr) !important
    }
}

.home-layout > *:last-child {
    overflow-y: hidden;
    height: 100%;
    height: 15rem;
    max-width: unset;
    min-width: unset;
}


.icon-back-route {
    width: 15px;
    margin-bottom: 3px;
    margin-left: 4px;
}

html {
    overflow-x: hidden;
}

.gri-display {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    justify-content: flex-end;
}

#title-header {
    width: 100vw;
}


.text-dynamic-dark {
    color: var(--theme-text-on-dark-bg) !important;
}

.divider-dark {
    color: var(--theme-text-on-dark-bg) !important;
}

.divider-dark:before {
    color: var(--theme-text-on-dark-bg) !important;
}

.divider-dark:after {
    color: var(--theme-text-on-dark-bg) !important;
}


.area-contents-form > form, .form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.area-contents-form > #form-area {
    width: 75%;
    align-items: flex-start;
}


.area-contents-form > #form-area > #area-first-top-part, #area-date-part, #area-select-icon {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    align-items: center;
}

.area-contents-form > #form-area > #area-select-icon > div {
    display: flex;
    flex-direction: column;
}

.area-contents-form > #form-area > #area-first-top-part > :nth-child(1) {
    width: 50%;
}

.area-contents-form > #form-area > #area-first-top-part > :nth-child(3) > label {
    margin-top: 0.15rem;
}

.area-contents-form > #form-area > #area-date-part > :nth-child(1) {
    width: 20rem;
}

.area-contents-form > #form-area > #area-date-part > :nth-child(2) {
    width: 20rem;
}

.area-contents-form > #form-area > div > #ma-gri-part > :nth-child(1) {
    width: 15rem;
}


input[type="checkbox"] {
    max-width: unset;
    min-width: unset;
}

.form-xs {
    min-width: unset !important;
    max-width: 10rem;
    width: fit-content;
}

.icons-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.icons-box > div {
    display: flex;
    align-items: center;
    height: 2.6rem;
}

.icons-box img {
    aspect-ratio: 1/1;
    width: 35px;
    height: 35px;
    padding: 5px;
}

.icons-box input {
    width: 25px;
    height: 25px;
    margin: 10px;
}

.footer-custom {
    margin-top: auto;
    width: 100%;
    border-top: 1px solid var(--theme-footer-border-top-color);
    padding-top: 16px;
    padding-bottom: 16px;
    z-index: 999;
}

.area-contents-form {
    max-width: 100%;
    border: none;
    margin: 0px 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.area-contents-form > * {
    width: 75%;
}

@media only screen and (max-width: 1000px) {
    .area-contents-form > * {
        width: 75%;
    }
}

#export_multiplo {
    width: 30rem;
    align-items: stretch;
}

#user-area-form {
    width: 25rem;
    align-items: stretch;
}

#user-area-form > div > div:first-of-type {
    justify-content: space-between;
}


#error-page {
    min-height: unset !important;
    height: 85vh !important;
    overflow-y: hidden;
}

#gerarchie-menu {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#form-configurations {
    width: 100vw !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding-inline: 13vw;
}

.divider-home {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}

.divider-home::before, .divider-home::after {
    position: relative;
    top: -0.6rem;
    content: "";
    border-bottom: solid 1px;
    width: 26vw;
}

.divider-home::before {
    margin-right: 6rem;
}

.divider-home::after {
    margin-left: 6rem;
}

.divider {
    display: grid;
    border: unset !important;
    font-size: 20px;
    color: var(--theme-text-on-light-bg);
    text-align: center;
    margin-block: 1rem;
    grid-auto-flow: column;
    grid-template-columns: 2fr 1fr 2fr;
}

.divider::before {
    position: relative;
    top: -0.6rem;
    content: "";
    border-bottom: solid 1px;
    margin-right: 6rem;
}

.divider::after {
    position: relative;
    top: -0.6rem;
    content: "";
    border-bottom: solid 1px;
    margin-left: 6rem;
}


.divider-configurations {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    color: var(--theme-secondary);
    border-bottom: 2px solid var(--theme-secondary);
    font-weight: 600;
    font-size: 17px;
    width: 75vw;
    padding-bottom: 0.5rem;
    margin-top: 1rem;
}

.divider-configurations > img {
    aspect-ratio: 1/1;
    width: 50px;
    margin: 2px;
    margin-left: 0px;
}

.divider-configurations > p {
    margin-block-end: 5px;
}

.element-list-configurations {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.element-list-configurations > div {
    min-width: 15rem;
}

.element-list-area {
    min-height: 5rem
}

#img-conf-gruppo, #img-conf-area {
    width: 40px;
}

#img-conf-società, #img-conf-sede, #img-conf-reparti {
    width: 30px;
}

.menu-grid > a, .actions-green {
    width: 7.5rem;
    height: 8.5rem;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-scrollbar-thumb-hover);
}

.welcome-user {
    display: flex;
    gap: 5px;
}

.welcome-user > :last-child {
    font-weight: 600 !important;
}

.welcome-user > p {
    margin-block-end: unset !important;
    font-weight: 200 !important;
}

.breadcrumb-item {
    text-transform: uppercase;
    font-size: 10px
}

.filters-table-inserimenti {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filters-table-campima {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.s-form {
    min-width: unset !important;
}

.download-models-sec {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-block: 2rem;
}

.importa-dati {
    width: 25rem;
}

#importa-page {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-block: 2rem;
    flex-wrap: wrap;
    padding-inline: 14vw;
}

.importa-section {
    width: 85%
}

#download-csv-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--theme-text-on-dark-bg);
    width: 42rem;
    align-items: start;
    overflow-y: auto;
    justify-content: center;
    justify-items: center;
    gap: 0.5rem;
    max-height: 65vh;
}

.csv-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-content: center;
    justify-items: center;
    align-items: center;
    height: 6rem;
    width: 20rem;
    background: var(--theme-csv-card-bg);
}

@media only screen and (max-width: 1000px) {
    #download-csv-page {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1rem;
    }
}

.csv-card > :first-child > img {
    height: 5rem;
    margin-left: 2rem;
}

.csv-card > :last-child > h3 {
    font-size: 15px;
}

.csv-card > :last-child > a {
    font-size: 18px;
    border-bottom: 1px solid var(--theme-text-on-dark-bg);
    text-transform: uppercase;
    font-weight: 600;
}

#create-document-page {
    align-items: flex-start !important;
}

.menu-grid > a, .actions-green {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    cursor: pointer;
    justify-content: space-around;
    align-items: center;
}

.menu-grid > a.menu-grid-background-unset > img {
    width: 65px;
}

.menu-grid > a:hover {
    transform: scale(1.01);
}

div, .menu-home {
    opacity: 1;
}

.form-control {
    border-radius: 0.05rem;
    min-width: 15rem;
}

.area-contents-form > #popolamentoMA {
    display: flex;
    align-items: center;
}

img.displayed1.icons {
    height: 55px;
    width: auto;
    margin-bottom: 1rem;
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media only screen and (max-width: 555px) {
    .form-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.decapitalize {
    text-transform: unset !important;
    font-weight: unset !important;
}

#forgot-password-form {
    max-width: 27rem;
    max-height: 32rem;
    padding-bottom: unset !important;
    padding-top: 4rem;
}

#forgot-password-form > h1 {
    text-align: center;
    font-size: 30px;
}

#forgot-password-form > h3 {
    text-align: center;
    font-size: 15px;
    font-weight: unset !important;
}

#invalid-tenant {
    max-width: 500px;
    text-align: center;
    font-size: calc(1rem + 1vw) !important;
    font-family: unset !important;
    line-height: 25px;
    padding-inline: 6rem;
    min-height: 15rem;
}

.login-form {
    padding: 3.5rem;
    min-height: 37rem;
    padding-bottom: 8rem;
}

.login-cool {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 780px) {
    .menu-grid #impostazioni {
        grid-template-columns: 1fr 1fr;
        width: 18rem;
    }
}

.menu-grid {
    margin-top: 1rem;
    padding: 1rem;
    gap: 0.8rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    justify-content: center;
    overflow: auto;
    height: 73vh;
}

#impostazioni {
    grid-template-columns: 1fr 1fr 1fr;
    max-height: unset;
}

.min-width-form {
    min-width: 20rem;
}


.dd-options {
    border-radius: 4px;
    width: 200px;
    height: 20rem;
    z-index: 0;
}

.dd-selected-image, .dd-option-image {
    vertical-align: middle;
    float: left;
    margin-right: 35px;
    max-width: 55px;
}

tr {
    cursor: pointer;
}

.table-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#setlogo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input, select, option {
    font-weight: 600 !important;
}

.dataTables_wrapper {
    margin-top: 1rem;
}

.ms-container {
    width: 40rem !important;
}

@media only screen and (max-width: 750px) {
    .ms-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem;
    }
}

.icons-text-style, .ms-elem-selection {
    font-weight: 600 !important;
}

.ms-selectable, .ms-selection {
    font-weight: 600 !important;
}

#gri-select {
    width: 15rem;
    height: 8rem;
}

#gri-select > * {
    font-weight: 600;
}

#gri-list-improvised {
    width: 80vw !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#gri-list-improvised > p {
    font-weight: 600 !important;
    font-size: 0.8rem;
    margin-block-start: 0.1em;
    margin-block-end: 0.1em;
}

#gri-list-improvised > p::before {
    content: "";
    margin-left: 0.5rem;
}

#export_multiplo > div > div > h4 {
    font-weight: 600;
}

.ms-hover {
    background-color: var(--theme-ms-hover-bg) !important
}

.form-select:focus {
    border-color: var(--theme-border-focus);
    box-shadow: 0 0 0 0.25rem var(--theme-border-focus-shadow);
}

#menu-home > div > div > a {
    font-weight: 400;
}

.custom-file-input {
    width: 30rem;
}

.custom-file-input > label, .custom-file-input > span {
    height: 3rem;
}

.custom-file-input > label {
    display: flex;
    align-items: center;
}

.custom-file-input > label > p {
    margin: 0;
    width: 30rem;
}

.custom-file-input > label > input {
    width: 1px;
}


.selected-language {
    font-size: 25px !important
}

.swal-text {
    text-align: center;
}

.field-validation-valid {
    display: none;
}

.w-49 {
    width: 49%;
}

.w-49-res {
    width: 49.5%;
}

.w-33 {
    width: 33%;
}

.w-xrem {
    width: 15rem;
}

.header-right-section-resp {
    margin-right: calc(1vw + 1rem);
}

.campi-dinamici-grid {
    display: flex;
    flex-wrap: wrap;
    grid-auto-flow: column;
    min-width: 50vw;
    max-width: 90vw;
    gap: 1rem;
}

@media only screen and (max-width: 725px) {
    .w-49-res {
        width: unset;
    }

    .menu_actions {
        top: 11rem !important;
        left: 1rem !important;
        right: unset !important;
    }

    .header_ {
        height: unset;
        grid-auto-flow: row;
    }

    .centralized-725px {
        justify-content: center;
    }
}

@media only screen and (max-width: 1000px) {
    .campi-dinamici-grid {
        display: grid;
        grid-auto-flow: row;
        min-width: 50vw;
        max-width: 90vw;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.title-responsive-display, .title-responsive-display-no-action {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-block: 2rem;
}


@media only screen and (max-width: 820px) {
    .title-responsive-display {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-block: 2rem;
        align-items: center
    }
}

@media only screen and (max-width: 750px) {
    #back_btn_title {
        transform: translateX(35vw)
    }

    .btn-back-with-actions {
        transform: unset !important;
    }

    .title-responsive-display-no-action {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.dt-index-inserimenti {
    min-width: 200px !important;
    text-align: left !important;
}

th {
    align-content: start;
    vertical-align: top;
}

table.dataTable.nowrap th, table.dataTable.nowrap td {
    white-space: unset;
}

.login-form {
    margin-top: 5rem;
}

img.img-table-action {
    margin-inline: 5px;
    width: 25px;
}

.img-gri {
    width: 15px
}

td.dt-center.dt-index-inserimenti {
    text-align: center !important;
}

.button-table, .table-action > button {
    background: transparent;
    height: 45px;
    width: 50px;
    border: unset;
}

.switch {
    height: unset !important
}

.text-expired-subscription {
    color: var(--theme-text-on-dark-bg);
}