/*

Primary Style

*/

/* https://m2.material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=26C6DA&secondary.color=FFC107 */
:root {
    --main-color: #26c6da;
    --main-dark-color: #0095a8;
    --main-light-color: #6ff9ff;
    --main-font-color: #28364c;
    --header-bg-color: #efefef;
    --stripe-color: #f4f4f4;
    --accent-color: #ffc107;
    --accent-dark-color: #c79100;
    --accent-light-color: #fff350;
}


body {
    font-size: 16px;
    color: var(--main-font-color);
    background-color: #fff;
    /* Prevent horizontal Scrolling */
    height: 100vh;
    margin: 0;
}

p {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}


a {
    color: var(--main-font-color);
    text-decoration: none;
}

    a:hover {
        color: var(--main-dark-color);
    }

ul {
    list-style: none;
    padding-left: 0;
}

label {
    font-weight: normal;
}

.table th, .table td > label {
    font-weight: normal;
}

.fas {
    font-size: 1.6em;
    margin: 3px;
}

button .fas, label .fas, table .fas {
    font-size: 1em;
}

.user > .fas {
    font-size: 1em;
}

table .fa-file-pdf {
    font-size: 1.5em;
}

i .calendar-move {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 2em;
}

.error, .caution {
    display: block;
    color: crimson;
    font-size: 0.8em;
    /*font-weight: bold;*/
}

.noshow {
    background-color: #fbe7eb;
}

/* -----------------
  Header
  -------------------*/
div.header_container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 64px;
    border-bottom: 2px solid var(--main-color);
    line-height: 64px;
    padding: 0 70px;
    background-color: var(--header-bg-color);
}

.header-logo{
    cursor:pointer;
}
/*-----------------------------
 Main Stuff
 ------------------------------*/
div.main {
    position: relative;
    z-index: 0;
    overflow-y: auto;
    height: 100vh;
    padding-bottom: 20px;
    background-color: #ffffff;
    -webkit-overflow-scrolling: touch; 
    /*    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.7s;
    -moz-transition: -moz-transform 0.7s;
    transition: transform 0.7s;
    -webkit-transition-timing-function: cubic-bezier(0.91, 0.01, 0.6, 0.99);
    -moz-transition-timing-function: cubic-bezier(0.91, 0.01, 0.6, 0.99);
    transition-timing-function: cubic-bezier(0.91, 0.01, 0.6, 0.99);
*/
}

