/** W3C **/
body {
    position: relative;
    font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}
/* iOS Safariのモーダルダイアログでキーボードを閉じるとダイアログの縦スクロールができなくなる問題の対策 */
body.modal-open>.page-container {
  position: fixed;
  overflow: hidden;
}
h1 {
    margin: 0 auto 40px;
    max-width: 400px;
}
form {
    margin-top: 40px;
    margin-bottom: 40px;
}
table {
    font-size: 14px;
}
hr.margin {
    height: 40px;
    border: none;
}

/** Bootstrap **/
.navbar-brand {
    padding: 0 0 0 8px;
}
.navbar-brand img {
    height: 50px;
    margin-right: 40px;
}
.table-clickable tbody tr,
td.clickable {
    cursor: pointer;
}
.table-bordered th {
    background-color: #EEE;
}
.table-bordered th.bg-success {
    background-color: #dff0d8;
}
tr.text-center th,
tr.text-center td {
    text-align: center;
}
form.form-inline,
form.form-nomargin {
    margin-top: 0;
    margin-bottom: 0;
}
.form-control-static ul {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
}
.panel_noframe {
    overflow: hidden;
    box-shadow: none;
    margin: 0 0 4px 0;
    border: none;
}
.pagination {
    margin: 0;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}
body>.container,
body>.page-container>.container {
    padding: 0px 15px 80px;
}
.container.flash {
    padding-bottom: 0;
}
.container .text-muted {
    margin: 20px 0;
}
.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}
.has-error .help-block {
    color: #737373;
}
.help-block.text-info {
    color: #31708f;
}
.popover {
  max-width: 100%;
  font-size: 12px;
}
.popover table {
  font-size: 12px;
}
.text-danger {
    color: #FF0000;
}
.has-error .checkbox,
.has-error .checkbox-inline,
.has-error .control-label,
.has-error .help-block,
.has-error .radio,
.has-error .radio-inline,
.has-error.checkbox label,
.has-error.checkbox-inline label,
.has-error.radio label,
.has-error.radio-inline label {
    color: #FF0000;
}
.has-error .form-control {
    border-color: #FF0000;
}

.inline_subject {
}
.inline_subject h2 {
    border-left: 8px solid #CCC;
    padding: 4px 0 0 8px;
    font-size: 20px;
    margin: 0px 0 0 0;
    line-height: 24px;
    float: left;
    width: 150px;
}
.inline_subject .panel_add {
    float: right;
    margin: 5px 24px 0 0;
}
.inline_subject .panel_mail {
    float: right;
    margin: 2px 24px 0 0;
}
.inline_subject .panel_search {
    float: right;
}
.inline_subject .thumbnail {
    margin-bottom: 0;
}


/** Custom **/
.w80p {
    width: 80% !important;
}
.ml3em {
    margin-left: 3em;
}
.height3em {
    height: 3em;
}
span.required {
    color: #FF0000;
    margin-left: 0.5em;
    position: absolute;
}
.mynumber_list li.show_number > span.name,
.mynumber_list li > span.number {
    display: none;
}
.mynumber_list li.show_number > span.number {
    display: block;
}
.mynumber_list li {
    color: #777;
    background-color: #EEE;
    border: 1px solid #DDD;
}
.mynumber_list li.show_number {
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
}
.form-wareki select {
    display: inline;
    width: 80px;
}
.form-wareki input {
    display: inline;
    width: 70px;
}
.mynumber_status_2 {
    color: #0000C0;
}
.mynumber_status_5 {
    color: #C00000;
}
#inquiry_mail .panel,
#reminder_mail .panel,
#individual_mail .panel {
    font-size: 11px;
    overflow: auto;
    margin: 4px 8px 8px;
    box-shadow: 2px 2px 8px #CCC;
}
#inquiry_mail em,
#reminder_mail em,
#individual_mail em {
    background-color: #EEE;
    padding: 0 4px;
}
.select_all.disabled {
    opacity: 0.5;
}
.table>thead>tr>th.vertical_middle {
    vertical-align: middle;
}
.userpolicy {
    white-space: pre-wrap;
    width: 100%;
    border: 1px solid #CCC;
    padding: 0px 8px;
    overflow: auto;
    height: 200px;
    border-radius: 4px;
}
#company_list ul {
    margin-bottom: 0;
}
#menu_employees.dropdown-menu>.disabled>a,
#menu_employees.dropdown-menu>.disabled>a:focus,
#menu_employees.dropdown-menu>.disabled>a:hover {
    color: #CCC;
}