@import url('./assets/styles/forms.css');
@import url('./plugins/fontawesome/all.min.css');
@import url('./plugins/home-printer/styles.css');

:root {
	--button-bg-color: #418643;
	--button-text-color: #ffffff;
	--button-bg-hover-color: #ffd602;
	--button-text-hover-color: #a0cd58;

	--nav-link-color: white;
	--nav-link-color-mobile: white;
	--nav-panel-background: #253c61;
	--nav-panel-background-mobile: #253c61;
	--nav-link-padding: 0.8em 1.1em;
}

* {
	box-sizing: border-box;
}

/* nunito-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/nunito-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* nunito-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/nunito-v32-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* nunito-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/nunito-v32-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* nunito-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/nunito-v32-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-sans-3-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/source-sans-3-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/source-sans-3-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-sans-3-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/source-sans-3-v19-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
	scroll-behavior: smooth;
    max-width: 2560px;
    text-align: center;
    margin: 0 auto;
}

body {
	display: block;
	margin: 0 auto;
	max-width: 2560px;
	background-color: white;
	text-align: center;
	font-size: medium;
	font-family: 'Nunito', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0.5em 0;
    font-family: 'Source Sans 3', sans-serif;
}

img {
	max-width: 100%;
	border-style: none;
}

textarea {
	resize: vertical;
}

a[href^='tel:'],
a[href^='mailto:'] {
	white-space: nowrap;
}

ul li,
ol li {
	text-align: left;
}

.Admin {
	background-color: #e9edf1;
	display: block;
	width: 100%;
	text-align: left;
}

.Admin a {
	display: inline-block;
	padding: 5px 0 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: #418643;
	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: #9FCD57;
}

.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 {
     width: 49.5%;
    padding: 35px; 
    display: inline-block;
    vertical-align: top;
}

.Box-2-Img img {
     border-radius: 16px;
    border: 3px solid #0F75BC;
    box-shadow: 4px 4px 8px gray;
}

.Box-2 p,
.Box-2 ol li,
.Box-2 ul li {
     text-align: left;
    font-size: 1.15em;
}

.Box-2-D {
     display: inline-block;
    width: 33%;
    margin: 35px 5%;
    background-color: white;
    color: #0F75BC;
    padding: 35px;
    border-radius: 32px;
    box-shadow: 4px 4px 8px black;
    vertical-align: top;
}

.Box-2-D img {
     height: 80px;   
}

.Box-25 {
     display: inline-block;
    width: 24.5%;
    padding: 35px;
    vertical-align: top;
}

.Box-3-D {
     display: inline-block;
    width: 25%;
    padding: 1%;
    margin: 35px 2%;
    border: 1px solid gray;
    border-radius: 16px;
    vertical-align: top;
    position: relative;
	padding-top: 3.5em;
    min-height: 315px;
}

.Box-3-D i {
	font-size: 2em;
	background-color: #253C61;
	color: white;
	display: inline-block;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
}

.Box-75 {
     display: inline-block;
    width: 74.5%;
    text-align: left;
    padding: 35px;
}

.Box-Display {
    display: inline-block;
    width: 80%;
    background-color: white;
    color: #0F75BC;
    padding: 15px 15px 30px 15px;
    margin-top: 65px;
    border-radius: 16px;
    font-weight: bold;
    border-bottom: 3px solid;
}

.Box-Display-Top {
	font-size: 1.5em;
	display: block;
	color: white;
	background-color: #418643;
	width: 3em;
	height: 3em;
	line-height: 3em;
	padding: 0;
	border: none;
	outline: none;
	border-radius: 50%;
	margin: -2em auto 1em auto;
	text-align: center;
}

.Box-Photo {
     width: 300px;
    display: inline-block;
    vertical-align: top;
    padding: 35px;
}

.Button a {
     display: inline-block;
    background-color: #418643;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    border-radius: 16px;
}

.Button a:hover {
     color: #a0cd58;   
}

.Container {
	width: 1500px;
	display: inline-block;
	max-width: 90%;
}

.Contact .Button {
     display: inline-block;
    float: left;
    margin-right: 8px;
    margin-bottom: 8px;
}

.Dropcap {
     font-weight: 700px;
    display: inline-block;
    padding: 15px;
    background-color: #395191;
    color: white;
    border-radius: 180px;
    float: left;
    margin-right: 15px;
    margin-top: 8px;
}

.FAQ details {
     display: inline-block;
    text-align: left;
    width: 100%;
    margin-bottom: 35px;
}

.FAQ summary {
     border: 1px solid #DDE4E9;
    padding: 8px;
    width: 100%;
}

footer {
     display: inline-block;
    background-color: #1076BC;
    color: white;
    margin-top: 35px;
    padding-bottom: 35px;
    width: 100%;
}

.Footer-Box {
     display: inline-block;
    width: 24.5%;
    vertical-align: top;
    padding: 35px;
    text-align: left;
}

.Footer-Button a {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid;
    margin-top: 8px;   
}

.Footer-Button a:hover {
     background-color: #418643;
    color: white;
}

.Footer-Menu a {
     display: block;
    color: inherit;
    text-decoration: none;
    width: 90%;
    padding: 8px;
    border-bottom: 1px dotted; 
}

.Footer-Menu a:hover {
     border-bottom: 1px solid;   
}

header {
     display: inline-block;
    width: 100%;
    padding: 20px 0 15px 0;
}

.Header-Mobile-Contact {
     display: none;
    font-size: small;
    padding: 8px 5%;
    background-color: #418643;
    width: 100%;
}

.Header-Mobile-Line-1 {
     color: white;
    margin-top: 5px;
    display: inline-block;
}

.Header-Mobile-Line-2 {
     color: white; 
    margin-top: 5px;
    display: inline-block;
    margin-left: 8px;
}

.Header-Mobile-Line-2 a {
     color: #9ECD56;
    text-decoration: none;
}

.Header-Mobile-Line-2 div {
     display: inline-block;
    margin-left: 8px;
}

.Header-Mobile-Contact .Header-Right-Phone {
     margin: 8px 0 0 0;   
}

.Header-Right {
     display: inline-block;
    float: right;
    margin-top: 32px;
}

.Header-Right-Phone {
     display: inline-block;
    padding: 12px;
    border-radius: 8px;
    background-color: #418643;
    color: white;
    margin-left: 8px;
    margin-top: 8px;
}

.Header-Right-Phone a {
     color: #9ECD56;
    text-decoration: none;
}

.Hero {
     display: block;
    width: 100%;
}

.Hero img {
     width: 100%;   
}

.Hero-Up {
    display: inline-block;
    float: right;
    width: 40%;
    margin-right: 5%;
    margin-top: -70vw;
    position: relative;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 4px 4px 8px gray;
}

.Hero-Text {
    display: inline-block;
    width: 100%;
    padding: 35px 0;
    background-color: #0F75BC;
    color: white;
    background-image: -webkit-linear-gradient(235deg,rgba(255,255,255,0.40) 0%,rgba(255,255,255,0.00) 44.82%,rgba(255,255,255,0.00) 100%);
    background-image: -moz-linear-gradient(235deg,rgba(255,255,255,0.40) 0%,rgba(255,255,255,0.00) 44.82%,rgba(255,255,255,0.00) 100%);
    background-image: -o-linear-gradient(235deg,rgba(255,255,255,0.40) 0%,rgba(255,255,255,0.00) 44.82%,rgba(255,255,255,0.00) 100%);
    background-image: linear-gradient(215deg,rgba(255,255,255,0.40) 0%,rgba(255,255,255,0.00) 44.82%,rgba(255,255,255,0.00) 100%);
}

.Hero-Text-Box-1 {
     display: inline-block;
    width: 20%;
    vertical-align: top;
    padding-right: 2%;
    min-width: 150px;
}

.Hero-Text-Box-2 {
     display: inline-block;
    vertical-align: top;
    width: 75%;
}

.Hero-Text .Button a {
     display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    background-color: #1DAEE4;
    color: white;
    font-size: 1.15em;
    margin-top: 8px;
}

.Hero-Text .Button a:hover {
     background-color: #418643;
    text-shadow: 0 0 16px yellow;
}

.Hero-Text .Container {
     text-align: left;
}

.Hero-Text p,
.Hero-Text h1,
.Hero-Text h2,
.Hero-Text h3 {
     padding-top: 0;
    margin-top: 0;
    padding-bottom: 0px;
    margin-bottom: 3px;
}

.Hero-Text h1,
.Hero-Text h2 {
    text-transform: uppercase;
}

.Logo {
     width: 300px;
    max-width: 100%;
    display: inline-block;
    float: left;
}

/* Navigation styles */
.Nav {
	display: inline-block;
	position: relative;
	z-index: 1000;
	width: 100%;
    background-color: #253c61;

	:is(.Nav-Link, .Nav-Dropdown, .Nav-DropdownSummary, .Nav-MobileSummary) {
		-webkit-tap-highlight-color: transparent;
	}

	:is(.Nav-Link, .Nav-DropdownSummary, .Nav-MobileSummary):is(:focus, :hover) {
		text-decoration: underline;
	}

	.Nav-Menu {
		display: block;

		&[open] {
			.Nav-MobileLabelOpen {
				display: none;
			}

			.Nav-MobileLabelClose {
				display: inline;
			}
		}
	}

	:is(.Nav-Menu, .Nav-Dropdown) > summary::-webkit-details-marker {
		display: none;
	}

	:is(.Nav-Menu, .Nav-Dropdown) > summary::marker {
		content: '';
	}

	.Nav-Dropdown {
		color: var(--nav-link-color);
		display: inline-block;
		padding: var(--nav-link-padding);
		position: relative;
		text-decoration: none;
		vertical-align: top;

		&:not([open]) > .Nav-DropdownPanel {
			display: none;
		}

		&[open] > .Nav-DropdownSummary::after {
			transform: translateY(-50%) rotate(180deg);
		}
	}

	.Nav-DropdownPanel {
		background: var(--nav-panel-background);
		box-shadow: 3px 6px 8px gray;
		left: 0;
		min-width: 220px;
		padding: 0;
		position: absolute;
		text-align: left;
		top: 100%;

		.Nav-Link {
			display: block;
		}
	}

	.Nav-DropdownSummary {
		cursor: pointer;
		display: inline-block;
		list-style: none;
		padding-right: 1.8em;
		position: relative;
		vertical-align: top;

		&::after {
			content: '▼';
			font-size: 0.8em;
			line-height: 1;
			position: absolute;
			right: 0.9em;
			top: 50%;
			transform: translateY(-50%) rotate(0deg);
			transition: transform 0.2s ease;
		}
	}

	.Nav-Link {
		color: var(--nav-link-color);
		display: inline-block;
		padding: var(--nav-link-padding);
		text-decoration: none;
		vertical-align: top;
	}

	.Nav-MobileSummary {
		cursor: pointer;
		display: none;
		list-style: none;
		padding: var(--nav-link-padding);
		text-decoration: none !important;
	}

	.Nav-MobileLabelClose {
		display: none;
	}

	.Nav-MenuPanel {
		display: block;
	}

	@media screen and (min-width: 768px) {
		.Nav-Menu::details-content {
			content-visibility: visible;
		}
	}

	@media screen and (max-width: 767px) {
        color: white;
		padding: 0 5%;
		text-align: left;
		width: 100%;

		:is(.Nav-Link, .Nav-Dropdown, .Nav-DropdownSummary) {
			color: var(--nav-link-color-mobile);
			display: block;
		}

		.Nav-DropdownPanel {
			background-color: var(--nav-panel-background-mobile);
			border: 0;
			position: static;
		}

		.Nav-DropdownSummary {
			margin-top: 0.25em;
			padding-right: 0;

			&::after {
				display: inline-block;
				margin-left: 0.4em;
				position: static;
				text-decoration: none;
				transition: transform 0.2s ease;
				vertical-align: bottom;
			}
		}

		.Nav-Link {
			margin-top: 0.25em;
		}

		.Nav-MobileSummary {
			display: block;
		}

		.Nav-MenuPanel {
			padding-bottom: 1.5em;
		}
    }
}
    
