﻿
/* -------------------- Basic HTML tags -------------------- */

body {
	font: 12px/1.5 "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	color: #444444;
	background-color: #f6f6f6;
	}

a:focus {
	outline: 1px dotted invert;
	}

hr {
	border-color: #ccc;
	border-style: solid;
	border-width: 1px 0 0;
	clear: both;
	height: 0;
	}

.header-main {
	overflow: hidden;
}

.logo-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.site-logo {
	font-family: Arial, sans-serif;
	font-size: 40px;
	font-style: italic;
	font-weight: bold;
	color: white;
	text-shadow: 2px 2px 5px black;
	padding-right: 7px;
}

.logo-container ul#nav {
	display: flex;
	margin-top: 60px;
}

.logo-container #nav li {
	list-style: none;
}

	.logo-container #nav li a {
		text-decoration: none;
		color: white;
	}

.logo-container li:empty {
	display: none;
}
@media (max-width: 768px) {
	.logo-container {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-logo {
		position: absolute;
		top: 0;
		left: 10px;
		font-size: 30px;
	}
}
h1 {
	font-size: 30px;
	letter-spacing: -1.5px;
	}

h2 {
	font-size: 24px;
	letter-spacing: -1px;
	}

h3 {
	font-size: 18px;
	}

h4 {
	font-size: 14px;
	}

h5 {
	font-size: 12px;
	}

h6 {
	font-size: 10px;
	}

ol {
	list-style: decimal;
	list-style-position: inside;
}

ul.bullets {
	list-style: disc;
	list-style-position: inside;
	}

ul.bullets li {
	margin-left: 20px;
	margin-bottom: 5px;
	}

p,
dl,
hr,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
pre,
table,
address,
fieldset {
	margin-bottom: 15px;
	}

a, 
a:visited { 
	color:#0063be; text-decoration: none; 
	}

a:hover, a:active { 
	text-decoration: underline; 
	}

h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited, h5 a, h5 a:visited, h6 a, h6 a:visited { 
	color: #444444; 
	}

h1 a:hover, h1 a:active, h2 a:hover, h2 a:active, h3 a:hover, h3 a:active, h4 a:hover, h4 a:active, h5 a:hover, h5 a:active, h6 a:hover, h6 a:active { 
	color:#0063be; 
	}




/* --------------------  Custom general classes -------------------- */

.align-left    { text-align: left; }
	
.align-right   { text-align: right; }
	
.align-center  { text-align: center; }
	
.align-justify { text-align: justify; }
	
.float-left    { float: left; }
	
.float-right   { float: right; }

.bottom-spacing { margin-bottom: 20px; }




/* -------------------- Page elements -------------------- */



#header { 
	margin-bottom: 20px; 
	}

#header-status {
	background: #000000; 
	padding: 0; 
	color: #aaaaaa;
	}
	
#text-invitation {
	display: block; 
	float: left; 
	padding: 9px 0 11px 0;
	}

#message-notification {
	display: block; 
	float: left; 
	background: url(../images/mail-q-bg.jpg) top left no-repeat; 
	color: #6dc6e7; 
	padding: 9px 0 11px 0; 
	text-decoration: none; 
	margin-left: 10px;
	}
	
#message-notification span { 
	color: #444444; 
	margin-right: 15px; 
	text-align: center; 
	display: block; 
	float: left; 
	width: 32px; 
	}
	
#message-notification a:hover, 
#message-notification a:active { 
	color: #ffffff; 
	}

.faqlink {
	color: #6dc6e7 !important;
	padding: 9px 20px 11px 0px;
	text-decoration: none;
	font-weight:bold;
}
a#logout,
a#logout:visited {
	display: block;
	float: right;
	background: url(../images/icon-logout.gif) center right no-repeat;
	color: #6dc6e7;
	padding: 9px 20px 11px 0px;
	text-decoration: none;
}
	
a#logout:hover, 
a#logout:active { 
	color: #ffffff; 
	}
	
#header-main { 
	background: #005195 url(../images/themes/blue/header-bg.jpg) repeat-x top left;
	height: 94px;
	}
	
#header-main #logo { 
	background: url(../images/themes/blue/logo.gif) no-repeat left 10px; 
	width: 100%; 
	height: 70px; 
	}
	
#subnav {
	background: #ffffff url(../images/submenu-bg.gif) repeat-x bottom left;
		height: 48px;
	}
	
