html {
    font-size: 16px;
}
ul {
    list-style-type: none;
    cursor: pointer;
    padding: 0px;
}
.side li {
    line-height: 30px;
    padding: 3px 0px;
    white-space: nowrap;
}
.side > i{

}
.side li:hover,.side button:hover {
    color:#fff;
}
.side li:not(.selected) > a {
    border-left: 3px solid var(--secondary_base);
}
.side li.selected > a {
    border-left: 3px solid var(--primary_base);
    color: var(--primary_base);
}
    .side li.selected > a > [class*="icon"]:before {
        color: var(--primary_base);
    }

.side li > ul > li > a {
    padding-left: 20px;
}
.side a {
    text-decoration: none;
    color: var(--white);
    display: inline-block;
    width: 100%;
    cursor: pointer;
    font-size: .875rem;
}
.side li > ul {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.4s;
}
.side.expanded li > ul.expanded {
    max-height: 600px;
    overflow: hidden;
    transition: max-height 1s;
}
.topmenu {
    position: fixed;
    right: 0px;
    top: 0px;
    height: 60px;
    left: 53px;
    background-color: rgb(255, 255, 255);
    z-index: 0;
    text-align: right;
    font-size: .875rem;
    line-height: 60px;
    transition: left 0.5s;
    z-index: 1;
    white-space: nowrap;
    /*box-shadow: 0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);*/
    border-bottom: 0.5px solid #acd1e3;
}
.topcorner {
    white-space: nowrap;
    margin-top: 7px;
}
.topcorner img {
	height:35px;
	vertical-align:top;
	padding-left:3px;
    margin-top:5px;
}
.topmenu a, .topmenu button {
    text-decoration: none;
    color: #6a757a;
    position: relative;
    display: inline-block;
    width: 100%;
    border: none;
    background-color: transparent;
}
    .topmenu button:active,
    .topmenu button:focus{
        outline: none;
    }
.side {
    position: fixed;
    width: 53px;
    top: 0px;
    left: 0px;
    bottom: 0px;
    background-color: var(--secondary_base);
    border: 0px;
    overflow-y: auto;
    overflow-x: hidden;
    color: #fff;
    -ms-overflow-style: none;
    -webkit-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
    -webkit-transition: width 0.5s;
    transition: width 0.5s;
}
.side::-webkit-scrollbar {
    width: 7px; /* width of the entire scrollbar */
}
.side::-webkit-scrollbar-track {
    background: #333; /* color of the tracking area */
}
.side::-webkit-scrollbar-thumb {
    background-color: #666; /* color of the scroll thumb */
    border-radius: 20px; /* roundness of the scroll thumb */
}
.side [class*="icon"]:before {
    margin-left: 8px;
    margin-right:8px;
    font-size: 1.4rem;
    width: 35px;
    display: inline-block;
    padding: 0 !important;
    color: #576B75;
    text-align:center;
}
div.iconBig {
    margin-top: 10px;
    cursor: pointer;
}
.side .iconBig:before {
    padding: 0px 14px 0px 14px;
}
.side a:focus, .side a:hover {
    color: var(--primary_base);
}
.side a:not([href]):not([tabindex]):focus, .side a:not([href]):not([tabindex]):hover {
    color: var(--primary_base);
}
.main {
    position: fixed;
    top: 60px;
    left: 53px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
    padding: 0px;
    transition: left 0.5s;
    background-color: var(--white);
}
.setting {
    cursor: pointer;
    padding: 0px 20px 0px 20px;
    display: inline-block;
    line-height: 60px;
}
    .setting:hover {
        color: #fff;
        background-color: var(--primary_hover);
    }
