/*** PROGRESSBAR ***/

.progressbar {
    border-bottom: 3px solid var(--nxt-grey);
    height: 0px;
    position: absolute;
    padding: 5px 0;
}

/** PALLINO NORMALE **/

li.progressbar-dot {
    border: 2px solid var(--nxt-grey);
    border-radius: 50%;
    display: block;
    background-color: white;
    margin-right: 5px;
    width:14px;
    height:14px;
    float: left;
}

li.real-dot {
    margin-right: 5px;
}

/** PALLINO CENTRALE FISSO **/

li.current-dot {
    position: absolute;
    left: calc(50% - 9px);
    top: 3px;
    display: inline-flex;
    float: none;
    height: 18px;
    width: 18px;
}

li.future-dot {
    float: right;
    margin-right: 0px;
    margin-left: 5px;    
}

/** PALLINO START **/

li.progressbar-first-dot {
    position: absolute;
    left: -7px;
    top: 5px;
    margin-right: 25px;
    border: 2px solid var(--nxt-grey);
    border-radius: 50%;
    display: block;
    background-color: white;
    margin-right: 5px;
    width:14px;
    height:14px;
}

.progressbar-grouped-dots {
    position: absolute;
    background-color: white;
    border: 2px solid var(--nxt-grey);
    border-radius: 5px;
    display: block;
    background-color: white;
    width: 34px;
    height: 14px;
    line-height: 2px;
    font-size: 14px;
    font-weight: bolder;
    color: var(--nxt-grey);
}

.progressbar-grouped-dots-left {
    left: calc(25% - 29px);
}

.progressbar-grouped-dots-right {
    right: calc(25% - 29px);
}

.previous-dot, .progressbar-grouped-dots, .future-dot, .header-edit-btn {
    cursor: pointer;
}

.progressbar-grouped-dots {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.dropdown-grouped-dots-menu .dropdown-item {
    display: block;
    border-bottom: 1px solid var(--nxt-grey);
    max-width: 790px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px;
}

.dropdown-grouped-dots-menu .dropdown-item a {
    white-space: nowrap;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grouped-dot-subfase_dot a {
    background: #ff000030;
}

.dropdown-grouped-dots-menu a:hover {
    text-decoration: none;
    color: var(--main-color);
    padding-left: 10px;
}

.grouped-dot-subfase_dot a:hover {
    background: #ff000030!important;
}

.dropdown-grouped-dots-menu .dropdown-item:last-child {
    border-bottom: none!important;
}

.dropdown-grouped-dots-menu {
    padding: 20px!important;
    margin-top: 20px!important;
    overflow-y: scroll;
    max-height: 80vh;
    width: 300px;
}

.dropdown-grouped-dots-menu-left {
    left: calc(25% - 150px);
}

.dropdown-grouped-dots-menu-right {
    right: calc(25% - 150px);
    left: auto!important;
}

/** PALLINO END **/

li.progressbar-last-dot { 
    position: absolute;
    right: -7px;
    top: 5px;
    background-color: white;
    border: 2px solid var(--nxt-grey);
    border-radius: 50%;
    display: block;
    background-color: white;
    width: 14px;
    height: 14px;
}

/** PALLINO ATTUALE APERTO **/

li.progressbar-dot-active {
    border: 0px solid var(--main-color);
    width: 17px;
    height: 17px;
    color:var(--main-color);
}

/** PALLINO CHIUSO **/

li.progressbar-dot-closed {
    border: 0px solid var(--main-color);
    color:var(--main-color);
    background-color:var(--main-color);
}

/** PALLINO ATTUALE CHIUSO **/

li.progressbar-dot-actually-closed {
    border: 0px solid var(--main-color);
    width: 17px;
    height: 17px;
    color:var(--main-color);
    background-color:var(--main-color);
}

/** PALLINO ATTUALE CHIUSO **/

li.progressbar-dot-actually-opened {
    border: 0px solid var(--main-color);
    width: 17px;
    height: 17px;
    color:var(--main-color);
}

/** FUTURO CONDIZIONATO = VUOTO BARRATO **/

li.progressbar-dot-future-conditioned {
    border: 0px solid var(--main-color);
    width: 17px;
    height: 17px;
    color:var(--main-color);
    background-color:var(--main-color);
}

/** FUTURO CONDIZIONATO = VUOTO BARRATO **/

li.progressbar-dot-actually-closed {
    border: 0px solid var(--main-color);
    width: 17px;
    height: 17px;
    color:var(--main-color);
    background-color:var(--main-color);
}

/** FUTURO NON CONDIZIONATO = VUOTO PICCOLO **/

li.progressbar-future-not-conditioned {
    border: 0px solid var(--main-color);
    color:var(--main-color);
}

/** PASSATO CONDIZIONATO ESCLUSO=VUOTO X **/

li.progressbar-past-condtioned-excluded {
    border: 0px solid var(--main-color);
    width: 17px;
    height: 17px;
    color:var(--main-color);
}

li.progressbar-dot-future-conditioned:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    border-top: 1px solid;
    border-color: inherit;
    -webkit-transform:rotate(-5deg);
    -moz-transform:rotate(-5deg);
    -ms-transform:rotate(-5deg);
    -o-transform:rotate(-5deg);
    transform:rotate(-5deg);
}

.open>.dropdown-menu {
    width:850px;
}
/*** END PROGRESSBAR ***/