#subnav ul { 
	list-style: none;
	margin: 0;
	padding: 0;

	}
	
#subnav ul li { 
	float: left; 
	margin: 0 18px 0 0; 
	padding: 0;
	}
	
#subnav ul a, 
#subnav ul a:visited { 
	display:block;
	float: left;
	color:#0063be; 
	font-size: 14px; 
	padding: 9px 0 0 0;
	text-decoration: none; 
	}
	
#subnav ul a:hover, 
#subnav ul a:active { 
	text-decoration: underline; 
	}

#footer {
	padding: 0; 
	color: #aaaaaa; 
	padding: 12px 0 15px 0; 
	margin-top: 30px; 
	border-top: 1px solid #cccccc;
	}



/* -------------------- Nav tabs (sliding door technique) -------------------- */


ul#nav { 
	float: left; 
	margin-top: 60px; 
	list-style: none; 
	font-size:14px; 
	margin-bottom: 0;
	
	}

ul#nav li {
	background:transparent url(../images/themes/blue/tab-left.gif) no-repeat scroll left top;
	float:left;
	margin:0 5px 0 0;
	padding:0 0 0 9px;
	}

ul#nav li a, ul#nav li a:visited {
	background:transparent url(../images/themes/blue/tab-right.gif) no-repeat scroll right top;
	color:#FFFFFF;
	display:block;
	float:left;
	padding:7px 15px 6px 6px;
	text-decoration:none;
	}

ul#nav li a:hover {
	padding:8px 15px 5px 6px;
	}

ul#nav li#current, ul#nav li.current { /* give the id="current" to the currently selected tab */
	background:transparent url(../images/themes/blue/tab-active-left.gif) no-repeat scroll left top;
	}

	ul#nav li#current a, ul#nav li.current a {
		background: transparent url(../images/themes/blue/tab-active-right.gif) no-repeat scroll right top;
		color: #444444;
	}




/* -------------------- Box module -------------------- */

div.module { 
	background: url('../images/module-body-left-bg.gif') repeat-y scroll bottom left; 
	float: left; 
	width: 100%; 
	margin-bottom: 20px; 
	}
	

div.module div.module-body { 
	background: url('../images/module-body-right-bg.gif') repeat-y scroll bottom right; 
	/*padding: 20px 3% 20px 3%; float: left; width: 94%;*/
padding: 5px 1% 5px 1%; float: left; width: 100%;
	}

/* Percentage padding in the module dependant on the cell width */
.grid_1 div.module div.module-body  { padding: 20px 8% 20px 8%; float: left; width: 84%; }
.grid_2 div.module div.module-body  { padding: 20px 7% 20px 7%; float: left; width: 86%; }
.grid_3 div.module div.module-body  { padding: 20px 6% 20px 6%; float: left; width: 88%; }
.grid_4 div.module div.module-body  { padding: 20px 5% 20px 5%; float: left; width: 90%; }
.grid_5 div.module div.module-body  { padding: 20px 4% 20px 4%; float: left; width: 92%; }
.grid_6 div.module div.module-body  { padding: 20px 3% 20px 3%; float: left; width: 94%; }
.grid_7 div.module div.module-body  { padding: 20px 2.75% 20px  2.75%; float: left; width: 94.5%; }
.grid_8 div.module div.module-body  { padding: 20px 2.5% 20px 2.5%; float: left; width: 95%; }
.grid_9 div.module div.module-body  { padding: 20px 2.25% 20px 2.25%; float: left; width: 95.5%; }
.grid_10 div.module div.module-body { padding: 20px 2% 20px 2%; float: left; width: 96%; }
.grid_11 div.module div.module-body { padding: 20px 1.75% 20px 1.75%; float: left; width: 96.5%; }
/*.grid_12 div.module div.module-body { padding: 20px 1.5% 20px 1.5%; float: left; width: 97%; }*/
.grid_14 div.module div.module-body { padding: 20px 1.5% 20px 1.5%; float: left; width: 97%; }
.grid_15 div.module div.module-body  { position:relative; padding: 20px 2.5% 20px 2.5%; float: left; width: 95%; }

	
div.module div.module-table-body { 
	background: url('../images/module-body-right-bg.gif') no-repeat scroll bottom right; 
	padding: 0; 
	float: left; 
	width: 100%;
	/*background-color:#D5EFF5; */
	}

	
