.lightblue {
	color: #4e92cb;
}

.blue {
	color: #2a6a9f;
}

.darkblue {
	color: #164e7d;
}

html,
body {
	background: #fff;
	font-family: 'Open sans', sans-serif;
	color: #333;
}

a	{
	color: #0275d8;
	}

a:hover	{
	color: #3366bb;
	}


/* START OF FRAMEWORK CSS */
h1, h2, h3, h4, h5, h6	{
	margin-top: 50px;
	margin-bottom: 20px;
    border-radius: 8px;
    padding: 12px 10px;
    background: #2a6a9f;
    color: #fff!important;
	xfont-family: 'Merienda', cursive!important;
}

h1.first_h, h2.first_h, h3.first_h, h4.first_h, h5.first_h, h6.first_h	{
	margin-top: 20px;
}

/* END OF FRAMEWORK CSS */

/* START OF TOP BANNER */
div.top_banner	{
	background: #333;
}

div.top_banner div.phone,
div.top_banner div.email {
	padding: 5px 0;
}

div.top_banner div.phone a,
div.top_banner div.email a {
	text-decoration: none;
}

div.top_banner p,
div.top_banner a  {
	color: #fff;
}
/* END OF TOP BANNER */


/* START OF HEADER */
div.header_outer{
	border-bottom: 2px solid #ddd;
	padding: 10px 0;
	background: #eaeaea;
	xfont-family: 'Merienda', cursive!important;
	}

div.header_outer div.contact_details p	{
	margin: 0;
	padding: 5px 0;
	color: #666;
	line-height: 1em;
	font-size: 100%;
	}

div.header_outer div.contact_details p a	{
	color: #666;
	text-decoration: none;
	}

div.header_outer div.contact_details p.phone	{
	font-size: 200%;
	}

div.header_outer div.social i {
	margin: 0 10px 0 30px;
	border-radius: 100%;
	padding: 15px;
	color: #fff;
	background: #2a6a9f;
	width: 45px;
	height: 45px;
	font-size: 100%;
	text-align: center;
	-o-transition: 1s;
	-ms-transition: 1s;
	-moz-transition: 1s;
	-webkit-transition: 1s;
	transition: 1s;
	}

@media (max-width: 768px) {
	div.header_outer div.contact_details	{
		padding: 20px 0;
	}
	div.header_outer div.contact_details p	{
		font-size: 95%;
	}
}

@media (max-width: 576px) {
	div.header_outer div.social i {
		margin: 0 5px 0 15px;
		padding: 10px;
		width: 35px;
		height: 35px;
	}
}

/* END OF HEADER */


/*  START OF NAVIGATION */
/* Change for navigation container background */
div.navigation	{
	padding: 0!important;
	box-shadow: 0 5px 8px 0 #777;
	background: #fff;
	}

nav.navbar	{
	background: #fff!important;
	width: 100%;
	}

/* Change all 'end' to 'start' to place hamburger on left */
nav.navbar-light button.navbar-toggler {
	border-color: #edc189;
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    align-self: flex-end;
	}

