/*
Theme Name: Civic
Theme URI: https://www.blackspiraldesign.co.uk
Author: Black Spiral Design
Author URI: http://www.blackspiraldesign.co.uk
Description: This theme is based on the destination template but customised for local council and civic society websites
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: civictemplate

*/

a {
	color: #780c0c;
	text-decoration: underline;
}

a:hover {
	color: #780c0c;
}

p:empty:before {
    content: "" !important;
}


.bg-primary {
	background-color: #780c0c !important;
}

.text-primary {
	color: #780c0c !important;
}
/*
.bg-primary, .mm_caption/*, h2.init {
    background-color: teal!important;
}

.text-primary, hr.hr-text::before {
    color:teal!important;
}

a {
    color:teal;
}
*/
.btn-primary {
    background-color: #780c0c !important;
    border-color: #780c0c !important;
}

.btn-primary:hover {
    background-color: #bd2130 !important;
    border-color: #bd2130 !important;
}

.btn-outline-primary {
    color: #780c0c !important;
    border-color: #780c0c !important;
}

.btn-outline-primary:hover {
    background-color: #bd2130 !important;
    border-color: #bd2130 !important;
	color: #fff !important;
}

.btn-outline-primary.focus, .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgb(244 67 54 / 50%);
}

/*.masonryflex-img:hover {
    box-shadow: inset 0 0 0 100vw rgba(128,0,128,0.9);
	box-shadow: inset 0 0 0 100vw #009688;
}
.masonryflex-img:nth-child(odd):hover {
    box-shadow: inset 0 0 0 100vw rgb(0 150 136 / 90%);
    transition: all 0.2s ease;
}

.masonryflex-img:nth-child(even):hover{
    box-shadow: inset 0 0 0 100vw rgb(1 53 49 / 90%);
    transition: all 0.2s ease;
}

.event-list > li > time{
    background-color:teal !important;
}

.event-list > li:nth-child(even) > time {
    background-color: #034842 !important;
}*/

.bg-dark {
	background-color: #1E1E1E !important;
	
}

.sticky-top{
	z-index: 1041;
}

.social-header a:hover {
    opacity: 1;
	text-decoration: none;
}

.social-header a, .social-header span {
    opacity: 0.6;
	font-size: 0.9rem;
}

.social-header i {
	font-size:1.2rem;
}

@media screen and (max-width: 992px) { 
	
	nav.navbar.shrink{
		padding-top:1rem;
	}
	nav.navbar.shrink .navbar-brand{
position: absolute; 
  overflow: hidden; 
  clip: rect(0 0 0 0); 
  height: 1px; width: 1px; 
  margin: -1px; padding: 0; border: 0; 
		
	}
}

.navbar-brand img {
    opacity: 0.9;
}

@media (min-width:740px){
#header .navbar {
	padding-top:1rem;
	padding-bottom: 1rem;
}
}

#header .navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link {
	color: #272727;
}

#header .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
	color: #780c0c;
}


.bg_dark{
	background-image: linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.2));
	position: absolute;
	top: 0;
		left:0;
	width:100%;
	height:100%;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.carousel-item {
  height: 70vh;
  min-height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width:1200px){
	.carousel-item{
		min-height: 700px;
	}
}


.carousel-caption{
	position: absolute;
    left:0;
	right: auto;
	bottom: 0;
    z-index: 10;
	padding: 1rem 1rem 1rem 2rem;
   /* padding: 2rem 3rem 4rem 4rem;*/
    color: #fff;
    text-align: left;
    background-color: #780c0ce6;
}

@media (min-width: 995px) {
	.carousel-caption {
		padding: 3rem 3rem 2rem 4rem;
	}
}


.carousel-caption h1 {
    font-family: 'Lora', serif !important;
	line-height: 1em;
	/*font-style:italic;*/
	padding-bottom: 1.5rem;
}

.carousel-caption p {
     line-height: 1.4em;
    margin-bottom: 15px;
    }

.carousel-caption a {
	color: #fff;
}

.carousel-caption h1 a:hover {
	text-decoration: none;
}
	
.carousel-indicators {
	bottom: 15px;
}
	
.carousel-indicators li {
   width: 1rem;
    height: 1rem;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 50%;
    border: 2px solid #fff;
	background-color: transparent;
	background-clip: initial;
}

.carousel-indicators .active {
   background-color: #fff;
}

