/* ================================================== */
/* 前プロジェクトから引き継いだもの（未精査） */
/* ================================================== */
/* 登録・編集画面 */
.button_area {
    text-align: right;
    margin: 15px 0px 30px 0;
}

.button_area .btn {
    margin: 0px 5px;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

@media (min-width: 375px){
    .button_area .btn {
        width: 100px;
    }
}

@media (max-width: 374px){
    .status_change_button .btn {
        font-size: 13px;
        padding: 3px 6px;
    }
}

.form-group .label {
    margin-left: 5px;
}

.red-placeholder::-webkit-input-placeholder {
    color: #ff6f6f;
}
.red-placeholder:-ms-input-placeholder {
    color: #ff6f6f;
}
.red-placeholder::-moz-placeholder {
    color: #ff6f6f;
}
.red-placeholder::-placeholder {
    color: #ff6f6f;
}

.checklist {
    list-style: none;
    padding: 0;
}
.checklist li {
    border-top: 1px solid #aaa;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.checklist li:first-child {
    border-top: none;
}

/* 一覧画面 */
.table>tbody>tr>td{
  vertical-align: middle;
}
.table td {
    text-align: left;
}
tr.clickable {
    cursor: pointer;
}
td.clickable {
    cursor: pointer;
}

.status_change_button {
    height: 45px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: double 3px #666666;
}

.accordion-btn input[type="checkbox"] {
    display: none;
}
.accordion-btn label:after {
    content: "▼";
}
.accordion-btn input:checked + label:after {
    content: "▲";
}

.search-form {
    padding-right: 10px;
    text-align: right;
}
.clearfix:after{
    content: "";
    clear: both;
    display: block;
}
.search-form button {
    width: 100px;
    margin-left: 10px;
}

.radius-none {
    border-radius: 0!important;
    margin-bottom: -1px!important;
}

.checkbox-all input#chk_all {
    margin-top: 8px;
    margin-left: 8px;
}

input[type=checkbox], input[type=radio] {
    margin: 0px;
}

.chkbox {
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-appearance:none;
    vertical-align: middle;
    border: solid 1px #666666;
}
.chkbox:checked:before {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    margin: -5px 0 0 -5px;
    content: "";
    width: 10px;
    height: 10px;
    background-color:#000000;
}

.order_due_date {
    color: red;
    font-weight: bold;
}

.active{
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

/* チェックボックス */
label.checkbox {
    cursor       : pointer;
    position     : relative;
    padding-left : 25px;
    margin       : 5px 0px 5px 0px;
    overflow     : hidden;
    position     : relative;
    padding-left : 25px;
    display      : block;
    box-sizing   : border-box;
}
label.checkbox:before {
    content  : '';
    position : absolute;
    width    : 20px;
    height   : 20px;
    left     : 0px;
    top      : 25%;
    border   : 1px solid #B3B3B3;
    z-index  : 3;
}
label.checkbox:after {
    content           : '';
    position          : absolute;
    top               : 50%;
    left              : 6px;
    display           : block;
    margin-top        : -8px;
    width             : 8px;
    height            : 12px;
    border-right      : 3px solid #D65;
    border-bottom     : 3px solid #D65;
    transform         : rotate(45deg);
    -webkit-transform : rotate(45deg);
    -moz-transform    : rotate(45deg);
    z-index           : 1;
}
label.checkbox input[type="checkbox"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    position   : absolute;
    left       : -40px;
    top        : 25%;
    width      : 20px;
    height     : 20px;
    display    : block;
    box-shadow : 41px 0px #FFF;
    z-index    : 2;
    margin     : 0px;
    padding    : 0px;
}
label.checkbox input[type="checkbox"]:checked {
    box-shadow : none;
}
label.checkbox input[type="checkbox"]:checked:focus {
    box-shadow : 40px 0px #666;
    opacity    : 0.1;
}
label.checkbox input[type="checkbox"]:focus {
    box-shadow : 41px 0px #EEE;
}

/* ================================================== */
/* 出退勤管理システム */
/* ================================================== */
/* 共通 */
html {
    font-size: 1.1rem;
}

.table{
    margin-bottom: 4rem;
}
a:hover {
    text-decoration: none;
}

/* ログイン画面 */
.login_box {
    width: 360px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    padding: 30px;
}
@media (max-width: 768px){
    .login_box {
        width: 90%;
    }
}

.login_btn {
    padding-top: 20px;
}

.log_alert {
    left: 50%;
    -webkit-transform: translate(-50%,0%);
    -ms-transform: translate(-50%,0%);
    transform: translate(-50%,0%);
}

/* トップ */
#navbar-header a {
    color: white;
}

