
/*
Theme Name: Fidupress
Template: fidupress
Description: Fidupress Master;
Text Domain: fidupress

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, ins, kbd, q, samp, small, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

@keyframes fade{
	from{
		transform: translateY(-60%);
		opacity: 0;
	}
}


*,
*:before,
*:after {
	box-sizing: border-box;
}
html, body {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	height: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 130px;
}
#page{
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
._masterslider #page{
	overflow: hidden;
}
#content{
	flex-grow: 1;
	flex-shrink: 0;
	width: 100%;
}

body{
	font-family: var(--font);
	color: var(--font-color);
	font-size: var(--font-size);
	font-weight: 400;
}


header, nav, section, article, aside, footer, #primary img{ display: block; }

div.wrap{
	width: 100%;
	max-width: var(--site-width);
	margin: 0 auto;
}
.page-template-_fidupress-news div.wrap{
	max-width: 1120px;
}
header{
	background: var(--header-background);
	color: var(--header-color);
	/*border-bottom: 1px solid #efefef;*/
	position: sticky;
	top: var(--wp-admin--admin-bar--height);
	z-index: 999;
}
header nav{
	display: flex;
	align-items: center;
	gap: 15px;
}
header a{
	color: var(--header-color-link);
}
header .main-area{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	min-height: 110px;
	position: relative;
}
header .top-bar.desktop{
	color: #fff;
	overflow: auto;
	font-size: 13px;
	background: var(--primary);
}
header .top-bar.desktop .wrap{
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	height: 42px;
}
header .top-bar.desktop .wrap > div{
	margin-left: 30px;
}
header .top-bar .wrap > div:first-child{
	margin-left: 0;
	flex-grow: 1;
}
header .top-bar svg{
	width: auto;
	max-width: 18px;
	height: 15px;
	float: left;
	margin: 2px 10px 0 0;
}

header .top-bar span{
/*	float: left;*/
}
header .top-bar a{
	color: #fff;
}
header .top-bar.desktop .menu li{
	list-style: none;
	display: inline-block;
	border-left: 1px solid rgba(255, 255, 255, 0.4);
	padding-left: 10px;
	margin-left: 10px;
}

header .top-bar.mobile{
	display: none;
	padding-top: 1rem;
	width: 100%;
	color: var(--primary);
}
header .top-bar.mobile a{
	color: var(--primary);
}
header .top-bar.mobile .wrap{
	display: flex;
	flex-direction: column;
	gap: .7rem;
}
header .top-bar.mobile ul.menu li{
	margin-bottom: .7rem;
}

@media( max-width: 1080px ){
	header .top-bar.desktop{
		display: none;
	}
	header .top-bar.mobile{
		display: flex;
		flex-direction: column;
	}
}

header .simple-social-icons{
	float: right;
}
header .simple-social-icons ul li{
	margin: 0 !important;
}
header #logo img{
	display: block;
	max-height: 80px;
	width: auto;
}
header #logo strong{
	font-weight: 100;
	font-size: 30px;
	color: #5a8dab;
}

header nav > ul.menu{
	margin: 0 auto;
}
header nav ul.menu > li{
	display: inline-block;
	list-style: none;
	position: relative;
	height: 50px;
	display: flex;
	flex-flow: row wrap;
	float: left;
	align-items: center;
}
header nav > ul.menu > li > a{
	font-weight: 400;
	font-size: 14px;
	display: inline-block;
	padding: 0 15px;
	text-transform: uppercase;
	color: var(--header-color-link);
}
header nav ul.menu li.current_page_item > a{
	font-weight: bold;
}
nav li.current_page_item > a:hover{
	color: var(--primary-hover);
}

