@import url('./plugins/fontawesome/css/all.min.css');
@import url('./plugins/Gallery/CSS-Gallery.css');
@import url('./plugins/home-printer/styles.css');

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	display: block;
    margin: 0 auto;
    max-width: 2560px;
	background-color: white;
    text-align: center;
	font-size: medium;
	font-family: "Nunito Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px;
	padding: 0.5em 0px;
}

img {
	max-width: 100%;
	border-style: none;
}

textarea {
	resize: vertical;
}

a[href^='tel:'],
a[href^='mailto:'] {
	white-space: nowrap;
}

ul li {
     text-align: left;
}

.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: #7286E9;
	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: #5C5CCC;
}

.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: top;
    margin-top: 35px;
}

.Box-2 h1 {
     padding-top: 0px;   
}

.Box-2 p {
     text-align: left;
}

.Box-3 {
    display: inline-block;
    margin: 35px 1.5% 0 1.5%;
    width: 29.5%;
    vertical-align: top;
    box-shadow: 4px 4px 8px gray;
    min-height: 578px;
}

.Box-3 p {
     text-align: left;
    padding: 0px 20px 20px 20px;
}

.Box-Contact {
     text-align: left;
    background-color: #5D5DCD;
    color: white;
    border-radius: 16px;
}

.Box-Line-1 {
     border-top: 4px solid #4834B1;
    padding-top: 10px;
}

.Box-Line-2 {
     border-top: 4px solid #7286E8;
    padding: 10px;  
}

/* 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;
}

.Frame-Outer {
     display: inline-block;
    width: 100%;
    padding: 10px;
    border: 4px solid #4834B1;
}

.Frame-Inner {
     display: inline-block;
    width: 100%;
    padding: 10px;
    border: 4px solid #7286E8; 
}

header {
     width: 100%;
    display: inline-block;
    padding: 15px 5%;
}

.Header-Right {
    display: inline-block;
    float: right;
    width: 643px;
    max-width: 100%;
    text-align: right;
    clear: right;
}

.Header-Right a {
     text-decoration: none;
    color: #4F40B9;
    margin-right: 15px;
    margin-top: 10px;
}

.Header-Right-Button {
     display: inline-block;
}

.Header-Right-Button a {
     display: inline-block;
    border: 1px solid;
    color: white;
    padding: 8px;
    background-color: #4E3EB8;
}

.Header-Right-Button a:hover {
     color: #4E3EB8;
    background-color: white;
}

.Hero {
     display: inline-block;
    width: 100%;
}

.Hero-Text {
     font-size: 4vw;
    margin-top: -22vw;
    color: white;
    text-shadow: 4px 4px 6px black;
}

.Hero-Boxes {
     display: inline-block;
    width: 100%;
    margin-top: 7vw;
}

.Hero-Box {
     width: 20%;
    display: inline-block;
    padding: 15px;
    background-color: #5954C6;
    color: white;
    vertical-align: top;
    height: 400px;
    margin-left: -2px;
    margin-right: -2px;
    text-align: left;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 50%;
}

.Hero-Box h2 {
     border-bottom: 2px solid;   
}

.Logo {
     display: inline-block;
    float: left;
    width: 300px;
    max-width: 100%;
}

/* Navigation styles */
.Nav {
    display: inline-block;
    position: relative;
    z-index: 1000;
    width: auto;
    float: right;
    margin-top: 31px;
}

.Nav-Desktop {
    display: block;
}

.Nav-Dropdown {
    position: relative;    
}

.Nav-Dropdown > summary::-webkit-details-marker {
    display: none;
}

.Nav-Dropdown > summary::marker {
    content: "";
}

.Nav-Dropdown:not([open]) > .Nav-DropdownPanel {
    display: none;
}

.Nav-Dropdown[open] > .Nav-DropdownSummary::after {
    transform: translateY(-50%) rotate(180deg);
}

.Nav-DropdownPanel {
    background: #ffffff;
    box-shadow: 3px 6px 8px gray; 
    left: 0;
    min-width: 220px;
    padding: 0;
    position: absolute;
    text-align: left;
    top: 100%;
}

