/*
Theme Name: YNB Child
Description: Child theme for YNB theme | Legacy
Author: YNB Team
Author URI: https://ynb.pt
Template: ynb
Version: 1.0.0
Text Domain: uncode
*/

:root {
	--ynb-brand-blue: #282741;
	--ynb-brand-gold: #c89a2b;
	--ynb-brand-text-color: #4a4a49;
	--ynb-brand-bg: #f0ebe5;
}

.ynbAnim {
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	z-index: 1;
}
@media screen and (min-width: 960px) {

	.ynb-bg-left-white > .uncol::before {
		content: "";
		background: #fff;
		width: 100%;
		height: 100%;
		position: absolute;
		left: -100%;
		top: 0;
	}
	
	.ynb-bg-right-white > .uncol::before {
		content: "";
		background: #fff;
		width: 100%;
		height: 100%;
		position: absolute;
		right: -100%;
		top: 0;
	}
	
	.ynb-bg-left-bg > .uncol::before {
		content: "";
		background: #fff;
		width: 100%;
		height: 100%;
		position: absolute;
		left: -100%;
		top: 0;
	}
	
	.ynb-bg-right-bg > .uncol::before {
		content: "";
		background: #fff;
		width: 100%;
		height: 100%;
		position: absolute;
		right: -100%;
		top: 0;
	}
}

footer .icon-box.icon-inline {
	padding-left: 20px;
	padding-right: 20px;
}

/* Swiper */
.swiper {

}

.swiper-slide {

}

.swiper-slide img {

}

.swiper-v {

}

.swiper-slide {
	max-height: 250px;
	height: 250px;
	transition: all .3s ease;
}

.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide {
	background-color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-20px);
}

.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide:hover {
	background-color: var(--ynb-brand-gold);
}

.swiper-slide .ynb-slider-text-vertical {
	transition: all .3s ease;
	line-height: 1.4em;
}

.swiper-slide:hover .swiper-pagination-bullet {
	background-color: #fff;	
}

.swiper-slide:hover .ynb-slider-legend,
.swiper-slide:hover .ynb-slider-text,
.swiper-slide:hover .ynb-slider-text-vertical {
	color: #fff;
}

.swiper-slide:hover .ynb-slider-icon svg {
	fill: #fff;
}

.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide {
	padding: 24px;
}

span.ynb-slider-text-vertical:not(:first-child) {
	/* padding-top: 20px; */
	display: block;
}

[class*="ynb-slider"] .ynb-slider-icon img,
[class*="ynb-slider"] .ynb-slider-icon svg {
	max-width: 35px;
	display: block;
	transition: all .3s ease;
	fill: var(--ynb-brand-gold);
}

[class*="ynb-slider"] .ynb-slider-legend {
	padding-top: 20px;
	display: block;
	font-size: 20px;
	line-height: 1.5em;
	transition: all .3s ease;
	font-family: 'Antic Didone' !important;
}

[class*="ynb-slider"] .ynb-slider-text {
	padding-top: 20px;
	display: block;
	font-size: 16px;
	transition: all .3s ease;
	line-height: 1.4em;
}

.swiper-pagination-bullet {
	background-color: var(--ynb-brand-text-color);
	transition: all .3s ease;
}

