
/****************************************
           Content Layout
*****************************************/
/* common  */
#wrapper #sidebar-nav, #wrapper .main{
    padding-top: 90px!important;
}

#sidebar-nav .sidebar-scroll{
    padding-bottom:40px;
    height: calc(100vh - 84px);
    overflow: auto;
}
#sidebar-nav .sidebar-scroll::-webkit-scrollbar{
  display: none;
}

/*GoogleIcon*/
.material-icons.paging {
    position: relative;
    top: 7px;
}

.material-icons.paging {
    position: relative;
    top: 3px;
}

.material-icons.md-16 { font-size: 16px; }
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-22 { font-size: 22px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* title */
.navbar-default .brand {
    float: left;
    padding: 17px 18px;
    background-color: #fff;
}

.logo-size {
    width: 50px;
    height: auto;}

/*page title*/
.page-header {
    margin: 0 0 18px;
    border-bottom: 1px dotted #e2e2e2;
    padding-bottom: 5px;
    padding-top: 0px;
}

.page-header h1 {
    padding: 0;
    margin: 0 8px;
    font-size: 24px;
    font-weight: lighter;
    color: #2679b5;
}

/*main*/
.row-header {
    position: relative;
    min-height: 1px;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
    float: left;
}

/*modal-dialog*/
@media screen and (min-width: 769px) {
    .modal-dialog {
    width: 670px;
    }
}
@media screen and (min-width: 992px) {
    .modal-dialog {
    width: 900px;
    }
}

.modal-header {
    padding: 5px 15px 5px 15px;
}

/* スクロールバーが必ず表示されるように */
.modal-open .modal {
    overflow-y: scroll;
}

/* ※高さが無いとバック画面の方がホイールに反応するため */
.modal-dialog {
    min-height: 700px;
}

.modal-header h4 {
    font-weight:bold;
}

.modal-header .close {
    margin-top: 10px;
}

/*table*/
.table-header {
    background: #438eb9;
    color: #FFF;
    font-size: 14px;
    line-height: 38px;
    padding-left: 12px;
    margin-bottom: 1px;
    height: 55px;
}

tr.deleteRow, tr.deleteRow td {
    background-color: #ccc !important;
}

tr.recommendRow, tr.recommendRow td {
    background-color: #e9f57d !important;
}

.align-center, .center {
    text-align: center!important;
}

.dataTables_wrapper .row {
    margin: 0!important;
}

.dataTables_wrapper div.row {
    border-bottom: 1px solid #e0e0e0;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #EFF3F8;
}

/* ボタン */
.btn {
    display: inline-block;
    color: #FFF!important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25)!important;
    background-image: none!important;
    border: 5px solid #FFF;
    border-radius: 0;
    box-shadow: none!important;
    -webkit-transition: all ease .15s;
    -o-transition: all ease .15s;
    transition: all ease .15s;
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    position: relative;
}
.btn-sm {
    border-width: 4px;
    font-size: 13px;
    padding: 4px 9px;
    line-height: 1.39;
}
.btn-pink, .btn-pink:focus {
    background-color: #d6487e!important;
    border-color: #d6487e;
}

.btn-left {
    position: absolute;
    top: -5px;
    margin: 0 0 0 15px;
}

/* モーダルウィンドウ中のdatepickerのカレンダーに必須 */
.date-timepicker{z-index: 3151 !important;}

/* 円グラフ */
.panel_box{
    width: 372px;
    height: auto;
}

/* 円グラフ２ */
#system-load .percent{
    position: absolute;
    top: 50%;
    width: 372px;
    height: auto;
    text-align: center;
}
#system-load .percent:after {
      content: '%';
      margin-left: 0.1em;
      font-size: .8em;
 }

/* オーダーの画像サイズ */
.order_img{
    width: 80px;
    height: auto;
}

.panel-body20{
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* 稼働率・空席率の非表示 */
.occupancy-rate-view{
    display: none;
}

.note-color-red{
    color: crimson;
}

/* header内の店名リスト */
#navbar-menu .shop-name-list{
    padding: 28px 20px;
    width:200px;
}
#navbar-menu .shop-name-list select.keysingle{
    width:100%;
}

/* 必要事項 */
.require {
    color: red;
    font-weight: bold;
    font-size: 14px;
    padding-left: 3px;
}
/* 表示位置変更 */
.position-relative {
    position: relative;
    z-index: 1;
}

