#bottom #timeline-control {
    width: 100%;
}

#animation-control {
	/*width: 15%;*/
    padding-right: 10px;
    padding-top: 1px;
    padding-left: 5px;
}

#animation-control,
#timeline-container {
    visibility: hidden;
}

#timeline-control {
    padding-left: 50px;
}

#timeline-bar #timeline #timeline-inset {
    background-color: rgba(255, 255, 255, 0.66);
    border-radius: 50px;
    -moz-box-shadow: 0 0 4px 0px #fff;
    /* -webkit-box-shadow: 0 0 4px 0px #fff; */
    /* box-shadow: 0 0 4px 0px #fff; */
    cursor: pointer;
}

#bottom #timeline-bar-wrapper #timeline-bar,
#calendar-wrapper #calendar {
    width: 100%;
    /*margin-left: 7%;*/
}

#bottom #timeline-bar-wrapper #timeline-bar #timeline {
    padding: 10px 0 0px 0;
    position: relative;
    width: 100%;
    -webkit-transition: width ease-in-out .7s;
    transition: width ease-in-out .7s;
}

#bottom #timeline-bar-wrapper #timeline-bar #timeline #timeline-line { 
    /* -webkit-transition: .7s height ease-in-out 10s;
    transition: .7s height ease-in-out 10s; */
    background-color: #d49500;
    height: 6px;
    border-radius: 3px;
    position: relative;
    width: 0;
}

#bottom #timeline-bar-wrapper {
    /*clear: both;*/
    padding-top: 5px;
}

#calendar-wrapper #calendar{
    padding-bottom: 25px;    margin-left: 40px;
}

#bottom #calendar-wrapper #calendar div {
text-shadow: 0 0 4px rgba(0,0,0,0.8);
    box-sizing: border-box;
    text-align: center;
    /* font-size: 1.7em; */
    font-size: 11px;
    width: 7.14%;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    border-left: 2px solid rgba(150, 150, 150, 0.51);
    min-height: 24px;
    font-size: 13px;
    line-height: 2.2;
}

#bottom #calendar-wrapper #calendar div span {
    font-size: 13px;
}
ul.calendar-hours {
    display: none;
}
#bottom #calendar-wrapper #calendar div:first-child {
    border-left: none;
}

#timelabel {
-webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-user-select: none;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 25px;
    margin-bottom: 0;
    margin-left: -18px;
    margin-right: 0;
    /* margin-top: -10px; */
    position: absolute;
    top: -23px;
}

#timelabel #timelabel-text {
    width: auto;
    font-size: 13px;
    min-width: 98px;
    cursor: grab;
    position: relative;
    background-color: #9a9a9a;
    color: white;
    height: 1.8em;
    box-sizing: border-box;
    padding: 0 .8em;
    white-space: nowrap;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    border-radius: .5em;
    box-shadow: 0 0 4px 0 black;
}

#timelabel #timelabel-pointer {
    /* content: ''; */
    left: 20px;
    position: absolute;
    border: 6px solid #9a1616;
    bottom: -16px;
    margin-left: -6px;
    border-radius: 6px;
    opacity: 1;
    -moz-box-shadow: 0 0 4px 0px #fff;
    /* -webkit-box-shadow: 0 0 4px 0px #fff; */
    /* box-shadow: 0 0 4px 0px #fff; */
}			
}

#timelabel #timelabel-text:after {
    content: '';
    position: absolute;
    top: 95%;
    left: 50%;
    margin-left: -37%;
    width: 0;
    height: 0;
    border-top: solid 6px #d49500;
    border-left: solid 6px transparent;
    border-right: solid 6px transparent;		
}	

#timelabel #timelabel-text.end:after {
    margin-left: -30%;
}

#timeline-tooltip {
    position: absolute;
    top: 0;
    transition: opacity linear 250ms;
    font-size: 10px;
    opacity: 0;
    margin-left: -25px;
}

#timeline-tooltip #timeline-tooltip-text {
    cursor: pointer;
    color: white;
    background-color: #82abc8;
    padding: 3px 5px;
    margin-left: 0px;
    border-radius: 3px;
}

#timeline-tooltip #timeline-tooltip-text::before {
    border-left: .3em solid transparent;
    border-right: .3em solid transparent;
    border-top: .3em solid #82abc8;
    bottom: -0.3em;
    content: '';
    left: 20px;
    margin-left: -0.3em;
    position: absolute;
}

#calendar > div > .calendar-hours > li {
    display: none;
}
button#play-button i {
    font-size: 13px;
}

span.day_name {
    display: none;
}
#play-button {
    border-radius: 50%;
    margin-left: 5px;
    box-sizing: border-box;
    display: block;
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #383838;
    text-align: center;
    text-decoration: none;
    background-color: rgba(0,0,0,0.5);
    font-size: 1.8em;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;box-shadow: 0 0 4px 0 black;
}

/* #btnReload{
	float : left;
	margin : 12px 0px 0 5px 
} */

#play-button:hover {
	background-color: #696969;
	/* text-shadow: 0px 0px 10px rgba(255,255,100,1); */
}

