﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    text-align: center;
}

.login-page {
    width: 100%;
    height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f8ff;
}

.card-login {
    min-width: 320px;
}

.card-register {
    min-width: 600px;
}

.btn-theme-blue {
    color: #FFF;
    font-weight: 600;
    background-color: #006fb7;
}

.btn-theme-blue:hover {
    background-color: #015f9f;
    color: #FFF;
}

.btn-theme-green {
    color: #FFF;
    font-weight: 600;
    background-color: #97be0d;
}

.btn-theme-green:hover {
    background-color: #84a708;
    color: #FFF;
}

.text-theme-green {
    color: #97be0d;
}

.text-theme-blue {
    color: #006fb7;
}

.text-gray {
    color: rgba(0, 0, 0, 0.6)
}

.bg-theme-light-blue {
    background-color: #f3f8ff;
}

.col-register-image {
    position: relative;
}

.col-register-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.register-wrap {
    min-width: 600px;
    padding-left: 50px;
    padding-right: 50px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4d9;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    padding-right: 1.75rem;
    width: 100%;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e2f3ff;
    border: 1px solid #5caee7;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #1a70ab;
    border-right: 1px solid #5baee7;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #FFF;
}

.select2-search__field::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #495057;
}

.select2-search__field::-moz-placeholder { /* Firefox 19+ */
    color: #495057;
}

.select2-search__field:-ms-input-placeholder { /* IE 10+ */
    color: #495057;
}

.select2-search__field:-moz-placeholder { /* Firefox 18- */
    color: #495057;
}

.sub-selection-wrap {
    order: 2;
}

.sub-selection-wrap.order-1 {
    order: 1;
}

#sub-selections {
    display: flex;
    flex-direction: column;
}

/* design Optimizing styling */
html, body {
    background: #f5f8fa;
}

header nav.navbar {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 9;
}

header + div {
    margin-top: 85px;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 0.9rem;
    display: inline-block;
    vertical-align: middle;
}

.navbar-light .navbar-nav button.nav-link {
    font-weight: 900;
    margin-top: -1px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
}

main {
    padding-left: 16px;
    padding-right: 16px;
}

h1.display-4 {
    font-size: 2.5rem;
}

.table {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0px;
}

.table td, .table th {
    font-size: 0.9rem;
}

.btn-secondary {
    color: #fff;
    background-color: #036b84;
    border-color: #036b84;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
    background: #17a2b8;
    border-color: #17a2b8;
}

.body-wrapper {
    background: #fff;
    padding: 15px 15px;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
}

.body-wrapper {
    margin-top: 15px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fcff;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle,
.btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-secondary.dropdown-toggle:focus,
.btn:hover, .btn:focus, .btn:active, .btn:not(:disabled):not(.disabled).active, .btn:not(:disabled):not(.disabled):active, .show > .btn.dropdown-toggle,
.btn:not(:disabled):not(.disabled).active:focus, .btn:not(:disabled):not(.disabled):active:focus, .show > .btn.dropdown-toggle:focus {
    box-shadow: none !important;
}

.btn-site-action {
    min-width: 120px;
}

@media (min-width: 768px) {
    .table-ellipsis {
        table-layout: fixed;
    }

    .table-ellipsis .des-warp {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .navbar-nav-right {
        display: none;
    }

    .navbar-collapse.show + .navbar-nav-right {
        display: block;
    }

    h1.display-4 {
        font-size: 2rem;
    }

    td .btn {
        margin-bottom: 4px;
    }
}

.imagePreview {
    width: 100%;
    height: 180px;
    background-position: center center;
    background-color: #f5f5f5;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
}

.imagePreview img {
    vertical-align: baseline;
    object-fit: contain;
    width: 100%;
    height: 100%
}

table td img {
    background-color: #f5f5f5;
    padding: 5px;
    vertical-align: baseline;
    object-fit: contain;
    width: 30px;
    height: 30px;
}

.sticky-top {
    position: fixed;
    top: 0;
    z-index: 1020;
    /* height: 100vh; */
    background: #03A9F4;
    padding: 15px;
    bottom: 0;
    left: 0;
}

.nav-container {
    margin-top: 10px;
    transition: all 0.3s linear;
}

.sticky-top .nav {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
}

.sticky-top .nav li {
    height: 50px;
    position: relative;
    background: linear-gradient(#292929, #242424);
}

.sticky-top .nav a {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid black;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    line-height: 50px;
    color: #bbb;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 25%;
    border-left: 5px solid transparent;
    letter-spacing: 1px;
    transition: all 0.3s linear;
}

.sticky-top .nav .active a {
    color: #B93632;
    border-left: 5px solid #B93632;
    background-color: #1B1B1B;
    outline: 0;
}

.sticky-top .nav li:not(.active):hover a {
    color: #eee;
    border-left: 5px solid #FCFCFC;
    background-color: #1B1B1B;
}

.sticky-top .nav span[class ^= "icon"] {
    position: absolute;
    left: 20px;
    font-size: 1.5em;
    transition: all 0.3s linear;
}

@media only screen and (max-width: 860px) {

    .sticky-top .nav .text {
        display: none;
    }


    .sticky-top .nav a:hover {
        width: 200px;
        z-index: 1;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid black;
        box-shadow: 0 0 1px 1px black;
    }

    .sticky-top .nav a:hover .text {
        display: block;
        padding-left: 30%;
    }
}

@media only screen and (max-width: 480px) {
    .sticky-top .nav-container, .sticky-top .nav a {
        width: 50px;
    }

    span[class ^= "icon"] {
        left: 8px;
    }
}

.sidebar .nav-item .nav-link span {
    font-size: 1rem;
}

.table th, .table td {
    font-size: .85rem;
}

.ms-options-wrap > button {
    min-width: 150px;
    max-width: 150px;
}

.card-body-table-list .table-responsive {
    max-height: calc(100vh - 250px);
}