﻿/*--------------------------------------------------------*/
/* ユーザー空き情報CSS                                    */
/*--------------------------------------------------------*/

/* メイン領域1 */
.calendarArea
{
    position:relative;
    float:left;
}

/* ================ PC用の設定 ================ */
@media only screen and (min-width:801px) {

    /* メイン領域2 */
    .facilityPanelArea
    {
        margin-left:250px;
        margin-bottom:4px;
        width:auto;
    }

    /* メイン領域3 */
    .viewTypeArea 
    {
        margin:4px 0px 4px 250px;
        padding:8px; width:auto;
        text-align:center;
        border:1px solid #666666;
    }

    /* メイン領域4 */
    .colorTypeArea
    {
        margin:4px 0px 4px 250px;
        padding:8px;
        width:auto;
        text-align:center;
        border:1px solid #666666;
    }
}

/* ================ スマートフォン用の設定 ================ */
@media only screen and (max-width:800px) {

    /* メイン領域2 */
    .facilityPanelArea {
        margin-left: 0px;
        margin-bottom: 4px;
        width: auto;
        clear: both;
    }

    /* メイン領域3 */
    .viewTypeArea {
        margin: 4px 0px 4px 0px;
        padding: 8px;
        width: auto;
        text-align: center;
        border: 1px solid #666666;
    }

        .viewTypeArea select {
            max-width: 90vw;
        }

        .viewTypeArea input {
            margin-left: 5px;
        }

    /* メイン領域4 */
    .colorTypeArea {
        margin: 4px 0px 4px 0px;
        padding: 8px;
        width: auto;
        text-align: center;
        border: 1px solid #666666;
    }

    .colorType {
        margin-top: 5px;
    }

    .schedule input {
        -webkit-appearance: none;
        border-radius: 0;
    }
}

/* ================ 共通 ================ */

/* カレンダー */
#calendar
{
	width:250px;
	height:180px;
}

/* カレンダー年月DDL */
.ddlCalendarMonth {
    position:absolute;
    top:8px;
    font-family:Verdana;
    font-size:100%;
    font-weight:bold;
    color:#FFFFFF;
    background-color:#225588;
    border-style:none;
    cursor: pointer;
    left: 50%;
    transform: translateX(-50%);
}

/* カレンダー前月ボタン */
.btnPrevMonth {
    position:absolute;
    top:10px;
    left:2px;
    font-size:80%;
    text-decoration:underline;
    color:#FFFFFF;
    background-color:#225588;
    border-style:none;
    cursor: pointer;
}

/* カレンダー翌月ボタン */
.btnNextMonth {
    position:absolute;
    top:10px;
    right:0px;
    font-size:80%;
    text-decoration:underline;
    color:#FFFFFF;
    background-color:#225588;
    border-style:none;
    cursor: pointer;
}

/* 施設データタイトル */
.facilityDataTitle {
    font-size:95%;
    line-height:140%;
	color:#0066CC;
}

/* 施設パネル施設名（空き状況ページ用） */
.facilityName {
    color: #FFFFFF;
    position: absolute;
    top: 12px;
    left: 18px;
    width: 170px;
    padding: 3px;
    box-sizing: border-box;
    text-decoration: none;
    font-weight: bold;
}

/* 施設データ値 */
.facilityDataValue {
    font-size:95%;
    line-height:140%;
}

/* 施設データ値（備考） */
.facilityDataValueRemarks {
    font-size:95%;
    width:auto;
    display:inline;
   
}

/* 施設データ値（備考） */
.facilityDataValueBreakRemarks {
    font-size: 95%;
    width: auto;
    display: inline-block;
    Width : 100%;
    word-wrap: normal;
    word-break: break-all;
}

@media only screen and (min-width:998px) {
    .facilityPanelComment {
        float: left;
        width: 75%;
    }
}
@media only screen and (min-width:801px) and (max-width:997px) {
    .facilityPanelComment {
        float: left;
        width: 100%;
    }
}
@media only screen and (min-width:734px) and (max-width:800px) {
    .facilityPanelComment {
        float: left;
        width: 75%;
    }
}
@media only screen and (max-width:733px) {
    .facilityPanelComment {
        float: left;
        width: 100%;
    }
}

.facilityPanelButton {
    float:left;
    width:300px;
}

.scheduleLinkButton {
  display: inline-block;
}

/* 空き状況カラー説明枠 */
.colorType
{
    margin-right:15px;
    display:inline-block;
}

/* 空き状況カラー説明枠 */
.color
{
    display:inline-block;
    Width:18px;
    border:1px solid #000000;

}

/* スケジュールヘッダー */
.scheduleHeader
{
	width:auto;
	height:100%;
    min-height:30px;
	border-width:0px;
	margin-left:auto;
	margin-right:auto;
	clear:both;
}

/* 前へ */
.previous
{
    float:left;
    margin:2px 2px 2px 0px;
    width:100px;
}

