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

a	{
	color: #ff2c9d;
	}

a:hover	{
	color: #cc418b;
	}


/* START OF FRAMEWORK CSS */
h1, h2, h3, h4, h5, h6	{
	margin-top: 50px;
	margin-bottom: 20px;
	padding: 0;
	font-family: 'Anton', sans-serif;
	text-transform: uppercase;
}

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

h1	{
	font-size: 300%;
}

h2, h3, h4, h5, h6	{
	font-size: 200%;
}


/* END OF FRAMEWORK CSS */



/* START OF TOP BANNER */
div.top_banner	{
	padding-top: 5px;
	padding-bottom: 5px;
	background: #222;
}

div.top_banner p	{
	margin: 0;
	padding: 0;
}

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{
	background: #fff;
	}
	
div.header_outer div.contact_details p	{
	margin: 0;
	padding: 5px 0;
	color: #666;
	line-height: 1em;
	font-size: 125%;
	}

div.header_outer div.contact_details p a	{
	color: #666;
	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  {
	-webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.50);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.50);
	background: #fff;
	font-family: 'Anton', sans-serif;
	text-transform: uppercase;
	font-size: 125%;
	letter-spacing: 1px;
	font-weight: normal;
	}

/* Background for active page on larger devices */
@media (min-width: 992px) {
	.active .nav-link	{
		border: 1px solid #c51372;
		background: #e5097f;
		color: #fff!important;
		}
		
	}

	/* 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	{
	margin: 0 2px;
	border: 1px solid #fff;
	padding: 10px 12px!important;
	color: #666!important;
	/* Fade Property */
	-o-transition: 1s;
	-ms-transition: 1s;
	-moz-transition: 1s;
	-webkit-transition: 1s;
	transition: 1s;
	}

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

/* 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: #96b5e5!important;
	color: #fff;
	}

/* Change hover color for navigation text */
a.nav-link:hover	{
	border: 1px solid #c51372;
	background: #e5097f!important;
	color: #fff!important;
	}

.navbar	{
	width: 100%;
	}
	
.navbar-brand{
	max-width: 75%;
	}

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

/* Change border colour of the hamburger menu */
.navbar-light .navbar-toggler	{
	border: 0;
	}

/* 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;
	}

/* 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(197,19,114, 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;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

/* END OF NAVIGATION */


/* 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: 20px;
	position: absolute;
	top: 25px;
	right: 50%;
	width: 75%;
	transform: translate(50%,0);
	text-align: center;
}

.carousel-overlay h3	{
	margin: 0 0 25px;
	padding: 0;
	font-size: 330%;
	color: #fff!important;
	text-shadow: 2px 2px #666, -1px -1px #666, -1px 2px #666, 2px -1px #666!important;
}

.carousel-overlay p	{
	margin: 0;
	padding: 0;
	font-size: 200%;
	line-height: 1em;
	color: #fff!important;
	text-shadow: 1px 1px #666, -1px -1px #666, -1px 1px #666, 1px -1px #666!important;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) { 
	/* Container width auto to remove webpage gap on mobile */
	.carousel-overlay h3,
	.carousel-overlay p	{
		display: none!important;
	}
	.carousel-overlay a.btn	{
		font-size: 150%;
	}
}

@media (min-width: 1200px) { 
	.carousel-overlay {
		top: 100px;
	}
}

.carousel-button {
	position: absolute;
	bottom: 50px;
	right: 50%;
	width: 75%;
	transform: translate(50%,0);
}

.carousel-button a.btn	{
	font-size: 150%;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) { 
	.carousel-button a.btn	{
		font-size: 100%;
	}
}

.carousel-appointment {
	border-radius: 5px;
	z-index: 999;
	background: rgba(0,0,0,0.6);
}

.carousel-appointment h2,
.carousel-appointment p,
.carousel-wording h2,
.carousel-wording p	{
	margin: 0;
	padding: 10px 0;
	color: #fff;
}

.carousel-control-prev {
    left: unset;
    right: 100px;
}

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

.carousel-control-next, .carousel-control-prev {
    top: unset;
    bottom: 40px;
    width: 50px;
    height: 50px;
    background: #e5097f;
    opacity: .7;
    z-index: 999;
	}

/* END OF CAROUSEL */

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

.btn-primary:hover {
	background:  #dc1680;
	border-color: #e5097f;
}

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

.btn-secondary:hover {
	background: #c51372;
	border-color: #e5097f;
}

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

.btn-success:hover {
	background:  #555;
	border-color: #555;
}
/* END OF BUTTON COLOURING */

/* START OF TESTIMONIAL PANELS */

div.testimonial	{
	margin: 0 30px;
	border: 10px solid #555;
	border-radius: 10px;
	padding: 10px 40px;
	background: #666!important;
}

