/* 
Theme Name: Osfins Child Theme
Theme URI: https://osfins.micro-theme.com
Description: Child theme for osfins WordPress theme
Author: micro_theme
Author URI: https://micro-theme.com
Template: osfins
Version: 1.0.0
Tags: right-sidebar, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain:  osfins-child
*/

/*

Blu Naval #00425E
Oro Naval #d3b574

*/

/* Reset Osfins Theme */

.swiper-slide {
    height: inherit !important;
}


/* Override parent theme style */

body {
	font-family: 'Titillium Web', sans-serif !important;
	font-size: 20px !important;
}

section.dettagli-reference .elementor-container>.elementor-row>.elementor-column>.elementor-element-populated {
	padding: 10px 20px;
}

.back-to-top {display: none;}

header.elementor-absolute-desktop, header.elementor-absolute-tablet, header.elementor-absolute-mobile {
	position: absolute;
}

.social-icon .elementor-icon-list-text {
	display: none !important;
}

header#stickyheaders{
	transition : transform 0.34s ease;
}

header.headerup{
	transform: translateY(-30px); /*adjust this value to the height of your header*/
}
/*
header.elementor-sticky--effects:not(.headerup) {
	transform: translateY(-40px);
}
*/
header .logo-menu .logo-naval img {
	transition: all 0.3s ease !important;
}
/*
header:not(.elementor-sticky--effects) .logo-menu .logo-naval img {
	min-width: 140px;
}*/

header.elementor-sticky--effects .logo-menu .logo-naval img {
	max-width: 130px !important;
	margin: 0;
}

header.elementor-sticky .logo-menu {
	background-color: rgba(0,66,94,0);
	transition: all 0.3s ease !important;
}

header.elementor-sticky.elementor-sticky--effects .logo-menu {
	background-color: rgba(0,66,94,0.96) !important;
	padding: 10px !important;
}

header .logo-menu .elementor-menu-toggle, header .logo-menu .elementor-search-form__toggle i {
	background: none;
}

header .language-flags {
	position: absolute;
    bottom: -30px;
    left: 3px;
	display: inline-block !important;
    width: auto !important;
}

header .language-flags .wpml-ls-legacy-list-horizontal {
	border: none;
	padding: 0;
}

header .language-flags ul {
	line-height: 0;
}

header .language-flags ul li a.wpml-ls-link {
	padding: 0;
	margin: 0 15px 0 0;
	line-height: 0;
}

header .language-flags ul li a.wpml-ls-link img {
    width: 25px;
    height: auto;
}



/* Button */

.theme-btn {
	background: #FFFFFF !important;
	border: 1px solid #00425E !important;
	color: #00425E !important;
	padding: 15px 20px !important;
}

.theme-btn::before {
	width: 0;
	background: #00425E !important;
}

.theme-btn:hover {
	color: #FFFFFF !important;
}

.btn-white-stroke .theme-btn {
	background: #00425E !important;
	border: 1px solid #FFFFFF !important;
	color: #FFFFFF !important;
	padding: 15px 20px !important;
}

.btn-white-stroke .theme-btn::before {

	background: #FFFFFF !important;
}

.btn-white-stroke .theme-btn:hover {
	color: #00425E !important;
}

.link-over-blu a:hover {
	color: #FFFFFF;
}


/* Mobile Menu */

.elementor-nav-menu--dropdown {
	margin-top: 10px !important;
    padding: 20px 0;
	background-color: #00425e;
    border-top: 5px solid #d3b574;
    border-bottom: 20px solid #d3b574;
}

.elementor-nav-menu--dropdown a {
	color: #FFFFFF !important;
}

.elementor-nav-menu--dropdown a:hover {
	color: #d3b574 !important;
}

.bg-slide-overlay {
	transition: all 0.5s ease-in-out;
}

.bg-slide-overlay.bg-alpha-overlay {
	background-color: rgba(0,0,0,0) !important;
}


/* Footer */

footer a {
    color: #FFFFFF !important;
}

footer a:hover {
	color: #d3b574 !important;
}

.footer-about {
	margin: 0;
}

.blocco-contatti h2 {
	font-size: 22px;
    line-height: 22px;
    font-weight: 700;
    margin: 30px 0 10px 0;
    color: rgba(255,255,255,0.6);
}

.blocco-contatti p {
	margin: 0;
}

.blocco-contatti .nota-contatti {
	font-size: 16px;
    line-height: 16px;
}

footer .gdpr-menu-link {
	margin: 20px 0 0 0;
}

footer .gdpr-menu-link a {
    margin: 0 15px 10px 0;
	text-transform: uppercase;
	font-size: 14px;
    line-height: 16px;
    display: inline-block;
}

footer .gdpr-menu-link a.showmore {
	color: #d3b574 !important;
}

footer .gdpr-menu-link a.showmore:hover {
    color: #FFFFFF !important;
}




/* Reference Section */

.cruise-list-block .dce-filters .filters-item a {
    white-space: nowrap;
    margin: 0 0 20px 0;
    display: inline-block;
}

