body {
    font-family: "Roboto", sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    justify-content: center;
    height: 100vh;

}
.mid {/* Used by: Dashboard and content.php */
    background-color: #fff; /* Optional: Add a background color */
    padding: 0px;
    width: 100%;
    min-height: calc(100vh - 60px); /* Adjust height considering the header's height */
    box-sizing: border-box; /* Ensure padding is included in height/width */
}
.page_container {
    background: #fff;
	width:100%;

}

.header {
	background-image: url('../images/back1.png');
	background-position: center;
    background-color: #F1F6F9;
    padding: 0px;
    border-bottom: 1px solid #ccc;
    width: 100%;
    height: auto; /* Change this to auto for flexibility */
    z-index: 1000;
	
}

.backImage{
	background: url('../images/project_banner0.jpg') no-repeat top right;
	background-size: contain; /* Adjust size as needed */

}
.indexBackImage{
	background: url('../images/project_banner1.jpg') no-repeat top right;
	background-size: contain; /* Adjust size as needed */

}
/*---------------------------*/
.menu-button{
	background: url('../images/icon_menu_lines.png') no-repeat top left;
	background-size: 20px 20px; 
	height:20px;
	width:20px;
	margin-top:5px;
}
.menu-button:hover{
	background: url('../images/icon_menu_lines_hover.png') no-repeat top left;
	background-size: 20px 20px;
}
/*---------------------------------*/
.no-cursor {
    user-select: none;
    outline: none; /* Removes focus outline for better visual appeal */
    cursor: default; /* Changes cursor to the default pointer if needed */
}
/*--------------------------------*/
.front-small-pad{
	background: #fff;
    padding: 20px 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    width: 25%;
	margin:20px auto;
}
.front-small-pad input{
	display: block;
	width: 100%;
	padding: 8px;
	font-size: 14px;
	border-radius:6px;
	border:1px solid #999;
}
/*---------------------------------*/
.pad{
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 25%;
	margin:20px auto;


}
	.pad input, .pad select, .pad textarea {
        display: block;
		width: 100%;
		padding: 8px;
		font-size: 14px;
		border-radius:7px;
		border:1px solid #999;
    }
