/*!
 * Start Bootstrap - SB Admin Bootstrap Admin Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

body {
    margin-top: 100px;
    background-color: #222;
}

.navbar-brand {
    color: #999!important;
    padding: 10px;
}

.navbar-brand:hover {
    color: #fff!important;
}

.navbar-dark {
    padding-top: 0;
    padding-bottom: 0;
    height: 50px;
    background: #222222;
}

@media(min-width:768px) {
    body {
        margin-top: 50px;
    }
}

#wrapper {
    padding-left: 0;
}

#page-wrapper {
    width: 100%;
    padding: 0;
    background-color: #fff;
}

.huge {
    font-size: 50px;
    line-height: normal;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 225px;
    }

    #page-wrapper {
        padding: 10px;
    }
}

/* Top Navigation */

.top-nav {
    padding: 0 15px;
}

.top-nav>li {
    display: inline-block;
    float: left;
}

.top-nav>li>a {
    padding: 15px 10px!important;
    line-height: 20px!important;
    color: #999!important;
    text-decoration: none;
}

.top-nav>li>a:hover,
.top-nav>li>a:focus,
.top-nav>.open>a,
.top-nav>.open>a:hover,
.top-nav>.open>a:focus {
    color: #fff;
    background-color: #000;
}

.top-nav>.open>.dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0,0,0,.15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.top-nav>.open>.dropdown-menu>li>a {
    white-space: nowrap;
    font-size: 13px;
    color: #000;
    text-decoration: none;
}

li.nav-item {
    margin: 0!important;
}

li.nav-item-elements {
    margin: 6px!important;
}

.nav-link-elements:hover,
.nav-link-elements:active,
.nav-link-elements:focus {
    color: rgba(0,0,0,.8)!important;
}

.nav-link:hover,
.nav-link:active,
.nav-link:focus {
    color: #fff!important;
}

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0,0,0,.15);
    padding: 3px 18px 3px 4px;
}

li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}

.media-heading {
    font-size: 16px;
}

.media-body>p {
    margin-bottom: 10px;
    white-space: normal;
}

.message-preview>p {
    margin-bottom: 10px;
}

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 185px;
}

/* Side Navigation */

@media(min-width:768px) {
    .side-nav {
        position: fixed;
        top: 50px;
        left: 225px;
        width: 225px;
        margin-left: -225px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #222;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }

    .side-nav>li>a {
        width: 225px;
    }

    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: #000 !important;
    }
}

.side-nav {
    border: none;
    border-radius: 0px;
}

.side-nav>li {
    border: none;
    background: #222222;
    padding: 0;
    border-radius: 0px;
}

.side-nav .list-group-item.active {
    background: #080808;
}

.side-nav>li>a {
    color: #999;
    width: 225px;
    position: relative;
    display: block;
    padding: 10px 15px;
}

.side-nav>li>a:hover,
.side-nav>li>a:focus,
.side-nav>li>a:active {
    text-decoration: none;
    color: #fff!important;
}

.side-nav>li>ul {
    padding: 0;
}

.side-nav>li>ul>li {
    background: #222;
    padding: 0px;
    border: none;
    border-radius: 0px;
}

.side-nav>li>ul>li>a {
    display: block;
    padding: 10px 15px 10px 38px;
    text-decoration: none;
    color: #999;
}

.side-nav>li>ul>li>a:hover {
    color: #fff;
}

/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Cards */

.huge {
    font-size: 40px;
}

.card-green {
    border-color: #5cb85c;
}

