@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Poppins', sans-serif !important;
  display: flex;
  flex-direction: column;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
}

main {
  flex: 1;
}

main > .container, main > .container-fluid {
    padding: 70px 15px 20px;
}

.footer {
    font-size: 14px;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
/*    background-color: var(--bs-gray-200);*/
  	margin-bottom: 0px;
  	border-radius: .25rem;
/*  padding: .75rem 1rem;*/
}

.breadcrumb-item > a {
    text-decoration: none;
}

/* sidebar */
.sidebar {
  	position: fixed;
  	top: 0;
  	left: 0;
  	height: 100%;
  	width: 300px;
  	border-right: 2px solid #D1D8DD;
  	z-index: 100;
  	font-size: 16px;
  	transition: all 0.3s ease;
  	color: #585858;
}

.sidebar.close {
  	width: 78px;
}

.sidebar .logo-details {
	height: 68px;
	width: 100%;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	background: #E3E9ED;
 	pointer-events: auto;
  	cursor: pointer; 
  	z-index: 101;
}

.sidebar .logo-details img {
  	height: 100%;
  	width: 100%;
  	object-fit: cover;
  	display: none;
}

.sidebar .logo-details .logo_name {
  	font-size: 12px;
}

.sidebar.close .logo-details .logo_name {
  	display: none;
}

.sidebar.close .logo-details img {
  	display: block;
}

.sidebar .nav-links {
  	max-height: calc(100vh - 20vh);
  	padding: 20px 0 150px 0;
  	overflow: auto;
}

.sidebar.close .nav-links {
  	overflow: visible;
}

.sidebar .nav-links::-webkit-scrollbar {
  	display: none;
}

.sidebar .nav-links li {
  	position: relative;
  	list-style: none;
  	transition: all 0.4s ease;
  	font-size: 14px;
}

.sidebar .nav-links li a {
 	color: #585858;
  	height: 54px;
  	margin: 0 0 10px 0;
  	align-items: center;
  	display: flex;
  	padding: 0 0 0 0;
  	text-decoration: none;
}

.sidebar.close .nav-links li a {
  	justify-content: center;
}

.sidebar .nav-links li a:hover,
.sidebar .nav-links li .active {	
  	filter: brightness(0) saturate(100%) invert(44%) sepia(57%) saturate(5962%) hue-rotate(157deg) brightness(91%) contrast(101%);  
  	color: #009190;
}

.sidebar .nav-links li .active {	
  	font-weight: 600;
}

.sidebar.close .nav-links li .iocn-link {
  	display: block;
}

.sidebar .nav-links li img {
  	height: 26px;
  	min-width: 26px;
  	text-align: center;
  	line-height: 30px;
  	padding-left: 10px;
  	cursor: pointer;
  	transition: all 0.3s ease;
  	flex: 0 0 auto;
}

.sidebar.close .nav-links li img {
  	justify-content: center;
  	padding: 0;
}

.sidebar .nav-links li a .link_name {
  	margin-left: 15px;
  	flex: 1 1 auto;
}

.sidebar .nav-links li .arrow_spin {
  	padding-right: 10px;
  	height: 16px;
 	min-width: 10px;
  	flex: 0 0 auto;
}

.sidebar .nav-links li.showMenu .arrow_spin { 
  	transform: rotate(-180deg);
}

.sidebar.close .nav-links .arrow_spin {
  	display: none; 
}

.sidebar.close .nav-links li a .link_name {
  	display: none;
  	pointer-events: none;
}

.sidebar .nav-links li .sub-menu {
  	padding: 6px 6px 14px 40px;
  	margin-top: -10px;
  	background: white;
  	display: none;
  	align-items: start;
}

.sidebar .nav-links li.showMenu div + .sub-menu {
  	display: block;
}

.sidebar.close .nav-links li.showMenu div + .sub-menu {
  	display: none;
}

.sidebar .nav-links li .sub-menu a {
  	padding: 5px 0;
  	white-space: nowrap;
  	color: #585858;
  	transition: all 0.3s ease;
}

.sidebar .nav-links li .sub-menu img { 
  	margin-left: 10px;
  	flex: 0 0 auto;
}

.sidebar .nav-links li .sub-menu span {
  	margin-left: 15px;
  	flex: 1 1 auto;
}