.carousel-control-next, .carousel-control-prev {
       top: 40%;
	bottom: 60%;
	opacity: 0.9;
}

.bgimage_cta_content {
    color: white;
    padding: 40px;
	position:absolute;
	bottom:0;
	width:100%;
	background-color: #d74007;
}

@media screen and (min-width: 992px){
.bgimage_cta_content {
    top:0;	
}
}

.bgimage_cta_links, .ql_cta_links {
	list-style: none;
	padding: 0;
	margin:0;
}

.bgimage_cta_link, .ql_cta_link {
	color: #fff;
	  font-size: 1.25em;
	
	
}

.bgimage_cta_link:hover, .ql_cta_link:hover {
	
	  text-decoration: none;
	color: rgba(255,255,255,0.80);
}


.bgimage_cta_links li:not(:last-child) {
      margin-bottom: 10px;
}

.ql_cta_links li {
	padding: 20px 0;
	border-bottom: 1px solid #ffffffb3;
}

@media (min-width: 992px){
	.bgimage_cta_links li {
		padding: 20px 0;}
		.ql_cta_links li {
			padding:35px 0;
}
	
	.bgimage_cta_links li:not(:last-child) {
  
	border-bottom: 1px solid #ffffffb3;
}
}

.bgimage_cta_links li, .ql_cta_links li {
      position:relative;
}



a.bgimage_cta_link:after, a.ql_cta_link:after {
    content: "\e606";
    font-family: 'simple-line-icons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -0.75rem;
    font-size: 1rem;
    padding-left: 5rem;
}

span.bgimage_cta_link_icon {
    vertical-align: middle;
	font-size:2rem;
		margin-right: 1rem;
}



	#header a.nav-link {
    font-size: 1.35rem;
		color: rgba(255,255,255,.7);
}

#header a.nav-link:focus, #header a.nav-link:hover {
    color: rgba(255,255,255,1);
}

#header .active>.nav-link {
color: #fff;
}

@media (min-width: 992px){
#header .navbar-expand-lg .navbar-nav {
    flex-grow: 1;
    justify-content: space-evenly;
    max-width: 850px;
	}
}

@media (max-width: 992px){
	#header li.nav-item:not(:last-child) {
    border-bottom: 0.5px solid #d8d8d8;
    
}
}

@media (max-width: 992px){
	#header li.nav-item {
   	padding-bottom: 0.5rem;
    padding-top: 0.5rem;
		position: relative;
}
}

@media (max-width: 992px){
#header li.nav-item a:before {
   content: "\e606";
    font-family: 'simple-line-icons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -0.75rem;
    font-size: 1rem;
}
}

.search_btn {
	height: calc(1.5em + 1rem + 2px);
	    border-radius: 0 .25rem 0.25rem 0;
}

@media (min-width:992px) {

    #logo_full img {
        height: 65px;
        width:auto;
    }

}


.hero-inner{
	justify-content: center;
    align-items: center;
	text-align: center;
	padding-top: 8vh;
}

@media (min-width:768px){
.hero-inner {
	padding-top: 20vh;
}
}

@media (min-width:992px){
.hero-inner {
	padding-top: 25vh;
}
	hero-inner h2 {
	font-size:4.5rem;
}
}

.hero-inner h2 {
	font-size:3rem;
	text-shadow: 0px 0px 10px #000000;
}

.hero-inner i{
	font-size: 3rem;
	}

.hero-inner a {
	color:#fff;
	opacity: 0.6;
	text-decoration:none;
	text-shadow: 0px 0px 8px #000000;
}

.hero-inner a:hover, .icon_menu i:hover, .social-header i:hover, .navbar-toggler i:hover, .heart i:hover {opacity:1;}

#firstsec:focus, #top:focus, #places:focus, #ideas:focus, #events:focus{
	outline:none;
}

.navbar-toggler:focus { outline: none; }

#header .navbar-toggler {
     color: #fff; 
     border: none; 
}

#header .navbar-toggler:hover {
        border: none; 
}

div#header.bg-primary {
    background-color: rgba(0, 123, 255, .8)!important;
}

.icon_menu i, .navbar-toggler i {
	border: 2px solid #780c0c;
	background: #780c0c;
	border-radius: 50%;
	padding: 0.5rem;
	font-size: 1.2rem;
	color: #fff;
	
	}

.icon_menu i:hover{
	border-color: #bd2130;
	background-color: #bd2130;
}

