/* Force web browser not to have default margins and paddings. Also set all elements to box-sizing: border-box so that elements SHOULD be the exact size specified */
* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

/* Force web browser not to display default appearance of the following types of input and button elements - eg: prevent Apple devices primarily from rounding the corners and displaying drop shadows etc */
input [type="text"], input[type="checkbox"], button [type="button"], button [type="submit"] {
-webkit-appearance: none;
appearance: none;
border-radius: 0;
background: transparent;
}

@font-face {
	font-display: swap;
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/quicksand-v37-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand-Fallback-400'; /* font-style=normal */
  src: local('Arial'), local('Roboto'); /* Targets major desktop & Android platforms */
  size-adjust: 97%; /* Normalises layout letter widths */
  ascent-override: 100%; /* Matches vertical height bounds */
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
	font-display: swap;
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 600;
	src: url('fonts/quicksand-v37-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Quicksand-Fallback-600'; /* font-style=semi-bold */
  src: local('Arial'), local('Roboto'); /* Targets major desktop & Android platforms */
  size-adjust: 97%; /* Normalises layout letter widths */
  ascent-override: 100%; /* Matches vertical height bounds */
  descent-override: 25%;
  line-gap-override: 0%;
}

body, button, input.contact_name, input.contact_email, input.contact_phone, input.answer, input.hidden, select.selections, textarea.comments, label.inline {
	font-family: 'Quicksand', 'Quicksand-Fallback-400', sans-serif;
	font-style: normal;
	font-weight: 400;
}

/* --------------- TOP COLOURED PANEL ELEMENTS BEGINS --------------- */

header {
	height: 150px;
	background: url(images/header_background_small.webp);
	background-repeat: no-repeat;
	background-position: left center;
    background-size: auto auto;
}

div#logo_container {
	height: 70px;
	width: 60px;
	padding-top: 10px;
	margin: auto;
}

a.logo:link, a.logo:visited {
	width: 60px;
	height: 60px;
	display: inline-block;
	background: url(icon_images/logo_white.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 60px 60px;
}

a.logo:hover, a.logo:active {
	background: url(icon_images/logo_white_hovered.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 60px 60px;
}

div#header_title {
	width: 100%;
	height: 40px;
}

h1 {
	font-family: 'Quicksand', 'Quicksand-Fallback-600', sans-serif;
	font-weight: 600;
	text-align: center;
	color: #ffffff;
	font-size: 28px;
	line-height: 40px;
}

nav#menu_small {
	height: 40px;
	text-align: center;
	background-color: transparent;
}

button#menu_button, button#menu_button_close {
	font-size: 19px;
	margin-top: 8px;
	width: 90px;
	height: 32px;
	cursor: pointer;
	background-color: #206040;
	border: 1px solid #ffffff;
	border-bottom: none;
	border-radius: 8px 8px 0px 0px;
	color: #ffffff;
}

button#menu_button:hover, button#menu_button_close:hover {
	outline: none;
	background-color: #674419;
}

