/* DFA Custom Style Overwrites */

/* Banner
---------------------------------------------*/
.bannerInfoBox h1,
.bannerInfoBox h2,
.bannerInfoBox h4 {
	text-shadow: 1px 1px 5px #222 !important;
}

.bannerInfoBox h1,
.bannerInfoBox h2 {
	/* font-family: 'sf_compact_displayregular' !important; */
	font-family: 'sf_compact_displaybold' !important;
	font-weight: normal !important;
	font-size: 75px;
}

.bannerInfoBox h3 {
	/* font-family: 'sf_compact_displayregular' !important; */
	font-family: 'sf_compact_displaybold' !important;
	font-weight: normal !important;
	font-size: 48px;
}

.bannerInfoBox h4 {
	margin-top: 1em;
	font-family: 'Rockwell' !important;
}

@media (min-width: 992px) and (max-width: 1279px) {
	.banner_small {
		height: 284px;
	}
}

@media (min-width: 992px) and (max-width: 1279px) {
	.bannerInfoBox {
		padding-top: 86px;
	}
}

/* Carousel
---------------------------------------------*/
#myCarousel .banner-1 {
	position: relative;
	z-index: 1;
}

#myCarousel .banner-1::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: rgba(0,0,0,0.2);
}


/* Blog
---------------------------------------------*/
.single h1 {
	font-size: 27px;
  font-family: sfd;
	font-weight: bold;
}

.single main {
	padding-top: 5em;
}

.sidebar-layout article {
	padding-bottom: 5em;
}

.sidebar section {
	padding-bottom: 1em;
}

.sidebar h4 {
	color: #335111;
	font-family: 'sf_compact_displaybold';
}

.sidebar ul {

	padding-left: 2em;
}

.sidebar ul li {
	font-size: 16px;
}

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

.sidebar-rss {
	padding-top: 1.5em;
}

.sidebar-rss .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	color: inherit;
}

a.blog-back-btn {
	margin-top: 2em;
	display: inline-block;
	font-size: 16px;
	font-family: 'sf_compact_displaybold';
	color: #335111;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

a.blog-back-btn:hover {
	color: #da370b;
}

.sidebar-back .btn:hover {
	background-color: #da370b;
	color: #fff;
}

.blog-container {
	padding-top: 2em;
}

.single .blog-tags {
	margin-top: 2em;
}

.blog-tags {
	font-family: 'sf_compact_displaybold';
}

.blog-tags a,
.blog-tags a:hover {
	font-family: "Open Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	font-weight: 400;
	text-decoration: underline;
}

@media (min-width: 992px) {
	.single main {
		padding-top: 8em;
	}

	.sidebar-layout {
		display: flex;
	}

	.sidebar-layout article,
	.sidebar-layout aside {
		box-sizing: border-box;
	}

	.sidebar-layout article {
		padding-right: 5em;
		border-right: 1px solid #ddd;
		flex-basis: 65%;
	}

	.sidebar-layout aside
	{
		padding-left: 3em;
		flex-basis: 35%;
	}
}

/* Pagination
---------------------------------------------*/
.pagination {
	margin-top: 0;
	width: 100%;
	text-align: center;
}

.pagination h2 {
	margin: 0;
}

.pagination .page-numbers {
	width: 2.75rem;
	height: 2.75rem;
	margin: 0 .5em 0 0;
	display: inline-block;
	font-size: 1.5rem;
	line-height: 2.85rem;
	text-align: center;
	text-decoration: none;
	border: 1px solid;
	border-color: #335111;
	color: #335111;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.pagination .page-numbers.current {
	background-color: #335111;
	border-color: #335111;
	color: #fff;
	pointer-events: none;
}

.pagination .page-numbers:hover {
	background-color: #da370b;
	border-color: #da370b;
	color: #fff;
}

/* Events
---------------------------------------------*/
.page-template-festivals-events .tab_gallery
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.page-template-festivals-events .media-top {
	overflow: hidden;
}

.page-template-festivals-events .mb-cls
{
	padding: 15px;
}

.page-template-festivals-events .mb-cls h2
{
	font-size: 20px;
	text-align: left !important;
}

.page-template-festivals-events .width-3
{
	width: calc( ( 100% / 3 ) - 2em );
	margin: 1em;
	float: none;
}

@media (max-width: 767px)
{
	.page-template-festivals-events .width-3
	{
		width: calc( 50% - 1em ) !important;
		margin: .5em;
	}
}

.page-template-festivals-events .media .media-left img
{
	border: 0;
}

@media (max-width: 560px)
{
	.page-template-festivals-events .media-body
	{
		text-align: left;
	}

	.page-template-festivals-events .mb-cls h2
	{
		font-size: 15px;
	}

	.page-template-festivals-events .mb-cls p
	{
		font-size: 13px;
	}
}
.page-template-festivals-events .width-3 .mb-cls p
{
	overflow: auto;
	white-space: inherit;
	text-overflow: inherit;
	margin-bottom: 4px;
}