.icon_menu a, .icon_menu a:not([href]):hover {
	color: #780c0c;
	text-decoration: none;
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: 400;
	
}

.icon_menu a:hover {
	color: #bd2130;
}

.navbar-brand img {
    width: 100%;
   }

@media (min-width:740px){
	.navbar-brand img {
   max-height:60px;
		width:auto;
	}
}

.navbar-brand {
	margin-right: 0
   }

@media (min-width:740px){
	.navbar-brand {
 		margin-right: 1rem;
		z-index: 9000;
}
}

#header button.navbar-toggler {
    margin-left: auto;
	margin-right:0.5rem;
    padding: 0.5rem;
    
}


.bgimage h1 {
    font-family: 'Lora', Serif;
	font-size: 3rem;
    margin-top: 3rem;
    margin-bottom: 0.25em;
    text-shadow: 0px 0px 16px #000000;
	/*font-style: Italic;*/
}

.hero-inner h2 {
	font-family: 'Roboto', Sans-Serif; 
	font-style: normal;
	font-weight: 300;
	
}

#header h3 {
font-family: 'Lora', Serif; 	
}

@media (min-width:992px){
	.bgimage h1 {
		font-size:5rem;
	}
}

.phcaption {
	position: absolute;
	top: 0;
	left: 0;
	color:#fff;
	padding: 1.25em 1.25em 1.25em 4em;
	background-color: #780c0ce6;
	text-transform: uppercase;
	z-index: 999;
	
	}


.text h2{
	font-size:3rem;
	position:relative;
	margin-bottom: 2rem;
}

span.headline__secondary {
    font-size: 3rem;
    line-height: 1rem;
    z-index: 12;   

}

span.headline__primary {
   	font-weight: 900;

}

@media (min-width:576px)
{
	span.headline__secondary {
    font-size: 5rem;
	}
}



.call-to-action{
	position:relative;
	background-color:#343a40;
	background-size:cover;
	padding-top:7rem;
	padding-bottom:9rem;
	/*height: 50vh;*/
}

.call-to-action p a {
	color: #fff !important;
}



body{font-family: 'Roboto', sans-serif;}

h1,h3,h4,h5{font-family: 'Roboto', sans-serif;}

h2, h6, #feat_post h3, .blog-post h3, #visit h3, .jumbotron h3 {
    font-family: 'Lora', serif;
   /* font-style: italic;*/
    text-transform: none;
    margin-bottom: .5rem;
}

.emphasis {font-family:Satisfy, Georgia, serif;}

.showcase .showcase-text{padding:3rem;}

.showcase .showcase-img{min-height:30rem;background-size:cover;}

@media (min-width:768px){.showcase .showcase-text{padding:7rem;}}

.mapbox .mapbox-img {-webkit-box-shadow: inset 0px 0px 18px 3px rgba(0,0,0,0.3);
-moz-box-shadow: inset 0px 0px 18px 3px rgba(0,0,0,0.3);
box-shadow: inset 0px 0px 18px 3px rgba(0,0,0,0.3);}

.features-icons .features-icons-item{max-width:25rem;}

.features-icons .features-icons-item .features-icons-icon{height:7rem;}

.features-icons .features-icons-item .features-icons-icon span{font-size:4.5rem; color:#780c0c;}

.features-icons .features-icons-item:hover .features-icons-icon span{font-size:5rem;}

.call-to-action .overlay{position:absolute;background-color:#05232A;height:100%;width:100%;top:0;left:0;opacity:.8;}

footer.footer{padding-top:4rem;padding-bottom:4rem;}


.masonryflex-img{min-height: 10rem; background-size:cover;position:relative; background-position:center;}

@media (min-width: 1200px){
	.masonryflex-img{
		min-height:20rem;
}
	
	.event-list	.masonryflex-img {
		min-height: 25rem;
	}
}

@media (min-width: 1276px) and (max-width: 1490px) {.col-xl-12.masonryflex-img.text-white.p-0.last_block {
    padding-bottom: 2.35rem !important;
}}

footer a, #feed a{
    color: #fff;
	opacity: 0.7;
}

footer a:hover, #feed a:hover {
	opacity: 1;
	color:#fff;
}


#footer_contact a:hover {
	text-decoration: underline;
}

.bottomnav li a {
	font-size: 1.25rem;
	
	font-weight: 300;
}

footer p {
	
	font-weight: 300;
}