span.menu {
	width: 18px;
	height: 18px;
	vertical-align: middle;
	display: inline-block;
	background: url(icon_images/menu.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

div#menu_content {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 150px;
	text-align: left;
	display: none;
	background-color: #339966;
	background-color: rgba(0, 0, 0, 0.25);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

div#nav_close {
	width: 100%;
	height: 50px;
	text-align: center;
}

button.navigation_small {
	font-size: 16px;
	width: 29.333%;
	height: 30px;
	margin: 10px 2%;
	cursor: pointer;
	color: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 10px;
	background-color: #206040;
}

button.navigation_small:hover {
	outline: none;
	background-color: #674419;
}
/* --------------- TOP COLOURED PANEL ELEMENTS END --------------- */

/* --------------- HOME PAGE ELEMENTS BEGIN (some elements may also be used on other pages) --------------- */
main {
	width: 100%;
	background-color: #ffffff;
}

span.qrcode {
	width: 0px;
	height: 0px;
	background: url(images/qrcode.webp);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

div#table { /* IMPORTANT: This div is vital to ensure wherever div.content's are displayed on large devices, that they display at 50% width correctly - see @media only screen and (min-width: 769px) */
	width: 100%;
	display: table;
}

div.content_outer {
	width: 100%; /* only on devices less than 769px */
	background-color: #ffffff;
}

div.content_inner {
	width: 92%; /* only on devices less than 769px */
	margin: 4%;
	padding: 10px;
	background: linear-gradient(#f8eee2, #ffffff);
	border: 1px solid #f8eee2;
	border-radius: 10px;
}

div.hidden {
	display: none;
}

div.testimonials_container {
	text-align: center;
	height: 60px;
}

img.testimonials_photo {
	width: 60px;
	height: 60px;
	margin: 0px 5px;
	border-radius: 50%;
}

button.show, button.hide {
	font-size: 16px;
	cursor: pointer;
	background-color: transparent;
	color: #674419;
	text-decoration: underline;
	border: none;
	outline: none;
}

button.show:hover, button.hide:hover {
	color: #cc0000;
}

button.hide {
	display: none;
}

span.arrow_down {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
    background: url(icon_images/arrow_down.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

span.arrow_up {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
    background: url(icon_images/arrow_up.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

span.bullet {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
    background: url(icon_images/bullet.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

span.open_quote { /* actual icon sizes are: width 20px height 26px */
	width: 10px;
	height: 13px;
	vertical-align: text-top;
	display: inline-block;
	background: url(icon_images/open_quote.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right;
}

span.close_quote {
	width: 10px;
	height: 13px;
	vertical-align: text-top;
	display: inline-block;
	background: url(icon_images/close_quote.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left;
}

span.new_tab_window {
	width: 13px;
	height: 13px;
	display: inline-block;
	background: url(icon_images/new_tab_window.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

span.map_pin {
	width: 15px;
	height: 15px;
	vertical-align: text-top;
	display: inline-block;
	background: url(icon_images/map_pin.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

/* standard hyperlinks */
a:link, a:visited {
    color: #674419;
    text-decoration: underline;
}

a:hover, a:active {
    color: #cc0000;
}

p {
	font-size: 16px;
	text-align: left;
	color: #282828;
	margin-bottom: 10px;
}

p.small_text {
	font-size: 12px;
}

h2 {
	font-family: 'Quicksand', 'Quicksand-Fallback-600', sans-serif;
	font-weight: 600;
	font-size: 20px;
	text-align: center;
	color: #206040;
	margin: 0px 0px 10px 0px;
	border-bottom: 1px solid #d29346;
	--border-color: linear-gradient(
		to right,
		#f5e7d6 10%,
		#f0dbc1 10% 20%,
		#ebcfad 20% 30%,
		#e6c398 30% 40%,
		#e1b784 40% 60%,
		#e6c398 60% 70%,
		#ebcfad 70% 80%,
		#f0dbc1 80% 90%,
		#f5e7d6 90%
	);
	border-image: var(--border-color) 1;
}

h3 {
	font-family: 'Quicksand', 'Quicksand-Fallback-600', sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #734d26;
	margin-bottom: 5px;
}

h4 {
	font-family: 'Quicksand', 'Quicksand-Fallback-600', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #734d26;
	text-align: center;
	margin-bottom: 5px;
}

ul {
	list-style: none;
}

li.bold_green, li.regular {
	list-style: none;
	padding-left: 15px;
	line-height: 20px;
	background-image: url(icon_images/bullet_arrow.png);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 16px;
}

li.bold_green {
	font-family: 'Quicksand', 'Quicksand-Fallback-600', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #206040;
}

li.regular {
	font-size: 16px;
	color: #282828;
}

button#widget {
	display: none;
    position: fixed; /* Fixed/sticky position */
    bottom: 10px; /* Place the button near the bottom of the page */
    right: 0px;
    z-index: 10; /* Make sure it does not overlap */
    border: none;
    outline: none;
    background-color: #674419;
    color: #ffffff;
	font-size: 15px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px 0px 0px 10px;
}

footer {
	font-size: 12px;
	height: 60px;
	background-color: #206040;
	color: #ffffff;
	padding: 10px;
}

span.arrow_up_white_small { /* background image for button#widget */
	width: 15px;
	height: 15px;
	vertical-align: middle;
	display: inline-block;
	background: url(icon_images/arrow_up_white_small.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
/* --------------- HOME PAGE ELEMENTS END (some elements may also be used on other pages) --------------- */

/* ---- FORM PAGE ELEMENTS BEGIN ---- */
p#printing {
	display: none;
}

button.submit_me {
	font-size: 16px;
	width: 100px;
	height: 30px;
	cursor: pointer;
	color: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 10px;
	background-color: #206040;
}

button.submit_me:focus {
	outline: 4px solid #339966;;
}

@media (hover: hover) {
	button.submit_me:hover {
		outline: none;
		background-color: #674419;
	}
}

button.submit_me:active {
	outline: none;
	background-color: #206040;
}

form.form_content {
	width: 100%;
	background-color: transparent;
	padding: 6px;
	border-radius: 4px;
}

label {
	font-family: 'Quicksand', 'Quicksand-Fallback-600', sans-serif;
	font-weight: 600;
	font-size: 16px;
	display: inline-block;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 0px;
	color: #674419;
}

label.inline { /* styled as normal <p> text */
	font-size: 16px;
	display: inline;
	color: #282828;
}

input.contact_name, input.contact_email, input.contact_phone, input.answer {
	font-size: 16px;
	width: 90%;
	height: 24px;
	color: #000000;
	background-color: #ffff70;
	border: 1px solid #674419;
	border-radius: 0px;
	padding: 1px;
}

select.selections {
	font-size: 16px;
	width: 220px;
	height: 24px;
	color: #000000;
	background-color: #ffff70;
	border: 1px solid #674419;
	border-radius: 0px;
	padding: 1px;
}

input.contact_name:focus, input.contact_email:focus, input.contact_phone:focus, input.answer:focus, select.selections:focus {
	outline: none;
	border: 1px dashed #339966;
}

input.replyby, input.answer { /* these are check boxes */
	width: 21px;
	height: 21px;
	background-color: #ffff70;
	border: 1px solid #674419;
	cursor: pointer;
	vertical-align: bottom;
}

input.hidden { 
	display: none;
}

textarea.comments {
	font-size: 16px;
	width: 90%;
	max-width: 90%;
	min-height: 63px;
	color: #000000;
	background-color: transparent;
	border: 1px solid #674419;
	border-radius: 0px;
	padding: 1px;
}

textarea.comments:focus {
	outline: none;
	border: 1px dashed #339966;
}

span.recycle {
	width: 15px;
	height: 15px;
	vertical-align: text-top;
	display: inline-block;
	background: url(icon_images/recycle.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

span.error_message {
	font-size: 14px;
	color: #ff0000;
	display: none;
}

span#contact_answer_correct {
	color: #009933;
	display: none;
}

/* ---- FORM PAGE ELEMENTS END ---- */

/* --------------- @ MEDIA STARTS HERE --------------- */

@media only screen and (min-width: 769px) {
	body {
		background-color: #efefef;
	}
	
	header {
	height: 150px;
	background: url(images/header_background_large.webp);
	background-repeat: no-repeat;
	background-position: left center;
    background-size: auto auto;
	}
	
	main {
		width: 80%;
		margin: 0% 10%;
	}
	
	div.content_outer {
		width: 50%;
		display: table-cell;
	}
	
	div#menu_content {
		position: absolute;
		top: 0px;
		left: 10%;
		width: 80%;
		margin: auto;
	}
	
	input.contact_name, input.contact_email, input.contact_phone, input.answer {	
		width: 50%;
	}
	
	p.small_text {
		font-size: 14px;
	}
	
	footer {
		font-size: 14px;
	}
}
/* --------------- @ MEDIA ENDS HERE --------------- */