/*
 Theme Name:   Notte de Chelu V3 2.0
 Theme URI:    http://www.boriswebactivity.altervista.org/
 Description:  Powered by <a href="http://boriswebactivity.altervista.org">BWA</a>.
 Author:       Boris
 Author URI:   http://boriswebactivity.altervista.org
 Template:     bwa-theme-v3
 Version:      2.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Sura:wght@400;700&display=swap');
body{
	font-family: 'Sura', serif;
	font-size: 16px;
	line-height: 1.4;
	color: #202020;
	--color-text: #202020;
	--color-sky: #189EC9;
	--color-inst: #F5E663;
	--color-ground: #192a58;
	background-image: url(images/textures/sepia-plasterboard-texture_1000x1000-50.webp);
}

ul{
	list-style-type: none;
	padding-left: 0;
}
ul > li{
	margin-bottom: 10px;
	padding-left: 1.5em;
	position: relative;
}
ul > li:before{
	content: "";
	height: 1.2em;
	min-height: 1.2em;
	width: 1.2em;
	min-width: 1.2em;
	background-image: url(images/icons/icon.svg);
	background-size: 100%;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.zoomable-map{min-height:600px;display: flex; align-items: center; justify-content: center;}
@media screen and (max-width: 781px){
	.zoomable-map{min-height:600px;display: flex; align-items: center; justify-content: center;}
}
.controls {
	position: absolute;
	top: 0px;
	right: 0px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 10px;
	background: rgba(255, 255, 255, 0.8);
	padding: 10px;
	border-radius: 8px;
	z-index: 30;
}

.controls button {
	padding: 8px 12px;
	font-size: 13px;
	background: var(--color-link);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	min-height: unset;
	width: 100%;
}

.controls button:hover {
	background: #0056b3;
}

svg {
	width: 100%;
	height: 100%;
	display: block;
}
.legenda svg{
	height: auto;
	max-width: 120px;
}
.menu {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #ccc;
	padding: 10px;
	border-radius: 5px;
	max-height: 80%;
	overflow-y: auto;
}
.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu li {
	margin: 5px 0;
}
.menu button {
	background: #007bff;
	color: white;
	border: none;
	padding: 5px 10px;
	border-radius: 3px;
	cursor: pointer;
}
.menu button:hover {
	background: #0056b3;
}

body.has-primary-open #main{
	filter: blur(4px);
}
/*h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6{}*/
.nav-menu > ul > li > a, ul.nav-menu > li > a{
	font-weight: bold;
}

.flickity-page-dots{
	display: flex;
	max-width: 300px;
}
.flickity-page-dots .dot{
	margin: 0 !important;
	width: 100% !important;
	border-radius: 0 !important;
}
/* Extra title */

.section-title{
	font-size: 7vw;
}

@media screen and (min-width: 782px){
	.section-title{
		font-size: 10vw;
	}
	.section-title{
		font-size: 3.5vw;
	}
}
@media screen and (min-width: 992px){
	.section-title{
		font-size: 3.5vw;
	}

}
@media screen and (min-width: 1200px){
	
	.section-title{
		font-size: 3.5vw;
	}
	
}

.inst-row-2,
.inst-row,
.inst-row h1,
.inst-row h2,
.inst-row h3,
.inst-row h4,
.inst-row h5,
.inst-row h6,
.inst-row .h1,
.inst-row .h2,
.inst-row .h3,
.inst-row .h4,
.inst-row .h5,
.inst-row .h6,
.inst-row-2 h1,
.inst-row-2 h2,
.inst-row-2 h3,
.inst-row-2 h4,
.inst-row-2 h5,
.inst-row-2 h6,
.inst-row-2 .h1,
.inst-row-2 .h2,
.inst-row-2 .h3,
.inst-row-2 .h4,
.inst-row-2 .h5,
.inst-row-2 .h6,
.rounded-button.white{
	color: var(--color-ground) !important;
}
.rounded-button{
	background-color: var(--color-ground) !important;
}

/* Scroll down */
.scroll-down-container {
	position: relative;
	width: 24px;
	height: 24px;
}

.scroll-down-container .chevron {
	position: absolute;
	width: 28px;
	height: 8px;
	opacity: 0;
	transform: scale3d(0.5, 0.5, 0.5);
	animation: move 3s ease-out infinite;
}

.scroll-down-container .chevron:first-child {
	animation: move 3s ease-out 1s infinite;
}

.scroll-down-container .chevron:nth-child(2) {
	animation: move 3s ease-out 2s infinite;
}