.card-green > .card-header {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.card-green > a {
    color: #5cb85c;
}

.card-green > a:hover {
    color: #3d8b3d;
}

.card-red {
    border-color: #d9534f;
}

.card-red > .card-header {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.card-red > a {
    color: #d9534f;
}

.card-red > a:hover {
    color: #b52b27;
}

.card-yellow {
    border-color: #f0ad4e;
}

.card-yellow > .card-header {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.card-yellow > a {
    color: #f0ad4e;
}

.card-yellow > a:hover {
    color: #df8a13;
}

.bg-white {
    background: #fff;
}

.buy-now {
    padding: 8px 12px;
}

/* Hint text */
table.table.tb_layout_edit tbody tr td p.hint {
    font-size: 0.75em;
    color: #828282;
    margin: 10px 0;
}    
.statistical-chart a{
    float: right;
    font-size: 12px;
}
.statistical-chart{
    position: relative;
    width: 50%;
}
.statistical-chart .title{
    font-size: 25px;
    margin: 30px;
}
.statistical-chart ul{
    list-style: none;
    overflow-y: auto;
    height: 150px;
    margin-bottom: 40px;
}
.statistical-chart ul li{
    border-bottom: solid 1px #CACACA;
    padding: 25px;
    font-size: 20px;
    color: #7C7C7C;
    text-decoration: none;
}
.statistical-chart ul li a:hover, .statistical-header-bottom ul li a:hover{
    color: #007bff;
}
.statistical-chart ul li a, .statistical-header-bottom ul li, .statistical-header-bottom ul li a{
    font-size: 20px;
    color: #7C7C7C;
    text-decoration: none;
}
.statistical-admin a{
    float: right;
    font-size: 12px;
}
.statistical-admin{
    position: relative;
    width: 50%;
}
.statistical-admin .title {
    font-weight: bold;
    background-color: #CCCCCC;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    border: 1px solid black;
}

.statistical-admin .title::before {
    content: '';
    position: absolute;
    left: 0; 
    margin-left: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 3px;
    background-color: black;
}
.statistical-admin ul{
    list-style: none;
    overflow-y: auto;
    height: 200px;
    margin-bottom: 40px;
}
.statistical-admin ul li{
    border-bottom: solid 1px #CACACA;
    padding: 7px;
    color: #7C7C7C;
    text-decoration: none;
}
.statistical-admin ul li a:hover, .statistical-header-bottom ul li a:hover{
    color: #007bff;
}
.statistical-admin ul li a, .statistical-header-bottom ul li, .statistical-header-bottom ul li a{
    font-size: 17px;
    color: #7C7C7C;
    text-decoration: none;
}
.link-to-export-page{
    position: absolute;
    bottom: 1px;
    right: 10px;
    background-color: #4169E1; /* ボタンの背景色 */
    padding: 5px; /* 内側の余白 */
    margin-bottom: 5px; /* 下の余白 */
    border-radius: 5px; /* 角丸 */
}
.link-to-export-page a{
    color: white;
    width: 120px; /* Example fixed width, adjust as needed */
    display: inline-block; /* To enforce width */
    text-align: center; /* To center the text */
}
.statistical-content{
    width: 30%;
    margin: 0 auto;
}
ul.content-top{
    list-style: none;
    overflow-y: auto;
    height: 350px;
}
ul.content-top li{
    border-bottom: solid 1px #CACACA;
    padding: 5px 5px 5px 0;
    position: relative;
}
a.button-export{
    float: right;
    border-radius: 5px;
    background: none rgb(255, 255, 255);
    border: 1px solid rgb(47, 177, 165);
    color: rgb(47, 177, 165);
    width: 50px;
    letter-spacing: 2px;
    line-height: 1;
    height: 25px;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    padding: 3px 8px;
    margin-left: 20px;
}
.button-export:hover{
    background: none rgb(0, 158, 176);
}
.content-bottom{
    display: grid;
    padding: 15px 35px;
}
.content-bottom a{
    font-size: 14px;
    color: rgb(47, 39, 37);
    line-height: 1;
    margin-bottom: 15px;
}
.statistical-header-top{
    position: relative;
    top: 10px;
    left: 70px;
}
.statistical-header-bottom{
    position: relative;
    top: 45px;
    left: 70px;
    margin-bottom: 60px;
}
.statistical-header-top .title{
    font-size: 26px;
    color: rgb(47, 39, 37);
    line-height: 1;
}
.statistical-header-bottom .title{
    font-weight: bold;
    background-color: #CCCCCC;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    border: 1px solid black;
}
.statistical-header-bottom .title::before {
    content: '';
    position: absolute;
    left: 0; 
    margin-left: 5px;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 3px;
    background-color: black;
}
#popup1 .modal-dialog, #popup2 .modal-dialog{
    max-width: 800px !important;
}
#popup1 .modal-dialog img{
    width: 100%;
}
.menu-footer{
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center; 
    padding: 40px;
}

.menu-footer div{
    font-weight: bold;
    color: rgb(51, 51, 51);
    line-height: 1.4;
    padding-top: 12.5px;
    cursor: pointer;
    margin-right: 80px;
}

.menu-footer a{
    font-weight: bold;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    background: black;
    border-radius: 5px;
    margin-right: 10px;
    width: 200px;
    height: 40px;
    text-align: center;
}
.list-job-item{
    display: flex;
}
.welcome-desc {
    color: #808080;
}
.alert-message {
    color: #000000;
    font-weight: bold;
    margin-left: 5px;
}

.alert-warning {
    background-color: #FFF3CD; 
    border-color: #FFECB5; 
    color: #8A6D3B;
    padding: 15px;
    border-radius: 0;
    margin-bottom: 20px; 
    display: flex;
    align-items: center;
}


.table-bordered {
    border: 1px solid #ddd; 
}

.table > tbody > tr > td {
    border: 1px solid #ddd;
    padding:0;
}
.list-item {
    list-style: none; 
    padding-left: 0;
    margin: 0; /* Remove default margin */
}

.list-item li {
    display: flex;
    border-bottom: 1px solid #CACACA;
    padding: 10px 0;
    padding-left: 0;
    margin: 0; /* Remove default margin */
}

.list-job-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.job-item-date {
    width: 150px;
    flex-shrink: 0;
    border-right: 1px solid #CACACA; 
    box-sizing: border-box;
}

.job-item {
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    border-right: 1px solid #CACACA;
    min-height: 20px;
    width: 130px;
}

.job-item:last-child {
    border-right: none;
}
.list-item li:nth-child(odd) {
    background-color: #FAF5F4;
}

.list-item li:nth-child(even) {
    background-color: #ffffff;
}

.list-statistical-item {
    border-left: 0.5px solid #CACACA; 
    border-right: 0.5px solid #CACACA; 
    border-top: none; 
    border-bottom:0.5px solid #CACACA;
}

.no-padding {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.button-export {
    margin-left: auto;
}