div.module h2 { 
    /* Sliding right image */
    background: url('../images/module-header-left-bg.gif') no-repeat scroll top left; 
	display: block;
	float: left;
	height: 32px; /* CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */
	margin-right: 0px;
	padding-right: 0px; /* CHENGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */
	/* FONT PROPERTIES */
	text-decoration: none;
	color: #444444;
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:bold;
	width: 100%;
	margin-bottom: 0;
	letter-spacing: normal
	}

div.module h2 span { 
	/* Background left image */ 
	background: url('../images/module-header-right-bg.gif') no-repeat top right; 
	display: block;
	line-height: 20px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
	padding: 7px 0 5px 18px;

	}

div.module table {
	width: 100%; 
	margin: 0 0 10px 0;
	border-left: 0px solid #d9d9d9;
	border-bottom: 0px solid #d9d9d9;
	border: 0px solid #d9d9d9;
	}

div.module table.tr {
	border-collapse: separate;
	border-right: 0px solid #aaaaaa;
	border-left: 0px solid #aaaaaa;
	}

div.module table th {
	background-color: #eeeeee;
	color: #444444;
	padding: 5px;
	text-align: left;
	border-right: 0px solid #d9d9d9;
	border-bottom: 0px solid #d9d9d9;
	}
	
div.module table td 
{
	border-bottom: 0px solid #DCD6D6;
border-top: 1px solid white;
background-color:#D5EFF5;
	padding: 5px;
	/*
    #background-color: #ffffff;
	#border-right: 0px solid #d9d9d9;
	#border-left: 0px solid #d9d9d9;
    */
	}
	
	div.simpletable table td 
    {
	border-bottom: 0px solid #DCD6D6;
border-top: 1px solid white;
background-color:#D5EFF5;
	padding: 4px;
	font-family:arial,Verdana, Helvetica, sans-serif;
	font-size:12px;
	color:black;
	}

div.module table tr.odd td { /* You can use this style if you want to do zebra-colored tables with other technique than Table Sorter script used here */
	background-color: #f1f5fa;
	
	}
	
.table-apply {
	width: 40%; float: right; text-align: right; margin-right: 10px;
	}


/*===================================================*/






div.module2 { 
	background: url('../images/module-body-left-bg.gif') repeat-y scroll bottom left; 
	float: left; 
	width: 100%; 
	margin-bottom: 20px; 
	}
	

div.module2 div.module-body { 
	background: url('../images/module-body-right-bg.gif') no-repeat scroll bottom right; 
	padding: 20px 3% 20px 3%; float: left; width: 100%;
	}


div.module2 div.module-table-body { 
	background: url('../images/module-body-right-bg.gif') no-repeat scroll bottom right; 
	padding: 0; 
	float: left; 
	width: 100%; 
	}

	
div.module2 h2 { 
    /* Sliding right image */
    background: url('../images/module-header-left-bg.gif') no-repeat scroll top left; 
	display: block;
	float: left;
	height: 32px; /* CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */
	margin-right: 0px;
	padding-right: 0px; /* CHENGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */
	/* FONT PROPERTIES */
	text-decoration: none;
	color: #444444;
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:bold;
	width: 100%;
	margin-bottom: 0;
	letter-spacing: normal
	}

div.module2 h2 span { 
	/* Background left image */ 
	background: url('../images/module-header-right-bg.gif') no-repeat top right; 
	display: block;
	line-height: 20px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
	padding: 7px 0 5px 18px;

	}

div.module2 table {
	width: 100%; 
	margin: 0 0 10px 0;
	border-left: 0px solid #d9d9d9;
	border-bottom: 0px solid #d9d9d9;
	border: 0px solid #d9d9d9;
	}

div.module2 table.tr {
	border-collapse: separate;
	border-right: 0px solid #aaaaaa;
	border-left: 0px solid #aaaaaa;
	}

div.module2 table th {
	background-color: #eeeeee;
	color: #444444;
	padding: 5px;
	text-align: left;
	border-right: 0px solid #d9d9d9;
	border-bottom: 0px solid #d9d9d9;
	}
	
div.module2 table td 
{
	border-bottom: 2px solid white;


	padding: 5px;
	/*
    #background-color: #ffffff;
	#border-right: 0px solid #d9d9d9;
	#border-left: 0px solid #d9d9d9;
    */
	}

div.module2 table tr.odd td { /* You can use this style if you want to do zebra-colored tables with other technique than Table Sorter script used here */
	background-color: #f1f5fa;
	
	}
	
	
	
	
