@import url("https://fonts.googleapis.com/css?family=Roboto:100,400,700");
 body, html {
    font-family: "Roboto", sans-serif;
    background-color: #fff;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    color: #202125;
    margin-bottom: 40px;
}

.header h1 h2 h3 {
    font-family: Merriweather;
    font-weight: 600;
}

.header p {
    font-size: 20px;
    font-weight: 400;
}

.header ul {
    font-size: 18px;
    line-height: 180%;
}

table {
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #96D4D4;
    padding: 5px;
}

.wrapper {
    max-width: 1280px;
    min-width: 700px;
    margin: 0 auto;
    padding: 10px 40px 40px;
}

.gantt {
    display: grid;
    border: 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 75px 125px -57px #7e8f94;
}

.gantt-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.gantt-row:nth-child(even) {
    background-color: var(--alternate-row-colour);  /* Override from the template using 'style' attribute */
}

.gantt-row:nth-child(even) .gantt-row-name {
    background-color: var(--alternate-row-colour);  /* Override from the template using 'style' attribute */
}

/*.gantt-row:nth-child(2) .gantt-bars {
    border-top: 0;
}

.gantt-row:nth-child(2) .gantt-row-name {
    border-top: 0;
}*/

.gantt-header {
    color: #fff;  /* Override from the template using 'style' attribute */
    background-color: #d3d3d3;  /* Override from the template using 'style' attribute */
    border-top: none !important;
    grid-template-columns: 150px repeat(14, 1fr);  /* Override from the template using 'style' attribute */
}

.gantt-header .gantt-row-name {
    background-color: #d3d3d3;  /* Override from the template using 'style' attribute */
    border-top: 0 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.gantt-header span {
    display: block;
    height: 100%;
    text-align: center;
    font-size: 13px;
    align-self: auto;  /* Vertically align */
    font-weight: bold;
    padding: 20px 1px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.gantt-header .invisible {
    visibility: visible !important;  /* Override Bootstrap 'invisible' class */
    border-right: none;
}

.now {
    background-color: rgba(255, 0, 0, 0.08) !important;  /* Marked 'important' to override weekend */
    /*z-index: 2;*/
}

.weekend {
    background-color: rgba(0, 0, 255, 0.05);
    /*z-index: 2;*/
}

.gantt-body {
    display: block;
    --alternate-row-colour: #F6F6F6;  /* CSS variable cascades down to define nth-child selector property */
}

.gantt-column-lines {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: transparent;
    grid-template-columns: 150px repeat(28, 1fr);  /* Override from the template using 'style' attribute */
}

.gantt-column-lines span {
    display: block;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.gantt-column-lines .invisible {
    display: block;
    visibility: visible !important;  /* Override Bootstrap 'invisible' class */
    border-right: none;
}

.gantt-column-lines .fine {
    display: block;
    border-right: 1px dashed rgba(0, 0, 0, 0.1);
}

.gantt-column-lines::after {
    grid-row: 1;
    grid-column: 0;
    background-color: #1688b3;
    z-index: 2;
    height: 100%;
}

.gantt-row-name {
    background-color: #fff;
    padding: 15px 0;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.gantt-bars {
    list-style: none;
    display: grid;
    padding: 9px 0;
    margin: 0;
    grid-template-columns: repeat(28, 1fr);  /* Override from the template using 'style' attribute */
    grid-gap: 8px 0;
}

.gantt-bars li {
    font-weight: 500;
    text-align: left;
    font-size: 14px;
    min-height: 15px;
    background-color: #55de84;
    padding: 5px 12px;
    color: #fff;
    /*overflow: hidden;*/
    position: relative;
    cursor: pointer;
    border-radius: 20px;
    z-index: 3;
}

.gantt-bars li::before, .gantt-bars li::after {
    content: "";
    height: 100%;
    top: 0;
    z-index: 4;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
}

.gantt-bars li::before {
    left: 0;
}

.gantt-bars li::after {
    right: 0;
}

.gantt-bars .stripes {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, .1) 5px, rgba(255, 255, 255, .1) 12px);
}

/* To make the entire Gantt bar clickable (not only the text) */
.gantt-bars a {
    display:block;
    color: inherit;
    text-decoration: inherit;
}

/* Hoverable container */
.hoverable {
    position: relative;
    display: inline-block;
}

/* Hover text */
.hoverable .hovertext {
    visibility: hidden;
    cursor: default;
    width: 120px;
    bottom: 125%;
    left: 50%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the hover text */
    background-color: #8B8000;
    color: #fff;
    font-size: 11px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

/* Position hover text */
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: 1000ms;
}

/* Show hover text when you mouse over the hoverable container */
.hoverable:hover .hovertext {
    visibility: visible;
    opacity: 1;
    transition: 500ms;
}

/* Make hover text look like a speech bubble */
.hoverable .hovertext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the hover text */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #8B8000 transparent transparent transparent;
}


/* Extra large devices (large laptops and desktops, 1200px and up) */
/*@media only screen and (min-width: 1200px) {}*/


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 1280px) {
    .gantt-header span {
        font-size: 12px;
    }

    .gantt-row-name {
        font-size: 13px;
    }

    .gantt-bars li {
        font-size: 13px;
    }

    .hoverable .hovertext {
        font-size: 11px;
    }
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 1024px) {
    .gantt-header span {
        font-size: 12px;
    }

    .gantt-row-name {
        font-size: 13px;
    }

    .gantt-bars li {
        font-size: 13px;
    }

    .hoverable .hovertext {
        font-size: 11px;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */
/* Apple iPhone 7 Plus (Viewport: 414 x 736) */
@media only screen and (max-width: 736px) {
    .gantt-header span {
        font-size: 12px;
    }

    .gantt-row-name {
        font-size: 13px;
    }

    .gantt-bars li {
        font-size: 13px;
    }

    .hoverable .hovertext {
        font-size: 11px;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */
/* Apple iPhone 7 (Viewport: 375 x 667) */
@media only screen and (max-width: 667px) {
    .gantt-header span {
        font-size: 12px;
    }

    .gantt-row-name {
        font-size: 13px;
    }

    .gantt-bars li {
        font-size: 13px;
    }

    .hoverable .hovertext {
        font-size: 11px;
    }
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .gantt-header span {
        font-size: 12px;
    }

    .gantt-row-name {
        font-size: 13px;
    }

    .gantt-bars li {
        font-size: 13px;
    }

    .hoverable .hovertext {
        font-size: 11px;
    }
}
