@import 'menu.css';

:root {
    --grey50: #F9FAFB;
    --grey100: #F4F5F7;
    --grey200: #E5E7EB;
    --grey300: #D2D6DC;
    --grey400: #9FA6B2;
    --grey500: #6B7280;
    --grey600: #4B5563;
    --grey700: #374151;
    --grey800: #252F3F;
    --grey900: #161E2E;
    --black: #000000;
    --white: #FFFFFF;
    --green100: #F0FFF4;
    --green200: #d4f8df;
    --green300: #b0e9c4;
    --green400: #68D391;
    --green500: #48BB78;
    --green600: #38A169;
    --green700: #2F855A;
    --green800: #276749;
    --green900: #22543D;
    --red100: #FFF5F5;
    --red200: #FDE7E7;
    --red300: #f8caca;
    --red400: #F99F9F;
    --red500: #F56565;
    --red600: #d35757;
    --red700: #C53030;
    --indigo100: #EBF4FF;
    --indigo200: #C3DAFE;
    --indigo500: #667EEA;
    --indigo600: #5A67D8;
    --indigo700: #4C51BF;
    --purple100: #FAF5FF;
    --purple500: #9F7AEA;
    --purple600: #805AD5;
    --blue100: #EBF8FF;
    --blue200: #CCEDFF;
    --blue400: #63B3ED;
    --blue500: #4299E1;
    --blue600: #3182CE;
    --blue700: #2B6CB0;
    --orange100: #FFFAF0;
    --orange200: #ffedd9;
    --orange300: #FFD7A9;
    --orange400: #e99855;
    --orange500: #ED8936;
    --orange600: #e6781d;
    --orange700: #C05621;
    /*PRIMARY*/
    --primary: #68C639;
    --primary-hover: #68e139;
    --primary-dark: #389C16;
    --primary-dark-hover: #7cb342;
    --primary-light: #eef4da;
    --primary-light-hover: #e0ebbc;
    /*SECONDARY*/
    --secondary: #2B363B;
    --secondary-hover: #41494d;
    --secondary-light: #576B75;
    /*UTILITY*/
    --bg-color: var(--grey50);
    --text-color: #212529;
    --background-color: #FFF;
    --third-color: #FF8C00;
    --third-color-light: #FF8C0080;
    --third-color-dark: #c55d00;
    --widthTimeline: 6;
    --heightTimeline: 5;
}


@media (max-width: 2270px) {
    :root {
        --widthTimeline: 5;
    }
}

@media (max-width: 2000px) {
    :root {
        --widthTimeline: 4;
    }
}

@media (max-width: 1450px) {
    :root {
        --widthTimeline: 3;
    }
}
/**FONT**/
/* latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200 900;
    src: url('inter/inter-variablefont_slnt,wght.ttf') format('truetype');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200 900;
    src: url('inter/inter-variablefont_slnt,wght.ttf') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/**FONT**/

html {
    font-size: 16px;
}

@media (max-width: 1921px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 1680px) {
    html {
        font-size: 11px;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 10px;
    }
}

body {
    color: var(--text-color);
}


/*******CALC FUNCTIONS*************/
.bootstrap-tagsinput {
    height: calc(1.5em + .875rem + 3px);
}

.dbwp_tree_date ul {
    margin-left: calc(.8em + 2px + .5em);
}

    .dbwp_tree_date ul ul {
        margin-left: calc(.4em + 2px + .5em);
    }

.dbwp_tree_date_container input {
    margin-left: calc(.8em + 2px);
}

.dbwp_tree_date ul > li > .pseudo_horiz_border {
    width: calc(.8em + 3px);
}
/************<Login>*************/
.login_area .input-group-prepend {
    display: none;
}

.login_input {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
    border-width: 1px !important;
    border-radius: 4px !important;
    font-size: .875rem !important;
    line-height: 1.125 !important;
}

.img-fluid {
    display: block;
    margin: auto;
    max-width: 60% !important;
}

.login_label {
    font-weight: 450 !important;
    font-size: 1rem !important;
}

.login_area a:hover {
    color: var(--primary-hover);
}

.login_body {
    background-color: var(--gray150);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
}

.login_area {
    background-color: var(--background-color);
    padding: 15vh 30px 10vh 30px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
    height: fit-content;
    min-height: 100%;
    width: 100%;
}

    .login_area .main-logo {
        margin-bottom: 40px;
    }