/* -------------------- Pager -------------------- */
.pager {
	display: block; padding: 0px 10px 10px 10px;  width: 40%; float: left; 
	}

.pager .first,
.pager .prev,
.pager .next,
.pager .last {
	margin-bottom: -2px;
	}





/* -------------------- Button (sliding door technique) -------------------- */

/* button outside a module box */
a.button {
    /* Sliding right image */
    background: transparent url(../images/button-right-bg-m.gif) no-repeat scroll top right; 
	display: block;
	float: left;
	height: 26px; /* CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */
	padding-right: 11px; /* CHENGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */
	/* FONT PROPERTIES */
	text-decoration: none;
	color: #444444;
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	}
	
a.button span {
	/* Background left image */ 
	background: transparent url(../images/button-left-bg-m.gif) no-repeat top left; 
	display: block;
	line-height: 15px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
	padding: 4px 0 7px 10px;
	}

a.button:hover { 
	background-position: bottom right; color:#0063be; 
	}

a.button:hover span{
	background-position: bottom left;
	color:#0063be;
	}

/* button inside a module box */
div.module a.button {
    /* Sliding right image */
    background: transparent url(../images/button-right-bg.gif) no-repeat scroll top right; 
	display: block;
	float: left;
	height: 26px; /* CHANGE THIS VALUE ACCORDING TO IMAGE HEIGHT */
	padding-right: 11px; /* CHENGE THIS VALUE ACCORDING TO RIGHT IMAGE WIDTH */
	/* FONT PROPERTIES */
	text-decoration: none;
	color: #444444;
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	}
	
div.module a.button span {
	background: transparent url(../images/button-left-bg.gif) no-repeat top left; 
	display: block;
	line-height: 15px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
	padding: 4px 0 7px 10px;
	}



/* -------------------- Pagination -------------------- */

.pagination { margin-bottom: 20px; float: right;  }
.pagination a.button { margin-right: 10px; }
.pagination a.last { margin-right: 0; }
.pagination .numbers { float: left; padding-top: 3px; margin-right: 15px; }
.pagination .numbers span { padding: 0 5px 0 5px; } 
.pagination .current { font-weight: bold; }




/* -------------------- Forms -------------------- */

fieldset {
	margin-top: 15px; 
	margin-bottom: 15px; 
	}
	
legend {
	margin-bottom: 10px; 
	display: block; 
	}
	
label { 
	display: block; 
	margin-bottom: 5px; 
	}
	
.input-short,
.input-medium,
.input-long { 
	padding: 3px; 
	}
	
select { 
	padding: 2px; 
	}
	
textarea { 
	padding: 3px; 
	}
	
.input-short { 
	width: 25% 
	}
	
.input-medium { 
	width: 50% 
	}
	
.input-long { 
	width: 75% 
	}
	
input.input-short,
input.input-medium,
input.input-long, 
select, 
textarea {
	background: url(../images/input-bg.gif) top left repeat-x #f6f6f6;
	border: 0;
	border: 1px solid #cccccc;
	}

input.input-short:focus,
input.input-medium:focus,
input.input-long:focus, 
select:focus, 
textarea:focus {
	background: url(../images/input-bg-focus.gif) top left repeat-x #ffffff;
	border-color: #a9c2d1;
	}


input.submit-green { 
	background: url(../images/submit-green-bg.gif) top left repeat-x; 
	border: 0; 
	border-top: 1px solid #6bd091; 
	border-left: 1px solid #6bd091; 
	border-right: 1px solid #349c5c; 
	border-bottom: 1px solid #349c5c; 
	color: #ffffff; 
	font-size: 14px; 
	padding: 2px 12px; 
	margin: 0px 10px 0 0;
	cursor: pointer;
	}

input.submit-green-hover { 
	background-image: url(../images/submit-green-bg-hover.gif);
	}

input.submit-gray { 
	background: url(../images/submit-gray-bg.gif) top left repeat-x; 
	border: 0; 
	border-top: 1px solid #cccccc; 
	border-left: 1px solid #cccccc; 
	border-right: 1px solid #888888; 
	border-bottom: 1px solid #888888; 
	color: #ffffff; 
	font-size: 14px; 
	padding: 2px 12px; 
	margin: 0px 10px 0 0;
	cursor: pointer;
	}

input.submit-gray-hover { 
	background-image: url(../images/submit-gray-bg-hover.gif); 
	}




