@charset "utf-8";

body {
    margin-top: 10px;
}

#main {
	margin-bottom: 20px;
}

#main li.large {
    padding: 0px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
}

#main li.large a {
    padding: 8px 15px;
    border: 1px solid white;
    border-radius: 6px;
}

#main li.large a:hover {
    background-color: #286090;
}

#main .title img {
	max-width: 100%;
	margin: 10px;
}

#main h2 {
	margin-bottom: 20px;
}

#main h3 {
	margin-bottom: 20px;
}

#main ul.nav-tabs {
	margin-bottom: 20px;
}

#main .btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

#footer {
    font-size: 12px;
}

p.links img {
    margin-right: 15px;
    margin-bottom: 5px;
}

#main .req_mark{
    color: red;
}

#entry_panel .message {
	margin-top: 20px;
	margin-bottom: 30px;
}

#entry_panel .error_message {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #c66;
    display: none;
}

#entry_panel .control_button {
	margin-top: 20px;
    text-align: right;
}

#entry_panel textarea {
    resize: vertical;
}

#entry_panel p.thumbnail {
    max-width: 400px;
}

#map {
    height: 420px;
}

#modal_event_body img {
    margin-right: 10px;
    margin-bottom: 10px;
    max-width: 100%;
}

#modal_event_body div.row {
    margin-bottom: 10px;
}

#modal_event_body img.thumb_image {
    width: 15%;
}

#modal_login_body input {
    margin-bottom: 10px;
}

#modal_calendar_body h4,
#modal_calendar_body th,
#modal_calendar_body td {
    text-align: center;
}

#modal_calendar_body td.day {
    padding: 10px 12px;
    cursor: pointer;
}

#modal_calendar_body td.day:hover {
    font-weight: bold;
    text-decoration: underline;
}

#top_button {
    display: none;
    width: 50px;
    height: 50px;
    position: fixed;
    z-index: 100;
    right: 30px;
    bottom: 30px;
}

h4.table_title span {
    color: #428bca;
    font-size: 20px;
    font-weight: bold;
}

#time_table {
    overflow: scroll;
}

#time_table table {
    table-layout: fixed;
    min-width: auto;
}

#time_table th {
    text-align: center;
    padding: 3px 5px;
}

#time_table tr.table_header th {
    white-space: nowrap;
}

#time_table tr.table_header th.hour {
    width:48px;
}

#time_table th.date {
    width: 10rem;
}

#time_table tr th.division {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    width:10rem;
}

#time_table td {
    padding: 3px 5px;
}

#time_table th ,
#time_table td.minute45 {
    border-right: 1px solid #bbb;
}

#time_table tr.table_header th {
    color: #777;
    background-color: #eee;
}

#time_table td.gray {
    background-color: #CCC;
}

/* 予約（他人） */
#time_table td.red {
    background-color: #ED6B63;
}

/* 予約（自分） */
#time_table td.blue {
    background-color: #76B1DB;
}

/* 抽選申込（他人） */
#time_table td.orange {
    background-color: #F6C27E;
}

/* 抽選申込（自分） */
#time_table td.green {
    background-color: #ABDE6C;
}

#time_table td.yellow {
    background-color: #ecf3ae;
}

#main span.gray {
    padding: 3px 5px;
    color: white;
    border: 1px solid #bbb;
    background-color: #CCC;
}

#main span.red {
    padding: 3px 5px;
    color: white;
    border: 1px solid #bbb;
    background-color: #ED6B63;
}

#main span.blue {
    padding: 3px 5px;
    color: white;
    border: 1px solid #bbb;
    background-color: #76B1DB;
}

#main span.orange {
    padding: 3px 5px;
    color: white;
    border: 1px solid #bbb;
    background-color: #F6C27E;
}

#main span.green {
    padding: 3px 5px;
    color: white;
    border: 1px solid #bbb;
    background-color: #ABDE6C;
}

@media print {
    body {
        padding-top: 0px !important;
        font-size: 18px !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }

    #time_table th,
    #time_table td.minute45 {
        border-right: 1px solid #bbb !important;
    }

    #time_table tr.table_header th {
        color: #777 !important;
        background-color: #eee !important;
    }

    #time_table td.gray {
        background-color: #CCC !important;
    }

    /* 予約（他人） */
    #time_table td.red {
        background-color: #ED6B63 !important;
    }

    /* 予約（自分） */
    #time_table td.blue {
        background-color: #76B1DB !important;
    }

    /* 抽選申込（他人） */
    #time_table td.orange {
        background-color: #F6C27E !important;
    }

    /* 抽選申込（自分） */
    #time_table td.green {
        background-color: #ABDE6C !important;
    }

    #time_table td.yellow {
        background-color: #ecf3ae !important;
    }

    #main span.gray {
        padding: 3px 5px !important;
        color: white !important;
        border: 1px solid #bbb !important;
        background-color: #CCC !important;
    }

    #main span.red {
        padding: 3px 5px !important;
        color: white !important;
        border: 1px solid #bbb !important;
        background-color: #ED6B63 !important;
    }

    #main span.blue {
        padding: 3px 5px !important;
        color: white !important;
        border: 1px solid #bbb !important;
        background-color: #76B1DB !important;
    }

    #main span.orange {
        padding: 3px 5px !important;
        color: white !important;
        border: 1px solid #bbb !important;
        background-color: #F6C27E !important;
    }

    #main span.green {
        padding: 3px 5px !important;
        color: white !important;
        border: 1px solid #bbb !important;
        background-color: #ABDE6C !important;
    }

    #main .bg-danger{
        background-color: #F2DEDE !important;
    }
    #main .bg-info{
        background-color: #D9EDF7 !important;
    }
}