
.pageMainSection { 
	--marginLeftSmall: 5vw;
	--marginRightSmall: 5vw;
	--marginLeftBig: 15vw;
	--marginRightBig: 15vw;
	--articleWidth: calc( ( 100vw - (var(--pageMainSectPaddingRight) + var(--pageMainSectPaddingLeft)) )*0.46 );
	background-image: linear-gradient(to right, rgba(var(--pageBckGndColorRed), var(--pageBckGndColorGreen), 
	var(--pageBckGndColorBlue), 1.0) 0vw, transparent 5vw calc( (100vh * 1.4) - 5vw), rgba(var(--pageBckGndColorRed), var(--pageBckGndColorGreen), 
	var(--pageBckGndColorBlue), 1.0) calc(100vh * 1.4) ), url('../data/sentiero.jpg');
	background-attachment: fixed;
	/* background-repeat: x-repeat; */
	background-repeat: no-repeat;
	/* background-clip: content-box; */
	background-size: calc(100vh * 1.4) 100vh;
	/* background-position: left var(--pageMainSectPaddingRight) 50%; */
	background-position: 50% 50%;
}

.pageMainSection > div:nth-child(odd) {
	box-shadow: 0 0 2vmin 1vmin rgb(0,0,0); 
	background: linear-gradient(to right, rgb(230.4, 210.6, 183.6), rgba(255,255,255,0.7) 130%, transparent 170%);
	background: linear-gradient(to right, rgb(var(--headerTitleBckGndColorRed), var(--headerTitleBckGndColorGreen), 
	var(--headerTitleBckGndColorBlue)) 1%, rgb(230.4, 210.6, 183.6) 10%, rgba(255,255,255,0.7) 130%, transparent 170%);
}

.pageMainSection > div:nth-of-type(3) {
background-image: none;
box-shadow: none;
/* border-style: solid;
color: pink; */
}

.pageMainSection > div:nth-of-type(5) {
/* #div_servizi { */
	margin-top: max( calc( var(--marginTopBetween) - var(--heightCarousel) ), 0);
	background: linear-gradient( to right, rgb(var(--headerTitleBckGndColorRed), var(--headerTitleBckGndColorGreen), 
	var(--headerTitleBckGndColorBlue)) 1%, rgb(230.4, 210.6, 183.6) 10%, rgba(255,255,255,0.7), rgb(230.4, 210.6, 183.6) 90%, 
	rgb(var(--headerTitleBckGndColorRed), var(--headerTitleBckGndColorGreen), var(--headerTitleBckGndColorBlue)) 99%);
}

.mainSectionContent__image {
	margin-bottom: calc( var(--marginTopBetween) * -1);
	width: calc( 100vw - ( var(--pageMainSectPaddingLeft) + var(--articleWidth) + var(--marginLeftSmall) + 
	var(--marginRightBig) + var(--pageMainSectPaddingRight) ) );
	min-height: var(--marginTopBetween);
	max-height: calc( var(--marginTopBetween) + 60% );
	object-fit: fill;
	opacity: 0.6;
	/* filter: drop-shadow(-4px 4px 2px rgb(0,0,0)), 
	drop-shadow(inset 50px 50px 5px rgb(var(--headerTitleBckGndColorRed), var(--headerTitleBckGndColorGreen), var(--headerTitleBckGndColorBlue))); */
	filter: drop-shadow(4px -4px 2px rgb(0,0,0));
	aspect-ratio: 2/1;
}

article h2 {
	border-block-end: rgb(var(--headerTitleBckGndColorRed), var(--headerTitleBckGndColorGreen), var(--headerTitleBckGndColorBlue)) 
	4px solid;
	border-block-end: black 4px solid;
	color: black;
}

article h2::first-letter {
	initial-letter: 2 1;
	-webkit-initial-letter: 2 1;
}

article p::first-letter {
	initial-letter: 3 2;
	-webkit-initial-letter: 4 2;
	color: rgb(var(--headerTitleBckGndColorRed), var(--headerTitleBckGndColorGreen), var(--headerTitleBckGndColorBlue));
}

.pageMainSection > div:nth-of-type(3) article {
background: linear-gradient( to right, transparent -70%, rgba(255,255,255,0.7) -30%, rgb(230.4, 210.6, 183.6) 90%, 
rgb(var(--headerTitleBckGndColorRed), var(--headerTitleBckGndColorGreen), var(--headerTitleBckGndColorBlue)) 99%);
border-radius: 0;
box-shadow: 0 0 2vmin 1vmin rgb(0,0,0); }

.pageMainSection > div:nth-of-type(1) article {
	/* background-image: url('../data/frame_4_top.svg'); */
}

.pageMainSection ul {
/* .article_servizi ul { */
	box-sizing: border-box;
	list-style-type: none;
	margin: 0;
	--listLineHeight: 1.8;
	line-height: var(--listLineHeight);
	/* padding-left: 5%; */
	/* padding-right: 5%; */
}

