#joomproject .fn-gantt .row {
    margin-left: inherit;
}

.fn-gantt .row *{
    flex-shrink: unset;
    width: unset;
    max-width: unset;
    padding-right: unset;
    padding-left: unset;
    margin-top: unset;
}

.fn-gantt * {
    box-sizing: initial !important;
}
.gantt, .gantt2
{
    width: 100%;
    margin: 20px auto;
    border: 14px solid #ddd;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.gantt:after
{
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}
.fn-gantt
{
    width: 100%;
}
.fn-gantt .fn-content
{
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* LEFT PANEL */

.fn-gantt .leftPanel
{
    float: left;
    overflow: hidden;
    border-right: 1px solid #DDD;
    position: relative;
    z-index: 999;
}
.fn-gantt .row
{
    float: left;
    height: 24px;
    line-height: 24px;
    margin-left: -24px;
    display: block !important;
    margin-right: 0 !important;
}
.fn-gantt .leftPanel .fn-label
{
    display: inline-block !important;
    margin: 0 0 0 5px;
    color: #484A4D;
    /*width: 110px;*/
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight:normal;
}
.fn-gantt .leftPanel .row0
{
    border-top: 1px solid #DDD;
}
.fn-gantt .leftPanel .name, .fn-gantt .leftPanel .desc
{
    float: left;
    height: 23px;
    margin: 0;
    border-bottom: 1px solid #DDD;
    background-color: #f6f6f6;
}
.fn-gantt .leftPanel .desc
{
    /*width: 115px;*/
    width: 50px;
}
.fn-gantt .leftPanel .fn-wide, .fn-gantt .leftPanel .fn-wide .fn-label
{
    width: 225px;
}
.fn-gantt .spacer
{
    margin: -2px 0 1px 0 !important;
    border-bottom: none;
    background-color: #f6f6f6;
}

/* RIGHT PANEL */
.fn-gantt .rightPanel
{
    overflow: hidden;
}
.fn-gantt .dataPanel
{
    margin-left: 0px;
    border-right: 1px solid #DDD;
    background-image: url(../img/grid.png);
    background-repeat: repeat;
    background-position: 24px 24px;
}


.fn-gantt .dataPanel .row{
    margin-left: -1px !important
}

.fn-gantt .day, .fn-gantt .date
{
    overflow: visible;
    width: 24px;
    line-height: 24px;
    text-align: center;
    border-left: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    margin: -1px 0 0 -1px;
    font-size: 11px;
    color: #484a4d;
    text-shadow: 0 1px 0 rgba(255,255,255,0.75);
    text-align: center;
}
.fn-gantt .holiday
{
    background-color: #ffd263;
    height: 23px;
    margin: 0 0 -1px -1px;
}
.fn-gantt .today
{
    background-color: #fff8da;
    height: 23px;
    margin: 0 0 -1px -1px;
    font-weight: bold;
    text-align: center;
}
.fn-gantt .sa, .fn-gantt .sn, .fn-gantt .wd
{
    height: 23px;
    margin: 0 0 0 -1px;
    text-align: center;
}
.fn-gantt .sa, .fn-gantt .sn
{
    color: #939496;
    background-color: #f5f5f5;
    text-align: center;
}
.fn-gantt .wd
{
    background-color: #f6f6f6;
    text-align: center;
}
.fn-gantt .rightPanel .month, .fn-gantt .rightPanel .year
{
    float: left;
    overflow: hidden;
    border-left: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    height: 23px;
    margin: 0 0 0 -1px;
    background-color: #f6f6f6;
    font-weight: bold;
    font-size: 11px;
    color: #484a4d;
    text-shadow: 0 1px 0 rgba(255,255,255,0.75);
    text-align: center;
}
.fn-gantt-hint
{
    border: 5px solid #edc332;
    background-color: #fff5d4;
    padding: 10px;
    position: absolute;
    display: none;
    z-index: 11;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.fn-gantt .bar
{
    background-color: #D0E4FD;
    height: 18px;
    margin: 4px 3px 3px 3px;
    position: absolute;
    z-index: 10;
    text-align: center;
    -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
    -moz-box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
    box-shadow: 0 0 1px rgba(0,0,0,0.25) inset;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.fn-gantt .bar .fn-label
{
    line-height: 18px;
    font-weight: bold;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    color: #414B57 !important;
    text-align: center;
    font-size: 11px;
}

/* BOTTOM NAVIGATION */
.fn-gantt .bottom {
    clear: both;
    background-color: #f6f6f6;
    width: 100%;
}
.fn-gantt .navigate
{
    border-top: 1px solid #DDD;
    /*padding: 10px 0 10px 225px;*/
    padding: 10px 0 10px 10px;
}
.fn-gantt .navigate .nav-slider
{
    height: 20px;
    display: inline-block;
}
.fn-gantt .navigate .nav-slider-left,
.fn-gantt .navigate .nav-slider-right
{
    text-align: center;
    height: 20px;
    display: inline-block;
}
.fn-gantt .navigate .nav-slider-left
{
    float: left;
    width:215px;
}
.fn-gantt .navigate .nav-slider-right
{
    float: right;
}
.fn-gantt .navigate .nav-slider-content
{
    text-align: left;
    height: 20px;
    display: inline-block;
    margin: 0 10px;
}

.fn-gantt .navigate .nav-slider-bar, .fn-gantt .navigate .nav-slider-button
{
    position: absolute;
    display: block;
}
.fn-gantt .navigate .nav-slider-bar
{
    height: 6px;
    background-color: #838688;
    margin: 8px 0 0 0;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.fn-gantt .navigate .nav-slider-button
{
    width: 17px;
    height: 60px;
    background: transparent url(../img/slider_handle.png) center center no-repeat !important;
    left: 0px;
    top: 0px;
    margin: -26px 0 0 0;
    cursor: pointer;
    text-decoration: none;
}
.fn-gantt .navigate .nav-slider-button:hover
{
    background: transparent url(../img/slider_handle.png) center center no-repeat !important;
    text-decoration: none;
}
.fn-gantt .navigate .page-number
{
    display: inline-block;
    font-size: 10px;
    height: 20px;
}
.fn-gantt .navigate .page-number span
{
    color: #666666;
    margin: 0 6px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
}
.fn-gantt .navigate a:link, .fn-gantt .navigate a:visited, .fn-gantt .navigate a:active
{
    text-decoration: none;
}
.fn-gantt .nav-link
{
    margin: 0 3px 0 0 !important;
    display: inline-block !important;
    width: 20px;
    height: 20px;
    font-size: 0px;
    background: #595959 url(../img/icon_sprite.png) !important;
    border: 1px solid #454546;
    cursor: pointer;
    vertical-align: top;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 1px 1px rgba(0,0,0,0.2);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0px !important;
}
.fn-gantt .nav-link:active
{
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
    box-shadow: 0 1px 1px rgba(0,0,0,0.25) inset, 0 1px 0 #FFF;
}
.fn-gantt .navigate .nav-page-back
{
    background-position: 1px 0 !important;
    margin: 0;
    margin-right: 5px;
}
.fn-gantt .navigate .nav-page-next
{
    background-position: 1px -16px !important;
    margin-right: 15px;
}
.fn-gantt .navigate .nav-slider .nav-page-next
{
    margin-right: 5px;
}
.fn-gantt .navigate .nav-begin
{
    background-position: 1px -112px !important;
}
.fn-gantt .navigate .nav-prev-week
{
    background-position: 1px -128px !important;
}
.fn-gantt .navigate .nav-prev-day
{
    background-position: 1px -48px !important;
}
.fn-gantt .navigate .nav-next-day
{
    background-position: 1px -64px !important;
}
.fn-gantt .navigate .nav-next-week
{
    background-position: 1px -160px !important;
}
.fn-gantt .navigate .nav-end
{
    background-position: 1px -144px !important;
}
.fn-gantt .navigate .nav-zoomOut
{
    background-position: 1px -96px !important;
}
.fn-gantt .navigate .nav-zoomIn
{
    background-position: 1px -80px !important;
    margin-left: 15px;
}
.fn-gantt .navigate .nav-now
{
    background-position: 1px -32px !important;
}
.fn-gantt .navigate .nav-slider .nav-now
{
    margin-right: 5px;
}
.fn-gantt-loader
{
    background-image: url(../img/loader_bg.png);
    z-index: 30;
}
.fn-gantt-loader-spinner
{
    width: 100px;
    height: 20px;
    position: absolute;
    margin-left: 50%;
    margin-top: 50%;
    text-align: center;
}
.fn-gantt-loader-spinner span
{
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}
.row:after
{
    clear: both;
}

/* ITEM STYLES */
.fn-gantt .gantt-p-notstarted,
.fn-gantt .gantt-m-notstarted,
.fn-gantt .gantt-l-notstarted,
.fn-gantt .gantt-t-notstarted
{
    background-color: #DDDCDC;
}
.fn-gantt .gantt-p-behind,
.fn-gantt .gantt-m-behind,
.fn-gantt .gantt-l-behind,
.fn-gantt .gantt-t-behind
{
    background-color: #F2DEDE;
}
.fn-gantt .gantt-p-complete,
.fn-gantt .gantt-m-complete,
.fn-gantt .gantt-l-complete,
.fn-gantt .gantt-t-complete
{
    background-color: #DFF0D8;
}
.fn-gantt .gantt-today
{
    background-color: #FFFFCC;
    height: 23px;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.25) inset;
}


/* Dependencies */

.fn-gantt .dep{
    position: absolute;
    /*background: red;*/
    overflow: visible;
    z-index: 998;

}
.fn-gantt .depLine{
    background: black;
    position: absolute;
}
.fn-gantt .dep .depLine1{
    height: 1px;

}

.fn-gantt .dep .depLine4{
    width: 1px;
}
.fn-gantt .dep .depLine5{
    height: 1px;
}
.fn-gantt .dep .depLine5:before{
    content: '';
    display: inline-block;
    border-left:   3px solid black;
    border-bottom:  3px solid transparent;
    border-top: 3px solid transparent;
    position: absolute;
    bottom: -3px;
    right: -1px;
}

/* Bypassing the target bar by the left ( up or down direction) */
.fn-gantt .dep.left .depLine1,
.fn-gantt .dep.left .depLine5{
    width: 4px;
}
.fn-gantt .dep.left .depLine2{
    height: 50%;
    width: 1px;
}
.fn-gantt .dep.left .depLine3{
    width: 100%;
    height: 1px;
    top: 50%;
}
.fn-gantt .dep.left .depLine4{
    height: 50%;
    top: 50%;
}


/* Left down */
.fn-gantt .dep.left.down .depLine1{
    top: 0;
    right: 0;
}
.fn-gantt .dep.left.down .depLine2{
    right: 0;
    top: 0;
}
.fn-gantt .dep.left.down .depLine3{
    right: 0;
}

.fn-gantt .dep.left.down .depLine4{
    left: 0;
}
.fn-gantt .dep.left.down .depLine5{
    left: 0;
    bottom: 0;
}
.fn-gantt .dep.left.down .depLine5:before{
    right: -1px;
}

/* Left up */
.fn-gantt .dep.left.up .depLine1{
    bottom: 0;
    right: 0;
}
.fn-gantt .dep.left.up .depLine2{
    right: 0;
    bottom: 0;
}
.fn-gantt .dep.left.up .depLine3{
    left: 0;
}
.fn-antt .dep.left.up .depLine4{
    left: 0;
    top: 0;
}
.fn-gantt .dep.left.up .depLine5{
    left: 0;
    top: -1px;
}

/* right */
.fn-gantt .dep.right .depLine2,
.fn-gantt .dep.right .depLine3{
    display: none;
}

/* right down */
.fn-gantt .dep.right.down .depLine1{
    top: 0;
    left: 0;
    width: 50%;
}
.fn-gantt .dep.right.down .depLine4{
    left: 50%;
    height: 100%;
    top: 0;
}
.fn-gantt .dep.right.down .depLine5{
    right: 0;
    bottom: 0;
    width: 50%;
}
.fn-gantt .dep.right.down .depLine5:before{
    right: 0;
}

/* Right up*/
.fn-gantt .dep.right.up .depLine1{
    bottom: -1px;
    left: 0;
    width: 50%;
    margin-left: 1px;
}
.fn-gantt .dep.right.up .depLine4{
    height: 100%;
    top: 0;
    left: 50%;
}
.fn-gantt .dep.right.up .depLine5{
    right: 0;
    top: -1px;
    width: 50%;
}
.fn-gantt .dep.right.up .depLine5:before{
    right: 0;
}

.fn-gantt .dep:hover .depLine{
    background: red;
    z-index: 998;
}
.fn-gantt .dep:hover .depLine5:before{
    border-left-color: red;
}