/**
* Theme Name: Bifrost Viferinox
* Description: Tema per il sito di Viferinox.
* Author: <a href="https://touchlabs.it">Touchlabs</a>
* Template: bifrost
* Version: 2.2.2
*/

html {
	--primary-color: #d90000;
	--secondary-color: #444444;
	--text-color: black;
	--accent-color: #0000dd;
}

[class*="elementor-kit-"],
html .elementor-edit-area-active {
	--primary-color: var(--e-global-color-primary);
	--secondary-color: var(--e-global-color-secondary);
	--text-color: var(--e-global-color-text);
	--accent-color: var(--e-global-color-accent);
}

a:not(.button) {
	color: var(--primary-color);
}

h1,
.o-hero .o-hero__content .o-hero__content__title {
	font-weight: 400;
}

/* Header */

.a-logo.a-logo--text a,
.m-nav-menu--horizontal ul li.menu-item > a {
	font-family: inherit;
}

.l-template-header .elementor-button {
	transition: background-color .3s;
	background-color: var(--primary-color);
}

.dark-header .m-nav-menu--horizontal ul li.menu-item > a {
	color: #ffffff !important;
}

.dark-header .m-nav-menu--horizontal ul li.menu-item > a:hover {
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 #ffffff;
}

.dark-header .m-nav-menu--horizontal ul li.current-menu-item > a:hover {
	box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 1px 0 var(--primary-color);
}

.dark-header .m-nav-menu--mobile-icon svg line {
	stroke: white;
}

.m-nav-menu--horizontal ul li.current-menu-item > a,
.m-nav-menu--horizontal ul li.menu-item.current_page_item > a {
	color: var(--primary-color) !important;
	box-shadow: inset 0 0 0px rgba(0, 0, 0, 0), 0 1px 0 var(--primary-color);
}

/* Blog */

.l-blog-wrapper .l-blog-wrapper__posts-holder.l-blog-wrapper__posts-holder--meta-outside .o-blog-post .o-blog-post__content {
	padding: 1.83333rem;
}

div.p-blog-single {
	padding-top: 0;
}

div.p-blog-single__wrapper,
div#comments {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	padding: 5.3333rem 15px;
	margin-left: -15px;
	margin-right: -15px;
	margin-bottom: 5.33333rem;
	background: white;
}

div#comments {
	padding-top: 0;
	padding-bottom: 0;
	margin-top: 5.33333rem;
	margin-bottom: 0;
}

.o-comments .o-comments__area {
	border-top: 0;
}

.o-comments .o-comments__area > .container {
	padding: 0;
}

/* Widgets */

.widget a {
	box-shadow: none !important;
}

.widget a:hover {
	text-decoration: underline;
	color: inherit !important;
}

.widget .elementor-icon-list-item a:hover {
	text-decoration: none;
}

.widget .elementor-icon-list-item a:hover .elementor-icon-list-text {
	text-decoration: underline;
}

.widget .menu-item a {
	color: var(--primary-color);
}

.widget ul li.elementor-icon-list-item {
	color: var(--text-color);
}

/* Forms */

select, input[type="date"] {
	background-color: unset !important;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333333;
}

/* Gallery */

.m-media-gallery .selector .o-neuron-hover-holder {
	background-color: #fff;
}

.m-media-gallery .o-neuron-hover-holder__body {
	border-bottom: 4px solid var(--accent-color);
}

.m-media-gallery .o-neuron-hover-holder__body a.h-lightbox-link {
	border-bottom: 4px solid var(--primary-color);
	bottom: -4px !important;
	opacity: 0;
	-webkit-transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
	transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.m-media-gallery .o-neuron-hover-holder__body a.h-lightbox-link:hover {
	opacity: 1;
}

.o-neuron-hover.o-neuron-hover--meta-outside .o-neuron-hover-holder .o-neuron-hover-holder__body {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

/* Editor */

.elementor-edit-area-active .map-holder {
	min-height: 20rem;
	background-color: #777;
}

/* Media queries */

@media screen and (min-width: 768px) {
	div.p-blog-single__wrapper,
	div#comments {
		border: 1px solid #e5e5e5;
		padding: 5.33333rem;
		margin-left: 0;
		margin-right: 0;
	}
	
	div#comments {
		padding-top: 0;
		padding-bottom: 0;
		margin-bottom: 0;
	}
}