﻿/* 共通 START */
/*　ons-buttonを使っている場合Android版だと
    button--materialのスタイルにui-state-disabledが負けてしまい
    背景色が無効にならない問題があるため詳細度を上げておく。
*/
#must-read-information ons-button.ui-state-disabled {
    opacity: .35;
    background-image: none;
}

.must-read-info-content {
    padding: 15px;
    height: 100%;
    box-sizing: border-box;
}

.must-read-info-btn-content {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0 0 0;
}

.must-read-info-color-red {
    color: red;
}

.must-read-info-display-none {
    display: none;
}

.must-read-info-help {
    color: #87cefa;
    text-decoration: underline;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    font-size: 14px;
}

.must-read-info-icon-div {
    display: flex;
    align-items: center;
}

.must-read-info-exclamation-icon {
    width: 25px;
}

.must-read-info-icon {
    background-color: #c00000;
    color: white;
    border-radius: 5px;
    height: 30px;
    width: 40px;
    text-align: center;
    line-height: 30px;
    margin: 0 10px 0 0;
    font-size: 14px;
}

.must-read-info-message {
    font-size: 12px;
}
/* 共通 END */
/* 重要なお知らせ一覧 START */
#listpage {
    height: 100%;
}

#must-read-information .list-item__center {
    padding: 0;
    width: 100%;
}

.must-read-info-help-content {
    display: flex;
    justify-content: flex-end;
}

#must-read-info-message-content {
    padding-bottom: 10px;
}

.must-read-info-message-underline {
    text-decoration: underline;
    text-decoration-color: #990000;
    text-decoration-thickness: 2px;
}

#must-read-info-list-later-confirmed {
    background-color: orangered;
    color: white;
    text-align: center;
    width: 120px;
    font-size: 14px;
    margin-top: 10px;
}

#must-read-info-list-scroll-content {
    overflow: auto;
}

.must-read-info-list-background {
    background-image: none;
    background-color: transparent;
}

#must-read-info-list .list-item {
    padding: 0;
}

.must-read-info-list {
    border: solid 1px white;
    box-sizing: border-box;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    background-color: transparent;
    display: flex;
    align-items: center;
}

.must-read-info-list-red {
    border: solid 2px #c00000;
}

.must-read-info-list-grey {
    border: solid 1px grey;
}

.must-read-info-list-item-text {
    width: calc(100% - 55px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 重要なお知らせ一覧 END */

/* 重要なお知らせ詳細 START */
#detailpage {
    height: 100%;
}

#must-read-info-detail-deadline {
    padding: 10px 0 0 0;
}

.must-read-info-headline-div {
    display: flex;
    padding: 5px 0;
}

#must-read-info-detail-headline {
    overflow: auto;
    max-height: 50px;
    width: calc(100% - 55px);
    padding-right: 5px;
}

#must-read-info-detail-scroll-content {
    overflow: auto;
    padding: 0 5px;
    border: solid 1px grey;
    box-sizing: border-box;
    border-radius: 3px;
}

.must-read-info-detail-div {
    padding: 10px 0 5px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.must-read-info-detail-label-padding {
    padding-left: 5px;
}

#must-read-info-btn-read {
    background-color: orangered;
    color: white;
    text-align: center;
    font-size: 14px;
    width: 120px;
    margin-right: 10px;
}

#must-read-info-btn-back, #must-read-info-btn-close {
    color: white;
    text-align: center;
    font-size: 14px;
    width: 80px;
    background-color: black;
    border: solid 1px black;
}
/* 重要なお知らせ詳細 END */

/* 重要なお知らせがない場合 START */
#must-read-no-info-btn {
    width: 80px;
    text-align: center;
    background-color: orangered;
}
/* 重要なお知らせがない場合 END */