/*
Theme Name: Hydra-Brands
Theme URI: https://bonniercorp.com
Template: hello-elementor
Author: BonnierCorp
Author URI: https://bonniercorp.com
Description: A Bonnier Corp site-specific theme on top of the Hello Elementor parent theme.
Version: 0.0.2.18
Updated: 2023-08-28 12:28PM

*/

/* Hover elements for titles and images */
.elementor-image-box-title a:hover,
.elementor-post__title a:hover {
	text-decoration: underline;
}

a img {
  transition: 0.2s ease opacity;
}
a img:hover {
	opacity: 0.75;
}

a {
	transition: 0.2s ease all;
}

a:hover img {
	opacity: 0.8;
}

button:hover { 
	background: var(--e-global-color-accent); 
}

.featured-link-btn a:hover {
	background: var(--e-global-color-accent);
}

.featured-link-btn a {
	background: var(--e-global-color-primary);
}

.featured-btn-col .elementor-nav-menu--dropdown {
	margin-top: 0 !important
}

.post-byline .e-con-inner {
	margin: 0;
}

.elementor-widget-container ol {
	margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
	#post-content-inner ul,
	#post-content-inner ol {
		margin: 20px 0 40px;
	}
}

.page-template.page [data-elementor-type="wp-page"] {
	margin-top: 30px;
}

.post-category-tags li a:hover {
	text-decoration: underline;
}

button:hover {
	background: var(--e-global-color-primary);
}

.elementor-widget-html a,
.elementor-widget-theme-post-content .elementor-widget-container a,
.elementor-widget-text-editor a,
.elementor-tab-content a,
body #post-content-inner p a,
#post-content-inner li a,
.tablesorter .td-content-wrapper a
{
	border-bottom: 2px solid var(--e-global-color-primary);
}

.elementor-widget-html a:hover,
.elementor-widget-text-editor a:hover,
.elementor-tab-content a:hover,
body #post-content-inner p a:hover,
body #post-content-inner li a:hover,
.hydra-image-caption a:hover,
body a.page-numbers {
	color: var(--e-global-color-primary) !important;
}

body a.page-numbers.current { color: #111 !important; }

/* Post header category hover */
.post-header-category .elementor-post-info__terms-list-item:hover {
	color: var(--e-global-color-accent) !important; 
}

/* Post header & siderail category title - show only one category */
.post-header-category .elementor-icon-list-text.elementor-post-info__item a:not(:first-child),
.siderail-header-category .elementor-icon-list-text.elementor-post-info__item a:not(:first-child) {
    display: none;
}

.ue_post_grid_item .uc_content {
	justify-content: flex-start !important;
}

/* Images from left to top on tablets and mobile */
@media (max-width: 767px) {
	.elementor-posts article.elementor-post,
	.ue_post_grid_item {
        display: block !important;
    }
	
	.ue_post_grid_item .uc_post_image,
	.ue_post_grid_item .uc_post_image img {
		height: auto !important;
	}
	
	.ue_post_grid_item .uc_content {
		padding: 15px 0 0 !important;
		width: 100% !important;
	}

    .elementor-post__thumbnail__link {
		margin-bottom: 20px;
    }
	
	.elementor-post__thumbnail__link {
		width: 100% !important;
	}
}

/* HYD-2816: Embed video margin */
.elementor-widget-container .embed-container {
	margin-bottom: 30px;
}

/* HYD-1064: preventing in-content ads from touching content below them */
.bonnier-ads-middle {
	margin-bottom: 30px;
}

/* HYD-541: pager updates */
.elementor-pagination span {
	color: #333 !important;
}
a.page-numbers:hover {
	text-decoration: underline;
}

/* HYD-602: Sailthru Post Subscribe Widget */
.sailthru-widget .sailthru-widget-label {
	font-family: "Raleway", Sans-serif;
	font-size: 20px;
	font-weight: 700;
}

.sailthru-widget .btn {
	background-color: var(--e-global-color-primary) !important;
	color: white;
	font-family: "Raleway", Sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	border: 0;
	border-radius: 0;
}

.sailthru-widget .captcha-disclaimer {
	margin-bottom:15px !important;
	color: black;
	font-family:"Raleway", Sans-Serif;
	font-size: 12px;
	font-weight: 500;
	line-height:14px;
}

/* WP Core Buttons syles */
.wp-block-buttons>.wp-block-button,
.wp-block-buttons.has-custom-font-size .wp-block-button__link {
	font-size: 18px !important;
}

@media (max-width: 768px) {
	.wp-block-buttons>.wp-block-button {
		width: 100%;
		text-align: center;
	}
}

.wp-block-buttons {
	padding-bottom: 20px!important;
}

.wp-block-button__link.wp-element-button {
	background-color: var(--e-global-color-primary) !important;
	border-radius: 2px !important;
	font-size: 18px !important;
	color: white !important;
	font-family: "PT Serif", sans-serif !important;
}

/* Quote Gutenberg block styling */
.wp-block-quote.is-style-default {
	border-left: 5px solid #000;
	padding-left: 20px;
}

.wp-block-quote p {
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1.25 !important;
}
.wp-block-quote.is-style-default cite {
	font-family: "Raleway";
	font-size: 14px;
}
.wp-block-quote.is-style-large cite,
.wp-block-pullquote cite {
  font-family: "Raleway";
	font-size: 16px;
}
.wp-block-pullquote {
	padding: 20px !important;
}
.wp-block-pullquote p {
	font-size: 25px !important;
    line-height: 1.25;
	text-align: center;
}
.wp-block-pullquote cite {
	text-align: center;
}
.wp-block-pullquote blockquote {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 50px;
}

.wp-block-pullquote {
	border-top-width: 2px;
	border-bottom-width: 2px;
	border-style: solid;
	border-color: #888;
	border-left: 0;
	border-right: 0;
	padding: 40px 0 !important;
	margin: 40px 0 !important;
	position: relative;
}

.wp-block-pullquote blockquote cite {
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 20px;
}

.wp-block-pullquote blockquote::before {
    content: open-quote;
    font-size: 100px;
    color: var(--e-global-color-primary) !important;
	position: absolute;
	left: 0;
	top: 0;
}

.wp-block-pullquote blockquote::after {
    content: close-quote;
    font-size: 100px;
    color:var(--e-global-color-primary) !important;
	position: absolute;
	right: 0;
	bottom: -30px;
}

/* Essentials Accordion styles */
.eb-accordion-title,
.eb-accordion-title-wrapper:hover {
	color: #FFF !important;
}

.post-accordion .eb-accordion-container .eb-accordion-title-wrapper {
	background-image: none !important;
	background-color: var(--e-global-color-primary) !important;
}

.post-accordion .eb-accordion-content {
	font-weight: 400;
	color: var(--e-global-color-text) !important;
}

.post-accordion .fa-angle-right::before,
.post-accordion .fa-angle-down::before {
	color: white;
}

.wp-block-essential-blocks-accordion.post-accordion {
	margin-bottom: 25px;
}