@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;
}


/** CORE CSS overrides **/
.page-template-core {
    min-height: 100vh;
}

.page-template-core .navbar-toggler {
    color: #d71923;
    font-size: 65px;
    padding: 0;
}

.page-template-core .logo-access {
    height: 65px;
}

.page-template-core .bg-cover {
    background-color: #999;
    background-size: cover;
    background-blend-mode: multiply;
}

.page-template-core header h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

.page-template-core header p {
    font-size: 1.5rem;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
}

.page-template-core p,
.page-template-core p a,
.page-template-core strong,
.page-template-core i,
.page-template-core li,
.page-template-core li a {
    font-family: Arial, sans-serif;
}

.page-template-core p a,
.page-template-core li a {
    color: #9d9d9c;
}
.page-template-core p > a:hover,
.page-template-core li a:hover {
    color: #e2312c;
}

.page-template-core h1,
.page-template-core h2,
.page-template-core h3,
.page-template-core h4,
.wp-block-button > a {
    font-family: "Montserrat", sans-serif;
}

.page-template-core #content h2 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}
.page-template-core #content h3 {
    color: #606060;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
}
.page-template-core #content h4 {
    color: #e2312c;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-template-core hr {
    border-color: #e2312c;
    margin-bottom: 5rem;
    margin-top: 5rem;
    text-align: center;
    width: 10%;
}

.page-template-core .core-menu-items .nav-link {
    color: white;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 3px;
    margin-right: 2px;
    margin-top: 2px;
    padding: 10px;
    text-transform: uppercase;
}

.page-template-core .core-menu-items .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.page-template-core .core-menu-items a.odd {
    background-color: #e25f4b;
}

.page-template-core .core-menu-items a.odd:hover {
    background-color: #8a493f;
}

.page-template-core .core-menu-items a.even {
    background-color: #eb9983;
}

.page-template-core .core-menu-items a.even:hover {
    background-color: #8f665b;
}

.page-template-core footer {
    background-color: #cccccc;
}
.page-template-core footer p {
    font-family: "Montserrat", sans-serif;
    margin-bottom: 0;
}

.core-custom-button > a {
    background-color: #e2312c;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
}

.core-custom-button > a:hover {
    background-color: #606060;
    color: #ffffff;
}

.core-custom-button > a:active {
    background-color: #000000;
    color: #ffffff;
}

.page-template-core figure.wp-block-pullquote {
    padding: 1.5rem 0 1rem;
}

.page-template-core .wp-block-image figcaption {
    font-family: Arial, sans-serif;
    font-size: 0.7rem;
}
.page-template-core .full-width img {
    width: 1170px;
}

#backtotop-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #606060;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
}

#backtotop-btn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}
