.layoutPagina-modello-uno {width:100%; float:left;}
.layoutPagina-modello-uno img {float:left;}
.layoutPagina-modello-due {width:100%; float:left;}
.layoutPagina-modello-due img {float:right;}
.layoutPagina-modello-due p {text-align:justify;}
.layoutPagina-modello-tre {width:100%; float:left;}
.layoutPagina-modello-quattro {width:100%; float:left;}
/* ///////////////////// Layout modello 5 //////////////////////// */
.layoutPagina-modello-tre-box .promoBox {width:100%; float:left; padding:20px;}
.layoutPagina-modello-tre-box .cards-container {flex-flow:row nowrap; -webkit-flex-flow:row nowrap; align-items:stretch; -webkit-align-items:stretch; justify-content:space-between; -webkit-justify-content:space-between; margin-top:10px;}
.layoutPagina-modello-tre-box .card {display:flex; display:-webkit-flex; flex-direction:column; -webkit-flex-direction:column; margin-right:auto; background-color:#fff; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px;}
.layoutPagina-modello-tre-box .cards-container .card:last-child {margin-right:0;}
.layoutPagina-modello-tre-box .card-img {text-align:center;}
.layoutPagina-modello-tre-box .card-img img {width:50%; max-width:50%; height:auto;}
.layoutPagina-modello-tre-box .card-content {display:flex; display:-webkit-flex; flex-direction:column; -webkit-flex-direction:column; flex:auto;	-webkit-flex:auto; padding:10px 0;}
.layoutPagina-modello-tre-box .card-content h3 {padding:10px 0;font-family:'Comfortaa', cursive; font-weight:300; font-size:1.1em; text-align:center; color:#51aac6;}
.layoutPagina-modello-tre-box .card-content h4 {font-size:0.9em; text-align:center; font-weight:normal; font-style:italic; color:#51aac6;}
/*.fotoStaff img {border-radius:50%; border:5px solid #51aac6;}*/
.layoutPagina-modello-tre-box .mT_auto {margin-top:auto;}

/* ///////////////////// Layout modello 6 //////////////////////// */
.layoutPagina-modello-IV .flex-box {overflow-x:hidden; display:-webkit-box; display:-ms-flexbox; display:flex; -ms-flex-wrap:nowrap; flex-wrap:nowrap; -webkit-box-orient:horizontal; -webkit-box-direction:normal; -ms-flex-direction:row; flex-direction:row;}
	
.layoutPagina-modello-IV .box-img, .layoutPagina-modello-IV .box-content {position:relative;}

.layoutPagina-modello-IV .box-img img {position:absolute; top:50%; left:50%; display:block; width:calc(100% - 40px) !important; height:calc(100% - 40px) !important; -o-object-fit:cover; object-fit:cover; -webkit-transform:translate(-50%,-50%); -ms-transform:translate(-50%,-50%); transform:translate(-50%,-50%);}

/* ///////////////////// Layout modello X - flex [img->txt -- txt->img] alternato (nuovo insermento 22/04/2024) //////////////////////// */
/*.layoutPagina-modello-X .contenitore-layout {display:flex; flex-direction:row; flex-wrap:wrap; gap:1rem; align-items:center; justify-content:flex-start;}*/
.layoutPagina-modello-X [class*="content-"] {width:100%;}
.layoutPagina-modello-X .row {width:100%; margin-bottom:2rem; display:flex; flex-direction:column; flex-wrap:wrap; gap:2rem; align-items:center; justify-content:flex-start;}
.layoutPagina-modello-X .row:nth-child(odd) .content-img {order:1;}
.layoutPagina-modello-X .row:nth-child(odd) .content-text {order:2;}
.layoutPagina-modello-X .row:nth-child(even) .content-img {order:1;}
.layoutPagina-modello-X .row:nth-child(even) .content-text {order:2;}
@media only screen and (min-width: 769px){
.layoutPagina-modello-X [class*="content-"] {width:calc(50% - 1rem);}
.layoutPagina-modello-X .row {flex-direction:row;}
.layoutPagina-modello-X .row:nth-child(odd) .content-img {order:1;}
.layoutPagina-modello-X .row:nth-child(odd) .content-text {order:2;}
.layoutPagina-modello-X .row:nth-child(even) .content-img {order:2;}
.layoutPagina-modello-X .row:nth-child(even) .content-text {order:1;}
}
/* ///////////////////// /Layout modello X  //////////////////////// */


/* ----------------------- MINI-SMARTPHONE ------------------*/
@media screen and (min-width: 0px) and (max-width: 460px) {
.layoutPagina-modello-uno img {width:100%; height:auto; padding:5px 0 20px 0;}
.layoutPagina-modello-uno p {}
.layoutPagina-modello-due img {width:100%; height:auto; float:none;}
.layoutPagina-modello-due p {}
.layoutPagina-modello-tre {-webkit-column-count:1; -webkit-column-gap:0; -moz-column-count:1; -moz-column-gap:0;}
.layoutPagina-modello-quattro {-webkit-column-count:1; -webkit-column-gap:0; -moz-column-count:1; -moz-column-gap:0;}
/*.thumb-card-img img {width:100%; height: auto; object-fit:scale-down;}
.sectionPreviewNews .card-item {}
.sectionPreviewNews .prev-title {padding:0px;}
.sectionPreviewNews .prev-title h3 {font-weight:100; color:#541627;}
.sectionPreviewNews .prev-title p {padding:10px; color:#69c4d7}
.previewMarchi figure {padding:20px;}
.wrapper-intro .card {float:left;}
.wrapper-intro .card .fotoStaff img {border:5px solid #51aac6;}
.wrapNews .contentImgNews {width:100%; height:200px; background-size:cover;}
div.back {width:100%; height:60px; line-height:60px; float:left;}*/
/*Layout modello 5*/
.layoutPagina-modello-tre-box .cards-container {display:block; margin-top:0px}
.layoutPagina-modello-tre-box .card {width:100%;}
.layoutPagina-modello-tre-box .card-content p	{font-size:1.3em; line-height:1.4; text-align:justify;}
/*Layout modello 6*/
.layoutPagina-modello-IV .flex-box {-ms-flex-wrap:wrap; flex-wrap:wrap; -webkit-box-orient:vertical; -webkit-box-direction:normal; -ms-flex-direction:column; flex-direction:column;}
.layoutPagina-modello-IV .box-img {width:100%; padding-bottom:60%;}
.layoutPagina-modello-IV .box-content {width:100%; padding:0 20px 20px 20px;}
}
/* ----------------------- SMARTPHONE ------------------*/
@media screen and (min-width: 461px) and (max-width: 768px) {
.layoutPagina-modello-uno img {width:100%; height:auto; padding:10px 0;}
.layoutPagina-modello-uno p {padding:10px 0;}
.layoutPagina-modello-due img {max-width:300px; height:auto; padding:20px 0 0 10px; float:none;}
.layoutPagina-modello-due p {padding:10px 0;}
.layoutPagina-modello-tre {-webkit-column-count:1; -webkit-column-gap:0; -moz-column-count:1; -moz-column-gap:0;}
.layoutPagina-modello-quattro {-webkit-column-count:1; -webkit-column-gap:0; -moz-column-count:1; -moz-column-gap:0;}
/*Layout modello 5*/
.layoutPagina-modello-tre-box .cards-container {}
.layoutPagina-modello-tre-box .card {width:32%; padding:15px;}
.layoutPagina-modello-tre-box .card-content p	{font-size:1.3em; line-height:1.4; text-align:left;}
/*Layout modello 6*/
.layoutPagina-modello-IV .flex-box {-ms-flex-wrap:wrap; flex-wrap:wrap; -webkit-box-orient:vertical; -webkit-box-direction:normal; -ms-flex-direction:column; flex-direction:column;}
.layoutPagina-modello-IV .box-img {width:100%; padding-bottom:60%;}
.layoutPagina-modello-IV .box-content {width:100%; padding:0 20px 20px 20px;}
}

/* ----------------------- IPAD PORTRAIT ------------------*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
.layoutPagina-modello-uno img {max-width:400px; height:auto; padding:5px 15px 0 0;}
.layoutPagina-modello-uno p {padding:0 0;}
.layoutPagina-modello-due img {max-width:50%; height:auto; float:right; padding:0px 20px 0 15px;}
.layoutPagina-modello-due p {padding:0 0;}
.layoutPagina-modello-tre {-webkit-column-count:2; -webkit-column-gap:30px; -moz-column-count:2; -moz-column-gap:30px;}
.layoutPagina-modello-quattro {-webkit-column-count:3; -webkit-column-gap:15px; -moz-column-count:3; -moz-column-gap:15px;}
/*.sectionPreviewNews .card-item {margin:10px 0px; border: 1px solid #51aac6;}
.sectionPreviewNews .prev-title {padding:0px;}
.previewMarchi figure {padding:20px;}
.wrapper-intro .card {float:left;}
.wrapper-intro .card .fotoStaff img {border:5px solid #51aac6;}
.wrapNews .contentImgNews {width:100%; height:200px; background-size:cover;}
div.back {width:100%; height:60px; line-height:60px; float:left;}*/

/*Layout modello 5*/
.layoutPagina-modello-tre-box .cards-container {}
.layoutPagina-modello-tre-box .card {width:50%;padding:15px;float: right;}
.layoutPagina-modello-tre-box .card-content p	{font-size:1.3em; line-height:1.4; text-align:left;}
.wrapper-intro .card .fotoStaff img {border:5px solid #51aac6;}
/*Layout modello 6*/
.layoutPagina-modello-IV .flex-box:nth-child(even) {-webkit-box-orient:horizontal; -webkit-box-direction:reverse; -ms-flex-direction:row-reverse; flex-direction:row-reverse;}
.layoutPagina-modello-IV .box-img {width:50%;}
.layoutPagina-modello-IV .box-content {width:50%; padding:35px;}
}
/* ----------------------- IPAD LANDSCAPE + NETBOOK ------------------*/
@media only screen and (min-width: 1025px){
.layoutPagina-modello-uno img {max-width:400px; height:auto; padding:5px 20px 0 0;}
.layoutPagina-modello-uno p {padding:0 0;}
.layoutPagina-modello-due img {max-width:400px; height:auto; padding:5px 0 0 20px;}
.layoutPagina-modello-due p {padding:0 0;}
.layoutPagina-modello-tre {-webkit-column-count:2; -webkit-column-gap:40px; -moz-column-count:2; -moz-column-gap:40px;}
.layoutPagina-modello-quattro {-webkit-column-count:3; -webkit-column-gap:15px; -moz-column-count:3; -moz-column-gap:15px;}
/*Layout modello 5*/
.layoutPagina-modello-tre-box .cards-container {display:flex; display:-webkit-flex; padding:0;}
.layoutPagina-modello-tre-box .card {width:25%; padding:15px; border: solid 1px #fff;}
.layoutPagina-modello-tre-box .card-content p	{font-size:1em; line-height:1.4; text-align:left;}
/*.wrapper-intro .card .fotoStaff img {border:5px solid #51aac6;}*/
/*Layout modello 6*/
.layoutPagina-modello-IV .flex-box:nth-child(even) {-webkit-box-orient:horizontal; -webkit-box-direction:reverse; -ms-flex-direction:row-reverse; flex-direction:row-reverse;}
.layoutPagina-modello-IV .box-img {width:50%;}
.layoutPagina-modello-IV .box-content {width:50%; padding:50px;}
}
/* ----------------------- DESKTOP ------------------*/
@media only screen and (min-width: 1200px){	
.layoutPagina-modello-uno img {max-width:400px; height:auto; padding:5px 20px 0 0;}
.layoutPagina-modello-uno p {padding:0 0;}
.layoutPagina-modello-due img {max-width:690px; height:auto; padding:0 20px 0 20px;}
.layoutPagina-modello-due p {padding:0 0;}
.layoutPagina-modello-tre {-webkit-column-count:2; -webkit-column-gap:40px; -moz-column-count:2; -moz-column-gap:40px;}
.layoutPagina-modello-quattro {-webkit-column-count:3; -webkit-column-gap:20px; -moz-column-count:3; -moz-column-gap:20px;}
/*Layout modello 5*/
/*.fotoStaff .card {width:20%;}*/
.layoutPagina-modello-tre-box .cards-container {display:flex; display:-webkit-flex;}
.layoutPagina-modello-tre-box .card {width:32%; padding:15px; border:solid 1px #fff;}
.layoutPagina-modello-tre-box .card-content p	{font-size:1em; line-height:1.4; text-align:left;}
/*Layout modello 6*/
.layoutPagina-modello-IV .flex-box:nth-child(even) {-webkit-box-orient:horizontal; -webkit-box-direction:reverse; -ms-flex-direction:row-reverse; flex-direction:row-reverse;}
.layoutPagina-modello-IV .box-img {width:50%;}
.layoutPagina-modello-IV .box-content {width:50%; padding:50px;}
}
