.sidebar .nav .active {
	/* box-shadow:inset 0px 0px 15px 3px #23395e; */
	background:#955AD2;
	background-color:#955AD2;
	/*
	display:inline-block;
	cursor:pointer;
	padding:6px 13px;
	border-radius:4px;
	*/
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	text-decoration:none;
	text-shadow:0px 1px 0px #263666;
}

.content::-webkit-scrollbar {
    display: none;
}
.content::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.sidebar-wrapper::-webkit-scrollbar {
    display: none;
}
.sidebar-wrapper::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* For statistic layout */
.statistic-layout{
	overflow: auto; 
}
.statistic-layout::-webkit-scrollbar {
    display: none;
}
.statistic-layout::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* For dashboard layout */
.dashboard-layout{
	overflow: auto; 
}
.dashboard-layout::-webkit-scrollbar {
    display: none;
}
.dashboard-layout::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.nav li {
	height: 40px;
    display: flex;
    align-items: center;
	margin-bottom: 5px;
}

.nav li a {
    width: 100% !important;
    height: 100% !important;
}

.sidebar .nav li>a, .off-canvas-sidebar .nav li>a {
    margin: 0 0 0 15px !important;
    display: flex !important;
    align-items: center;
}

table {
	width: 100%;
}

/* HuuTai.Nguyen - 10/10/2022: Custom input file for Activekey module */
.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    border-radius: 5px;
}
/* End custom input file */

/* CSS icon reset password */
#user-grid a img {
    width: 16px;
}

#profile-grid a img {
    width: 20px;
}

/* Set width for all input filters */
.filters input{
    width: 100%;
}

/* Css for profile */
.type-profile{
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 7px;
    color: black;
    background: var(--main-color-web);
}

.table tbody tr td , .table tbody tr th {
    vertical-align: middle !important;
}

.table thead th, .table thead td {
    vertical-align: middle !important;
    text-align: center !important;
}

.modal.show .modal-dialog {
    -webkit-transform: none !important;
    transform: none !important;
}

@media (min-width: 576px) {
    .modal-dialog.modal-xl{
      max-width: min(95vw) !important;
    }
}

.sidebar-img{
    height: 20px;
    margin-left: 8px;
    margin-right: 12px;
    filter: invert(100%) sepia(35%) saturate(0%) hue-rotate(188deg) brightness(103%) contrast(98%);
}

.row-menu a .mainmenu-img{
    height: 50px;
    margin-bottom: 5px;
    filter: invert(72%) sepia(97%) saturate(1197%) hue-rotate(353deg) brightness(102%) contrast(102%);
}

.row-menu a:hover .mainmenu-img {
    filter: invert(23%) sepia(8%) saturate(2773%) hue-rotate(167deg) brightness(86%) contrast(84%);
}

/* Disable Element */
.disabled_element {
    pointer-events: none;
    opacity: 0.4;
}

.disabledElement {
    pointer-events: none;
    opacity: 0.4;
}

/* 07/12/2022 */

/* Title statistics log */
.title-size{
    font-size: 2.5rem;
}
@media (max-height: 801px){
    .title-size{
        font-size: 1.5rem;
    }
}

/* Style number page statistic*/
.statistical-number{
    font-size: 80px;
    font-weight: 600; 
    line-height: 1;
}

@media (max-height: 801px){
    .statistical-number{
        font-size: 60px;
    }
}

/* For statistic card type  */
.tag-container{
    border: 1px solid;
    position: relative;
    border-radius: 5px;
    background-color: #222838;
}
.tag-name{
    position: absolute;
    top: -10px;
    background: #c5c5c5;
    padding: 0 10px;
    left: 5px;
    font-size: 1em;
    font-weight: 700;
    border-radius: 7px;
    color: #000000;
}

.mb-20px{
    margin-bottom: 20px;
}

.tag-small-title{
    font-size: 20px;
}

@media (max-height: 801px){
    .tag-small-title{
        font-size: 16px;
    }
}