/* 次へ */
.next
{
    float:right;
	margin:2px 0px 2px 2px;
	width:120px;
}

/* スケジュールのスクロールバー*/
.schedulePanel
{
    width: 100%;
    overflow: scroll;
    overflow-y: hidden;
}

/* スケジュール */
.schedule
{
    /*min-width: 800px;*/
	width:100%;
	border-width:0px;
	border-color:#C8C8C4;
	background-color:#C8C8C4;
	vertical-align:middle;
	margin-left:auto;
	margin-right:auto;
	clear:both;
}

/* 表示期間 */
.viewDate
{
    font-weight:bold;
	color: #3366cc;
}

/* 分割表示切替 */
.SpaceViewChange
{
    padding-left:20px;
    display:inline;
    white-space: nowrap;
}

/* 空き状況タイトルスペース表示選択（予約登録ページ） */
.ScheduleTitleRight
{
	text-align:right;
	padding-right:15px;
}

/* 空き状況時刻行 */
.ScheduleTimeRow
{
	background-color:#3377CC;
    table-layout:fixed;
}

/* 空き状況時刻タイトル */
.ScheduleTimeTitle
{
    width:220px;
    min-width:220px;
    max-width:220px;
	background-color:#3377CC;
	text-align:center;
	color:#FFFFFF;
	font-weight:bold;
}

/* 空き状況時刻 */
.ScheduleTime
{
	width:42px;
    min-width:38px;
	text-align:center;
	color:#FFFFFF;
	font-weight:bold;
    padding:0px;
}

/* 空き状況空白行 */
.ScheduleSpaceRow
{
    height:3px;
}

/* 空き状況空白 */
.ScheduleSpace
{
	height:3px;
	background-color:#FFFFFF;
	margin:0px;
	padding:0px;
}


/* 空き状況空白（大） */
.ScheduleSpaceLarge
{
	height:12px;
	background-color:#FFFFFF;
	border-top-color:#C8C8C4;
	border-top-style:solid;
	border-top-width:1px;
	margin:0px;
	padding:0px;
}

/* 空き状況ダミー行 */
.ScheduleDummyRow
{
	height:0px;
}

/* 空き状況ダミー */
.ScheduleDummy
{
	height:0px;
	background-color:#C8C8C4;
}

/* 空き状況施設行 */
.ScheduleFacilityRow
{
	height:20px;
	border-color:#C8C8C4;
	color:#002288;
	padding:2px;
}

/* 空き状況施設セル */
.ScheduleFacility
{
	background-color:#99CCFF;
	height:18px;
	width:140px;
	color:#002288;
	text-align:left;
	vertical-align:middle;
	padding-left:6px;
}

/* 空き状況施設のみセル */
.ScheduleFacilityOnly
{
	background-color:#99CCFF;
	height:18px;
	width:220px;
    color:#002288;
	text-align:left;
	vertical-align:middle;
	padding-left:10px;
}

/* 空き状況日付セル */
.ScheduleDate
{
	background-color:#99CCFF;
	height:18px;
	width:120px;
	color:#002288;
	text-align:center;
	vertical-align:middle;
}

/* 空き状況日付セル（日曜日） */
.ScheduleDateSunday
{
	background-color:#99CCFF;
	height:18px;
	width:120px;
	color:#EE4400;
	text-align:center;
	vertical-align:middle;
}

/* 空き状況日付のみセル */
.ScheduleDateyOnly
{
	background-color:#99CCFF;
	height:18px;
	width:220px;
	color:#002288;
	text-align:center;
	vertical-align:middle;
}

/* 空き状況日付のみセル（日曜日） */
.ScheduleDateyOnlySunday
{
	background-color:#99CCFF;
	height:18px;
	width:220px;
	color:#EE4400;
	text-align:center;
	vertical-align:middle;
}

/* 空き状況施設スペースセル（１日表示） */
.ScheduleFacilitySpaceDay
{
  	background-color:#99CCFF;
	height:20px;
	width:80px;
	color:#002288;
	text-align:center;
	vertical-align:middle;
}

/* 空き状況施設スペースセル */
.ScheduleFacilitySpace
{
	background-color:#99CCFF;
	height:18px;
	width:100px;
	color:#002288;
	text-align:center;
	vertical-align:middle;
}

/* 空き状況施設スペースセル（日曜日） */
.ScheduleFacilitySpaceSunday
{
	background-color:#99CCFF;
	height:18px;
	width:100px;
	color:#EE4400;
	text-align:center;
	vertical-align:middle;
}

/* 空き状況Cell */
.ScheduleCell
{
	font-size:95%;
	color:#FFFFFF;
	height:18px;
}

/* 空き状況Button */
.ScheduleCellButton
{
	border-style:none;
	height:100%;
	width:100%;
	padding:0px;
	margin:0px;
}

/* 空き状況Button（リンクあり） */
.ScheduleCellButtonLink
{
	font-size:90%;
	color:#FFFFFF;
	border-style:none;
	height:100%;
	width:100%;
	cursor:pointer;
	padding:0px;
	margin:0px;
}

