/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,400;0,700;0,900;1,400;1,700&display=swap');
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}
.clear{
	width:100%;
	clear:both;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

ul, li {
	padding: 0;
	margin: 0;
	list-style: none;
}

.left{
	float:left;
}

header, nav, section, article, aside, footer, hgroup {
	display: block;
}

* {
	box-sizing: border-box;
}

html, body {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	background-color: #d7d7d7;
	font-size: 16px;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image: url("../images/background-vline.png");
	background-repeat: repeat-x;
	background-position: top left;
}

a {
	text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0px;
	margin-bottom: 0px;
}

ul {
	margin-bottom: 0px;
}

p {
	font-size: 14px;
	line-height: 25px;
	color: #2a2a2a;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
.global-wrapper{
	width:100%;
	margin-left: 0px;
	margin-right: 0px;
}
.internal-wrapper{
	max-width: 1300px;
	margin: 0 auto;
	padding-top: 100px;
	padding-bottom: 100px;
	padding-left: 60px;
	padding-right: 60px;
}
.centered{
	text-align: center;
}
.half-wrapper{
	width:calc(50% - 50px);
}
.sx{
	margin-right:25px;
}
.dx{
	margin-left:25px;
}
.wrapper-logo{
	padding-bottom: 50px;
	min-height: 230px;
	vertical-align: middle;
	display: inline-block;
	width: 100%;
}
.wrapper-img{
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	cursor: pointer;
}
.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	background-color: rgba(0, 0, 0, 0.5);
}
.wrapper-img:hover .overlay {
	opacity: 1;
}
.text {
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}
.img-position{
	width:100%;
	box-shadow: 0px 0px 20px 3px rgba(0,0,0,0.1);
}
.link{
	display: block;
	z-index:100;
}
.mm{
	width:40%;
}
.sm{
	padding-top:20px;
	width:50%;
}
@media screen and (max-width: 1200px) {
	.internal-wrapper {
	    max-width: 100%;
	    margin: 0 auto;
	    padding-top: 20px;
	    padding-bottom: 20px;
	    padding-left: 0px;
	    padding-right: 0px;
	}
	.half-wrapper{
		width:100%;
	}
	.logo-position{
		width:40%;
		max-width: 250px;
	}
	.sx{
		margin-right:0px;
	}
	.dx{
		margin-left:0px;
	}
	.wrapper-img{
		min-height:200px;
	}
	img.img-position{
		display:none;
	}
	.mammam{
		background-image: url("../images/terme-mammamargherita.jpg");
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
	}
	.sanmar{
		background-image: url("../images/san-marco.jpg");
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
	}
	.wrapper-logo{
		min-height:auto;
		padding-bottom:25px;
	}
	.half-wrapper {
	    margin-bottom: 20px;
	}
	html, body{
		background-color: #fff;
		background-image: none;
	}
}