@media (min-width: 767px) {
    .login_area {
        position: relative;
        max-width: 26rem;
        display: block;
        margin: auto;
        margin-top: 10%;
        padding: 40px 40px;
        height: auto;
        min-height: unset;
    }
    /*******CALC FUNCTIONS*************/
    .bootstrap-tagsinput {
        height: calc(1.5em + .875rem + 3px);
    }

    .dbwp_tree_date ul {
        margin-left: calc(.8em + 2px + .5em);
    }

        .dbwp_tree_date ul ul {
            margin-left: calc(.4em + 2px + .5em);
        }

    .dbwp_tree_date_container input {
        margin-left: calc(.8em + 2px);
    }

    .dbwp_tree_date ul > li > .pseudo_horiz_border {
        width: calc(.8em + 3px);
    }
}
/************</Login>*************/
/***TEMPLATE PAGINA DOPPIA DBWP CON SLIDE MOBILE*/
.navigator_panel {
    width: 400px;
    background-color: var(--grey50) !important;
    height: 100%;
    display: inline-block;
    vertical-align: top;
}

    .navigator_panel .dbwp_tree ul li:last-child:before {
        background: var(--grey50) !important;
    }

.data_panel {
    height: 100%;
    display: inline-block;
    vertical-align: top;
}

.mobile_nav {
    display: none;
    position: relative;
    vertical-align: middle;
    text-align: center;
    height: 100%;
}

    .mobile_nav > i {
        font-size: 2rem;
        margin-top: 40vh;
        visibility: hidden;
    }

.vertical-splitter {
    white-space: nowrap;
    height: 100%;
    overflow: hidden;
}

/*MOBILE*/
@media (max-width: 767px) {

    .data_panel {
        left: 10%;
        width: 90% !important;
        opacity: 1;
        position: absolute;
        overflow: auto;
    }

    .navigator_panel {
        left: 0%;
        width: 90% !important;
        opacity: 1;
        position: absolute;
        overflow: auto;
    }

    .mobile_nav > i {
        visibility: visible;
    }

    .mobile_nav {
        width: 10% !important;
        display: inline-block;
        position: absolute;
        left: 90%;
        border-left: 1px solid var(--grey50);
        border-right: 1px solid var(--grey50);
        top: 0px;
    }

    .hiddenRight {
        position: absolute;
        width: 0px !important;
        top: 0%;
        left: 200%;
        z-index: 100;
        -webkit-transform: translate(-100%, 0%);
        -moz-transform: translate(-100%, 0%);
        transform: translate(-100%, 0%);
        -webkit-transition: 600ms;
        -moz-transition: 600ms;
        transition: 600ms;
    }

    .hiddenLeft {
        position: absolute;
        top: 0%;
        left: -200%;
        width: 0px !important;
        z-index: 100;
        -webkit-transform: translate(100%, 0%);
        -moz-transform: translate(100%, 0%);
        transform: translate(100%, 0%);
        -webkit-transition: 600ms;
        -moz-transition: 600ms;
        transition: 600ms;
    }

    .mobile_nav_translated {
        left: 0%;
    }
}
/*FINE MOBILE*/
/*FINE TEMPLATE*/
@media (min-width: 992px) {
    .dbwp_desktop {
        display: block;
    }

    .dbwp_mobile {
        display: none;
    }
}

@media (max-width: 993px) {
    .dbwp_desktop {
        display: none;
    }

    .dbwp_mobile {
        display: block;
    }

    .fc-scroller {
        overflow: visible !important;
    }
}


/********* DBWP_TOGGLE *************/
.dbwp_toggle {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    border: 0;
    outline: 0;
    cursor: pointer;
    display: inline-block !important;
    /* margin: 10px; */
}


    /* To create surface of toggle button */
    .dbwp_toggle:after {
        content: '';
        width: 38px;
        height: 22px;
        display: inline-block;
        background: #c6c6c6;
        border-radius: 18px;
        clear: both;
    }


    /* Contents before checkbox to create toggle handle */
    .dbwp_toggle:before {
        content: '';
        width: 18px;
        height: 18px;
        display: inline-block;
        position: absolute;
        left: 2px;
        top: 2px;
        border-radius: 20px;
        background: rgb(255, 255, 255);
    }


    /* Shift the handle to left on check event */
    .dbwp_toggle:checked:before {
        left: 18px;
    }

    /* Background color when toggle button will be active */
    .dbwp_toggle:checked:after {
        background: #91bf65;
    }

    .dbwp_toggle:disabled {
        cursor: default;
    }

        .dbwp_toggle:disabled:after {
            background: #c4c3c35e;
        }

        .dbwp_toggle:disabled:checked:after {
            background: #cbe3b4;
        }


    .dbwp_toggle,
    .dbwp_toggle:before,
    .dbwp_toggle:after,
    .dbwp_toggle:checked:before,
    .dbwp_toggle:checked:after {
        transition: ease .2s;
        -webkit-transition: ease .2s;
        -moz-transition: ease .2s;
        -o-transition: ease .2s;
    }