/* ナビゲーションバー */
.title_bar {
    color: rgb(34, 34, 34);
    font-size: 16px;
    padding: 0px 15px;
}

.title_bar_system_name {
    color: white;
}

    .title_bar_system_name:hover{
        color: white;
    }

/* サイドバー */
.sidebar-common {
    top: 41px;
    left: 0px;
    overflow-y: scroll;
    height: 100vh;
    width: 16.667%;
}

    .sidebar-common ul {
        line-height: 3;
    }


/* ホーム画面 */
#navbar-side a:link {
    color: black;
}

.nav-link {
    padding: 0px;
    color: black !important;
}
li.sidebar-header {
    border: 1px solid black;
    padding: 5px 0px;
    text-align: center;
    background-color: #ececec;
    display: block;
}

li.sidebar-item {
    /* border: 1px solid red; */
    padding: 5px 0px;
    text-align: center;
}


/* 登録ボタン */
.bottom-btn {
    background: rgba(33, 37, 41, 0.8);
    height: 6.5%;
}

/* QR読込画面 */
.bg-front {
    display: block;
    position: relative;
    z-index: 1;
}

    .bg-front:after {
        content: "";
        background-image: url("../img/background.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size:cover;
        opacity: 0.4;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;
    }

.bg-result_ok {
    background-color: #91ffff;
}

.bg-result_ng {
    background-color: #ff6f6f;
}

.btn_stamping_kbn {
    border-radius: 100px;
    color:#000;
    border-color:#000;
    outline: none;
}
    .btn_stamping_kbn:hover {
        outline: none;
    }

    .btn_stamping_kbn:active {
        background: none;
        border-radius: 100px;
        color:#000;
        border-color:#000;
        outline: none;
    }

.seleced-button {
    background: #8fc8f7;
    color:#000;
    border-color:#000;
    border-width: 5px;
}

    .seleced-button:hover {
        background: #8fc8f7;
        color:#000;
        border-color:#000;
        border-width: 5px;
        outline: none;
    }

.qr_info_txt_area {
    /* height: 100px;
    width : 100px; */
    height: 0vh;
    width : 0;
    border: 0;
    padding: 0;
    margin: 0;
}

/* ファイルアップロードボタン */
.btn_file_upload {
    padding: 10px 40px;
    color: #ffffff;
    cursor: pointer;
}

/********************************************
* ローディング画面
********************************************/
#overlay, #overlay-result, #overlay-ng {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    height:100%;
    display: none;
    background: rgba(0,0,0,0.6);
}
.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    /* width: 40px;
    height: 40px;
    border: 4px rgb(141, 177, 243) solid;
    border-top: 4px rgb(255, 255, 255) solid;
    border-radius: 50%; */
    /* animation: sp-anime 0.8s infinite linear; */
    /* background-image: url("../img/loading_img.png"); */

    animation-name: anim_s;
    transform: rotate(10deg);
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes anim_s {
    50% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(10deg);
    }
}



.spinner-text {
    /* color: white; */
}
@keyframes sp-anime {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}
.is-hide{
    display:none;
}

/********************************************
* 画像ポップアップ
********************************************/
.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .6s;
  }
  .popup.is-show {
    opacity: 1;
    visibility: visible;
  }
  .popup-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    max-width: 600px;
    padding: 50px;
    background-color: #fff;
    z-index: 2;
  }
  .popup-inner img {
    width: 75%;
  }
  .close-btn {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
  }
  .close-btn i {
    font-size: 20px;
    color: #333;
  }
  .black-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 1;
    cursor: pointer;
  }
