/* SB Admin 2 カスタマイズ */

#wrapper #content-wrapper {
 /* コンテンツの背景色 グレー->白 */
 background-color: #FFF;
 /* 最下部に余白追加 */
 padding-bottom: 50px;
 /* 長いドロップダウンが切れるため */
 overflow: visible;
}

#content {
 margin-bottom: 50px;
}

/* サイドバー収納時サブメニューをカレンダーの上面に */
.sidebar.toggled .nav-item .collapse {
 z-index: 999;
}

/* コンテンツの背景色 グレー->白 */
#wrapper #content-wrapper {
 background-color: #FFF;
}


/* ------------------------------- */
/* Text Color
/* ------------------------------- */

/* 全体の文字色を濃くする */
body, h1, h2, h3, h4, h5, h6, .table, .form-control {
 color: #4d5156;
}

/* Placeholderの文字色を薄くする */
.form-control::placeholder {
  color: #b7b9cc;
}
/* 旧Edge対応 */
.form-control::-ms-input-placeholder {
  color: #b7b9cc;
}
/* IE対応 */
.form-control:-ms-input-placeholder {
  color: #b7b9cc;
}

.btn-outline-secondary {
 color: #4d5156;
}

.text-black {
 color: #4d5156;
}


/* ------------------------------- */
/* Topbar
/* ------------------------------- */

.navbar {
 align-items: flex-start;
}

.topbar {
 height: auto;
 padding: 0 !important;
}

#topbar-nav {
 width: 100%;
}

/* Main */
#topbar-nav .main {
 display: flex;
 align-items: center;
 padding: 0 20px;
}

#topbar-nav .main .menu {
 display: flex;
 margin: 0;
 padding: 0;
 list-style: none;
}

#topbar-nav .main .menu li a {
 display: block;
 margin: 5px 3px 4px;
 padding: 5px 25px 3px;
 color: #FFF;
 text-decoration: none;
}

#topbar-nav .main .menu li a.active {
 height: 100%;
 margin: 5px 3px 0;
 color: #3a3b45;
 background-color: #FFF;
 border-radius: 5px 5px 0 0;
}

#topbar-nav .nav-item .nav-link {
 height: auto;
 padding: .5rem 1rem;
}

#topbar-nav .topbar-divider {
 height: 20px;
}

/* Sub */
#topbar-nav .sub {
 display: flex;
 align-items: center;
 padding: 5px 20px;
 list-style: none;
 border-bottom: 2px solid #858796;
 background-color: #FFF;
}

#topbar-nav .sub .tab-content .tab-pane > div > div > a {
 display: block;
 margin: 0 3px;
 padding: 5px 17px;
 color: #3a3b45;
 border-radius: 5px;
 text-decoration: none;
}

#topbar-nav .sub .tab-content .tab-pane > div > div > a:hover {
 background-color: #eaecf4;
}

#topbar-nav .sub .tab-content .tab-pane > div > div > a.active {
 color: #4e73df;
 font-weight: 600;
}

#topbar-nav .sub .tab-content hr {
 margin-top: 2px;
 margin-bottom: 0;
}

/* Help */
.help .dropdown-menu {
 width: 250px !important;
}


/* ------------------------------- */
/* Sidebar
/* ------------------------------- */

.sidebar-divider-sub {
 margin: 0.5rem 1rem;
 border-top: 1px solid #E5E5E5;
}


/* ------------------------------- */
/* Table
/* ------------------------------- */

/* 下余白削除 */
.table {
 margin-bottom: 0;
}

.table td,
.table th {
 padding: .3rem .4rem;
 font-size: 0.9rem;
 border: 1px solid #bbb;
 vertical-align: middle;
}

.table thead tr {
 background-color: #eee;
}

.table thead th {
 border-bottom: none;
}


/* ------------------------------- */
/* Form
/* ------------------------------- */

/* ラベルの下余白削除 */
label {
 margin-bottom: 2px;
}


/* エラー表示 */
.error {
 margin-top: 2px;
 color: red;
 font-size: 0.8rem;
 line-height: 1.4;
 width: auto;
}

/* IME制御 IE・FFのみ*/
.ime-on {
 ime-mode: active;
}

.ime-off {
 ime-mode: inactive;
}