.bottomnav li a:first-child {
    padding-left: 0;
}

.bottomnav .navbar {
	justify-content:center;
}

.list-inline li:last-child {
    margin-right: 0!important;
}

@media (min-width:992px){
	.bottomnav .navbar {
	justify-content:start;
}
}

/*To the top button */

#tttbutton {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 76px;
    height: 76px;
     display: block;
	 cursor: pointer;
    overflow: hidden;
    z-index: 5000;
	-webkit-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
-webkit-transition: all 2s ease;
  -moz-transition: all 2s ease;
  -ms-transition: all 2s ease;
  -o-transition: all 2s ease;
  transition: all 2s ease;
}

#tttbutton.show {
   
   	opacity: 1.0;
}

#tttbutton img {
    width: 4rem;
    height: 4rem;
    position: absolute;
    bottom: 0;
    right: 0;
}

.event_wrapper {
    background-color: rgb(245, 245, 245);
    width: 100%;
   /* position: absolute;
    bottom: 0;*/
    Height: auto;
	text-shadow:none;
	padding-bottom:1rem;
}


.feature{
	width:100%;
	position:relative;
}

.event-list {
		list-style: none;
		margin: 0px;
		padding: 0px;
	}
	.event-list > li {
		margin: 0px 0px 1rem;
	}

	.event-list > li > .info {
		padding-top: 5px;
		text-align: center;
	}
	.event-list .title, #events h2.title {
		font-size: 1.5rem;
		/*font-weight: 700;*/
		margin: 0px;
	}
	
	

	@media (min-width: 768px) {
		.event-list > li {
			position: relative;
			display: block;
			width: 100%;
			height: 120px;
			padding: 0px;
		}
		
		.event-list > li:last-child {
			height:auto;
					}
		
		.event-list .info, #events .event_wrapper {
			background-color: rgb(226, 225, 225);
			overflow: hidden;
		}
		
		.event-list > li > .info {
			position: relative;
			/*height: 120px;*/
			text-align: left;
			padding-right: 40px;
		}	
		
		
		


}

@media (min-width:995px) {
#first_ul .masonryflex-img.text-white.p-0 {
    min-height:25rem;
}
}

.event-list .info {
			background-color: rgb(226, 225, 225);
			overflow: hidden;
		}
		
.upcoming .info .title a, .upcoming .info p a {
	color: #fff;
}

.upcoming .info p a:after, .past .info p a:after {
	content: "\e606";
    font-family: 'simple-line-icons';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 8%;
    font-size: 1rem;
    padding-left: 5rem;
}

/* Fix WP Calendar Widget */

.event_listwrap ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.event_listwrap > ul > li {
    margin: 0px 0px 1rem;
}

.event_listwrap > ul > li > time {
    background-color: #780c0c !important;
}

.event_listwrap > ul > li > time {
    display: inline-block;
    width: 100%;
    color: rgb(255, 255, 255);
    background-color: #007bff;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
}

.event_listwrap ul > li > time > .day {
    display: block;
    font-size: 56pt;
    font-weight: 100;
    line-height: 1;
}

.event_listwrap > ul > li time > .month {
    display: block;
    font-size: 24pt;
    font-weight: 900;
    line-height: 1;
}

.event_listwrap ul > li:nth-child(even) > time {
    background-color: #034842 !important;
}

.event_listwrap > ul > li > .info {
    padding-top: 5px;
    text-align: center;
}

.event_listwrap ul > li > .info > .title {
    font-size: 14pt;
    font-weight: 700;
    margin: 0px;
}

.event_listwrap ul > li > .info > .desc {
    font-size: 13pt;
    font-weight: 300;
    margin: 0px;
}

.feature img{
	max-width: 100%;
    height: auto;
}

#homelatest2 ul {
    padding-right: 0!important;
}



@media (min-width: 1200px){
.event_listwrap ul {
    padding-right: 3rem!important;
}
}

@media (min-width: 992px) {
.event_listwrap ul li {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0px;
}

.event_listwrap > ul > li > time, .event_listwrap > ul > li > img {
    width: 120px;
    height: 120px;
    padding: 0px;
    margin: 0px;
    float:left;
    display:inline-block;
}

.event_listwrap ul > li > .info {
    position: relative;
    height: 120px;
    text-align: left;
    padding-right: 40px;
}

.event_listwrap ul > li > .info {
    background-color: rgb(245, 245, 245);
    overflow: hidden;
}
.event_listwrap ul > li > .info > .title, .event_listwrap ul > li > .info > .desc {
    padding: 0px 10px;
}
}



