@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
:root{
    /* --bs-primary:#5b4fb9; */
    --bs-primary: #001F3F;
    --bs-secondary: #6f7696;
    --bs-danger: #e84da0;
    --bs-success: #198754;
    /* --bs-info: #00a1ff; */
    --bs-info: #4BB5FF;
    --bs-warning: #ffc23e;

    --bs-primary-bg-subtle: #f1f0f9;
    --bs-secondary-bg-subtle: #e9ebf1;
    --bs-success-bg-subtle: #f2f7ed;
    --bs-info-bg-subtle: #e6f6ff;
    --bs-warning-bg-subtle: #fffcf6;
    --bs-danger-bg-subtle: #feecf9;
    --bs-light-bg-subtle: white;
    --bs-dark-bg-subtle: #f9f9f9;
    --bs-card-bg-subtle: #F4F7FA;

    --bs-border-radius:20px;
}

html,body {
    padding: 0px;
    margin: 0px;
    font-size: 14px;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #e4e8ee;
    font-size: 13px;
}
/* .nav-link.active {
    border-bottom: 2px solid var(--bs-success);
} */
.we-sidebar .list-unstyled li{
   margin-top: 0.3rem;
   margin-bottom: 0.3rem;
}

.we-sidebar .list-unstyled li i{
    padding: 0.6rem;
    border: 1px solid #e4e6ee;
    border-radius: 10px;
    margin-right: 0.8rem;
}

.we-sidebar .list-unstyled li.highlgt,
.we-sidebar .list-unstyled li:hover{
    background-color: #f5f6fa;
    border-radius: 10px;
    transform: scaleX(0,1.5);
}

.we-sidebar .list-unstyled>li:hover>a .menu-text {
    letter-spacing: .8px;
}
.we-sidebar .list-unstyled>li>a .menu-text {
    transition: all .3s ease;
}

.we-sidebar .list-unstyled>li.active{
    background: var(--bs-primary);
    color: var(--bs-white) !important;
    border-radius: 10px;
}
.we-sidebar .list-unstyled>li.active a{
    color: var(--bs-white) !important;
}

.border-success{
    border-color: var(--bs-success) !important;
}

.text-success{
    color: var(--bs-success) !important;
}

.btn-success{
    background-color: var(--bs-success) !important;
    border-color: var(--bs-success) !important;
}

.border-primary{
    border-color: var(--bs-primary) !important;
}

.text-primary{
    color: var(--bs-primary) !important;
}

