
/* Custom scroillbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */
.notifications-display::-webkit-scrollbar {
	width: 0.25rem;
	height: 0.5rem;

}

.notifications-display::-webkit-scrollbar-track {
	background-color: transparent;
}

.notifications-display::-webkit-scrollbar-thumb {
	background-color: rgb(142, 142, 142);
	outline: 1px solid slategrey;
	border-radius: 0.5rem;
	cursor: pointer;
}

/* Custom scroillbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */
.mytabs {
	display: flex;
	flex-wrap: wrap;
	font-weight: 600;
	width: max-content;
}

label {
	align-self: flex-start;
}

.mytabs input[type="radio"] {
	display: none;
}

.mytabs label {
	padding: 0.25rem 0.5rem;
	margin-right: 0.5rem;
	color: gray;
	border-bottom: 0;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	font-size: 1.025rem;
}

.mytabs label:hover {
	border-bottom: 1.5px solid #f0f0f0;
	color: #f0f0f0;
}

.mytabs .tab {
	width: 100%;
	margin-top: 0.75rem;
	display: flex;
	gap: 0.65rem;
	order: 1;
	display: none;
	transition: all 0.25s ease-in-out;
}

.mytabs input[type='radio']:checked+label+.tab {
	display: block;
	display: flex;
}

.mytabs input[type="radio"]:checked+label {
	border-bottom: 2px solid #f0f0f0;
	color: #f0f0f0;
}

.navbar .nav-item {
	all: unset;
	font-size: 0.925rem;
	font-weight: 600;
	color: #b1b1b1;
	cursor: pointer;
}

.navbar .nav-item:hover { 
	color: #f0f0f0;
}

.navbar .nav-item.active {
	color: #f0f0f0;
}



.dropdown-item.active{
	background-color:  unset;
	color: var(--primary-blue);
	font-weight: 600;


}

.dropdown-item:hover{
	background-color:  #f3f3f1 ;
	color: var(--primary-blue);
}

.nav-wrapper {
	display: flex;
	gap: 1rem;
}

@media(max-width: 980px){
	.nav-wrapper{
	justify-content: space-between;

	}
}


.logo-section {
	cursor: pointer;
}

.logo-section svg {
	height: 3.4rem;
	width: 4rem;
}

a.brand-name {
	all: unset;
	font-size: 1.25rem;
	font-weight: 500;
	color: white;
}

a.nav-link-main {
	text-decoration: none;
	color: inherit;
}

.user-icon {
	color: white;
}



.notifications-display {
	width: 22rem;
	padding: 0.75rem;
	max-height: 28rem;
	overflow-y: auto;
}

.notification-link {
	display: block;
	box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.notification-link+.notification-link {
	margin-top: 0.4rem;
}

a:has(.notification) {
	text-decoration: none;
}

.notification {
	font-size: 0.9rem;
	background-color: #f0f0f0;
	border: 2px solid lightgrey;
	border-radius: 0.25rem;
	padding: 0.45rem 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	cursor: pointer;
}

.notification:hover {
	color: inherit;
	background-color: #ebebeb;
}

.notification i {
	width: max-content;
}

.notif-check {
	color: #878787;
	font-size: 0.95rem;
	font-style: italic;
}

.notifications-display:has(.notification) .notif-check {
	display: none;
}

.reply-parent {
	margin-left: 1rem;
}

.reply-parent i {
	font-size: 0.65rem;
	line-height: 1;
	width: 0.65rem;
}

.reply-alert-parent {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.reply-alert {
	color: dimgrey;
}

.reply-alert-parent:has(.notif-icon) .reply-alert {
	font-weight: 600;
	color: black;
}

.reply {
	padding-inline: 0.25rem;
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: black;
}

.reply-parent i.fa-quote-right {
	translate: 0 1.25rem;
	height: max-content;
}

.reply-date-time {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 1rem;
	padding-left: 0.25rem;
}

.reply-time,
.reply-date {
	font-size: 0.75rem;
	font-weight: 600;
	color: grey;
}

.notif-icon {
	font-size: 0.75rem;
	width: max-content !important;
	color: rgb(233 51 51);
}

.notif-count {
	position: absolute;
	top: -0.5rem;
	left: 85%;
	background-color: rgb(220 32 32);
	font-size: 0.7rem;
}

.notif-bell,
.lang-icon {
	padding: 0.25rem;
	cursor: pointer;
}

#toast-container>div {
	opacity: 1;
}

#toast-container>.toast-info {
	font-size: large;
}





