@import
	url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
	--color-default: #124359;
	/*   --color-second:#0067ac; */
	--color-white: #fff;
	--color-body-: #a7d2ef;
	--color-light: #EBD774;
}

* {
	padding: 0%;
	margin: 0%;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background-color: #E1F7F3;
	min-height: 100vh;
	/*   background-image: url('../images/BG.png'); */
	background-size: cover;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.sidebar {
	min-height: 100vh;
	width: 78px;
	padding: 6px 14px;
	z-index: 99;
	background-color: var(--color-default);
	transition: all .5s ease;
	position: fixed;
	top: 0;
	left: 0;
}

.sidebar.open {
	width: 300px;
}

.sidebar .logo_details .icon {
	opacity: 0;
	transition: all 0.5s ease;
}

.sidebar .logo_details .logo_name {
	color: var(--color-white);
	font-size: 20px;
	font-weight: 600;
	opacity: 0;
	display: none;
	transition: all .5s ease;
}

.sidebar.open .logo_details .icon, .sidebar.open .logo_details .logo_name
	{
	opacity: 1;
	display: block;
}

.sidebar .logo_details #btn {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	font-size: 23px;
	text-align: center;
	cursor: pointer;
	transition: all .5s ease;
}

.sidebar .nav-list {
	margin-top: 20px;
	height: 100%;
}

.sidebar li {
	position: relative;
	margin: 8px 0;
	list-style: none;
}

.sidebar.open li .tooltip {
	display: none;
}

.sidebar input {
	font-size: 15px;
	color: var(--color-white);
	font-weight: 400;
	outline: none;
	height: 35px;
	width: 35px;
	border: none;
	border-radius: 5px;
	background-color: var(--color-second);
	transition: all .5s ease;
}

.sidebar input::placeholder {
	color: var(--color-light)
}

.sidebar.open input {
	width: 100%;
	padding: 0 20px 0 50px;
}

.sidebar li a {
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
	text-decoration: none;
	background-color: var(--color-default);
	position: relative;
	transition: all .5s ease;
	z-index: 12;
}

.sidebar li a::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	background-color: var(--color-white);
	border-radius: 5px;
	transition: transform 0.3s ease-in-out;
	transform-origin: left;
	z-index: -2;
}

.sidebar.open li a:hover::after {
	transform: scaleX(1.5);
	color: var(--color-default)
}

.sidebar li a .link_name {
	color: var(--color-white);
	font-size: 15px;
	font-weight: 400;
	white-space: nowrap;
	pointer-events: auto;
	transition: all 0.4s ease;
	pointer-events: none;
	opacity: 0;
}

.sidebar li a:hover .link_name, .sidebar li a:hover i {
	transition: all 0.5s ease;
	color: var(--color-default)
}

.sidebar.open li a .link_name {
	opacity: 1;
	pointer-events: auto;
}

.sidebar li i {
	height: 35px;
	line-height: 35px;
	font-size: 18px;
	border-radius: 5px;
}

.sidebar .profile .profile_details {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}

.sidebar li img {
	height: 38px;
	width: 38px;
	object-fit: cover;
	border-radius: 50%;
	background-color: white;
	border: 2px solid white;
	margin-right: 10px;
	margin-left: 10px;
}

.sidebar li:hover img {
	transform: scale(1.2);
	transition: transform 0.3s ease-in-out;
	content: attr(link_name);
}

.sidebar li.profile .name, .sidebar li.profile .designation {
	font-size: 15px;
	font-weight: 400;
	color: var(--color-white);
	white-space: nowrap;
}

.home-section {
	position: relative;
	background-color: var(--color-body);
	min-height: fit-content;
	left: 2.5em;
	width: calc(100% - 78px);
	transition: all .5s ease;
	z-index: 2;
}

.home-section1 {
	top: 20px;
	position: relative;
	background-color: var(--color-body);
	min-height: fit-content;
	left: 2.5em;
	width: calc(100% - 78px);
	transition: all .5s ease;
	z-index: 2;
}

.home-section .text {
	display: inline-block;
	color: var(--color-default);
	font-size: 3.26vh;
	font-weight: 500;
	margin: 18px;
	color: #225b73;
}

.text1 {
	color: var(--color-default);
	font-size: 3.26vh;
	margin: 5px;
	text-decoration: none;
	color: #225b73;
	font-weight: 400;
}

/* .sidebar.open ~ .home-section {
	left: 300px;
	width: calc(100% - 300px);
} */
.sidebar .logo_details img {
	display: block;
	opacity: 1;
	object-fit: contain;
	border-radius: 50%;
	margin-right: 10px;
	transition: all 0.1s ease;
}

.sidebar:not(.open) .logo_details img {
	opacity: 1;
	visibility: hidden;
}

.Scroll_segment {
	max-height: 90vh;
	overflow-y: auto;
}

.Scroll_segment .nav-list li {
	list-style: none;
	padding: 2px;
	margin-left: -6px;
}

.Scroll_segment .nav-list li a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: black;
}

.Scroll_segment::-webkit-scrollbar {
	display: none;
}

.card-link {
	text-decoration: none;
	display: block;
}

.card-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.card {
	color: black;
	background-color: rgb(251, 251, 251);
	;
}

.card-link:hover .card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	transform: scale(1.05);
	transition: transform 0.3s ease-in-out;
}

.card:hover .card-title {
	white-space: initial;
	overflow: visible;
	color: black;
	text-overflow: initial;
}

.home-section {
	padding-left: 20px;
	padding-right: 20px;
}

@media only screen and (max-width: 575px) {
	.sidebar {
		display: none;
	}
	
	.home-section {
		
		left: 0px;
		width: 100%;

	}
}