/**
 *
 * @copyright   Copyright (C) Bonacia 2015. All rights reserved.
 * @author      Connor Stokes.
 *
 **/

 /********* TEST ELEMENT CLASS*********/

 .dev { border: 1px solid #f00; }

 /******************/

 * {margin: 0; padding: 0;}

 .clear {clear:both;}

 .center {text-align: center;}
 .text-right { text-align: right;}

 html {
 	overflow-y:scroll !important;
 }

 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
 	margin: 0;
 	padding: 0;
 	border:0;
 	vertical-align: baseline;
 	text-decoration: none;
 	font-family: AllerLight, AllerLight_IE;


 }
 html, body {

 	height: 100%;
 	margin:0;
 	padding:0;
 	background: url("https://bonacia.co.uk/images/background.webp");
 	background-repeat:no-repeat;
 	-webkit-background-size:cover;
 	-moz-background-size:cover;
 	-o-background-size:cover;
 	background-size:cover;
 	background-position: top center;

 }


 ::-webkit-scrollbar {
 	width: 12px;
 }

 ::-webkit-scrollbar-track {
 	background: #DADADA;
 }

 ::-webkit-scrollbar-thumb {
 	background: #000000;
 	-webkit-transition-duration: 1.3s;
 	transition-duration: 1.3s;
 }

 ::-webkit-scrollbar-thumb:hover {
 	background: #D80C8C;
 	-webkit-transition-duration: 1.3s;
 	transition-duration: 1.3s;
 }

 a {

 	color: #D80C8C;

 }

 strong {
 	font-family: AllerLightBd;
 }


 /**************** MENU ****************/

