/*
** Common
*/
.panel-heading,
nav,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.mb40 {
    margin-bottom: 40px !important;
}

.mb50 {
    margin-bottom: 50px !important;
}

.mr10 {
    margin-right: 10px !important;
}

.mr20 {
    margin-right: 20px !important;
}

.mr30 {
    margin-right: 30px !important;
}

.mr40 {
    margin-right: 40px !important;
}

.mr50 {
    margin-right: 50px !important;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cb:after {
    content: ".";
    display: block;
    height: 0;
    font-size:0;
    clear: both;
    visibility: hidden;
}

.pr {
    position: relative;
}

.tdu {
    text-decoration: underline;
}

/*
** Wrapper
*/
.container {
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        /* width: 1170px; */
    }
}

/*
** Grid
*/
.row {
    margin-left: 0px;
    margin-right: 0px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
    .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
    .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
    .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
    .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
    .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
    .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
    .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
    .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
    .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
    .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
    .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 0px;
    }
}

/*
** Nav
*/
#head-logo {
  margin: 0;
  margin-top: -3px;
  padding: 0;
  width: 100px;
  display: inline;
}

.ti-navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    background-color: #fff;
}

.ti-navbar a,
.ti-navbar a:visited {
    color: #777;
    text-decoration: none;
}

.ti-navbar a:hover {
    color: #5e5e5e;
    background-color: transparent;
    text-decoration: none;
}

.ti-navbar .dropdown-menu > li > a {
    color: #333;
}

.ti-navbar-header {
    padding-left: 5px;
    padding-right: 5px;
}

.ti-navbar-brand {
    float: left;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    height: 50px;
    margin-left: -15px;
}

.ti-navbar .ti-navbar-brand {
    color: #777;
}

.ti-navbar-nav {
    margin: 0;
    padding-left: 0;
    float: left;
    list-style: none;
    display: none;
}

.ti-navbar-right {
    float: right !important;
}

.ti-navbar-nav li {
    position: relative;
    display: block;
    float: left;
}

.ti-navbar-nav > li > a {
    position: relative;
    display: block;
    padding: 15px 10px;
    line-height: 20px;
}

.ti-navbar-nav > .open > a,
.ti-navbar-nav > .open > a:hover,
.ti-navbar-nav > .open > a:focus {
    background-color: #eee;
    color: #555;
}

#ti-nav-sp-bar {
    display: block;
    font-size: 30px;
    float: right;
    margin-top: 5px;
    margin-right: 5px;
}

#ti-nav-sp {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background-color: #fff;
    width: 75%;
    padding-left: 0;
}

#ti-nav-sp li {
    list-style: none;
    line-height: 1.2;
    font-size: 16px;
    padding: 10px 0 10px 10px;
    border-bottom: 1px solid #ddd;
}

#ti-nav-sp li a,
#ti-nav-sp li a:visited,
#ti-nav-sp li a:hover {
    display: block;
    color: #000;
    text-decoration: none;
}

.ti-nav-sp-sub {
    margin-top: 10px;
    margin-bottom: -10px;
    margin-left: 20px;
    padding-left: 0;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

#ti-nav-sp .ti-nav-sp-sub li:last-child {
    border-bottom: none;
}

#ti-modal-back {
    opacity: 0;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100;
    transform: scale(1);
    display: flex;
    background-color: rgba(0,0,0,0.5);
}

.ti-modal-opened {
    transform: scale(1) !important;
    opacity: 1 !important;
    z-index: 9997 !important;
}

#ti-modal-close {
    margin-top: 10px;
    margin-left: 20px;
    font-size: 3rem;
    color: #fff;
}

.ti-modal-target-right {
    z-index: -100;
    opacity: 0;
}

.ti-modal-target-opened {
    transform: scale(1) !important;
    opacity: 1 !important;
    z-index: 9998 !important;
}

.ti-modal-no-scroll {
    overflow: hidden;
}

@media screen and (min-width : 768px){
    .ti-navbar-nav {
        display: block;
    }

    .ti-navbar-header {
        padding-left: 0;
        padding-right: 0;
    }

    #ti-nav-sp-bar {
    display: none;
    }

    #ti-nav-sp {
        display: none;
    }
}