.Nav-DropdownPanel .Nav-Link {
    display: block;
}

.Nav-DropdownSummary {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    display: inline-block;
    list-style: none;
    padding-right: 1.8em;
    position: relative;
    vertical-align: top;
}

.Nav-DropdownSummary::after {
    content: "▼";
    font-size: .8em;
    line-height: 1;
    position: absolute;
    right: .9em;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .2s ease;
}

.Nav-Link, .Nav-Dropdown {
    -webkit-tap-highlight-color: transparent;
    color: #5146BD;
    display: inline-block;
    padding: .8em 1.1em;
    text-decoration: none;
    vertical-align: top;
}

.Nav-Link:focus,
.Nav-Link:hover,
.Nav-DropdownSummary:focus,
.Nav-DropdownSummary:hover,
.Nav-MobileSummary:focus,
.Nav-MobileSummary:hover {
    text-decoration: underline;
}

.Nav-Mobile {
    display: none;
}

.Nav-Mobile > summary::-webkit-details-marker {
    display: none;
}

.Nav-Mobile > summary::marker {
    content: "";
}

.Nav-MobilePanel {
    display: block;
}

.Nav-MobileSummary {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    list-style: none;
    padding: .8em 1.1em;
    text-decoration: none !important;
}

.Page-Heading {
     display: inline-block;
    width: 100%;
    background-color: #A19FB0;
    color: white;
    padding: 0 5%;
}

.Row-Contact {
    background-color: #4834B1;
    margin-top: 35px;
    padding: 35px;
    display: inline-block;
    width: 100%;
    color: white;
}

.Row-Contact-Button a {
    color: white;
    text-decoration: none;
    border: 1px solid;
    background-color: #7286E8;
    padding: 8px;
}

.Row-Contact-Button a:hover {
     background-color: #4834B1;   
}

/* 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 (max-width: 1250px) {
     .Hero-Boxes {
         margin-top: 15.5vw;
         background-color: #D8D8DC;
    }
    
    .Hero-Box {
         width: 100%;
        max-width: 900px;
        padding: 35px 10%;
        background-position: bottom left;
        background-size: 150px;
        height: auto;
    }
}

@media (max-width: 1100px) {
     .Logo {
         float: none; 
    }
    
    .Header-Right {
      text-align: center;
        float: none;
        width: 100%;
        border-top: 1px solid #CACACE;
        padding-top: 20px;
        margin: -15px 0px;;
    }
    
    .Header-Right a {
         margin: 10px; 
    }
}

@media screen and (max-width: 1100px) {

    .Nav {
        background-color:#A09FAD;
        color: white;
        padding: 0 5%;
        text-align: left;
        width: 100%;
    }

    .Nav-Desktop {
        display: none;
    }

    .Nav-Dropdown {
        color: white;
        display: block;
    }

    .Nav-DropdownPanel {
        background-color: #C6C5D7;
        border: 0;
        position: static;
    }

    .Nav-DropdownSummary {
        color: white;
        display: block;
        margin-top: .25em;
        padding-right: 0;
    }
    
    .Nav-DropdownSummary::after {
        display: inline-block;
        margin-left: .4em;
        position: static;
        text-decoration: none;
        transition: transform .2s ease;
        vertical-align: bottom;
    }
    
    

    .Nav-Link {
        color: white;
        display: block;
        margin-top: .25em;
    }

    .Nav-Mobile {
        display: block;
        width: 100%;
    }
    
    .Nav-MobilePanel {
        padding-bottom: 1.5em;
    }
    
}

@media (max-width: 1023px) {
     .Box-2 {
         width: 100%;    
    }
    
    .Box-3 {
         width: 90%;   
    }
}

@media (max-width: 600px) {
     .Hero-Text {
         font-size: x-large;
         width: 100%;
         margin-top: -10px;
         margin-bottom: -15.5vw;
         background-color: #A09FAD;
         padding: 15px 5%;
         
    }
}

@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 */
    }
}