h2.init {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
   /* background-color: rgba(0,123,255,0.9);*/
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    /*text-shadow: none;*/
	text-shadow: 0px 0px 8px #000000;
	width:100%;
}



/* Page Head */

.pagehead_bg_dark {
	background-image: linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.2));
		-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	min-height:200px;
}


div#pagehead_bg, #pagehead_prof {
    min-height: 500px;
    background-size: cover;
    overflow: hidden;
    background-position: center;
	position: relative;
}

#pagehead_bg .hero-inner, #pagehead_prof .hero-inner {
    padding-top: 6vh;
}

#pagehead_bg h1 {
	font-size: 3rem;
    /*margin-top: 3rem;*/
   /* margin-bottom: 0.5em;*/
    font-family: 'Lora', serif;
   /* text-shadow: 0px 0px 16px #000000;*/
}


@media (min-width: 992px){
#pagehead_bg h1 {
    /*font-size: 5rem;*/
	font-size: 3rem;
	}
	
	
}


/* Highlights */

#highlights_head span.headline__primary {
	font-size: 3rem;
}

#highlights_head span.headline__primary::before {
		content: "\A";
		white-space: pre;
	}

#highlights .masonryflex-img {
    background-position: center;
}
	

@media (min-width: 992px){
#highlights_head span.headline__primary {
	font-size: 3.5rem;
}	
	#highlights_head span.headline__primary::before {
		content: "";
		white-space: normal;
	}
	
}



/************ Events Manager styling ************/


table.fullcalendar, table.em-calendar {
    width: 100%;
}

table.fullcalendar td {
	width: 14.28%;
}

table.em-calendar ul {
    list-style: none;
}

/* Search */

.em-search-wrapper .screen-reader-text {
    display: none;
}

div.css-search, div.css-search.has-advanced div.em-search-main {
	border:none;
}

div.css-search input, div.css-search select {
    border: 1px solid #ced4da;
    border-radius: .25rem;
    margin-right: 0.25rem;
}

div.css-search div.em-search-field {
  /*  padding: 5px 0px;*/
    color: #495057;
    background-color: #fff;
	border: 1px solid #ced4da;
    border-radius: .25rem;
    background-clip: padding-box;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    padding: .75rem .75rem;
}

div.css-search div.em-search-text, div.css-search div.em-search-geo {
  margin-left: 0;
  padding-left: 2rem !important;
   background-position-x: 0.6rem;
    background-position-y: 0.6rem;
}

div.css-search div.em-search-text {
margin-right: 0.25rem;
}

div.css-search input.em-search-text, div.css-search input.em-search-geo {
    width: calc(100% - 100px);
}

div.css-search.has-search-geo.has-search-term input.em-search-text, div.css-search.has-search-geo.has-search-term input.em-search-geo {
    width: 28%;
}

div.css-search div.em-search-main .em-search-submit {
	position: relative;
    top: -.05rem;
    left: 0.5rem;
	color: #fff;
    background-color: #1891bf !important;
    border-color: #1891bf;
	border-radius: .25rem;
	background: none;
	padding: 10px 12px;

}
	
div.css-search div.em-search-main .em-search-submit:hover {
color: #fff;
    background-color: #015851 !important;
    border-color: #015851 !important;
	background: none;
	cursor: pointer;
	
}

div.css-search div.em-search-options {
    text-align: left;
}

div.css-search div.em-search-advanced > div {
    border: none;
}

/* Full Calendar */

.wpfc-calendar-wrapper h2 {
    font-size: 1.5rem !important; 
    font-family: 'Lora', serif;
	font-style: normal;
   
}

th.fc-day-header.fc-widget-header {
    background-color: #343a40!important;
	color:#ffffff;
	padding: .25rem!important;
}

.fc th {
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 1.25rem !important;
	margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

td.fc-day-number {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-align: start !important;
    padding-left: 0.5rem !important;
    /* color: darkgray; */
}

.fc-day-grid-event .fc-content {
    text-align: center;
}


.event_feat {
    min-height: 300px;
    max-height: 450px;
    height: 35vh;
    background-size: cover;
}

/* Nav menu fixes on mobile */

#header ul.dropdown-menu.show {
    background-color: #343a40;
    padding: 1.5rem;
}

