.gantes{
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    border: 1px #9c9a9a solid;
    border-radius: 2px;
}
.gantes .gantes-bar {
    flex-grow: 1;
    padding-top: 65px;
    width: 24%;
    min-width: 125px;
    border-right: 2px solid #8c8c8c;
}

.gantes .gantes-bar p {
    padding: 0;
    margin: 0;
    height: 30px;
    font-size: 12px;
    position: relative;
    cursor: pointer;
    border-top: 1px solid #EEEEEE;
    line-height: 30px;
}

.gantes .gantes-bar p b{
    display: inline-block;
    border: 1px #67d100 solid;
    height: 20px;
    min-width: 30px;
    vertical-align: middle;
    text-align: center;
    line-height: 20px;
    border-radius: 4px;
    margin-left: 10px;
    padding: 0 5px;
}
.gantes .gantes-bar p:last-child {
    border-bottom: 1px solid #EEEEEE;
}

.gantes .gantes-bar p.g-expanded:before{
    content: '-';
    position: absolute;
    left: 5px;
    top: 5px;
    font-size: 20px;
}

.gantes .gantes-bar p.g-collapsed:before{
    content: '+';
    position: absolute;
    left: 5px;
    top: 5px;
    font-size: 20px;
}



.gantes .gantes-sheet {
    flex-grow: 3;
    width: 74%;
    position: relative;
}

.gantes-sheet-container{
    overflow-x: auto;
    overflow-y: hidden;
}

.gantes .gantes-sheet .gantes-sheet-dates,
.gantes .gantes-sheet .gantes-sheet-months,
.gantes .gantes-sheet .gantes-sheet-row {
    display: block;
    white-space: nowrap;
}

.gantes-sheet-dates{
    position: relative;
    background: transparent;
    z-index: 1;
    width: 0;
}

.gantes-sheet-divider {
    position: absolute;
    top: 0;
    left: 0;
    height: 2000px;
    border: 1px dashed rgb(24, 217, 236);
}

.gantes-sheet-divider:after {
    content: attr(data-time);
    position: absolute;
    top: -15px;
    left: -50%;
    padding: 2px;
    border-radius: 5px;
    font-size: 12px;
    background: rgb(24, 217, 236);
    color: #fff;
}



.gantes-sheet-dates:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: #ffc408;
    height: calc(100% - 2px);
    width: 100%;
    z-index: -1;
}


.gantes .gantes-sheet .gantes-sheet-date {
    width: 50px;
    display: inline-block;
    text-align: left;
    height: 30px;
    padding: 5px;
    font-size: 12px;
    margin: 0;
    border-right: 2px solid #EEEEEE;
    border-bottom: 2px solid #8c8c8c;
}

.gantes .gantes-sheet .gantes-sheet-date.gantes-sheet-last-date{
    border-right: 2px solid #8c8c8c;
}

.gantes-sheet-month {
    display: inline-block;
    text-align: left;
    height: 30px;
    margin: 0;
    border-right: 2px solid #8c8c8c;
    border-bottom: 1px dashed #8c8c8c;
    margin-bottom: 5px;
    position: relative;
    line-height: 30px;
    padding: 0;
}

.gantes-sheet-month .day_name{
    position: sticky;
    left: 50px;
    top: 0;
    font-weight: bold;
}


.gantes .gantes-sheet .gantes-sheet-rows p:nth-child(2n+1){
    background: #8c8c8c;
}

.gantes .gantes-sheet .gantes-sheet-rows p:nth-child(2n){
    background: #fff;
}

.gantes .gantes-sheet .gantes-sheet-row {
    position: relative;
    height: 30px;
    margin: 0;
}
.gantes .gantes-sheet .gantes-sheet-row span{
    width: 50px;
    height: 30px;
    display: inline-block;
    border-bottom: 1px solid #EEEEEE;
    border-right: 2px solid #8c8c8c;
    border-top: none;
    border-left: none;
    margin: 0;
}

.gantes .gantes-sheet .gantes-sheet-event {
    position: absolute;
    top: 5px;
    background: #ff9000;
    height: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    margin: 0;
    cursor: pointer;
    font-size: 11px;
    line-height: 22px;
    color: black;
    transition: all .3s linear;

    border-left: 1px dashed #000;
    overflow: hidden;
    text-align: left;
    padding-left: 5px;
}

.gantes .gantes-sheet .gantes-sheet-event.sitting {
    background: #ff5050;
}

.gantes .gantes-sheet .gantes-sheet-event.paid {
    background: #67d100;
}

.gantes .gantes-sheet .gantes-sheet-event:hover {
    z-index: 1;
}

.gantes .gantes-sheet .gantes-sheet-flow{
    position: absolute;
    bottom: 0;
    margin: 0;
    background: rgba(76, 174, 76, 0.9);
    height: 25px;
    border-radius: 5px;
}

@media (max-width: 1370px) {
    .gantes .gantes-bar p {
        padding-left: 5px !important;
        font-size: 11.6px;
        display: flex;
    }
}