@import url('./plugins/fontawesome/css/all.min.css');
@import url('./plugins/Gallery/CSS-Gallery.css');

* {
	box-sizing: border-box;
}

body {
     max-width: 2399px;  
    display: block;
    margin: 0px auto;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	background-color: white;
    text-align: center;
	font-size: medium;
	font-family: 'ABeeZee', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px;
	padding: 0.5em 0px;
    font-family: 'Comic Relief', cursive;
}

img {
	max-width: 100%;
	border-style: none;
}

textarea {
	resize: vertical;
}

ul {
     text-align: left;
}

a[href^='tel:'],
a[href^='mailto:'] {
	white-space: nowrap;
}

.Admin {
     background-color:#E9EDF1;  
    display: block;
    width: 100%;
    text-align: left;
}

.Admin a {
     display: inline-block;
    padding: 5px 0px 10px 5px;
    font-size: xx-small;
    color:#C5C7C8;
    text-decoration: none;
}

/* Back-to-top styles */
.BackToTop {
	position: fixed;
	z-index: 10;
	right: 10px;
	bottom: 10px;
	background-color: #fcf7f7;
	padding: 10px;
	color: white;
	font-family: sans-serif;
	border-radius: 5px;
	opacity: 0;
	visibility: hidden;
	font-size: medium;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
}

.BackToTop a {
	display: inline-block;
	padding: 10px;
	background-color: #e0bd06;
	border-radius: 5px;
	color: white;
	text-decoration: none;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	font-size: 0.8em;
	transition: color 0.25s, background-color 0.25s;
	line-height: normal;
	height: 50px;
	box-sizing: border-box;
	text-align: center;
}

.BackToTop a:hover {
	color: #ffffff;
	background-color: #ffd602;
}

.BackToTop #BackToTop {
	position: relative;
	display: inline-block;
	cursor: pointer;
	font-size: 20px;
	width: 50px;
}

.BackToTop #BackToTop i {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.BackToTop #CloseBTT {
	position: absolute;
	left: -10px;
	top: -10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.Box-2 {
     display: inline-block;
    width: 49.5%;
    padding: 35px;
    vertical-align: middle;
}

.Box-2 p, .Box-2 ul {
     text-align: left;
    font-size: 1.25em;
    line-height: 1.5em;
}

.Box-3 {
     display: inline-block;
    vertical-align: top;
    padding: 35px;
    width: 32.5%;
    text-align: left;
    min-width: 315px;
}

.Box-3 p, .Box-3 ul {
     text-align: left;
    font-size: 1.08em;
    line-height: 1.5em;
}

.Button {
     display: inline-block;
}

.Button a {
     padding: 20px 10px;
    display: inline-block;
    background-color: #D21B20;
    color: #F9F124;
    border-radius: 16px;
    text-decoration: none;
}

.Button a:hover {
     background-color: #F9F124;
    color: #D21B20;
}

.Color-Block {
    padding: 15px;
    background-color: #04ABD8;
    color: white;
    border-radius: 3px;
}

/* CAPTCHA styles */
.captcha-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em; /* Space between CAPTCHA image and refresh button */
}

.captcha {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.captcha-image {
    max-height: 60px; /* Ensures the image doesn't get too tall */
    margin-right: 10px;
}

.captcha-refresh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
}

.Container {
	width: 1200px;
	display: inline-block;
	max-width: 90%;
}

/* Form styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.form-input-field.required {
    flex: 1;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
}

.form-row .form-input-field {
    flex: 1;
}

.button {
    padding: 0.75em 1em;
    background-color: #C4C6C8;
    color: black;
    font-weight: bold;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    text-transform: capitalize;
    cursor: pointer;
    transition: color 0.25s, background-color 0.25s;
}

.button:hover {
    background-color: #A8BBCE;
    color: black;
}

.form-input-field {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    text-align: left;
    min-width: 200px;
}

.form-field-label,
.form-field-input {
    width: 100%;
    font-size: 1em;
}

.form-field-input {
    padding: 0.5em;
    border: none;
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
}

.form-field-input[type='date'],
textarea.form-field-input {
    font-size: 1.15em;
}

.form-field-input[type='file'] {
    cursor: pointer;
}

.form-input-field.required {
    flex: 1;
}

.form-input-field.required .form-field-label::before {
    content: '*';
    color: red;
}

.fun-accent {
    font-family: 'Butterfly Kids', cursive; 
}

.Hero {
     display: inline-block;
    width: 100%;
    margin-top: 20px;
}

.Img-Frame img {
    border: 20px solid #F9F124;
    border-radius: 3px;
}

.Logo {
     display: inline-block;
    width: 150px;
    float: left;
}

/* Navigation styles */
.Nav-Row {
	display: inline-block;
    float: right;
    margin-top: 50px;
    font-family: 'Comic Relief', cursive;
    font-weight: bold;
    font-size: 1.5em;
}

.Nav-Inline-Block {
	display: inline-block;
	width: 100%;
}

nav {
	display: flex;
	list-style: none;
	justify-content: center;
}

nav menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style-type: none;
	list-style-image: none;
	padding-left: 0px;
	margin: 0px;
}

nav li {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-top: 0;
	margin-bottom: 0;
	position: relative;
	height: 100%;
}
nav li ul {
    padding-left: 0px;
    text-align: left;
}
nav li ul li {
    text-align: left;
    padding-left: 0px;
    display: block;
}