.ynb-slider-vertical .swiper-slide:not(:first-child) {

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: left;
	justify-content: left;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.ynb-swiper-nav {
	position: absolute;
	width: 100px;
	height: 50px;
	left: 0;
	bottom: 0;
	transform: translateY(100%);
	color: var(--ynb-brand-blue);
}

.ynb-swiper-nav [class*=ynb-swiper-button] {
	width: 50%;
	height: 100%;
	float: left;
	cursor: pointer;
	font-size: 17px;
	transition: all .3s ease;

	/* Centrar elementos */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.ynb-swiper-nav [class*=ynb-swiper-button]:hover {
	background-color: var(--ynb-brand-gold);
	color: #fff;
}

.ynb-swiper-nav .ynb-swiper-button-next {

}

.ynb-swiper-nav .ynb-swiper-button-prev {

}

.swiper-pagination-vertical.swiper-pagination-bullets,
.swiper-vertical>.swiper-pagination-bullets {
	transform: unset !important;
	top: 0%;
}

.swiper-pagination-bullet {
	background-color: var(--ynb-brand-blue);
}

@media screen and (max-width: 959px) {
	.swiper-slide-active .swiper-pagination-bullet {
		background-color: #fff;
	}
	
	.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide.swiper-slide-active {
		background-color: var(--ynb-brand-gold) !important;
	}
	
	.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide.swiper-slide-active .ynb-slider-legend,
	.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide.swiper-slide-active .ynb-slider-text,
	.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide.swiper-slide-active .ynb-slider-text-vertical {
		color: #fff;
	}
	
	.ynb-slider-horizontal > .swiper-wrapper > .swiper-slide.swiper-slide-active .ynb-slider-icon svg {
		fill: #fff;
	}
}

@media screen and (min-width: 960px) {

}

/* END Swiper */

.heading-text strong {
	font-weight: 300;
	color: var(--ynb-brand-gold);
}

.ynb-mordor {
	opacity: 0 !important;
	visibility: hidden !important;
	display: none !important;
}

.footer-scroll-top.style-light .btn-default {
	background-color: transparent !important;
	border-color: var(--ynb-brand-gold) !important;
	color: var(--ynb-brand-gold) !important;
}

.footer-scroll-top.style-light:hover .btn-default {
	background-color: var(--ynb-brand-gold) !important;
	border: 1px solid var(--ynb-brand-gold) !important;
	color: #fff !important;
}

/* Menu */
/* Configs menu */

@media screen and (max-width: 959px) {
	.ynb-header-wrap {
		height: 80px;
	}

	.ynb-header-middle {
		width: 50%;
	}

	.ynb-header-left,
	.ynb-header-right {
		width: 25%;
	}

	.ynb-header-wrap .ynb-logo svg {
		max-height: 20px;
		height: 20px;
	}

	#ynb-nav .ynb-menu-bg-full {
		width: 100vw;
	}

	#ynb-nav .ynb-menu-bg-full {
		height: 100vh;
	}

	#ynb-nav {
		overflow: scroll;
	}

	#ynb-nav .ynb-menu-body {
		width: 100%;
	}

	.ynb-header-wrap .ynb-header-right {
		-webkit-justify-content: flex-end;
		justify-content: flex-end;
	}

	.ynb-header-wrap .ynb-header-middle {
		/* Centrar elementos */
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
}

@media screen and (min-width: 960px) {
	.ynb-header-wrap {
		height: 100px;
	}

	.ynb-header-middle {
		width: 68%;
	}

	.ynb-header-left,
	.ynb-header-right {
		width: 16%;
	}

	.ynb-header-wrap .ynb-logo svg {
		max-height: 30px;
		height: 30px;
	}

	header #logo-container-mobile{
		padding: 0 !important;
	}
	#ynb-nav .ynb-menu-bg-full {
		width: 100vw;
		opacity: .94;
	}

	
	.ynb-menu-header a {
		position: relative;
		top: -16px;
	}
	
	#ynb-nav {
		overflow: scroll;
	}
	
	.ynb-menu {
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	
	#ynb-nav .ynb-menu-body {
		width: 1140px;
	}

	.ynb-header-wrap [class*="ynb-header"] {
		-webkit-justify-content: center;
		justify-content: center;
	}
}

#ynb-nav .ynb-menu-header {
	width: 100%;
	height: 15vh;
	margin-top: 61px;
	text-align: center;
}

#ynb-nav .ynb-menu-body {
	height: 75vh;
}

#ynb-nav .ynb-menu-bg-full {
	height: 100vh;
	top: 0;
	position: absolute;
}
/** END Header **/

.menu-smart > li > a {
	padding: 0px 24px;
}

.ynb-header-right.style-light .ynb-menu .ynb-menu-bar {
	background-color: var(--ynb-brand-blue);
}

.ynb-header-right.style-dark .ynb-menu .ynb-menu-bar {
	background-color: #fff;
}

body.home .ynb-header-right .ynb-menu .ynb-menu-bar {
	background-color: #fff;
}

.ynb-header-right .ynb-menu:hover {
	opacity: .6 !important;
	transition: all .3s ease;
}

.ynb-header-right>div,
.ynb-header-right>span {
	display: inline-block;
	vertical-align: middle;
	margin: 0 25px;
}