/* Dropdown menu */
nav li.menu-item-has-children > a:after{
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 3.5px 0 3.5px;
	border-color: var(--primary) transparent transparent transparent;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
nav .sub-menu{
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 9;
	min-width: 250px;
	transform: translateY(100%);
	background: #fff;
	box-shadow: 1px 1px 5px 0px rgb(0 0 0 / 10%);
	padding: 10px 0;
	list-style: none;

}
nav .sub-menu li{
	padding: 3px 0;
}
nav .sub-menu li a{
	color: #333;
	display: block;
	padding: 0 20px;
	text-align: left;
	font-size: 13px;
}
nav .sub-menu li a:hover{
	color: var(--primary);
}
nav ul.menu > li:hover > .sub-menu{
	display: block;
}


footer{
	overflow: auto;
	clear: both;
	color: var(--footer-color);
	padding: 30px 0;
	background: var(--footer-background);
	font-size: 0.82rem;
}
footer a{
	color: var(--footer-color-link);
}
footer .wrap.flex{
	flex-flow: row;
	position: relative;
	gap: 30px;
}
footer .wrap > *{
	flex: 1;
}
footer .site-info{
	justify-content: flex-start;
	flex-direction: column;
	gap: 20px;
}
footer .itaa .flex{
	justify-content: flex-start;
}
footer .itaa svg{
	width: 100px;
}
footer .itaa small{
	font-size: 10px;
}
footer .itaa span{
	display: block;
	padding-top: 5px;
}

footer span.top{
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	cursor: pointer;
	color: var(--footer-color-link);
}
footer span.top svg{
	display: block;
	margin: 0 auto;
}
footer ul{
	display: inline-block;
}
footer ul li{
	display: inline-block;
	list-style: none;
}
footer ul li + li:before{
	content: ' - ';
}
footer address{
	width: 250px;
}
footer address div + div{
	margin-top: 10px;
}

.socials{
	font-size: 18px;
}
.socials a + a{
	margin-left: 10px;
}

.mailjet-form{
	max-width: fit-content;
}
.mailjet-form span.title{
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	margin-bottom: 10px;
	font-weight: 700;
}
.mailjet-form span.title svg{
	color: currentColor;
}
.mailjet-form form{
	position: relative;
}
.mailjet-form input[type="email"]{
	height: 40px;
	border: none;
	padding: 10px;
	background: #fff;
	outline: none !important;
	font-size: var(--font-size);
	color: #383838;
	width: 100%;
}
.mailjet-form input[type="submit"]{
	height: 40px;
	width: 40px;
	background: #fff;
	color: var(--primary);
	font-weight: 700;
	border: none;
	padding: 10px;
	cursor: pointer;
	position: absolute;
	right: 0;
}
.mailjet-form input[type="submit"]:hover{
	background: #efefef;
}


aside{
	float: left;
	margin-right: 50px;
}
aside ul{
	width: 250px;
	border-right: 1px solid #e2dfdf;
}
aside ul li{
	list-style: none;
}
aside ul li + li{
	border-top: 1px solid #e2dfdf;
}
aside ul li a{
	display: block;
	padding: 15px 5px;
}
aside ul li a:hover{
	background: #e8eef9;
}
aside ul li.current_page_item a{
	color: #4266a4;
}
aside + article{
	overflow: auto;
}

.flex{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}
#content .flex > div{
	margin-bottom: 30px;
}
#content .flex.col-2 > div{
	width: calc((100%/2) - 30px);
}
#content .flex.col-3 > div{
	width: calc((100%/3) - 30px);
}
#content .flex.col-4 > div{
	width: calc((100%/4) - 30px);
}
#content .flex.col-3:after{
	content: '';
	flex: 0 1 30%;
}
#content .flex.col-4:after{
	content: '';
	flex: 0 1 140%;
}

.flex.center{
	text-align: center;
}
header .wpml-ls{
	background: var(--primary);
}
#page .wpml-ls-legacy-list-horizontal{
	padding: 6px 8px;
}
.wpml-ls-legacy-list-horizontal *{
	display: flex;
}
.wpml-ls-legacy-list-horizontal ul{
	gap: 10px;
}
@media( min-width: 1081px){
	#page .wpml-ls-legacy-list-horizontal a{
		color: #fff;
		padding: 0;
		font-size: 14px;
	}
}
.wpml-ls-legacy-list-horizontal .wpml-ls-current-language a{
	font-weight: 600;
}