/* -------------------- Text input and select input notifications -------------------- */

.notification-input {
	background:10px 50% no-repeat;
	margin: 0 0 0 5px;
	padding:5px 0 5px 32px;
	font-size: 12px;
	}

.ni-correct {
	background-image:url(../images/tick-on-white.gif);
	color: #00ae42;
	}

.ni-error {
	background-image:url(../images/cross-on-white.gif);
	color: #c9282d;
	}




/* --------------------  Boxed notifications -------------------- */

.notification {
	display: block;
	padding: 20px 20px 20px 45px;
	border: 1px solid;
	margin-bottom: 20px;
	background-repeat: no-repeat;
	background-position: 20px 20px;
	}

.n-success {
	background-color: #a3e6bd;
	border-color: #68d59b;
	background-image: url(../images/notification-tick.gif);
	}

.n-information {
	background-color: #9fddea;
	border-color: #5fceea;
	background-image: url(../images/notification-information.gif);
	}

.n-attention {
	background-color: #f9e497;
	border-color: #ffcb4f;
	background-image: url(../images/notification-exclamation.gif);
	}

.n-error {
	background-color: #ffc6ca;
	border-color: #efb9c3;
	background-image: url(../images/notification-slash.gif);
	}

/* -------------------- Indicators -------------------- */


.indicator {
	width: 220px;
	height: 12px;
	background: url(../images/indicator-bg.gif) no-repeat top left;
	}

.indicator div {
	height: 12px;
	background: url(../images/indicator-green-to-red.gif) no-repeat top left;
	}

.indicator div.reverse {
	background: url(../images/indicator-red-to-green.gif) no-repeat top left;
	}




/* -------------------- Category list -------------------- */

a.removable, 
a.removable:visited {
	padding: 5px 18px 5px 0px;
	}

a.removable:hover, 
a.removable:active {
	background: url(../images/cross-small.gif) no-repeat center right;
	}




/* -------------------- To-do list -------------------- */

a.checkable, 
a.checkable:visited {
	padding: 5px 18px 5px 0px;
	}

a.checkable:hover, 
a.checkable:active {
	background: url(../images/tick-small.gif) no-repeat center right;
	}
	
a.completed, 
a.completed:visited {
	color: #aaaaaa;
	}




/* -------------------- Messages -------------------- */
.separated { 
	border-top: 1px solid #cccccc; 
	padding-top: 15px; 
	}
	
.user { 
	display: block; 
	padding-left: 22px; 
	background: url(../images/user.gif) left 50% no-repeat; 
	font-size: 14px; color: #666666; 
	font-weight: normal;  
	}
	
.user-female { 
	display: block; 
	padding-left: 22px; 
	background: url(../images/user-female.gif) left 50% no-repeat; 
	font-size: 14px; 
	color: #666666; 
	font-weight: normal;  
	}
	
.reply { 
	padding-left: 20px; 
	background: url(../images/arrow-curve-180-left.gif) left 50% no-repeat; 
	margin-right: 7px;
	}
	
.forward { 
	padding-left: 20px; 
	background: url(../images/arrow-curve-000-left.gif) left 50% no-repeat; 
	margin-right: 7px; 
	}
	
a.delete, 
a.delete:visited { 
	padding-left: 16px;
	background: url(../images/cross-small.gif) left 50% no-repeat; 
	color: #C00;  
	}

h3.mail { 
	display: block; 
	padding: 20px 0px 20px 70px; 
	background: url(../images/Crystal_Project_mail_open.gif) left 50% no-repeat;
	}
	
#p-messages {
	padding: 20px;
}





/* -------------------- Login page -------------------- */

form.login {
	background: url(../images/Crystal_Clear_locked.gif) 87% 10px no-repeat;
}





/* -------------------- Dashboard -------------------- */

a.dashboard-module, 
a.dashboard-module:visited { 
	width: 142px; 
	height: 142px; 
	display: block; 
	float: left; 
	background: url(../images/dashboard-module.gif) top left no-repeat; 
	margin: 0 8px 8px 0;  
	text-align: center; 
	color: #444444; 
	}
	
a.dashboard-module:hover, 
a.dashboard-module:active { 
	background-position: bottom left; 
	text-decoration: none; 
	color:#0063be; 
	}

a.dashboard-module img { 
	margin-top: 20px; 
	}
	
a.dashboard-module span { 
	margin-top: 10px; 
	display: block; 
	}

