/** 
 * System css style
 * This file contains common style for whole all pages of system
 */

body {
    font-family: "メイリオ", "Meiryo" !important;
    padding-top: 60px;
    overflow-y: scroll;
}

p.title {
    font-size: 16px;
}

.form-control {
    height: 29px;
    /* 34 -> 29 */
}

.table {
    margin-bottom: 5px;
}

.modal-body {
    padding-bottom: 0px;
    padding-top: 5px;
}

.form-group {
    margin-bottom: 10px;
}

.required:after {
    content: " *";
    color: red
}


/* Main navbar */

.navbar {
    min-height: 60px;
    background: #0062b7;
}

.navbar-bg-development {
    background: #33CCCC;
}

.navbar-bg-staging {
    background: #33CC33;
}

.navbar-bg-production {
    background: #0062b7;
}

.navbar-brand {
    min-height: 60px;
    font-weight: bold;
    font-size: 30px;
    line-height: 100%;
    color: #fff !important;
}

.navbar-text {
    margin: 0;
    padding: 15px;
    min-height: 60px;
    color: #fff !important;
    font-size: 20px;
}

a.navbar-brand:hover,
a.navbar-text:hover {
    text-shadow: 0 0 20px #edf8ff, 0 0 20px #edf8ff, 0 0 0.40px #edf8ff;
}

.navbar-brand-image {
    height: 40px;
    margin-top: -5px;
}


/* Page header */

.page-header {
    border-bottom: 1px solid #0062b7 !important;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-bottom: 0px;
}


/* Login panel */

.panel-login {
    background-color: #f5f5f5;
    box-shadow: 0px 0px 16px -5px #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
}


/* Menu panel */

.panel-menu {
    font-size: 130%;
    border: 1px solid #bce8f1;
}

.panel-menu .panel-heading {
    background: #d9edf7;
    color: #31708f;
}

.panel-menu .panel-title {
    font-weight: bold;
    color: inherit;
    font-size: inherit;
}

.panel-menu .list-group a:hover {
    background-color: #bce8f1;
}

.collapse-flag {
    float: right;
}


/* Table style */

.table-form th {
    background-color: #d9edf7;
    vertical-align: middle !important;
    width: 15%;
}

.table-form td {
    vertical-align: middle !important;
    width: 35%;
}

.table-form label {
    margin: 2.5px 0;
}

.table-form label {
    margin-right: 20px;
}

@media (min-width: 1200px) {
    .half-width {
        width: 50% !important;
    }
}

@media (max-width: 992px) {
    .half-width {
        width: 100% !important;
    }
}


/*---*/

.table-search-result {
    border: 1px solid #dfdfdf;
}

.table-search-result th,
.table-search-result td {
    white-space: nowrap;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
}

.table-search-result th {
    background-color: #f5f5f5;
    border-bottom: 2px double #ddd;
}

.table-search-result tr:hover {
    background-color: #f5f5f5 !important;
}

.table-search-result tr.selected {
    background-color: #d9edf7 !important;
}

.search-result-row {
    cursor: pointer;
}


/*---*/

.table-fee {
    table-layout: fixed;
    text-align: right;
}

.table-fee th,
.table-fee td[colspan]:first-child,
.table-fee td[rowspan]:first-child {
    text-align: center;
}


/*---*/

label[for] {
    font-weight: normal;
}

.table-inside {
    width: 100%;
}

.table-inside td,
.table-inside th {
    padding: 8px;
    line-height: inherit;
    vertical-align: top;
}

.table-inside td:first-child {
    width: 90px;
    min-width: 90px;
}

.table-inside td:nth-child(2) {
    width: auto;
}


/* Modal style */

.modal .modal-footer {
    background-color: #f5f5f5 !important;
    border-radius: 0 0 5px 5px;
    text-align: center;
}

.modal .loading {
    display: inline-block;
    line-height: 16px;
    background-image: url('../img/loading-sm.gif');
    background-repeat: no-repeat;
    padding-left: 18px;
}

@media (min-width: 1200px) {
    .modal-xl {
        width: 1100px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .modal-xl {
        width: 90% !important;
    }
}


/* Timepicker element */

#ui-datepicker-div {
    z-index: 9999 !important;
}


/* Autocomplete list element */

.ui-front {
    z-index: 99999 !important;
}