nav .wpml-ls{
	position: absolute;
	top: 0;
	right: 0;
}

.top-bar .wpml-ls-legacy-list-horizontal{
/*	padding: 12px 0 0 15px !important;*/
}
.top-bar + .main-area .wpml-ls{
	display: none;
}


.top-banner{
	position: relative;
	height: 320px;
	background: center top no-repeat;
	overflow: hidden;
}
.top-banner.parallax{
	background: center 17.4px no-repeat fixed;
}
.top-banner .wrap{
	position: absolute;
	color: #333;
	width: 630px;
	left: 50%;
	top: 50%;
	font-size: 18px;
	transform: translateY(-50%);
	z-index: 99;
	animation: .5s .25s fade backwards ease-out;
}

.top-banner .wrap h1{
	font-size: 25px;
	margin-bottom: 0;
	color: #333;
	text-align: left;
}
.top-banner .wrap p{
	line-height: 30px;
	font-weight: 600;
}
.top-banner.video{
	background: #4266a4;
}
.top-banner video{
	position: absolute;
	z-index: 9;
	left: 0;
	top: 50%;
	opacity: 0.3;
	transform: translateY(-50%);
}

.site-content{
	padding: 20px 0;
}
.featured-image{
	margin-bottom: 30px;
}
.featured-image img{
	width: 100%;
	height: auto;
}
.home .entry-content{
	width: 100%;
	margin: 0 auto;
}



.hidden{
     opacity:0;
}
.visible{
     opacity:1;
}

/*--------------------------------------
			MULTISITE
--------------------------------------*/
.news-wrapper{
	display: flex;
	flex-flow: wrap row;
	align-content: start;
}
.news-wrapper > article{
	margin-bottom: 30px;
	width: 50%;
}
.news-wrapper:not(.latest) > div + div + div{
	padding-top: 30px;
	border-top: 1px solid #ccc;
}
.news-wrapper > article .body{
	overflow: auto;
}
.news-wrapper > article + article .body{
	text-align: justify;
}
.news-wrapper:not(.latest) > article:nth-child(odd){
	padding-right: 30px;
}
.news-wrapper:not(.latest) > article:nth-child(even){
	padding-left: 30px;
}
.news-wrapper > article:nth-child(odd) img{
	margin: 0 0 5px 20px !important;
	float: right !important;
}
.news-wrapper > article:nth-child(even) img,
.news-wrapper > article:first-child img{
	margin: 0 20px 5px 0 !important;
	float: left !important;
}
.news-wrapper > article h2{
	text-align: left;
	font-size: 14px;
	font-weight: 600;
	line-height: 23px;
	margin-bottom: 10px;
}
.news-wrapper > article img{
	border: 10px solid #f3f1f1;
}
.news-wrapper > article ul{
	padding-left: 15px;
}
.news-wrapper > article ul li{
	padding-bottom: 5px;
}

.news-wrapper.list > article .body{
	max-height: 500px;
	overflow: hidden;
	position: relative;
	text-align: justify;
}
.news-wrapper.list > article .body:after{
	content: '';
	position: absolute;
	width: 100%;
	height: 50px;
	left: 0;
	bottom: 0;
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}

.news-wrapper.detail > article{
	width: 100%;
}

