@charset "utf-8";
/*
 Theme Name: Lanterna
 Description: Tema Child di Divi 5
 Author: Ljuba - Riflessi Digitali
 Author URI: https://www.ljuba.it
 Template: Divi
 Version: 1.0.1
 License: GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*=== HEADER & MENU ===*/
.et_builder_inner_content .et_pb_section .ir-menu.et_pb_menu .et-menu-nav ul li a {
	font-weight: 400!important;
}
.nav li ul {
	border-color: transparent !important;
}
#main-header {
	border-bottom: 1px #333 solid;
}
@media (min-width: 981px) {
	#main-header .container {
		width: 90%;
		margin-top: 5px;
		margin-bottom: 2px;
	}
	#main-header .container #logo {
		max-height: none !important;
		max-width: 270px;
	} 
	#main-header #et-top-navigation {
		margin-top: 19px;
	}
}
@media (max-width: 980px) {
	.rd-da-mobile-header .mobile_logo_container img {
		max-height: 60px;
		width: auto !important;
	}
	.et_mobile_menu .menu-item-has-children > a {
		font-weight: 600;
		background-color: transparent;
	}
	.rd-da-mobile-header .et_mobile_menu .current-menu-ancestor > a,
	.rd-da-mobile-header .et_mobile_menu .current-menu-item > a {
		color: #fd3765 !important;
	}
}
/*=== TYPOGRAPHY ===*/
:root h1, 
:root h2,
:root h3,
:root h4,
:root h5,
:root h6,
.ivyora {
	font-family: ivyora-text, serif;
	font-weight: 300;
	font-style: normal;
}
.no-underline a {
	text-decoration: none !important;
}
.ciliegia,
.ciliegia h1,
.ciliegia h2,
.ciliegia h3,
.ciliegia h4 {
	color: #fd3765;
}
/*------- fix uso theme builder + builder nella pagina/articolo --------*/
body:not(.et-fb-root-ancestor) .et_builder_inner_content .et_builder_inner_content .et_pb_row {
	width: 100%;
}
body:not(.et-fb-root-ancestor) .et_builder_inner_content .et_builder_inner_content .et_pb_section_0 {
	padding: 0;
}
body:not(.et-fb-root-ancestor) .et_builder_inner_content .et_builder_inner_content .et_pb_row:first-of-type {
	padding-top: 0;
}
body:not(.et-fb-root-ancestor) .et_builder_inner_content .et_builder_inner_content .et_pb_row:last-of-type {
	padding-bottom: 0;
}
/* sezione sticky */
.sticky-section {
	position: sticky;
	top: 0;
	z-index: 0;
}
/*----- fix floating blurbs ----*/
.et_pb_blurb .et_pb_blurb_content {
  width: auto;
}
.et_pb_text_align_left.et_pb_blurb .et_pb_blurb_content {
  margin-left: 0;
}
.et_pb_text_align_right.et_pb_blurb .et_pb_blurb_content {
  margin-right: 0;
}
/* === LARGER SUBMENU === */
@media (min-width: 981px) {
	.rd-larger-submenu .sub-menu {
		width: 350px;
	}
	#top-menu .rd-larger-submenu .sub-menu li a {
		width: 310px
	}
}
/*=== STRONG LINK ===*/
.entry-content li a:not(.et_pb_button), .entry-content p a:not(.et_pb_button), .et_builder_inner_content a:not(.et_pb_button) {
    font-weight: 700!important;
	text-decoration: underline;
}
.et_pb_post .entry-title a,
.et_pb_post h2 a,
.et_pb_grid_item h2 a {
	text-decoration: none !important;
}
/*=== NO STRONG LINK ===*/
.entry-content .no-strong p a:not(.et_pb_button), .et_builder_inner_content .no-strong a:not(.et_pb_button) {
	font-weight: 300!important;
}
/* === UL E OL LINE HEIGHT === */
#left-area ul, .comment-content ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul, body.et-pb-preview #main-content .container ul,
#left-area ol, .comment-content ol, .entry-content ol, .et-l--body ol, .et-l--footer ol, .et-l--header ol, body.et-pb-preview #main-content .container ol {
    line-height: 1.7em !important;
}
/* === custom UL e OL line height ===*/
#left-area ul, 
.entry-content ul, 
.et_builder_inner_content ul { 
	line-height: 2.2em 
}
#left-area ol, 
.entry-content ol,
.et_builder_inner_content ol { 
	line-height: 2.2em !important;
	list-style-position: outside;
    padding-left: 1em; 
}
/* === IMG FLOAT LEFT === */
.rd-img-float-left {
	float: left;
	max-width: 50%;
	z-index: 3;
	margin-bottom: 20px !important;
	margin-right: 40px !important;
	position: relative;
}
.rd-row-float-left, 
.rd-row-float-left >*,
.rd-row-float-left >* >* {
	display: block;
}
@media ( max-width: 1200px ) {
	.rd-row-float-left .rd-img-float-left {
		max-width: 50%;
	}
}
@media ( max-width: 980px ) {
	.rd-row-float-left .rd-img-float-left {
		width: 100% !important;
		max-width: 100%;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-bottom: 40px !important;
	}
	.rd-mobile-img-bottom,
	.rd-mobile-img-bottom > .et_pb_column:only-child {
		display: flex;
		flex-direction: column-reverse;
	}
	.rd-mobile-img-bottom .et_pb_column:only-child > :first-of-type,
	.rd-mobile-img-bottom .et_pb_column:first-of-type:not(:only-child) {
		margin-top: 40px;
		margin-bottom: 0px !important;
	}
}