/* For statistic ink layout */
.statistic-ink-layout{
	overflow: auto; 
}
.statistic-ink::-webkit-scrollbar {
    display: none;
}
.statistic-ink::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/*  */
.btn-outline-warning.focus, .btn-outline-warning:focus {
    box-shadow: none!important;
}


/* Create multi user */
.table-responsive-multi{
    max-height: calc(100vh - 221px);
    overflow: auto;
    border: 1px solid;
}
.table-responsive-multi thead tr:nth-child(1) th{
    background: #0954a0!important;
    position: sticky;
    top: -1px;
    z-index: 10;
}
.table-responsive-multi::-webkit-scrollbar {
    display: none;
}
.table-responsive-multi::-webkit-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/*  */
.content .span-5,
.content h1{
    color: #f8f9fa!important;
}

table * td select {
    height: 30px;
}

/* Set width for all input filters */
.filters input {
    width: 100%;
}

.filters select {
    width: 100%;
}

/*  */
/* HuuTai.Nguyen - 01/12/2022: Sticky first column in table when scroll */
.smile_wrapper {
    overflow-x: scroll;
    width: 100%;
}

.smile_wrapper>table>*>tr>th {
    text-align: center;
}

.smile_wrapper>table>*>tr>th,
.smile_wrapper>table>*>tr>td {
    white-space: nowrap;
    vertical-align: middle;
    max-width: 400px !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.smile_wrapper>table>*>tr>th:first-child,
.smile_wrapper>table>*>tr>td:first-child {
    position: sticky;
    background: #30343c !important;
    left: -1px;
}

.smile_wrapper>table>*>tr>td:last-child {
    text-align: center;
}

.smile_wrapper .summary,
.smile_wrapper .pager {
    position: sticky;
    left: -1px;
}

.smile_wrapper table * td select {
    height: 30px;
}

/* Config scrolbar for class .smile_wrapper */
.smile_wrapper::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 7px;
}

.smile_wrapper::-webkit-scrollbar {
    width: 10px;
}

.smile_wrapper::-webkit-scrollbar-thumb {
    border-radius: 7px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #9FB1BCFF;
}

/* Config scrolbar for class .smile_wrapper_duo */
.smile_wrapper_duo::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 7px;
}

.smile_wrapper_duo::-webkit-scrollbar {
    width: 10px;
}

.smile_wrapper_duo::-webkit-scrollbar-thumb {
    border-radius: 7px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #9FB1BCFF;
}


/* Customize toothgle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Disable Element */
.disabledbutton,
.disabledElement {
    pointer-events: none;
    opacity: 0.4;
}

/* Modal Loading */
.dashed-loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(0,0,0,0.7);
}
#loading-content{
    position: absolute;
    top: calc(50% + 40px);
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 1.3em;
}
.dashed-loading:after,
.dashed-loading:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
.dashed-loading:before {
    z-index: 5;
    border: 3px dashed var(--blue);
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    -webkit-animation: dashed 1s linear infinite;
    animation: dashed 1s linear infinite;
}
.dashed-loading:after {
    z-index: 10;
    border: 3px solid var(--blue);
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    -webkit-animation: dashed 1s ease infinite;
    animation: dashed 1s ease infinite;
}
@keyframes dashed {
    to {
        transform: rotate(360deg);
    }
}

/* Customize text bold */
.text-bold {
    font-weight: 700;
}

/* [1.0.1] HuuTai.Nguyen - 07/02/2025: for table of external app manage */
#externalapp-grid>table>*>tr>th:nth-child(2),
#externalapp-grid>table>*>tr>td:nth-child(2),
#externalapp-grid>table>*>tr>th:nth-child(5),
#externalapp-grid>table>*>tr>td:nth-child(5) {
    max-width: 360px !important;
}

#externalapp-grid>table>*>tr>td:nth-child(3),
#externalapp-grid>table>*>tr>td:nth-child(4),
#externalapp-grid>table>*>tr>td:nth-child(7) {
    text-align: center;
}