/********* DBWP_TOGGLE *************/
/*Per evitare colorpicker nascosto sotto modali*/
.popover {
    z-index: 99999999;
}

/*Custom tab*/
table.customTab td {
    padding: 20px;
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 125%;
    /* identical to box height, or 17px */
    text-align: center;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #6B7280;
    color: var(--grey500);
}

    table.customTab td:hover {
        border-bottom: 2px solid #161E2E;
        border-bottom: 2px solid var(--grey900);
        color: #161E2E;
        color: var(--grey900);
    }

    table.customTab td.selected {
        border-bottom: 2px solid #161E2E;
        border-bottom: 2px solid var(--grey900);
        color: #161E2E;
        color: var(--grey900);
    }

    table.customTab td.disabled {
        color: #D2D6DC;
        color: var(--grey300);
    }

        table.customTab td.disabled:hover {
            color: #D2D6DC;
            color: var(--grey300);
            border-bottom: none;
        }
/*Fine Custom tab*/
/*Inizio Dettaglio*/
.maindettaglio {
    position: relative;
    top: 160px;
    width: 800px;
    margin: auto;
    background: #FFFFFF;
    background: var(--white);
    -webkit-box-shadow: 0px 1px 2px 0 rgba(0,0,0,0.06), 0px 1px 3px 0 rgba(0,0,0,.1);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: Inter;
    font-style: normal;
}

.mainform {
    padding: 20px 40px 40px 40px;
}

.maindettagliowide {
    width: 1000px;
    top: 40px;
}
/*fine Dettaglio*/
/**************<Tree>****************/
.treeRootText {
    color: #38A169;
    color: var(--green600);
    font-weight: 600;
}
/*Simulatore detrazione*/
/**************<bottoni passi compilazione>****************/
button[passoCompletato] {
    background-color: var(--green500);
    border-color: var(--green500);
}

button[passoNonCompletato] {
    background-color: #3a3e47 !important;
    border-color: #3a3e47 !important;
}
/**************</bottoni passi compilazione>***************/
/*Simulatore detrazione*/
/**************Pagina licenze***************/
.table-inactive td {
    background-color: #ececec;
    color: #b9b9b9;
}
/********DBWP COLUMN FILTER********************************/
.dbwp_columnfilter td, .dbwp_columnfilter th {
    padding-top: .8rem;
    padding-bottom: 0px;
}

.dbwp_columnfilter th {
    padding-right: 2px;
    padding-left: .4rem;
}

.dbwp_columnfilter span {
    font-size: 1rem;
}

.dbwp_columnfilter a {
    font-size: .9rem;
}

.dbwp_columnfilter .dbwp_List_Column {
    padding-left: 0px;
}

.dbwp_columnfilter button {
    margin-bottom: .8rem;
}

i.noicon.dbwp_DefaultIcon + span {
    margin-left: 0;
}

.noFakeLabel .dbwp_fakeLabel {
    display: none;
}

.dropdown.responsivetabs-more{
    padding: 0;
}
    .dropdown.responsivetabs-more > .dropdown-toggle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

.dbwp_Helper {
    font-style: italic;
    font-weight: 300;
    padding: 1rem 2rem;
    width: 100%;
    border-radius: .8rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: var(--grey100);
    color: var(--grey500);
}

    .dbwp_Helper.info {
        background-color: var(--blue100);
        color: var(--blue600);
    }
    .dbwp_Helper.error {
        background-color: var(--red200);
        color: var(--red600);
    }
    .dbwp_Helper.warning {
        background-color: var(--orange200);
        color: var(--orange600);
    }
    .dbwp_Helper.success {
        background-color: var(--green100);
        color: var(--green600);
    }

label.dbwp_notnull:after,
.dbwp_gridcell.dbwp_notnull label:after,
.form-group.dbwp_notnull > label:after {
    margin-left: 0.3rem;
    content: "*";
    color: var(--orange500);
    font-weight: 600;
}
.dbwp_edit {
    position: absolute;
    z-index: 1000;
}