@import url(https://fonts.googleapis.com/css?family=Lobster);
@import url(https://fonts.googleapis.com/css?family=Raleway:500,700,800,900);
@import url(https://fonts.googleapis.com/css?family=Numans);
@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hAc5a1biKi2CikE0n8H9.woff) format('woff');
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hAc5a13iKi2CikE0n8H9.woff) format('woff');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hAc5a1PiKi2CikE0nw.woff) format('woff');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Cairo';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/cairo/v28/SLXgc1nY6HkvangtZmpQdkhzfH5lkSs2SgRjCAGMQ1z0hAc5a1PiKi2CikE0nw.woff) format('woff');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
	box-sizing: border-box;
}

html,
body {
	font-family: 'Cairo', 'Numans', sans-serif;
	text-align: center;
	background-color: #dee2e6;
	max-height: 100%; 
	/* max-height:100vh ;
	min-height: 100vh; */
	/* min-height: -webkit-fill-available; */
	overflow-y: hidden;
	overflow-x: hidden;
}
.modal-header .close {
	padding: 0 ;
	margin: 0;
}
.main-container {
	background-image: url('/static/imgs/MENIA.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	/* background-attachment: fixed;  */
	background-position: center;
	/* min-height: 100vh; */
	/* max-height: 100vh; */

}
.text-end{
	text-align: end !important;
}

.container {
	align-content: center;
}


#toast-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    position: fixed; /* Ensure it's always visible */
    top: 50%; /* Position in the middle of the page */
	margin-top: 30px;
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for exact centering */
    z-index: 10000; /* Ensure it appears above other elements */
    pointer-events: none; /* Prevent interaction with the container */
}

.toast {
    padding: 15px 20px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    animation: fade-in-out 3s ease-in-out forwards;
    opacity: 0;
    pointer-events: auto; /* Allow interaction with individual toasts */
    text-align: center; /* Center text inside the toast */
    max-width: 80%; /* Ensure it doesn't exceed the screen width */
    word-wrap: break-word; /* Break long words if necessary */
}

.toast.success {
    background-color: #4caf50;
}

.toast.error {
    background-color: #f44336;
}

.toast.info {
    background-color: #2196f3;
}

@keyframes fade-in-out {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}


.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	
	/* Position the tooltip */
	position: absolute;
	z-index: 1;
	top: -5px;
	left: 105%;
  }
  
  .tooltip:hover .tooltiptext {
	visibility: visible;
  }

.row2 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: 5px;
	margin-left: 5px;
}
.tab-container {
	margin-right: 15px;
	margin-left: 15px;
}
.table_50vh {
	overflow-y: scroll;
	/* height: 50vh; */
	/* display: table; */

}

.form-check-label input[type='checkbox'] {
	margin-right: -50px !important;
}

.no-border thead tr th,
.no-border tbody tr td {
	border: none;
}

.card {
	/* margin-top: 20px; */
	margin-bottom: auto;
	width: 100%; 
	/* background-color:#eee; */
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

.card {
	overflow: auto;
	/* flex: 1; */
	/* Enables scrolling within the card if content overflows */
	margin-bottom: 0;
	/* Removes margin at the bottom of the card */
}

.card-header,
.card-footer {
	flex-shrink: 0;
	/* Prevents header and footer from shrinking */
}

.card-body {
	flex: 1;
	/* Allows the card body to expand and fill available space */
	overflow-y: auto;
	/* Enables vertical scrolling if content overflows */
}

.card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	transition: 0.3s;
	border-radius: 5px;
	/* 5px rounded corners */
}

.card:hover {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}



.card-body {
	padding: 1rem;
	display: flex; /* Set the card body to be a flex container */
    flex-direction: column; /* Stack children vertically */
    overflow-y: auto; /* Enable vertical scrolling within the card body */
    
}

.table-responsive {
    flex: 1; /* Allows the table container to expand and fill available space */
    display: flex;	
    flex-direction: column;
	overflow-x: auto; /* Enables horizontal scrolling if the content overflows */
    overflow-y: auto;
}
.container{
	padding: 1rem  1rem ;
}

.table-responsive > table {
    flex: 1; /* Allows the table to fill up the available space */
    /* display: block; Makes the table block-level so it respects the container's height */
    overflow-y: auto; /* Enables scrolling within the table if content overflows */
	overflow-x: auto; /* Enables scrolling within the table if content overflows */
    width: 100%; /* Ensure the table takes the full width */
    margin-bottom: 0; /* Removes margin at the bottom of the table */
}

.btn-success {
	background-color: #009688;
	/* Teal color */
	border: none;
}


._yb_1c5cw {
	border-radius: 50%;
	vertical-align: middle;
	height: 32px;
	width: 32px;
}