/* To change the hamburger color, edit the RGBA attribute below */
nav.navbar-light span.navbar-toggler-icon	{
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(237,193,137, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
	}

/* Holds the logo */
a.navbar-brand {
	max-width: 75%;
	}

img.logo {
    margin: 0 auto;
    padding: 5px;
    max-height: 100px;
	}
	
@media (max-width: 768px){
	img.logo {
		max-width: 100%;
		}
	}

/* Change properties for all links */
a.nav-link,
div.dropdown-menu a.dropdown-item	{
	padding: 10px 25px!important;
	color: #333!important;
	xfont-family: 'Merienda', cursive!important;
	}

/* Add fixed width to any fa icons so the text lines up */
a.nav-link span.fa_holder {
    width: 30px;
    display: inline-block;
	}

/* Change properties for nav link hover */
a.nav-link:hover	{
	background: #fff!important;
	color: #444!important;
	}

/* Reduce padding to 0 for medium and smaller devices */
@media (max-width: 768px) {
	a.nav-link	{
		padding: 5px!important;
	}
}

/* Background for active page on larger devices */
@media (min-width: 992px) {
	li.active a.nav-link	{
		border-radius: 8px;
		background: #2a6a9f;
		color: #fff!important;
		}
	}

li.active:hover a.nav-link	{
	border-radius: 8px;
	background: #2a6a9f!important;
	color: #fff!important;
}


/* Change background of dropdown menu */
div.dropdown-menu  {
	margin: 0;
	border: 0;
	border-radius: 0;
	padding: 0;
	background: #fff;
	}

/* Enable dropdown menu on hover */
li.dropdown:hover div.dropdown-menu {
	display: block;
	}

/* Change properties for all links within dropdown (needs to be !important) */
div.dropdown-menu a.dropdown-item	{
	}
	
/* Change properties for dropdown item hover */
div.dropdown-menu a.dropdown-item:hover	{
	background-color: #fff!important;
	color: #fff;
	}
/* END OF NAVIGATION */


/* START OF CAROUSEL */

/* Fix the image height issue for mobile devices */
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
	display: block;
}
	
/* Customise the styling for the carousel overlay */
.carousel-overlay {
	padding: 50px 100px;
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
	z-index: 10;
}