.ui-autocomplete-loading {
    background: url('../img/loading-sm.gif') no-repeat;
    background-position: right 10px center;
}


/* Display input as Label */

.label-faker {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-transition: none !important;
}


/* Increase height of file input */

input[type=file] {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}


/* Set background color for input-group-addon of bootstrap */

.input-group-addon {
    background-color: #eee !important;
}


/* 2017-02-07 #4087 Start */

body,
.btn,
.panel-title,
.form-control,
.input-group-addon {
    font-size: 12px;
}

h1,
h3 {
    font-size: 20px;
}

label {
    font-weight: normal;
}


/* header */

nav {
    min-height: 50px;
}

.navbar {
    margin-bottom: 10px;
    min-height: 50px;
}

.navbar-brand,
.navbar-text {
    min-height: 50px;
    padding-top: 10px;
    padding-bottom: 0px;
}

.alert {
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 10px;
}


/* title */

.page-header,
.container-fluid>p {
    margin-bottom: 5px;
}

h1 {
    line-height: 32px;
    margin-top: 5px;
    margin-bottom: 5px;
    min-height: 28px;
}


/* title group collapsed */

.panel {
    margin-bottom: 10px;
}

.panel-body {
    padding: 10px;
}

.panel-body p {
    margin-bottom: 5px;
}

.panel-primary>.panel-heading {
    padding: 5px 15px;
}


/* Table */

.table-form>thead>tr>th,
.table-form>tbody>tr>th,
.table-form>tfoot>tr>th,
.table-form>thead>tr>td,
.table-form>tbody>tr>td,
.table-form>tfoot>tr>td,
.table-form-search>thead>tr>th,
.table-form-search>tbody>tr>th,
.table-form-search>tfoot>tr>th,
.table-form-search>thead>tr>td,
.table-form-search>tbody>tr>td,
.table-form-search>tfoot>tr>td,
.table-search-result>thead>tr>th,
.table-search-result>tbody>tr>th,
.table-search-result>tfoot>tr>th,
.table-search-result>thead>tr>td,
.table-search-result>tbody>tr>td,
.table-search-result>tfoot>tr>td {
    padding: 7px 8px 5px 8px;
    vertical-align: middle;
}


/* Table search */

.table-form-search {
    margin-bottom: 10px;
}

.table-form-search:last-child {
    margin-bottom: 0;
}

.table-form-search th,
.table-form-summary th {
    background-color: #d9edf7;
    vertical-align: middle !important;
    width: 10%;
}

.table-form-search td {
    vertical-align: middle !important;
    width: 23.3%;
}

.table-form-search label {
    margin: 2.5px 0;
}

.table-form-search label {
    margin-right: 20px;
}


/* Table search result */

.table-search-result {
    margin-bottom: 0px;
}


/* button footer */

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

.modal-footer {
    margin-top: 10px;
}

.panel-footer {
    padding: 5px 15px;
}

.JCLRgrip {
    margin-left: -2px!important;
}

.JCLRLastGrip .JColResizer {
    width: 2px !important;
}

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


/* 2017-02-07 #4087 End */


/* 2017-02-20 #4296 Start*/

.table-form h6 {
    margin-bottom: 2px;
}


/* 2017-02-20 #4296 End*/

@media (min-width: 1900px) {
    .modal-xxl {
        width: 1630px !important;
    }
}

@media (min-width: 768px) and (max-width: 1899px) {
    .modal-xxl {
        width: 90% !important;
    }
}


/* 2017-08-04 Start */

.inline-checkbox,
.inline-checkbox {
    position: relative;
    display: inline-block;
    padding-left: 15px;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
}

.inline-fee-checkbox,
.inline-fee-checkbox {
    position: relative;
    display: inline-block;
    padding-left: 15px;
    margin-top: 20;
    margin-bottom: 20;
    font-weight: 400;
    vertical-align: middle;
}

.inline-checkbox input[type=checkbox],
.inline-checkbox input[type=radio] {
    position: absolute;
    margin-left: -15px;
    margin-top: 3px;
}


/* 2017-08-04 End */

#accident_outline {
    min-height: 60px;
    /* max-height: 100px !important; */
}

#mail_address_1 {
    min-height: 60px;
    /* max-height: 100px !important; */
}