/* .switch-lang .dropdown-item:active {
	background-color: var(--grey-accent);
	color: var(--black-accent);
} */

.switch-lang .dropdown-menu {
	min-width: max-content;
	padding: 0 !important;
}

.switch-lang button {
	padding: 0.3rem 1.5rem;
	text-align: center;
}

/* Message section */
/* Left section */
.messages-dropdown {
	padding: 0.65rem;
	width: 35rem;
	/* max-height: 33rem; */
}

.user-list-parent {
	width: 25%;
	height: 30rem;
	padding: 0.3rem;
	border: 1px solid lightgrey;

}


.messages-display {
	display: flex;
	gap: 0.25rem;
}

.messages-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	justify-content: space-between;
	width: 75%;
	height: 30rem;
	padding: 0.35rem 0.35rem;
	border: 1px solid lightgrey;
}

.message-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-height: 25rem;
	overflow: auto;
	padding-right: 0.2rem;
}

.messege-senders-list {
	/* display: flex;
	flex-direction: column;
	gap: 0.15rem;
	height: 100%; */
	overflow: auto;
	width: 25%;
	height: 30rem;
	padding: 0.3rem;
	padding-right: 0.6rem;
	border: 1px solid lightgrey;
}

.sender {
	width: 100%;
	padding: 0.25rem 0.5rem;
	cursor: pointer;
	transition: all 0.15s ease-in;
	box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sender+.sender {
	margin-top: 0.2rem;
}

.sender.active {
	color: white;
	background-color: var(--secondary-blue);
}

.unread {
	/* create a dot like effect */
	position: relative;
}

.unread::after {
	content: '';
	position: absolute;
	top: 0.25rem;
	right: 0;
	transform: translateY(-50%);
	width: 0.5rem;
	height: 0.5rem;
	background-color: #e74c3c;
	border-radius: 50%;
}

.sender:hover {
	color: white;
	background-color: #636363;
}


.username {
	width: 100%;
	font-size: 0.95rem;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}


/* .message-wrapper:has(.message-display-section) {
	padding: 1rem;
	border: 1px solid lightgrey;
	padding: 0.75rem 0.3rem 0.75rem 0.75rem;
	border-radius: 0.25rem;
} */

/* .message-display-section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 32rem;
	overflow-y: scroll;
	padding-right: 0.25rem;
}

.message-display-section:empty {
	display: none;
}

.no-messages {
	display: none;
}

.message-display-section:empty+.no-messages {
	display: block;
	color: #878787;
	font-size: 0.95rem;
	font-style: italic;
} */


.message {
	font-family: 'Roboto', sans-serif !important;
	white-space: pre-wrap;
	word-wrap: break-word;
	font-size: 0.95rem;
}

.write-message {
	font-size: 0.95rem;
	resize: none;
}

.message-date {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.8rem;
}

.user-type {
	display: flex;
	gap: 0.35rem;
	align-items: baseline;
	color: #4c4c4c;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0.25rem;
}


.user-type i,
.dropdown-menu i {
	width: 1rem;
	text-align: center;
}

.user-instructions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-bottom: 0.15rem;
}