.btn-primary{
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary{
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus-within{
    color: var(--bs-white) !important;
    background-color: var(--bs-primary) !important;
}

.btn-outline-info{
    color: var(--bs-info) !important;
    border-color: var(--bs-info) !important;
}

.btn-outline-info:hover, .btn-outline-info:focus-within{
    color: var(--bs-white) !important;
    background-color: var(--bs-info) !important;
}

.btn-outline-danger:hover, .btn-outline-danger:focus-within{
    color: var(--bs-white) !important;
    background-color: var(--bs-danger) !important;
}

.btn-outline-success:hover, .btn-outline-success:focus-within{
    color: var(--bs-white) !important;
    background-color: var(--bs-success) !important;
}

.border-secondary{
    border-color: var(--bs-secondary) !important;
}

.text-secondary{
    color: var(--bs-secondary) !important;
}

.btn-secondary{
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.border-info{
    border-color: var(--bs-info) !important;
}

.text-info{
    color: var(--bs-info) !important;
}

.btn-info,.btn-info:hover,.btn-info:focus-within{
    background-color: var(--bs-info) !important;
    border-color: var(--bs-info) !important;
    color: var(--bs-white);
}

.border-danger{
    border-color: var(--bs-danger) !important;
}

.text-danger{
    color: var(--bs-danger) !important;
}

.btn-danger{
    background-color: var(--bs-danger) !important;
    border-color: var(--bs-danger) !important;
}

.badge{
    font-weight: 500;
}

.bg-primary-subtle {
    background-color: var(--bs-primary-bg-subtle) !important;
    color: var(--bs-primary) !important;
}
.bg-secondary-subtle {
    background-color: var(--bs-secondary-bg-subtle) !important;
    color: var(--bs-secondary) !important;
}
.bg-info-subtle {
    background-color: var(--bs-info-bg-subtle) !important;
    color: var(--bs-info) !important;
}
.bg-danger-subtle {
    background-color: var(--bs-danger-bg-subtle) !important;
    color: var(--bs-danger) !important;
}
.bg-warning-subtle {
    background-color: var(--bs-warning-bg-subtle) !important;
    color: var(--bs-warning) !important;
}
.bg-success-subtle {
    background-color: var(--bs-success-bg-subtle) !important;
    color: var(--bs-success) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary-bg-subtle) !important;
}

.bg-primary-subtle-outline {
    background-color: #fff !important;
    border: 1px solid var(--bs-primary);
}

.bg-primary{
    background-color: var(--bs-primary) !important;
    color: var(--bs-white);
}

.bg-info{
    background-color: var(--bs-info) !important;
    color: var(--bs-white);
}
.cursor-pointer{
    cursor: pointer;
}
a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    /* color: #00aa70; */
}
/* a:hover, a:focus {
    font-weight: 600;
} */
.f10 { font-size: 10px; }
.f12 { font-size: 12px; }
.f14 { font-size: 14px; }
.f16 { font-size: 16px; }
.f18 { font-size: 18px; }
.f20 { font-size: 20px; }
.f24 { font-size: 24px; }
.f28 { font-size: 28px; }
.f32 { font-size: 32px; }
.f48 { font-size: 48px; }

.text-green{
    color:#00aa70;
}

.bg-green{
    background:#00aa70;
}

.btn-success {
    color: #fff;
    background-color: #00aa70;
    border-color: #00aa70;
    color: #ffffff;
}
.btn-success:hover {
    color: #fff;
    background-color: #00aa70;
    border-color: #00aa70;
}

.br-top-12 {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.br-bottom-12 {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.br-12, .form-control1, .btn {
    border-radius: 20px;
}

.we-br{
    border-radius: var(--bs-border-radius) !important;
}

.we-shadow {
    box-shadow: 0px 2px 7px rgba(50, 80, 150, .1);
}
.we-section{
    height: calc(100vh - 150px);
}

.offcanvas{
    z-index: 1040 !important;
}

.offcanvas-start{
    width: 260px;
}
.we-sidebar li a {
    padding: 7px 25px 7px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2a2a2a;
    font-size: .875rem;
    white-space: nowrap;
    font-weight: 500;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.we-content:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    background: linear-gradient(90deg, #f8c7ff, #9dceff) !important;
    background-size: 100%;
    min-width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    /* min-width: 500px;
    max-width: 500px; */
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    z-index: -1;
}
.dropdown-menu {
    margin-right: -10px;
}
.dropdown-menu.show {
    margin-top: 10px;
}
.dropdown-menu:after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 1rem;
    height: 1rem;
    background: #fff;
    top: -9px;
    right: 10px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: #d2d3dd;
}
.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle, .dropdown-menu li{
    cursor: pointer;
}

.page-title{
    margin-top: 10px;
    margin-left: 15px;
    font-size: 24px;
    text-transform: uppercase;
}

/* .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: 12px;
    height: 36px;
    padding-top: 4px;
    font-size: 16px;
    padding-left: 8px;
} */
/* .select2-container--default .select2-selection--single .select2-selection__arrow1{
    height: 36px;
} */
label {
    margin-bottom: 0;
}
table .form-control, table{
	border: 0px !important;
	height: 31px;
    font-size: 14px;
	padding-top : 0;
}
table  {
    height: 31px;
}
.form-control.line_border {
	border: 0 !important;
	box-shadow: none;
	border-bottom: 1px solid #ddd !important;
	border-radius: 0;
}
.line_border .select2-selection {
	border-radius: 0px !important;
	border: 0 !important;
	border-bottom: 1px solid #ddd !important;
}

@media (min-width: 768px) {
    .we-content {
        padding: 10px 10px 20px 280px;
    }
    .we-sidebar {
        visibility: visible;
        transform: none;
        border: 0px;
        margin: 20px;
        border-radius: 20px;
        transition: left .3s ease, width .3s ease;
        box-shadow: 0px 2px 7px rgba(50, 80, 150, .1);
        /* padding-bottom: 15px; */
    }
}

@media (max-width: 768px) {
    .we-topbar, .we-section, .we-footer {
        padding: 0px 20px;
    }
}

.form-label {
    margin-top: 16px;
    margin-bottom: 2px;
    color: #5e647c;
    font-size: 13px;
}

.form-select, .form-control {
    border-radius: 0px;
    box-shadow: unset !important;
}

.form-select, .form-control,select.form-control {
    height: 33px;
    border-radius: 5px;
    padding: .375rem 1rem;
    border: 1px solid #dedede;
}
.input-group-text {
    padding: 0.2rem .75rem !important;
}


/* select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: 5px;
    border: 1px solid #ced4da;
    background-color: #fff;
    padding: 0rem 0.5rem;
}

.select2-container--default .select2-selection--single {
    height: 33.5px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 2px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    /* font-size: 14px; */
    color: #000;
    line-height: 32px;
}

.select2-container--default .select2-selection--multiple {
    height: auto !important;
    background-color: #fff;
    border-radius: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    max-width: 100% !important;
    word-wrap: break-word;
    white-space: normal;
}

.select2-container.select2-container--default {
    min-height: calc(1.5em + 0.5rem + 5px);
    margin: 0;
}

span.select2 {
    width: 100% !important;
}

.select2-clear {
    position: absolute;
    right: 20px;
    top: 0px;
    cursor: pointer;
    display: none;
    padding: 3.5px 9px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* jquery UI - autocomplete */
.ui-autocomplete {
    border: 1px solid #c5c5c5;
    background: #fff none repeat scroll 0 0;
    color: #000;
    list-style-type: none;
    padding: 0px !important;
    z-index: 999999;
    border: 1px solid #ced4da;
}

.ui-autocomplete li {
    cursor: pointer;
    padding: 5px !important
}

tbody, td, tfoot, th, thead, tr {
    border-color: #d0dce8 !important;
}


.card{
    border-radius: 20px !important;
    border: 0 !important;
    box-shadow: 0px 2px 7px rgba(50, 80, 150, .1) !important;
}
.card-header{
    background-color:unset !important;
    border-bottom:unset !important;
    padding:1rem !important;
}
.card-height{
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.card-bg{
    background-color: var(--bs-card-bg-subtle) !important;
}

.table td{
    color:#5e647c;
}

.table tr td,
.table tr th{
    border-bottom:1px dashed;
}

.table{
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

/* dropdown */
.dropdown-menu {
    border-radius: 10px;
    border:0;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background-color:var(--bs-secondary-bg-subtle);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        /* transform: translateY(10px); */
    }
    to {
        opacity: 1;
        /* transform: translateY(0); */
    }
}

.modal-dialog{
    margin: 1rem auto !important;
}

.modal-content {
  border-radius: 1rem;
}

.modal-header {
  background: linear-gradient(45deg, var(--bs-primary),var(--bs-info));
  color: white;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.btn-close-white {
  filter: invert(1);
}

.modal-body {
  font-size: 1rem;
  color: #333;
}

.modal-footer .btn {
  min-width: 100px;
}

/* separator */
.or-separator {
  display: flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
  width: 75%;
}

.or-separator::before,
.or-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed #ddd;
}

.or-separator span {
  margin: 0 1rem;
  font-weight: 500;
  color: var(--bs-secondary);
  font-size: 0.9rem;
}

input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* sweet-alert */
.my-swal-popup {
  border-radius: 20px;
  background: var(--bs-card-bg-subtle);
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.my-confirm-btn {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    padding: 5px 15px;
    border-radius: 20px !important;
}

.my-cancel-btn {
    background-color: white !important;
    border: 1px solid var(--bs-primary) !important;
    color: var(--bs-primary) !important;
    padding: 5px 15px;
    border-radius: 20px !important;
}


/* .bg-primary {
    background-color: #105a75 !important;
}
.btn-primary {
    color: #fff;
    background-color: #105a75;
    border-color: #105a75;
}
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    color: #fff;
    background: #105a75;
}
.table-primary {
    background-color: #105a75;
} */


/* .bg-primary {
    background-color: #105a75 !important;
}
.btn-primary, .btn-primary:hover {
    color: #fff;
    background-color: #105a75;
    border-color: #105a75;
}
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    color: #fff;
    background: #105a75;
}
.table-primary {
    background-color: #105a75;
} */

/* WE Modal */

.we-modal {
    position: fixed;
    top: 0;
    left: 0;
    background: #000000A1;
    height: 100vh;
    width: 100vw;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.we-modal.show {
    opacity: 1;
    visibility: visible;
}

.we-modal .we-card{
    max-height: calc(100vh - 100px);
    max-width: calc(100vw - 200px);
}

.we-modal .we-card.sm-modal{
    min-height: 240px;
    min-width: 400px;
}

.we-modal .we-card.md-modal{
    min-height: calc(100vh - 425px);
    min-width: calc(100vw - 800px);
}

.we-modal .we-card.lg-modal{
    min-height: calc(100vh - 100px);
    min-width: calc(100vw - 100px);
}

/* .we-modal .we-modal-body{
    overflow-y: auto;
    max-height: calc(100vh - 200px);
} */

.we-modal .we-modal-close, .collapse-card{
    cursor: pointer;
}

.highlight {
    background-color: yellow;
}

.switch-back{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    height: 50px;
    width: 50px;
    border-radius: 25px;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
