﻿/* カレンダー領域 */
#modal-calendar {
    width: 1100px;
    height: 400px;
    position: fixed;
    display: none;
    z-index: 9999;
    background-color: #ffffff;
    overflow: hidden;
}

/* カレンダー今月のみ表示 */
#modal-calendar.one {
    width: 520px;
}
/* カレンダー上下ボタン */
#modal-calendar.vertical {
    width: 100%;
    max-width: 1100px;
    height: 510px;
}
#modal-calendar.one.vertical {
    width: 520px;
}
/* カレンダー 3ヶ月分表示時 ボタン左右 inner */
#modal-calendar .inner {
    height: 100%;
    float: left;
}
/* カレンダー ボタン上下 inner */
#modal-calendar.vertical .inner{
    float: none;
    margin: 0 auto;
}
/* カレンダー 3ヶ月分表示時 ボタン左右 前月ボタン */
#modal-calendar .inner:nth-child(1) {
    width: 100px;
}
/* カレンダー ボタン上下 前月ボタン*/
#modal-calendar.vertical .inner:nth-child(1) {
    height: 50px;
}
/* カレンダー 3ヶ月分表示時 ボタン左右 カレンダー部 */
#modal-calendar .inner:nth-child(2) {
    /*width: 900px;*/
    position: relative;
}
/* カレンダー ボタン上下 カレンダー部 */
#modal-calendar.vertical .inner:nth-child(2) {
    height: 368px;
    width: 865px;
}
#modal-calendar.one.vertical .inner:nth-child(2) {
    width: 286px;
}
/* カレンダー 3ヶ月分表示時 ボタン左右 次月ボタン */
#modal-calendar .inner:nth-child(3) {
    width: 100px;
    margin: 0 0 0 24px;
}
/* カレンダー 3ヶ月分表示時 ボタン上下 次月ボタン */
#modal-calendar.vertical .inner:nth-child(3) {
    height: 50px;
    margin: 0 auto;
}
/* /カレンダー領域 */
.calendarControl{
}

/* テキストボックス領域 */
.calendarControl .textBoxFilter{
    width: 140px;
    height: 25px;
    position: relative;
}

/* テキストボックス */
.calendarControl .dateTextBox {
    color: #222;
    border: solid 1px;
    border-color: #707070;
    font-size: 14px;
    background-color: #fff;
    /*cursor: pointer;*/
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    text-indent: 5px;
}

/* クリアボタン */
.calendarControl .clear {
    font-size: 20px;
    border: 1px solid #fff;
    cursor: pointer;
    background-color: transparent;
    height: calc(100% - 4px);
    line-height: calc(100% - 4px);
    position: absolute;
    top: 2px;
    right: 4px;
    padding: 0;
}
.calendarControl .clear.inner {
    right: 26px;
}

/* アイコン */
.calendarControl .calendarImage {
    width: 23px;
    height: 22px;
    position: absolute;
    top: calc((100% - 23px) / 2);
    right: -26px;
    border: none;
    cursor: pointer;
    background-image: url(./Images/Icon.png);
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: 22px;
}
.calendarControl .calendarImage.calendar-control-inverted {
    background-image: url(./Images/Icon_inverted.png);
    background-color: #68d5db;
}

.calendarControl .calendarImage.inner {
    right: 4px;
}


/* カレンダー本体 */
/* カレンダー１ */
#modal-calendar #calendar1 {
    left: 0;
}

/* カレンダー２ */
#modal-calendar #calendar2 {
    /*left: 306px;*/
    left: 12px;
}

/* カレンダー３ */
#modal-calendar #calendar3 {
    left: 24px;
    right: 0px;
}

/* テーブル */
#modal-calendar table {
    /*position: absolute;*/
    position: relative;
    top: 35px;
    border-collapse: collapse;
    border-spacing: 0;
    float: left;
    width: 288px;
}
#modal-calendar thead,
#modal-calendar tbody {
    display: block;
}
#modal-calendar tbody {
    height: auto;
    overflow-y:hidden;
}
#modal-calendar th {
    font-size:15px;
    background-color: #444;
    color: #68d5db;
}
#modal-calendar td {
    width:32px;
    font-size:15px;
}
#modal-calendar td.selectable {
    cursor: pointer;
}
#modal-calendar th,
#modal-calendar td {
    border: 1px solid #666;
    padding: 8px 4px;
    text-align:center;
    height:24px;
}
/* /カレンダー本体 */

/* カレンダーセル */
#modal-calendar .showDate{
    color:#000;
    text-decoration:none;
}

/* カレンダーセル（選択日付） */
#modal-calendar .TargetDate{
    background-color: #68d5db;
    color:#fff;
}

/* 先月/翌月ボタン */
#modal-calendar .prevNext  {
    background-color: #444;
    background-size: 48px;
    background-repeat: no-repeat;
    background-position-y: 50px;
    width:60px;
    height:150px;
    border-radius:5px;
    box-shadow:2px 4px 3px rgba(0,0,0,0.5);
    cursor: pointer;
    margin: 125px 20px;
}
/* 先月/翌月ボタン(上下) */
#modal-calendar.vertical .prevNext  {
    background-color: #444;
    background-size: 40px;
    background-repeat: no-repeat;
    background-position-y: 8px;
    width:150px;
    height:60px;
    border-radius:5px;
    box-shadow:2px 4px 3px rgba(0,0,0,0.5);
    cursor: pointer;
    margin: 10px -13px;
}

#modal-calendar .prevNext:active {
    box-shadow:none;
    text-shadow:none;
    position:relative;
    top:2px;
    left:2px;
}

/* 先月ボタン */
#modal-calendar #prevBtn
{
    background-image: url(./Images/ArrowLeft.png);
    background-position-x: 8px;
}
#modal-calendar.vertical #prevBtn
{
    background-image: url(./Images/ArrowTop.png);
    background-position-x: 55px;
}

/* 翌月ボタン */
#modal-calendar #nextBtn
{
    background-image: url(./Images/ArrowRight.png);
    background-position-x: 4px;
}
#modal-calendar.vertical #nextBtn
{
    background-image: url(./Images/ArrowBottom.png);
    background-position-x: 55px;
}

/* オーバーレイ */
.modal-calendar-overlay {
    z-index:9998;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.75);
}

.calendar-readonly {
    background:rgb(235, 235, 228) !important;
}
