/*
Theme Name: Destination
Theme URI: http://www.blackspiraldesign.co.uk
Author: Black Spiral Design
Author URI: http://www.blackspiraldesign.co.uk
Description: This template provides a base for tourism destination websites. It's best used alongside the Tourism Website Toolkit.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: warkstemplate

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/*set typography */

body {
	font-family: 'Source Sans Pro', sans-serif;
}

h1, .acadp h1 {
	margin-bottom: 2rem;
	font-family: 'Source Serif Pro', serif;
	
	font-size: 3.5rem;
}


h2, h6, .acadp h2 {
	font-family: 'Source Serif Pro', serif;
	
	text-transform: none;
	margin-bottom: 0.5rem;
}


h3, h4, h5 {
	font-family: 'Source Sans Pro', sans-serif;
	text-transform: uppercase;
	font-weight:700;
	
}

/*set colours */

a {
	color: #dc3545;
}

a:hover {
	color: #bd2130;
}


/*set background colours */

.contrast_outer {
    background-color: #f2f5ea;
	}
	
#nav_outer {
	background-color: #ffffff;
}

#footer_outer {
	background-color: #212529;
}

#footer_btm {
	background-color: #dc3545;
	}

.btn-danger, .acadp .btn-danger{
	 background-color: #dc3545 !important;
	 border-color: #dc3545 !important;
	 color:#fff !important;
	 
	}
	
.btn-danger:hover, .acadp .btn-danger:hover{
	 background-color: #bd2130 !important;
	 border-color: #bd2130 !important;
	color:#fff !important;
	 
	}

.dropdown-item:active{
	background-color: #f2f5ea;
}

.btn-secondary {
	color: #fff !important;
}


/***************** Header *****************/

#header {
	margin-top: 1.5rem;
}

@media (max-width:992px) {
	.logo {
		margin-bottom:1.5rem;
}
}

#tagline {
	margin-top: auto;
	margin-bottom: auto;
}

@media (max-width:992px) {
	#tagline {
		text-align:center;
}
}

@media (max-width:992px) {
	#tagline {
		margin-bottom:1.5rem;
}
}

#nav_outer {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}

#mainnav {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 0.5rem;
}

#nav_search {
	margin-bottom: 0rem;
}

#navsearch_btn {
	margin-left: 0.5rem;
}

#nav_outer a, #menu-footer a {
	font-size: 1.25rem;
	text-decoration: none;
}

@media (min-width:992px) and (max-width:1500px){
	#nav_outer a, #menu-footer a {
	font-size: 1.1rem;
	}
}

@media (min-width: 1200px){
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 2.5rem;
    padding-left: 0;
}
}



/* Search box behaviour in responsive */

.form-group input {
  width: calc(100% - 50px);
  display: inline-block;
  vertical-align: top;
}



/***************** Page Head *****************/

/* page header image */

#pagehead_bg {
    padding-top: 10rem;
    padding-bottom: 3rem;
	min-height: 350px;
	background-size: cover;
	background-position: center;

}

/* page header title */

.pagehead_title h1 span {
    background: #dc3545;
	color: #FFF;
    padding: 0 30px;
	-moz-box-shadow: 0.2em 0 0 #dc3545,-0.2em 0 0 #dc3545;
    -webkit-box-shadow: 0.2em 0 0 #dc3545, -0.2em 0 0 #dc3545;
	box-shadow: 0.2em 0 0 #dc3545, -0.2em 0 0 #dc3545;

}

.pagehead_title h1 {
    font-family: 'Source Sans Pro', sans-serif !important;
	text-transform: uppercase;
	line-height: 1.15em;
	font-style:normal;
	margin-bottom: 0.15em;
	text-align: center;
	font-weight:700;
	font-size: calc(1.4rem + 3.3vw);
}



@media (min-width:768px){
	.pagehead_title h1 {
		font-size:4rem;
	}
}

/* page header subtitle */

.pagehead_title p span{
    padding: 5px 10px;
    background: rgba(255,255,255,.9);
	color: #000;
}
.pagehead_title p {
     line-height: 1.4em;
    margin-bottom: 15px;
	text-align: center;
    }
	
#intro_outer {
	 background-color: #f2f5ea;
 padding-top: 3rem;
 padding-bottom: 3rem;
 text-align: center;
}

/***************** Footer *****************/

#footer {
	padding-top: 2rem;
}

#footer .logo {
	padding-bottom: 3rem;
	text-align: center;
}

#footer_contact {
	text-align: center;
	
}

@media (max-width:1200px) {
	#footer_contact {
	padding-bottom: 3rem;
}
}

