/* CSS colors set for use throughout stylesheet */
:root {
	--color1: #eb3345;		/* Dark blue */
	--color2: #ce2536;		/* Blue */
	--color3: #ce2536;		/* Light blue */
	--text-color: #666;
	--link-color: #0275d8;
	--hover-color: #3366bb;
	--main-font: 'Open sans';
	--header-font: 'Raleway';
	
	/* CSS colors for buttons  */
	--button-primary: #3d7dff;
	--button-primary-hover: #7ea9ff;
	--button-secondary: #666;
	--button-secondary-hover: #999;
	--button-success: #eee;
	--button-success-hover: #ddd;	
}
/* End of CSS color set-up */

html,
body {
	font-family: var(--main-font), sans-serif;
	color: var(--text-color);
	background: #fff6f7;
}

a	{
	color: var(--link-color);
	}

a:hover	{
	color: var(--hover-color);
	}


/* START OF FRAMEWORK CSS */
h1, h2, h3, h4, h5, h6	{
	margin-top: 50px;
	margin-bottom: 20px;
	padding: 0;
	font-family: var(--header-font);
}

.col-lg-6 h2	{
    margin: 0;
    border: 0;
    padding: 15px 0;
    text-align: center;
    background: #ce2536;
    color: #fff;
	}

h1.first_h, h2.first_h, h3.first_h, h4.first_h, h5.first_h, h6.first_h	{
	margin-top: 20px;
}

.orange_bg {
	background: #fbe4d5;
	}
	
.green_bg {
	background: #c5e0b3;
	}
	
.blue_bg {
	background: #deeaf6;
	}
	

/* END OF FRAMEWORK CSS */



/* START OF TOP BANNER */
div.top_banner	{
	background: var(--color1);
}

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{
	padding: 10px 0;
	background: #fff;
	}

div.header_outer #ceop	{
    margin: 34px 0;
	}

div.header_outer div.contact_details	{
	margin: 0;
	border: 1px solid #f3f3f3;
	padding: 6px 10px;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0;
	line-height: 1em;
	text-align: center;
	background: #f9f9f9;
	}

div.header_outer div.contact_details p	{
	margin: 0;
	padding: 5px 0;
	color: var(--text-color);
	line-height: 1em;
	font-size: 125%;
	}

div.header_outer div.contact_details p a	{
	color: var(--text-color);
	text-decoration: none;
	}

div.header_outer div.contact_details p.phone	{
	font-size: 200%;
	}
/* END OF HEADER */


/*  START OF NAVIGATION */
/* Change for navigation container background */
.navigation,
div.dropdown-menu  {
	background: var(--color1);
	font-family: var(--header-font);
	z-index: 9999;
	}

/* Background for active page on larger devices */
@media (min-width: 992px) {
	.active .nav-link	{
		background: var(--color2);
		}
		
	}

	/* Enable dropdown menu on hover */
.dropdown:hover .dropdown-menu {
	display: block;
	}

/* Change padding, color and add fade properties for navigation text */
a.nav-link,
div.dropdown-menu a.dropdown-item	{
	padding: 10px 25px!important;
	color: #fff!important;
	/* Fade Property */
	-o-transition: 1s;
	-ms-transition: 1s;
	-moz-transition: 1s;
	-webkit-transition: 1s;
	transition: 1s;	
	}

/* Reduce padding to 0 for medium and smaller devices */
@media (max-width: 768px) {
	a.nav-link	{
		padding: 5px!important;
	}
}
	
/* No margin on dropdown menu */
.dropdown-menu	{
	margin: 0;
	border: 0;
	border-radius: 0;
	padding: 0;
	}

/* Change padding, color and add fade properties for navigation text */
a.dropdown-item:hover	{
	background-color: var(--color3)!important;
	color: #fff;
	}

/* Change hover color for navigation text */
a.nav-link:hover	{
	background: var(--color2)!important;
	}

.navbar	{
	background: var(--color1)!important;
	}

/* Change all 'end' to 'start' to place hamburger on left */
.navbar-toggler {
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    align-self: flex-end;
	}

/* Change border colour of the hamburger menu */
.navbar-light .navbar-toggler	{
	border-color: #fff;
	}

/* To change the hamburger color, edit the RGBA attribute below */
.navbar-light .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(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
	}

ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
}

/* END OF NAVIGATION */


/* START OF INFO BANNER */
div#info_banner	{
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	padding: 0;
	background: #999;
	color: #fff;
}

div#info_banner h3	{
	margin: 0;
	padding: 10px;
	font-size: 100%;
}
/* END OF INFO BANNER */


/* START OF BREADCRUMBS */

/* Set margin, border-radius and padding */
.breadcrumb	{
	border-radius: 0;
	background: #fff;
	}
	
/* END OF BREADCRUMBS */

