﻿/**
    デザインの統一用CSS
*/

/*デフォルト上書き*/
h2, .h2 {
    font-size: 1.7rem;
}

h4, .h4 {
    font-size: 1.2rem;
}
/*コンテナの固定*/
/*.css-container {
    width: 1500px;
    margin-right: auto;
    padding-left: 25px;
}*/


/*フォームの1行分を囲う*/
.css-col-form-wrapper, .css-widelabel-form-wrapper, .css-narrrowlabel-form-wrapper {
    display: -webkit-flex;
    display: flex;
}

/*bootstrapの上書き　フォームのカラム部分につける*/
    .css-col-form-wrapper .col-form-label, .d-flex .col-form-label {
        position: relative;
        /*width: 170px;*/
        width: 150px;
        padding-right: 15px;
        padding-left: 15px;
    }


/*bootstrapの上書き　h5サイズのcol-form-label*/
    .css-col-form-wrapper .col-form-h5 {
        position: relative;
        /*width: 170px;*/
        width: 150px;
        padding-right: 15px;
        padding-left: 15px;
        font-size: 1.2rem;
    }


/*bootstrapの上書き　フォームのカラム部分につける(ラベル側の幅を広くとるとき)*/
.css-widelabel-form-wrapper .col-form-label {
    position: relative;
    width: 200px !important;
    padding-right: 15px;
    padding-left: 15px;
}

/*bootstrapの上書き　フォームのカラム部分につける(ラベル側の幅を狭くとるとき)*/
.css-narrrowlabel-form-wrapper .col-form-label {
    position: relative;
    width: 150px !important;
    padding-right: 15px;
    padding-left: 15px;
}

/*フォームのinput側につける*/
.css-col-form-main {
    -webkit-flex: 1;
    flex: 1;
}

/*フォーム全体を囲う（1カラムのとき）*/
.css-form-wrapper {
    max-width: 800px;
    width: 80%;
    min-width: 600px;
    padding: 2px;
}


/*フォーム全体を囲う（2カラムのとき*/
.css-form-wrapper-wide {
    max-width: 1220px;
    width: 100%;
    min-width: 600px;
    padding: 2px;
}
.col-form-check {
    width: 10px;
    margin-top: 9px;
}
/*--------------------------------------inputのサイズ設定--------------------------------*/
/*アップロード（デフォルト）*/
.custom-file {
    max-width: 400px;
}

/*日時（デフォルト）*/
input[type=text] {
    max-width: 400px;
}

    /*セレクトボックス（デフォルト）*/
    .css-col-form-wrapper select {
    width: auto;
}
/*日時（デフォルト）*/
input[type=datetime-local] {
    width: 175px;
}
/*日付（デフォルト）*/
input[type=date] {
    width: 140px;
}
/*時間（デフォルト）*/
input[type=time] {
    width: 140px;
}

/*テキストエリア（デフォルト）*/
textarea.form-control {
    height: 130px;
}
/*数字9桁（デフォルト）並び順*/
input[type=number],
input[data-val-number$=数値でなければいけません。] ,
.css-decimal{
    width: 105px;
}
/*数字1桁*/
/*小数点以下桁数*/
.css-DecimalDigit {
    width: 55px !important;
}

/*数字2桁*/
/*重み系*/
.css-Weight {
    width: 60px !important;
}
/*数字3桁*/
/*年齢系*/
.css-AgeValue {
    width: 65px !important;
}
/*数字4桁*/
/*月日*/
.css-MMDD {
    width: 70px !important;
}
/*数字5桁*/
/*受診番号*/
.css-ReceiptNo {
    width: 75px !important;
}

/*半角2文字*/
/*保険証個人識別番号,都道府県コード*/
 .css-InsurancePNo, .css-PrefectureCode {
    width: 40px;
}
/*半角5文字*/
/*労働時間など,TypeCodeは共通用*/
.css-WorkingMinutes, .css-TypeCode, .css-OvertimeMinutes {
    width: 60px;
}

/*半角7文字*/
/*医療機関番号、郵便番号*/
.css-MedicalInstitutionNo, .css-PostalCode {
    width: 75px;
}


/*半角8文字*/
/*健診項目コード、保険者番号、定性値*/
.css-KenshinItemCode, .css-InsurerCode, .css-QualitativeValue {
    width: 80px;
}


/*半角10文字*/
/*事業所コード、コメントコード、保険証記号、保険証番号、社員番号*/
.css-CompanyCode, .css-CommentCode, .css-InsuranceMark, .css-InsuranceNo, .css-EmployeeNo {
    width: 95px;
}


/*半角15文字*/
/*電話番号・Fax番号*/
.css-Tel, .css-Fax {
    width: 125px;
}

/*半角17文字*/
/*Jlac10コード*/
.css-Jlac10Code {
    width: 140px;
}

/*全角4文字*/
/*住所（都道府県）*/
.css-Address1 {
    width: 75px;
}