.news-wrapper.latest{
	justify-content: space-between;
}
.news-wrapper.latest > article{
	margin-bottom: 30px;
	width: calc((100% / 3) - 20px);
	text-align: center;
}
.news-wrapper.latest > article .body > *{
	display: none;
}
.news-wrapper.latest > article .body > *:first-child{
	display: block;
	text-align: justify;
}
.news-wrapper.latest > article img{
	width: 100%;
	height: auto;
}
.news-nav{
	border-top: 1px solid #efefef;
	padding-top: 10px;
	text-align: center;
}
.news-nav a{
	display: inline-block;
	padding: 5px;
	background: #4578a5;
	color: #fff;
	margin-right: 3px;
	border-radius: 5px;
	min-width: 29px;
	transition: filter 0.4s;
	cursor: pointer;
}
.news-nav a.jp-current{
	background: #ccc;
	cursor: default;
}
.news-nav a:not(.jp-current):hover {
    filter: brightness(120%);
    text-decoration: none;
}
.news-nav a.jp-previous,
.news-nav a.jp-next{
	display: none;
}



/*NINJA FORMS*/
.nf-form-cont{
	width: 650px;
	margin: 0 auto 20px;
	overflow: auto;
}
.nf-before-form-content{
	display: none;
}
#content .nf-form-content{
	padding: 0;
}
#content .nf-field-label{
	margin-bottom: 5px;
}
#content .nf-form-content label{
	font-size: 13px;
	line-height: initial;
}
#content .nf-form-content .listselect-wrap .nf-field-element div,
#content .nf-form-content input.ninja-forms-field,
#content .nf-form-content select.ninja-forms-field:not([multiple]),
#content .nf-form-content textarea{
	font-family: 'Open Sans', sans-serif;
	border-radius: 5px;
	font-size: 13px;
	border: 1px solid #adadad;
	outline: none;
	padding: 5px;
}
#content .nf-form-content input.ninja-forms-field{
	height: 40px;
}
#content .nf-form-content input.ninja-forms-field[type="checkbox"],
#content .nf-form-content input.ninja-forms-field[type="radio"]{
	height: auto;
}
.nf-field-container.recaptcha-container .nf-field-label{
	display: none;
}
.submit-container{
	text-align: right;
}
#content .nf-form-content input[type="button"]{
	border-radius: 5px;
	outline: none;
	cursor: pointer;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	background: #0080c8;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	border: none;
}
#content .nf-form-content input[type="button"]:hover{
	background: #1794da;
}
.nf-error.field-wrap .nf-field-element:after{
	display: none;
}
#content .nf-error-msg{
	margin-right: 0;
	font-size: 13px;
}
.nf-after-field{
	position: absolute;
	top: -3px;
	right: 0;
}


/*STYLES*/
a{
	text-decoration: none;
	outline: none;
	color: var(--primary);
}
a:hover{
	text-decoration: var(--primary-decoration);
	color: var(--primary-hover);
	filter: var(--primary-filter);
}

a.btn,
.wp-block-button a{
	background: var(--primary);
	color: #fff;
	font-size: var(--font-size);
	padding: 15px 20px;
	display: inline-block;
	line-height: 1;
	width: auto;
}
a.btn:hover,
.wp-block-button a:hover{
	filter: brightness(1.2);
}
.wp-block-button{
	display: inline-block;
}
p{
	margin-bottom: 15px;
}
h1{
	font-family: var(--font-h1);
	color: var(--font-h1-color);
	font-size: var(--font-h1-size);
	margin-bottom: 15px;
}
h2{
	font-family: var(--font-h2);
	color: var(--font-h2-color);
	font-size: var(--font-h2-size);
	margin-bottom: 5px;
}
h3{
	font-size: 16px;
	font-weight: 600;
}

strong{
	font-weight: 600;
}

svg{
	margin-right: 5px;
}
hr.wp-block-separator{
	margin: 50px 0;
	border: 0;
	border-top: 1px solid #ccc;
}
p.error{
	width: max-content;
	display: block;
	margin: 0 auto;
	background: #ec7155;
	padding: 10px;
	border-radius: 8px;
	color: #fff;
}
a.back{
	display: inline-block;
	margin-bottom: 15px;
}
.entry-content video{
	display: block;
	margin: 0 auto 30px;
}
.entry-content ul,
.entry-content ol{
	padding: 0 0 15px 20px;
	overflow: auto;
}
.master-slider-parent {
	overflow: hidden;
}