.menu_dropdown {
    position: absolute;
    top: 60px;
    line-height:40px;
    z-index: 2;
    display: none;
    border: 1px solid #aaa;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);
}
.menu_dropdown div {
	background-color:#f8f9fa;
	text-align:center;
	white-space:nowrap;
}
.menu_dropdown a {
    padding: 2px 20px;
}
.menu_dropdown div:hover, .menu_dropdown a:hover {
    background-color: var(--primary_hover);
    color: #fff !important;
}
.menu label {
    font-weight: 600 !important;
    font-size: .75rem !important;
    margin-left: .15rem !important;
}
.topmenu li:hover .menu_dropdown {
    display: block;
}
.topmenu ul li, .topmenu ul {
    display: inline-block;
}
.side.expanded {
    width: 13.5rem;
    transition: width 0.5s;
}
.main.expanded, .topmenu.expanded {
    left: 13.5rem;
    transition: left 0.5s;
}
a.expandable:after {
    font-family: FontAwesome;
    font-weight: normal;
    font-size: .875rem;
    font-style: normal;
    text-decoration: inherit;
    speak: none;
    padding: 0px 8px 0px 8px;
    content: "\f105";
}
a.expandable.expanded:after {
    content: "\f107"
}
.side li > a:hover {
    background-color: #41494d;
}
@media (max-width: 767px) {
    .topmenu > ul > li:first-child {
        display: none;
    }
}
@media (max-width: 600px) {
    .main {
        left: 0px;
    }
}
/*******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);
}

table.dbwp_timeline_l0 td {
    height: calc(1px * (var(--heightTimeline)*8 + 2));
}

table.dbwp_timeline_l1 td {
    width: 42px; /*fallback*/
    min-width: 42px; /*fallback*/
    width: calc(1px * (var(--widthTimeline)*8 + 2));
    min-width: calc(1px * (var(--widthTimeline)*8 + 2));
    height: calc(1px * (var(--heightTimeline)*8 + 2));
}

table.dbwp_timeline_l1 .dbwp_weekNumber td {
    height: calc(1px * (var(--heightTimeline)*4 + 1));
}

table.dbwp_timeline_lr td {
    height: calc(1px * (var(--heightTimeline)*8 + 2));
}

.dbwp_tl_h {
    width: 5px; /*fallback*/
    width: calc(1px * var(--widthTimeline));
}

.dbwp_timeline_nav {
    max-width: calc(1px * (var(--widthTimeline)*8 + 2)*var(--daysTimeline));
}

table.dbwp_timeline_l1 td.dbwp_tlyr {
    width: calc(2px * var(--widthTimeline));
    min-width: calc(2px * var(--widthTimeline));
}
/************<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: #97cc1c;
}
.login_body {
    background-color: #EEF4F6;
    height: 100%;
}

.login_area {
    background-color: #fff;
    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: 100%;
}
.login_area .main-logo {
    margin-bottom: 40px;
}
@media (min-width: 767px) {
    .login_area {
        position: relative;
        max-width: 26rem;
        display: block;
        margin: 20vh auto;
        padding: 40px 40px;
        height: auto;
    }
}
/************</Login>*************/
/***TEMPLATE PAGINA DOPPIA DBWP CON SLIDE MOBILE*/
.navigator_panel {
    width: 400px;
    background-color: #f8f9fa !important;
    height: 100%;
    display: inline-block;
    vertical-align: top;
}
.navigator_panel .dbwp_tree ul li:last-child:before {
    background: #f8f9fa !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) {

    .container{
        display:block;
    }

    .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 #f8f9fa;
        border-right: 1px solid #f8f9fa;
        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%;
    }
    #dbwp_breadcrumb {
        display:none;
    }
}
/*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;
    }
    .home_left {
        width:100% !important;
    }
    .home_right {
        width: 0% !important;
        min-width: 0px !important;
        padding: 0px !important;
        overflow: hidden !important;
    }
}
.modaleDettaglioConfigSalvata {
    height: 100%;
    padding: 20px;
}
.tabellaPrezzi tr {
    border: 1px solid;
}
.tabellaPrezzi td, .tabellaPrezzi th {
    border: 1px solid #ddd;
    padding: 2px 10px;
}
.tabellaPrezzi tr td:nth-child(1) {
    font-style: oblique;
}
.tabellaPrezzi tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa !important;
}
    .tabellaPrezzi th {
        background-color: #d9d9d9;
        color: black
    }

.popover {
    z-index: 9999999999;
}