/*
 Theme Name: La pagina degli sconti
 Theme URI: https://www.lapaginadeglisconti.it/
 Description: Blocksy Child Theme
 Author: Pierfrancesco Sibilla
 Author URI: https://www.linkedin.com/in/pierfrancesco-sibilla/
 Template: blocksy
 Version: 1.1.57
*/
 
/* =Theme customization starts here
------------------------------------------------------- 
*/

:root {
    --brand-color: #039cE0;
    --brand-color-rgb-comp: 0, 160, 227;
	--ad-bg-color: #f4f4f4;
    --theme-container-edge-spacing: 96vw;
    --theme-font-family: 'Goldplay Medium', sans-serif;
	--theme-button-border-radius: 12px;
	--theme-button-line-height: 1.5;
	--theme-button-padding: 12px 24px;
}

body {
    font-size: calc(15px + 0.390625vw);
	scroll-behavior: smooth;
}

#main-container .site-main {
    margin-top: 120px;
    width: var(--theme-container-width, 1290px);
    max-width: var(--theme-normal-container-max-width, 1290px);
    margin-left: auto;
    margin-right: auto;
}

header .ct-container {
    margin: 20px auto;
}

[data-column=end] [data-items=primary]>*:last-child {
    margin: 0 0 0 21px !important;
}

[class*=animated-submenu]>.sub-menu {
    padding: 2px 4px;
}

[class*=animated-submenu]>.sub-menu::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    top: -6px;
    left: 22px;
    background-color: var(--theme-palette-color-7);
    transform: rotate(45deg);
}

[class*=animated-submenu].animated-submenu-block[data-submenu=right]>.sub-menu {
    left: var(--theme-submenu-inline-offset, 8px);
}

a.ct-menu-link:not([href]) {
    cursor: pointer;
}

:root [data-link=type-2] .entry-content p>a, :root [data-link=type-2] .entry-content em>a, :root [data-link=type-2] .entry-content strong>a, :root [data-link=type-2] .entry-content>ul a, :root [data-link=type-2] .entry-content>ol a, :root [data-link=type-2] .wp-block-table a, :root [data-link=type-2] .ct-link-styles {
    --theme-text-decoration: none;
}

:root [data-link=type-2] .entry-content p>a:hover, :root [data-link=type-2] .entry-content em>a:hover, :root [data-link=type-2] .entry-content strong>a:hover, :root [data-link=type-2] .entry-content>ul a:hover, :root [data-link=type-2] .entry-content>ol a:hover, :root [data-link=type-2] .wp-block-table a:hover, :root [data-link=type-2] .ct-link-styles:hover {
    --theme-text-decoration: underline;
}

[data-footer*="type-1"] .ct-footer [data-column="widget-area-2"] {
	background-color: aliceblue;
    border-radius: 12px;
}

#sib-container input::placeholder, #sib-container textarea::placeholder, #sib-container .sib-input .entry__field {
    color: #777;
}

#sib-container .input {
	color: #555;
}

#sib-container a {
    text-decoration: none;
}

#sib-container .sib-input .entry__label {
	margin-bottom: 4px;
}

#sib-container .sib-input .entry__field {
    background: #e4f1ff;
	max-width: 350px;
    border: none;
}

.ct-single-posts {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

#main .entry-header .page-description {
    color: #8c90a8;
    font-size: calc(var(--theme-font-size) * 1.14);
    font-weight: 500;
}

.ct-single-posts > .ct-separator {
    width: 100%;
    height: 2px;
    background: radial-gradient(circle at center, rgba(144, 144, 144, 0.7), rgba(144, 144, 144, 0));
}

.ghostkit-badge > code {
    -webkit-touch-callout: all;
    -webkit-user-select: all;
    user-select: all;
    cursor: pointer;
    background: none;
    font-family: inherit;
    font-weight: bold;
    font-style: normal;
    padding: 0;
    top: 0;
}

.ct-single-posts li::marker {
    color: var(--brand-color);
    font-size: 1.25rem;
}

.d-none {
    display: none !important;
}

.is-layout-flex.is-content-justification-center {
	justify-content: center;
}

.wp-block-image:not(.img-square) img {
    border-radius: var(--theme-button-border-radius, 3px);
}

.rounded-bg > img {
	border-radius: 100%;
}

.ct-highlights > .highlight {
    margin-bottom: 22px;
}

.mission-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-column > .fa-solid {
    font-size: calc(var(--theme-font-size) * 3);
    margin: 0 !important;
    height: 48px;
}