.message-parent {
	/* display: flex;
	flex-direction: column;
	gap: 0.4rem; */
	position: relative;
	background-color: #f2f2f2;
	border-radius: 0.25rem;
	padding: 0.65rem 0.65rem 0.4rem;
	border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.message-self {
	background-color: #626262;
	color: white;
}

.message-self .user-type {
	color: white;
}

.message-compose-section {
	display: flex;
	flex-direction: column;
}

.compose-elements {
	gap: 0.5rem;
}

.submit-message {
	padding: 0.5rem 1rem;
}

/* Show no-asnwer element when the answer element is empty */
/* .message-wrapper:has(.message-parent)+.message-compose-section .no-messages {
	display: block;
}

.no-messages {
	display: none;
	padding: 0.5rem;
	font-style: italic;
	font-size: 0.95rem;
} */

/* Show no-messages element when there are no messages */
.no-messages {
	display: none;
}

.message-wrapper:not(:has(.message-parent))+.message-compose-section .no-messages {
	display: block;
	padding: 0.5rem;
	font-size: 0.95rem;
	font-style: italic;
}

/* Show no-messages element when there are no messages */

/* Custom scrollbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */
::-webkit-scrollbar {
	width: 0.15rem;
	height: 0.25rem;
}

::-webkit-scrollbar-track {
	background-color: transparent;
}

::-webkit-scrollbar-thumb {
	background-color: rgb(160, 160, 160);
	outline: 1px solid rgb(134, 134, 134);
	border-radius: 0.5rem;
	cursor: pointer;
}

/* Custom scrollbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */

/* -------------v2024.1---------------- */



.dropdown-menu {
	min-width: 160px;
	padding: unset;
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 2px;
  }
  
  .dropdown-menu a {
	color: black;
	padding: 12px 16px;
  
  }
  
  .dropdown-menu a:hover {
	background-color: rgba(188, 188, 188, 0.8);
	
  }
  


.navbar-dark{
	background-color: var(--primary-blue);
}


.user-profile-dropdown{
	position: absolute !important;
	right: 0;
	padding: 12px 16px !important;

}
.user-profile-dropdown .dropdown-item{
	background-color: #ffffff;
}

@media(max-width: 980px){

	.dropdown-menu.show{
		background-color: var(--primary-blue) ;
		border: none;
		box-shadow: none;
	}

	.messages-dropdown.show, .language-dropdown.show{
		background-color: #ffffff;
		
	}

	.language-dropdown button{
		color:#000000 !important;
		 
	}

	.user-profile-dropdown.show{
		background-color: #ffffff;
		box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);


	}

	.user-profile-dropdown .dropdown-item{
		color: #000000 !important;
		background-color: #ffffff;
	}
		
	.dropdown-menu .dropdown-item{
		color: rgba(255,255,255,.55);
	}

	.dropdown-menu .dropdown-item:hover{
		color: #f0f0f0;
		background-color: unset;
		
	}

	.dropdown-item.active{
		color: #f0f0f0;
	}
}
/* Custom scrollbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */

/* -------------v2024.1---------------- */
.navbar-dark{
	background-color: var(--primary-blue);
}



/* Custom scroillbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */
.notifications-display::-webkit-scrollbar {
	width: 0.25rem;
	height: 0.5rem;

}

.notifications-display::-webkit-scrollbar-track {
	background-color: transparent;
}

.notifications-display::-webkit-scrollbar-thumb {
	background-color: rgb(142, 142, 142);
	outline: 1px solid slategrey;
	border-radius: 0.5rem;
	cursor: pointer;
}

/* Custom scroillbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */
.mytabs {
	display: flex;
	flex-wrap: wrap;
	font-weight: 600;
}

label {
	align-self: flex-start;
}

.mytabs input[type="radio"] {
	display: none;
}

.mytabs label {
	padding: 0.25rem 0.5rem;
	margin-right: 0.5rem;
	color: gray;
	border-bottom: 0;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	font-size: 1.025rem;
}

.mytabs label:hover {
	border-bottom: 1.5px solid #f0f0f0;
	color: #f0f0f0;
}

.mytabs .tab {
	width: 100%;
	margin-top: 0.75rem;
	display: flex;
	gap: 0.65rem;
	order: 1;
	display: none;
	transition: all 0.25s ease-in-out;
}