/* 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: 5px 15px;
	position: absolute;
	background: rgba(255,255,255,0.8);
	text-align: left;
	color: #fff;
	left: 20px;
	top: 20px;
	z-index: 999;
}

.carousel-overlay-second {
	left: 20px;
	top: 450px;
	background: rgba(255,255,255,0.8);
}

.carousel-overlay-third {
	left: auto;
	right: 80px;
	bottom: 20px;
	top: auto;
	max-width: 900px;
	display: inline-block;
	text-align: right;
	background: rgba(0,0,0,0.7);
}

.carousel-overlay h1,
.carousel-overlay h2,
.carousel-overlay h3	{
	margin: 0;
	padding: 0;
	color: #f00;
}

.carousel-overlay p,
.carousel-overlay-second p	{
	margin: 10px 0;
	padding: 0;
	color: #0070c0;
}

.carousel-overlay p.red	{
	color: #f00;
}

.carousel-overlay-third p	{
	margin: 0;
	padding: 0;
	color: #fff;
}

/* END OF CAROUSEL */

/* START OF BUTTON COLOURING */
.btn-primary {
	background: var(--button-primary);
	border-color: var(--button-primary);
}

.btn-primary:hover {
	background:  var(--button-primary-hover);	
	border-color: var(--button-primary);
}

.btn-secondary {
	background:  var(--button-secondary);
	border-color: var(--button-secondary);
}

.btn-secondary:hover {
	background:  var(--button-secondary-hover);
	border-color: var(--button-secondary);
}

.btn-success {
	border: 1px solid #ccc!important;
	border-radius: 4px;
	background:  var(--button-success);
	border-color: var(--button-success);
	color: #666;
}

.btn-success:hover {
	border: 1px solid #ccc!important;
	border-radius: 4px;
	background:  var(--button-success-hover);
	border-color: var(--button-success);
	color: #666;
}
/* END OF BUTTON COLOURING */

/* START OF WEBPAGE */

/* Webpage container styling */
.webpage {
	border: 1px solid #eee;
	background: #fff;
}

/* 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;
	}

img.thumbnail	{
	margin: 10px 0;
	border: 1px solid #ccc;
	}

div.testimonial	{
    margin: 20px 0;
    border: 2px solid #ddd;
    padding: 10px 20px;
    background: #f9f9f9;
    font-style: italic;
	}

div.testimonial p.author {
    text-align: right;
    font-weight: bold;
    font-style: normal;
	}

#map	{
	height: 450px;
	}

/* END OF WEBPAGE */

/* START OF HOVER PANELS */

div.overlay_heading h2 {
    margin: 20px 0 0 0;
    padding: 10px;
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: 150%;
	background: var(--color1);
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

div.overlay_heading h2:hover {
	background: var(--color2);
}

div.sidebar a:hover {
	text-decoration: none!important;
}

/* END OF HOVER PANELS */

/* START OF CALENDAR PANELS */

a.news_event_index {
    margin: 2% 0;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 10px;
    background: #f9f9f9;
    text-align: left;
    text-decoration: none;
    display: block;
    font-size: 90%;
    min-height: 85px;
	font-weight: 800;
}

a.news_event_index:hover {
    background: #f6f6f6;
}

a.news_event_index div.date_calendar {
    margin-right: 20px;
    width: 50px;
    font-size: 75%;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    float: left;
}

a.news_event_index div.date_calendar p.day {
    padding: 0;
}

a.news_event_index p {
    color: var(--color1);
}

div.date_calendar p.day {
    margin: 0;
    padding: 15px 0;
    border: 1px solid #333;
    border-radius: 10px 10px 0 0;
	background: var(--color1);
    color: #fff;
    font-size: 220%;
}

div.date_calendar p.month {
    margin-top: 0;
    border: 1px solid #ccc;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    padding: 2px 5px 3px;
    font-size: 125%;
    background: #fff;
    color: #333;
}

/* END OF CALENDAR PANELS */

/* START OF COOKIE CONSENT */

div.cc-window {
	padding: 10px 60px!important;
}

/* END OF CALENDAR 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: #595959;
}

footer h3	{
	margin: 0;
	padding: 10px 0;
}

/* 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;
}

/* 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;
}

/* 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: #333;
	font-size: 90%;
}

.copyright_info a {
	color: #fff;
}

/* END OF FOOTER */


/* Broadbiz panel CSS for use on home page and sidebars */
div.panel	{
	border: 1px solid #ccc;
	background: #fff;
	text-align: center;
	box-shadow: 3px 3px #eee;
}

/* Amend padding to move image away from edge */
div.panel img	{
	padding: 10px 10px 0 10px;
	width: 100%;
}

div.panel div	{
	margin: 10px;
}

div.panel div h2	{
	margin: 0;
	padding: 10px 0;
}

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;
}

div.welcome_panel {
	
	}

div.welcome_panel p {
	font-size: 150%;
	}
	
div.welcome_panel h1 {
	font-size: 300%;
	}