#ynb-nav [class^="comutador"] {
	width: 50%;
	display: inline-block;
	margin-bottom: 50px;
}

#ynb-nav {
	opacity: 0;
	visibility: hidden;
	overflow: visible;
}

#ynb-nav .ynb-menu-bg-full {
	background: linear-gradient(45deg, #1d1d1d 30%, #1d1d1d 100%);
	left: 0;
}

#ynb-nav .ynb-menu-header img.ynb-logo-white {
	opacity: 0;
	visibility: hidden;
	width: 214px;
}

#ynb-nav .ynb-pesquisa-menu {
	position: relative;
}

#ynb-nav .ynb-menu-body {
	margin: auto;
}

#ynb-nav .ynb-pesquisa-menu .fa-search3:before {
	content: "Pesquisar";
	text-transform: uppercase;
	background-color: #fff;
	color: var(--ynb-brand-blue);
	font-weight: 700;
	padding: 18px 30px;
}

#ynb-nav.ynb-nav-activo {
	overflow: hidden;
}

.ynb-menu .ynb-menu-bar-container {
	position: relative;
	height: 20px;
	width: 33px;
}

.ynb-menu .ynb-menu-bar {
	opacity: 1;
	visibility: visible;
	height: 2px;
	transition: all .3s ease;
}

.ynb-menu .ynb-menu-bar:nth-child(1) {
	width: 22px;
	position: absolute;
	top: 0;
	right: 0;
}

.ynb-menu .ynb-menu-bar:nth-child(2) {
	width: 11px;
	position: absolute;
	top: 45%;
	right: 0;
}

.ynb-menu .ynb-menu-bar:nth-child(3) {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 33px;
}

.ynb-menu .ymenu-bar {
	background-color: var(--ynb-brand-blue);
}

#ynb-nav {
	z-index: 0;
	height: 100%;
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	transition: 0.5s;
	padding: 0px 20px;
}

body.logged-in.admin-bar #ynb-nav {
	padding: 20px;
}

#ynb-nav .ynb-menu-body .ynb-overlay-menu-wrap a {
	text-align: center;
	opacity: 0;
	visibility: hidden;
}

#ynb-nav .ynb-menu-footer .ynb-menu-footer-content,
#ynb-nav .ynb-menu-contactos .ynb-menu-contactos-content {
	opacity: 0;
	visibility: hidden;
}

#ynb-nav .ynb-menu-footer .ynb-menu-footer-content a,
#ynb-nav .ynb-menu-contactos a {
	color: #fff;
	transition: all .3s ease;
}

#ynb-nav .ynb-menu-footer .ynb-menu-footer-content a:hover,
#ynb-nav .ynb-menu-contactos a:hover {
	opacity: .6;
}

#ynb-nav .ynb-menu-body .ynb-overlay-menu-wrap a {
	color: white;
	font-size: 36px;
	font-family: 'Antic Didone' !important;
	font-weight: 300;
	transition: all .3s ease;
	display: block;
	text-align: center;
	line-height: 1.5;
}

#ynb-nav .ynb-menu-body .ynb-overlay-menu-wrap a:hover {
	color: var(--ynb-brand-gold);
}