#footer_contact h3, #footer_contact p {
	color: #fff;
}

#footer_contact a {
	color: rgba(255,255,255,.75);
}

#footer_contact a:hover {
	color: #fff;
}

#footerbtm {
	padding-bottom:2rem;
	padding-top:0.5rem;
}

#social {
	padding-left:3rem;
	padding-top:0.5rem;
	padding-bottom: 1rem;
}

/*To the top button */

#tttbutton {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 76px;
    height: 76px;
     display: none;
	 background-image: url(img/up-arrow-1.png);
	 background-repeat:no-repeat;
    z-index: 1;

}

/* social icons in footer */
	
#social {
	font-size:1.7rem;
	text-align: center;
	font-family: FontAwesome;
}

#social a {
	color: rgba(255,255,255,.75)
}

#social a:hover, a.text-muted:hover {
	color: #fff !important;
}

/* copyright */

#copyright, #credit {
	color: #fff;
}

#credit a {
	color: rgba(255,255,255,.5) !important;
}

#credit a:hover {
	color: #fff !important;
	}

/***************** Home Page *****************/

/* Homepage Slider */

.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;
	background-position: center;
}

.carousel-caption{
	bottom: 5rem;
}

.carousel-caption h1 span {
    background: #dc3545;
	color: #FFF;
    padding: 0;
	    -moz-box-shadow: 0.2em 0 0 #dc3545,-0.2em 0 0 #dc3545;
    -webkit-box-shadow: 0.2em 0 0 #dc3545, -0.2em 0 0 #dc3545;
box-shadow: 0.2em 0 0 #dc3545, -0.2em 0 0 #dc3545;
}

@media (min-width:576px){
.carousel-caption h1 span {
       padding: 0 30px;
	  }
}


.carousel-caption h1 {
    font-family: 'Source Sans Pro', sans-serif !important;
	text-transform: uppercase;
	line-height: 1.15em;
	font-style:normal;
	margin-bottom: 0.15em;
	
}

.carousel-caption p span{
    padding: 5px 10px;
    background: rgba(255,255,255,.9);
	color: #000;
	 -moz-box-shadow: 0.2em 0 0 rgba(255,255,255,.9),-0.2em 0 0 rgba(255,255,255,.9);
    -webkit-box-shadow: 0.2em 0 0 rgba(255,255,255,.9), -0.2em 0 0 rgba(255,255,255,.9);
box-shadow: 0.2em 0 0 rgba(255,255,255,.9), -0.2em 0 0 rgba(255,255,255,.9);
}
.carousel-caption p {
     line-height: 1.4em;
    margin-bottom: 15px;
    }
	
.carousel-indicators {
	bottom: 5px;
}
	
.carousel-indicators [data-bs-target] {
    width: 1rem;
    height: 1rem;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 1rem;
	border:0;
}

video.video-fluid {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    width: 100vw;
    z-index: 0;
}

.head_caption {
    color: #fff;
    font-size: small;
    position: absolute;
    bottom: 1%;
    right: 1%;
}

/* Inspire section */

#inspire_intro {
	padding-bottom:2rem;
}


/* Inspire alternative layout */

.masonryflex h2 {
	font-family: 'Source Sans Pro', sans-serif !important;
	text-transform:uppercase;
	font-size:2.75rem;
}

.masonryflex-img{min-height:25rem;
	background-size:cover;
	background-position:center;
	position:relative;}

 #mf1.masonryflex-img:hover, #mf3.masonryflex-img:hover {
/* box-shadow: inset 0 0 0 100vw rgba(0,123,255,0.9);*/
	box-shadow: inset 0 0 0 100vw rgba(220,53,69,0.9);
	transition: all 0.2s ease;
	
	}

 #mf2.masonryflex-img:hover, #mf4.masonryflex-img:hover{
    box-shadow: inset 0 0 0 100vw rgb(189 33 48 / 90%);
    transition: all 0.2s ease;
}

@media (min-width:992px){
.masonryflex_last {padding-top:40%}
}

.masonryflex-img:hover >.hover_content {
    opacity:1;
	/*transition:1s;*/
}

.masonryflex-img:hover >.init {
    opacity:0;
	transition:0.1s;
}

.hover_content {
    opacity:0;
}

h2.init {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    text-shadow: 0px 0px 8px #000000;
    width: 100%;
}

/* Homepage map */

#map_outer {
	padding-top: 3rem;
 padding-bottom: 3rem;
 text-align: center;
}

#white_outer {
	 background-color: #fff;
 padding-top: 3rem;
 padding-bottom: 3rem;
 text-align: center;
}