.sidebar .nav-links li .sub-menu a:hover {
  	filter: brightness(0) saturate(100%) invert(44%) sepia(57%) saturate(5962%) hue-rotate(157deg) brightness(91%) contrast(101%);  
  	color: #009190;
}

.sidebar .footer {
  	position: fixed;
  	bottom: 0;
  	width: 260px;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	font-size: 8px;
}

.sidebar.close .footer {
  	display: none;
}

.home-section {
  	position: relative;
  	min-height: 100vh;
  	left: 300px;
  	width: calc(100% - 300px);
  	transition: all 0.5s ease;
}

.sidebar.close ~ .home-section {
  	left: 78px;
  	width: calc(100% - 78px);
}

.home-section .nav1 {
  	background: #E3E9ED; 
  	/* z-index: 1500;  */
}

.home-section .navbar {
  	height: 68px;
}

.home-section .bx-menu,
.home-section .bx-menu1 {
  	cursor: pointer;
}

.home-section .bx-menu1 {
  	display: none;
}

.home-section .bx-menu {
  	display: block;
}

.home-section .close .bx-menu {
  	display: none;
}

.home-section .close .bx-menu1 {
  	display: block;
}

.home-section .home-content .text {
  	font-size: 26px;
  	font-weight: 600;
}

.back {
  	padding-left: 0px;
}

.language button,
.language .dropdown-menu {
	font-size: 14px;
}

.language .dropdown-menu {
	text-align: center;
}

.language .btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .language .btn.active, .language .btn.show {
    border-color: transparent !important;
}

.user-avatar {
    height: 24px;
    width: 24px;
    margin-right: 26px;
    float: right;
    cursor: pointer;
}

.logout {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    width: 174px;
    position: absolute;
    left: -150px; /* Adjust this value as needed */
    list-style-type: none;
    top: 45px;
    display: none;
    z-index: 1;
    background-color: #b2b8bc;
    text-align: center;
    line-height: 50px;
    border-radius: 0 0 0 8px;
}

.logout:hover .dropdown-content {
    display: none;
}

.dropdown-content a {
  	font-size: 14px;
  	color: white;
  	text-decoration: none;
}

.dropdown-box {
  	cursor: pointer;
  	border-radius: 0 0 0 8px;
  	width: 100%;
  	height: 100%;
}

.dropdown-box:hover {
  	background-color: #a0a6a9;
}

.logout.show .dropdown-content {
  	display: block;
}

@media (max-width: 420px) {
	.sidebar.close .nav-links li .sub-menu {
		display: none;
	}
}

/* loading screen */    
#loading-spinner {
	background: rgba(255, 255, 255, 0.2); 
	text-align: center;
	backdrop-filter: blur(25px); 
	height: 100vh;
	position: fixed; 
	width: 100%; 
	z-index: 9000;   
}

@keyframes fadeIn { 
	from { opacity: 0; } 
}

#loading-spinner img {
	height: 10%; 
	width: 10%;
	top: 50%;
	left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
	animation: fadeIn 0.8s infinite alternate;
}

/* privacy, terms, error */
.site-terms, 
.site-policy,
.site-error {
    text-align: justify;
}

.site-terms p, 
.site-terms ul,
.site-terms ol,
.site-policy p, 
.site-policy ul,
.site-error p {
    font-size: 14px;
}

.site-terms h2,
.site-policy h2,
.site-error h2 {
    font-size: 28px;
    color: #009190;
}

.site-terms .nav-link.active,
.site-policy .nav-link.active {
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: right;
}

.pagination li {
    margin-right: 5px;
}

.pagination a,
.pagination span {
    display: block;
    padding: 2px 8px;
    text-decoration: none;
    color: #000;
    background-color: #E3E9ED;
    border: 1px solid #E3E9ED;
    border-radius: 10px;
}

.pagination a:hover,
.pagination .active a,
.pagination .active span {
    background-color: #009190;
    color: #fff;
}

.summary {
	color: #585858;
	font-size: 14px;
	position: absolute;
}

.dropdown-menu {
	--bs-dropdown-min-width: 6rem;
}

.project {
	font-size: 14px !important;
	font-weight: 600;
}

.dropdown-menu-end[data-bs-popper] {
	right: auto;
	left: 0;
}
