﻿/*****************************************
TWGanttChart is used to design Gantt Chart
html tables. 29/06/2017 by oturker
*****************************************/

.outer {
    position: relative;
    padding-bottom: 8px;
}

.inner {
    margin-left: 270px;
}

.innerArr{
    margin-left: 150px;
}

.innerWide {
    margin-left: 170px;
}

.innerEmp{
    margin-left: 125px;
}

.fix {
    position: absolute;
    margin-left: -270px;
    width: 270px;
}

.fixArr {
    position: absolute;
    margin-left: -150px;
    width: 150px;
}

.fixWide {
    position: absolute;
    margin-left: -170px;
    width: 170px;
}

.fixEmp {
    position: absolute;
    margin-left: -124px;
    width: 125px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.headerStyle {
    text-align: center;
}

.dayStyle {
    text-align: center;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.ganttChart {
    display: block;
    font-size: 12px;
    font-weight: bolder;
    color: white;
    text-align: center;
    vertical-align: middle;
}

.ganttChartHangarPlan {
    display: block;
    font-size: 14px;
    font-weight: bolder;
    color: white;
    text-align: center;
    vertical-align: middle;
}

.ganttChartStart {
    margin-left: 4px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.ganttChartEnd {
    margin-right: 4px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.todaysLine {
    background: linear-gradient(black, black) no-repeat;
    background-position: center;
    background-size: 1px 100%;
}

.ganttChartTblEmp thead tr th, .ganttChartTbl thead tr th {
    padding: 6px;
}

.ganttChartTbl tbody tr td {
    padding: 6px;
}

.smallLabel {
    font-size: smaller; 
    text-align: center; 
    padding: 1px; 
    line-height: 0.7;
    width: 100%;
    vertical-align:middle !important;
}
/*************************
fix column status details
**************************/
.rotateTxt {
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
    font-size: 9px;
    margin-bottom: -10px;
}

.rotateSettings {
    max-width: 22px;
    height: 35px;
    vertical-align:bottom;
    border-left: 1px solid #ddd;
}

.rotationResultSetting {
    max-width: 22px;
    vertical-align:middle;
    border-left: 1px solid #ddd;
}
/***************************
 ** Fleet forecast styles **
 ***************************/
table.ganttSchedule {
	border-collapse: separate;
	margin-bottom: 6px;
}

.ganttSchedule > tbody > tr {
	background: transparent;
}

	.ganttSchedule > tbody > tr:nth-child(2n+1) {
		background: #EEEEFF;
	}

	.ganttSchedule > tbody > tr > td {
		height: 40px;
	}

		.ganttSchedule > tbody > tr > td.weekend {
			background: antiquewhite;
		}

		.ganttSchedule > tbody > tr > td.smallLabel > a {
			cursor: pointer;
			color: #000;
		}

.loader {
	border: 4px solid #bbb;
	border-radius: 50%;
	border-top: 4px solid #004182;
	width: 19px;
	height: 19px;
	display:inline-block;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}