/*======================================================================
    施設コース管理画面の設定
    body class*=" path-blocks-facility "
========================================================================*/

/* 共通ヘッダー用 */
body[class*="path-blocks-facility"] table.header_page {
    height: 135px;
    width: 100%;
    background:
        url(/theme/icrweb/pix/facility/mark.gif) no-repeat 10px 0,
        url(/theme/icrweb/pix/facility/header_back.gif) repeat-x;
    margin-bottom: 20px;
    background-color: #fff;
}
body[class*="path-blocks-facility"] table.header_page tr:first-child {
    height: 95px;
}
body[class*="path-blocks-facility"] table.header_page tr:last-child {
    height: 40px;
}

/* 共通パーツ */
.btn.disabled, .btn:disabled {
    opacity: .3 !important;
    cursor: default;
}


/*ページ名*/
body[class*="path-blocks-facility"] table.header_page td.header_page_title {
    font-size: 25px;
    padding-top: 20px;
    padding-left: 135px;
}
/*ログアウトボタン*/
body[class*="path-blocks-facility"] table.header_page td.header_logout {
    min-width: 10%;
    white-space: nowrap;
    padding-top: 20px;
    padding-right: 20px;
}
body[class*="path-blocks-facility"] table.header_page td.header_logout div.facility_menu2 span {
    margin-right: 15px;
}
/*施設名*/
body[class*="path-blocks-facility"] table.header_page td.facility_name {
    max-height: 40px;
    min-height: 40px;
    height: 40px;
    font-size: 16px;
    padding-left: 135px;
}

/*検索ボックス*/
.facility_list_div .facility_list_search td {
    padding: 3px 5px;
}

/*フッター*/
body[class*="path-blocks-facility"] footer .btn {
    margin-right: .5em;
}

/*検索*/
body[class*="path-blocks-facility"] div.facility_search {
    border: 1px solid #cccccc;
    padding: .5em;
}
body[class*="path-blocks-facility"] div.facility_search td {
    white-space: nowrap;
}
body[class*="path-blocks-facility"] div.facility_search tr:not(:last-child) td {
    padding-bottom: .5em;
}
body[class*="path-blocks-facility"] div.facility_search td>label {
    margin-bottom: 0;
    margin-right: 1em;
}
body[class*="path-blocks-facility"] div.facility_search .btn {
    margin-right: .5em;
}

/*施設コース管理メニュー*/
body[class*="path-blocks-facility"] table.facility_course_menu + footer {
    padding-left: 5px !important;
}

/*新規・編集画面*/
body[class*="path-blocks-facility"] section > form > div[class*="form-group"] {
    border-top: 1px dashed #8f959e;
    padding-top: 15px;
}

/*施設ユーザー一覧の一括削除ボタン*/
.fac_users_del_btn {
    margin: 20px auto -15px auto;
}


/*一覧表*/
body[class*="path-blocks-facility"] table.facility_list_table th {
    text-align: center;
    padding: .3em .2em;
    line-height: 25px;
    background-color: #555;
    color: #fff;
    border: 1px solid #fff;
    border-top-color: #555;
    height: 2.5em;
    min-height: 2em;
    line-height: 1em;
}

body[class*="path-blocks-facility"] table.facility_list_table th:first-child {
    border-left-color: #555;
}

body[class*="path-blocks-facility"] table.facility_list_table th:last-child {
    border-right-color: #555;
}

body[class*="path-blocks-facility"] table.facility_list_table {
    border-collapse: collapse;
    font-size: 14px;
}

body[class*="path-blocks-facility"] table.facility_list_table td {
    padding: 5px;
}

/*リンク（一覧表内）*/
body[class*="path-blocks-facility"] table.facility_list_table td>a:focus {
    background-color: transparent !important;
}

body[class*="path-blocks-facility"] table.facility_list_table input[type="number"] {
    width: 5em;
}

/*ボタン（一覧表内）*/
body[class*="path-blocks-facility"] table.facility_list_table .btn {
    color: #212529;
    background-color: #ced4da;
    border-color: #ced4da;
    padding: 4px 10px;
    font-size: 18px;
}

body[class*="path-blocks-facility"] table.facility_list_table .btn:not([disabled]):hover,
body[class*="path-blocks-facility"] table.facility_course_menu .btn:not([disabled]):hover {
    color: #fff;
    background-color: #0c5ba1;
    border-color: #0b5496;
}

/*個別設定*/
body[class*="path-blocks-facility"] table#facility_list tr > td:nth-last-child(-n+3),
body[class*="path-blocks-facility"] table#facility_user_list tr > td:nth-last-child(-n+3),
body[class*="path-blocks-facility"] table#facility_temp_list tr > td:nth-last-child(-n+2),
body[class*="path-blocks-facility"] table#facility_lecture_list tr > td:nth-last-child(-n+7) {
    width: 20px;
    text-align: center !important;
}

