html {
    font-size: 14px;
}

a {
    color: #355389;
}

a:hover {
    color: #3f689e;
}

.text-primary {
    color: #355389!important;
}

.bg-primary {
    background-color: #355389!important;
}

.btn-primary {
    background-color: #355389;
    border-color: #355389;
}

.btn-primary:hover {
    background-color: #5292c0;
    border-color: #5292c0;
}

.btn-primary:focus {
    background-color: #5292c0;
    border-color: #5292c0;
}

.btn-primary:active {
    background-color: #5292c0;
    border-color: #5292c0;
}

.btn-primary:disabled {
    background-color: #355389;
    border-color: #355389;
}

.btn-outline-primary {
    color: #355389;
    border-color: #355389;
}

.btn-outline-primary:hover {
    background-color: #355389;
    border-color: #355389;
}

.btn-outline-primary:focus {
    background-color: #355389;
    border-color: #355389;
    color: #fff;
}

.btn-outline-primary:active {
    background-color: #355389;
    border-color: #355389;
    color: #fff;
}

.btn-outline-primary:disabled {
    background-color: #355389;
    border-color: #355389;
}

.text-danger {
    color: #bd0e2b!important;
}

.bg-danger {
    background-color: #bd0e2b!important;
}

.btn-danger {
    background-color: #bd0e2b;
    border-color: #bd0e2b;
}

.btn-danger:hover {
    background-color: #c93649;
    border-color: #c93649;
}

.btn-danger:focus {
    background-color: #c93649;
    border-color: #c93649;
}

.btn-danger:active {
    background-color: #c93649;
    border-color: #c93649;
}

.btn-danger:disabled {
    background-color: #bd0e2b;
    border-color: #bd0e2b;
}

.text-success {
    color: #3d6658!important;
}

.bg-success {
    background-color: #3d6658!important;
}

.btn-success {
    background-color: #3d6658;
    border-color: #3d6658;
}

.btn-success:hover {
    background-color: #529a82;
    border-color: #529a82;
}

.btn-success:focus {
    background-color: #529a82;
    border-color: #529a82;
}

.btn-success:active {
    background-color: #529a82;
    border-color: #529a82;
}

.btn-success:disabled {
    background-color: #3d6658;
    border-color: #3d6658;
}

.table thead {
    color: #3f689e;
}

.table>:not(:first-child) {
    border-top: 1.1px solid #3f689e;
}

.page-item.active .page-link {
    background-color: #3f689e;
    border-color: #3f689e;
}

.page-link {
    color: #355389;
}

.table .dropdown .dropdown-toggle {
    text-decoration: none;
    font-size: 1.15rem;
}

.table .dropdown .dropdown-toggle:after {
    display: none;
}

.dropdown .dropdown-item:focus {
    background-color: #355389;
    color: #fff;
}

.form-check-input:checked {
    background-color: #355389;
    border-color: #355389;
}

.col-form-label.unit {
    width: auto;
    min-width: 1rem;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.hide {
    display: none;
}

.table td {
    vertical-align: middle;
}

.table td i {
    font-size: 1.25rem;
}

.table td .op {
    display: flex;
}

.table td .op>* {
    margin-right: 0.5rem;
}

.side-menu .fold-btn:hover {
    background-color: rgba(63, 104, 158, 0.8);
    color: #fff
}

.navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.nav-hide {
    display: none;
}

.navbar-simple .container-fluid {
    height: 2.25rem;
}

.navbar-simple .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-simple {
    width: 100%;
    min-height: 3rem;
    position: fixed;
    bottom: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-simple .copyright {
    height: 100%;
    margin-left: 1rem;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
}

.footer-simple .link {
    margin-right: 1rem;
    display: flex;
}

.footer-simple .link a {
    text-decoration: none;
}

.footer-simple .link span {
    margin: 0 0.5rem
}

.nav-link {
    color: #355389;
}

.navbar .op * {
    margin-right: 0;
}

.navbar .op>a{
    margin-right: 1rem!important;
}

.navbar .op a {
    color: #212529;
    text-decoration: none;
}

.navbar .collapse .d-flex.op {
    position: relative;
}

.navbar .navbar-brand {
    padding-top: 0;
    padding-bottom: 0.4rem;
}

/* .navbar .collapse .d-flex.op:not(:last-child):after {
    position: absolute;
    content: "";
    background-color: rgba(0, 0, 0, 0.4);
    width: 1px;
    height: 1rem;
    right: 0;
    top: 3px;
} */

.side-menu ul.menu {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
}

.side-menu ul.menu::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.side-menu ul li a.selected, .side-menu ul li a:hover {
    background: none;
}

.side-menu ul li a.selected {
    position: relative;
    color: #3f689e;
}

.side-menu ul li a.selected:before {
    position: absolute;
    left: 5px;
    content: "";
    width: 0.25rem;
    background-color: #3f689e;
    margin: 0.6rem 0;
    height: 1.6rem;
}

.side-menu ul li a:hover {
    color: #3f689e;
}

.login-area {
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.875rem;
    background-color: #fff;
}

.login-area .type {
    display: flex;
    align-items: center;
    height: 5rem;
    border-bottom: 1px solid #ced4da;
}

.login-area .type>div {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    color: rgba(33, 37, 41, 0.45);
}

.login-area .type>div.selected {
    color: #355389;
    font-weight: bold;
}

.login-area .type>span {
    height: 100%;
    display: flex;
    align-items: center;
    color: #ced4da;
}

.login-area .title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
}

.login-area form {
    padding: 0 5rem;
}

.login-area form input {
    height: 3rem;
}

.login-area form .btn {
    width: 100%;
    height: 3.25rem;
}

.login-area .account {
    padding: 0 5rem;
    display: flex;
    height: 4rem;
    justify-content: space-between;
    align-items: center;
}

.login-area .account a {
    text-decoration: none;
    color:rgba(33, 37, 41, 0.5);
    font-size: 1rem;
}

.login-area .detail {
    display: none;
}

.login-area .detail.selected {
    display: block;
}

.op-section {
    padding: 1.5rem 3rem;
    background: #fff;
    border-radius: 0.125rem;
}

.text-middle {
    padding-left: 0;
    display: flex;
    align-items: center;
}

.btn-group.duration .btn {
    min-width: 3rem;
}

.price {
    padding-left: 3rem;
}

.price .total {
    font-size: 2rem;
    color: #bd0e2b;
}

.waiting {
    width: 1.25rem;
    height: 1.25rem;
}

.spinner-border.waiting {
    display: inline-block;
    vertical-align: -0.125em;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
}

.ellipsis {
    max-width: 20rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
}

.hr {
    background-color: #355389!important;
    opacity: 0.7;
    margin: 0.5rem 0;
}

.messages {
    position: relative;
}

.messages .unread {
    position: absolute;
    background-color: #c93649;
    color: #fff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    right: 40px;
    top: -5px;
    min-width: 1.5rem;
}

.multiselect .select {
    max-width: 100%;
}

.reset {
    color: #212529;
    font-size: 1.25rem;
}