/*
jQuery.ganttView v.0.8.0
Copyright (c) 2010 JC Grubbs - jc.grubbs@devmynd.com
MIT License Applies
*/

div.ganttview-hzheader-day,
div.ganttview-hzheader-hour,
div.ganttview-vtheader,
div.ganttview-vtheader-item-name,
div.ganttview-vtheader-schedule,
div.ganttview-grid,
div.ganttview-grid-row-cell {
    float: left;
}


div.ganttview-hzheader{
    overflow: hidden;
    height:40px;
}

div.ganttview-hzheader-days,
div.ganttview-hzheader-hours {
    height: 20px;
    overflow:hidden;
}

div.ganttview-hzheader-day,
div.ganttview-hzheader-hour {
    height: 20px;
    text-align: center;
    overflow:hidden;
}

div.ganttview-grid-row-cell.last,
div.ganttview-hzheader-hour.last,
div.ganttview-hzheader-day.last {
    border-right: none;
}    

div.ganttview {
    border: 1px solid #999;
}

/* Horizontal Header */

div.ganttview-hzheader-day {
    height: 20px;
    border-right: 1px solid #d0d0d0;
    line-height: 20px;
}

div.ganttview-hzheader-hour {
    overflow: hidden;
    position:relative;
    height: 20px;
    border-right: 1px solid #f0f0f0;
    border-top: 1px solid #d0d0d0;
    line-height: 20px;
    font-size:5pt;
}

/* Vertical Header */

div.ganttview-vtheader {
    margin-top: 41px;
    width: 130px;
    background-color: #fff;
}

div.ganttview-vtheader-item {
    overflow: hidden;
}

div.ganttview-vtheader-item-name {    
    overflow:hidden;
    width: 105px;
    height:41px;
    padding-left:2px;
    border-top: 1px solid #d0d0d0;
    line-height:20px;
}

div.ganttview-vtheader-item-image {
    border-top: 1px solid #d0d0d0;
    padding-top:10px;
    padding-right:3px;
    text-align:right;
}

img.ganttview-vtheader-item-image-file {
    cursor: pointer;
}

/* Slider */

div.ganttview-slide-container {
    overflow: hidden;
    border-left: 1px solid #999;
}

/* Grid */

div.ganttview-grid-row-cell {
    height: 41px;
    border-right: 1px solid #f0f0f0;
    border-top: 1px solid #d0d0d0;
    cursor: default;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

div.ganttview-hour-last {
    border-right: 1px solid #d0d0d0;
}

div.ganttview-block-container{
}

/* Blocks */
div.ganttview-blocks {
    position: relative;
}

div.ganttview-blocks-draggable{
    position:absolute;
}

div.ganttview-block {
    position:absolute;
    margin-top: 5px;
    height: 30px;
    background-color: white;
    border: solid;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    overflow:hidden;
    -moz-opacity: 0.7; 
    opacity: 0.7;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

div.ganttview-block-event {
    height: 20px;
}

div.ganttview-block-text {
    position: absolute;
    height: 25px;
    color: black;
    padding-top:  2px;
    padding-left: 2px;
    white-space:nowrap;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}


/* Adjustments for jQuery UI Styling */

div.ganttview-block div.ui-resizable-handle.ui-resizable-s {
    bottom: -0;
}

/* ヘッダ部分標準色 */
div.ganttview-hzheader div{
  background: #f0f6f8;
}

/* 土曜日 */
div.ganttview-hzheader .saturday,
div.ganttview-vtheader .saturday{
  background: #e2e8f8;
}

/* 日曜日・祝日 */
div.ganttview-hzheader .holiday,
div.ganttview-vtheader .holiday{
  background: #f9eae6;
}

/* 当日 */
div.ganttview-hzheader .today,
div.ganttview-vtheader .today,
div.ganttview-vtheader div.today span.holiday{
  background: #ffffcc;
}

/* 祝日名 */
div.ganttview-vtheader-item-name span.holiday{
  color: red;
}