.wp-block-image img{
	height: auto;
}

.wp-block-media-text__media img,
.wp-block-media-text__media video{
	height: auto;
}

.wp-block-table table{
	border-collapse: collapse;
}
.wp-block-table table td{
	padding: 10px;
	border: 1px solid #333;
}

#page .has-medium-font-size{
	font-size: var(--font-size) !important;
}
#page .has-large-font-size{
	font-size: var(--font-h2-size) !important;
}

.cookie-bar{
	background-color: var(--primary);
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
	max-width: 385px;
	color: #fff;
	padding: 25px;
	font-size: var(--fonts-size);
	z-index: 9;
}
.cookie-bar a{
	color: #fff;
	font-weight: 600;
}
.cookie-bar span{
	display: block;
	padding: 8px;
	cursor: pointer;
	font-weight: 600;
	text-align: center;
	border: 2px solid #fff;
	color: #fff;
}
.cookie-bar span:hover{
	background: rgba(255,255,255, 0.1);
}

/*WP BLOCKS*/
.wp-block-buttons{
	display: flex;
}
.wp-block-table{
	border-collapse: collapse;
	margin: 0 auto 20px;
	width: 100%;
}
.wp-block-table td{
	border: 1px solid #efefef;
	padding: 10px;
}
.wp-block-table tr:nth-child(even) td{
	background: #f5f5f5;
}
.wp-block-media-text__media img{
	width: max-content;
}
#content .wp-block-media-text .wp-block-media-text__content{
	padding: 0 0 0 40px;
}
#content .has-media-on-the-right .wp-block-media-text__content{
	padding: 0 40px 0 0;
}

.wp-block-image.aligncenter{
	margin: 0 auto;
}

#content div:not(.is-content-justification-center) > .wp-block-button{
	width: 100%;
	display: flex;
}
.is-content-justification-right .wp-block-button{
	justify-content: flex-end;
}
.wp-block-button .has-text-align-center{
	margin: 0 auto;
	display: table;
}
#content .has-text-align-center{
	text-align: center;
}
.wp-block-columns{
	gap: 2rem;
}


/*REVEAL*/
@media( min-width: 961px){
	.reveal{
		opacity: 0;
		transform: translateY(-30px);
	}
	.reveal-left,
	.wp-block-media-text{
		opacity: 0;
		transform: translateX(-30px);
	}
	.reveal-right,
	.wp-block-media-text.has-media-on-the-right{
		transform: translateX(30px);
	}
	.reveal-visible{
		opacity: 1;
		transform: translateY(0);
		transition: 1s cubic-bezier(.5, 0, 0, 1);
	}
	.reveal-left.reveal-visible,
	.reveal-right.reveal-visible,
	.wp-block-media-text.reveal-visible{
		transform: translateX(0);
	}
}