/* === IMG FLOAT RIGHT === */
.rd-img-float-right {
	float: right;
	max-width: 50%;
	z-index: 3;
	margin-bottom: 20px !important;
	margin-left: 40px !important;
	position: relative;
}
.rd-row-float-right, 
.rd-row-float-right >*,
.rd-row-float-right >* >* {
	display: block;
}
@media ( max-width: 1200px ) {
	.rd-row-float-right .rd-img-float-right {
		max-width: 50%;
	}
}
@media ( max-width: 980px ) {
	.rd-row-float-right .rd-img-float-right {
		width: 100% !important;
		max-width: 100%;
		margin-left: auto !important;
		margin-right: auto;
		margin-bottom: 40px !important;
	}
}
/*==== CF 7 ====*/
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar {
	background-color: #ffffff !important;
	border: none;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	font-size: clamp(0.875rem, 0.244vw + 0.802rem, 1rem);
	color: #000000 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcf7-submit {
	border: 1px solid #000000;
	color: #000000 !important;
	letter-spacing: 1px;
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500!important;
	text-transform: uppercase!important;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	padding: 0.3em 1em!important;
	background: transparent;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.wpcf7-submit:hover { 
	background-color: #000000;
	color: #ffffff !important;
}
.form-submit .et_pb_button[disabled], .wpcf7-submit[disabled] {
    cursor: not-allowed;
    opacity: .5;
}
.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}
/* === colore placeholders === */
.wpcf7 ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #000000;
	font-weight: 300 !important;
}
.wpcf7 ::-moz-placeholder { /* Firefox 19+ */
	color: #000000;
	font-weight: 300 !important;
}
.wpcf7 :-ms-input-placeholder { /* IE 10+ */
	color: #000000;
	font-weight: 300 !important;
}
.wpcf7 :-moz-placeholder { /* Firefox 18- */
	color: #000000;
	font-weight: 300 !important;
}
.wpcf7 .et_pb_row.et_pb_row_inner {
	max-width: 100%;
	margin-bottom: 0px;
	width: 100%;
}
.cf-acceptance {
	font-size: clamp(0.875rem, 0.244vw + 0.802rem, 1rem);
}
/* Divi 5 specific */
.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
}
.wpcf7-form > * {
	padding: 0 !important;
}
.wpcf7 .et_pb_row.et_pb_row_inner {
	max-width: 100%;
	width: 100%;
}
@media (min-width: 981px) {
	.wpcf7 .et_block_row .et_pb_column_1_2, 
	.wpcf7 .et_block_row > .et_pb_column_1_2 {
		width: 47.25%;
	}
	.wpcf7 .et_block_row .et_pb_column, 
	.wpcf7 .et_block_row > .et_pb_column {
		margin-right: 5.5%;
	}
}
@media (max-width: 980px) {
	.wpcf7 .et_block_row .et_pb_column {
		width: 100%;
		margin-bottom: 30px;
	}
	.wpcf7 .et_pb_row .et_pb_column.et-last-child, 
	.et_pb_row .et_pb_column:last-child {
		margin-bottom: 0;
	}
}
/* BLOG LOOP FEATURED IMAGE */
.ir-blog-loop .et_pb_image a {
	height: 100%;
}
.ir-blog-loop .et_pb_image_wrap {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 aspect ratio */
  overflow: hidden;
  min-height: 100%;
}

.ir-blog-loop .et_pb_image_wrap img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* === FOOTER === */
#footer-info {
    line-height: 20px;
}
/* Custom Social Warfare Button */
.swp_social_panel.swp_flat_fresh.swp_default_full_color .swp_facebook,
body .swp_social_panel.swp_flat_fresh.swp_other_full_color:hover .swp_facebook:not(:hover),
html body .swp_social_panel.swp_flat_fresh.swp_individual_full_color .swp_facebook:hover,