#CybotCookiebotDialog h2 {
    font-size: 1.35rem;
}

.ghostkit-badge {
    padding: 6px 14px;
}

.badge-logo {
	display: flex;
	width: fit-content !important;
	margin: -32px 0 32px !important;
}

.badge-logo > img {
	max-height: 64px !important;
	max-width: fit-content !important;
}

.badge-logo-border, .badge-logo-bg {
	padding: 22px 32px;
	border-radius: 12px;
}

.badge-logo-border > img, .badge-logo-bg > img {
	max-height: 42px !important;
}

.badge-logo-border {
	border: 2px solid #fff;
}

.badge-logo-bg {
	background-color: #fff;
}

.pushengage-subscription-overlay .pushengage-subscription-overlay_opt-in {
    top: 50%;
    transform: translate(-50%, -50%);
	padding: 2rem;
}

.pushengage-subscription-overlay .pushengage-subscription-overlay_opt-in .pushengage-subscription-overlay_opt-in_image {
	border-radius: unset !important;
	margin-bottom: 1rem;
}

.pushengage-subscription-overlay .pushengage-subscription-overlay_opt-in .pushengage-subscription-overlay_opt-in_message {
	background-image: url(https://www.lapaginadeglisconti.it/wp-content/uploads/2024/10/new-logo-lpds-favicon.png);
    background-size: 3.5rem;
    background-repeat: no-repeat;
    background-position: 0;
    padding: 1rem 0 1rem 4.5rem !important;
	font-size: 17px !important;
}

/* LPDS blocks */
/* start */

/*start highlighted-text*/
.highlighted-text {
	border-left: 6px solid;
    border-radius: 12px;
    padding: 1.25rem;
    color: #eee;
}

.highlighted-text > .text a {
	color: #eee;
	text-decoration: underline;
}

.highlighted-text.pin {
    background-color: #007cad;
    border-color: #63c3e9;
}

.highlighted-text.hot {
    background-color: #cf7a1c;
    border-color: #e0ca43;
}

.highlighted-text.idea {
    background-color: #27a4e6;
    border-color: #bfe1f1;
}

.highlighted-text.warning {
    background-color: #ce540c;
    border-color: #ffa287;
}

.highlighted-text.eco {
    background-color: #0a8343;
    border-color: #3bd970;
}

.highlighted-text.culture {
    background-color: #0a8343;
    border-color: #3bd970;
}
/*end highlighted-text*/

/*start product block*/
.bg-list {
    border: 2px solid #b9b9b926;
    border-radius: 12px;
    min-height: 150px;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 2%;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    user-select: none;
}

.bg-list > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
}

.bg-list > hr:last-child {
    display: none;
}

.img-square {
    height: auto;
}

.title-list, .description-list {
	width: 100%;
}

.title-list, .price-list, .oldprice-st, .purchase-bttn, .sold-out-bttn {
	font-weight: bold;
}

.description-list {
	color: #777;
}

.details-list {
	display: flex;
    align-items: center;
	justify-content: space-between;
    padding-top: 5%;
    width: 100%;
}

.price-list {
	display: flex;
	flex-direction: column;
    color: #ff9900;
}

.oldprice-st {
    color: #a7a7a7;
    text-decoration: line-through;
    font-size: 70%;
}

.cta-list {
	display: inline-flex;
	justify-content: flex-end;
	position: relative;
}

.button-list, .code-list .ghostkit-badge, .code-list .copy-icon  {
	transition: ease-in all .2s;
}

.purchase-bttn, .sold-out-bttn {
	display: block;
    text-align: center;
	font-size: 85%;
	line-height: 138%;
	border-radius: 50px;
    padding: 3% 5%;
}

.purchase-bttn {
    background-color: #ff9900;
    color: #fff;
}

.purchase-bttn:hover {
    box-shadow: 0 0 8px #14141466;
}

.sold-out-bttn {
    background-color: #ff5252;
    color: #444;
}

.code-list {
	display: inline-flex;
    justify-content: flex-end;
	position: absolute;
    height: 100%;
    color: #777;
}

.code-list .ghostkit-badge {
	display: inline-flex;
    align-items: center;
    justify-content: center;
	border: 2px dashed #dddddd;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
	border-top-left-radius: 0;
    border-bottom-left-radius: 0;
	background: none;
    color: #777 !important;
	padding: 6px 14px 6px 25px;
	gap: 6px;
	cursor: pointer;
}

