﻿@charset 'utf-8';

/**********************************************************************************
	全体
***********************************************************************************/
html {
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 10pt;
    overflow-y: auto;
}

body {
    margin: 0px;
}

.right {
    text-align: right !important;
}

.left {
    text-align: left !important;
}

.center {
    text-align: center !important;
}

/* ************************* */
/* 共通CSS                   */
/* ************************* */
div#main {
    top: 80px;
    left: 10px;
    right: 10px;
    font-family: 'メイリオ', Meiryo, sans-serif;
    font-size: 13px;
}

div#main_master {
    position: relative;
    margin: 20px 30px;
}

table.result-tbl,
div.data_table {
    margin-top: 25px;
}

    table.result-tbl tr.grdhed {
        display: table;
        margin-bottom: .5em;
        width: 100%;
    }

        table.result-tbl tr.grdhed td:last-child {
            text-align: right;
        }

div.header_pagename {
    white-space: nowrap;
    padding-left: 15px;
    font-size: 18px;
    font-weight: bold;
    background-color: #fff;
    color: #4b4b4b;
    position: relative;
    line-height: normal;
}

div.header_message {
    white-space: nowrap;
    padding: 3px 0 0 50px;
    font-size: 12px;
    background-color: #fff;
    color: #4b4b4b;
    position: fixed;
    position: relative;
}

span.required,
div.required {
    color: red;
    font-size: 14px;
}

label {
    font-weight: normal;
    margin-bottom: 0px;
}

div#myGrid {
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

div.button_group {
    display: table;
    margin: 1.0em 0;
}

    div.button_group div {
        display: table-cell;
        vertical-align: middle;
    }

        div.button_group div:last-child {
            padding-right: .2em;
            text-align: right;
        }

.btn {
    padding: 6px 15px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px white inset;
    -webkit-text-fill-color: #495057;
}

img.ui-datepicker-trigger {
    cursor: pointer;
    margin-left: 7px !important;
    vertical-align: middle;
}

.ui-widget {
    font-family: Verdana,Arial,sans-serif;
    font-size: 12px;
}

.counter {
    margin-right: 5px;
}

.counter-space {
    padding: 0 5px;
}

.space {
    padding: 0 2px;
}

/**********************************************************************************
	汎用クラス
***********************************************************************************/
/* 表示範囲からオーバーした文字を三点リーダに置き換える 要 width */
/* ※このクラスに幅を指定しないでください */
div.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

span.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
}

/* システム固有の画像アイコンを表示する */
/* 画像は別途 background-image で設定してください */
/* ※このクラスにbackground-imageを設定しないでください */
i.icon {
    display: inline-block;
    background-position: center center;
    background-repeat: no-repeat;
}

/* jQuery UI のダイアログに対し、スマートフォンでタップした際のハイライトを防止する */
.ui-dialog {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/**********************************************************************************
	共通ボタン
***********************************************************************************/
input[type="button"], input[type="image"] {
    outline: none;
}

input:disabled {
    cursor: default;
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger {
    background-color: white;
}

i.fa-trash-can,
i.fa-pen-to-square,
i.fa-download,
i.fa-file-lines,
i.fa-folder-open,
i.fa-rotate-left {
    font-size: 24px;
    vertical-align: bottom;
}

/**********************************************************************************
	共通インプット類
***********************************************************************************/
input[type="text"],
input[type="password"],
input[type="number"],
select {
    border-radius: 4px;
    font-size: 13px;
}

/* 「:read-only」はIEに対応していないのでclassを付ける */
.readonly {
    background-color: #eee;
}

input[type="text"].readonly,
input[type="password"].readonly,
input[type="number"].readonly {
    cursor: text;
}

select.readonly {
    cursor: default;
}

/**********************************************************************************
	共通テキストエリア
***********************************************************************************/
textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
}

/**********************************************************************************
	ファイルアップロードボタン
***********************************************************************************/
input.file {
    width: 24px;
    height: 24px;
    position: relative;
    text-align: right;
    -moz-opacity: 0;
    filter: alpha(opacity: 0);
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

/* error メッセージ */
div.error_msg {
    text-align: center;
    font-family: 'メイリオ', Meiryo, sans-serif;
    color: red;
    font-size: 15px;
    margin: 10px 0 0 0;
}

/**********************************************************************************
	ヘッダー
***********************************************************************************/
#header-logo {
    vertical-align: auto;
}

div.header {
    font-family: 'Helvetica', 'Arial', sans-serif !important;
    padding-top: 0px;
    top: 0px;
    height: 43px;
    width: 100%;
}

#menu_bar {
    top: 0px;
    position: fixed;
    z-index: 999;
}

div.menu {
    display: inline-block;
    background: url('../image/title_mark_menu.png') 8px 12px no-repeat #fff;
}