body[class*="path-blocks-facility"] table#facility_list tr>td:nth-child(4),
body[class*="path-blocks-facility"] table#facility_list tr>td:nth-child(6),
body[class*="path-blocks-facility"] table#facility_list tr>td:nth-child(7),
body[class*="path-blocks-facility"] table#facility_lecture_list tr>td:nth-child(3),
body[class*="path-blocks-facility"] table#facility_user_lecture tr > td:nth-last-child(-n+3) {
    width: 160px;
    text-align: center !important;
}
body[class*="path-blocks-facility"] table#facility_user_lecture tr > td:nth-last-child(n+4):nth-last-child(-n+5) {
    width: 100px;
    text-align: center !important;
}

body[class*="path-blocks-facility"] i[class*="fa-minus-circle"] {
    color: red;
}

body[class*="path-blocks-facility"] i[class*="fa-circle"] {
    color: #00a968;
}






/*======================================================================
    施設コース
    body id="page-blocks-facility-course_section_edit"
========================================================================*/
body#page-blocks-facility-course_section_edit div#course_section_select_div {
    padding-left: 0;
    padding-right: 0;
}
body#page-blocks-facility-course_section_edit .p-heading--bnr__main {
    width: 100% !important;
    padding: 0;
}
body#page-blocks-facility-course_section_edit div#fac_search_results_div {
    border: 1px solid silver;
    border-left: none !important;
    margin-bottom: 2em;
}
body#page-blocks-facility-course_section_edit div#fac_search_course_div {
    border: 1px solid silver;
    margin-bottom: 2em;
}

.fac_course_section_thead {
    position: sticky;
    top: 0;
}
body#page-blocks-facility-course_section_edit div#fac_search_results_div .fac_search_results_tb tr:hover {
    background-color: #fff799;
}
body#page-blocks-facility-course_section_edit div.search_results_div,
body#page-blocks-facility-course_section_edit div#fac_course_section_div table.fac_cou_section_tb {
    width: 100% !important;
    border: none;
}
body#page-blocks-facility-course_section_edit div#fac_course_section_div table.fac_cou_section_tb tfoot td {
    border: none;
}
body#page-blocks-facility-course_section_edit table.fac_search_course_tb td.fac_search_course_td1 {
    white-space: nowrap;
}
body#page-blocks-facility-course_section_edit table.fac_search_results_tb {
    border: none !important;
}
body#page-blocks-facility-course_section_edit table.fac_search_results_tb td.fac_search_course_td1 {
    border-left: none !important;
}


body#page-blocks-facility-course_section_edit table.fac_search_course_tb input#search_cou_name,
body#page-blocks-facility-course_section_edit table.fac_search_course_tb textarea#search_sec_name {
    width: 100%;
}


/*======================================================================
    施設コーステンプレート
    body id="body#page-blocks-facility-template_edit"
========================================================================*/
body#page-blocks-facility-template_edit div#course_section_select_div {
    padding-left: 0;
    padding-right: 0;
}
body#page-blocks-facility-template_edit .p-heading--bnr__main {
    width: 100% !important;
    padding: 0;
}
body#page-blocks-facility-template_edit div#fac_search_results_div {
    border: 1px solid silver;
    border-left: none !important;
}
body#page-blocks-facility-template_edit div.fac_temp_div {
    border: 1px solid silver;
    margin-bottom: 2em;
}

.fac_course_section_thead {
    position: sticky;
    top: 0;
}
body#page-blocks-facility-template_edit div#fac_search_results_div .fac_search_results_tb tr:hover {
    background-color: #fff799;
}
body#page-blocks-facility-template_edit div.search_results_div,
body#page-blocks-facility-template_edit div#course_section_select_div table.fac_cou_section_tb {
    width: 100% !important;
    border: none;
}
body#page-blocks-facility-template_edit div#course_section_select_div table.fac_temp_edit_tb {
    width: 100% !important;
    border: none;
}
body#page-blocks-facility-template_edit div#fac_course_section_div table.fac_cou_section_tb tfoot td {
    border: none;
}
body#page-blocks-facility-template_edit table.fac_temp_edit_tb td.fac_temp_edit_td1 {
    white-space: nowrap;
}
body#page-blocks-facility-template_edit table.fac_search_results_tb {
    border: none !important;
}
body#page-blocks-facility-template_edit .fac_temp_edit_td1 {
    width: 120px;
}
body#page-blocks-facility-template_edit .alignCenter {
    text-align: center;
}