/*--------------------------------------------*/
.mid-pad{
    width: 65%;
    margin: 20px auto;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
		.mid-pad label{
			font-size: 15px;
			margin: 10px 0 0 0;
		}
		.mid-pad input[type="text"], .mid-pad input[type="email"], .mid-pad input[type="tel"], .mid-pad select, .mid-pad textarea {

            padding: 8px;
            font-size: 14px;
			border-radius:7px;
			border:1px solid #999;
        }
	.mid-pad input[type="file"] {
		padding: 8px 12px;
		border: 1px solid #ccc; /* Neutral border color */
		border-radius: 4px; /* Rounded corners */
		background-color: #f9f9f9; /* Light background */
		color: #333; /* Text color */
		font-family: Arial, sans-serif; /* Font styling */
		font-size: 14px; /* Font size for readability */
		cursor: pointer; /* Pointer cursor for interactivity */
		transition: background-color 0.3s, border-color 0.3s; /* Smooth transitions */
	}

	.mid-pad input[type="file"]:hover {
		background-color: #e6e6e6; /* Slightly darker background on hover */
		border-color: #999; /* Darker border on hover */
	}

	.mid-pad input[type="file"]:focus {
		outline: none; /* Remove default outline */
		box-shadow: 0 0 3px 1px rgba(0, 123, 255, 0.5); /* Blue shadow for focus */
		border-color: #007bff; /* Highlighted border on focus */
	}
/*-----------------------------------------*/
.big-pad{
    background: #fff;
    padding: 5px 20px 5px 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 95%;
    text-align: left;
}

.container-fluid {
    flex-wrap: wrap; /* Allow the content to wrap on smaller screens */
    justify-content: space-between;
    align-items: center; /* Center vertically */
}

.logo{
	display:block;
	float:left;
	margin:-20px 20px 0px 0px;
}
.client_logo{
	display:flex;
	float:right;
	margin:-15px 40px 0px 0px;
}


.dashboard_item{
	line-height:25px;
	margin:5px 0 5px 0;
	display:inline-block;

}
.topic_pad{
	border-radius:3px;
	padding:5px 5px 5px 8px;
	background:#dfeaf1;
	color:#003333;
	width:100%;
}
.menu-pad{
	display:block;
	border-radius:3px;
	padding:0px 5px 5px 8px;
	color:#003333;
	width:200px;
	height:auto;
}
.full-width{
	 width: calc((100% / 12 * 11) + (100% / 15));
}
.content-pad{
	/*display:none;*/
}
.left-menu-bar{
		width:20px;
		padding-top:10px;
		margin-top:-4px;
}
.menu-topic{
	display:block;
}
.front-pad{
	border-radius:8px;
	padding:5px 20px 5px 20px;
	/*background:#efefef;*/
	width:100%;
	
}
.front-pad a{
	display:block;
	background: url('../images/long_menu_back.png') no-repeat center, #384f55;
    color: #004678;
	font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    font-size: 13px;
	font-family: "Montserrat", sans-serif;
    margin-bottom: 5px;
    padding: 10px;
	text-align:center;
}

.front-pad a:hover{
	text-decoration:none;
	background: url('../images/long_menu_back_hover.png') no-repeat center, #536b70;
    color:white ;
}

.link_label{
	display:block;
	height:9px;
	margin-left:15px;
}
.notification{
		font-size:10pt;
		width:100%;
		background:#efefef;
		border-radius:7px;
		padding:5px;
}
.notification label{
	font-family: "Roboto", sans-serif;
	margin-left:5px;
}

.notification a{
	text-decoration:none;
	color:#1A4870;
}
.round-label {
    display: inline-block;
    background-color: red; /* Background color of the label */
    color: white; /* Text color */
    padding: 0px;
    text-align: center;
    width: 15px; /* Width of the circle */
    height: 15px; /* Height of the circle */
    line-height: 15px; /* Align the text vertically */
    border-radius: 50%; /* Make it round */
    font-size: 7pt;
    font-weight: bold;

}

#heading{
	font-weight:bold;
	margin:-15px 30px 0px 0px;
	color:#40534C;
	float:left;
	/*text-shadow:-1px -1px 1px rgba(0, 0, 0, 0.9);*/
}
/*===== Style for Pop Message box=============================*/
        /* Modal background */
        .modal {
            display: none; /* Initially hidden */
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);

        }
        
        .modal.show {
            display: flex; /* Enable flexbox when shown */
            justify-content: center;
            align-items: center;
        }
        
        /* Modal content */
        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            width: 300px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .modal-content h2 {
            margin: 0 0 10px;
        }
        .modal-content h4 {
            margin: 0 0 10px;
        }

        .modal-content p {
            margin-bottom: 20px;
        }

        .close-btn {
            background-color: #3498db;
            color: white;
            padding: 10px 15px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
        }
/*=========== End of Pop Messages ===========================*/

.status{
	font-family: "Roboto Slab", serif;
	font-weight:400;
	display:block;
	float:right;
	margin:5px 0px 20px 0px;
	font-size:10pt;
}

h1, h2, h3 {
color: #16325B;
font-family: 'Montserrat', sans-serif;

}
h4, h5, h6 {
color: #16325B;
font-family: 'Montserrat', sans-serif;
}
h1.title{
	font-size:34pt;
}
.small_links{
	text-decoration: none;
    color: #3498db;
	font-size:9pt;
}
a {
    text-decoration: none;
    color: #3498db;
}


/*========================================*/

button.tiny{
	width: 50px;
    padding: 3px;
    background-color: #295F98;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
	font-size:8pt;
}
.buttonAsLink{
	background-color: #fff;
    border: none;
    padding: 3px;
    display: inline-block;
    width: fit-content;
	color:#007bff;
	font-size:12px;
	cursor: pointer;
	padding:2px 5px;
	/*transition: background-color 0.3s, color 0.3s;*/
}

.buttonAsLink:hover{
	background-color:#dedede ;
	color:#000;
}
button{
	width: 100%;
    padding: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
	font-size:10pt;
}

button:hover{
    background-color: #009dff;
}

