:root {
    --theme-color: #233b6c;
    --theme-back-color: #ebf1ff;
    /*--theme-middle-color: #b6cafa;*/
    --theme-middle-color: #cfdcff;
}
/* ペジネーション向け*/
.page-link {
    color: var(--theme-color);
}

.page-item.active .page-link{
    background-color: var(--theme-color);
}


/* ページタイトル */
.title-page {
    color: var(--theme-color);
    font-size: 20px;
    font-weight: bold;
}

.title-page-myrecord {
    font-size: 18px;
}

.title-page-register {
    margin-bottom: 30px;
}

.title-page-search {
    margin-bottom: 20px;
    font-size: 18px;
}

.title-page-detail {
    margin-bottom: 20px;
}

.title-page-delete {
    margin-bottom: 20px;
}

.title-page-edit {
    margin-bottom: 30px;
}

.title-page-admin-user {
    margin-bottom: 30px;
}

/* 文字 */
.character {
    color: var(--theme-color);
    font-weight: bold;
}

/* faアイコン用 */
i.fas {
    color: var(--theme-color);
}

i.fab {
    color: var(--theme-color);
}

/* ================
 * バリデーション
 * ================ */
span.help-block {
    color: #F00;
}

/* ================
 * テーブル共通部分 
 * ================ */
table.table_common {
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-word;
    background-color: var(--theme-back-color);
}

table.table_common th {
    background-color: var(--theme-color);
    color: #FFFFFF;
}