.pageMainSection li {
/* .article_servizi li { */
	position: relative;
	padding-top: 0.5vh;
	margin-bottom: 1em;
	width: fit-content;
	border-image: repeating-linear-gradient(45deg, #4A0404 0 20%, rgb(218, 165, 32) 40% 100%) 0% 0 10% 0 /
	calc(100% + var(--fontArt)/4) 0 calc(var(--fontArt)/4) 0 / 0 0 calc(var(--fontArt)/2) 0;
}

.pageMainSection li::before {
/* .article_servizi li::before { */
	position: absolute;
	content: "__";
	display: inline;
	width: 2.5vmin;
	left: -3vmin;
	top: calc(1.2 * var(--fontArt) - 0.5vh);
	top: calc(var(--listLineHeight) * var(--fontArt) * 0.66 );
	height: 0.5vh;
	background-color: #DE3163;
	background-color: rgb(218, 165, 32);
	color: transparent;
}

.pageMainSection li:nth-of-type(2n)::before {
/* .article_servizi li:nth-of-type(2n)::before { */
	background-color: rgb(136, 8, 8);
}

.pageMainSection strong {
	color: rgb(74, 4, 4);
}

.pageMainSection > div:nth-of-type(4) > img {
/* #img_mirr_servizi { */
margin-bottom: min( calc( (var(--marginTopBetween) - var(--heightCarousel)) *-1 ), 0 );
}

.pageMainSection .colonnato:nth-of-type(2), .pageMainSection .colonnato:nth-of-type(3) {
	visibility: hidden;
}

#info_colloqui { 
transform: scale(1.3);
}

.panel {
	color: ivory;
	text-shadow: 0.5px 0.5px 0px black, -0.5px -0.5px 0px black;
}

#prenotazione {
	width: 100%;
	text-align: center;}

table {
	width: 50%;
margin-left: auto;
margin-right: auto;
border-spacing: 2vmin;
}

tr > td:nth-child(1) {
	text-align: left;
	width: 25%;
	border-radius: 1vmin;
	/* background-color: rgb(136, 8, 8); */
	background-color: rgb(var(--pageAccessoriesColorRed), var(--pageAccessoriesColorGreen), var(--pageAccessoriesColorBlue));
	color: rgb(218, 165, 32);
	padding-left: 1vmin;
	border: 0.1vmin solid #811331;}

tr > td:nth-child(even) {
	width: 60%;
	/* text-align: left; */
	text-align: center;
	/* background-color: #E37383; */
	/* box-shadow: 0 0 0.5vmin #E37383; */
	border-radius: 1vmin;}

tr > td:nth-child(even) input, textarea {
	width: 100%;}

tr > td input, select, textarea {
	vertical-align: middle;
	font-size: 2vmin;
	line-height: 1.5;
	border-radius: 0.5vmin;
	border: 0.1vmin solid #811331;}
	
tr:nth-of-type(4) {
display: none; }

/* tr:last-of-type > td:nth-child(even) {
	width: 30%;} */

/* tr:last-of-type > td:last-child {
	width: 30%;
	text-align: center;}

tr:last-of-type > td:last-child input {
	width: 100%;} */
	
tr:last-of-type > td:nth-last-child(-n+2) input {
	width: max-content;
	}
	
tr:last-of-type > td:nth-last-child(-n+2) {
	/* border: 0.1vmin solid #811331;
	text-align: center;
	background-color: #E37383; */
	/* box-shadow: 0 0 0.5vmin #E37383; */
	border-radius: 1vmin;}

.confirm { 
position: relative;
display: inline-block;
width: 12.5%;
font-family: normal_text;
font-size: 2.5vmin;
line-height: 1.5;
font-weight: bold;
padding: 1vmin;
margin: 1vmin;
border-radius: 1vmin;
border: 0.1vmin solid #811331;
color: rgb(218, 165, 32);
/* background-color: rgb(136, 8, 8); */
background-color: rgb(var(--pageAccessoriesColorRed), var(--pageAccessoriesColorGreen), var(--pageAccessoriesColorBlue));
}

.confirm > input {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-style: none;
	color: transparent;
	background-color: transparent;
}

.confirm:hover { 
box-shadow: 0 0 2vmin white;
border: 1px solid white;
}

@media screen and (orientation: portrait) {
	
.pageMainSection > div:nth-of-type(5) {
/* #div_servizi { */
	margin-top: 0;
}

.mainSectionContent__image {
	position: static;
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 15%;
	margin-left: 40%;
	width: 45%;
	aspect-ratio: 1 / 1;
	max-height: 100%;
	min-height: 0;
	filter: brightness(1.22);
}

.pageMainSection > div:nth-of-type(4) > img {
/* #img_mirr_servizi { */
	margin-bottom: 0;
	margin-left: 0%;
	width: 45%;
}
	
td:nth-child(even) input, textarea, select {
field-sizing: content;}
	
tr:last-of-type > td:last-child {
width: 30%;
field-sizing: content;}

}