.Row-Color {
    display: inline-block;
    width: 100%;
    padding: 35px 0px;
    background-color: #f0f0f0;
        }

.Row-Contact {
    display: inline-block;
    width: 100%;
	background-color: #e9edf1;
	padding: 35px 0 100px 0;
} 

.Service-County h3 {
     display: inline-block;
    background-color: #418643;
    padding: 16px 32px;
    color: white;
    font-weight: normal;
    margin: 0 15px 35px 15px;
}

@media (max-width: 1400px) {
    
    .Box-3-D {
        width: 650px;
        max-width: 90%;
        min-height: 0;
        padding: 3.5em 20px 20px 20px;
    }   
}

@media (max-width: 1250px) {
     .Header-Right {
         width: 100%;
         margin-top: 15px;
         font-size: small;
    }
    
    .Footer-Box {
         width: 49.5%;
        min-width: 300px;
    }
    
    .Hero-Up {
    display: inline-block;
    float: none;
    width: 90%;
    margin-right: 0;
    margin-top: -7vw;
    position: relative;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 4px 4px 8px gray;
}
}

@media (max-width: 1023px) {
     .Box-2 {
         width: 100%;
    }
    
    .Box-2-D {
         width: 650px;
        max-width: 90%;
        margin: 35px 0 0 0;
    }
    
    .Box-25 {
         width: 300px;
    }
    
    .Box-75 {
         width: 100%;   
    }
    
}

@media (max-width: 760px) {
     .Header-Right {
         display: none;    
    }
    .Header-Mobile-Contact {
         display: inline-block;
    }
}

@media (max-width: 650px) {
     .Hero-Text-Box-2 {
         width: 100%;    
    }
    
    .Service-County h3 {
         width: 70%;   
    }
}

@media (max-width: 500px) {
     .Header-Mobile-Line-2 {
         width: 100%; 
         margin: 8px 0 0 0;
    }
    .Header-Mobile-Line-2 div {
         width: 100%; 
        margin: 8px 0 8px 0;
    }
}