.swp_social_panel.swp_flat_fresh.swp_default_full_color .swp_twitter,
body .swp_social_panel.swp_flat_fresh.swp_other_full_color:hover .swp_twitter:not(:hover),
html body .swp_social_panel.swp_flat_fresh.swp_individual_full_color .swp_twitter:hover {
  border: 1px solid #94D1BD;
  background: #94D1BD;
}
.swp_social_panel.swp_flat_fresh.swp_default_full_color .swp_pinterest,
body .swp_social_panel.swp_flat_fresh.swp_other_full_color:hover .swp_pinterest:not(:hover),
html body .swp_social_panel.swp_flat_fresh.swp_individual_full_color .swp_pinterest:hover{
  border: 1px solid #E49BA8;
  background: #E49BA8;
}
div.swp_social_panel .nc_tweetContainer:not(.total_shares):not(.total_sharesalt):first-of-type {
  margin-left: 0;
}
div.swp_social_panel .nc_tweetContainer:not(.total_shares):not(.total_sharesalt):last-of-type {
  margin-right: 0;
}
/* Custom menu in row - categorie blog esempio */
@media (max-width: 979px) {
	.et_pb_row--with-menu .et_pb_menu__menu {
		display: flex !important;
		width: 100%;
	}
	.et_pb_row--with-menu .et_mobile_nav_menu {
		display: none !important;
	}
}
/* === AUTHOR BOX IMAGE === */
.et_pb_team_member_image img {
	width: 100% !important;
}
@media (max-width: 767px) {
	.et_pb_team_member_image {
		margin-left: auto;
		margin-right: auto;
	}
}
/* bloom gdpr fix */
input#bgop-checkbox {
	align-self: flex-start
}
/* blog in single posts */
/* fix width in desktops with high resolution screens: e.g. 4k */
@media (min-width: 981px) {
	.single.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, 
	.single .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
		width: 29.666%;
		margin-right: 5.5%;
	}
	.single.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3:nth-child(3n), 
	.single.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.last_in_row, 
	.single .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3:nth-child(3n), 
	.single .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_grid_item.last_in_row {
		margin-right: 0;
	}	
}
/* fix width in tablets portrait */
@media (min-width:768px) and (max-width: 980px) {
	.single-post .et_pb_column .et_pb_blog_grid .column.size-1of3 {
		width: 31.666%;
		margin-right: 2.5% !important;
		clear: none !important;
	}
	.single-post .et_pb_column .et_pb_blog_grid .column.size-1of3:nth-of-type(3n) {
		margin-right: 0 !important;
	}
	.single-post .et_pb_salvattore_content[data-columns]::before {
		content: '3 .column.size-1of3' !important;
	}
	/* dimensione pulsante */
	.single-post .vs-blog-3-colonne a.more-link {
		font-size: .8em;
		padding: 8px 10px;
	}	
}
/* Read more search results */
.search-results .more-link {
	display: inline-block !important;
	margin-top: 10px;
}
/* fix empty columns */
@media (max-width: 980px) {
	.et_pb_row .et_pb_column.lj-column-before-empty-col {
	  margin-bottom: 0;
	}
}
/*cookie e privacy table */
@media (max-width: 768px) {
  .rd-table table {
    display: block;
    overflow-x: auto;
    height: auto !important;
  }
}
body .entry-content tr td {
	border-top: initial;
}
body .entry-content table:not(.variations) {
	border-color: initial;
}
/*=== rcaptcha ===*/
.grecaptcha-badge {
	display: none;
}
/* === BACK TO TOP BUTTON ===*/
.et_pb_scroll_top.et-pb-icon {
    background: /*rgba(0, 0, 0, 0.4)*/ #000000;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}
/*=== due colonne ===*/
@media (min-width: 981px) {
	.two-columns {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
		-webkit-column-gap: 50px;
		-moz-column-gap: 50px;
		column-gap: 50px;
	}
}
/*=== searchform ===*/
.et_pb_searchform input,
.searchform input {
	border-radius: 0 !important;
}
/*=== HOME ===*/
@media (min-width: 1550px) {
	.ir-immagine-background-colonna {
		background-position: center !important;
	}
}
/*=== fix paginazione invertita nel blog */
.ir-pagination {
    flex-direction: row-reverse !important;
}
.ir-pagination .nav-next {
    text-align: left;
    margin-left: 0 !important;
    margin-right: auto;
}
.ir-pagination .nav-previous {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
}
.ir-pagination .nav-next a,
.ir-pagination .nav-previous a {
    flex-direction: row-reverse !important;
    display: flex;
}

.ir-pagination .meta-nav {
    transform: rotate(180deg);
    transform-origin: center;
    position: relative;
    top: .28em
}
/* --- email opt-in form ---*/
.et_pb_contact_field_options_title {
	display: none !important;
}
/* --- bottom ---
.card-col {
  display: flex;
  flex-direction: column;
}

.card-col .card-bottom {
  margin-top: auto;
}*/