/* ==============================================================================
Theme Name: Phlox Pro Child
Theme URI: http://phlox.pro/go/
Author: averta
Author URI: http://www.phlox.pro
Description: Phlox Pro Child Theme
Template: phlox-pro
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column,two-columns, three-columns, left-sidebar, right-sidebar
Text Domain: phlox-pro-child
================================================================================= */

@font-face {
    font-family: 'tt_hovesbold';
    src: url('fonts/tt_hoves_bold-webfont.woff2') format('woff2'),
         url('fonts/tt_hoves_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'tt_hovesregular';
    src: url('fonts/tt_hoves_regular-webfont.woff2') format('woff2'),
         url('fonts/tt_hoves_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html, body {
	font-family: "tt_hovesregular", sans-serif !important;
}

h1, h2, h3, h4, h5,
h4.entry-title a {
	font-family: "tt_hovesbold", sans-serif !important;
}

body.page-id-794 h4.entry-title {
	line-height: 1.2 !important;	
}

.elementor-element .aux-match-height .column-entry .author,
.elementor-element .aux-match-height .column-entry .entry-meta-sep {
	display: none;
}

/* Menú principal (Vista mòbil) */
@media only screen and (max-width : 768px) {
	#menu-principal .menu-item.aux-hover a { color: #004D89; !important; }
}


/* Home */

/*
@media (min-width: 1200px) { 
	.home #areas-practica, .home #publicaciones, .home #equipo,  .home #ubicacion, .home #contacto {
		scroll-margin-top: 90px;
		padding-top: 150px;
	    margin-top: -110px;
	}
}
*/
@media (min-width: 992px) { 
	.home #areas-practica, .home #publicaciones, .home #equipo,  .home #ubicacion {
		scroll-margin-top: 90px;
		padding-top: 150px;
	    margin-top: -110px;
	} 
}
@media (min-width: 768px) { 
	.home #areas-practica, .home #publicaciones, .home #equipo,  .home #ubicacion {
		scroll-margin-top: 90px;
		padding-top: 180px;
	    margin-top: -110px;
	} 
}

/* @media (min-width: 576px)  { @content; } */

#primeraseccio {
	position: relative;
	z-index: 1000;
}

/* alinear "read more" al peu dels posts */
.home .elementor-element .aux-match-height .column-entry .entry-main {
	padding-bottom: 60px;
}
@media only screen and (min-width: 767px) {
.home .elementor-element .aux-match-height .column-entry .entry-main {
	padding-bottom: 0px;
}	
}

.elementor-element .aux-match-height .column-entry footer.entry-meta {
	text-align: left;
    padding-right: 25px;
}

@media only screen and (min-width: 767px) {
	.elementor-796 .elementor-element.elementor-element-68859627 .aux-match-height > .aux-col:nth-child(3n+1) .entry-info {
	    margin-bottom: 32px;
	}
}

.elementor-element .aux-match-height > .aux-col:nth-child(3n+1) footer.entry-meta {
    bottom: unset;
    top: 263px;
    margin-bottom: 20px;
    right: auto !important;
}

.elementor-element .aux-match-height .column-entry footer.entry-meta a.aux-read-more {
	padding-left: 25px !important;
	padding-right: 0 !important;
	background-color: transparent;
}
.elementor-element .aux-match-height > .aux-col:nth-child(3n+1) footer.entry-meta a.aux-read-more {
	padding-left: 0px !important;
}

.aux-widget-recent-posts .post .readmore {
	float: left !important;
}

/* Single post page */
body.post-template-default .hentry .entry-media {
    max-height: 300px;
    overflow: hidden;
}


/*
		Single post
*/
.single-post #inner-body:before {
	content: none !important;
}

.hentry.aux-narrow-context .entry-header {
    margin-left: 5% !important;
    margin-right: 5% !important;
}

.hentry.aux-narrow-context .entry-header h1.entry-title {
    line-height: 1.2 !important;
}

@media (min-width: 768px) { 
	.hentry.aux-narrow-context .entry-header {
	    margin-left: 25% !important;
	    margin-right: 25% !important;
	}
}