/*
** Panel
*/
.panel-body {
    padding: 8px;
}

.panel-heading h1,
.panel-heading h2,
.panel-heading h3,
.panel-heading h4 {
  font-size: 24px;
  margin: 5px 0;
}

@media screen and (min-width : 768px){
    .panel-body {
        padding: 15px;
    }
}

/*
** Button
*/
.button-area {
  text-align: center;
}

.button-area .btn {
  margin-right: 10px;
}

.btn-xs {
    margin-top: -4px;
    padding: 3px 10px;
    font-size: 14px;
    line-height: 1;
    border-radius: 3px;
}

.modal-footer .btn+.btn {
    margin-bottom: 0px;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

@media screen and (min-width : 768px){
}

@media print {
    .btn {
        display: none;
    }
}

/*
** Form
*/
.panel-body .form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
}

.form-horizontal .form-group .ti-checkbox {
    margin-left: 10px;
    padding: 0;
}

.form-horizontal .form-group .ti-checkbox .checkbox-inline {
    margin-left: 0;
    margin-right: 10px;
}

.form-control {
    font-size: 16px;
}

.ti-checkbox-in-table {
  margin: 0;
}

.checkbox-inline+.checkbox-inline,
.checkbox-inline {
  margin-left: 0;
  margin-right: 10px;
}

.ti-datepicker {
  width: 180px;
}

.ti-datetimepicker {
  width: 220px;
}

.table-form th {
}

.table-form-col-1 {
    width: 160px;
}

.table-form-col-2 {
    width: 160px;
}

.ti-date-sp,
.ti-datetime-sp {
    max-width: 200px;
    display: inline;
}

.ti-date-delte {
    margin-left: 10px;
}

.ti-checkboxes-check-all,
.ti-checkboxes-uncheck-all {
    display: block;
}

.ti-form-with-honorific {
    display: inline;
    width: 80%;
    margin-right: 5px;
}

@media screen and (min-width : 768px){
    .form-control {
        font-size: 14px;
    }

    .ti-checkboxes-check-all,
    .ti-checkboxes-uncheck-all {
        display: inline-block;
    }
}

/*
** Collapse
*/
.ti-collapse {
    cursor: pointer;
    margin-bottom: 10px;
    display: inline-block;
}

.ti-collapse-target {
    height: 0;
    overflow: hidden;
}

.ti-collapse-target-opened {
    height: auto;
}

/*
** Card
*/
.card {
    width: 100%;
    border: 1px solid #ddd;
    border-collapse: collapse;
    margin-bottom: 32px;
}

.card th,
.card td {
    padding: 5px;
    border: 1px solid #ddd;
}

.card th {
    background-color: #f9f9f9;
}

/*
** Div Table
*/
.ti-table {
    margin: 0;
    margin-bottom: 20px;
    padding: 0;
    width: 100%;
}

.ti-table-tr {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
}

.ti-table-tr .ti-table-tr {
    border: none;
    border-bottom: 1px solid #ddd;
}

.ti-table-tr .ti-table-tr-last {
    border: none;
}

.ti-table-tr-first,
.ti-table-tr .ti-table-tr-first {
    border-top: 1px solid #ddd;
}

.ti-table-th,
.ti-table-th-2,
.ti-table-td {
    margin: 0;
    padding: 8px;
    width: 100%;
    min-height: 32px;
    display: block;
    vertical-align: top;
}

.ti-table-th {
    font-weight: bold;
    border: none;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
}

.ti-table-th-group {
    border-bottom: none;
}

.ti-table-td {
    background-color: #fff;
}

.ti-table-span {
    padding: 0;
    margin-left: 5%;
    width: 95%;
    border-left: 1px solid #ddd;
}

