/* I always reset all the html elements */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
@font-face {
  font-family: open-sans;
  font-style: regular;
  font-weight: 400;
  src:  url('fonts/OpenSans/OpenSans-Regular.ttf') format('truetype');
}
@font-face {
  font-family: open-sansb;
  font-style: bold;
  font-weight: 700;
  src:  url('fonts/OpenSans/OpenSans-Bold.ttf') format('truetype');
}
@font-face {
  font-family: open-sansm;
  font-style: medium;
  font-weight: 500;
  src: url('fonts/OpenSans/OpenSans-Medium.ttf') format('truetype');
}
 header {
	/*border-bottom: 2px solid #ddd;*/
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	margin-top: 0px;
	color: #006dbc;
	max-height: 60px;
	background-image: linear-gradient(to right, white ,#AEDBDA);
}
.adminh {
display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	margin-top: 0px;
	color: #006dbc;
	max-height: 60px;
	background-image: linear-gradient(to right, white ,#F7C3A3);	
}
footer {	
	border-top: 2px solid #ddd;
	position: fixed;
	bottom: 0;
	width: 100%;
	color: #006dbc;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: AEDBDA;
  overflow: hidden;
}
.ad-topnav {
  background-color: AEDBDA;
  overflow: hidden;
}
/* Style the links inside the navigation bar */
.topnav a {
  float: right;
  color: black;
  text-align: center;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 17px;
  font-family: open-sansm;
  margin-top: 0px;
  margin-bottom: 0px;
  max-height: 35px;
  
  /* Add these flexbox properties */
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-topnav a {
  float: right;
  color: black;
  text-align: center;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 17px;
  font-family: open-sansm;
  margin-top: 0px;
  margin-bottom: 0px;
  max-height: 35px;
  
  /* Add these flexbox properties */
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #2FA1A1;
  color: white;
}
.ad-topnav a:hover {
  background-color: #F4B084;
  color: white;
}
/* Add a color to the active/current link */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

body{
	/* font-family: sans-serif; */
	font-family: open-sans;
	min-height: 100vh;
	color: #555;
	padding-top: 10px;
}

form, .page{
	max-width: 90%;
	border:  thin solid #e4e4e4;
	padding: 20px 40px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	margin: 0 auto;
}


form h2, .page h2{
	font-size: 32px;
	line-height: 52px;
	color: #555;
	margin-bottom: 5px;
}

form h4, .page h4{
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: thin solid #e4e4e4;
	line-height: 26px;
}


form h4 span{
	color: #af0c0c;
	font-weight: normal;
}

form > div{
	/*margin-bottom: 10px;*/
}

form .grid{
	display: grid;
	grid-template-columns: auto ;
	grid-column-gap: 50px;
}

form label{
	display: block;	
	margin-bottom: 10px;
	padding-left: 5px;
}

form input,textarea:enabled{
	display: block;
	width:  100%;
	padding: 10px;	
	margin-bottom: 10px;
	font-size: 16px;
	border:  thin solid #e4e4e4;
	margin-bottom: 30px;
	border-radius: 5px;
	background-color: #f0f0f0;
	resize: none;
}
form input,textarea:disabled{
	display: block;
	width:  100%;
	padding: 10px;	
	margin-bottom: 10px;
	font-size: 16px;
	border:  thin solid #e4e4e4;
	margin-bottom: 30px;
	border-radius: 5px;
	resize: none;
	
}
.response_normal {
    border: none;
    font-weight: bold;
    margin: 0;
    padding: 2px;
    font-size: 16px;
    text-align: left;
    background-color: #f0f0f0;
    width: 90%;
    height: auto;
    resize: none;
    overflow: hidden;
	color: black;
}
.response_success {
    border: none;
    font-weight: bold;
    margin: 0;
    padding: 2px;
    font-size: 16px;
    text-align: left;
    background-color: #f0f0f0;
    width: 90%;
    height: auto;
    resize: none;
    overflow: hidden;
	 color: green;
}
.response_error {
    border: none;
    font-weight: bold;
    margin: 0;
    padding: 2px;
    font-size: 16px;
    text-align: left;
    background-color: #f0f0f0;
    width: 90%;
    height: auto;
    resize: none;
    overflow: hidden;
	 color: red;
}
form select{
	display: block;
	width:  100%;
	padding: 10px;	
	margin-bottom: 10px;
	font-size: 16px;
	border:  thin solid #e4e4e4;
	margin-bottom: 30px;
	border-radius: 5px;
	background-color: #f0f0f0;
}
form input:focus
{
	outline: none;
}

form button{
	background: #32749a;
	color: white;
	border: none;	
	padding: 10px 30px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 5px;
	margin-bottom: 10px;	
}

form button:active{
	background-color: green;
}

form p{
	margin-top: 15px;
}

form p a{
	display: inline-block;
	/*margin-left: 10px;*/
	color: #006dbc;
	text-decoration: none;
}
 header a {
	display: flex;
	align-items: left;
	 color: #006dbc;
	 margin-top: 20px;	
}

form p a:hover{
	text-decoration: underline;
}

 .page a{
	 display: inline-block;
	 color: #006dbc;
	 margin-top: 20px;	
 }

a.confirm-deletion{
	text-decoration: none;
	color: red;
	margin-left: 10px;
}

.error{
	margin-top: 30px;
	color: #af0c0c;
	line-height: 26px;
}

.success{
	margin-top: 30px;
	color: green;
}
th, td {
	border: 1px solid #32749a;
	padding: 2px;
	
}
.column {
  float: left;
  width: 25%;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.flex-container {
    display: flex;
    gap: 5px; /* Space between columns */
	/*height: 100px;*/
	
}


.large {
    flex: 3; /* Takes up twice as much space as the small column */
}

.medium {
    flex: 1.5; /* Takes up 1.5 times the space of the small column */
}

.small {
    flex: 1; /* Takes up the base space */
	text-align: center;
}

legend {
    padding: 5px 10px;
	text-align: left;
	
}

 fieldset {
            border: thin solid #a1a1a1; /* Gray border */
            border-radius: 10px; /* Rounded corners */
            padding: 10px; /* Padding inside the fieldset */
            margin-bottom: 10px; /* Space below the fieldset */
            /* background-color: #f9f9f9; Light gray background */
        }
		
/* Container to hold buttons side by side */
.btn-container {
    display: flex;
    gap: 60px; /* Space between buttons */
    justify-content: Center; /* Center the buttons */
	align-items: center;
}

/* Button styling */
.btn {
	flex: 0.48; /* Make buttons take equal space */
    justify-content: center; /* Center text horizontally */
    padding: 30px 30px; /* Larger padding for bigger buttons */
	font-size: 20px; /* Larger font size */
    color: black;
    background-color: #D5E9E9; /* Button background color */
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 90px; /* Button height */
}

/* Hover effect for buttons */
.btn:hover {
    background-color: #2FA1A1; /* Darker shade for hover effect */
	color: white;
}
.btn_new {
	flex: 0.48; /* Make buttons take equal space */
    justify-content: center; /* Center text horizontally */
    padding: 30px 30px; /* Larger padding for bigger buttons */
	font-size: 20px; /* Larger font size */
    color: black;
    background-color: #BDDEF1; /* Button background color */
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 90px; /* Button height */
}

.btn_new img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%; /* Optional responsiveness */
}

/* Hover effect for buttons */
.btn_new:hover {
    background-color: #6DB8E1; /* Darker shade for hover effect */
	color: white;
}
.btn_new2 {
	flex: 0.48; /* Make buttons take equal space */
    justify-content: center; /* Center text horizontally */
    padding: 30px 30px; /* Larger padding for bigger buttons */
	font-size: 20px; /* Larger font size */
    color: black;
	/*margin:20px 20px;*/
	background-color: #FFD1D1; /* Button background color */
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 90px; /* Button height */
}

/* Hover effect for buttons */
.btn_new2:hover {
    background-color: #FF9F9F; /* Darker shade for hover effect */
	color: white;
}
.pdf-page {
    position: relative; /* Required for absolute annotation positioning */
    display: inline-block;
    margin-bottom: 10px;
}

/* Mobile-specific styles */
@media only screen and (max-width: 1200px) {
    header {
       
    }
	
	.topnav a {
		padding: 7px 7px;
		font-size: 0.9em;
    }
	.ad-topnav a {
        padding: 7px 7px;
		font-size: 0.9em;
    }
    .page, form {
        max-width: 100%;
        padding: 10px;
    }

    .flex-container {
        flex-direction: column;
		overflow: auto;
    }

    .column {
        width: 100%;
        text-align: center;
    }

    .btn-container {
        flex-direction: column;		
    }

    form h2, .page h2 {
        font-size: 18px;
        line-height: 24px;
    }

    form button {
        width: 100%;
    }
	table {
        width: 100%; /* Make the table span the full width of the container */
		table-layout: fixed; /* Ensures columns are evenly distributed */
		border-collapse: collapse; /* Avoid extra space between cells */
		display: block;
		font-size: 0.5em; /* Larger font size */
        /*  overflow-x: auto; Adds horizontal scroll for smaller screens */
        
    }
	/* Adjust the styles for table headers and cells */
	th, td {
		border: 1px solid #32749a;
		padding: 3px; /* Increase padding for better readability */
		word-wrap: break-word; /* Ensure long text wraps within the cell */
		text-align: left; /* Align text to the left for better readability */
	}

	
}