/*************************/
/***** チャート表示領域 ******/
/*************************/
.panel .panel-s-200{
    height: 200px;
}
.panel .panel-s-240{
    height: 240px;
}
.panel .panel-heading {
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
    min-height: 54px;
}
.panel .panel-heading-top1 {
    padding-top: 64px;
}
.panel .panel-heading-top2 {
    padding-top: 30px;
}

/* 日時の位置調整 */
.date-input {
    margin: 6px 0px 0px 7px;
}

/* 禁止時の色 */
.btn-grey {
    background-color: #868686;
}
.grey {
    color: #868686;
}

/*TOP*/
#top .panel {
    margin-bottom: 0px;
}
#top .panel .panel-heading .panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}
#top h1{
    float: left;
}
#top .panel .panel-heading {
    position: relative;
    padding-top: 16px;
}
#top .panel .panel-bottom {
    padding-bottom: 0px;
}
#top .panel .panel-body {
    padding-top: 0px;
    padding-bottom: 8px;
}
#top .panel .panel-body-2 {
    padding-top: 1px;
    padding-bottom: 1px;
}

.top-btn {
    border: 0px solid #FFF;
}

/* 円グラフ */
#top .panel_box{
    width: 250px;
    height: auto;
}

/* 伝票詳細 */
.border_line_bottom {
    border-bottom: dotted 1px #000;
}
.border_line_size {
    border-bottom: solid 2px #000;
}

.pos_payment_box_1 {
    position: relative;
    line-height: 36px;
    margin-bottom:16px;
}

.pos_payment_box_1 .order_date{
    margin:0px 1% 0px 0px;
    width: 32%;
    text-align: left;
}

.pos_payment_box_1 .slip {
    margin:0px 1%;
    width: 32%;
    text-align: left;
}

.pos_payment_box_1 .order_status {
    margin:0px 0px 0px 1%;
    width: 32%;
    text-align: left;
}

.pos_payment_box_2 {
    position: relative;
    height: 300px;
}

.pos_payment_box_2 .title {
    font-weight: bold;
    line-height: 36px;
}

.pos_payment_box_2 .scroll {
    position: relative;
    width: 100%;
    height: 250px;
    border-top: solid 2px #000;
    overflow-y: scroll;
}

.pos_payment_box_3 {
    position: relative;
}

.pos_payment_box_3 .title {
    font-weight: bold;
    line-height: 36px;
}

.pos_payment_box_3 .amount {
    font-size: 30px;
    line-height: 42px;
    text-align: right;
}

.input-icon {
    align-items: center;
    display: flex;
}
.input-icon input {
    margin-right: 4px;
}

.form-inline .form-group {
    display: flex;
    align-items: center;
}
.form-inline .form-group select {width:100%;}

/* radio */
.radio-wrapper {
    margin-right: 20px;
    width: 16%;
}
.radio-box{
    display: flex;
    align-items: center;
    margin: 4px 0px;
}
input[type="radio"] {
    position: relative;
    top: -4px;
    margin-right: 2px;
}

select.keysingle {
    padding:0px 8px;
    margin-right: 4px;
    margin-bottom: 4px;
    height: 32px;
    width: calc(50% - 4px);
    border-radius:4px;
}

.bg-lightblue{
    background: rgba(91, 192, 222, 0.2);
    padding: 0px 4px;
}

/* toggle */
.toggle-wapper input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}
.toggle-wapper label {
  width: 42px;
  height: 22px;
  background: #ccc;
  position: relative;
  display: inline-block;
  border-radius: 26px;
  transition: 0.4s;
  box-sizing: border-box;
  &:after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
  }
}
.toggle-wapper input:checked {
  +label{
    background-color: #4BD865;
    &:after{
      left: 20px;
    }
  }
}
.toggle-wapper p {
  margin-top: 50px;
  text-align: center;
  font-weight: bold;
}
.toggle-wapper .toggle-switch {
  position: relative;
  width: 75px;
  height: 42px;
  margin: auto;
}

/* form */
@media screen and (min-width: 769px) {
    .form-horizontal .form-group {
        display: flex;
        margin-left: 0px;
        align-items: center;
    }
}
.form-horizontal input, .form-horizontal select, .form-horizontal textarea {
    min-width: 240px;
    padding: 4px;
    border-radius: 4px;
    border:solid 1px #333;
}
.form-horizontal .control-label {
    padding-top: 7px;
    padding-bottom: 7px;
    background-color: #e2f0ff;
}
.toggle-wapper{
    padding-top:12px;
}
.form-horizontal input:read-only{
    background-color: #CCC;
}