.ScheduleCellButtonLink:hover
{
    background-color:#3377CC;
}

/* 空き状況（休日／予約不可） */
.ScheduleCanNotReserve
{
	color:#FFFFFF;
}

/* 空き状況表示条件エリア */
.scheduleConditionArea {
    float:none;
    width:100%;
    /*margin:5px 0px 10px 0px;
    padding: 8px 0 4px 0;*/
    text-align:center;
    vertical-align:middle;
    display:inline;
}

/* 登録ページの空き状況表示エリア */
.scheduleArea {
    float:none;
    width:100%;
    margin:0px 0px 20px 0px;
    padding: 0px;
    text-align:center;
}

.contextImage {
    width: 16px;
    height: auto;
    -ms-interpolation-mode: bicubic;
}

.closed:before {
    content: ' ×';
    display: block;
    color: black;
}
.lotapp span {
    display: block;
}
.lotapp span:first-child {
    font-size: 14px;
    margin-top: -5px;
}
.lotapp span:last-child {
    font-size: 9px;
    margin-top: -15px;
}
.lotapp {
    text-decoration: none;
}
.countLotApp{
    font-size:84%;
}

/* ================ スマートフォン用の設定 ================ */
@media (max-width:800px) {
      .scheduleConditionArea {
        float: none;
        width: 100%;
        text-align: center;
        vertical-align: middle;
        display:block
    }
}

/*--------------------------------------------------------*/
/* 空き状況カレンダーCSS　　　　　　　　　　　　　　　　　*/
/*--------------------------------------------------------*/
.wrapper {
    margin-top: 20px;
}

.tbCalendar {
    width: 100%;
    max-width:800px;
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed;
}

.tbCalendar th, .tbCalendar td {
    border: 1px solid #000000;
}

.tbCalendar .title {
    background-color: #5580BB;
    height: 15px;
    text-align: center;
}

.tbCalendar tr {
    height: 90px;
}

.tbCalendar .month {
    height: 20px;
}

.prev{
    width: 100px;
    float:left;
}
.next {
    width: 100px;
    float: right;
}

.tbCalendar .month {
    padding: 0px;
}

.tbCalendar .day {
    position: relative;
    font-size: 120%;
}
.rowCalendar td > span {
    color: #003399;
}

.dayOutMonth {
    color: #999999;
    bottom: 37px !important;
}
.disMonth{
    text-align:center !important;
}

.rowCalendar span {
    text-align: center;
    display: block;
}
.icon {
    font-size: 20px;
    color: black !important;
    width: 14px;
    margin: 0 auto;
}
.lopapp {
    margin-bottom: -20px;
}
.lopapp span{
    color :black;
}
.cusCalendarArea {
    float: left !important;
}

.rowCalendar td:hover, .rowCalendar td:active {
    background-color: #dbeafa;
    cursor:pointer;
}
.calendar {
    float: left;
}
.cusColor{
    color:white;
    height : 10px;
}
.cusholiday {
    color:red;
    float: left;
    font-size: 10px;
    position: relative;
}
.dayOff .day{
    color: red !important ;
}
.infoFacility{
    position: relative;
    bottom:32px;
}
.note{
    display: inline;
}
.inline {
    display: inline-block;
    text-align: left;
    float: left;
    width: auto;
    margin-top: 11px;
    margin-left: 25px;
}
.inline span{
    font-size: 20px;
}
.cusCalendar{
    float:none;
}
.cusCalendar table{
    position: absolute;
}
.cusCalendar .ddlCalendarMonth {
    left: 102px;
}

.btnCalendar td {
    border: 0px solid;
    height: 15px !important;
}

@media only screen and (min-width:801px) {
    /*.schedule {
        table-layout: fixed;
    }*/

    .cusScheduleSpaceTitle {
        border-left: 1.25px solid #C8C8C4;
        border-right: 1.25px solid #C8C8C4;
        border-top: 2px solid #c8c8c4;
        height: auto;
    }

    .hide {
        display: none;
    }

    /*Schedule Calendar */
    .tbCalendar .rowCalendar > td .day {
        height: 20px;
        width: 100%;
        text-align: left;
    }

    .tbCalendar .rowCalendar > td .icon {
        width: 100%;
        height: 40px;
        text-align: center;
        transform: translateY(40%);
    }

    .tbCalendar .rowCalendar > td .cusholiday {
        width: 100%;
        height: 40px;
        text-align: left;
        display: flex;
    }

        .tbCalendar .rowCalendar > td .cusholiday > p {
            margin-top: auto;
        }

    .tbCalendar td {
        text-align: left;
    }

    .errorMessage {
        margin: 4px 0 4px 0;
        border: solid 1px #000000;
        color: #FF3366;
        background-color: #FFCC99;
        font-weight: bold;
        text-align: center;
        padding: 10px;
    }
}