h1 {
    font-size: 20px;
    margin: 1em;
    padding: 1px 0 3px 10px;
    border-left: 10px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

h2 {
    font-size: 16px;
    margin: 1em 0;
    border-left: 10px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    padding: 5px 10px;
}

h3 {
    font-size: 20px;
    line-height: 1.5em;
    margin: 0;
}

div.main > p {
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

.with-underline {
    text-decoration: underline;
}

.table_b {
    background-color: var(--stripe-color) !important;
}

.select-label {
    line-height: 1.5em;
    margin: 5px
}
/* 注釈 */
.comment {
    font-size: 0.8em;
    font-weight: bold;
    color: rgba(0,0,0,.4);
    display: block;
}
.new_password{
    font-size:2em;
    line-height:1.5em;
    height:1.5em;
}
/* 売上一覧　カレンダー移動ボタン */
i .calendar-move {
    cursor: pointer;
}
    i .calendar-move:hover {
        color: var(--main-dark-color);
        text-shadow: 0 0 3px var(--main-color);
    }

.table > thead > tr > td, .table > tbody > tr > th, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 6px 8px;
    line-height: 1.1;
}

/* -----------------
  jqgrid 上書き
  -------------------*/

.ui-jqgrid tr.jqgrow > td, .ui-jqgrid tr.jqgroup > td, .ui-jqgrid tr.jqfoot > td {
    padding: 3px 5px;
}
/* -----------------
  bootstrap 上書き
  -------------------*/
.form-control {
    height: 28px;
    padding: 3px 12px;
    font-size: 14px;
    line-height: 1.1;
}

select.form-control {
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
    appearance: menulist;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: var(--main-color);
    outline: none !important;
    box-shadow: 0 0 5px 0 var(--main-color);
}

.btn.active:focus, .btn:active:focus {
    box-shadow: none; /* クリックしたときに出る青い枠を消す */
}

.btn-primary {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

    .btn-primary:hover, .btn-primary:active, .btn-primary:checked, .btn-primary:focus, .btn-primary:active:focus {
        color: #fff;
        background-color: var(--main-dark-color);
        border-color: var(--main-dark-color);
        box-shadow: 0 0 5px 0 var(--main-color);
        outline: none !important;
    }

    .btn-primary:disabled {
        color: #fff;
        background-color: #999;
        border-color: #999#999;
        outline: none !important;
        pointer-events: none;
    }

.btn-default {
    color: var(--main-dark-color);
    background-color: #fff;
    border-color: var(--main-dark-color);
}

    .btn-default:hover, .btn-default:active, .btn-default:checked, .btn-default:focus, .btn-default:active:focus {
        color: var(--main-color);
        border-color: var(--main-color);
        box-shadow: 0 0 5px 0 var(--main-color);
        background-color: #fff;
        outline: none !important;
    }

.btn-delete {
    color: crimson;
    background-color: #fff;
    border-color: crimson;
}

    .btn-delete:hover, .btn-delete:active, .btn-delete:checked, .btn-delete:focus, .btn-delete:active:focus {
        color: var(--accent-color);
        border-color: var(--accent-color);
        box-shadow: 0 0 5px 0 var(--accent-color);
        outline: none !important;
    }

.visited {
    color: inherit;
    border-color: inherit;
    background-color: inherit;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: 1px solid #dddddd;
    background: none;
    color: inherit;
}

/* -----------------
  ログイン画面 
  -------------------*/
.login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .login .login-box {
        border: 3px solid var(--main-color);
        background-color: var(--header-bg-color);
        height: 330px;
        padding: 30px;
        border-radius: 10px;
    }

        .login .login-box .title {
            display: flex;
            justify-content: space-between;
        }

        .login .login-box .body {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .login .login-box .line {
            background-color: var(--main-color);
            color: var(--main-color);
            height: 3px;
            border: none;
            margin: 0 0 20px 0
        }

/* -----------------------------
    表示データ属性
 -------------------------------*/
.text {
    text-align: left;
}

label.num {
    width: 100%;
    padding: 2px;
}

td.num, label.num, .number_text {
    text-align: right;
}

td.fixed {
    background-color: #fde5ef;
}
/* -----------------------------
    コンテナ
 -------------------------------*/
.content-container {
    margin: 0 20px;
}

.container-row {
    display: flex;
    flex-direction: row; /*左から右*/
    flex-wrap: wrap;
    align-items: flex-start;
}

.container-row-space {
    display: flex;
    flex-direction: row; /*左から右*/
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.container-row-space-between {
    display: flex;
    flex-direction: row; /*左から右*/
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.container-row-reverse {
    display: flex;
    flex-direction: row-reverse; /*右から左*/
    flex-wrap: wrap;
    align-items: flex-end;
}

.container-col {
    display: flex;
    flex-direction: column; /*上から下*/
    flex-wrap: wrap;
    align-items: flex-start;
}

.container-align-bottom {
    align-items: flex-end;
}

/* -----------------------------
    ボタンコンテナ
 -------------------------------*/
.button-container-right {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin: 0 10px;
}

    .button-container-right input {
        min-width: 100px;
        width: 180px;
        margin: 1px 5px;
    }

.button-container-left {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 10px;
}

    .button-container-left input {
        min-width: 100px;
        width: 180px;
        margin: 1px 5px;
    }

/* -----------------------------
    サマリーテーブル
 -------------------------------*/
.summary {
    width: auto;
}

    .summary thead {
        border-bottom: 1px solid #fff;
    }

    .summary th {
        background-color: var(--header-bg-color);
        border: 1px solid #fff;
        white-space: nowrap;
        min-width: 50px;
        width: 100px;
    }

    .summary td {
        border: 1px solid #ccc;
        padding: 10px;
    }
/* -----------------------------
    入力テーブル
 -------------------------------*/
.table > :not(:last-child) > :last-child > * {
    border-bottom: none;
}

.input-table {
    width: auto;
}

    .input-table th {
        background-color: var(--header-bg-color);
        border: 1px solid #fff;
        white-space: nowrap;
        min-width: 100px;
        width: 200px;
    }

    .input-table td {
        border: 1px solid #ccc;
        padding: 15px 10px;
    }

    .input-table textarea {
        height: calc( 1.3em * 5 );
        line-height: 1.3;
    }

.responsive-label {
    display: none;
}

/* -----------------------------
    ダイアログ
 -------------------------------*/
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.3);
    z-index: 1000;
}

/* -----------------------------
    表示中くるくる
 -------------------------------*/
.wait-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.1);
    z-index: 99999999998;
}

.spinner-box {
    display: inline-block;
    margin: 0 5px;
}

.circle-border {
    width: 20px;
    height: 20px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: transparent;
    background: linear-gradient(0deg, rgba(0,0,0,.1) 33%, rgba(0,0,0,1) 100%);
    animation: spin .8s linear 0s infinite;
}

.circle-core {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
}

.circle-border-fullscreen {
    position: fixed;
    top: 30%;
    left: 50%;
    width: 100px;
    height: 100px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid #666;
    border-top: 3px solid #eee;
    background: transparent;
    animation: spin .8s linear 0s infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* -----------------------------
    保存しましたラベル
 -------------------------------*/
#msg_save_complete {
    display: none;
    position: fixed;
    top: 10px;
    left: 50%;
}
#msg_save_complete_label {
/*    line-height: 1.5em;
    position: absolute;
    margin: 0 auto;*/
}
/* -----------------------------
    font-size
 -------------------------------*/