.ynb-header-wrap {
	position: fixed;
	z-index: 3002;
	width: 100%;
	background-color: rgb(255 255 255 / 0%);

	/* Centrar elementos */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.ynb-header-wrap .ynb-header-master {
	height: 100%;
	width: 100%;
	max-width: 1200px;
	left: calc( (100vw - 1200px) / 2 );
	border-bottom: 1px solid ;
	border-bottom-color: rgb(255 255 255 / 20%);
}

/* .page-id-15 .ynb-header-wrap .ynb-logo svg {
	fill: #fff;
} */

/* .search-results .ynb-header-wrap .ynb-logo svg {
	fill: var(--ynb-brand-blue) !important;
}

.search-results .ynb-menu .ynb-menu-bar {
	background-color: var(--ynb-brand-blue) !important;
} */

.ynb-header-wrap [class*="ynb-header"] {
	display: block;
	height: 100%;
	float: left;

	/* Centrar elementos */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.ynb-header-middle {
	text-align: center;
}

.ynb-header-wrap .ynb-header-bg {
	background: #fff;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	transform: scaleY(0);
	transform-origin: top;
}

#ynb-nav .ynb-menu-body-main {
	height: 50%;

	/* Centrar elementos */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

#ynb-nav .ynb-menu-contactos {
	height: 25%;
	color: #fff;

	/* Centrar elementos */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

#ynb-nav .ynb-menu-footer {
	height: 25%;
	padding-bottom: 50px;
	color: #fff;
	font-size: 12px;

	/* Alinhar abaixo */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: space-evenly;
	justify-content: space-evenly;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: flex-end;
	align-items: flex-end;
}

/* END Menu */

.style-light p strong {
	color: var(--ynb-brand-blue);
}

.style-light .btn-default {
	background-color: var(--ynb-brand-blue) !important;
	border-color: var(--ynb-brand-blue) !important;
}


/* Formulários */
[class^=ynb-interiorForm] {
	margin: 0 0 35px;
}

.ynb-interiorForm .ynb-interiorFormTitle {
	opacity: 0;
	visibility: hidden;
	font-weight: 600;
	color: #101010;
	font-size: 25px;
	position: relative;
	padding-bottom: 36px;
}

.ynb-interiorForm .wpcf7 p {
	visibility: hidden;
	opacity: 0;
	display: initial;
}

.wpcf7 textarea {
	min-height: 150px;
}

.ynb-interiorForm form p:first-of-type {
	margin-top: 0;
}

.ynb-interiorForm .column-background.background-element ~ .uncont {
	height: 100%;
}

.ynb-interiorForm .column-background.background-element ~ .uncont .wpb_raw_html {
	height: 100%;
	padding: 72px;
}

[class^=ynb-interiorForm] input,
[class^=ynb-interiorForm] textarea {
    width: 100%;
	box-shadow: unset;
}

@media (min-width: 960px) {
	[class^=ynb-interiorForm] {
		float: left;
	}

	[class^=ynb-interiorFormHalf] {
		width: 50%;
	}

	[class^=ynb-interiorFormThirds] {
		width: 33.3333%;
		margin-bottom: 0 !important;
		margin-block-start: 1em !important;
	}

	.ynb-interiorFormFull {
		width: 100%;
	}
	
	.ynb-interiorFormHalfFirst {
		padding-right: 10px;
	}
	
	.ynb-interiorFormHalfLast {
		padding-left: 10px;
	}

	.ynb-interiorFormThirdsFirst {
		padding-right: 10px;
	}

	.ynb-interiorFormThirdsLast {
		padding-left: 10px;
	}
}

@media (max-width: 960px) {
	.pum-theme-227 .pum-container {
		padding: 72px 36px;
	}
}

.pum-overlay a,
#ynb-interiorFormLink .ynb-interiorFormFooter a {
	color: var(--ynb-brand-blue);
	transition: all .3s ease;
}

.pum-overlay a:hover,
#ynb-interiorFormLink .ynb-interiorFormFooter:hover {
	opacity: .6;
}

.pum-overlay .ynb-popoverFooter {
	font-size: 13px;
	line-height: 1.75;
}

#ynb-interiorFormLink .ynb-interiorFormFooter {
	font-size: 13px;
	line-height: 1.75;
	visibility: hidden;
	opacity: 0;
	margin-top: var(--ynb-single-space);
}

[class*=pum] .ynb-align-center {
	text-align: center;
}

.pum-overlay .ynb-popover-title {
	font-size: 36px;
    font-family: 'Antic Didone' !important;
    font-weight: 300;
    transition: all .3s ease;
    display: block;
    text-align: center;
    line-height: 1.5;
	color: var(--ynb-brand-blue)
}

[class*=pum] .wpcf7-submit {
	background-color: transparent;
	border: 1px solid;
	border-color: var(--ynb-brand-blue);
	color: var(--ynb-brand-blue);
	transition: all .3s ease;
}

[class*=pum] .wpcf7-submit:hover {
	background-color: var(--ynb-brand-blue);
	color: #fff;
}

/* END Formulários */


@media (max-width: 960px) {
	.ynb-padding-left-2x {
		padding-left: 36px;
	}
}

@media (min-width: 960px) {
	.ynb-padding-left-2x {
		padding-left: 72px;
	}
}

svg.ynb-footer-logo {
	width: 50px;
	fill: #282741;
}

#masthead {
	opacity: 0 !important;
	visibility: hidden !important;
}