/*50文字*/
/*判定値*/
.css-JudgeValue {
    width: 625px;
}
/*--------------------------------------ボタン色設定--------------------------------*/
.btn.btn-success:hover,
.btn.btn-success:focus,
.btn.btn-success:active,
.btn.btn-success.active,
.open .dropdown-toggle.btn-success {
    background: #008a8a !important;
    border-color: #008a8a !important;
}
/*実行系のボタン*/（未使用）
.css-btn-execution {
    background-color: #6aabc4;
    color: white;
}

    .css-btn-execution:hover {
        background-color: #4e8ba3;
        color: white;
    }

/*登録系のボタン*/
.css-btn-submit {
    background-color: #002745;
    color: white;
}

    .css-btn-submit:hover {
        background-color: #003c69;
        color: white;
    }

/*削除・キャンセル系のボタン*/
.css-btn-cancel {
    background-color: #b6c2c9;
    color: white;
}

    .css-btn-cancel:hover {
        background-color: #929ba1;
        color: white;
    }

/*汎用系のボタン*/
.css-btn-func {
    background-color: #005a9f;
    color: white;
}

    .css-btn-func:hover {
        background-color: #003c69;
        color: white;
    }

/*検索系のボタン*/（js-btn-popup、js-btn-search-multiは未使用）
.js-btn-popup, .js-btn-search, .js-btn-search-multi {
    background-color: #49b6d6;
    color: white;
}

    .css-btn-popup:hover, .js-btn-search:hover {
        background-color: #3a92ab;
        color: white;
    }


.btn-primary {
    background-color: #348fe2;
    color: white;
}

    .btn-primary:hover {
        background-color: #2a72b5;
        color: white;
    }


/*別画面を画面下に表示するボタン*/
.css-btn-transition {
    /*background-color: #00acac;*/
    background-color: #d9d9d9;
    color: #565656;
}

    .css-btn-transition:hover {
        /*background-color: #008a8a;*/
        color: white;
    }

    .css-btn-transition.active {
        background-color: #5ab4bd;
        color: white;
    }

.css-btn-transition2 {
    background-color: #5ab4bd;
    color: white;
}

    .css-btn-transition2:hover {
        background-color: #5ab4bd;
        color: white;
        opacity: 0.75;
    }

/*出力系のボタン*/
.css-btn-output {
    background-color: #495057;
    color: white;
}

    .css-btn-output:hover {
        background-color: #6c757d;
        color: white;
    }


/*------------------------------------------------------------*/
/*ローディング画面*/

.js-overlay {
    /*オーバーレイのCSS*/
    position: fixed;                    
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #ffffff;
    top: 0;
    z-index: 1000;
    display: none;
    background: rgba(90, 86, 86, 0.56);
}

.css-loader,
.css-loader:before,
.css-loader:after {
    background: #ffffff;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

.css-loader {
    color: #ffffff;
    text-indent: -9999em;
    font-size: 15px;
    transform: translateZ(0);
    animation-delay: -0.16s;
    position: fixed;
    background: #ffffff;
    top: calc(50% - 50px/2);
    left: calc(50% - 50px/2);
}

    .css-loader:before,
    .css-loader:after {
        position: absolute;
        top: 0;
        content: '';
    }

    .css-loader:before {
        left: -1.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .css-loader:after {
        left: 1.5em;
    }


@keyframes load1 {
    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}


/*------------------------------------------------------------*/
/*個人情報詳細表示のフォント設定*/
.lead {
    font-size: 1.14rem;
    font-weight: 300;
}


/* 固定ヘッダー用（健診のご予約ページ） */
.css-fixed-header {
    position: fixed; /* ヘッダーを固定する */
    top: 0; /* 上部から配置の基準位置を決める */
    left: 0; /* 左から配置の基準位置を決める */
    width: 100%; /* ヘッダーの横幅を指定する */
    height: 35px; /* ヘッダーの高さを指定する */
    padding: 10px; /* ヘッダー内側の余白を指定する(上下左右) */
    background-color: #31a9ee; /* ヘッダーの背景色を指定する */
    color: #000000; /* ヘッダーのフォントの色を指定する */
}

/* 固定フッター用（健診のご予約ページ） */
.css-fixed-footer {
    position: fixed; /* フッターを固定する */
    bottom: 0; /* 上部から配置の基準位置を決める */
    left: 0; /* 左から配置の基準位置を決める */
    width: 100%; /* フッターの横幅を指定する */
    height: 35px; /* フッターの高さを指定する */
    padding: 10px; /* フッター内側の余白を指定する(上下左右) */
    background-color: #31a9ee; /* フッターの背景色を指定する */
    color: #FFFFFF; /* フッターのフォントの色を指定する */
    z-index: 10; /* フッタが上になるように高めに設定 */
}

/* 固定ヘッダー＆フッターあり　コンテンツ部分（健診のご予約ページ） */
.css-kenshinuser-contents {
    width: 100%; /* コンテンツの横幅を指定する */
    overflow: auto; /* コンテンツの表示を自動に設定（スクロール） */
}

/* 情報表示用ラベルの高さ設定 */
.css-label-for-display-height {
    height: 32px !important;
}