.fontsize_large {
    font-size: 2em;
}

.fontsize_large_emphasis {
    font-size: 2em;
    font-weight: bold;
}

.fontsize_semi_large {
    font-size: 1.2em;
}

.font_semi_large_emphasis {
    font-size: 1.2em;
    font-weight: bold;
}

.fontsize_semi_small {
    font-size: 0.9em;
}

/* -----------------------------
    - margin -
 -------------------------------*/
.mt0 {
    margin-top: 0 !important;
}

.mt5 {
    margin-top: 5px !important;
}

.mt10 {
    margin-top: 10px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt30 {
    margin-top: 30px !important;
}

.mt60 {
    margin-top: 60px !important;
}

.mt100 {
    margin-top: 100px !important;
}

.mt210 {
    margin-top: 210px !important;
}

.mb0 {
    margin-bottom: 0px !important;
}

.mb5 {
    margin-bottom: 5px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb25 {
    margin-bottom: 25px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.mb40 {
    margin-bottom: 40px !important;
}

.mb50 {
    margin-bottom: 50px !important;
}

.mb60 {
    margin-bottom: 60px !important;
}

.mb100 {
    margin-bottom: 100px !important;
}

.mb200 {
    margin-bottom: 200px !important;
}

.mb8em {
    margin-bottom: 8em !important;
}

.mb10em {
    margin-bottom: 10em !important;
}

.mb20em {
    margin-bottom: 20em !important;
}

.mb30em {
    margin-bottom: 30em !important;
}

.mb40em {
    margin-bottom: 40em !important;
}

.mb80em {
    margin-bottom: 80em !important;
}

.ml3 {
    margin-left: 3px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml20 {
    margin-left: 20px;
}

.ml25 {
    margin-left: 25px;
}

.ml30 {
    margin-left: 30px;
}

.ml40 {
    margin-left: 40px;
}

.ml50 {
    margin-left: 50px;
}

.ml80 {
    margin-left: 80px;
}

.mr3 {
    margin-right: 3px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px !important;
}

.pt10 {
    padding-top: 10px;
}

.pt20 {
    padding-top: 20px;
}

.pt30 {
    padding-top: 30px;
}

.pb0 {
    padding-bottom: 0px;
}

.pl10 {
    padding-left: 10px;
}

.pl20 {
    padding-left: 20px;
}

/* -----------------------------
    align
 -------------------------------*/
.fL {
    float: left;
}

.fR {
    float: right;
}

.tL {
    text-align: left !important;
}

.tR {
    text-align: right !important;
}

.tC {
    text-align: center;
    text-indent: 0em !important;
}

.vaB {
    vertical-align: bottom;
}



/* -----------------------------
   - width -
 -------------------------------*/
.wFull {
    width: 100%;
    height: auto;
}

.wHalf {
    width: 50%;
}

.wThird {
    width: 30%;
}

.wQuad {
    width: 25%;
    height: auto
}

.wQuint {
    width: 18%;
    height: auto
}

.wPer35 {
    width: 35%;
}

.wPer45 {
    width: 45%;
}

.wPer60 {
    width: 60%;
}

.wPer75 {
    width: 75%;
}

.wPer90 {
    width: 90% !important;
}

.w300px {
    width: 300px !important;
}

.w340px {
    width: 340px;
}

.w500px {
    width: 500px;
}

.w240px {
    width: 240px;
}

.w10px {
    min-width: 10px;
    width: 10px;
    max-width: 10px;
}

.w30px {
    min-width: 30px;
    max-width: 30px;
    width: 30px;
}

.w50px {
    width: 50px;
}

.w60px {
    width: 60px;
}

.w200px {
    min-width: 200px;
    width: 200px !important;
    max-width: 200px;
}

.w120px {
    min-width: 120px;
    width: .120px;
    max-width: .120px;
}

.w140px {
    min-width: 140px;
    width: 140px;
    max-width: 140px;
}

.w170px {
    min-width: 170px;
    width: 170px;
    max-width: 170px;
}

.w190px {
    min-width: 190px;
    width: 190px;
    max-width: 190px;
}

.w80px {
    min-width: 80px;
    width: 80px !important;
    max-width: 80px;
}

.w100px {
    min-width: 100px;
    width: 100px;
    max-width: 100px;
}

.w400px {
    width: 400px;
}

.w600px {
    width: 600px;
}

.wMin80 {
    min-width: 80px;
    width: 120px;
}

.wMin100 {
    min-width: 100px;
    width: 140px;
}

.wMin200 {
    min-width: 200px;
    width: 40%;
}

.wMin450 {
    min-width: 450px;
    width: 40%;
}

.wMax300 {
    max-width: 300px;
    min-width: 100px;
}

.wAuto {
    width: auto !important;
}

.hMin400 {
    min-height: 400px;
}

.w1000px {
    min-width: 1000px;
    width: 1000px;
    max-width: 1000px;
}

.ymd {
    min-width: 120px;
    width: 120px;
    max-width: 120px;
}

.time {
    min-width: 140px;
    width: 140px;
    max-width: 140px;
}

.wButton {
    min-width: 140px;
    width: 140px;
    max-width: 140px;
    height:34px;
}

/*------------------------
 Media Queries Mobile Devices
 --------------------------*/
/* スマートフォン */
@media only screen and (max-width: 599px) { /* (max-width: 785px){*/

    /* テーブルを縦並びにする */
    table.input-table {
        width: 100%;
        border: none;
    }

        table.input-table th {
            display: block;
            border-radius: 0 10px 0 0;
            margin-bottom: 0;
            margin-top: 5px;
            width: auto;
        }

        table.input-table td {
            display: block;
            border: 1px solid var(--header-bg-color);
            width: 100%;
            margin-top: 0;
            padding: 0;
            line-height: 1.5rem;
        }

            table.input-table td div {
                display: flex;
            }

        table.input-table thead {
            display: none;
        }

    .responsive-label {
        display: block;
        width: 200px;
        padding: 5px 10px;
        background-color: var(--stripe-color);
        border-radius: 5px;
        text-align: left;
        margin-right: 10px;
    }

    .w200px, .w300px, .w400px, .w500px, .w600px {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
    }

}

/* タブレット */
@media only screen and (max-width: 1024px) { /*(min-width: 786px){*/

    /* -----------------
        ログイン画面 
    -------------------*/
    .login {
        margin: 50px 5px 0 5px;
        justify-content: flex-start;
    }

    div.header_container {
        padding: 0 10px;
        padding-left:60px;
    }
        div.header_container #system_logo {
            display: none;
        }

        div.header_container #system_logo_mini {
            display: block;
        }

    div.div.main {
        padding: 250px 10%;
    }

        div.div.main > h1 {
            font-size: 2.6em;
        }

        div.div.main > p {
            font-size: 1.6em;
        }
    .responsive-div {
        width: 100%;
    }
        .responsive-div div.scroll {
            overflow-x: scroll;
        }
    .w1000px {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (min-width: 1025px) {
    /* 保存ボタン位置 */
    .button-container-right {
        /* margin: 0 300px;*/
    }
    div.header_container #system_logo {
        display: block;
    }

    div.header_container #system_logo_mini {
        display: none;
    }


}
