@charset "utf-8";

/* ===== Base, Frame Style ============================== */
html {
    padding:0;
    margin:0;
    height:100%;
    font-size: 14px;
}

body {
    padding:0;
    margin:0;
    height:100%;
}
.main-inner {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
}

/* ===== Menu ===== */
nav.navbar {
    background-color: #c8dae7;
}
.navbar-brand {
    margin-right: 2rem;
}
#notification-icon {
    position: relative;
}

.has-new:before{
    content: "";
    position: absolute;
    background: #ff0000;
    height: 6px;
    width: 6px;
    left: 20px;
    text-align: center;
    border-radius: 50%;
    color: #ff0000;
}
.right-nav-string {
    padding-left: 5px;
}

/* ====== Main Contents ===== */
main.contents {
    margin-left: 145px;
}

/* ===== Title ===== */
.title {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #256da1;
    border-left: 4px solid #256da1;
    border-right: 4px solid #256da1;
    vertical-align: middle;
    width: 100%;
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

/* ===== Group box ===== */
.border-group {
    border-color: #256da1;
}

/* ===== Calender ===== */
.datepicker-days th.dow:first-child,
.datepicker-days td:first-child {
    color: #f00;
}
.datepicker-days th.dow:last-child,
.datepicker-days td:last-child {
    color: #00f;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: #c8dae7;
    color: #256da1;
}

/* ===== Tooltip ===== */
.tooltip-inner {
    background-color: #256da1;
}
.bs-tooltip-top .arrow::before {
    border-top-color: #256da1;
}
.bs-tooltip-right .arrow::before {
    border-right-color: #256da1;
}
.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #256da1;
}
.bs-tooltip-left .arrow::before {
    border-left-color: #256da1;
}

/* ===== Text ===== */
input[type="text"],textarea.form-control {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 4rem;
}

/* ===== Number ===== */
input[type="number"],textarea.form-control {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 4rem;
}

/* ===== Text ===== */
input[type="text"] {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 4rem;
}

/* ===== Password ===== */
input[type="password"] {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 8rem;
}

/* ===== Button ===== */
/* ----- type A ---- */
.btn-typeA {
    background-color:#256da1;
    border-color: #256da1;
    color:#FFF;
}

.btn-typeA:hover {
    background-color: #99b3d4;
    border-color: #99b3d4;
    color:#FFF;
}

.btn-typeA:disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

.btn-typeA.disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

/* ----- type B ---- */
.btn-typeB {
    background-color:#944e3b;
    border-color: #944e3b;
    color:#FFF;
}

.btn-typeB:hover {
    background-color: #c49c91;
    border-color: #c49c91;
    color:#FFF;
}

.btn-typeB:disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

.btn-typeB.disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

/* ===== Text ===== */
select, select.form-control {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 8rem;
}

/* ===== Place Holder ===== */
.form-control::placeholder{
    color: #ccc;
}

/* ===== Table ==== */
.table > thead > tr > th{
    border:1px solid #256da1;
    background-color: #c8dae7;
	text-align: center;
}
.table > tbody > tr > td{
    border:1px solid #256da1;
    overflow-x: hidden;
}
.table .table-striped > tbody > tr:nth-child(odd) td {
	background: #f0f7ff;
    overflow-x: hidden;
}

/* ===== Tab ===== */
.nav-tabs .nav-link.active {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.nav-tabs .nav-link.active:hover {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.nav-tabs .nav-link {
    border-color: #256da1 #256da1 #fff;
    text-decoration: none;
    color: #000;
}
.nav-tabs .nav-link:hover {
    background-color: #99b3d4;
    border-color: #256da1 #256da1 #fff;
    text-decoration: none;
    color: #000;
}

/* ===== Pagenation ===== */
.page-item.active .page-link {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.page-item.active .page-link:hover {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}

.page-item .page-link {
    border-color: #256da1;
    text-decoration: none;
    color: #000;
}
.page-item .page-link:hover {
    background-color: #99b3d4;
    border-color: #256da1;
    text-decoration: none;
    color: #000;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    position: relative;
    border-bottom: 1px solid #256da1;
    background-color: #c8dae7;
    min-height: 41px;
    line-height: 40px;
    padding: 0 12px 0 0;
}
.breadcrumbs.breadcrumbs-fixed {
    position: fixed;
    right: 0;
    left: 190px;
    top: 0;
    z-index: 1028;
}
.breadcrumb {
    list-style: none;
    background-color: transparent;
    display: inline-block;
    line-height: 24px;
    margin: 0 22px 0 12px;
    padding: 0;
    font-size: 1rem;
    color: #256da1;
    border-radius: 0;
}

/* ===== Card ==== */
.card-typeA {
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 1rem;
    border-color: #256da1;
}

.select2 {
    width: auto !important;
    border: solid 1px #256da1;
    border-radius: 2px;
}
.select2-container--bootstrap4 .select2-selection {
    border: none;
}

.table td.invalid {
    background-color: pink;
}

@media screen and (max-width:991px) {
    .right-nav-string {
        display: none;
    }
}

/* ===== Responsive ==== */
@media screen and (max-width:767px) {
    .navbar-nav.float-right {
        flex-direction: row;
    }
    .navbar-nav.float-right li {
        margin-left: 20px;
    }
}