.scroll-down-container .chevron:before,
.scroll-down-container .chevron:after {
	content: ' ';
	position: absolute;
	top: 0;
	height: 100%;
	width: 51%;
	background: #fff;
	border-radius:0 5px 5px 0;
}

.scroll-down-container .chevron:before {
	border-radius: 5px 0 0 5px;
	left: 0;
	transform: skew(0deg, 30deg);
}

.scroll-down-container .chevron:after {
	right: 0;
	width: 50%;
	transform: skew(0deg, -30deg);
}

@keyframes move {
	25% {
		opacity: 1;

	}
	33% {
		opacity: 1;
		transform: translateY(30px);
	}
	67% {
		opacity: 1;
		transform: translateY(40px);
	}
	100% {
		opacity: 0;
		transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
	}
}

.scroll-down-container .text {
	display: block;
	opacity: .25;
	animation: pulse 2s linear alternate infinite;
	text-decoration: none !important;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 75%;
}

@keyframes pulse {
	to {
		opacity: 1;
	}
}

.bwa-pricing-plans .flickity-slider{
	display: flex;
	align-items: flex-start;
}

.text-white{
	color: white;
}
.animation-contanier{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-sky);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
body.trasp-header #top_container{padding-top: 0;}
#top_container .animation-contanier{
	position: relative;
	z-index: unset;
}
#top_container{
	height: 75vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: 30px;
}
#top_container .archive-header{
	flex-direction: row;
	justify-content: space-between;
}

.continue-scroll{
	height: 60px;
	width: 60px;
	margin-top: 30px;
}

#top_container:before{display: none;}
.background-animation{
	display: block;
	height: 100%;
	width: 100%;
	overflow: visible !important;
}
/* Main wrapper */
.site-header .logo{
	height: 220px;
	width: 220px;
	transition: all .5s var(--bwa-transition);
}
.site-header #masthead{
	padding: 0;
	order: 1 !important;
}
.site-header.trasp{
	padding: 30px !important;
	position: fixed !important;
}
.site-header .header-container{
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	align-items: flex-start;
}
.wrapper{
	/*color: #fff;*/
}
.wrapper .super-white *,
.wrapper .has-white-background-color *{
	color: var(--color-text);
}
/*
body > .wrapper{
	display: flex;
	flex-wrap: nowrap;
	
}
body > .wrapper > #page{
	width: calc(100% - 120px);
	transition: all 2s var(--bwa-transition);
}
body > .wrapper > .activity-sidebar{
	overflow-y: auto;
	height: 100vh;
	background-color: #ffffff;
	width: 120px;
	transition: all 2s var(--bwa-transition);
	position: sticky;
	top: 0;
}
body.has-primary-open > .wrapper > .activity-sidebar{
	width: 420px;
}
body.has-primary-open > .wrapper > #page{
	width: 100%;
	margin-left: -420px;
}

.site-header.scrolled:not(.side) .logo {
    height: 96px;
	width: 96px;
}
@media screen and (max-width:1199px){
	.site-header .logo{
		width: 96px !important;
		height: 96px !important;
	}
	body.has-primary-open > .wrapper > .activity-sidebar{
		width: 320px;
	}
	body.has-primary-open > .wrapper > #page{
		margin-left: -320px;
	}
}
@media screen and (max-width: 639px){
	body{font-size: 13px;}
	.bwa-plan-title{
		font-size: 18px;
	}
	.has-medium-font-size{
		font-size: 1em;
	}
	.site-header.trasp{
		padding: 0 15px !important;
	}
	body.has-primary-open .site-header.trasp{
		padding: 0 0 0 15px !important;
	}
	.site-header #open_primary{
		margin-top: 15px;
	}
	body > .wrapper > #page{
		width: calc(100% - 90px);
	}
	.wrapper > .activity-sidebar{
		padding-left: 15px;
		padding-right: 15px;
	}
	body > .wrapper > .activity-sidebar{
		width: 90px;
		padding-top: 75px;
	}
	body.has-primary-open > .wrapper > .activity-sidebar{
		width: calc(100% - 60px);
	}
	body.has-primary-open > .wrapper > #page{
		margin-left: calc(60px - 100%);
	}
}
*/
/* Sidebar game */
.site-header{
	pointer-events: none;
}
.header-container > *{
	pointer-events: auto;
}