/*-----------------------------------------------
          ---- CSS SITE MOBILE ----
-----------------------------------------------*/
@media (min-width: 1080px){
	.mobile-nav-trigger{
		display: none;
	}
	header nav{
		height: auto !important;
	}
}
/*MOBILE BREAKPOINT*/
@media (max-width: 1080px){
	#wpadminbar{
		display: none;
	}
	
	.cookie-bar{
		height: auto;
		padding-bottom: 10px;
		font-size: 13px;
		overflow: visible;
	}
	.cookie-bar span{
		top: -40px;
		right: 5px;
		border: none;
		background: #014261;
	}
	.mobile-nav-trigger{
		display: inline-flex;
		top: 15px;
		left: 10px;
		width: 40px;
		height: 40px;
		font-size: 18px;
		padding: 12px;
	}

	div#wrap, div.wrap, .page-template-_fidupress-news div.wrap{
		padding: 0 20px;
	}
	header{
		overflow: visible;
		padding: 0;
		margin: 0;
		z-index: 999;
		height: 70px;
		display: flex;
		flex-flow: row;
		align-items: center;
	}
	header .main-area{
		min-height: initial;
	}
	header nav {
		flex-direction: column;
		align-items: flex-start;
		width: 250px;
		height: 100%;
		position: fixed;
		left: 0;
		top: 70px;
		background-color: var(--header-background);
		padding: 0;
		margin: 0;
		overflow-y: auto;
		overflow-x: hidden;
		transform: translateX(-100%);
		transition-duration: 0.3s;
	}
	/*header nav::before{
		content: '';
		position: absolute;
		inset: 0;
		background: rgb(255 255 255 / 5%);
	}*/
	header nav.open{
		right: 0;
		transform: translateX(0);
	}
	header nav > ul.menu{
		background: none;
		float: none;
		width: 100%;
		padding-top: 15px;
		clear: both;
		position: relative;
		z-index: 1;
		margin: 0;
	}

	header nav > ul.menu > li{
		float: none;
		margin: 0;
		display: block;
		height: auto;
		padding: 0;
		border: 0 !important;
	}
	header nav > ul.menu > li a{
		padding: 10px 0 10px 20px;
		display: block;
		text-align: left;
	}
	header nav > ul.menu > li a:hover{
		background: none;
	}
	header nav > ul.menu > li:first-child a{
		background: none;
		text-indent: inherit;
		width: auto;
		height: auto;
	}


	header nav ul ul{
		position: static;
		width: 100%;
		margin-bottom: 20px;
	}
	header #logo img{
		max-height: 50px;
		max-width: 200px;
		width: auto;
		height: auto;
	}

	.wpml-ls-legacy-list-horizontal{
		position: static;
		transform: initial;
		border: none !important;
		height: auto;
		background: none !important;
	}
	.wpml-ls-legacy-list-horizontal ul{
		justify-content: center;
	}
	.wpml-ls-legacy-list-horizontal a{
		color: #4266a4;
	}

	nav .wpml-ls{
		position: static;
	}
	.top-bar + .main-area .wpml-ls{
		display: inline-block;
	}	

	.top-banner{
		background-position: center;
		background-size: cover;
		background-attachment: initial;
		height: 130px;
	}
	.top-banner .wrap{
		left: 0;
		font-size: 14px;
	}
	.top-banner .wrap p{
		line-height: 25px;
	}
	.top-banner .wrap p:last-of-type{
		margin-bottom: 0;
	}

	.home .flex.services{
		margin: 0;
	}

	div.site-content{
		padding-block: 20px;
	}

	.news-wrapper > article{
		width: 100% !important;
		padding: 0 !important;
	}
	#page .news-wrapper > article img{
		display: block !important;
		float: none !important;
		margin: 0 auto 15px !important;
	}
	.nf-form-cont{
		width: 100%;
	}

	#content .flex{
		display: block;
	}
	#content .flex > div,
	#content .flex.col-2 > div,
	#content .flex.col-3 > div,
	#content .flex.col-4 > div{
		display: block;
		width: 100%;
	}

	footer{
		padding: 15px 0;
	}
	footer span.top{
		display: none;
	}
	footer .wrap.flex{
		flex-direction: column;
	}

	.cookie-bar{
		inset: auto 10px 10px 10px;
	}

	aside{
		display: none;
	}
	aside li a{
		padding-left: 5px;
		text-align: center;
	}
	aside + .entry-content{
		float: none;
		width: 100%;
	}
	.home .entry-content{
		padding: 0;
		max-width: 100% !important;
	}


	.page-template-multi-contact address,
	.page-template-multi-contact address + .entry-content{
		float: left;
		width: 100%;
	}

	iframe{
		width: 100% !important;
	}


	@media screen and (orientation:landscape) {
	}
}