.notice-item:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
	/* opacity: 0.5; */
}

.notice-item-close-x {
	position: absolute !important;
	left: 5% !important;
	top: 5% !important;
	width: 24px !important;
	height: 24px !important;
	background: url("/static/imgs/close.png");
	background-size: 100% 100%;
	display: none;
	border: none !important;
}

.notice-item:hover .notice-item-close-x {
	display: block;
	cursor: pointer;
	opacity: 1;
}


.carousel img {
	object-fit: contain;
	object-position: center;
	overflow: hidden;
	height: 50vh;
}

#searchinput6 {
	width: 30px;
	box-sizing: border-box;
	border: 2px solid #ccc;
	border-radius: 4px;
	font-size: 12px;
	background-color: white;
	background-image: url('/static/imgs/searchicon.png');
	background-position: 10px 10px;
	background-repeat: no-repeat;
	padding: 10px 10px 10px 10px;
	/* -webkit-transition: width 0.4s ease-in-out;
		transition: width 0.4s ease-in-out; */
}



#searchinput:focus {
	width: 100%;
}

.social_icon span {
	font-size: 60px;
	margin-left: 10px;
	color: #FFC312;
}

.social_icon span:hover {
	color: white;
	cursor: pointer;
}
.card-header h3 {
	color: #333;
	float: right;
	font-weight: bolder;
	font-family: 'Cairo', Arial, Helvetica, sans-serif;
	margin: 0px 0px;
	padding: 0px 0px;
}
.social_icon {
	position: absolute;
	right: 20px;
	top: -45px;
}
input:focus {
	outline: 0 0 0 0 !important;
	box-shadow: 0 0 0 0 !important;
}
.remember {
	color: white;
}
.remember input {
	width: 20px;
	height: 20px;
	margin-left: 15px;
	margin-right: 5px;
}

.login_btn {
	color: black;
	background-color: #4CAF50;
	width: 30%;
}

.login_btn:hover {
	color: black;
	background-color: white;
}

.links {
	color: white;
}

.links a {
	margin-left: 4px;
}

.form-group {
	text-align: start;
}

.form-group label {
	color: #444;
	/* width: 100px; */
	text-align: start;
}



input[required] {
	background-image: radial-gradient(#F00 15%, transparent 16%), radial-gradient(#F00 15%, transparent 16%);
	background-size: 1.2em 1.2em;
	background-position: left center;
	background-repeat: no-repeat;
}

.g-recaptcha {
	display: inline-block;
	text-align: end;
}

.input-group-btn:last-child>.btn {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-top-left-radius: 4px !important;
	border-bottom-left-radius: 4px !important;
	border-right-width: 0px !important;
	border-left-width: 1px !important;

}

.input-group .form-control:first-child {
	border-top-right-radius: 4px !important;
	border-bottom-right-radius: 4px !important;
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;

}

#wrap {
	/*position: fixed;*/
	width: 100%;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	min-height: 90%;
	/* height: 100vh; */
	background-color: #f9f9f9;
}

/* @media (min-width: 992px) {
	#wrap {
	height: 100vh;
	}
  } */

.innercontent {
	min-height: 600px;
	/*background-color: darkgray;*/

}

.form-control {

	/* color:#444; */
	font-size: 13px;
	font-weight: bold;
	border-radius: 10px;
}

body,
a,
.dropdown-item {

	/* font-family: 	"Cairo" , "Arial","Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" ; */
	font-weight: bold;
}

.borderless td,
.borderless th {
	border: none;
}

#footer {

	margin-top: 20px;
	margin-bottom: 0px;
	padding-top: 1em;
	padding-bottom: 1em;
	width: 100%;
	color: white;
	text-align: center;
	direction: ltr;
	min-height: 10%;
	height: 10%;
}



.dropdown-item {

	text-align: start;
}

.nav-link {
	margin-right: 5px;
	margin-left: 5px;
	text-align: start;
}

.navbar {
	direction: rtl;
}

/* Fixes dropdown menus placed on the right side */
.comany_header {
	background-size: 80px;
	position: relative;
	display: flex
}

.comany_header a {
	margin-left: 10px;
	margin-right: 10px;
	color: #421a82
}

.bottom-left {
	position: absolute;
	bottom: 8px;
	left: 16px;
}

/* Top left text */
.top-left {
	position: absolute;
	top: 8px;
	left: 16px;
}

/* Top right text */
.top-right {
	position: absolute;
	top: 28px;
	right: 36px;
}

/* Bottom right text */
.bottom-right {
	position: absolute;
	bottom: 8px;
	right: 16px;
}

.table-wide td {
	padding: 0.5rem 0.1em;
}



.table-header {
	position: sticky;
	top: 0;
}

.table-container {

	height: 400px;
	overflow: auto;
}