.code-list .copy-icon {
	display: inline-block;
  	background-color: currentColor;
    mask-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
  <path fill='black' fill-rule='evenodd' d='M21 8a3 3 0 0 0-3-3h-8a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8Zm-2 0a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8Z' clip-rule='evenodd'/>\
  <path fill='black' d='M6 3h10a1 1 0 1 0 0-2H6a3 3 0 0 0-3 3v14a1 1 0 1 0 2 0V4a1 1 0 0 1 1-1Z'/>\
</svg>");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  	width: 0;
  	height: 18px;
}

.code-list .ghostkit-badge.copied { 
	color: #ff9900 !important; 
	border-color: #ffe5bf !important;
}

.hr-st {
    background: none;
    border: 1px solid #6e6d6d33;
    width: 96%;
}
/*end product block*/

/*start how-to and good-reasons blocks*/
.how-to-block, .good-reasons-block {
    background-color: #b8cef31a;
    border-top: 1px solid #0000000d;
    border-bottom: 1px solid #0000000d;
    border-radius: 12px;
    margin: 3rem 0 !important;
	padding: 1.25rem;
}

.how-to-block::before, .good-reasons-block::before {
	display: block;
    content: '';
}

.how-to-block li::marker, .good-reasons-block li::marker {
    font-size: 2.5rem;
	line-height: 1;
  	vertical-align: top;
}

.how-to-block li > div, .good-reasons-block li > div {
    margin-block-end: var(--theme-content-spacing, 24px);
}