table.default{
	border-collapse: collapse;
	width:100%;
	color:#333;
}
.default th, td{
	border: 1px solid #999;
	padding:2px;
	font-size:9pt;
}
.default th{
	text-align:center;
	background:#D1E9F6;
}
.commands{
	display:block;
	color:#2e6a8a;
	margin:2px 3px 8px 0;
	font-size:10pt;
}
.commands a{
	margin-right:10px;
}

.form-group {
    margin-bottom: 15px;
}

.amountFields{
	font-family:"Courier Prime", monospace;
	text-align:right;
	font-size:18px;
	border:1px solid #999;
	border-radius:5px;
	width:170px;
	margin:5px 0;
	padding:2px 0;
}
.textField{
	font-family:"Roboto", sans-serif;
	font-size:18px;
	border:1px solid #999;
	border-radius:5px;
	width:230px;
	margin:5px 0;
	padding:2px 0;

}

#error_message {
    text-align: center;
    font-size: 14px;
    color: red;
}

/*========== Shiny images ============*/
.image-shiny {
    position: relative;
    display: flex;
    overflow: hidden;
}

.image-shiny img {
    display: block;
}

.image-shiny::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.0),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.6),
		rgba(255, 255, 255, 0.1),
		rgba(255, 255, 255, 0.0)
    );
    transform: translateX(-100%);
    transition: transform 1s ease;
    pointer-events: none; /* Prevent interaction with the overlay */
}

.image-shiny:hover::after {
    transform: translateX(100%);
}

/*====Responsive Table =============*/
/* Basic Table Style for Larger Screens */
/* Basic Table Style for Larger Screens */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th, 
.responsive-table td {
    border: 1px solid #aaa;
    padding: 8px;
	font-family:"Roboto", sans-serif;
	font-size:12px;
}

.responsive-table th {
    background-color: #f2f2f2;
    text-align: center;
}

/* Accordion Header Style */
.accordion-header {
    background-color: #e0e0e0;
    font-weight: bold;
    cursor: pointer;
    padding: 6px 10px;
	display:none;
}

/* Optional: Accordion Expand Style */
.responsive-table tr {
    cursor: pointer;
}

.responsive-table tr.active td {
    display: block;
	
}
/*===== Filter Box ============*/
.filter-box {
	display: flex;
	flex-wrap: wrap; /* Allow items to wrap onto the next line */
	justify-content: center;
	background: #CCE0AC;
	padding: 8px 15px;
	border-radius: 8px;
	align-items:center;

}
.filter-box label {
	margin-right: 10px; /* Space between label and inputs */
	white-space: nowrap; /* Prevent label from breaking */
}
.filter-box button {
	background-color: #425f91;
	color: white;
	padding: 8px 10px;
	border: none;
	cursor: pointer;
	width: 100px;
	font-size: 13px;
	margin:3px 10px 3px 0;
}

.filter-box input[type="text"], 
.filter-box input[type="number"], 
.filter-box input[type="date"], 
.filter-box select {
	margin: 5px 10px 0 0; /* Space between inputs and buttons */
	padding: 8px; 
	border: 1px solid #ccc; 
	border-radius: 10px;
	flex: 1; /* Make inputs grow to fill the space */
	min-width: 120px; /* Minimum width to avoid too small inputs */
	box-sizing: border-box; /* Include padding and border in element's total width */
}

/*=========== below are the re-formed styles ===============================*/
	.submit-btn {/* latest*/
			position: relative;
			display: inline-block;
            background-color: #425f91;
            color: white;
            padding: 8px 10px;
            border: none;
            cursor: pointer;
            width: 150px;
            font-size: 13px;
			margin:3px 0 3px 0;
			overflow: hidden;
	}
.submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.1)
    );
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none; /* Prevents interaction with the shiny effect */
}

	.submit-btn:hover::after {
		transform: translateX(100%);
	}

    /*.submit-btn:hover {
			background-color: #93a9ce;
    }*/
.icon-btn {/* latest*/
            background-color: #fff;
            color: #333;
            padding: 8px 10px;
			border-radius:5px;
            border: none;
            cursor: pointer;
            width: 120px;
            font-size: 13px;
			margin:2px 0 3px 0;
	}
.icon-btn:hover{
	border: 1px solid #999;
	background-color: #fff;
}