table.table_common th {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

table.table_common th a {
    color: #FFFFFF;
}

table.table_common td {
    padding-top: 1.0rem;
    padding-bottom: 1.0rem;
}

/* ======================
 * 管理者用テーブル
 * ====================== */
table.admin_user_search {
    margin-top: 30px;
} 

table.admin_user_search th{
    font-size: 14px;
}

/* ユーザー管理画面のテーブル幅 社員番号 */
table.admin_user_search th.th1 {
    width: 12%;
}

/* ユーザー管理画面のテーブル幅 氏名 */
table.admin_user_search th.th2 {
    width: 18%;
}

/* ユーザー管理画面のテーブル幅 メールアドレス */
table.admin_user_search th.th3 {
    width: 25%;
}

/* ユーザー管理画面のテーブル幅 部署 */
table.admin_user_search th.th4 {
    width: 15%;
}

/* ユーザー管理画面のテーブル幅 グループ */
table.admin_user_search th.th5 {
    width: 18%;
}

/* ユーザー管理画面のテーブル幅 スキルレベル */
table.admin_user_search th.th6 {
    width: 12%;
}

/* スキルレベルアップボタン */
table.admin_user_search td i {
    font-size: 1.5em;
}

/**
 * 管理ユーザー admin.qa.inspection
 */
table.admin_qa_inspection {
    margin-top: 20px;
}

table.admin_qa_inspection th {
    font-size: 14px;
    white-space: nowrap;
}

/* # */
table.admin_qa_inspection th.th1 {
    width: 7%;
}

/* 質問 */
table.admin_qa_inspection th.th2 {
    width: 25%;
}

/* グループ名 */
table.admin_qa_inspection th.th3 {
    width: 15%;
}

/* カテゴリ名 */
table.admin_qa_inspection th.th4 {
    width: 15%;
}

/* 質問登録日時 */
table.admin_qa_inspection th.th5 {
    width: 18%;
}

/* 要点検度 */
table.admin_qa_inspection th.th6 {
    width: 8%;
}

/* アクション */
table.admin_qa_inspection th.th7 {
    width: 12%;
}

table.admin_qa_inspection td i {
    font-size: 1.5em;
}

/* # */
table.recently_updated th.th1 {
    width: 7%;
}

/* 質問 */
table.recently_updated th.th2 {
    width: 27%;
}

/* カテゴリ */
table.recently_updated th.th3 {
    width: 15%;
}

/* グループ */
table.recently_updated th.th4 {
    width: 15%;
}

/* 質問登録者 */
table.recently_updated th.th5 {
    width: 12%;
}

/* 質問更新日時 */
table.recently_updated th.th6 {
    width: 14%;
}

/* アクション */
table.recently_updated th.th7 {
    width: 10%;
}

table.recently_updated td i {
    font-size: 1.5em;
}

/* # */
table.admin_qa_index th.th1 {
    width: 7%;
}

/* 質問 */
table.admin_qa_index th.th2 {
    width: 27%;
}

/* カテゴリ */
table.admin_qa_index th.th3 {
    width: 15%;
}

/* グループ */
table.admin_qa_index th.th4 {
    width: 15%;
}

/* 質問登録者 */
table.admin_qa_index th.th5 {
    width: 13%;
}

/* 質問更新日時 */
table.admin_qa_index th.th6 {
    width: 14%;
}

/* アクション */
table.admin_qa_index th.th7 {
    width: 9%;
}

table.admin_qa_index td i {
    font-size: 1.5em;
}

table.user_elapse_time {
    margin-top: 60px;
    font-size: 14px;
}

/**
 * 一般ユーザー search.index 画面
 */
table.search_index {
    margin-top: 20px;
}

table.search_index th {
    font-size: 14px;
    white-space: nowrap;
}

/* テーブル幅 # */
table.search_index th.th1 {
    width: 7%;
}

/* テーブル幅 質問 */
table.search_index th.th2 {
    width: 27%;
}

/* テーブル幅 カテゴリ */
table.search_index th.th3 {
    width: 15%;
}

/* テーブル幅 グループ */
table.search_index th.th4 {
    width: 15%;
}

/* テーブル幅 質問登録者 */
table.search_index th.th5 {
    width: 11%;
}

/* テーブル幅 解決率 */
table.search_index th.th6 {
    width: 12%;
}

/* テーブル幅 質問登録日時 */
table.search_index th.th7 {
    width: 13%;
}

/* テーブル幅 詳細 */
table.search_index th.th8 {
    width: 13%;
}


/**
 * 一般ユーザー用テーブル
 */
table.table_user {
    margin-top: 20px;
}

table.table_user th {
    font-size: 14px;
    white-space: nowrap;
}

/* テーブル幅 # */
table.table_user th.th1 {
    width: 5%;
}

/* テーブル幅 質問 */
table.table_user th.th2 {
    width: 24%;
}

/* テーブル幅 カテゴリ */
table.table_user th.th3 {
    width: 11%;
}

/* テーブル幅 グループ */
table.table_user th.th4 {
    width: 10%;
}

/* テーブル幅 質問登録者 */
table.table_user th.th5 {
    width: 10%;
}

/* テーブル幅 解決率 */
table.table_user th.th6 {
    width: 12%;
}

/* テーブル幅 質問登録日時 */
table.table_user th.th7 {
    width: 15%;
}

/* テーブル幅 詳細 */
table.table_user th.th8 {
    width: 13%;
}

tbody tr.clickable:hover td {
    background: var(--theme-middle-color);
    cursor: pointer;
}


/**
 * Myrecord 用テーブル
 */

table.myrecord_index {

}
/* ID */
table.myrecord_index th.m_th1 {
    width: 7%;
}

/* 質問 */
table.myrecord_index th.m_th2 {
    width: 27%;
}

/* カテゴリ */
table.myrecord_index th.m_th3 {
    width: 15%;
}

/* グループ */
table.myrecord_index th.m_th4 {
    width: 15%;
}

/* 質問登録者 */
table.myrecord_index th.m_th5 {
    width: 12%;
}

/* 質問登録日時 */
table.myrecord_index th.m_th6 {
    width: 14%;
}

/* アクション */
table.myrecord_index th.m_th7 {
    width: 10%;
}

table.myrecord_index td i.icon {
    font-size: 1.5em;
}

/* MyRecordのScore用 */
.my_qa_score {
    margin-bottom: 1.5rem;
}
.my_qa_score .card-header {
    background-color: var(--theme-color);
    font-weight: bold;
    color: #FFF;
}

.my_qa_score .card-body {
    background-color: var(--theme-back-color);
    font-weight: bold;
    font-size: large;
    padding: 1.0rem;
}

.my_qa_score p {
    margin-bottom: 0;
}

/* 詳細テーブル */
table.detail th{
    width:  150px;
    color: #FFF;
    background-color: var(--theme-color);
    padding-top: 1.0rem;
    padding-bottom: 1.0rem;
}

/* お問い合わせテーブル */
table.contacts th{
    width:  150px;
    color: #FFF;
    background-color: var(--theme-color);
    padding-top: 1.0rem;
    padding-bottom: 1.0rem;
}


/* ボタン共通部分 */
.wrap {
    //padding: 20px;
    display: block;
    align-items: center;
    justify-content: center;
}

.button {
    /*width: 300px;*/
    //height: 55px;
    font-family: 'Roboto', sans-serif;
    //font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: bold;
    color: #696969;
    background-color: #fafafa;
    border: none;
    border-radius: 5px;
    box-shadow: 4px 6px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
}

.button:hover {
    background-color: var(--theme-color);
    box-shadow: 0px 15px 20px rgba(29, 49, 86, 0.4);
    color: #fff;
}
.button:hover i{
    color: #fff;
}
/* 2020/02/19 before
.wrap:hover {
    transform: translateY(-5px);
}
.wrap:hover .button {
    background-color: var(--theme-color);
    box-shadow: 0px 15px 20px rgba(29, 49, 86, 0.4);
    color: #fff;
    //transform: translateY(-7px);
}

 2020/02/19 before */
.button:disabled {
    cursor: default;
    background-color: #808080;
    color: #000;
    pointer-events: none;
}

/* ボタンAdmin画面部分*/
.wrap_admin {
    //padding: 20px;
    margin-top: 40px; 
    display: block;
}

.button_admin {
    width: 300px;
    height: 65px;
    font-size: 15px;
    text-align: left;
    padding-left: 30px;
}

.button_admin i {
    font-size: 22px;
    vertical-align: middle;
}

/* ボタンLogin画面部分 */
.button_login {
    width: 75px;
    height: 35px;
    font-size: 10px;
}

/* 検索画面ボタン */
.button_search {
    width: 80px;
    height: 40px;
    font-size: 12px;
    margin-left: 10px;
}   
.button_search i {
    font-size: 15px;
    vertical-align: middle;
}

/* QA承認画面ボタン */
.button_approve {
    width: 100px;
    height: 40px;
    font-size: 12px;
    margin-left: 10px;
}
.button_approve i {
    font-size: 15px;
    vertical-align: middle;
}

/* 解決ボタン 2022/03/09 デザイン変更のため追加 */
.button_vote {
    width: 80px;
    height: 40px;
    font-size: 15px;
    margin-left: 10px;
    color: black;
    border: solid 1.5px #233b6c;
}

/* 解決ボタン横にメッセージ表示 */
.text_detail {
    font-size: 16px;
    color: black;
}