@media screen and (min-width : 768px){
    .ti-table {
        width: 100%;
    }

    .ti-table-tr {
        width: 100%;
        display: table;
        border: none;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .ti-table-tr .ti-table-tr {
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .ti-table-tr .ti-table-tr-last {
        border: none;
    }

    .ti-table-tr-first {
        border-top: 1px solid #ddd;
    }

    .ti-table-th,
    .ti-table-th-2,
    .ti-table-td {
        width: auto;
        display: table-cell;
        border: none;
    }

    .ti-table-th {
        width: 175px;
        font-weight: bold;
        background-color: #f9f9f9;
        border-right: 1px solid #ddd;
    }

    .ti-table-th-2 {
        width: 350px;
    }

    .ti-table-td {
        background-color: #fff;
    }

    .ti-table-span {
        padding: 0;
        margin: 0;
        width: auto;
        border: none;
    }
}

/*
** Message
*/
.message-menu {
    margin-top: -4px;
    font-size: 20px;
    position: relative;
}

.message-menu-unread,
.message-menu-unread-sp,
.message-menu-unread-sp-menu {
    position: absolute;
    top: 8px;
    left: 24px;
    padding: 0px 2px;
    font-size: 10px;
    color: #fff;
    background-color: #f4645f;
    text-align: center;
    border-radius: 7px;
    min-width: 15px;
    max-width: 30px;
}

.message-menu-unread-sp {
    left: auto;
    right: 10px;
}

.message-menu-unread-sp-menu {
    position: static;
    font-size: 14px;
    margin-left: 10px;
    padding: 0px 6px;
    border-radius: 10px;
}

.message-index>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #ccc;
}

.table>thead>.message-index-row>th,
.table>tbody>.message-index-row>th,
.table>tfoot>.message-index-row>th,
.table>thead>.message-index-row>td,
.table>tbody>.message-index-row>td,
.table>tfoot>.message-index-row>td {
    border-top: 1px solid #ccc;
}

.message-index-row-read {
    background-color: #eee;
}

.message-area {
    margin-bottom: 15px;
}

.message-area:after {
    content: ".";
    display: block;
    height: 0;
    font-size:0;
    clear: both;
    visibility: hidden;
}

.message {
    width: 80%;
    margin-bottom: 5px;
    float: right;
}

.message-biz-admin {
    float: left;
}

.message-header {
    margin-left: 5px;
    margin-bottom: 2px;
    text-align: right;
}

.message-biz-admin .message-header {
    text-align: left;
}

.message-sender {
    text-decoration: underline;
}

.message-time {
    margin-left: 10px;
    font-size: 12px;
}

.message-body {
    padding: 5px 10px;
    background-color: #dbebc4;
    color: #000;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.message-biz-admin .message-body {
    background-color: #fce4d6;
}

.message-file {
    margin: 0 -10px;
    margin-top: 10px;
    padding: 5px 10px;
    border-top: 1px solid #ccc;
}

@media screen and (min-width : 768px){
    .message {
        width: 60%;
    }

    .message-menu-unread-sp {
        display: none;
    }
}
/*
** Other
*/
.with-unit {
  margin-right: 10px;
  width: 80px;
  text-align: right;
  float: left;
}

.unit-block {
  display: block;
  padding-top: 10px;
  padding-left: 10px;
  color: #737373;
}

.table-colored th {
  background-color: #f9f9f9;
  color: #000;
}

.normal-list {
  margin: 0;
  padding-left: 0;
  list-style:none;
}

.select-small {
  width: 180px
}

.total-amt {
  text-align: right;
  border: 1px solid #ccc;
  padding: 5px;
  margin-bottom: 10px;
}

.sys-tac {
    text-align: center;
}

.sys-tar {
    text-align: right;
}

.modal-header {
    text-align: center;
}

.modal-body {
    text-align: left;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    background-color: #ecf2fa;
}

.table-striped tbody tr.clickable:nth-of-type(odd):hover {
    background-color: #ecf2fa;
}

.need-process {
    font-size: 1.5rem;
    color: red;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
  75% { opacity: 0.0; }
}

.csv-download {
    text-align: right;
}

.edited {
    color: #f00;
}

.number-cell {
    text-align: right;
}

.alert-message {
    color: #a94442;
    font-weight: bold;
}

.status-hold {
    color: #ff0000;
    font-weight: bold;
}
