/* griglia container */

.element {
	overflow: hidden;
}

.container {
	position: relative;
	margin: 0 auto;
	padding: 0;
}
#container {
	position: relative;
	margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
	.container {
		width: 936px;
	}
}

@media only screen and (max-width: 992px) {
	.container {
		width: 702px;
	}
}

@media only screen and (max-width: 768px) {
	.container {
		width: 468px;
	}
}

@media only screen and (max-width: 580px) {
	.container {
		width: 100%;
	}
}


/* centratura orizzontale */
.parent {
	width: 100%;
	margin: 0px auto;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	padding: 17px 17px;
	z-index: 11
}

/* centratura verticale */
.parent {
	display: table
}
.child {
	display: table-cell;
	vertical-align: middle;
	padding: 0;
}
.parent .bottom {
	display: table-cell;
	vertical-align: bottom;
	padding: 0;
}
.parent .top {
	display: table-cell;
	vertical-align: top;
	padding: 0;
}
.box-parent .child {
	padding-top: 10px;
}

/* definizioni colonne della griglia -----------------------*/
.col--1-1 {
	width: 234px;
	height: 234px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.col--2-2 {
	width: 468px;
	height: 468px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.col--1-2 {
	width: 234px;
	height: 468px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.col--2-1 {
	width: 468px;
	height: 234px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.col--2-3 {
	width: 468px;
	height: 702px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.col--3-2 {
	width: 702px;
	height: 468px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.col--3-3 {
	width: 702px;
	height: 702px;
	margin: 0px;
	float: left;
	position: relative;
	padding: 10px;
}
.col--5-5 {
	width: 100%;
	height: auto;
	margin: 0px;
	float: none;
	position: relative;
	padding: 10px;
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
	padding: 10px;
}

@media only screen and (max-width: 768px) {
	.col--3-2 {
		width: 468px;
		height: auto;
		float: none;
	}
	.col--3-3 {
		width: 468px;
		height: 468px;
		float: none;
	}
}

@media only screen and (max-width: 580px) {
	.col--1-1, .col--2-2, .col--1-2, .col--2-1, .col--2-3, .col--3-2, .col--3-3 {
		width: 100%;
		height: auto;
		float: none;
		padding: 15px 25px;
	}
	.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .extra-padding-right {
		padding: 10px 25px;
	}
}

/* ---- posizione elementi ----- */

.vertical-aligned-wrapper {
	display: table;
	width: 100%;
	height: 100%;
}
.borders {
	border-bottom: 1px solid;
	padding-bottom: 5px;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

@media only screen and (max-width: 580px) {
	.borders {
		border-bottom: 1px solid;
		width: 100%;
		height: 100%;
		position: relative;
		overflow: hidden;
	}
}

.borders.no-image {
	border-top: 2px solid;
	border-bottom: 2px solid;
	height: 214px;
	vertical-align: middle;
	display: table-cell;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}

@media only screen and (max-width: 580px) {
	.borders.no-image {
		border-top: 2px solid;
		height: auto;
		display: block;
		padding-bottom: 5px;
	}
}

.borders.complete {
	border: 1px solid;
}

@media only screen and (max-width: 580px) {
	.borders.complete {
		border: 1px solid !important;
		height: auto;
	}
}

.borders.no-borders {
	border: 0 !important;
}

.with-bg {
	text-align: center;
	position: relative;
}

.with-bg .borders {
	border: 0;
}

@media only screen and (max-width: 580px) {
	.with-bg {
		height: 234px !important;
	}
}

/* posizione immagine a sinistra */
.borders.right-image {
	border: 0;
}

@media only screen and (max-width: 580px) {
	.borders.right-image {
		border: 0;
	}
}

.image-holder {
	height: 468px;
	width: 300px;
	position: relative;
	float: left;
}

.testoBasso {
	height: 234px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testoBasso-half {
	height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    bottom: 0;
}

.text-holder {
	padding: 0px 10px 0px 0px;
	height: 448px;
	width: 362px;
	margin-left: 320px;
	border-top: 2px solid;
	border-bottom: 2px solid;
}

.col--2-1 .image-holder {
	height: 214px;
	width: 140px;
}

.col--2-1 .text-holder {
	height: 214px;
	width: 288px;
	margin-left: 160px;
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.flexright21 {
	float: right; 
	width: 214px; 
	height: 214px;
}

.flexleft21 {
	float: left; 
	width: 214px; 
	height: 214px;
}

.flexright32 {
	float: right; 
	width: 331px;
	height: 458px;
}

.flexleft32 {
	float: left; 
	width: 341px;
	height: 458px;
}

.h458 {
	height: 458px;
}

.TestoPiccoloContenuto {
	font-size:  15px;
	padding-top:  7px;
}
.TitoloContenuto {
	font-size: 30px;
}
.DettagliContenuto {
	font-size: 15px;
}
.TestoContenuto {
	font-size: 20px;
}

.flextextright32 {
	display: flex!important; 
	flex-direction: column; 
	justify-content: center;
	text-align: center;
	height:  100%!important;
}

.flextextright {
	display: flex; 
	flex-direction: column; 
	justify-content: center;
	text-align: center;
	height:  100%;
}

@media only screen and (max-width: 580px) {
	.flexright21 {
		float: unset; 
		height: auto;
		width: 100%;
	}

	.flexleft21 {
		float: unset; 
		height: 234px;
		width: 100%;
	}

	.flexright32 {
		float: unset; 
		width: 100%;
		height: auto;
	}

	.flexleft32 {
		float: unset; 
		height: 234px;
		width: 100%;
	}
	.TestoPiccoloContenuto {
		font-size:  13px;
		padding-top:  5px;
	}
	.TitoloContenuto {
		font-size: 20px;
	}
	.DettagliContenuto {
		font-size: 11px;
	}
	.TestoContenuto {
		font-size: 15px;
	}
	
}

@media only screen and (max-width: 768px) {
	.image-holder {
		height: 468px;
		width: 468px;
		float: none;
	}
	.text-holder {
		height: auto;
		width: 468px;
		margin-left: 0;
		border-top: 0;
	}
	.col--2-1 .image-holder {
		height: 234px;
		width: 140px;
		float: left;
	}
	.col--2-1 .text-holder {
		height: 214px;
		width: 288px;
		margin-left: 160px;
		border-top: 2px solid;
	}
	.h458 {
		height: auto;
	}
}

@media only screen and (max-width: 580px) {
	.image-holder {
		height: 234px;
		width: 100%;
		float: none;
	}
	.text-holder {
		height: auto;
		width: 100%;
		margin-left: 0;
		border-top: 0;
	}
	.col--2-1 .image-holder {
		height: 234px;
		width: 100%;
		float: none;
	}
	.col--2-1 .text-holder {
		height: auto;
		width: 100%;
		margin-left: 0;
		border-top: 0;
	}
}


.overlay {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	/*background-color: rgba(var(--primary-color-exa), 0.55);*/
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.2s ease 0.0s;
	transition: all 0.2s ease 0.0s;
}

/* --- immagini di background --*/

img {
	display: block;
	max-width: 100%;
	z-index: 9;
}

img.align_left {
	width: 50%;
}

.background-image {
	background: no-repeat center;
	height: 100%;
	display: block;
	width: 100%;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: absolute;
	left: 0;
	top: 0;
}

.background-image-half {
	background: no-repeat center;
	height: 50%;
	display: block;
	width: 100%;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: absolute;
	left: 0;
	top: 0;
}

@media only screen and (max-width: 580px) {
	.testoBasso-half {
		width:  100%;
		height: auto;
		position: relative;
	}
	.background-image-half {
		width:  100%;
		height: 234px;
		position: relative;

	}
}

@media only screen and (max-width: 2059px) {
	.contenitore { width:  1638px; margin: auto; }
}

@media only screen and (max-width: 1803px) {
	.contenitore { width:  1404px; margin: auto; }
}

@media only screen and (max-width: 1547px) {
	.contenitore { width:  1170px; margin: auto; }
}

@media only screen and (max-width: 1291px) {
	.contenitore { width:  936px; margin: auto; }
}

@media only screen and (max-width: 1035px) {
	.contenitore { width:  702px; margin: auto; }
}

@media only screen and (max-width: 783px) {
	.contenitore { width:  468px; margin: auto; }
}

@media only screen and (max-width: 580px) {
	.contenitore { width:  100%; margin: auto; }
}
