* {
	box-sizing:border-box;
}

:root {
	--basecolor:#444;
	--backgroundcolor:#fff;
	color:var(--basecolor);
	
	--fontsizenormal:1.1em;
	--fontsizequotes:1.2em;
	--fontsizeh1titles:30px;
	--fontsizeh2titles:2em;
	--fontsizeh3titles:1.5em;
	
	font-size:var(--fontsizenormal);
	font-family: 'Arial', sans-serif;

	text-align: center;
		
	--sitecontainermaxwidth:100%;
	--sitecentermaxwidth:1100px;
	--contentpaddingh:20px;
	--bannersheight:700px;
}

div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: top;
}

ul li {
	margin-bottom: 10px;
	text-align: left;
}

video {
	max-width: 100% !important;
	height: auto !important;
}

#sitecontainer {
	max-width:var(--sitecontainermaxwidth);
	margin-left:auto; margin-right:auto;
}

.site_center {
	max-width:var(--sitecentermaxwidth);
	margin-left:auto; margin-right:auto;
	padding:0px var(--contentpaddingh);
}

.smallertexts {
	font-size: calc(0.7 * var(--fontsizenormal));
	text-align: justify;
}

#datopline {
	padding-top:15px;
	padding-bottom:20px;
	display: flex;
	justify-content: space-between;
	position: relative;
}

#datopnavitems {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#datoplogo {
	position: relative;
	z-index: 20000;
}

#datoplogo img {
	max-height:90px;
	width:auto;
}

#datopbuttons {
	text-align:right;
	position: relative;
	z-index: 20000;
}

#datopbuttons img {
	margin:0px 5px;
}

#topmenu {
	padding-bottom: 3px;
	zzposition: relative;
}

#damenu ul {
	list-style-type:none;
	padding:0px;
	margin:0px;
	display: -webkit-flex;
	display:flex;
}

#damenu ul li {
	list-style-type:none;
	padding:0px;
	margin:0px;
	margin-left: 20px;
}

#damenu ul li a {
	display:block;
	text-transform:uppercase;
	color:#181715;
	font-size:1em;
	font-weight: normal;
}

#damenu ul li.active a, #damenu ul li a:hover {
}

#damenu ul li a:hover {
	text-decoration:none;
}

#daheader {
	height:var(--bannersheight);
	width:100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size:var(--fontsizequotes);
}

#daheader::before {
	content: '';
	width:100%;
	position: absolute;
	top:8px;
	z-index: 2000;
	border-top: 1px solid white;
}

#daheader::after {
	content: '';
	width:100%;
	position: absolute;
	bottom:8px;
	border-bottom: 1px solid white;
}

#daheader div.custom {
	text-align:center;
	line-height: calc(var(--fontsizequotes) + 0.1em);
	font-weight: normal;
	text-transform: uppercase;
	color:#fff !important;
	background-color:rgba(0,0,0,0.6);
	max-width:var(--sitecentermaxwidth);
	width: 90%;
	padding:1.2em 40px;
	position: relative;
	z-index: 30000;
}

#daheader div.custom p {
	text-align:center;
	font-size:var(--fontsizequotes);
	text-transform: uppercase;
	font-weight: normal;
	color:#fff !important;
	margin-top:20px;
	margin-bottom: 20px;
	text-shadow: 2px 2px 2px black;
}

#topmenu #damenubutton {
	display:none;
	text-align:right;
	margin-right:10px;
	cursor:pointer;
}

#dacontent {
	padding-top: 60px;
	padding-bottom: 60px;
}

#dacontent p[style*="text-align: center"] {
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#dafooter {
	margin-top:30px;
	margin-bottom:60px;
}

.page-header > h1 {
	font-weight:normal;
	text-transform:uppercase;
	font-size:2em;
	margin-bottom:30px;
	color: black;
	text-align: center;
}

#block_activites {
	margin-bottom: 100px;
}

#block_activites ol {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr 1fr;
}

#block_activites li {
	padding-top: 55%;
	position: relative;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.6);
}

#block_activites .block_image {
	position: absolute;
	top:0; left:0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#block_activites .block_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transition: transform 1s;
}

#block_activites li:hover img {
	transform: scale(1.2);
}

#block_activites .block_title {
	position: absolute;
	top:50%; left:50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 100%;
	text-align: center;
}

#block_activites span {
	display: block;
	position: absolute;
	top:50%; left:50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 100%;
	text-align: center;
}

#block_activites span.title {
	display: block;
	background-color: rgba(0,0,0,0.6);
	color: white;
	width: 80%;
	margin: 0px auto;
	padding: 6% 10%;
	text-transform: uppercase;
	font-weight: normal;
}

#block_activites a:hover {
	text-decoration: none;
}

#block_activites .block_link a {
	display: block;
	position: absolute;
	top:0; left:0; right:0; bottom:0;
	z-index: 3;
}

#showmap {
	cursor: pointer;
	border: 1px solid #444;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	width:min(300px,100%);
}

#daplan {
	display: none;
}

#daplan, #daplan iframe {
	height:100vh !important;
}

/* ###################### OVERALL SETTINGS ###################### */
HTML {
}

BODY {
	background-color:var(--backgroundcolor);
}

h1 {
	font-size:var(--fontsizeh1titles);
	letter-spacing:1px;
	color:var(--basecolor);
	margin:15px 0px;
}

h2 {
	font-size:var(--fontsizeh2titles);
	letter-spacing:1px;
	color:var(--basecolor);
	font-weight:normal;
	text-transform:uppercase;
	margin-bottom:10px;
	color: black;
}

h3 {
	font-size:var(--fontsizeh3titles); 
	display: inline-block;
	color: #b87957;
	position: relative;
	padding-bottom: 6px;
	margin-bottom: 10px;
}