.activity-sidebar{
	padding: 30px;
	padding-top: 120px;
}
.activity-sidebar .widget{
	overflow: hidden;
	margin-bottom: 15px;
}
.activity-sidebar .widget > .wp-block-group:before{
	display: block;
	height: 60px;
	width: 60px;
	line-height: 60px;
	text-align: center;
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f007";
	border-radius: 32px;
	color: var(--color-ground);
	background-color: var(--color-inst);
	cursor: pointer;
	margin: 0;
}
.activity-sidebar .widget > .wp-block-group > .wp-block-group__inner-container{
	min-width: 260px;
}
body:not(.has-primary-open) .activity-sidebar .widget > .wp-block-group > .wp-block-group__inner-container{
	display: none;
}
body:not(.has-primary-open) .activity-sidebar .widget > .wp-block-group{
	height: 60px;
	width: 60px;
}
.activity-sidebar .widget > .wp-block-group.cantine:before{
	content: "\f5ce";
}
.activity-sidebar .widget > .wp-block-group.attivita:before{
	content: "\f54e";
}
.activity-sidebar .widget > .wp-block-group.ristoranti:before{
	content: "\f2e7"
}
.activity-sidebar .widget > .wp-block-group.ospitality:before{
	content: "\f236"
}
.activity-sidebar .widget > .wp-block-group.friends:before{
	content: "\f4c4"
}
.activity-sidebar .widget ul li{
	margin-bottom: 1em;
}
.activity-sidebar .widget ul li em:before{
	content: "";
	display: inline-block;
	margin-right: 5px;
	font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f3c5";
	font-style: normal;
}

ul.phone-numbers a{
	display: inline-block;
	background-color: var(--color-inst);
	color: var(--color-ground);
	padding: .3em 1.2em;
	white-space: nowrap;
	border-radius: 22px;
	margin:5px;
}
ul.phone-numbers li{
	margin-bottom: 10px;
}

/*  */
.flickity-page-dots{text-align: center;}
.flickity-page-dots .dot{background-color: #fff;}
.flickity-page-dots .dot.is-selected{background-color: var(--color-link-hover);}
/* buttons */
.button.button-lg,
.rounded-button{
	font-weight: 700;
	padding: calc(.667em + 2px) calc(1.333em + 2px);
	font-size: 1.125em;
	text-align: center;
	height: auto !important;
	line-height: 1.4 !important;
}
.big-button .wp-block-button__link{
	padding: 1.6em 2.4em;
}
/* General button */
.button,
.wp-block-button__link,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button, .woocommerce input.button{
	font-size: 13px;
	line-height: 1em;
	text-transform: uppercase;
	padding: .8em 2em !important;
	font-weight: bold;
	border-radius: 9999px;
	padding: .8em 2em;
	transition: all .3s var(--bwa-transition-immediate);
	border-width: 1px;
}
.button,
.is-style-outline > .wp-block-button__link{
	border-radius: 30px;
	border: 2px solid;
}
.woocommerce .widget_shopping_cart_content .buttons .button{
	border-radius: 999px;
	border: 2px solid;
}
.button:hover{
	border: 2px solid var(--color-link-hover) !important;
}
.button-inst{
	border-color: var(--color-link) !important;
	color: var(--color-text) !important;
}
.button-inst:hover{
	border-color: var(--color-link-hover) !important;
	color: var(--color-text) !important;
}
/* Newsletter */
.newsletter-form-ul .field-nome{order: 1; width: 33.3333%}
.newsletter-form-ul .field-email{order: 2; width: 33.3333%}
.newsletter-form-ul .bwa-submit-box{order: 3; width: 33.3333%}
.newsletter-form-ul .field-accetta{order: 4; width: 100%;}
.newsletter-form-ul .form-group.options-box .checkbox,
.newsletter-form-ul .form-group.options-box .radio
.newsletter-form-ul .form-group .form-control{
	border-color: #fff;
}

@media screen and (max-width: 781px){
	.newsletter-form-ul .field-accetta,
	.newsletter-form-ul .field-nome,
	.newsletter-form-ul .field-email,
	.newsletter-form-ul .bwa-submit-box{
		width: 100%;
		padding: 0;
	}
}

/* form group and inputs */
.form-group .form-control,
.form-group.options-box .checkbox,
.form-group.options-box .radio{
	border-bottom-width: 1px;
	border-radius: 50px;
	line-height: 1.4;
	font-size: 1.125em;
	padding: calc(.667em + 2px) calc(1.333em + 2px);
	height: auto !important;
}
.form-group .form-control:focus,
.form-group .form-control:hover,
.form-group .form-control:active{
	border-color: var(--color-bootstrap-focus) !important;
	border-top-color: var(--color-bootstrap-focus) !important;
}

/* Footer
#footer{
	color: #ffffff;
}
 */