.timeline_wrapper {
    background-color: #fff;
    box-shadow: 0px 12px 24px -4px #919EAB1F;
    border: 1px solid #919EAB11;
    border-radius: 16px;
    min-height: 700px;
    position: relative;
}

.sp_loading:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff8;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s, visibility 0.4s;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    filter: blur(5px);
}

#timeline {
    width: 100%;
}

#timeline .vis-timeline{
    border: none;
}

.vis-panel.vis-top{
    border-top: 1px solid #919EAB33;
    border-bottom: 1px solid #919EAB33;
}

.vis-labelset{
    width: 161px;
}

.vis-labelset > .vis-label > .vis-inner{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 72px;
}

.vis-labelset > .vis-label > .vis-inner > span{
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0px;
    text-align: center;
    border-radius: 50px;
    padding: 0px 8px;
    min-height: 12px;
    display: block;
}

#controls {
    padding: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

#controls .contenedor_flechas_mes{
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#controls .contenedor_flechas_mes .mes_actual_timeline{
    min-width: 210px;
    text-align: center;
    color: #212B36;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0px;
    text-align: center;
}

.fecha_actual_timeline{
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0px;
    color:#212B36;
}

.vis-group{
	position: relative;
    /* min-height: 80px;
    height: 80px!important; */
}

.vis-foreground .vis-group {
    border-bottom: 1px solid #919EAB33;
    min-height: 80px;
}
.vis-background .vis-time-axis .vis-grid.vis-minor{
    border-bottom: 1px solid #919EAB33;
}

.vis-group:before{
	top: 0;
    left: 0;
}

.vis-group:after{
	top: 0;
    right: 0;
	transform: scaleX(-1);
}

.vis-item.vis-range {
    border-style: none;
    border-radius: 4px;
    box-sizing: unset;
}

.vis-item.vis-range .vis-item-content{
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    height: 100%;
    justify-content: center;
    gap: 8px;
}

.vis-item.vis-range .vis-item-content > div:nth-child(1){
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    line-height: 1;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0px;
}

.vis-item.vis-range .vis-item-content > div:nth-child(2){
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    line-height: 1;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0px;
    align-items: center;
}

.vis-item.vis-range .vis-item-content > div:nth-child(2) img{
    width: 20px;
    height: 20px;
    border-radius: 4px;
}


/* COLORES SEGUN EL ESTADO */
.vis-item.vis-range.arrival,
.vis-labelset > .vis-label.arrival > .vis-inner > span{
    background: #e4ceff ;
    color: #27097a;
}

.vis-item.vis-range,
.vis-labelset > .vis-label > .vis-inner > span{
    background: #ffebc2;
    color: #7A4100;
}

.vis-item.vis-range.serviceable,
.vis-labelset > .vis-label.serviceable > .vis-inner > span{
    background: #caf1d9 ;
    color: #065e49;
}

.vis-item.vis-range.pending,
.vis-labelset > .vis-label.pending > .vis-inner > span,
.vis-item.vis-range.past,
.vis-labelset > .vis-label.past > .vis-inner > span{
    background: #eeeeee ;
    color: #585858;
}

 

/* MEDIANTE CODIGO, SACO LA FECHA FUERA */
.vis-item.vis-range .vis-item-overflow > span{
    line-height: 1;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0px;
    top: 12px;
    right: 12px;
    position: absolute;
}
/* MEDIANTE CODIGO, SACO LA FECHA FUERA */

.vis-group:before,
.vis-group:after{
	content: "";
    height: 100%;
	display: block;
    position: absolute;
    width: 13px;
    z-index: 10;
	background-repeat: repeat-y;
	background-position-x: right;
	background-position-y: top;
    /* background-position-y: center; */
}


.vis-current-time {
    background-color: #0000;
    background-image: repeating-linear-gradient(
        to bottom,
        var(--corporative_color_dark) -4px,
        var(--corporative_color_dark) 4px,
        transparent             4px,
        transparent             12px
    );
    width: 3px;
    z-index: 1;
    height: calc(100% - 70px)!important;
    margin-top: 70px!important;
    top: 0!important;
}

.vis-current-time .wrapper_icono_barra_timeline{
    position: absolute;
    top: 50%;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    gap: 6px;
    padding: 8px;
    text-align: center;
    background: var(--corporative_color_light);
    border: 1px solid var(--corporative_color_light);
    box-shadow: 0px 8px 16px 0px var(--corporative_color_light);
    backdrop-filter: blur(10px);
    transform: translate(calc(3px - 50%), calc(-50%));
    white-space:nowrap;
}

.vis-current-time .wrapper_icono_barra_timeline .fecha_actual_linea_central_timeline {
    text-align: center;
    color: var(--corporative_color_dark);
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
}

.vis-left.vis-panel.vis-vertical-scroll {
    /* overflow: hidden; */
    border-right: 1px solid #637381;
}

.vis-labelset .vis-label{
    border-bottom: 1px solid #919EAB33;
}

.vis-text.vis-major{
    display: none;
}

.vis-text.vis-minor{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    height: 68px;
}

.vis-text.vis-minor > span:nth-child(1){
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    color: #212B36;
}

.vis-text.vis-minor > span:nth-child(2){
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0px;
    text-align: center;
    color: #919EAB;
}

.vis-time-axis.vis-foreground{
    background: #fff;
}

.vis-text.vis-minor.vis-current-week,
.vis-grid.vis-vertical.vis-current-week{
    background: #f4f6f8;
}

.vis-item{
    cursor: pointer;
}

.unique_shop_visit .vis-panel.vis-left{
    display: none;
}