#header a.dropdown-item {
    font-size: 1.35rem;
    padding-left: 0;
    color: rgba(255,255,255,.7);
}


@media (max-width: 992px){
#header .dropdown a.dropdown-toggle:before {
display:none;
}
}


.content_wrap h1 {
    font-size: 2rem;
   
    font-weight: 700;
	text-align:center !important;
}

@media (min-width:576px ){
	.content_wrap h1{
	font-size: 3.5rem;
}
}

ul.page-list {
    font-size: 1.35rem;
}

#mainnav {
	font-size: 1.2rem;
	font-weight: 400;
	
}
@media (min-width:992px)and (max-width: 1200px){
	#mainnav, .icon_menu a, .icon_menu a:not([href]):hover {
		font-size: 1rem;
	}
	
}

@media (min-width: 1018px){
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}
	
}

#tagline h2 {
	font-family: 'Lora', serif;
	
	font-style: normal;
}

.call-to-action h2 {
    font-size: 3rem;
}

#header .logo img {
    max-height: 100%;
	width: auto;
	max-width:90px;
}

#header #tagline h2, .features-icons-item span.first-word {
	font-size: 2.5rem;
}

@media (min-width:350px){
	.features-icons-item span.first-word {
	font-size: 3rem;
}
	
}

@media (min-width:748px) {
	#tagline {text-align: left !important;
		padding-bottom: 1rem;
			}
	
	}

@media (min-width:992px) {
	#header #tagline h2 {
	font-size: 3rem;
}
}

@media (min-width:1400px){
	#header #tagline h2 {
	font-size: 4rem;
}
}

.features-icons-item h2{
    font-style: normal;
   
}

#footer_contact h3 {
	font-family: 'Lora', serif;
	/*font-style: italic;*/
}


@media (min-width: 992px) {.news_list .masonryflex-img.text-white.p-0 {
    min-height: 12rem;
}
}

.info.p-3 {
    padding-left: 2rem !important;
}

.masonry_overlay h3.pt-lg-2 {
   
    font-size: 1.35rem;
}

.info a.planning, a.planning {
	color: #EC680D;
	
}


.call-to-action .newsletter {
    right:3%;
    bottom:3%;
    z-index: 91;
  	position:absolute;
	width: 60%;
		opacity:0.8;
	}


@media screen and (min-width: 1400px){
.call-to-action .newsletter {
    right:5%;
      
}
}

#news .masonry_overlay, #events .masonry_overlay {
	background-color: rgba(24, 145, 191, .9);
    position: absolute;
    bottom: 0;
}

#news h3.day {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

#news h3.month {
	font-size: 1.4rem;
	font-weight: 500;
    margin-bottom: 0;
	
}

.dropdown-menu {
	font-size: 1.2rem;
	border:0;
}

.dropdown-menu .dropdown-toggle {
	padding: .25rem 1.5rem;
}
.dropdown-menu .dropdown-menu{
  position: static;
}

.dropdown-menu .dropdown-menu .dropdown-item {
	padding: .25rem 1.5rem .25rem 3.5rem;
}

.dropdown-menu a::after {
  
  position: absolute;
  right: 6px;
  top: .7em;
	font-size: 1.25rem;
}

.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}
/* to show the arrow */

.dropdown-menu .dropdown-toggle a::after{
  transform: rotate(-90deg);
  position: absolute;
  right: 6px;
  top: .8em;
}

@media (min-width: 992px) {
	
	.dropdown-menu {
	border: 1px solid rgba(0,0,0,.15);
}
.dropdown-menu .dropdown-menu{
  position: relative;
}
	.dropdown-menu a::after {
  transform: rotate(-90deg);
  position: absolute;
  right: 6px;
  top: .92em;
	font-size: 1.2rem;
}
	.dropdown-menu .dropdown-toggle {
	padding: .5rem 1.5rem;
}
	.dropdown-menu .dropdown-menu .dropdown-item {
	padding: .25rem 1.5rem;
}
}

.wp-block-search .wp-block-search__button  {
    background: #1891BF;
    color: #fff;
}

.wp-block-search .wp-block-search__button:hover  {
    background-color: #064963;
}

.em-search-wrapper {
	padding-top: 3rem;
}

.ql_icon {
	font-size: 3rem;
}

.event-list .masonry_overlay {
    position: absolute;
    bottom:0;
}

.group_membership h3 {
	/*font-style: italic;*/
	font-family: "Lora", serif;
}

