﻿/* 三菱電機標準CSSのオーバーライド */
@media print,screen and (min-width:768px) {
    body {
        line-height: 1.88;
        font-size: 0.8em;
    }

    #global_footer .function_nav li a {
        font-size: 1.25em;
    }

    #global_footer .copyright {
        height: 20px;
        font-size: 12px;
    }

    .t_head_top {
        background-color: #e4e9f3;
        font-weight: 700;
    }

    .t_head {
        /*background-color: #f1f4f9;*/
        background-color: #e4e9f3;
        font-weight: 700;
    }

    .column {
        display: inline-block;
    }

    .row {
        /*clear: both;*/
    }

    .header {
        border: 1px solid #d9d9d9;
        margin-bottom: 2em;
    }

        .header .title {
            background-color: #e4e9f3;
            font-weight: 700;
            padding: 5px;
        }

        .header .column {
            padding: 10px;
        }

        .header input, .header select {
            border: 1px solid #d9d9d9;
        }

    .button_area {
        background-color: #f2f2f2;
        margin-bottom: 2px;
    }

        .button_area .button, .header button {
            margin: 5px;
            padding: 10px;
            display: inline-block;
            background-color: #b31f1f;
            font-size: 100%;
            line-height: 1.1125;
            color: #fff;
            font-weight: 700;
            min-width: 8em;
            -webkit-transition: opacity .4s ease;
            transition: opacity .4s ease;
        }

            .button_area .button:hover, .header button:hover {
                cursor: pointer;
                text-decoration: none;
                opacity: .8;
            }

            .button_area button:disabled, .header button:disabled {
                pointer-events: none;
                color: gray;
                background-color: #f2f2f2;
            }


            .button_area .button .inner, .header button .inner {
                position: relative;
            }

                .button_area .button .inner:after, .header button .inner:after {
                    display: block;
                    position: absolute;
                    top: 50%;
                    left: -12px;
                    margin-top: -3px;
                    content: '';
                    border: 4px solid transparent;
                    border-left: 6px solid #fff;
                    z-index: 100;
                }

    div.dataTableWrapper {
        overflow: scroll;
        max-width: 1200px;
        height: 35vh;
        /* 以下不要なものは削除すること*/
        box-sizing: border-box;
        margin-bottom: 40px;
    }

    /* ヘッダ行固定設定　*/
    table.fixedHeader thead {
        overflow: hidden;
    }

        table.fixedHeader thead tr th {
            position: sticky;
            position: -webkit-sticky;
            top: 0;
            z-index: 1;
        }

    table.fixedHeader tbody tr td {
        overflow: hidden;
    }

    table.dataTable {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

        table.dataTable td, table.dataTable th {
            border: 1px solid #d9d9d9;
            display: table-cell;
        }

            table.dataTable td button {
                background-color: #b31f1f;
                /*font-size: 100%;*/
                color: #fff;
                font-weight: 400;
                -webkit-transition: opacity .4s ease;
                transition: opacity .4s ease;
                min-width: 3em;
            }

                table.dataTable td button:disabled {
                    pointer-events: none;
                    color: gray;
                    background-color: #f2f2f2;
                }

            table.dataTable td input:disabled {
                color: #000000;
                background-color: #f2f2f2;
                border: none;
            }

            table.dataTable td input, table.dataTable td select {
                border: 1px solid #cecece;
            }

    /* navigation */

    .subMenu {
        display: none;
    }

    .mainMenu:hover .subMenu {
        display: block;
        font-weight: 700;
        position: absolute;
        left: inherit;
        top: inherit;
        z-index: 1;
        width: 15vw;
        background-color: #f2f2f2;
        height: auto;
    }

    ul.subMenu li {
        line-height: 2.2em;
    }

        ul.subMenu li a {
            text-decoration: underline;
            text-decoration-color: #b31f1f;
        }

    .template {
        display: none;
    }

    /* モーダルダイアログ用設定 */
    .body-blackout {
        position: absolute;
        z-index: 1010;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.65);
        display: none;
    }

        .body-blackout.is-blacked-out {
            display: block;
        }

    .popup-modal {
        height: 80vh;
        width: 80vw;
        background-color: #fff;
        position: fixed;
        /*
  left: 50%;
  top: 50%;
  
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);

 -webkit-font-smoothing: subpixel-antialiased;
-webkit-transform: translateZ(0) scale(1.0, 1.0);
      */
        padding: 45px;
        opacity: 0;
        pointer-events: none;
        -webkit-transition: all 300ms ease-in-out;
        transition: all 300ms ease-in-out;
        z-index: 1011;
    }

        .popup-modal.is-visible {
            opacity: 1;
            pointer-events: auto;
        }

    i.popup-modal__close {
        position: absolute;
        font-size: 1.2rem;
        right: -10px;
        top: -10px;
        cursor: pointer;
    }

    .modal-footer {
        width: 100%;
        bottom: 0;
        position: absolute;
    }

    .popup-modal[data-popup-modal='sort-dialog'] div.select-container {
        height: 25vh;
        overflow-y: hidden;
    }

    .popup-modal[data-popup-modal='sort-dialog'] select.sortField {
        width: 20em;
        border: 1px solid black;
        line-height: 1.5em;
    }

    .popup-modal[data-popup-modal='sort-dialog'] select.sortMethod {
        width: 6em;
        margin-left: 2em;
        border: 1px solid black;
        line-height: 1.5em;
    }

    .popup-modal input, .popup-modal select {
        /*background-color: aliceblue;*/
        border: 1px solid black;
    }

    .popup-modal table td input, .popup-modal table td select {
        border: none;
        /*border: 1px solid black;*/
    }

    .popup-modal .modal-footer {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        margin-bottom: 2em;
        width: 50em;
    }

    .popup-modal button {
        background-color: #b31f1f;
        font-size: 100%;
        color: #fff;
        border: 1px solid black;
        width: 5em;
    }

    .nested {
        border: 2px solid red;
        background-color: #fff8dc;
    }

    /** DatePicker */
    .dpbody {
        width: 252px;
        border: 1px solid gray;
        overflow: hidden;
        cursor: default;
        display: none;
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: 1024;
        background-color: #ECF3FF;
        font: normal 10pt arial;
        box-shadow: 5px 5px 8px #888888;
    }

        .dpbody .title {
            width: 100%;
            border-bottom: 1px solid #cecece;
            background-color: #BEE296;
            font-weight: bold;
        }

            .dpbody .title div {
                display: inline-block;
                width: 25px;
                border-right: 1px solid #cecece;
                cursor: pointer;
                text-align: center;
                line-height: 24px;
                text-shadow: 2px 2px 8px #cecece;
            }

            .dpbody .title span {
                display: inline-block;
                width: 147px;
                text-align: center;
                border-right: 1px solid #cecece;
            }

            .dpbody .title div:hover {
                background-color: #83C837;
            }

        .dpbody .weekdays {
            border-bottom: 1px solid #cecece;
            margin: 0px;
            padding: 0px;
            background-color: #FFF1DD;
        }

            .dpbody .weekdays li {
                display: inline-block;
                width: 35px;
                text-align: center;
                border-right: 1px solid #cecece;
                line-height: 22px;
            }

        .dpbody .dp_days div {
            display: inline-block;
            width: 35px;
            border-right: 1px solid #cecece;
            border-bottom: 1px solid #cecece;
            text-align: center;
            cursor: pointer;
            color: #0F52EE;
            line-height: 22px;
            font-weight: bold;
        }

        .dpbody .dp_days span {
            display: inline-block;
            width: 35px;
            cursor: default;
            border-right: 1px solid #cecece;
            border-bottom: 1px solid #cecece;
            line-height: 22px;
        }

        .dpbody .dp_days div:hover {
            background-color: #F5F96A;
            color: black;
        }

    /* table in popup modal */
    .popup-modal table {
        border-collapse: separate;
        border-spacing: 0;
    }

    .popup-modal td, .popup-modal th {
        border: 1px solid #d9d9d9;
        display: table-cell;
    }

    .popup-modal table.fixedHeader thead tr th {
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        z-index: 1021;
    }

    input.invalid {
        background-color: pink;
    }

    select.invalid {
        background-color: pink;
    }

    div.error {
        display: none;
        position: absolute;
        top: 2em;
        left: 0;
        padding: .5em 1em .4em;
        background-color: #f66;
        border: 1px solid #f00;
        border-radius: 5px;
        color: #fff;
        z-index: 1;
    }

    footer {
        position: fixed;
        width: 100%;
        bottom: 0;
        padding-bottom: 1em;
        /* td固定表示2, th固定表示用3 */
        z-index: 4;
    }

    /*loading*/
    .loading .loading-overlay {
        background-color: #999999;
        opacity: 0.3;
        filter: alpha(opacity=30);
    }

    .loading .loading-holder {
        width: 100%;
    }

    .loading .loading-image {
        height: 50px;
        background-repeat: no-repeat;
        background-position: center center;
        background-image: url(/hijis/Assets/images/hglc-loading.gif);
    }

    .loading .loading-message {
        margin-top: 1em;
        font-size: 1.5em;
        text-align: center;
    }

    /** 社内使用項目 */
    div.private {
        display: none;
    }

    /* toggle header */
    .display_none {
        display: none;
    }

    .visibility_collapse {
        display: none;
    }

    div.header div.title {
        cursor: pointer;
    }

    input:disabled {
        color: #000000;
        background-color: #f2f2f2;
    }

    /* 固定列 */
    th.fixedColumn {
        top: 0;
        position: sticky;
        position: -webkit-sticky;
        /* 縦スクロール時thを上に配置 */
        z-index: 3;
        background-color: #e4e9f3;
    }

    td.fixedColumn {
        position: sticky;
        position: -webkit-sticky;
        /* 縦スクロール時tdを下に配置 */
        z-index: 2;
        background-color: #e4e9f3;
    }

    th.fixedColumnIE {
        background-color: #e4e9f3;
    }

    td.fixedColumnIE {
        background-color: #e4e9f3;
    }

    /* (IE11)PlaceHolder */
    :-ms-input-placeholder {
        color: #708090 !important;
    }

    #global_footer {
        height: 82px;
        padding-bottom: 0px;
    }