@media screen and (max-width: 769px) {
    .form-horizontal .control-label {
    margin-left: 15px;
    }
}

/* help */
.help_window{
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px;
    color: #FFF;
    background-color: #676A6D;
    border-radius: 4px;
    -webkit-transform: translateX(calc(100% + 10px));
    transform: translateX(calc(100% + 10px));
    z-index: 100;
    font-size: 12px;
    text-align: left;
}

/*************************/
/* detections
/*************************/
#detections{
    /* common */
    .overlay{
        position: fixed;
        top:0px;
        left: 0px;
        width:100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.6);
    }

    /* layout */
    .detection_select select{
        margin-right:12px;
        padding:8px 12px;
        min-width:160px;
        border-radius: 4px;
    }
    .detection_select button{
        padding:8px 12px;
        border-radius: 4px;
        border:solid 1px #666;
    }
    .detection_select button:disabled{
        color:#999;
        background-color: #CCC;
    }

    .detections_error_list{
        margin:0;
        padding:0;
        width:640px;

        li{
            padding:8px 0px;
            border-top:dotted 1px #666;

            button{
                padding: 8px 24px;
                border-radius: 4px;
                border: solid 1px #666;
            }
        }
    }

    .detections_seat_status{
        width:640px;
        margin:20px 0px 40px;

        .detections_seat_status_box{
            width:100%;
            border:solid 1px #666;
            border-bottom:none;

            > div{
                padding:12px;
                border-right:solid 1px #666;
            }
            > div:first-child{
                font-weight: bold;
                width:200px;
                background-color:#EEE;
            }
            > div:last-child{
                width:480px;
                border-right:none;
            }

            .btn_fix{
                position: absolute;
                bottom: 10px;
                right: 12px;
            }
            .btn_show_detail{
                position: absolute;
                top:10px;
                right:12px;
            }
        }
        .detections_seat_status_box:last-child{

        }
        .detections_seat_status_box:last-child div{
            border-bottom:solid 1px #666;
        }
    }

    .detections_seat_monitor{
        position: relative;
        width:1720px;
        height: 1064px;
        zoom:0.45;

        .seat_mointor_overlay{
            position: absolute;
            top: 0px;
            left: 0px;
            width:100%;
            height: 100%;
            background-color: rgba(0,0,0,0.3);
        }
        .seat_mointor_overlay::after{
            position: absolute;
            top: 450px;
            color:#FFF;
            font-size: 80px;
            font-weight: bold;
            text-align: center;
            content:"モニターは操作できません。";
            width:100%;
            background-color:rgba(0,0,0,0.6);
        }
    }
    .detections_seat_monitor.style_1{
        width:800px;
        height:480px;
        zoom:1;

        .seat_mointor_overlay::after{
            position: absolute;
            top: 200px;
            color:#FFF;
            font-size: 48px;
            font-weight: bold;
            text-align: center;
            content:"モニターは操作できません。";
            width:100%;
            background-color:rgba(0,0,0,0.6);
        }
    }
    .detections_seat_monitor.style_2{
        width:1280px;
        height:720px;
        zoom:0.64;

        .seat_mointor_overlay::after{
            position: absolute;
            top: 340px;
            color:#FFF;
            font-size: 64px;
            font-weight: bold;
            text-align: center;
            content:"モニターは操作できません。";
            width:100%;
            background-color:rgba(0,0,0,0.6);
        }
    }

    /* subwindow */
    .detection_detail_subwindow{
        position: fixed;
        top:50%;
        left: 50%;
        padding:12px 20px;
        width:720px;
        min-height: 320px;
        background-color:#FFF;
        border:solid 2px #999;
        border-radius: 12px;
        overflow-y: auto;
        transform: translateY(-50%) translateX(-50%);

        .btn_subwindow_close{
            position: absolute;
            top:-12px;
            right:-12px;
            color:#000;
            text-align: center;
            width:32px;
            height:32px;
            background-color:#DDD;
            border:solid 1px #666;
            border-radius: 16px;
        }

        ul{
            margin: 20px 0;
            padding: 0;

            li{
                margin-bottom:12px;
                list-style: inside!important;
            }
        }
    }
}