.table input:not([type="checkbox"]),
.table select {
	display: block;
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	font-size: inherit;
	height: 35px;
	border-color: #ccc;
	/* font-weight: bold; */

}

.free-form td {
	border-top: none;

}

tr {
	height: 30px;
}

.table td,
.table th {
	padding: 0.3rem;
	vertical-align: middle;
	text-align: center;
	/* border-top: 1px solid #dee2e6; */
	/* border: 1px solid #dee2e6; */
}

.table {
	margin-top: 0.5rem;
	border-collapse: collapse;
	width: 100%;
	border-radius: 5px;
	overflow: hidden;
}

.table th,
.table td {
	/* text-align: left; */
	padding: 0.1rem;
	border-bottom: 1px solid #ddd;
}

.table-header , .table th {
	background-color: #e9ecef;
	/* This is a light grey color, you can choose any color you like */
}

.table tr:nth-child(even) {
	background-color: #f2f2f2;
}

.table tr:hover {
	background-color: #ddd;
}

.bg-gray {
	background-color: lightgray;
	color: #000;
}

.color1 {
	color: #421a82 !important
}

.color2 {
	color: #4CAF50 !important
}

.table td div {
	padding: 0.3rem;
	vertical-align: center;
	text-align: center;

	/* border-top: 1px solid #dee2e6; */

}

.loader {
	position: fixed;
	left: 45%;
	top: 40%;
	display: none;
	width: 100px;
	height: 100spx;
	z-index: 9999;
	display: none;
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #3498db;
	/* -webkit-animation: spin 2s linear infinite; */
	/* Safari */
	/* animation: spin 2s linear infinite; */
}

/* Safari */
@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}






.strike-blue {
	position: relative;
	text-align: center;

}

.strike-blue:before {
	position: absolute;
	content: "";
	left: 0;
	top: 45%;
	right: 0;
	border-top: 2px solid;
	border-color: red;
	-webkit-transform: rotate(-25deg);
	-moz-transform: rotate(-25deg);
	-ms-transform: rotate(-25deg);
	-o-transform: rotate(-25deg);
	transform: rotate(-25deg);
}

.strike-green {
	position: relative;
	text-align: center;
}

.strike-green:before {
	position: absolute;
	content: "";
	left: 0;
	top: 45%;
	right: 0;
	border-top: 2px solid;
	border-color: darkgreen;
	-webkit-transform: rotate(-25deg);
	-moz-transform: rotate(-25deg);
	-ms-transform: rotate(-25deg);
	-o-transform: rotate(-25deg);
	transform: rotate(-25deg);
}

.red_circle {
	position: relative;
	border-radius: 50%;
	border: 2px solid red;
	background: white;
	text-align: center;
}

.inner_circle {
	background-image: linear-gradient(to bottom, rgb(9, 112, 26) 0%,
			rgb(21, 255, 0) 100%);
	content: '';
	position: absolute;
	top: -20px;
	bottom: -20px;
	right: -20px;
	left: -20px;
	z-index: -1;
	border-radius: inherit;
}

.center_h_v {
	width: auto;
	height: auto;
	margin: 0 auto;
	padding: 50px;
	position: relative;
}

.vertical-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
}


.collapsible-result {
	background-color: #777;
	color: white;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border: none;
	text-align: start;
	outline: none;
	font-size: 15px;
}

.active-result,
.collapsible-result:hover {
	background-color: #555;
}

.submit-button {
	width: 150px;

}

.content-result {
	padding: 0 18px;
	width: 100%;
	display: none;
	overflow: hidden;
	background-color: #f1f1f1;
}


@media print {
	@page {
		size: auto;
		margin-top: 1cm;
		margin-bottom: 1cm;
		margin-right: 1cm;
		margin-left: 1cm;
	}

	table {
		page-break-inside: auto
	}

	tr {
		page-break-inside: avoid;
		page-break-after: auto
	}

	thead {
		page-break-inside: avoid;
		page-break-after: auto
	}

	tfoot {
		page-break-inside: avoid;
		page-break-after: auto
	}

	.pagebreak {
		page-break-before: always;
	}

	/* page-break-after works, as well */



	.table td,
	.table th {
		padding: 0.3rem;
		vertical-align: middle;
		text-align: center;

		/* border-top: 1px solid #dee2e6; */
		border: 1px solid #000;
	}

	.table tr {
		min-height: 20mm;
		max-height: 20mm;
		height: 20mm;

	}

	.table td {
		white-space: nowrap;
	}


}

.text-nowrap {
    white-space: nowrap;
}

.card-header {
    padding: .5rem 1.25rem !important;
    margin-bottom: 0;
   
}

[mf_client_report] {
    color: #007bff; /* Blue link color */
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
	text-align: right !important;
}