.highlight-border {
	border: 2px solid #f56565 !important;
}

input.submit-red {
	background: #FF0000;
	border: 0;
	border-top: 1px solid #FF0000;
	border-left: 1px solid #FF0000;
	border-right: 1px solid #FF0000;
	border-bottom: 1px solid #FF0000;
	color: #ffffff;
	font-size: 14px;
	padding: 2px 12px;
	margin: 0px 10px 0 0;
	cursor: pointer;
}

input.submit-red-hover {
	background: #8B0000;
}
/* FAQ Dialog Styles 
.faq-dialog {
	display: none;
	position: fixed;
	top: 5%;
	right: 0;
	width: 40%;
	height: 90%;
	background: white;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	overflow-y: auto;
	padding: 20px;
}

.faq-dialog-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.close-btn {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

.search-box {
	margin-bottom: 20px;
}

	.search-box input {
		width: 70%;
		padding: 10px;
		border: 1px solid #ccc;
		border-radius: 4px;
	}

	.search-box button {
		padding: 10px 20px;
		background: #007bff;
		color: white;
		border: none;
		border-radius: 4px;
		cursor: pointer;
	}

/* FAQ Popup Styles 
.faq-popup {
	display: none;
	position: fixed;
	bottom: 5px;
	right: 5px;
	width: 650px;
	max-width:100%;
    height: 95%;
	background: white;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	overflow: hidden;

}

.faq-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background: #eee;
	border-bottom: 1px solid #ccc;
}

	.faq-popup-header h3 {
		margin: 0;
		font-size: 18px;
	}

.close-btn {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

.add-new-btn {
	border-radius: 5px;
	font-size: 12px;
	font-weight: bold;
}

.faq-popup-body {
	padding: 10px;
	height:80vh;
}

.search-box {
	margin-bottom: 10px;
}

	.search-box input {
		width: 70%;
		padding: 5px;
		border: 1px solid #ccc;
		border-radius: 5px;
	}

	.search-box button {
		padding: 5px 10px;
		background: #007bff;
		color: white;
		border: none;
		border-radius: 5px;
		cursor: pointer;
	}

.faq-list {
	height: 90%;
	overflow-y: auto;
}

.faq-item {
	padding: 10px;
	border-bottom: 1px solid #eee;
}

	.faq-item h4 {
		margin: 0;
		font-size: 14px;
		font-weight:bold;
	}

	.faq-item p {
		margin: 5px 0;
		font-size: 12px;
		color: #555;
	}

	.faq-item .edit-link {
		float: right;
		color: #007bff;
		cursor: pointer;
		font-size: 12px;
	}

	.faq-item .read-more {
		color: #007bff;
		cursor: pointer;
		font-size: 12px;
	}

.faq-details {
	display: none;
}

	.faq-details h4 {
		margin: 0;
		font-size: 18px;
	}

	.faq-details p {
		margin: 10px 0;
		font-size: 14px;
		color: #555;
	}

.back-btn {
	background: none;
	border: none;
	color: #007bff;
	cursor: pointer;
	font-size: 14px;
}

.highlight {
	background-color: yellow;
	font-weight: bold;
}
/* Pagination Styles 
.faq-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	background: #fff;
	border-top: 1px solid #eee;
}

	.faq-pagination button {
		padding: 5px 10px;
		background: #007bff;
		color: white;
		border: none;
		border-radius: 5px;
		cursor: pointer;
	}

		.faq-pagination button:disabled {
			background: #ccc;
			cursor: not-allowed;
		}

#pageInfo {
	font-size: 14px;
	color: #555;
} */

/* Import Google Font */
/* FAQ Popup - Fixed Right Alignment */
.faq-popup {
	position: fixed;
	bottom: 5px;
	font-family: 'Poppins', sans-serif;
	right: 5px;
	width: 650px;
	max-width: 90%;
	height: 95vh; /* 80% of the viewport height */
	max-height: 95vh; /* Prevent overflow on very small screens */
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	display: none;
	animation: slideInRight 0.3s ease-in-out;
	z-index: 1000;
	flex-direction: column;
}

/* Popup Header */
.faq-popup-header {
	background: #007bff;
	color: white;
	padding: 15px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-weight: 600;
}

/* Close Button */
.faq-popup .close-btn {
	background: none;
	border: none;
	font-size: 24px;
	color: white;
	cursor: pointer;
	transition: transform 0.3s;
}