h3::after {
	content: '';
	position: absolute;
	bottom:0px; left:0px;
	width: 50%;
	border-bottom:2px solid #b87957;
}

hr {
	color:transparent;
	border-bottom: 1px solid var(--basecolor);
	margin-top: 2em;
	position: relative;
}

hr::before {
	content: '';
	position: absolute;
	left:50%;
	bottom: 4px;
	height: 2em;
	width: 2em;
	transform: translateX(-1em);
	background-image: url(../images/quadroni_logo_prism.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

/* ###################### LINKS ###################### */
a:link, a:visited {
  font-weight	   : bold;
  text-decoration  : none;
}

a:hover, a:active {
	text-decoration:underline;
}

img {
	border:none;
	max-width:100%;
}

td {
	vertical-align:top;
}

.clearit {
	clear:both;
}

#dacontent img, #datopline img {
	max-width:100% !important;
	height:auto;
}

.pcontainer {
	box-sizing:border-box;
	-webkit-align-items: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0;
	padding: 15px;
	position: relative;
	width: 100%;
	min-height: var(--bannersheight);
}

.pcontainer::before {
	content: '';
	width:100%;
	position: absolute;
	top:8px;
	left:0px;
	border-top: 1px solid white;
	z-index:1;
}

.pcontainer::after {
	content: '';
	width:100%;
	position: absolute;
	bottom:8px;
	left:0px;
	border-bottom: 1px solid white;
	z-index: 1;
}

.pcontainer .pcontent {
	box-sizing:border-box !important;
	width:100%;
	text-align:center;
}

.parallax__container {
	clip: rect(0, auto, auto, 0);
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -100;
}
.parallax__container .parallax {
	/* can be put in a seperate class for better control */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	/* --------------------------- */
	position: fixed;
	top: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	width: 100%;
}

.pcontainer .pcontent div {
	display:inline-block;
	padding:40px 40px;
	text-align:center;
	font-size:var(--fontsizequotes);
	line-height: calc(var(--fontsizequotes) + 0.1em);
	text-transform: uppercase;
	font-weight: normal;
	color:#fff !important;
	background-color:rgba(0,0,0,0.6);
	margin:100px 20px;
	max-width:var(--sitecentermaxwidth);
	width: 90%;
	text-shadow: 2px 2px 2px black;
}

.pcontainer .pcontent div p {
	text-align:center;
	text-transform: uppercase;
	font-weight: normal;
	color:#fff !important;
	margin-top:20px;
	margin-bottom: 20px;
	text-shadow: 2px 2px 2px black;
}


#footertable, #footertable tbody, #footertable tr, #footertable td {
	display:block;
}

#footertable a {
	color:#444;
	text-decoration:none;
	font-weight:normal;
}

#footertable tr {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#footertable td {
	width: 30%;
	text-align: center;
}

#footertable td::before {
	display: block;
	content: '';
	height: 40px;
	border-bottom: 1px solid #444;
	margin-bottom: 30px;
	background-image: url(../images/quadroni_logo_prism.png);
	background-position: center;
	background-size: auto 40px;
	background-repeat: no-repeat;
	padding-bottom: 20px;
}

#footertable ul.nav {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

#footertable ul.nav li {
	text-align: center;
}

#footertable li.item-299 {
	display: none;
}

#totop {
	margin:20px 0px 75px;
}


/* OS Gallerx */

.osgalery-cat-tabs {
	display: none !important;
}

*[class*="os-gallery-tabs-main"]{
	margin-top:20px;
}

.os-cat-tab-images > div {
	text-align: center;
}

.os-cat-tab-images > div > div {
	float:none !important;
	display: inline-block;
	border-radius: 10px;
}

/* =========================== switch < 1100px ================================= */
@media screen and (max-width: 1100px) {

iframe {
	width:100% !important;
}

}

@media screen and (max-width: 1000px) {

	#topmenu #damenu {
		display:none;
		position: absolute;
		top:0;left:0;
		z-index: 10000;
		background-color: rgba(255,255,255,0.9);
		padding-top: 150px;
		padding-bottom: 50px;
		width: 100%;
	}

	#topmenu #damenubutton {
		display:block;
		position: relative;
		z-index: 20000;
	}


	#damenu ul {
		display: -webkit-flex;
		display:flex;
		flex-direction:column;
	}

	#damenu ul li {
		list-style-type:none;
		padding:0px;
		margin:0px;
	}

	#damenu ul li a {
		border-bottom:1px dotted #aaa;
		text-align: right;
		padding:10px 20px;
	}

	#damenu ul li.active a, #damenu ul li a:hover {
	}
}

@media screen and (max-width: 800px) {

	:root {
		--fontsizenormal:1.1em;
		--fontsizequotes:1em;
		--bannersheight:500px;
	}

	#footertable td {
		width: 100%;
	}

	#footertable td ~ td::before {
		display: block;
		content: '';
		height: 10px;
		border-bottom: 0px solid #444;
		margin-bottom: 30px;
		background-image: none;
		padding-bottom: 0px;
	}

	.os-cat-tab-images > div > div {
		width: 45% !important;
	}

}

	
@media screen and (max-width: 650px) {

	:root {
		--fontsizenormal:1em;
		--fontsizequotes:0.9em;
		--bannersheight:400px;
	}

	.smallertexts {
		font-size: calc(0.9 * var(--fontsizenormal));
	}

	img[style*="float:"] {
		float:none !important;
		width: 100% !important;
		margin-left:0px !important;
		margin-right: 0px !important;
	}

	#block_activites ol {
		grid-template-columns: 1fr;
	}

	.os-cat-tab-images > div > div {
		width: 95% !important;
	}
}