/* END OF TESTIMONIAL PANELS */


/* START OF WEBPAGE */

/* Webpage container styling */
.webpage {
	padding-top: 30px;
	padding-bottom: 30px;
	background: #fff;
}

.webpage_grey {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding-top: 30px;
	padding-bottom: 30px;
	background: #eee;
}

.webpage ul,
.webpage_grey ul	{
	text-align: left;
}

.large_padding	{
    padding: 50px 120px;
	background: #e5097f;
    color: #fff;
	}

@media (max-width: 992px) { 
	.large_padding	{
		padding: 15px;
	}
}

.pink_bg	{
    background: #e5097f;
    color: #fff;
	}

.grey_bg	{
    background: #333;
    color: #fff;
	}

hr { 
	border : 0;
	height: 1px; 
	background-image: linear-gradient(to right, rgba(51, 51, 51, 0), rgba(51, 51, 51, 0.75), rgba(51, 51, 51, 0)); 
}

a.panel	{
	padding: 0 15px;
	display: block;
	color: #666;
	/* Fade Property */
	-o-transition: 1s;
	-ms-transition: 1s;
	-moz-transition: 1s;
	-webkit-transition: 1s;
	transition: 1s;	
	}

a.panel:hover	{
	box-shadow: 0 0 5px #bbb;
	text-decoration: none;
	}

.webpage_grey a.panel {
	border: 1px solid #eee;
	}

.webpage_grey a.panel:hover {
	background: #fff;
	border: 1px solid #ddd;
	}

.webpage a.panel {
	border: 1px solid #fff;
	}

.webpage a.panel:hover {
	background: #f7f7f7;
	border: 1px solid #ddd;
	}

.imagemain	{
	max-width: 100%;
	xmax-height: 280px;
}

@media (max-width: 768px) {
	.imagemain	{
		width: 100%;
		max-height: unset;
	}
}

figcaption.figure-caption	{
	margin: 0;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	padding: 8px 0;
	background: #fff;
	text-align: center;
	font-size: 110%;
}

div.footer_caption	{
	font-family: 'Anton', sans-serif;
    font-size: 160%;
	text-transform: uppercase
}

/* 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;
	}	

/* END OF WEBPAGE */


div.grey_bg table	{
	font-size: 125%;
	letter-spacing: 1px;
	font-weight: normal;
	text-transform: uppercase;
}

div.grey_bg table td	{
	text-align: right!important;
}


/* ANIMATED CTA BUTTON */

.bb, .bb::before, .bb::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.bb {
	width: 200px;
	height: 200px;
	margin: auto;
	background: #fff;
	color: #7293be;
	xbox-shadow: inset 0 0 0 1px rgba(0, 0, 202, 0.5);
	margin: 10px auto;
}
.bb::before, .bb::after {
	content: '';
	z-index: 0;
	margin: -5%;
	box-shadow: inset 0 0 0 2px;
	animation: clipMe 8s linear infinite;
}
.bb::before {
	animation-delay: -4s;
}
.bb:hover::after, .bb:hover::before {
	xbackground-color: rgba(255, 0, 0, 0.3);
}

#cta {
    color: red;
    margin: 0 auto;
    padding: 15px;
    text-align: center;
	font-size: 250%;
}

@keyframes clipMe {
	0%, 100% {
	clip: rect(0px, 220px, 2px, 0px);
	}
	25% {
	clip: rect(0px, 2px, 220px, 0px);
	}
	50% {
	clip: rect(218px, 220px, 220px, 0px);
	}
	75% {
	clip: rect(0px, 220px, 220px, 218px);
	}
}
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* 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 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: #4b74b2;
}

div.date_calendar p.day {
    margin: 0;
    padding: 15px 0;
    border: 1px solid #333;
    border-radius: 10px 10px 0 0;
	background: #4b74b2;
    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;
	}

label	{
	margin-bottom: .5rem;
	}

/* END OF RECAPTCHA ERROR */

/* START OF FOOTER */

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

footer h3	{
	margin: 0;
	padding: 10px 0;
}

footer i	{
	font-size: 190%;
}

/* 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;
}

footer .footer_map	{
	border: 1px solid #111;
	padding: 5px;
	background: #fff;
	height: 280px;
	width: 100%;
}

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

/* Change the default link colour from blue */
footer a,
footer a:hover, 
footer a:focus,
.copyright_info a,
.copyright_info a:hover, 
.copyright_info a:focus {
	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;
}

/* SPAM PROTECTION DIV NEEDS TO BE TRANSPARENT */
div.send_email {
	color: #666;
	background: #fff;
	opacity: 0;
	}