body, html {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
	background-color: #ffbd59;
    color: #333;
    height: 100%; /* Ensure full height for body and html */
    width: 100%; /* Ensure full height for body and html */

}

p {
    padding: 10px;
}

#wrapper {
    margin: 0 auto;
    width: 1000px;
    min-height: 85%; /* Ensure the wrapper takes full height */
    display: flex;
    flex-direction: column;
	background: #ffedaf;
}

#header {
    height: 40px;
    width: 100%;
    background: #ffedaf;/* light yellow */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center;
}
#header h1 {
    font-size: 20px; /* Adjust the h1 font size */
    margin: 0; 
    color: coral; 
}

#main {
    display: flex;
    flex: 1; /* Allow the content area to fill available space */
}

#content {
    background: #E6E6E6;
    width: 800px;
    padding: 10px;
    padding-bottom: 60px;
    box-sizing: border-box;
}
#content h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

#content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #444;
    margin-top: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

#content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #555;
    margin-top: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
}

#leftcolumn {
    background: #ffedaf;
    width: 150px;
}

#leftcolumn ul {
    list-style-type: none; /* Remove default bullet points */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

#leftcolumn ul li {
    margin: 10px 0; /* Add spacing between menu items */
}

#leftcolumn ul li a {
    text-decoration: none;
    color: #fff; /* White text for contrast */
    background: #f59c3d; /* Menu item background */
    padding: 8px;
    display: block;
    border-radius: 4px; /* Rounded corners */
}

#leftcolumn ul li a:hover {
    background: #e67b09; /* Darker background on hover */
}

#rightcolumn {
    background: #ffedaf; /* Same background color as left column */
    width: 150px; /* Same width as left column */
    padding: 10px; /* Add some padding if desired */
}

#footer {
    height: 40px;
    width: 100%;
    background: #FF6633;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center; /* Vertically center text */
    justify-content: center; /* Center the text horizontally */
    text-align: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

form {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Add space between form elements */
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}


.button,
form button,
form input[type="submit"] {
    background-color: #FF6633;
    color: white;
    padding: 5px;
	text-decoration:none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

form button:hover,
form input[type="submit"]:hover {
    background-color: #E65C00;
}

/* Aligning form elements in horizontal layout for radio buttons or checkboxes */
form .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

form .form-group label {
    margin: 0;
}

/* Style for error messages */
form .error-message {
    color: red;
    font-size: 12px;
}

.error {
    color: #D8000C; /* Red for error text */
    background-color: #FFBABA; /* Light red background */
    border: 1px solid #D8000C; /* Red border */
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Success message styling */
.success {
    color: #4F8A10; /* Green for success text */
    background-color: #DFF2BF; /* Light green background */
    border: 1px solid #4F8A10; /* Green border */
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Common message styling for both error and success */
.message {
    display: block;
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    text-align: left;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

table th, 
table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #fbbc5c; 
    color: white; 
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}



/* Media query for screens smaller than 768px */
@media only screen and (max-width: 768px) {
    /* Adjust wrapper to 100% width */
    #wrapper {
        width: 100%;
        padding: 0 10px; /* Add some padding */
    }

    /* Make #content take full width on mobile */
    #content {
        width: 100%;
        padding: 10px;
        padding-bottom: 60px;
        box-sizing: border-box;
    }

    /* Stack #leftcolumn and #content vertically */
    #main {
        flex-direction: column;
    }

    /* Make #leftcolumn full-width */
    #leftcolumn {
        width: 100%;
        margin-bottom: 15px;
    }

    /* Adjust the h1 size for mobile */
    #header h1 {
        font-size: 22px; /* Smaller h1 for smaller screens */
    }

    /* Reduce padding for form elements and buttons on mobile */
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form textarea,
    form select {
        padding: 8px;
    }

    form button,
    form input[type="submit"] {
        padding: 10px;
        font-size: 13px; /* Adjust button font size */
    }
    
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    table th, 
    table td {
        font-size: 12px;
        padding: 8px;
    }
    
}

.serviceImage {
	width: 150px;
	max-width: 150 px;
	height: auto;
	border: 1px solid #ccc;
	margin:2px;
	padding:2px;
}

/* Media query for very small screens (mobile) */
@media only screen and (max-width: 480px) {
    /* Further reduce h1 size for very small screens */
    #header h1 {
        font-size: 18px;
    }

    /* Adjust the #footer text size */
    #footer {
        font-size: 12px;
    }

    /* Adjust content padding for smaller screens */
    #content {
        padding: 8px;
    }

    /* Make form inputs more compact */
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form textarea,
    form select {
        font-size: 14px; /* Adjust font size for readability */
        padding: 6px;
    }

    /* Reduce button size further */
    form button,
    form input[type="submit"] {
        padding: 8px;
        font-size: 12px;
    }
}