.docs a {
    color: initial !important;
}

.content_wrap table,
.text-editor table {
    width: 100%;
    border: 1px solid #eaedf2;
    margin-bottom: 1.5em;
}
.content_wrap tr,
.text-editor tr {
    border-bottom: 1px solid #eaedf2;
}
.content_wrap tr:nth-child(even),
.text-editor tr:nth-child(even) {
    background-color: #f8f9fa;
}
.content_wrap td,
.text-editor td {
    padding: 7px;
    border-right: 1px solid #eaedf2;
}
.content_wrap td:last-child,
.text-editor td:last-child {
    border-right: 0;
}
.content_wrap th,
.text-editor th {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaedf2;
    border-right: 1px solid #eaedf2;
}
.content_wrap th:last-child,
.text-editor th:last-child {
    border-right: 0;
}


summary{ list-style: none; }
summary::-webkit-details-marker,
summary::marker{
  display: none;
}

.accordion {
  width: 100%;
  display: block;
  margin: 0 auto;
  position: relative;
}

.accordion.full {
  max-width: unset;
}

.accordion .accordion__title,
.accordion .lab_accordion__title {
  text-align: left;
   cursor: pointer;
  position: relative;
  border-bottom: 1px solid #1b4b66;
  padding: 20px 30px 20px 0;
  line-height: 40px;
  text-transform: none;
 }

.accordion .accordion__title span,
.accordion .lab_accordion__title span {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
}

.accordion .accordion__title span:before,
.accordion .accordion__title span:after,
.accordion .lab_accordion__title span:before,
.accordion .lab_accordion__title span:after {
  content: "";
  position: absolute;
  background-color: #fa7268;
  transition: transform 0.25s ease-out;
}

.accordion .accordion__title span:before,
.accordion .lab_accordion__title span:before {
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  margin-left: -2px;
}

.accordion .accordion__title span:after,
.accordion .lab_accordion__title span:after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  margin-top: -2px;
}

.accordion[open] .accordion__title span:before,
.accordion[open] .lab_accordion__title span:before {
  transform: rotate(90deg);
}

.accordion[open] .accordion__title span:after,
.accordion[open] .lab_accordion__title span:after {
  transform: rotate(180deg);
}

.accordion .accordion__content {
  text-align: left;
  padding: 20px;
}
/* 
Safari iOS has a weird delayed repaint bug when it comes to transition animations, this just disables the transition to fix 
*/

@supports (-webkit-touch-callout: none) {
  
.accordion .accordion__title span:before,
.accordion .accordion__title span:after,
.accordion .lab_accordion__title span:before,
.accordion .lab_accordion__title span:after {
      transition:none;      
    }

}
.img_cap {
    position: absolute;
    bottom: 0;
    right: 0;
	z-index: 999999;
    color: #fff;
    font-size: small;
}

.bigh2 {
	font-size: 3rem;
}

.event_archive h2 {
    position: relative;
    left: -20px;
}

.info .dropdown-menu {
	font-size: 1rem;
}

/* Mayor Diary */


.booking_form.vertical {
    width: 100%;
    margin: auto;
}

.bk_calendar_frame.months_num_in_row_.cal_month_num_1 {
    width: 100% !important;
}

.datepick-inline .datepick, .datepick-inline .datepick-header, .datepick-inline .calendar-links, .datepick-inline .calendar-links a, .datepick-inline .datepick-days-cell, .datepick-inline .datepick-days-cell a, .datepick-inline .datepick-days-cell div, .datepick-inline .datepick-title-row, .datepick-inline .datepick-title-row th {
      font-size: 1rem; 
}

.datepick-inline .datepick-header span{
    font-size: 1.5rem;
}

.datepick-inline .calendar-links {
     border-bottom: none;   
}

  .datepick-header {
    padding-bottom: 2rem !important;
}

.datepick-inline .datepick-title-row th, .datepick-inline .datepick-days-cell {
    min-height: 40px;
    padding:1rem 0 1rem 0
}

.block_hints.datepick {margin-top: 2rem !important;}

.booking_form textarea, .booking_form input[type="text"] {
    width: 98%;
}

.booking_form .captachinput {
    width: 248px !important;
}

@media (max-width: 782px) {
.wpbc_change_over_triangle {
    width: 100%;
}}

.service_table td {
	width: 33% !important;
}

#news_links li {
	list-style: none;
}