/*
Theme Name: Barristar Child
Theme URI: http://themeforest.net/user/wpoceans/portfolio/
Author: wpoceans
Author URI: http://themeforest.net/user/wpoceans
Description: Barristar – Lawyers attorneys and Law Firm WordPress Theme
Template:	barristar
Version: 1.0
Text Domain: barristar-child
*/

/*
 * Make the full visual JetMenu item clickable while preserving the
 * dropdown arrow as an independent submenu control.
 */
.jet-mega-menu-item__inner {
	position: relative;
}

.jet-mega-menu-item__link[href] {
	position: static;
}

.jet-mega-menu-item__link[href]::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.jet-mega-menu-item__dropdown {
	position: relative;
	z-index: 2;
}

/*
 * Keep the desktop "Últimas noticias" carousel at the 600px height
 * configured in Elementor. JetBlog enables Slick adaptiveHeight, which
 * otherwise animates the container on every automatic slide change.
 */
@media (min-width: 1025px) {
	.elementor-element-98f011c .jet-smart-tiles-carousel > .slick-list,
	.elementor-element-98f011c .jet-smart-tiles-slide,
	.elementor-element-98f011c .jet-smart-tiles-slide__wrap {
		height: 600px !important;
		min-height: 600px;
	}

	.elementor-element-98f011c .jet-smart-tiles-carousel > .slick-list {
		transition: none !important;
	}
}

/*
 * Keep the footer at the bottom of short pages without taking it out
 * of the normal document flow or covering long-page content.
 */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body > .page-wrap {
	flex: 1 0 auto;
}

body > .site-footer {
	flex: 0 0 auto;
}