/*
	LEVEL ONE
	*/
	ul.dropdown                         { position: relative; }
	ul.dropdown li                      { float: left; zoom: 1; background: none; }
	ul.dropdown a:hover,
	ul.dropdown a:focus		            { color: #fff; }
	ul.dropdown a:active                { color: #ffa500; }
	ul.dropdown li a                    { display: block; padding: 4px 8px; color: #fff; }
	ul.dropdown li:last-child a         { border-right: none; } /* Doesn't work in IE */
	ul.dropdown li.hover,
	ul.dropdown li:hover,
	ul.dropdown li:focus,
	ul.dropdown li a:focus              { background: #D80C8C; color: #fff; position: relative; }
	ul.dropdown li.hover a              { color: #000; }

/*
	LEVEL TWO
	*/
	ul.dropdown ul 						{ position: absolute; top: 90px; padding: 0; }
	ul.dropdown ul li 					{ font-weight: normal; background: #f6f6f6; color: #000; border-bottom: 1px solid #ccc; float: none; width: 200px; }
	ul.dropdown ul li a		            { color: #000;}
	/* IE 6 & 7 Needs Inline Block */
	ul.dropdown ul li a					{ border-right: none; width: 100%; display: inline-block; }

/*
	LEVEL THREE
	*/
	ul.dropdown ul ul 					{ top: 80px; }

	/* New */
	ul.dropdown {
		position: relative;
	}
	
	ul.dropdown li ul { 
		display: flex;
		flex-flow: column nowrap; 
		opacity: 0;
	}
	
	ul.dropdown li a:hover+ul,
	ul.dropdown li a:focus+ul,
	ul.dropdown li a:focus-within+ul {
		opacity: 1;
	}
	
	.sub_menu:is(:hover, :focus, :focus-within) {
		opacity: 1
	}

	nav {

		float: right;
	}

	nav li {

		list-style: none;
		display: inline-block;
		padding: 30px 10px;
		font-family: AllerLight, AllerLight_IE;

	}

	nav li a {

		color: #fff;

	}

	nav li:hover {

		background: #D80C8C;

	}

	.menu { display: none;}

	.logo {

		margin: 1% 2%;

	}

	@media screen and (max-width: 780px) {


		.logo {
			max-width: 250px;
		}

		.menu {
			margin-top: 15px;
			display: inline !important;
			color: #FFFFFF;
			background: none;
			border: none;
			font-size: 2em;
			float: right;
		}

		nav {

			display: none;
			background: #000 !important;
			width: 100%;
			min-width: 100%;
			position: relative;

		}

		nav li {
			display: list-item;
			clear: both;
		}

		ul.dropdown {
			position: absolute;
			z-index: 200;
			background-color: #000;
			width: 100%;



		}

		ul.dropdown ul {

			display: block;
			clear: both;
			background: #000;
			width: 100%;
			z-index: 999;

		}
		ul.dropdown li {

			clear: both;
			width: 97.5%;

		}

		ul.dropdown ul li  {

			float: none;
			position: relative;
			width: 97.25%;
			margin: auto;
			display: inline-block;
			clear: both;
			z-index: 99999999 !important;
		}
		ul.dropdown ul li li  {

			display: none;

		}
		.splash-pink, .splash-purple, .splash-gray { background: none !important; }


	}



	/**************** MENU END ****************/

	.container {

		width: 100%;
		max-width: 1080px;
		margin: auto;

	}

	section h1 {

		font-family: GEO, GEO_IE !important;
		font-size: 3em;
		padding: 10px 0;
		color: #450043;
		text-transform: uppercase;
	}


	section p {

		font-family: AllerLight, AllerLight_IE;
		padding: 10px 0;
		line-height: 30px;
	}


	section ul {

		margin-left: 50px;
		padding: 10px 0;

	}

	section li {

		list-style: circle;

	}

	h2,h3,h4 {

		font-family: GEO, GEO_IE !important;
		color: #D80C8C;
		padding: 10px;
		text-transform: uppercase;
		padding-left: 0;
	}

	h2 {
		font-size: 2.5rem;
	}

	h3 {
		font-size: 2rem;
	}

	h4 {
		font-size: 2rem;
	}


	img {width: 100%; border: none;}

	header {

		background-image: url(/images/menu-bg.png);
		background-repeat: repeat;
		margin: 0 !important;


	}

	.wrapper {

		margin-top: 20%;
		margin-bottom: 170px;

	}
	.wrap {


		position: relative;
		background-image: url(/images/menu-bg.png);
		background-repeat: repeat;
		width: 100%;
		max-width: 700px;
		padding: 5% 0;
		margin: auto;
		color: #fff;
		display: block;

	}



	.wrap .header {

		font-family: GEO, GEO_IE !important;
		color: #fff;
		font-size: 3em;
		padding: 10px;
		text-align: center;

	}
	.wrap .intro {

		text-align: center;
	}
	.scroll {

		position: relative;
		width: 100%;
		max-width: 100px;
		margin: auto;
		margin-top: 40px;
		text-align: center;
		display: block;
		margin-top: 30px;
		color: #fff;
	}

	.scroll-icon {

		margin-top: 20px;
		max-width: 50px;

	}

	.first-section {

		margin:0 !important;
		padding:0;
		background-image: url(https://s3-eu-west-1.amazonaws.com/bonacia-sites/bonacia/splash-pink.png), url(https://s3-eu-west-1.amazonaws.com/bonacia-sites/bonacia/section1-bg.webp);
		width: 100%;
		background-repeat:no-repeat;
		-webkit-background-size: 450px 136px, cover;
		-moz-background-size: 450px 136px, cover;
		-o-background-size: 450px 136px, cover;
		background-size: 450px 136px, cover;
		background-position: bottom right, top center;
		padding-top: 15%;
		padding-bottom: 5%;
		margin-top: -160px !important;
		overflow: hidden;

	}

	@media screen and (max-width: 780px) {

		.first-section {
			background-image: url(https://s3-eu-west-1.amazonaws.com/bonacia-sites/bonacia/section1-bg.webp) !important;
			background-color: #FFFFFF;
		}


		.about_bg {

			background: #FFFFFF;

		}

	}

	.splash-pink {
		background-image: url(https://s3-eu-west-1.amazonaws.com/bonacia-sites/bonacia/misc/splash-pink.png);
		background-repeat:no-repeat;
		background-position: top -120px left 10px;
	}

	.splash-purple {
		background-image: url(https://s3-eu-west-1.amazonaws.com/bonacia-sites/bonacia/misc/splash-purple.png);
		background-repeat:no-repeat;
		background-position: bottom right;
	}
	.splash-gray {
		background-image: url(https://s3-eu-west-1.amazonaws.com/bonacia-sites/bonacia/misc/splash-gray.png);
		background-repeat:no-repeat;
		background-position: bottom right;
	}

	.letter-intro {

		text-align: center;
		font-size: 20em;
		color: #D80C8C;
		font-family: GEO, GEO_IE !important;

	}

	.word {

		text-align: center;
		font-size: 2em;
		color: #D80C8C;
		font-family: GEO, GEO_IE !important;

	}

	.second-section {

		margin: 0;
		background: #D80C8C;
		padding-top: 50px;

	}

	.second-section span {


		color: #FFFFFF;
		font-family: GEO, GEO_IE !important;
		text-transform: uppercase;


	}

	.division-box {

		padding: 20% 5%;

	}

	.division-box img {

		max-width: 220px;

	}

	.third-section {

		margin: 0;
		padding-top: 50px;

	}

	.third-section span {


		color: #D80C8C;
		font-family: GEO, GEO_IE !important;
		text-transform: uppercase;


	}

	.forth-section {

		margin: 0;
		padding-top: 50px;
		background: #450043;

	}

	.forth-section span {


		color: #FFFFFF;
		font-family: GEO, GEO_IE !important;
		text-transform: uppercase;
	}

	.fifth-section {

		margin: 0;
		height: 300px;

	}

	#map-canvas {
		height: 350px;
		margin: 0px;
		padding: 0px
	}


	.sixth-section {

		margin: 0;
		padding: 50px 0 40px;
	}

	.sixth-section span {

		color: #D80C8C;
		font-family: GEO, GEO_IE !important;
		text-transform: uppercase;

	}

	.home_form input[type=text] {

		font-family: AllerLight, AllerLight_IE;
		width: 98%;
		border: none;
		background: #DADADA;
		color: #333333;
		padding: 20px 5px;
		margin: 0;


	}

	.home_form textarea {

		font-family: AllerLight, AllerLight_IE;
		width: 98%;
		border: none;
		background: #DADADA;
		color: #333333;
		padding: 20px 5px;
		margin: 0;
		min-height: 200px;

	}

	.home_form input[type=submit], .home_form input[type=button] {

		font-family: AllerLight, AllerLight_IE;
		width: 100%;
		max-width: 250px;
		background: #D80C8C;
		color: #FFFFFF;
		border: none;
		padding: 20px;
	}

	.message {

		min-height: 100px;
		display: none;
		padding-top: 40px;

	}

	footer {

		margin: 0 !important;
		background: #2C2133;
		color: #FFFFFF;

	}
	footer .container {

		padding: 20px 0;

	}

	footer a {
		color: #FFFFFF;
	}
	footer a:hover {
		color: #D80C8C;
	}

	/** RECENT PROJECTS **/

	.project-wrapper {
		width: 100%;
	}

	.project-masonry {
		margin: 1.5em 0;
		padding: 0;
		-moz-column-gap: 1.5em;
		-webkit-column-gap: 1.5em;
		column-gap: 1.5em;
		font-size: .85em;
	}

	.project-item {
		display: inline-block;
		padding: 1.5em;
		margin: 0 0 1.5em;
		width: 100%;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}

	.pink {

		background: #D80C8C;
		color: #fff;

	}
	.purple  {

		background: #450043;
		color:  #fff;

	}
	.dark-purple  {

		background: #2C2133;
		color:  #fff;

	}
	.gray  {

		background: #414141;
		color:  #fff;

	}

	@media only screen and (min-width: 700px) {
		.project-masonry {
			-moz-column-count: 1;
			-webkit-column-count: 1;
			column-count: 1;
		}
	}

	@media only screen and (min-width: 900px) {
		.project-masonry {
			-moz-column-count: 2;
			-webkit-column-count: 2;
			column-count: 2;
		}
	}

	@media only screen and (min-width: 1100px) {
		.project-masonry {
			-moz-column-count: 3;
			-webkit-column-count: 3;
			column-count: 3;
		}
	}

	@media only screen and (min-width: 1280px) {
		.project-wrapper {
			width: 100%;
		}
	}


	@media screen and (max-width: 780px) {

		.division-box {
			padding: 40px 5% 10px;
		}

		.division-box.last-box {
			padding-bottom:50px;
		}

	}


	/** RECENT PROJECTS END ***/


	/** SOCIAL MEDIA **/

	.social-wrapper {
		width: 100%;
	}

	.social-masonry {
		margin: 10px 1.5em 10px;
		padding: 0;
		-moz-column-gap: 1.5em;
		-webkit-column-gap: 1.5em;
		column-gap: 1.5em;
		font-size: .85em;
	}

	@media only screen and (min-width: 700px) {
		.social-masonry {
			-moz-column-count: 1;
			-webkit-column-count: 1;
			column-count: 1;
		}
	}

	@media only screen and (min-width: 900px) {
		.social-masonry {
			-moz-column-count: 2;
			-webkit-column-count: 2;
			column-count: 2;
		}
	}

	@media only screen and (min-width: 1100px) {
		.social-masonry {
			-moz-column-count: 3;
			-webkit-column-count: 3;
			column-count: 3;
		}
	}

	@media only screen and (min-width: 1280px) {
		.social-wrapper {
			width: 100%;
		}
	}


	.social-feed-element.hidden{
		background-color:red !important;
	}
	.social-feed-element .pull-left{
		float:left;
		margin-right: 10px;
	}
	.social-feed-element .pull-right {
		margin-left: 10px;
	}
	.social-feed-element img {
		width: 100%;
		width: auto\9;
		height: auto;
		border: 0;
		vertical-align: middle;
		-ms-interpolation-mode: bicubic;
	}
	.social-feed-element .attachment {
		vertical-align: middle;
		-ms-interpolation-mode: bicubic;
	}

	/* Link styles */
	.social-feed-element a {
		color: #0088cc;
		text-decoration: none;
	}
	.social-feed-element a:focus {
		outline: thin dotted #333;
		outline: 5px auto -webkit-focus-ring-color;
		outline-offset: -2px;
	}
	.social-feed-element a:hover,
	.social-feed-element a:active {
		outline: 0;
		color: #005580;
		text-decoration: underline;
	}

	/* Text styles */
	.social-feed-element small {
		font-size: 85%;
	}
	.social-feed-element strong {
		font-weight: bold;
	}
	.social-feed-element em {
		font-style: italic;
	}
	.social-feed-element p {
		margin: 0 0 10px;
		line-height: 1;
	}
	.social-feed-element .media-body > p{
		margin-bottom:4px;
		min-height:20px;
	}
	.social-feed-element p.social-feed-text {
		margin: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		-webkit-line-clamp: 5;
		-webkit-box-orient: vertical;
		line-height: 1;
	}

	/* Message styles */
	.social-feed-element,
	.social-feed-element .media-body {
		overflow: hidden;
		zoom: 1;
		*overflow: visible;
	}
	.social-feed-element .media-body .social-network-icon{
		margin-top: -3px;
		margin-right:5px;
		width:16px;
	}
	.social-feed-element .media-body div{
		color:#666;
		line-height: 20px;
	}
	.social-feed-element:first-child {
		margin-top: 0;
	}
	.social-feed-element .media-object {
		display: block;
		width:48px;
		border-radius:50%;
	}
	.social-feed-element .media-heading {
		margin: 0 0 5px;
	}
	.social-feed-element .media-list {
		margin-left: 0;
		list-style: none;
	}

	.social-feed-element .muted {
		color: #999;
		font-size: 12px;
	}
	.social-feed-element a.muted:hover,
	.social-feed-element a.muted:focus {
		color: #808080;
	}

	.social-feed-element{
		transition: 0.25s;
		margin-bottom:25px;
		background: #fff;
		color: #333;
		text-align:left;
		font-size: 14px;
		line-height: 16px;
		width: 100%;
		display: inline-block;
		box-sizing: border-box !important;
		-moz-box-sizing: border-box !important;
		-webkit-box-sizing: border-box !important;

	}
	.social-feed-element:hover{
		box-shadow: 0 0 20px 0 rgba(10, 10, 10, 0.4);
	}

	.social-feed-element .content{
		padding:15px;
	}
	.social-feed-element .social-network-icon{
		opacity:0.7;
	}

	.social-feed-element .author-title{
		color: #444;
		line-height: 1.5em;
		font-weight: 500;
		font-size: 14px;
	}

	/*** SOCIAL FEED END ***/


	/** NEWS **/

	.news-wrapper {
		width: 100%;
	}

	.news-masonry {
		margin: 0 !important;
		padding: 0;
		-moz-column-gap: 1.5em;
		-webkit-column-gap: 1.5em;
		column-gap: 1.5em;
		font-size: .85em;
	}

	.news-item {
		display: inline-block;
		padding: 1.5em;
		margin:  0 !important;
		width: 100%;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
	}

	@media only screen and (min-width: 700px) {
		.news-masonry {
			-moz-column-count: 1;
			-webkit-column-count: 1;
			column-count: 1;
		}
	}

	@media only screen and (min-width: 900px) {
		.news-masonry {
			-moz-column-count: 2;
			-webkit-column-count: 2;
			column-count: 2;
		}
	}

	@media only screen and (min-width: 1100px) {
		.news-masonry {
			-moz-column-count: 3;
			-webkit-column-count: 3;
			column-count: 3;
		}
	}

	@media only screen and (min-width: 1280px) {
		.news-wrapper {
			width: 100%;
		}
	}



	/** RECENT NEWS END ***/


	.social-icon {

		max-width: 35px;


	}

	.footer-logo {

		max-width: 150px;

	}

	.breadcrumbs a  {

		color: #D80C8C;

	}
	.breadcrumbs a:hover  {

		color: #450043;

	}
	.breadcrumbs a:active  {

		color: #2C2133;

	}

	.btn {

		max-width: 150px;
		padding: 10px 0;
		margin: 10px 0;
		text-align:center;
		-webkit-transition-duration: 0.3s;
		transition-duration: 0.3s;
		border: none;
	}

	.btn-gray {

		background: #000000;
		color: #FFFFFF;
	}

	.btn-pink {

		background: #D80C8C;
		color: #FFFFFF;
	}

	.sidebar {

		background: #450043;
		color: #FFFFFF;

	}

	.sidebar h2 {

		font-family: GEO, GEO_IE !important;
		font-size: 2em;
		padding: 20px 20px;
		color: #FFFFFF;

	}

	.sidebar p {

		padding-left: 20px;

	}

	.sidebar ul {

		margin-left: 0;
	}

	.sidebar li {

		font-size: 1.5em;
		padding: 10px 20px;
		color: #FFFFFF;
		border-bottom: 1px solid #FFFFFF;
		list-style: none;
	}
	.sidebar li:last-child  {
		border-bottom:none;
	}
	.sidebar a {
		color: #FFFFFF;
		display:block;
	}
	.sidebar a:hover {
		text-decoration: underline;
	}
	.sidebar i {
		font-size: 4em;
		margin: 10px;
	}

	.btm_border  {
		border-bottom: 2px solid #000000;
		margin: 20px 0;
		padding: 20px 10px;

	}

	.btm_border .btn  {
		margin-left: 15px;
	}

	.grey_bg {
		background: #DADADA;
		padding: 10px;
		text-align: center;
	}

	.grey_bg {
		width: 98%;
	}

	.right {
		text-align: right;
	}

	.box {

		background-size:cover;
		background-position: center center;
		overflow: hidden;
		margin: 50px 0;

	}
	#overlay    {
		background:rgba(0,0,0,.75);
		text-align:center;
		padding:45px 0 66px 0;
		opacity:0;
		-webkit-transition: opacity .25s ease;
		-moz-transition: opacity .25s ease;
	}

	.box:hover #overlay {

		opacity:1;
	}

	#plus {

		color: #FFFFFF;
		font-size: 20px;
		margin-top: 20px;

	}


	.box-wrap_1 {

		display: none;
		float: left;
		width: 100%;
		padding: 20px 0;
		background: #D80C8C;
		margin: 0;
		color: #FFFFFF;
		clear: both;
	}

	.box-wrap_2 {

		display: none;
		float: left;
		width: 100%;
		padding: 20px 0;
		background: #D80C8C;
		margin: 0;
		color: #FFFFFF;
		clear: both;
	}
	.box-wrap_3 {

		display: none;
		float: left;
		width: 100%;
		padding: 20px 0;
		background: #D80C8C;
		margin: 0;
		color: #FFFFFF;
		clear: both;
	}

	.black-text {
		color: #000 !important;
	}
	.white-text {
		color: #fff;
	}

	.letter {
		text-align: center !important;
		font-size: 5em;
	}
	.pink_text {
		color: #D80C8C;
		font-family: GEO, GEO_IE !important;
	}
	.black_text {
		color: #000000;
		font-family: GEO, GEO_IE !important;
	}
	.purple_text {
		color: #2C2133;
		font-family: GEO, GEO_IE !important;
		}.text-block {
			margin: 0;
		}
		.text_bottom {
			margin-top: 35px;
			margin-left: 10px;

		}
		.award-box h4 {
			font-size: 1em !important;
			color: #D80C8C !important;
			padding: 10px 10px 10px 0 !important;
		}

		.award-box hr {
			height: 1px !important;
			background: #dadada !important;
			border: none !important;
		}
		.award-box {
			margin-top: 30px;
			margin-bottom: 30px;
			padding: 15px;
		}


		/* Tony Ingall 01/04/22 - Add Job Description Modal Styles */

		#jd-modal {
			display: none;
			justify-content: center;
			align-items: center;
			position: fixed;
			top: 0;
			left: 0;
			width:100%;
			height:100%;
			backdrop-filter: brightness(60%) blur(5px);
		}

		#jd-modal-inner {
			display: flex;
			justify-content: center;
			align-items: center;
			position: fixed;
			width: 60vw;
			height: 50vh;
			background: white;
		}

		#jd-modal-inner form {
			display: flex;
			flex-flow: column;
			justify-content: center;
			align-items: center;
		}

		#jd-modal-close {
			position: absolute;
			top: 10px;
			right: 10px;
		}