/* Reset CSS for body, html, and all elements to remove unexpected margins/paddings */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html { background-color: #fffafa;  
       height: 100%; /* Ensure full height */
    /* Remove default margin and padding */
    margin: 0;
    padding: 0;
}
.limiter {display: block; margin: auto; width: 95%; max-width: 850px;}
.wrapper {width: 99%; max-width: 1950px; display: block; margin: auto; border: 3px groove gray; border-radius: 10px;}
* {font-family:  "Helvetica", Tahoma, Trebuchet MS, Impact, Verdana;}
h1 {
    color: #333; /* Dark grey color for contrast */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Soft shadow for depth */
    text-align: center; /* Center-align the text */
    font-size: 2em; /* Larger font size */
    margin-bottom: 20px; /* Add some space below the heading */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

h1:hover {
    color: #007BFF; /* Change color on hover for interactivity */
}

.imagebox img {
    max-width: 100%;
    height: auto;
    border: 3px solid #007BFF; /* Solid border with a color of your choice */
    box-shadow: 4px 4px 8px rgba(0,0,0,0.6); /* Shadow for depth */
    border-radius: 10px; /* Rounded corners for a softer look */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for effects */
}

.imagebox img:hover {
    transform: scale(1.05); /* Slightly enlarge the image on hover */
    box-shadow: 6px 6px 12px rgba(0,0,0,0.8); /* Enhanced shadow on hover for a "lifting" effect */
}

p {font-size: 17px; line-height: 1.6;}

h2 {font-size: 20px; text-align: center;}
.container {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    align-items: center; /* Adjust vertical alignment */
    justify-content: space-between; /* Adjust horizontal spacing */
    /* Adjust padding to see effect */
    padding: 20px;
}

.textbox, .imagebox {
    flex: 1;
    /* Adjust internal padding while considering the reset */
    padding: 20px;
}

.bottom-menu {background-color: #1E3342;}

.imagebox img {
    max-width: 800px;
    height: auto; display: block; margin: auto;
}

.body-text, .bottom-menu {
    
    padding: 20px;
}

/* Adjustments for smaller screens */
@media (max-width: 800px) {
    .container {
        flex-direction: column;
        align-items: flex-start; /* Adjust for small screens */
    }
    
    .imagebox {
        order: -1; /* Move the image to the top */
    }
}
img.logo {width: 100%; max-width: 270px; height: auto; margin-top: 10px; margin-bottom: 0; border: 2px solid #000; border-radius: 15px; box-shadow: 2px 2px 5px gray;}
.headingbox {width: 100%; margin: o; padding: 0; }
.logobox {width: 300px; display: block; margin-left:auto; margin-right: auto; margin-bottom: -20px; }

.localbutton {
	box-shadow: 2px 2px 5px 0px #1c1b18;
	background:linear-gradient(to bottom, #eae0c2 5%, #cfb05b 100%);
	background-color:#eae0c2;
	border-radius:15px;
	border:2px solid #333029;
	display:inline-block;
	cursor:pointer;
	color:#505739;
	font-family:Arial;
	font-size:18px;
	font-weight:bold;
	padding:12px 16px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.localbutton:hover {
	background:linear-gradient(to bottom, #cfb05b 5%, #eae0c2 100%);
	background-color:#cfb05b;
}
.localbutton:active {
	position:relative;
	top:1px;
}
	img.insurerimage {display: block; margin: auto; width: 99%; height: auto; max-width: 800px;}
	img.insurers2 {display: block; margin: auto; width: 99%; height: auto; max-width: 900px;}
	.centrebutton {width: 95%; display: block; margin: auto; text-align: center;}

#panel { display: none;} .opener2 {text-align: center; font-size: 17px; font-weight: normal;} .lowermenu {display: block; margin: auto; width: 90%;  text-align: center; border: 2px solid #220000; border-radius: 12px; }h4 {font-weight: normal; font-size: 16px; line-height: 2; text-align: center; margin-top: 0;} .bottommenu {display: block; margin: auto; width: 99%; max-width: 1950px; background-color: #3C3F41; padding: 1em;} img.bibalogo {display: block; margin: auto; width: 95%; max-width: 140px; height: auto;} img.biba {display: block; margin: auto; width: 90%; max-width: 100px; height: auto;} a {line-height: 2;}.bottommenu .sizer p {color: #fff; text-align: center;} a.menutext:link{color: #87CEFA; text-decoration: none; border-bottom: 2px dashed #87CEFA;}        a.menutext:visited {color: #f5f5dc; text-decoration: none; border-bottom: 2px dashed #f5f5dc;} a.menutext:hover {color: #ff0000; text-decoration: none; border-bottom: 2px dashed #ff0000;}
.localbutton {font-size: 18px; line-height: 1.2;}
	p, ul {text-align: left; line-height: 1.6; font-size: 17px;}