.tiny-button{
    padding:3px;
    border-radius:5px;
    cursor: pointer;
    width:23px;
    Height:23px;
}
.tiny-button:hover{
    background-color: #aaa;
}



/*=======================================================*/
.two-column-container {/* latest*/
		display: flex;
		flex-direction: row; /* Aligns children in a row */
		justify-content: space-between; /* Optional: Adds space between left and right sections */
		width: 100%; /* Ensure it spans the width of the container */
		margin:5px 0 10px 0;
	}
.two-column-container label{
		font-family:"Roboto", sans-serif;
		font-size:15px;}

.left-section, .right-section {
    flex: 1; /* Both sections take up equal space */
    display: flex;
    flex-direction: column;
    padding: 10px; /* Optional: Add padding inside the columns */
}

.left-section {
 /* Optional: if you want extra margin on the left */
	border-radius:10px 0 0 10px;
}

.right-section {
	border-radius:0 10px 10px 0;
    /* No need for extra margin here since gap is already set */
}
/*=================================================================*/
	.currency-format{
		font-family:'Roboto Mono', monospace;
		/*font-weight:bold;*/
		font-size:18px;
	}
/*========================================*/
		.trapezoid-label {
            width: 70%;
            height: 0;
            border-bottom: 25px solid #425f91; /* Color of the trapezoid */
            border-left: 0px solid transparent; /* Slanted left side */
            border-right: 30px solid transparent; /* Slanted right side */
            text-align: left;
            position: relative;
			border-radius:10px 5px 0 0;
			padding-left:7px;
        }
        .trapezoid-label span {
            position: absolute;
            bottom: -23px; /* Adjusts the position of the text inside */
            left: -30px;
            right: 0;
            font-size: 13px;
            color: white;
        }
		
		.trapezoid-input input[type="text"] {
			font-size:14px;
			padding:0px 7px;
			text-align:left;
			width:95%;
			border:1px solid #257180;
			border-radius:0 5px 5px 5px;
			margin-right:10px;
			height:35px;
        }
/*======================*/
.forms label{
	font-family:"Roboto", sans-serif;
	font-size:15px;
	margin-top:12px;
	width:100%;

}
.forms button{
	position: relative;
    display: inline-block;
	background-color: #425f91;
	color: white;
	padding: 8px 10px;
	border: none;
	cursor: pointer;
	width: 150px;
	font-size: 13px;
	margin:3px 0 3px 0;
	overflow: hidden;
}
.forms input[type="text"], .forms select, .forms input[type="tel"], .forms input[type="email"], .forms input[type="password"]{
	font-family: "Roboto Slab", serif;
	font-size:14px;
	padding:0px 7px;
	text-align:left;
	width:100%;
	border:1px solid #999;
	border-radius:8px;
	height:35px;
}
.forms textarea{
	display: block;
	padding:3px 7px 3px 7px;
	width: 100%; /* Sets width relative to the container */
	max-width: 600px; /* Optional max width */
	height: 200px; /* Set the height */
	max-height: 400px; /* Optional max height */
	padding: 10px; /* Space inside the textarea */
	resize: both; /* Allows resizing */
	font-size: 14px; /* Text size */
	box-sizing: border-box; /* Includes padding in width/height */

}
.forms input[type="number"]{
	font-size:18px;
	padding:2px 3px;
	text-align:right;
	border:1px solid #555;
	border-radius:5px;
	width:50%
}
.forms label.required:after{
		content: " *";
		color: red;
}
/*======= Accordion Structure ==============*/
	.accordion {
		margin-bottom: 10px;
		border: 1px solid #ccc;
		border-radius: 5px;
	}
	.accordion-header, .accordion-bar{
		font-family:"Montserrat",sans-serif;
		font-size:15px;
		padding: 7px 10px 7px 10px;
		background: #c1cfe8;
		cursor: pointer;
		font-weight: 600;
		display: flex;
		justify-content: space-between;
		
	}
	.accordion-content {
		font-family:"Roboto Slab",sans-serif;
		padding: 15px;
		display: none;
		border-top: 1px solid #ccc;

	}
	.accordion-content.active {
		display: table-row;
	}
	
	.accordion-header.active + .accordion-content {
		display: table-row;
	}
	.field-group {
		margin-bottom: 10px;
	}
	.field-label {
		margin-left: 10px;
		color: #555;
	}
	.field-value {
		font-weight: bold;
	}

	.edit-button{
		background: url('../images/icon_pencil.png') no-repeat top left;
		background-size: 15px 15px; 
		width:15px;
		height:15px;
		padding-top:6px;
	}
