/* 
Theme Name: MBolea
Author: Brande Development Team
Author URI: https://brande.es
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
@font-face {
  font-family: 'FSIndustrie';
  src: url('/wp-content/themes/mbolea/fonts/FSIndustrie-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'FSIndustrie';
  src: url('/wp-content/themes/mbolea/fonts/FSIndustrie-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}


/* tipografia */
body {
	font-family: 'FSIndustrie', -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 1.2rem;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

@media (min-width: 1100px) {
	h1 {
		font-size: 4.5rem;
		letter-spacing: -1.4px;
	}
	h2 {
		font-size: 2.6rem;
		letter-spacing: -1.4px;
	}
}
/* general */
body, a {
	color: var(--e-global-color-text)
}
a:active, a:hover {
	color: var(--e-global-color-accent)
}

.elementor-button {
    background-color: #aaa;
    display: -webkit-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    font-weight: 700;
    color: #5A5A5E !important;
    flex-shrink: 0;
    -webkit-box-pack: center;
    justify-content: center;
    background-image: linear-gradient(300deg,#aaa,#f5f5f5);
    box-shadow: inset 0 -1px rgba(0,0,0,.1),0 .5em .6em -.5em rgba(0,0,0,.2)!important;
    cursor: pointer;
}
.elementor-button:hover {
    color: #0E518D!important;
	animation: mymove 1s linear;  
}
@keyframes mymove {
    0%   {background-position: 0px 0px;}
    100% {background-position: 180px 0px;}
}

/* header */
#cabecera.elementor-section {
	position: relative;
}
#cabecera.elementor-section.hfe-sticky {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 1rem 0 1rem;
	-webkit-box-shadow: 0 0 30px rgba(14, 81, 141, .3);
	box-shadow: 0 0 30px rgba(14, 81, 141, .3);
	animation: slide-down 0.8s;
}
#cabecera.elementor-section.hfe-sticky .logo-sym {
	display: none;
}
.hfe-pointer__framed .menu-item.parent a.hfe-menu-item::before {
	border: 1px solid var(--e-global-color-primary);
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    } 
    100% {
        opacity: 0.9;
        transform: translateY(0);
    } 
}

@media( max-width: 767px ){
	#cabecera.elementor-section.hfe-sticky{
		top: 0;
	}
	#cabecera svg.logo-sym {
	display: none;
	}
}

/* entradas de blog */
.exad-post-grid-container.image-position-top .exad-post-grid-thumbnail a img {
	height: 240px;
}
.exad-post-grid-time-comment {display: none;}

/* efectos */
.certificados .elementor-image-carousel .swiper-slide-image {
    border-style: solid;
    border-width: 1px;
    border-color: var(--e-global-color-primary);
    border-radius: 5px;
    filter: drop-shadow(4px 4px 0 var(--e-global-color-primary));
}
.exad-card.text_on_image .exad-card-thumb::after {
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--e-global-color-text) 100%)!important;
}

@media (min-width: 1100px) {
	.exad-card.text_on_image:not(:hover) .exad-card-body {
		top: calc(100% - 100px);
	}
	.exad-card.text_on_image:hover .exad-card-description {
		transition: .6s;
		opacity: 1;
	}
	.exad-card.text_on_image:not(:hover) .exad-card-description {
		transform: translateY(100%);
		opacity: 0;
	}
	.rotating .elementor-background-overlay {
		animation: rotation 28s infinite linear;
	}
	.zooming .elementor-element-populated {
		transition: all 1s!important;
	}
	.zooming:hover .elementor-element-populated {
		transform: scale(1.1);
	}
}
.documentos {
  width: 220px;
  height: 260px;
  padding: 10px;
  border: 1px solid var(--e-global-color-text);
  background-size: cover;
	background-clip: content-box;
  background-color: var(--e-global-color-primary);
  box-sizing: border-box;
  position: relative;
  color: var(--e-global-color-secondary);
	text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.documentos span::after {
	content: "\f0ab";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	display: block;
}
.documentos::after {
  content: "";
  display: block;
  position: absolute;
  border: 50px solid transparent;
  border-bottom: 50px solid #fefefe;
  bottom: -60px;
  right: -65px;
  box-shadow: 0px 7px 6px -9px black;
  transform: rotate(135deg);
}

.documentos::before {
  content: "";
  display: block;
  position: absolute;
  border: 50px solid transparent;
  border-top: 50px solid #fefefe;
  top: -60px;
  left: -65px;
  box-shadow: 0px -7px 6px -9px black;
  transform: rotate(135deg);
}

@keyframes rotation {
		from {
				transform: rotate(0deg);
		}
		to {
				transform: rotate(359deg);
		}
}

/* Ninja Forms */
.nf-form-fields-required, .ninja-forms-req-symbol, .nf-error.field-wrap .nf-field-element::after {
	display: none;
}
.nf-field-label #nf-label-field-5, .nf-field-label #nf-label-field-12 {
	font-size: 14px;
	color: rgba(255, 255, 255, .6);
}
.nf-form-content input:placeholder {
	color: #fff !important;
}
.ninja-forms-field, textarea.ninja-forms-field {
	background: rgba(0,0,0,0) !important;
	padding-left: 0 !important;
	border: none !important;
	color: #fff !important;
	border-radius: 0px !important
}
.nf-field-container {
	border-bottom: 1px solid #fff !important;
}
.nf-form-content .submit-container, .nf-form-content .checkbox-container, .html-container, .file_upload-container {
	border-bottom: none!important;
}
input#nf-field-1.ninja-forms-field, input#nf-field-2.ninja-forms-field, input#nf-field-5.ninja-forms-field {
    height: 30px !important;
	font-size: 16px;
}
textarea.ninja-forms-field {
    height: 140px !important;
	font-size: 16px;
}
.nf-form-content a{
	color: #fff;
	font-size: 14px;
}
.nf-form-content a:hover {
	color: rgba(255, 255, 255, .6) !important;
}
.nf-form-content input[type="button"] {
	padding: 10px 50px !important;
	background: #fff !important;
	border-left: none !important;
	color: var(--e-global-color-primary) !important;
	font-weight: 700;
	text-transform: uppercase;
}

.nf-form-content input[type="button"]:hover {
	-webkit-transition: .5s ease;
	-o-transition: .5s ease;
	transition: .5s ease;
	opacity: 0.8;
}

.nf-fu-fileinput-button {
	padding: 4px 10px !important;
	background: transparent !important;
	color: rgba(255, 255, 255, .6) !important;
	border: 1px solid #fff !important;
	margin-bottom: 8px !important;
}

.nf-fu-fileinput-button:hover {
	background: rgba(255, 255, 255, .6) !important;
	border: 1px solid rgba(255, 255, 255, .6) !important;
	color: var(--e-global-color-primary) !important;
	-webkit-transition: .5s ease;
	-o-transition: .5s ease;
	transition: .5s ease;
	opacity: 0.8;
}

.nf-fu-progress {
	border-radius: 0px !important;
}

.nf-error-msg {
	color: var(--e-global-color-text) !important;
	font-size: 14px !important;
}