﻿body {
    padding-top: 70px;
    padding-bottom: 20px;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    /* bootstrapのベースフォントサイズが10pxなので、14pxを基準とするよう変更*/
    font-size: 140%
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;

}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 64px;
  background-color: #f5f5f5;
}
 
 
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
@-ms-viewport {
    width: auto;
}


.container {
  width: auto;
  max-width: 680px;
  padding: 0 15px;
}
.container .text-muted {
  margin: 20px 0;
}

.textOverflow {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}
@media(min-width:768px) {
    .navbar > .container .navbar-brand,
    .navbar > .container-fluid .navbar-brand {
        margin-left: 10px;
    }
}

.navbar-brand {
    background: url("../Images/cdbd_logo.png") no-repeat left center;
    background-size: contain;
    margin-top:10px;
    height: 30px;
    width:300px;
}
/*
    タブがらみの書式変更
*/
.nav-tabs > li > a {
    line-height: 1.0;
    border-color: #ccc;
    background-color: #f5f5f5;
}

.tab-pane  .row {
    margin-right: auto;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    background-color: #ffffff;
}

.tab-content {
    background-color: #ffffff;
}
.tab-content .main-tab {
    
}
.tab-content .sub-tab {
    padding: 20px;
    border-top: 0 solid transparent;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.alt-table {
    table-layout: fixed;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.table > tbody > tr > td {
    line-height: 1.0;
    vertical-align: top;
}
.table > thead > tr > th {
    line-height: 1.0;
    font-weight: normal;
    background-color: #eeeeee;
    vertical-align: central;
    white-space: nowrap;
}
.panel-body {
    padding-top: 10px;
}
.panel-body > h5.panel-title {
    margin-bottom: 10px;
}

table.dataTable,
table.dataTable th,
table.dataTable td {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.navbar-right {
    margin-right: 0;
}

.datetimerange-row {
    margin-top: 5px;
}
#datetimerange-table td{
    padding:1px 2px;
    white-space:nowrap;
}

.loading {
    position: absolute;
    background: url('../Images/loading.gif') no-repeat center white;
    opacity: 0.5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    vertical-align: middle;
    text-align: center;
    margin: 0 15px 20px;
    border: 1px solid whitesmoke;
    border-radius: 4px;
}
.error {
    position: absolute;
    background: rgba(255,255,255,0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    vertical-align: middle;
    text-align: center;
    display: none;
    margin: 0 15px 20px;
    border: 1px solid whitesmoke;
    border-radius: 4px;
}

.errorscreen {
    width: 100%;
    height:100%;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
    align-items: center; /* 縦方向中央揃え */
    -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
    justify-content: center; /* 横方向中央揃え */
}

    .errorscreen > p {
        padding: 5px;
        opacity: 1.0;
        background: rgb(128, 128, 128);
        border: 1px solid;
        border-radius: 4px;
        color: white;
    }