@media (max-width: 576px) { /* Adjust this size as per your needs */
	.left-menu-bar{
		margin-top:-15px;
	}
	.topic_pad{
		margin-top:-10px;
	}
	.forms input[type="number"]{
		width:100%;
	}
	.two-column-container {
		display:flex;
        flex-direction: column;
		width:100%;
    }
    
    .right-section {
        order: 2; /* Ensure it appears below left-section */
		border-radius:0 0 10px 10px;
		width:100%;
	}
	.left-section {
        order: 2; /* Ensure it appears below left-section */
		border-radius:10px 10px 0 0;
		width:100%;
	}
	
	.responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    .responsive-table td {
        display: none; /* Hide table data by default */
        padding-left: 30%;
        position: relative;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .responsive-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 100%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
    }

    /* Only show the accordion header initially */
    .responsive-table td.accordion-header, td.accordion-bar {
        display: flex;
		justify-content:space-between;
        background-color: #e0e0e0;
        padding-left: 10px;
    }

    /* Show the rest of the table data when the row is active */
    .responsive-table tr.active td {
        display: flex;
		justify-content:space-between; /* Show data when row is active */
		min-height:35px;
	}
	.responsive-table tr.active td.hiddenOnSmall {
        display: none; /* Show data when row is active */
    }
	.menu-pad{
		width:calc(100% - (100% / 15));
		margin-bottom:-20px;
	}
	.mid-pad, .pad, .big-pad{
		width:100%;
		margin-top:10px;
	}
	.commands{
		display:flex;
		justify-content:center;
	}

	.header{
		
	}
	.backImage {
        background-image: none; /* Remove the background image on smaller screens */
	}
	.indexBackImage{
		background-image: none;
	}
	.status {
            display:block;
			font-size: 12px;
			text-align:center;
			height:0;
    }	
	.col-md-2-status{
		height:25px;
	}
	.col-sm-4-mdLogo{
		margin-top:-15px;
		margin-bottom:15px;
	}
    .col-md-2-logo{
		margin-top:25px;
	}
	#heading {
            font-size: 25px;
			text-align:center;
			height:0;
    }
	.items-container {
        display: flex;
        justify-content: center; /* Center the logo horizontally */
        width: 100%; /* Ensure it takes up full width */
	}
	
	.logo {
        padding-top:10px;
		width: 80px; /* Adjust size if necessary */
	}
	.client_logo{
		width: 100px;
	}
	.siteGreeting{
		font-size:20px;
	}
	.front-small-pad{
		width: 90%;
	}
	.filter-box {
		flex-direction: column; /* Stack elements vertically on small screens */
	}
	.filter-box input[type="text"], 
	.filter-box select {
		width: 100%; /* Full width for inputs and selects */
	}
	.filter-box label {
		margin-bottom: 0px; /* Space below labels */
	}
	.filter-box button{
		width:100%;
		margin: 4px 0 5px 0;
	}

}
@media (min-width: 658px) {
	
    .mid-pad, .pad{
        width:75%;
    }
	.front-small-pad{
		width: 55%;
	}
	.responsive-table td.hiddenOnLarge{
		display:none;
	}
}

@media (min-width: 768px) {
    .mid-pad, .pad{
        width:75%;
    }
	.front-small-pad{
		width: 45%;
	}
	.responsive-table td.hiddenOnLarge{
		display:none;
	}
}

@media (min-width: 992px) {
    .pad{
        width:35%;
    }
	.front-small-pad{
		width: 35%;
	}
	.responsive-table td.hiddenOnLarge{
		display:none;
	}
}

@media (min-width: 1300px) {
    .pad{
        width:30%;
    }
	.front-small-pad{
		width: 25%;
	}
	.responsive-table td.hiddenOnLarge{
		display:none;
	}
}