#outer {
 padding-bottom: 3rem;
}

/* Latest Section */

div#latest_widget2 {
    height: 100%;
}

#latest_widget2 .card-body {
    padding: 0 0 1rem 0;
}

/***************** Cards *****************/

#card_outer {
	 padding-top: 3rem;
 padding-bottom: 3rem;
 text-align: center;
}

#card_outer h3 {
	padding-top: 3rem;
	font-size:1.7em;
	color:#999;
}

.card-body h3 svg {
    font-size: 2.5rem;
    color: #999;
}


/* itinerary & article cards */

.card-img-right {
  height: 100%;
  border-radius: 0 3px 3px 0;
}

.flex-auto {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
}

@media (min-width: 768px){
.h-md-250 {
    height: 250px;
}
}

/* Card Columns No Gutters */

.card-columns {
    column-gap: 0;
}

.card-columns .card {
	margin-bottom: 0;
	border: 0px;
}

/***************** Blog *****************/

/* Blog Pagination */

.blog-pagination {
  margin-bottom: 2rem;
      position: relative;
    display: flex;
}

.blog-pagination a.btn {
    margin-right: 0.5rem;
}

.thumbimg {
	width: 100%;
}


/*  Blog posts  */

.blog-post {
  margin-bottom: 2rem;
}
.blog-post-title {
  margin-bottom: .25rem;
  font-size: 2.5rem;
}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #999;
}

.blog-post h2 a:hover {
    text-decoration: none;
}

#feat_post h3 a:hover{
	text-decoration: none;
}


/************ 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: #dc3545 !important;
    border-color: #dc3545;
	border-radius: .25rem;
	background: none;
	padding: 10px 12px;

}
	
div.css-search div.em-search-main .em-search-submit:hover {
color: #fff;
    background-color: #bd2130 !important;
    border-color: #bd2130 !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: 'Source Sans Pro', sans-serif;
	font-style: normal;
    text-transform: uppercase;
}

th.fc-day-header.fc-widget-header {
    background-color: #343a40!important;
	color:#ffffff;
	padding: .25rem!important;
}

.fc th {
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    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;
}

/* Events Widget */

.widget_wrap .card-title {
	margin-bottom: 1rem;
}

.widget_wrap a {
	text-decoration: none;
}

#latest_widget1 ul, #latest_widget3 ul  {
    list-style: none;
    padding-left: 0;
	text-align:left;
}

#latest_widget1 ul li, #latest_widget3 ul li {
	border-bottom: 1px dashed #ced4da;
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
}

#latest_widget1 ul li ul li {
    border-bottom: 0;
}

li.all-events-link {
    border-bottom: 0 !important;
	padding-bottom:0 !important;
}

#latest_widget2 ul {
    list-style: none;
    padding-left: 0;
	text-align:center;
	
}

#latest_widget2 li {
    padding-bottom:0.75rem
}

#latest_widget2 img {
    width:100% !important;
	margin-bottom: 1rem;
}

#latest_widget2 a {
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem !important;
	margin-bottom: .5rem;
    font-weight: 700;
    line-height: 1.2;
}

#latest_widget2 a.btn {
    font-family: inherit !important;
    text-transform: none;
    font-size: 1rem !important;
    margin-bottom: 0;
    font-weight: 400;
    line-height: inherit;
}

#latest_widget3 ul li a img{
      width: 100%;
      height: 100%;   
}



/************ Directory styling ************/

.acadp .btn-group > .btn:first-child {
    margin-left: 1rem !important;
}

.acadp a {
	color: #dc3545 !important;
}

.acadp a:hover {
	color: #bd2130 !important;
}

.acadp-divider {
	background-color: inherit !important;
}

.acadp .pagination {
	margin-left: 1rem !important;
}

.acadp .pagination > .active > a, .acadp .pagination > .active > span, .acadp .pagination > .active > a:hover, .acadp .pagination > .active > span:hover, .acadp .pagination > .active > a:focus, .acadp .pagination > .active > span:focus {
	background-color: #dc3545 !important;
	border-color: #dc3545 !important;
}

.acadp .pull-left.text-muted {
      padding-top: 0.3rem;
}

.acadp .dropdown-menu > .active > a, .acadp .dropdown-menu > .active > a:hover, .acadp .dropdown-menu > .active > a:focus {
	background-color: lightgrey !important;
}

.acadp .acadp-responsive-container {
     background: #FFFFFF !important;
}

.dropdown-toggle::after {
    content: "";
}

.acadp .dropdown-toggle::after {
    content: none;
}