body#page-blocks-facility-template_edit table.fac_temp_edit_tb input#fac_temp_course_name,
body#page-blocks-facility-template_edit table.fac_temp_edit_tb textarea#search_sec_name {
    width: 100%;
}


/*==============================================*/
/* 施設コース管理 */
/* body class=path-blocks-facility */
/*==============================================*/
body#page-blocks-facility-login form#facility_user_login  {
    font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
}
body#page-blocks-facility-login form#facility_user_login div.login_left p,
body#page-blocks-facility-login form#facility_user_login div.login_right p {
    font-size: 16px;
    line-height: 1.8;
    margin: .5em 0 .3em 0;
}
body#page-blocks-facility-login form#facility_user_login p.center {
    margin: 30px 0 20px 0;
}
body[class*="path-blocks-facility"] {
    background-color: #fff !important;
}
body[class*="path-blocks-facility"] section {
    max-width: 100%;
    width: 90%;
    min-width: 80%;
    margin: 0 auto;
}
body[class*="path-blocks-facility"] section#region-main {
    width: 100% !important;
    height: 100% !important;
}
body[class*="path-blocks-facility"] section input[class*="form-control"],
body[class*="path-blocks-facility"] section textarea[class*="form-control"] {
    width: 100% !important;
}
body[class*="path-blocks-facility"] section > div[class*="form-group"] {
    border-top: 1px dashed #8f959e;
    padding-top: 15px;
}
body[class*="path-blocks-facility"] section > div#fgroup_id_course_class_1 {
    padding-top: 0;
}
body#page-blocks-facility-course_edit section > div#fgroup_id_course_class_2,
body#page-blocks-facility-course_edit section > div#fgroup_id_course_class_3 {
    border-top: none;
    padding-top: 0;
    margin-bottom: .5em;
}
body#page-blocks-facility-course_edit section > div#fgroup_id_course_class_2_sub,
body#page-blocks-facility-course_edit section > div#fgroup_id_course_class_3_sub {
    border-top: none;
    padding-top: 0;
}
body#page-blocks-facility-course_edit input#id_saveandreturn {
    color: #fff;
    background-color: #0c5ba1;
    border-color: #0b5496;
    padding: 0.5em 1em;
    margin-right: 1em;
}
body[class*="path-blocks-facility"] section > div[class*="form-group"] > div[class*="col-form-label"] + div[class*="col-md-9"] {
    padding-top: 0 !important;
}
body[class*="path-blocks-facility"] section div[data-fieldtype*="group"] {
    margin-top: .5em;
}
body[class*="path-blocks-facility"] section

/*ログインページ*/
body[class*="path-blocks-facility"] div.login p {
    margin: 1em 0;
    font-size: 16px;
}
body[class*="path-blocks-facility"] .facility_login_btn {
    background: -webkit-gradient(linear, left top, left bottom, from(#0099CC), to(#006699));
    border: 1px solid #DDD;
    color: #FFF;
    padding: 10px 0;
    width: 100%;
    height: 50px;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.3s ease-in-out;
}
body[class*="path-blocks-facility"] section + div[class*="fdescription required"] {
    max-width: 100%;
    width: 90%;
    min-width: 80%;
    margin: 0 auto;
    margin-bottom: 30px;
}

/*契約施設一覧*/
body[class*="path-blocks-facility"] i[class*="fa-minus-circle"] {
    color: red;;
}
body[class*="path-blocks-facility"] i[class*="fa-circle"] {
    color: #00a968;
}
/*ユーザーからの申請機能*/
table#facility_list thead tr th:nth-child(6) {
    min-width: 4em !important;
    max-width: 7em !important;
    white-space: normal !important;
}
/*施設名*/
table#facility_list thead tr th:nth-child(1),
table#facility_list tbody tr td:nth-child(1) {
    min-width: 8em !important;
}
/*担当者氏名*/
table#facility_list thead tr th:nth-child(2),
table#facility_list tbody tr td:nth-child(2) {
    min-width: 5em !important;
}
/*備考*/
table#facility_list thead tr th:nth-child(8),
table#facility_list tbody tr td:nth-child(8) {
    max-width: 10em !important;
    min-width: 3em !important;
}