.faq-popup .close-btn:hover {
	transform: scale(1.2);
}

/* Add New Button */
.faq-popup .add-new-btn {
	background: #28a745;
	color: white;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.3s ease-in-out;
}

.faq-popup .add-new-btn:hover {
	background: #218838;
}
.faq-popup .back-btn {
	background: none;
	border: none;
	color: #007bff;
	cursor: pointer;
	font-size: 14px;
}

.faq-popup-body {
	flex-grow: 1;
	overflow-y: auto;
	padding: 15px;
	display: flex;
	flex-direction: column;
}

/* Search Box */
.faq-popup .search-box {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

#faqSearch {
	flex: 1;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
}

#searchFaqBtn {
	background: #007bff;
	color: white;
	border: none;
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
}

#searchFaqBtn:hover {
	background: #0056b3;
}

.faq-list {
	overflow-y: auto;
	padding: 10px;
	border-top: 1px solid #ddd;
	flex: 1; /* Allows it to take available space */
	max-height: calc(100% - 100px); /* Adjust based on header/footer */
	overflow-x: hidden;
}


/* FAQ Item */
.faq-item {
	background: #f8f9fa;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: transform 0.2s ease-in-out;
}

.faq-item:hover {
	transform: scale(1.02);
}
.faq-item p, .faq-item ul li {
	font-size:15px;
}
.faq-item h4, .faq-item h3, .faq-item h2, .faq-item h1 {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 5px;
}

/* Truncated Description */
.truncated-description {
	font-size: 14px;
	color: #555;
}

/* Read More & Edit Links */
.faq-popup .read-more,
.faq-popup .edit-link {
	font-size: 14px;
	color: #007bff;
	cursor: pointer;
	margin-right: 10px;
	transition: color 0.3s ease;
}

.faq-popup .read-more:hover,
.faq-popup .edit-link:hover {
	color: #0056b3;
}

/* FAQ Details - Scrollable */
.faq-details {
	display: none;
	padding: 15px;
	background: #fff;
	border-radius: 8px;
	animation: fadeIn 0.3s ease-in-out;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	flex-grow: 1; 
	overflow-y: auto; 
	max-height: 80vh; 
}
.faq-details table td{border:1px solid #eee; font-size:12px;}
	.faq-details table th {
		border: 1px solid #444444;
		background: #D5EFF5;
		font-size: 12px;
	}

.faq-details h4, .faq-details h1, .faq-details h2, .faq-details h3 {
	font-size: 18px;
	font-weight: 600;
	color: #007bff;
	margin-bottom: 10px;
}

.faq-details p {
	font-size: 15px;
	color: #444;
	line-height: 1.6;
}

/*****************************/

/* FAQ Title */
#faqDetailTitle {
	font-size: 24px;
	font-weight: bold;
	color: #222;
	border-bottom: 2px solid #007bff;
	padding-bottom: 10px;
	margin-bottom: 15px;
}

/* FAQ Description */
#faqDetailDescription {
	font-size: 16px;
	line-height: 1.7;
	color: #444;
	text-align: justify;
}

/* Lists */
#faqDetailDescription ul {
	list-style-type: none;
	padding: 0;
}

#faqDetailDescription ul li {
	padding-left: 25px;
	position: relative;
	margin-bottom: 10px;
	font-size: 15px;
	color: #555;
}

#faqDetailDescription ul li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: #007bff;
	font-weight: bold;
}

/* Strong Text */
#faqDetailDescription strong {
	color: #222;
	font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
	#faqDetails {
		padding: 20px;
	}

	#faqDetailTitle {
		font-size: 22px;
	}

	#faqDetailDescription {
		font-size: 15px;
	}
}

/* Animations */
@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.faq-popup {
		width: 90%;
		right: 5%;
	}

	.faq-popup-header {
		flex-direction: column;
		text-align: center;
	}

	.search-box {
		flex-direction: column;
	}

	#faqSearch {
		width: 100%;
	}
}

.faq-pagination {
	background: #f8f9fa;
	padding: 12px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-top: 1px solid #ddd;
	position: absolute;
	bottom: 0;
	width: 100%;
	left:0;
}

.faq-pagination button {
	background: #007bff;
	color: white;
	border: none;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	margin: 0 8px;
	transition: background 0.3s ease-in-out;
}

.faq-pagination button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.faq-pagination button:hover:not(:disabled) {
	background: #0056b3;
}