.carousel-overlay h3	{
	margin: 0;
	padding: 10px 0;
	xfont-family: 'Merienda', cursive;
	background: none!important;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-next, .carousel-control-prev {
	border-radius: 5px;
	top: unset;
	bottom: calc(50% - 45px);
	width: 45px;
	height: 45px;
	background: #2a6a9f;
	opacity: .7;
	z-index: 999;
}

/* END OF CAROUSEL */

/* START OF BUTTON COLOURING */
.btn-primary {
	background:  #2a6a9f;
	border-color: #2a6a9f;
}

.btn-primary:hover {
	background: #a56f2b;
	border-color: #2a6a9f;
}

.btn-secondary {
	background: #2a6a9f;
	border-color: #2a6a9f;
}

.btn-secondary:hover {
	background: #164e7d;
	border-color: #164e7d;
}

.btn-success {
	background:  #5de35d;
	border-color: #5de35d;
}

.btn-success:hover {
	background:  #91e391;
	border-color: #5de35d;
}
/* END OF BUTTON COLOURING */

/* START OF WEBPAGE */

/* Webpage container styling */
.webpage_light {
	background: #fff;
}

.webpage_dark {
	background: #cde5fa;
}

.webpage_light,
.webpage_dark {
	padding: 30px 0;
}

.star_holder i	{
	padding: 5px 3px;
	font-size: 150%;
	color: #fcff35;
    text-shadow: 0px 0px 6px #000;
}

iframe.map	{
	margin-top: 50px;
	margin-bottom: 20px;
	border: 1px solid #bbb;
	background: #fff;
	width: 100%;
	height: 700px;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 992px) { 
	/* Container width auto to remove webpage gap on mobile */
	.container {
		/* width: auto; */
	}
}

@media (max-width: 992px) {
	div.fixed_social_media {
		display: none;
	}
}

div.fixed_social_media {
    border-radius: 5px 0 0 5px;
    padding: 3px 8px 5px;
    position: absolute;
    top: 274px;
    right: 0;
    z-index: 9999;
    position: fixed;
    width: 55px;
    background: rgba(255,255,255,0.5);
	}
	
img.fixed_social_icon	{
	margin: 2px 0;
	}	

div.gallery img	{
	margin: 10px 1%;
	float: left;
	width: 23%;
	}

@media (max-width: 768px) {
	div.gallery img	{
		margin: 10px 1%;
		float: left;
		width: 48%;
		}
}

@media (max-width: 576px) {
	div.gallery img	{
		margin: 0;
		padding-top: 10px;
		padding-bottom: 10px;
		float: none;
		width: 100%;
	}
}

.feedback-container {
	border-radius: 25px;
	padding: 10px;
	border: 2px solid #e8e4e4;
	background-color: #fafafa;
	margin-bottom: 10px;
}

/* END OF WEBPAGE */

/* START OF HOVER PANELS */

div.overlay_heading h2 {
    margin: 0;
    padding: 10px;
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: 150%;
	background: #4b74b2;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

div.overlay_heading h2:hover {
	background: #7495c7;
}

div.sidebar a:hover {
	text-decoration: none!important;
}

/* END OF HOVER PANELS */

/* START OF RECAPTCHA ERROR */

p#form_error_message {
	margin: 10px 0;
	padding: 10px;
	border: 2px solid #dc1818;
	border-radius: 4px;
	display: inline-block;
	text-align: center;
	width: 100%;
	}

div.recaptcha_error {
	margin: 10px 0;
	padding: 6px 5px 5px 6px;
	border: 2px solid #dc1818;
	border-radius: 4px;
	display: inline-block;
	}

/* END OF RECAPTCHA ERROR */

/* START OF FOOTER */

/* General styling for the footer */
footer {
	background: #164e7d;
}

footer h3	{
	margin: 0;
	padding: 10px 0;
	background: none!important;
}

/* Change the default link colour from blue */
footer a,
footer a:hover, 
footer a:focus {
	color: #fff;
}

/* Overwrite/reduce the padding for the footer navbar links */
footer a.nav-link {
	padding: 0!important;
	font-family: 'Open sans', sans-serif;
	color: #fff!important;
}

/* Remove the dropdown menu and dropdown favicon (footer quicklinks only) */
footer .dropdown-toggle::after,
footer li.nav-item.dropdown div.dropdown-menu {
    display:none;
}

/* Remove the background colour from the quicklinks */
footer a.nav-link:hover,
footer li.nav-item.active a.nav-link {
	background: none!important;
	color: #fff!important;
}

/* Underline the quicklinks when you hover */
footer a.nav-link:hover {
	text-decoration: underline;
}

/* Styling for the copyright information strip underneath the footer */
.copyright_info {
	background: #0f395c;
	font-size: 80%;
}

/* END OF FOOTER */


/* Broadbiz panel CSS for use on home page and sidebars */
div.panel	{
	border: 1px solid #aaa;
	background: #fff;
	text-align: center;
}

/* Amend padding to move image away from edge */
div.panel img	{
	width: 100%;
}

div.panel div	{
	margin: 10px;
}

div.panel div h3	{
	margin: 0;
	padding: 10px 0;
	background: none!important;
	color: #444!important;
	font-size: 125%;
}

div.panel div p	{
	padding: 0 0 10px;
	line-height: 1.25rem;
}

div.sidebar div.panel	{
	margin-bottom: 10px;
}

img.backtotop	{
	border-radius: 10px;
	opacity: 0.8;
	bottom: 10px;
	right: 10px;
	position: fixed;
	z-index: 9999999;
	background: rgba(100, 100, 100, .8);
	}

/* Checkbox for Bootstrap Form */

.checkbox .cr {
	position: relative;
	display: inline-block;
	border: 1px solid #a9a9a9;
	border-radius: .25em;
	width: 1.3em;
	height: 1.3em;
	float: left;
	margin-right: .5em;
}

.checkbox .cr .cr-icon {
	position: absolute;
	font-size: .8em;
	line-height: 0;
	top: 20%;
	left: 20%;
}

.checkbox label#checkbox {
	float: right;
}

.checkbox label input[type="checkbox"] {
	display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon {
	transform: scale(3) rotateZ(-20deg);
	opacity: 0;
	transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon {
	transform: scale(1) rotateZ(0deg);
	opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr {
	opacity: .5;
}