/**********************************************************************************
	検索テーブル
***********************************************************************************/
div.search_div {
    background-color: #fdeee9;
    border: 1px solid #ffd9c0;
    border-radius: 10px;
    padding: 10px;
}

    div.search_div table td {
        padding: 5px;
    }

        div.search_div table td.search_word {
            text-align: left;
            padding-right: 20px;
            color: #b43c11;
            font-weight: bold;
        }

        div.search_div table td.search_btn {
            text-align: right;
            padding-left: 30px;
        }

/**********************************************************************************
	共通テーブル
***********************************************************************************/
/*参照テーブル*/
table.ref_tbl {
    white-space: nowrap;
    border-collapse: collapse;
    margin-top: 5px;
}

    table.ref_tbl td {
        border-top: 1px solid #d7d5d4;
        border-bottom: 1px solid #d7d5d4;
        font-size: 13px;
        color: #333333;
    }

        table.ref_tbl td.fieldname {
            background-color: #efedec;
            padding: 8px 15px 8px 15px;
            font-weight: bold;
            color: #53504c;
        }

        table.ref_tbl td.content {
            padding-top: 5px;
            padding-right: 7px;
            padding-bottom: 5px;
            padding-left: 7px;
        }

        table.ref_tbl td.noboard {
            border: none;
            padding-bottom: 3px;
        }

/*追加・編集画面用テーブル*/
table.input-main {
    border-collapse: separate;
    border-spacing: 5px;
    width: auto;
}

    table.input-main th, table.input-main td {
        border-radius: 3px;
        padding: 5px 10px;
    }

    table.input-main th {
        background-color: #f9e5ed;
        color: #772953;
        min-width: 100px;
        border: none;
    }

/*グリッドテーブル*/
table.gridTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-radius: 7px;
    table-layout: fixed;
    word-wrap: break-word;
}

    table.gridTable tr.gridContents:hover td {
        background-color: #fff9c0;
    }

    table.gridTable tr:last-child td:first-child {
        border-radius: 0 0 0 3px;
    }

    table.gridTable tr:last-child td:last-child {
        border-radius: 0 0 3px 0;
    }

    table.gridTable th {
        text-align: center;
        color: #464340;
        background: #efedec;
        padding: 3px 0px;
        border: 1px solid #dfdcd9;
    }

        table.gridTable th a {
            color: #464340;
            text-decoration: underline;
            text-decoration-color: #f9ab91;
        }

        table.gridTable th:first-child {
            border-radius: 3px 0 0 0;
        }

        table.gridTable th:last-child {
            border-radius: 0 3px 0 0;
        }

    table.gridTable td {
        padding: 2px 5px;
        border: 1px solid #dfdcd9;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        table.gridTable td i.icon-enable:hover {
            opacity: 0.7;
        }

/*ページャー*/
tr.gridPager td {
    color: #464340;
    background: #efedec;
    padding: 2px;
    border: none;
}

    tr.gridPager td:last-child {
        border: none;
        text-align: right;
    }

tr.gridPager span {
    text-decoration: none;
    color: #464340;
    padding-left: 5px;
    padding-right: 5px;
    border: none;
}

tr.gridPager a {
    text-decoration: none;
    padding-left: 5px;
    padding-right: 5px;
    border: none;
}

    tr.gridPager a:hover {
        font-weight: bold;
        background: rgba(255,255,255,0.5);
        border-radius: 3px;
        border: none;
    }

/*リピーターテーブル*/
table.repeater_tbl .Header,
table.repeater_tbl .Header2,
table.repeater_tbl .Header3 {
    text-align: center;
    border: 1px solid #000000;
}

table.repeater_tbl th {
    height: 75px;
    border: 1px solid #000000;
}

table.repeater_tbl td {
    border: 1px solid #000000;
}

    table.repeater_tbl td.list_info {
        padding: 2px 5px;
    }

    table.repeater_tbl td.gragh_data {
        border-bottom: 1px solid #ddd;
    }

/**********************************************************************************
	jQuery-UI
***********************************************************************************/
/* モーダルダイアログ */
/*.ui-dialog-titlebar .dialogHelp {
    font-size: 0.75em;
    position: absolute;
    right: 30px;
}*/

/**********************************************************************************
	DATEPICKER
***********************************************************************************/
.ui-datepicker-sunday .ui-state-default {
    background-image: none;
    background-color: #FFF0F5;
}

.calendar {
    text-align: center;
}

/**********************************************************************************
	checkbox radio のdisabled の表示
***********************************************************************************/
input[type=radio], input[type=radio] + label, input[type=checkbox], input[type=checkbox] + label {
    cursor: pointer;
}

.main {
    text-align: left;
}

.show {
    display: block;
}