.how-to-block::before {
    width: 65px;
    height: 65px;
    margin: -52px 0 44px;
    background: url(https://www.lapaginadeglisconti.it/wp-content/uploads/2022/04/how-to-symbol-min.png) no-repeat;
}

.good-reasons-block::before {
    width: 50px;
    height: 50px;
	margin: -43px 0 25px 12px;
    background: url(https://www.lapaginadeglisconti.it/wp-content/uploads/2022/02/ellipsis.png) no-repeat;
}
/*end how-to and good-reasons blocks*/

/*start border-title class*/
.border-title {
    border-top: 1px solid #0000001a;
    border-bottom: 1px solid #0000001a;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 62px;
    margin-bottom: 24px;
}

.border-title > div > h2 {
    margin-top: -40px;
    margin-bottom: 40px;
    background-color: #00d084;
    border: none;
    border-radius: 12px;
    color: white;
    text-shadow: 0 0 1px white;
    font-weight: 500 !important;
}

.border-title > div > h2::after {
    display: none;
}

.border-title > div > h3 {
    margin-top: -38px;
    margin-bottom: 38px;
    background-color: #00d084;
    border-radius: 12px;
    color: white;
    text-shadow: 0 0 1px white;
    font-weight: 500 !important;
}

.border-title > div > h4 {
    margin-top: -36px;
    margin-bottom: 36px;
    background-color: #00d084;
    border-radius: 12px;
    color: white;
    text-shadow: 0 0 1px white;
    font-weight: 500 !important;
}

/*end border-title class*/

/*start flexible-table edit*/
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th.blank-th {
    background-color: transparent !important;
    border: none;
}
    
.white-link-badge a {
    color: white !important;
}

.white-link-badge .ghostkit-badge:hover {
    background: #fcb900 !important;
}

.white-link-badge .ghostkit-badge:hover a {
    color: black !important;
}

.booking-tab {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2022/04/booking-logo-min-white.png');
    background-repeat: no-repeat;
    background-position: 94%;
}
/*end flexible-table edit*/

/*start highlighted-title class*/
.highlighted-title {
  margin-top: 4rem;
}

.highlighted-title::before, .highlighted-title::after {
  content: none !important;
}

.highlighted-title mark {
  display: flex;
  padding: .5rem 2rem;
  border-radius: 12px;
}
/*end highlighted-title class*/

/* end */

/* Telegram channels blocks */
/* start */
.tg-channel {
    position: relative;
    color: var(--theme-text-color);
    background-color: rgba(235,246,249,0.95);
    padding: 2rem 1rem 1rem;
    border-radius: 12px;
    margin-top: 60px;
    margin-block-start: 5rem !important;
}

.tg-channel::before {
    content: '';
    position: absolute;
    top: -35px;
    width: 60px;
    height: 60px;
    background-size: 3.75rem;
    background-repeat: no-repeat;
    border-radius: 100%;
}

.tg-channel > h2 {
    font-size: 24px;
}

.tg-channel > p {
    font-size: calc(var(--theme-font-size, 18px) - 2px);
}

.btn-join:hover > a {
	color: #3a4f66;
    transition: all 0.3s ease;
}

.tg-main-channel {
    border-top: 3px solid #00a0e3;
    border-bottom: 3px solid #00a0e3;
}

.tg-main-channel::before {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2024/10/main.jpg');
}

.tg-main-channel > h2 {
    color: #039cE0;
}

.tg-main-channel .btn-join:hover > a {
    background-color: #039cE0;
}

.tg-flash-channel {
    border-top: 3px solid #f4c500;
    border-bottom: 3px solid #f4c500;
}

.tg-flash-channel::before {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2024/10/flash.jpg');
}

.tg-flash-channel > h2 {
    color: #f4c500;
}

.tg-flash-channel .btn-join:hover > a {
    background-color: #f4c500;
}

.tg-fashion-channel {
    border-top: 3px solid #e8aab9;
    border-bottom: 3px solid #e8aab9;
}

.tg-fashion-channel::before {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2024/10/fashion.jpg');
}

.tg-fashion-channel > h2 {
    color: #e8aab9;
}

.tg-fashion-channel .btn-join:hover > a {
    background-color: #e8aab9;
}

.tg-coupon-channel {
    border-top: 3px dashed #dddbdb;
    border-bottom: 3px dashed #dddbdb;
}

.tg-coupon-channel::before {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2024/10/coupon.jpg');
}

.tg-coupon-channel > h2 {
    color: #dddbdb;
}

.tg-coupon-channel .btn-join:hover > a {
    background-color: #dddbdb;
}

.tg-nerd-channel {
    border-top: 3px solid #8929ff;
    border-bottom: 3px solid #8929ff;
}

.tg-nerd-channel::before {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2025/05/nerd.jpg');
}

.tg-nerd-channel > h2 {
    color: #8929ff;
}

.tg-nerd-channel .btn-join:hover > a {
    background-color: #8929ff;
	color: white;
}

.tg-culture-channel {
    border-top: 3px solid #cdf7c4;
    border-bottom: 3px solid #cdf7c4;
}

.tg-culture-channel::before {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2024/10/culture.jpg');
}

.tg-culture-channel > h2 {
    color: #cdf7c4;
}

.tg-culture-channel .btn-join:hover > a {
    background-color: #cdf7c4;
}

.tg-travel-channel {
    border-top: 3px solid #c0ffff;
    border-bottom: 3px solid #c0ffff;
}

.tg-travel-channel::before {
    background-image: url('https://www.lapaginadeglisconti.it/wp-content/uploads/2024/10/travel.jpg');
}

.tg-travel-channel > h2 {
    color: #c0ffff;
}

.tg-travel-channel .btn-join:hover > a {
    background-color: #c0ffff;
}
/* end */

/* Adsense */
/* start */
.google-ad {
    background-color: var(--ad-bg-color);
    border-radius: 12px;
    overflow: hidden;
}

.google-ad.side-ad {
    top: 120px;
    max-width: 220px;
    transition: top 0.3s ease-in-out;
}

.google-ad.left-side-ad {
    margin-left: -240px;
}

.google-ad.right-side-ad {
    margin-left: 1310px;
}

.google-ad.bottom-ad {
	max-height: 0;
    border-radius: 0;
    overflow: visible;
    transition: max-height 0.8s ease-in-out;
	background-color: transparent;
}

.google-ad.bottom-ad > .ad-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 30px;
    background-color: lightgrey;
    position: relative;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    cursor: pointer;
}

.google-ad.bottom-ad[data-state="closed"] {
	max-height: 30px !important;
}
/* end */

@media (max-width: 767px) {
	.sib-form {
		padding: 12px 16px !important;
	}

	.border-title > div > h2 {
		padding: 0.5rem 1.5rem;
	}

	.border-title > div > h3 {
		padding: 0.4rem 1.5rem;
	}

	.border-title > div > h4 {
		padding: 0.3rem 1.5rem;
	}

	.wp-block-flexible-table-block-table th {
		font-size: 0.95rem !important;
		min-width: 100px !important;
	}
}

@media (min-width: 768px) and (max-width: 1018px) {
	.sib-form {
		padding: 18px 26px !important;
	}

	.border-title > div > h2 {
		padding: 0.5rem 2.5rem;
	}

	.border-title > div > h3 {
		padding: 0.4rem 2.5rem;
	}

	.border-title > div > h4 {
		padding: 0.3rem 2.5rem;
	}
}

@media (max-width: 1018px) {
	td {
    	font-size: 16px;
	}
	
	/*start product block*/
	.bg-list > div {
		padding: 0 2%;
	}

	.left-side-list {
		width: 35%;
		padding: 2%;
	}

	.right-side-list {
		width: 100%;
	}

	.title-list, .description-list {
		text-align: center;
	}

	.title-list {
		margin: 1% 0;
	}

	.description-list {
		font-size: 80%;
	}

	.price-list {
		font-size: 120%;
		line-height: 100%;
	}
	/*end product block*/
}

@media (min-width: 1019px) {
	.how-to-block, .good-reasons-block {
		padding: 0.35rem 2.5rem;
	}

	.how-to-block > div, .good-reasons-block > div {
		padding: 3rem 1.25rem 0.75rem 1.5rem;
	}

	.how-to-block > div::before {
		left: 52px;
	}

	.good-reasons-block > div::before {
		left: 8px;
	}
	
	/*start product block*/
	.left-side-list {
		width: 30%;
	}

	.img-square {
		max-height: 150px;
		overflow: hidden;
		width: 75%;
		padding: 4%;
	}

	.right-side-list {
		width: 55%;
	}

	.title-list {
		font-size: 102%;
	}

	.price-list {
		font-size: 115%;
		line-height: 105%;
	}

	.description-list {
		font-size: 70%;
	}
	/*end product block*/
	
	.border-title > div > h2 {
		padding: 0.5rem 2.5rem;
	}

	.border-title > div > h3 {
		padding: 0.4rem 2.5rem;
	}

	.border-title > div > h4 {
		padding: 0.3rem 2.5rem;
	}
}

@media (min-width: 1019px) and (max-width: 1140px) {
	td {
    	font-size: 17px;
	}
	
	.sib-form {
		 padding: 26px 38px !important;
	}
}

@media (min-width: 1141px) {
	td {
    	font-size: 18px;
	}
	
	.sib-form {
		 padding: 32px 62px !important;
	}
	
	.badge-logo {
		margin: -100px 0 !important;
		float: right;
	}
}

@media (prefers-color-scheme: dark) {
    :root {
        --paletteColor3: #eee;
        --theme-headings-color: #f5faff;
        --theme-palette-color-6: #2d353b;
        --theme-palette-color-7: #11111C;
        --theme-palette-color-8: #2e2e43;
        --theme-text-color: #eee;
        --search-dropdown-background: var(--theme-palette-color-7);
        --search-dropdown-box-shadow: 0px 30px 50px 0px var(--search-dropdown-box-shadow-color, rgba(210, 213, 218, 0.1));
		--ad-bg-color: #1c1c2b;
    }

    [data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu {
        --theme-box-shadow: 0px 0px 16px rgba(219, 219, 219, 0.1);
    }
	
	.title-list {
        color: #3a4f66;
    }
	
	.wp-block-quote p {
        color: #fff !important;
    }
    
    .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
        background-color: #b8cef31a;
    }
    
    .wp-block-flexible-table-block-table th, .wp-block-flexible-table-block-table td, .result-msg.no-result {
        color: #000;
    }
    
    .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
        background-color: #121516;
        color: #fff;
    }
    
    .border-title {
        border-top: 1px solid #ffffff1a !important;
        border-bottom: 1px solid #ffffff1a !important;
    }
    
    .google-ad {
        background-color: var(--ad-bg-color);
    }
    
    .tg-channel {
        background-color: rgb(0 13 28 / 95%);
    }
	
	#wpdcom, #wpdcom .wpd-form-row .wpdiscuz-item input[type="text"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="email"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="url"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="color"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="date"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="datetime"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="datetime-local"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="month"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="number"], #wpdcom .wpd-form-row .wpdiscuz-item input[type="time"], #wpdcom select, #wpdcom .wpd-sbs-toggle, #wpdcom .wpd-thread-head .wpd-thread-info, #wpdcom .wpd-thread-filter .wpdf-sorting {
		color: #a7a7a7;
	}
	
	#wpdcom textarea, #wpdcom .wpd-comment-text {
		color: var(--theme-text-color);
	}
	
	#wpdcom textarea::placeholder {
		color: #8d8d8d !important;
	}
}