.cruise-list-block .dce-filters {
	max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.btn-reference .theme-btn {
    width: 230px;
}

.reference-content-block .wp-block-kadence-advancedgallery .kb-gallery-ul {
	display: block;
}


/* Blog Section */

.blog-list-article article .elementor-image {
	overflow: hidden;
}

.blog-list-article article .elementor-image picture {
	display: block;
	transition: all 0.3s ease-in-out;
}

.blog-list-article article:hover .elementor-image picture {
	transform: scale(1.1);
}


/* Risultati di ricerca */

.risultati-ricerca-box .dce-post-item .dce-post-title {
	position: relative;
}

.risultati-ricerca-box .dce-post-item .dce-post-title a {
	padding: 0 0 0 30px;
}

.risultati-ricerca-box .dce-post-item .dce-post-title a::before {
	content: '';
    position: absolute;
    top: 0.4em;
    left: 10px;
    margin: 0;
    width: 5px;
    height: 5px;
    background-color: #00425e;
	transition: all 0.2s ease-in-out;
}

.risultati-ricerca-box .dce-post-item .dce-post-title a:hover::before {
	margin-top: 1px;
	height: 2px;
    width: 15px;
    background-color: #bb9b4f;
}

.infinite-scroll-last.status-text, .infinite-scroll-error.status-text {
	text-align: left;
}


/* Pagina Azienda */

body.page-id-5444 section.header-back .elementor-motion-effects-layer {
	background-position: 50% 20% !important;
}

.cite-naval {
	font-family: 'Aref Ruqaa';
	font-size: 26px;
	line-height: 30px;
	color: #888888;
}

.cite-naval span {
	display: block;
	text-align: right;
	font-family: Titillium Web;
	font-size: 18px;
	margin: 10px 0 0 0;
	color: #555555;
}

.icone-svg .icona-box {
	max-width: 100px;
	max-height: 100px;
    margin:0 auto;
	fill: #00425e;
}

.naval-gallery .swiper-container-horizontal>.swiper-pagination-bullets {
	bottom:  0 !important;
}

.badge-anni-azienda .counter-icon {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 100px;
}

.badge-anni-azienda .counter-icon::after {
	display: none;
}

.badge-anni-azienda .counter-block {
    margin: 0;
    padding: 20px;
}

.counter-title {
	margin-top: 0;
}

/* Anchor offset */

#soluzioni-turnkey::before, #subcontractor::before, #spa-areas::before, #produzione-arredi::before, #tempi-di-consegna::before, #tecnologia::before {
    content: '';
    display: block; 
    position: relative; 
    width: 0; 
    height: 150px; 
    margin-top: -150px;
}


/* Informative GDPR */

#cmplz-document {
	max-width: inherit;
}

#cmplz-document p, #cmplz-document li, #cmplz-document td {
	font-size: 20px;
	line-height: 30px;
}

#cmplz-document h2 {
	font-size: 32px;
	line-height: 32px;
}

#cmplz-document h3 {
	font-size: 28px;
	line-height: 28px;
}

/* Link per mappa contatti */

#mappa-contatti {
	cursor: pointer;
}


/* Generic Rules Elementor Form */
.elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option {
	display: flex;
    flex-direction: row;
    align-items: self-start;
}
.elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option input {
	margin-right: 10px;
    transform: scale(1.3);
    position: relative;
    top: 2px;
    left: 2px;
}
.elementor-field-type-acceptance .elementor-field-subgroup .elementor-field-option label {
	font-size: 14px !important;
    line-height: 16px !important;
}

/* Form Legno Order */
.form-legno-block .elementor-field-group-nome {order: 1;}
.form-legno-block .elementor-field-group-cognome {order: 2;}
.form-legno-block .elementor-field-group-email {order: 3;}
.form-legno-block .elementor-field-group-telefono {order: 4;}
.form-legno-block .elementor-field-type-submit {order: 5;}
.form-legno-block .elementor-field-group-privacy_gdpr {order: 6;}

.form-legno-block .elementor-field-type-submit button {min-height: 59px;}


@media all and (max-width: 767px) {

	.cruise-list-block .dce-filters {
		max-width: 220px;
    	flex-direction: column;
	}

	.cruise-list-block .dce-filters .filters-separator {
		display: none;
	}

	.contact-details .elementor-icon-list-text {
		display: none !important;
	}

	.elementor-widget.recapiti .elementor-icon-box-wrapper {
		display: flex;
	}

	.elementor-widget.recapiti .elementor-icon-box-wrapper .elementor-icon-box-icon {
		margin: 0 15px 0 0 !important;
	}

	footer .social-icon .elementor-icon-list-items {
		justify-content: center !important;
	}

	.col-reference-page-btn {
		order: 2;
	}

	.col-reference-archive-btn {
		order: 1;
	}

	.col-reference-download-btn {
		order: 3;
	}

	.copyright-footer-col {
		order: 1;
	}

	.social-footer-col {
		order: 2;
	}

	.gerenza-footer-col {
		order: 3;
	}

	.copyright-footer-col, .social-footer-col, .gerenza-footer-col {
		margin: 0 0 10px 0;
	}

	.form-legno-block .elementor-field-type-submit {order: 6;}
	.form-legno-block .elementor-field-group-privacy_gdpr {order: 5;}

}


@media all and (min-width: 768px) {

	body.term-39 .dce-post.post-5302 {
		max-width: 50%;
	}

}

@media all and (min-width: 1025px) and (max-width: 1109px) {

	header .logo-menu ul li.home-link {
		display: none;
	}

}



