@import url('https://fonts.googleapis.com/css?family=Barlow+Condensed|Source+Sans+Pro|Ubuntu&display=swap');

/* Used in the logo
font-family: 'Ubuntu', sans-serif;
*/

* {
 	font-family: 'Source Sans Pro', sans-serif;	
}

h1, h1 *:not(i),.h1, .h1 *:not(i) {
	font-family: 'Ubuntu', sans-serif;
}

h2, h3, h5, h5, h6,
h2 *:not(i), h3 *:not(i), h4 *:not(i), h5 *:not(i), h6 *:not(i),
.h2, .h3, .h4, .h5, .h6,
.h2 *:not(i), .h3 *:not(i), .h4 *:not(i), .h5 *:not(i), .h6 *:not(i) {
	font-family: 'Barlow Condensed', sans-serif;
}

h1 a:hover, h2 a:hover, h3 a:hover, h5 a:hover, h5 a:hover, h6 a:hover,
.h1 a:hover, .h2 a:hover, .h3 a:hover, .h5 a:hover, .h5 a:hover, .h6 a:hover {
	text-decoration: none;
}
	
*:focus {outline:none;}

.disabled {
	opacity: .5;
}

.container-fluid {
	max-width: 1200px;
}

p + h1, p + h2, p + h3, p + h4, p + h5, p + h6,
p + .h1, p + .h2, p + .h3, p + .h4, p + .h5, p + .h6,
ul + h1, ul + h2, ul + h3, ul + h4, ul + h5, ul + h6,
ul + .h1, ul + .h2, ul + .h3, ul + .h4, ul + .h5, ul + .h6 {
    margin-top: 3rem;
}

.cc-logo {
	width: 120px;
	height: auto;
}

.table-striped-row {
	background-color: rgba(0,0,0,0.05);	
}

.table-striped-row td {
	border-top: 1px solid #fff;
}

/* helpers */
.bg-black-50 {
	background-color: rgba(0,0,0,.5);
}

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

.img-background {
	background-size: cover;
	background-position: center center;
}

.border-dotted {
	border-style: dotted !important;
}

.avatar-wrap {
	width: 100%;
}

/* adjustments */
.wp-block-embed {
	margin-bottom: 3rem !important;
}

#main-menu li li.active {
	background-color: #888888;
}

#main-menu li li.active a {
	color: white;
}

#main-menu li li.active a:hover {
	background: #888888;
	color: white;
}

.dropdown-item.active, .dropdown-item:active {
	background: #888888;
	color: white;
}

#top-horizontal-bar {
	display: none;
}

.entry-content a,
.author #content a {
	color: #cc292b;
}

.entry-content h1 a,
.entry-content h2 a,
.entry-content h3 a,
.entry-content h4 a,
.entry-content h5 a,
.entry-content h6 a,
.entry-content .h1 a,
.entry-content .h2 a,
.entry-content .h3 a,
.entry-content .h4 a,
.entry-content .h5 a,
.entry-content .h6 a,
.entry-content .h1.a,
.entry-content .h2.a,
.entry-content .h3.a,
.entry-content .h4.a,
.entry-content .h5.a,
.entry-content .h6.a {
	color: black;
}

/* recaptcha */
.grecaptcha-badge {
	display: none !important;
}

/* addthis */
.at-resp-share-element .at-share-btn {
	background-color: transparent !important;
}

/* adjustments to default page and post layouts */

#single-wrapper .featured-image-wrap {
	position: relative;
}

#single-wrapper .featured-image-credit {
	position: absolute;
	left: 0;
	bottom: 0;
	font-size: xx-small;
	display: none;
}

#single-wrapper .featured-image-credit-alt a {
	
}

#single-wrapper .summary-override {
	font-size: larger;
}

#single-wrapper .summary-override i {
	font-size: x-large;
}

#single-wrapper .summary-override-author {
}

#single-wrapper .tag-group a:hover {
	background: #e60000;
}

/* blog template */
.post-template-single-blog .blog-header .entry-header a {
	color: white !important;
}

body.single .entry-header .share-buttons {
	min-width: 160px;
}

@media (min-width: 768px) {
	.post-template-single-blog .at-share-btn {
		display: block !important;
		text-align: center;
	}
	
	.post-template-single-blog .at-resp-share-element .at-share-btn .at-icon-wrapper {
		float: none;
	}
}

.blog-header {
	height: 320px;
	background-position: center center;
	background-size: cover;
	position: relative;
}

.blog-header-internal {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgb(0,0,0);
	background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
}

.blog-header-internal > div {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

/* footer */
#wrapper-footer {
	line-height: 2;
}
#wrapper-footer .widget ul {
	padding-left: 0;
}

#wrapper-footer .widget li {
	list-style: none;
}

#wrapper-footer a {
	color: white;
}

.footer-sidebar-end-wrapper {
	background-image: url(../img/bg.small.png);
	
}

.site-footer .site-info {
	padding-bottom: 80px;
}

/* Accordion */
a[data-toggle="collapse"][aria-expanded="false"] .opened {
	display: none;
}

a[data-toggle="collapse"][aria-expanded="true"] .closed {
	display: none;
}


/* Pagination */
.page-item.active .page-link {
	background-color: #e60000;
	border-color: #e60000;
}

/* search */
.search-result .row:hover .search-content {
	background: white;
}

@media (min-width: 576px) {
	.search-result .search-content {
		margin-left: -0.9rem;
		padding-left: 1.5rem !important;
	}
}

.search-result .featured-image-wrap {
	position: relative;
}

.search-result .featured-image,
.contentCard .featured-image,
.categoryCard .featured-image {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: #4d4d4d;
	background-position: center center;
	background-size: cover;
}

.search-content .byline .avatar {
	display: none;
}

/* author and byline */
.byline {
	margin-left: 1rem !important;
}
@media (min-width: 768px) {
	.single .byline {
		display: block;		
	}
	.single .related .byline {
		display: inline-block;
	}
}

#author-wrapper .byline {
	display: none;
}

#author-wrapper ul {
	padding-left: 0;
}

#author-wrapper li {
	list-style: none;
}

.author-posts {
	column-count: 1;	
}

@media (min-width: 768px) {
	.author-posts {
		column-count: 2;	
	}
}

/* video widget */
.widget_ria_video_widget {
	position: relative;
}
.widget_ria_video_widget a {
	position: absolute;
	bottom: 5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
}

.widget_ria_video_widget .video-wrap {
	background-position: center center; 
	background-size: cover; 
	margin-top: -1rem; 
	line-height: 0;	
}

.widget_ria_video_widget video {
	width: 100%; 
	height: auto;	
}

/* Banner widget */
.widget_ria_banner_widget > div {
	background-position: center center;
	background-size: cover;
}

.widget_ria_banner_widget .sub-card {
	background-color: rgba(0,0,0,.25);
}

/* Card widgets */
.ria-twitter-card-widget ul {
	padding: 0;
	list-style: none;
}

/* Fixed for displaying legacy content */
.entry-content img {
	max-width: 100%;
	height: auto;
}

/* podcast podlove */
.widget_podlove_subscribe_button_widget iframe {
	width: 100%;
}

/* image align classes */
img.alignleft,
figure.aignleft {
	float: left;
	margin-right: 15px;
}

img.alignright,
figure.alignright {
	float: right;
	margin-left: 15px;
}

/* third level dropdown in main menu */
.navbar-nav .dropdown-menu .dropdown-menu {
	position: relative !important;
	border-left: 0;
	border-right: 0;
}