#timeline-wrapper{
	padding: 0 
}

.first_day_small,
.last_day_small {
    position: absolute;
}

.first_day_small {
    left: -55px;
}

.last_day_small {
    right: -45px
}

/**************************************************************************************************
 * For Small window size
 **************************************************************************************************/

@media (max-width: 1024px), (max-height: 700px) {
    #bottom #calendar-wrapper #calendar div {
        font-size: 13px;
    }

    #bottom #calendar-wrapper #calendar div span {
        font-size: 13px;
    }

    #timeline-control {
        padding-left: 15px;
    }

    .day_name {
        display: none;
    }

    .first_day_small {
        left: -40px;
    }    

    .last_day_small {
        right: -30px
    }    

}

/**************************************************************************************************
 * For Mobile device
 **************************************************************************************************/

 /* @media (max-width: 825px), (max-height: 700px) { */

    #bottom.mobile ::-webkit-scrollbar {
        display: none;
    }

    #bottom.mobile {
        padding-bottom: 38px;
    }

    #bottom.mobile #animation-control {
        padding-top: 0;
    }

    #bottom.mobile #timelabel-text{
        font-size: 1.1em;
        height: auto;
        margin-top: -8px;
    }

    #bottom.mobile #calendar-wrapper #calendar div {
        font-size: 1em;
    }

    #bottom.mobile #timeline-container {
        overflow-x: scroll;
        padding: 0;
        position: relative;
    }

    #bottom.mobile #timeline-control {
        padding: 0 5px 0 2px;
    }

    #bottom.mobile #timeline-inset,
    #bottom.mobile #timeline-line {
        height: 30px !important;
    }

    #bottom.mobile #timeline-line {
        opacity: .4;
        /* background-color: #808080 !important; */
        background-color: #FFDE8C !important;
        border-radius: 0 !important;
    }

    #bottom.mobile #timeline {
        z-index: 2; 
    }

    #bottom.mobile #calendar-wrapper {
        position: absolute;
        /* top: 5px; */
        top: 0;
        left: 2px;
    }

    #bottom.mobile #calendar-wrapper #calendar {
        padding: 0;
        font-size: 12px;
        height: 30px;
        line-height: 30px;
    }

    #bottom.mobile #calendar-wrapper #calendar > div {
        height: 30px;
    }

    #bottom.mobile #calendar-wrapper #calendar div:not(:first-child){
        border-left-style: dashed;
    }

    #bottom.mobile #timelabel #timelabel-pointer {
        /* top: -52px; */
        /* top: -33px; */
        margin-left: -1px;
        border-width: 1px;
        height: 39px;
        border-color: #eaea1a;
        border-style: solid;   
        position: fixed;
        left: 50%;
        bottom: 33px;
    }

    #bottom.mobile #timelabel {
        /* bottom: -33px; */
        top: auto;
    }

    #bottom.mobile #timelabel #timelabel-text:after {
        top: -5px;
        /* border-bottom: solid 5px #fff; */
        border-bottom: none;
        border-top: none;
    }

    #bottom.mobile #timeline-bar-wrapper {
        padding-top: none;
    }

    #bottom.mobile #timeline,
    #bottom.mobile #timeline-bar-wrapper {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
/* 
    #bottom #play-button {
        margin: 0 0 0 5px;
    } */

    #bottom.mobile #calendar > div {
        position: relative;
    }

    #bottom.mobile #calendar > div > .calendar-hours {
        padding: 0;
        margin: 0;
        position: absolute;
        top: 11px;
        left: 1px;
        width: 100%;
        text-align: left;
    }

    #bottom.mobile #calendar > div > .calendar-hours > li {
        display: inline-block;
        border-right: 1px solid #FFF;
        height: 3px;
    }

    #bottom.mobile #calendar > div > .calendar-hours > li.no-border {
        border-right: none !important;
    }

    #bottom.mobile #calendar > div > .calendar-hours > li.border-left {
        border-left: 1px solid #FFF;
    }

    #bottom.mobile #timelabel-text {
        position: fixed;
        bottom: 3px;
        /* left: 32.5%; */
        background-color: #000 !important;
        color: #fff !important;
        font-size: 12px !important;
        /* width: 35% !important; */
        opacity: .7;
        margin-left: 0 !important;
        font-weight: bold;
    }

    #bottom.mobile #timeline-control {
        background-color: rgba(211,211,211,0.42);
        border-radius: 3px;
        -moz-box-shadow: 0 0 4px 0px #fff;
        -webkit-box-shadow: 0 0 4px 0px #fff;
        box-shadow: 0 0 4px 0px #fff;
        /* cursor: pointer; */
    }

    #bottom.mobile #timeline-bar #timeline #timeline-inset {
        background-color: transparent;
        border: none;
        box-shadow: none;
        cursor: default;
    }

    #bottom.mobile .day_name {
        display: inline;
    }

    #bottom.mobile .first_day_small {
        left: -55px;
    }    

    #bottom.mobile .last_day_small {
        right: -30px
    }   


/* } */