﻿body {
    background-color: #deebf7;
    width: 100%;
    overflow-x: hidden;
}
.body-pc {
    background-color: #fff;
    width: 100%;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('../images/select_arrow.png') no-repeat right center;
    padding-right: 20px !important;
}
select::-ms-expand {
    display: none;
}

.container {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

@media all {
    .container {
        max-width: 100%;
    }
}

.must {
    background-color: #fff;
}
.data-error{
    color: #dc3545;
}

.fa-must{
    color:#ff0000;
    font-size:14px;
}

.ime_auto {
    ime-mode: auto;
}

.ime_active {
    ime-mode: active;
}

.ime_inactive {
    ime-mode: inactive;
}

.ime_disabled {
    ime-mode: disabled;
}

.no-border {
    border: 0!important;
}

.btn-view-link {
    color: #0a16f1!important;
    text-decoration: underline !important;
    cursor:pointer;
}

.btn-primary {
    background-color: #5b9bd5;
    border-color: #5b9bd5;
}

.form-control::-webkit-input-placeholder {
    color: #d9d9d9;
    opacity: 1;
}
.form-control::-moz-placeholder {
    color: #d9d9d9;
    opacity: 1;
}
.form-control:-ms-input-placeholder {
    color: #d9d9d9;
    opacity: 1;
}
.form-control::-ms-input-placeholder {
    color: #d9d9d9;
    opacity: 1;
}
.form-control::placeholder {
    color: #d9d9d9;
    opacity: 1;
}

.form-control:disabled,
.form-control.disabled,
.form-control[readonly]
{
    background: none;
    background-color: #d9d9d9;
    color: #000;
}
.form-control.form-label {
    background: none;
    background-color: #d9d9d9;
    color: #000;
}
select.form-control[readonly]:focus::-ms-value {
    color: #000;
    background-color: #d9d9d9;
}
.form-check-input{
    margin-top:0.2rem;
    zoom:120%;

}


/* login in */
.login-page {
    margin: 0 auto;
    height: 500px;
}

    .login-page .login-box {
        width: 100%;
        margin: 5% auto;
    }

        .login-page .login-box .login-box-body .form-group {
            width: 350px;
            margin: 0 auto;
            text-align: left;
            margin-top: 150px
        }

        .login-page .login-box .login-box-body .login-message {
            margin-top: 5px;
            padding-left: 15px;
        }

        .login-page .login-box .login-box-body .login-button {
            padding-left: 15px;
            padding-right: 15px;
            margin-top: 150px;
        }

@media (max-width:992px) {
    .login-page .login-box {
        width: 100%;
        margin: 5% auto;
        padding-top: 20px;
    }

        .login-page .login-box .login-box-body .form-group {
            width: 300px;
            margin: 0 auto;
            text-align: left;
            margin-top: 50px
        }

        .login-page .login-box .login-box-body .login-button {
            margin-top: 150px;
        }
}

/*logout*/
.logout-page .logout-box {
    text-align: center;
    background-color: transparent;
    width: 100%;
    height: 100px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/*navbar*/
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    padding: 0;
    z-index: 800;
}

.navbar .navbar-header {
    width: 100%;
    font-weight: bold;
    font-size: 20px;
    color: #000;
    height: 40px;
    line-height: 40px;
    background-color: #a9d18e;
    margin-left:0;
    margin-right:0;
}

.navbar .navbar-header .navbar-userinfo {
    font-size:16px;
    white-space:nowrap;
}

.navbar .navbar-header .navbar-title {
    font-size:20px;
    white-space:nowrap;
}
.navbar .bg-normal {
    background-color:#a9d18e;
}
.navbar .bg-manager {
    background-color:#9dc3e6;
}

/*menu page*/
.menu-page {
    margin: 0 auto;
    height: 350px;
    margin-top: 60px;
    z-index: 700;
}
.menu-page .bs-component{
    margin-top:5%;
}

.menu-page .menu-button{
    margin: 0 auto;
    width:100%;
    max-width:240px;
}

.menu-page .menu-button >button{
    margin-top:20%;
    margin-bottom:50px;
}
.menu-page .menu-button.menu-button-logout {
    margin-top:20%;
}

@media (orientation:portrait) and (max-width:992px) {
    .menu-page {
        height: 100%;
    }

    .menu-page .bs-component {
        margin-top: 25%;
    }

    .menu-page .menu-button {
        max-width: 50%;
    }

    .menu-page .menu-button > button {
        margin-bottom: 30px;
    }

    .menu-page .menu-button.menu-button-logout {
        margin-top: 50%;
    }

}

@media (orientation:landscape) and (max-width:992px) {
    .menu-page {
        height: 100%;
    }

    .menu-page .bs-component {
        margin-top: 3%;
    }

    .menu-page .menu-button {
        max-width: 75%;
    }

    .menu-page .menu-button > button {
        margin-bottom: 30px;
    }

    .menu-page .menu-button.menu-button-logout {
        margin-top: 10%;
    }
}

/* view page */
.view-section {
    display: block;
    margin-top: 10px;
    margin-left: -10px;
    margin-right: -10px;
    z-index: 750;
    border-bottom: 1px solid #9b9a9a;
    text-align: center;
    background-color: transparent;

}
@media (min-width:992px) {
    .view-section {
        background-color: #deebf7
    }
}
.view-fixed-top {
    margin-top: 40px;
    margin-left: 0.5px;
    margin-right: 0.5px;
}
.body-pc .view-fixed-top {
    margin-top: 40px;
    padding-top: 0px;
    margin-left: 15px;
    margin-right: 15px;
    overflow-x: hidden;
}

.view-fixed-bottom {
    position: fixed;
    left: 0;
    bottom: 0px;
    width: 100%;
    margin: 0 !important;
    /*padding: 0 !important;*/
    /*padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;*/
    padding:8px 15px !important;
}

.view-section-body {
    display: inline-block;
    width: 100%;
    overflow-x: hidden;
}

.view-section.view-collapse {
    background-color: #fff;
}

.view-section.view-collapse.view-show {
    background-color:  #deebf7;
}

.view-section.no-bottom-border {
    border-bottom: 0;
}

.view-section.has-border{
     border:  1px solid #9b9a9a;
}

.view-section.has-margin {
     margin:0px 5px 10px 5px;
}

.view-toolsbar {
    border: 0;
    position: fixed;
    display: inline-block;
    left: 0;
    top: 0;
    background-color: #deebf7;
    width: 100%;
    /*height: 100%;*/
    margin-top: 40px;
    margin-bottom: 0 !important;
    padding: 5px 5px 5px 0px;
    overflow: hidden;
}
.body-pc .view-toolsbar {
    background-color: #fff;
    padding: 5px 10px 5px 15px;
}
.view-toolsbar ul{
   padding-left:0;
   margin-bottom:0!important;
   height:100%;
}
.view-toolsbar ul li {
    list-style: none;
    float: left;
    text-align: left;
    padding: 0;
    margin: 0 5px;
    height: 30px;
    line-height: 30px;
    /*width:140px;*/
}
.view-toolsbar .caption {
    float: right;
    margin: 0 5px 0 0;
    padding: 0;
    height: 30px;
    line-height: 30px;
    white-space: normal;
    word-break: break-all;
    overflow: auto
}
@media (max-width:992px) {
    .view-toolsbar .caption {
        font-size: 14px;
        padding-left: 0;
    }
}

.view-toolsbar .title {
    margin: 0 0px 5px 15px;
    padding: 0;
    padding-left: 20px;
    font-size: 200%;
    font-weight: bold;
    background-color: #deebf7;
    color: #0a16f1;
    text-align: left;
}
@media (max-width:1200px) {
    .view-toolsbar .title {
        font-size: 150%;
    }
}

@media (max-width:992px) {
    .view-toolsbar .title {
        font-size: 100%;
        padding-left: 0;
    }
}

.view-buttonsbar {
    background-color: #deebf7;
    border:0;
    margin:15px 5px 10px 5px;
    padding-left:5px;
}
.body-pc .view-buttonsbar {
    background-color: #fff;
}

.view-section-header {
    display: inline-block;
    padding: 5px 1px;
    border-bottom: 3px solid #4472c4;
    width: 98%;
    vertical-align: middle;
    margin-bottom: 5px;
}

.view-section-header .title{
    font-size:20px;
    font-weight:bold;
}
.view-section-header .content {
    font-size: 18px;
    font-weight:normal;
    padding-top:5px;
    padding-left:100px;
}
@media (max-width:992px) {
    .view-section-header .title {
        font-size: 18px;
        font-weight: bold;
    }
    .view-section-header .content {
        font-size: 16px;
        font-weight: normal;
        padding-top: 2px;
        padding-left: 0px;
    }
}

.view-section-header .btn-collapse {
    font-family: fontAwesome;
    font-size: 18px;
    width: 32px;
    height: 30px;
    padding: 0;
    outline: none;
    border: none;
    box-shadow: none;
    background-color: #30add2;
}

.view-section-header .btn-collapse:hover,
.view-section-header .btn-collapse:active,
.view-section-header .btn-collapse:focus{
    outline: none;
    border: none;
    box-shadow: none;
    background-color: #30add2;
}

.view-section-header .btn-collapse:before {
    content: "\f0d8";
}

.view-section-header .btn-collapse.collapsed:before {
    content: "\f0d7";
}

.view-section .view-section-content {
    margin: 0 auto;
    margin-top:10px;
    padding-left: 15px;
    padding-right: 15px;
}

.view-section .view-section-content-header {
   position:fixed;
   background-color:#deebf7;
   left:0;
   top:40px;
   width:100%;
   padding-top:5px;
   z-index:750;
}
.view-section .view-section-content.view-section-content-list {
   z-index: 740;
}



.view-section .form-group {
    text-align: left;
    margin-bottom: 0.5rem;
}

@media (max-width:992px) {
    .view-section .form-group {
        margin-bottom: 0.3rem;
    }
}
.view-section.view-section-bottom {
    margin-bottom:65px;
}
.view-section.view-section-bottom2 {
    margin-bottom: 120px;
}

.view-section-footer {
    /*position:fixed;
    bottom:0;
    left:0;*/
    width: 100%;
    margin: 0;
    padding: 10px 15px 0px 15px;
    border-bottom: 0;
    background-color: #deebf7;
}

.body-pc .view-section-footer {
    background-color: #fff;
}

.view-section-footer button {
    max-width: 250px;
    margin:0 auto;
}

/*windows view*/
.view-section-w {
    margin-top: 0px;
    background-color: transparent;
    border: none;
}

.view-section-w .view-section-header {
    /*margin:0 15px 0 15px ;
    padding: 10px 0 0 0;*/
    margin:0 0 0 15px ;
    padding: 5px 15px 0 5px;
    border:none;
}

.view-section-w .view-section-content {
    margin: 0 auto;
    padding: 10px 5px 1px 5px;
    border: 1px solid #000;
    margin: 0 15px 5px 15px;
}
@media (min-width:992px) {
    .col-16 {
        -ms-flex: 0 0 16.67%;
        flex: 0 0 16.67%;
        max-width: 16.67%;
    }
    .col-20 {
        -ms-flex: 0 0 20.8%;
        flex: 0 0 20.8%;
        max-width: 20.8%;
    }
    .col-80 {
        -ms-flex: 0 0 79.2%;
        flex: 0 0 79.2%;
        max-width: 79.2%;
    }
    .view-section-w .col-w-45 {
        -ms-flex: 0 0 45%;
        flex: 0 0 45%;
        max-width: 45%;
    }
    .view-section-w .col-w-28 {
        -ms-flex: 0 0 28%;
        flex: 0 0 28%;
        max-width: 28%;
    }
   
    .view-section-w .col-w-16 {
        -ms-flex: 0 0 16%;
        flex: 0 0 16%;
        max-width: 16%;
    }
    .view-section-w .form-group-w {
        margin-left: 0px;
        margin-right: 0px;
    }

    .view-section-w .label-w {
        background-color: #deebf7;
        border-right: 5px solid #fff;
        padding-right:0;
    }
}
.view-section-content .title{
    font-weight:bold;
}

.view-section-selectshare {
    background-color: transparent;
}

.body-pc .view-section-selectshare {
    background-color: #deebf7;
}

/*input append*/
.input-group > :not(:last-child).form-control {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*calendar button*/
.input-group-append[data-toggle="datetimepicker"] .input-group-text {
    font-size: 26px;
    background-color: transparent;
    border:0;
    padding-left:5px;
}

/* numeric input*/
.spinner {
    width: 100px;
}

.spinner input {
    text-align: left;
    border-top-right-radius: 0px!important;
    border-bottom-right-radius: 0px!important;
}

.input-group-btn-vertical {
    position: relative;
    white-space: nowrap;
    /*width: 1%;*/
    vertical-align: middle;
    display: table-cell;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.input-group-btn-vertical > .btn {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-left: -1px;
    position: relative;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    font-size: 18px;
}

.input-group-btn-vertical i {
    position: absolute;
    top: 0;
    left: 4px;
}

/*frame-picture*/
.frame-picture .frame-picture-content {
    position: relative;
    display: inline-block;
    margin: 0 1px;
    width: 100px;
    height: 100px;
    border: 2px solid #000;
    text-align: center;
    vertical-align: middle;
    padding: 1px;
}
.frame-picture .frame-picture-load {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 1px;
    width: 100px;
    height: 100px;
    border: none;
    text-align: center;
    vertical-align: middle;
    padding: 1px;
}
.frame-picture .frame-picture-load .frame-picture-loadimg {
    position:absolute;
    top:25%;
    left:25%;
    vertical-align: middle;
    width: 50%;
    height: 50%;
}

@media (max-width:1400px) {
    .frame-picture .frame-picture-content {
        width: 75px;
        height: 75px;
    }
    .frame-picture .frame-picture-load {
        width: 75px;
        height: 75px;
    }
}
@media (max-width:992px) {
    .frame-picture .frame-picture-content {
        width: 60px;
        height: 60px;
    }
    .frame-picture .frame-picture-load {
        width: 60px;
        height: 60px;
    }
}
.frame-picture .frame-picture-content .frame-picture-img {
    display: inline-block;
    vertical-align: middle;
}
.frame-picture .frame-picture-content .bar {
    display: block;
    background: #ff0000;
    position: absolute;
    top: -2px;
    right: -2px;
    padding: 0;
    font-size: 18px;
    width: 20px;
    height: 20px;
    line-height: 1;
    color: #fff;
    border-radius: 0;
}
.frame-picture .frame-picture-content .take-picture {
    display: none;
}

.frame-picture .frame-picture-item.no-picture .frame-picture-content {
    background-image: url(../images/camera.png);
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    padding: 0;
    border: 2px solid #000;
}

.frame-picture .frame-picture-item.no-picture .frame-picture-content .take-picture {
    position:absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.frame-picture .frame-picture-item.no-picture .frame-picture-content .bar {
    display: none;
}

/* frame photo*/
.frame-photo {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: calc(145px + 0.75rem);
    border: 1px solid #ced4da;
    border-radius: .5rem;
    text-align: center;
    background-color: #fff;

}

.frame-photo-input {
    position: absolute;
    display: block;
    width: 100%;
    max-width: 100px;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.frame-photo .frame-photo-item {
    display: inline-block;
    margin: 8px auto;
    width: 140px;
    height: 140px;
    text-align: center;
}
.frame-photo .frame-photo-item .frame-photo-content {
    padding: 0;
    width: 140px;
    height: 140px;
    border: 2px solid #000;
}
.frame-photo .frame-photo-item .frame-photo-content .frame-photo-img {
    display: inline-block;
    vertical-align: middle;
    max-width:100%;
    max-height:100%;
}
.frame-photo .frame-photo-load {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 1px;
    width: 140px;
    height: 140px;
    border: none;
    text-align: center;
    vertical-align: middle;
    padding: 1px;
}

.frame-photo .frame-photo-load .frame-photo-loadimg {
    position: absolute;
    top: 25%;
    left: 25%;
    vertical-align: middle;
    width: 50%;
    height: 50%;
}
.frame-photo .frame-photo-item .frame-photo-content .bar {
    background: #ff0000;
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 0;
    font-size: 18px;
    width: 20px;
    height: 20px;
    line-height: 1;
    color: #fff;
    border-radius: 0;
}

/*.frame-photo .frame-photo-item.no-picture .frame-photo-content .frame-photo-img,*/
.frame-photo .frame-photo-item.no-picture .frame-photo-content .bar {
    display: none;
}



#display-info {
    display: none;
    color: #ffffff;
    margin-top: 150px;
    text-align: center;
}

#overlay-showPic {
    display:none;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 3001;
}

#display-picture {
    display: inline-block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    text-align: center;
    margin-top: 2%;
    max-width: 90%;
    max-height: 90%;
    z-index: 3001;
}

/*table */
.table-td-no-border tr td {
    border-left: none;
    border-right: none;
}
.td-graphic {
    padding: 5px !important;
    width:70px;
}

.table-w {
    width: 100%;
    border: 1px solid #000;
}

.table-w thead tr th{
    background-color: #bdd7ee!important;
    height:40px;
    line-height:40px;
}

.table-w tbody tr:nth-of-type(2n+1) {
    background-color: #fff !important;

}

.table-w tbody tr:nth-of-type(2n) {
    background-color: #ddebf7 !important;
}
.table-w tbody > tr > td {
    height: 35px;
    max-height: 35px;
    padding-top:0px;
    padding-bottom:0px;
}

/*div cycle*/
.div-cycle {
    border-radius: 50%;
}
.div-cycle-red {
    margin: 0 auto;
    border-radius: 50%;
    background-color: #ff0000;
    width: 65px;
    height: 65px;
    line-height: 65px;
    color: #fff;
    font-size:20px;
    font-weight: bold;
    text-align: center;
}
.div-cycle-green {
    margin: 0 auto;
    border-radius: 50%;
    background-color: #b1dfbb;
    width: 65px;
    height: 65px;
    line-height: 65px;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

/*scroll top plus*/
.top-scroll {
    margin:10px auto;
    float:right;
    cursor: pointer;
    opacity: 1;
    background-color: #ced4da;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    margin-right:60px;
}
@media (max-width:992px) {
    .top-scroll {
        margin: 5px auto;
        float: none;
    }
}
.top-scroll .fa{
    margin:0 auto;
    font-size:32px;
    color:#fff;
}


/*modal*/
.modal-dialog {
    width: 96%;
    max-width: 500px;
}

.modal-header {
    background-color: #3c8dbc;
    border-color: #3c8dbc;
    padding: 10px 15px;
}

.modal-header .modal-title {
    color: #fff;
}

.modal-header .close span {
    color: #fff;
}

.modal-body .modal-message {
    margin: 0 auto;
}

.modal-body .modal-message .fa {
    margin: 0 auto;
    padding: 0 5px;
    color: #3c8dbc;
    font-size: 32px;

}
.modal-footer {
    padding: 10px 15px;
}

/*エラーメッセ*/
/*.view-section-message{
}
.view-section-message .error-message-list {
}
*/
.view-section-message .error-message-list ul {
   color: #dc3545;
   text-align: left;
   margin-top:5px;
   margin-bottom:5px;
   padding-left:20px;
   padding-right:15px;
  
}

.error-message-item {
   background-color:#ffe3e7!important;
}

.success-message{
   margin-top:12px;
   color: #dc3545;
}
.body-pc .success-message {
    margin: 0 auto;
    margin-top: 12px;
    color: #dc3545;
    max-width: 160px;
}

/*エラー*/
.login-page .login-box .login-box-body .err-content {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
    width: 550px;
    padding:0 5px;
}
.login-page .login-box .login-box-body .err-content .err-message {
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top:80px;
    margin-bottom:20px;
}
.login-page .login-box .login-box-body .err-content .err-detail {
    margin: 0 auto;
    margin-bottom: 40px;
}
.login-page .login-box .login-box-body .err-content .err-other {
    margin: 0 auto;
    margin-bottom:40px;
}
.login-page .login-box .login-box-body .err-button {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 250px;
}
@media (max-width:992px) {
    .login-page .login-box .login-box-body .err-content {
        width: 100%;
    }
    .login-page .login-box .login-box-body .err-content .err-message {
        margin-top: 0;
    }
    .login-page .login-box .login-box-body .err-button {
        margin-top: 100px;
    }
}

/* print hide*/
@media print {
    html {
        -ms-overflow-style:none!important;
    }
    .view-fixed-top{
        margin-top: 0 !important;
    }
    .view-toolsbar {
        position: static;
        margin-top: 0 !important;
    }
    .view-toolsbar .title{
        font-size:120%;
    }
    .view-section-body {
        margin-top:0!important;
    }
    .view-section-bottom2 {
        margin-bottom: 0 !important;
    }
    .view-fixed-bottom {
        position: static;
        display:none;
    }
    .datetimepicker-input[data-valcolumn-for] {
        min-width: 135px !important;
    }
    .fa-calendar {
        display: none;
    }
    .form-label {
        padding-left: 5px;
        padding-right: 0px;
        height: auto;
        min-height: calc(1.5em + 2px + 0.75rem);
        word-break: break-all;
        word-wrap: break-word;
    }
    .form-label[data-column-for='D_HASSEI'],
    .form-label[data-column-for='D_ENTRY'] {
        display: inline-block;
        width:180px;
        white-space:nowrap; 
       
    }
    .form-control::-webkit-input-placeholder {
        color: transparent !important;
    }

    .form-control::-moz-placeholder {
        color: transparent !important;
    }

    .form-control:-ms-input-placeholder {
        color: transparent !important;
    }

    .form-control::-ms-input-placeholder {
        color: transparent !important;
    }
    .form-control::placeholder {
        color: transparent !important;
    }
}