#page-blocks-facility-facility_list section#region-main,
#page-blocks-facility-uesr section#region-main {
    overflow: visible !important;
}
#page-blocks-facility-facility_list .facility_index_header,
#page-blocks-facility-facility_list .facility_list_navbar,
#page-blocks-facility-index .facility_index_header {
    max-width: 100%;
    width: 90%;
    min-width: 80%;
    height: 135px;
    margin: 0 auto;
    background: none !important;
    border: none;
}
#page-blocks-facility-facility_list .facility_menu1,
#page-blocks-facility-index .facility_menu1 {
    background-image: url(/theme/icrweb/pix/facility/mark.gif);
    background-repeat: no-repeat;
    height: 135px;
    background-position-y: -1px;
    padding-left: 120px;
    border: none;
    background-color: transparent;
}
#page-blocks-facility-facility_list .facility_index_title,
#page-blocks-facility-facility_list .facility_list_title,
#page-blocks-facility-index .facility_index_title {
    margin-left: 10px;
    line-height: 120px;
    font-size: 25px;
    display: inline-block;
    height: 135px;
}
body[class*="path-blocks-facility"] .facility_list_div {
    font-size: 14px !important;
    width: auto !important;
    margin: 10px 20px !important;
}
body[class*="path-blocks-facility"] .facility_list_table tr:hover {
    background-color: #fff799;
}
body[class*="path-blocks-facility"] .facility_list_table a {
    color: #0b5496 !important;
    text-decoration: underline;
}
#page-blocks-facility-facility_list .facility_list_table,
#page-blocks-facility-index table.facility_index_tb {
    font-size: 14px !important;
}
#page-blocks-facility-facility_list .facility_list_table th {
    text-align: center;
}
#page-blocks-facility-facility_list .facility_list_table th:nth-child(2),
#page-blocks-facility-facility_list .facility_list_table th:nth-child(n+7) {
        white-space: nowrap;
}
#page-blocks-facility-facility_list .facility_list_table tr td:nth-child(6) {
    text-align: center;
}
#page-blocks-facility-facility_list .facility_list_table tr td > button {
    margin: 5px 3px;
    padding: 5px 8px;
}
#page-blocks-facility-facility_list .facility_list_table tr td > button i {
    font-size: 20px !important;
}

#page-blocks-facility-index .facility_index_div {
    /*width: 80%;
    margin: 0 auto;*/
    padding: 0;
    border: none;
}
#page-blocks-facility-index table.facility_index_tb,
#page-blocks-facility-index table.facility_course_menu {
    width: 100%;
    border: none;
    margin-bottom: 1em;
}
#page-blocks-facility-index table.facility_index_tb td,
#page-blocks-facility-index table.facility_course_menu td {
    width: 16% !important;
    text-align: center !important;
    padding: 0 5px;
}
#page-blocks-facility-index table.facility_index_tb input[type="button"],
#page-blocks-facility-index table.facility_course_menu button,
#page-blocks-facility-uesr  table.facility_course_menu button {
    border: 1px solid #0b5496;
    width: 100%;
    height: 100px;
}
#page-blocks-facility-index table.facility_course_menu button > i,
#page-blocks-facility-uesr  table.facility_course_menu button > i {
    display: block;
    margin-bottom: 10px;
    font-size: 30px;
}
#page-blocks-facility-index .facility_info {
    position: relative;
    margin: 2em auto;
    padding: 1.2em;
    width: calc(100% - 10px);
    border: 2px solid #ddd;
    color: #555555;
    border-radius: 5px;
}
  
#page-blocks-facility-index .facility_info_title {
    position: absolute;
    left: 20px;
    top: -15px;
    padding: 0 .5em;
    font-weight: bold;
    font-size: 1.1em;
    color: #555;
    background: #fff;
}


/*契約施設一覧*/
body[class*="path-blocks-facility"] .facility_list_table th {
        white-space: nowrap;
}

/*施設ユーザーリスト*/
body#page-blocks-facility-uesr .facility_list_table {
    font-size: 14px;
}
body#page-blocks-facility-uesr .facility_list_table th,
body#page-blocks-facility-uesr .facility_list_table td {
    padding: 3px 5px;
}
#page-blocks-facility-uesr .facility_list_table button {
    font-size: 18px;
}
body#page-blocks-facility-uesr .facility_list_table tr th:nth-last-of-type(-n+2),
body#page-blocks-facility-uesr .facility_list_table tr td:nth-last-of-type(-n+2) {
    width: 50px;
    min-width: 40px;
    text-align: center;
}
/* 受講状況（個別） */
body#page-blocks-facility-user_lecture div.facility_search table tr:nth-child(-n+2) > td:first-child {
    width: 7em !important;
    white-space: nowrap !important;
}
/* 受講状況 */
body#page-blocks-facility-attendance_status table.facility_list_table tr > td:nth-last-child(-n+3) {
    width: 160px;
    text-align: center !important;
}
body#page-blocks-facility-attendance_status table.facility_list_table tr > td:nth-last-child(n+4):nth-last-child(-n+5) {
    width: 100px;
    text-align: center !important;
}