nav a {
    text-decoration: none;
    color: #0B84C0;
    padding: 1em;
    display: inline-block;
    border-bottom: 3px solid #fff;
}

nav a:hover {
    border-bottom-color: #D01E21;
}

.menu-toggle {
    display: none;
    font-family: inherit;
    font-size: inherit;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%; /* Position the dropdown below the menu item */
    left: 0;
}

.dropdown-content a {
    text-align: left;
    display: block;
    padding: 8px 12px; /* Bring items closer to the left edge */
}

/* Show dropdown when active */
.dropdown-content.show {
    display: block;
}

.Row-Contact {
    background-color: #04ABD8;
    color: white;
    margin-top: 20px;
    padding: 50px 0px 100px 0px;
}

#send-button {
     color: #04ABD8;   
}

.Top-Row {
     display: inline-block;
    width: 100%;
    padding: 15px 0px;
    margin-bottom: 20px;
    background-color:#DEE4E7;
    color: #035385;
    font-weight: bold;
}

.Top-Row .Container {
     text-align: right;
}

.Top-Row-Item {
     display: inline-block;
    vertical-align: middle;
    padding: 10px;
    background-color: #07AAE6;
    color: white;
    margin-left: 8px;
    font-family: 'Comic Relief', cursive;
}

.Top-Row-Button {
     display: inline-block;    
}

.Top-Row-Button a {
     display: inline-block;
    padding: 10px;
    color: white;
    background-color: #C71C23;
    margin-left: 24px;
    text-decoration: none;
}

.Top-Row-Button a:hover {
    color: #FBF21C;
}


/* Scroll to highlight styles */
@keyframes highlight-ani {
    0% {
        background-color: transparent;
    }
    25% {
        background-color: #fff59d;
    }
    75% {
        background-color: #fff59d;
    }
    100% {
        background-color: transparent;
    }
}

.ScrollToHighlight-anchor-highlight {
    animation: highlight-ani 2s ease;
}

.ScrollToHighlight-anchor-highlight:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 9999999999;
	opacity: 0.25;
	pointer-events: none;
	animation-name: ScrollToHighlight-highlight-ani;
	animation-duration: 1.5s;
	animation-iteration-count: 1;
}

/* Scroll to highlight styles */
@keyframes highlight-ani {
	0% {
		background-color: transparent;
	}
	25% {
		background-color: #fff59d;
	}
	75% {
		background-color: #fff59d;
	}
	100% {
		background-color: transparent;
	}
}

.ScrollToHighlight-anchor-highlight {
	position: relative;
}

/* Media Queries */

@media only screen and (max-width: 1023px) {
	nav {
		flex-direction: column;
		width: 100%;
		align-items: center;
	}

	nav ul {
		margin-top: 0;
		padding-left: 0;
		width: 100%;
		text-align: center;
	}

	nav li {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		position: relative;
	}

	nav li a {
		width: 100%;
	}

    .menu-toggle {
        display: flex;
        justify-content: center; /* Center the button horizontally */
        gap: 0.5em;
        align-items: center;
        padding: 1em;
        width: 100%;
        border: none;
        background-color: transparent;
        cursor: pointer;
        color: #038EC9;
    }

	.menu-toggle i {
		font-size: 1.5em;
	}

	#main-menu {
		display: none;
		background-color: #FFFFFF;
		width: 100%;
	}

	.menu-toggle .close {
		display: none;
	}

	#main-nav.active .menu-toggle .close {
		display: var(--fa-display, inline-block);
	}

	#main-nav.active .menu-toggle .open {
		display: none;
	}

	#main-nav.active #main-menu {
		display: flex;
		flex-direction: column;
	}

	.dropdown-content {
		position: static;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.dropdown-content.show {
		display: block;
	}

	/* Prevent underlining dropdown links on hover/focus */
	nav .dropdown-content a, 
	nav .dropdown-content a:active, 
	nav .dropdown-content a:focus {
		text-decoration: none !important;
	}
    
    /* Center dropdown items on mobile */
     .dropdown-content a {
        text-align: center;
    }
}

@media (max-width: 1023px) {
     .Box-2 {
         width: 100%;    
    }
}

@media (max-width: 800px) {
     .Top-Row {
         font-size: small;    
    }
}

@media (max-width: 650px) {
     .Mobile-No {
         display: none;    
    }
    .Top-Row-Item {
         display: none;   
    }
}

@media only screen and (max-width: 600px) {
    .captcha-field {
        flex-direction: column; /* Stack elements vertically */
        align-items: flex-start;
    }

    .captcha {
        display: flex;
        flex-direction: row; /* Ensure the CAPTCHA image and refresh button are side by side */
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .captcha-image {
        margin-right: 10px; /* Ensure space between the CAPTCHA image and the refresh button */
        max-width: 75%; /* Ensure the image doesn't take up too much space */
    }

    .captcha-refresh-btn {
        margin-top: 0; /* Remove top margin */
        padding: 0;
        height: 100%; /* Align with the height of the CAPTCHA image */
    }

    .form-input-field.required {
        width: 100%; /* Ensure the input field takes full width */
    }
}

@media (max-width: 400px) {
     .Logo {
         float: none;
         width: 250px;
    }
    .Nav-Row {
        width: 100%;
        float: none;
        text-align: center;
        margin-top: 0px;
    }
}