.mytabs input[type='radio']:checked+label+.tab {
	display: block;
	display: flex;
}

.mytabs input[type="radio"]:checked+label {
	border-bottom: 2px solid #f0f0f0;
	color: #f0f0f0;
}

.tab .tab-item {
	all: unset;
	font-size: 0.925rem;
	font-weight: 600;
	color: #b1b1b1;
	cursor: pointer;
}

.tab .tab-item:hover {
	color: #f0f0f0;
}

.tab .tab-item.active {
	color: #f0f0f0;
}

.nav-wrapper {
	display: flex;
	gap: 1rem;
}

.navbar-nav .dropdown-menu {
	position: absolute;
}

.logo-section {
	cursor: pointer;
}

.logo-section svg {
	height: 4rem;
	width: 5rem;
}

a.brand-name {
	all: unset;
	font-size: 1.25rem;
	font-weight: 500;
	color: white;
}

a.nav-link-main {
	text-decoration: none;
	color: inherit;
}

.user-icon {
	color: white;
}

.notifications-display {
	width: 22rem;
	padding: 0.75rem;
	max-height: 28rem;
	overflow-y: auto;
}

.notification-link {
	display: block;
	box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.notification-link+.notification-link {
	margin-top: 0.4rem;
}

a:has(.notification) {
	text-decoration: none;
}

.notification {
	font-size: 0.9rem;
	background-color: #f0f0f0;
	border: 2px solid lightgrey;
	border-radius: 0.25rem;
	padding: 0.45rem 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	cursor: pointer;
}

.notification:hover {
	color: inherit;
	background-color: #ebebeb;
}

.notification i {
	width: max-content;
}

.notif-check {
	color: #878787;
	font-size: 0.95rem;
	font-style: italic;
}

.notifications-display:has(.notification) .notif-check {
	display: none;
}

.reply-parent {
	margin-left: 1rem;
}

.reply-parent i {
	font-size: 0.65rem;
	line-height: 1;
	width: 0.65rem;
}

.reply-alert-parent {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.reply-alert {
	color: dimgrey;
}

.reply-alert-parent:has(.notif-icon) .reply-alert {
	font-weight: 600;
	color: black;
}

.reply {
	padding-inline: 0.25rem;
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: black;
}

.reply-parent i.fa-quote-right {
	translate: 0 1.25rem;
	height: max-content;
}

.reply-date-time {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 1rem;
	padding-left: 0.25rem;
}

.reply-time,
.reply-date {
	font-size: 0.75rem;
	font-weight: 600;
	color: grey;
}

.notif-icon {
	font-size: 0.75rem;
	width: max-content !important;
	color: rgb(233 51 51);
}

.notif-count {
	position: absolute;
	top: -0.5rem;
	left: 85%;
	background-color: rgb(220 32 32);
	font-size: 0.7rem;
}

.notif-bell,
.lang-icon {
	padding: 0.25rem;
	cursor: pointer;
}

#toast-container>div {
	opacity: 1;
}

#toast-container>.toast-info {
	font-size: large;
}

.switch-lang .dropdown-item.active {
	background-color: var(--grey-accent);
}

.switch-lang .dropdown-item:active {
	background-color: var(--grey-accent);
	color: var(--black-accent);
}

.switch-lang .dropdown-menu {
	min-width: max-content;
	padding: 0 !important;
}

.switch-lang button {
	padding: 0.3rem 1.5rem;
	text-align: center;
}

/* Message section */
/* Left section */
.messages-dropdown {
	padding: 0.65rem;
	width: 35rem;
	/* max-height: 33rem; */
}

.user-list-parent {
	width: 25%;
	height: 30rem;
	padding: 0.3rem;
	border: 1px solid lightgrey;

}

.messages-display {
	display: flex;
	gap: 0.25rem;
}

.messages-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	justify-content: space-between;
	width: 75%;
	height: 30rem;
	padding: 0.35rem 0 0.35rem 0.35rem;
	border: 1px solid lightgrey;
}

.message-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-height: 25rem;
	overflow: auto;
	padding-right: 0.2rem;
}

.messege-senders-list {
	/* display: flex;
	flex-direction: column;
	gap: 0.15rem;
	height: 100%; */
	overflow: auto;
	width: 25%;
	height: 30rem;
	padding: 0.3rem;
	border: 1px solid lightgrey;
}

.sender {
	width: 100%;
	padding: 0.25rem 0.5rem;
	cursor: pointer;
	transition: all 0.15s ease-in;
	box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sender+.sender {
	margin-top: 0.2rem;
}

.sender.active {
	color: white;
	background-color: #575757;
}

.unread {
	/* create a dot like effect */
	position: relative;
}

.unread::after {
	content: '';
	position: absolute;
	top: 0.25rem;
	right: 0;
	transform: translateY(-50%);
	width: 0.5rem;
	height: 0.5rem;
	background-color: #e74c3c;
	border-radius: 50%;
}

.sender:hover {
	color: white;
	background-color: #636363;
}

.username {
	width: 100%;
	font-size: 0.95rem;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}


/* .message-wrapper:has(.message-display-section) {
	padding: 1rem;
	border: 1px solid lightgrey;
	padding: 0.75rem 0.3rem 0.75rem 0.75rem;
	border-radius: 0.25rem;
} */

/* .message-display-section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-height: 32rem;
	overflow-y: scroll;
	padding-right: 0.25rem;
}

.message-display-section:empty {
	display: none;
}

.no-messages {
	display: none;
}

.message-display-section:empty+.no-messages {
	display: block;
	color: #878787;
	font-size: 0.95rem;
	font-style: italic;
} */


.message {
	font-family: 'Roboto', sans-serif !important;
	white-space: pre-wrap;
	word-wrap: break-word;
	font-size: 0.95rem;
}

.write-message {
	font-size: 0.95rem;
	resize: none;
}

.message-date {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.8rem;
}

.user-type {
	display: flex;
	gap: 0.35rem;
	align-items: baseline;
	color: #4c4c4c;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.user-type i,
.dropdown-menu i {
	width: 1rem;
	text-align: center;
}

.user-instructions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-bottom: 0.15rem;
}

.message-parent {
	/* display: flex;
	flex-direction: column;
	gap: 0.4rem; */
	position: relative;
	background-color: #f2f2f2;
	border-radius: 0.25rem;
	padding: 0.65rem 0.65rem 0.4rem;
	border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.message-self {
	background-color: #626262;
	color: white;
}

.message-self .user-type {
	color: white;
}

.message-compose-section {
	display: flex;
	flex-direction: column;
}

.compose-elements {
	gap: 0.5rem;
}

.submit-message {
	padding: 0.5rem 1rem;
}

/* Show no-asnwer element when the answer element is empty */
/* .message-wrapper:has(.message-parent)+.message-compose-section .no-messages {
	display: block;
}

.no-messages {
	display: none;
	padding: 0.5rem;
	font-style: italic;
	font-size: 0.95rem;
} */

/* Show no-messages element when there are no messages */
.no-messages {
	display: none;
}

.message-wrapper:not(:has(.message-parent))+.message-compose-section .no-messages {
	display: block;
	padding: 0.5rem;
	font-size: 0.95rem;
	font-style: italic;
}

/* Show no-messages element when there are no messages */

/* Custom scrollbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */
::-webkit-scrollbar {
	width: 0.15rem;
	height: 0.25rem;
}

::-webkit-scrollbar-track {
	background-color: transparent;
}

::-webkit-scrollbar-thumb {
	background-color: rgb(160, 160, 160);
	outline: 1px solid rgb(134, 134, 134);
	border-radius: 0.5rem;
	cursor: pointer;
}

/* Custom scrollbar for webkit based browsers like Chrome, Safari and other Chromium based browsers */