@charset "utf-8";
/* CSS Document */

*{
	-webkit-text-size-adjust:none;
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	box-sizing: border-box; 
	
	-webkit-text-size-adjust:none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	font-family: 'futura_lt_btlight', sans-serif;
    font-weight: 100;
    font-style: normal;
	color:#000;
	font-size: 15px;
}
body{
	margin:0;
	padding:0;
}
body.index{
	background-color:#f9f8f6/*#f7f8f2*/;
	overflow-x: hidden;
}
body:not(.index){
	background-color:#3e3f40;
}
body:not(.android) *:not(h1):not(h2){
	font-size: 15px;
}
.android *:not(h1):not(h2){
	font-size: 18px;
}
ul{
	padding-left: 26px;
}

/* GENERICI */
.dida,
.dida *{
	font-size:11px !important;
}
.schSX,
.schDX{
	width:calc(50% - 10px);
	display:inline-block;
	vertical-align:top;
	padding:5px;
}
.schSX{
	padding-right:20px;
}
.lineaSX{
	border-left:1px solid rgba(0,0,0,0.3);
	padding-left:30px;
}
.lineaDX{
	border-right:1px  solid rgba(0,0,0,0.3);
	padding-right:30px;
}
/*@media (max-width: 860px){
	.schSX,
	.schDX{
		width:48% !important;
	}
}*/
@media (max-width: 900px){
	.schSX,
	.schDX{
		width:100% !important;
		display:block !important;
		padding-left:0px !important;
		padding-right:0px !important;
	}
	.schSX{
		padding-right:0px !important;
	}
	.schDX{
		padding-top:20px !important;
	}
	.lineaSX{
		padding-left:0px !important;
		padding-top: 20px !important;
		border-top:1px solid rgba(0,0,0,0.3);
		border-left:none !important;
	}
	.lineaDX{
		padding-right:0px !important;
		padding-bottom: 20px !important;
		border-bottom:1px solid rgba(0,0,0,0.3);
		border-right:none !important;
	}
}
.l{
	clear:both;
	float:none !important;
	height:1px;
}

/* LAYOUT */
#albero{
	position: absolute;
    z-index: 5;
    top: 0;
    left: 20%;
    width: 100%;
    height: calc(100% - 132px);
    background-image: url(../_img/albero.png);
    background-repeat: no-repeat;
    background-size: auto 81%;
    background-position: center center;
}

#fascia_alta{
	position:fixed;
	z-index:10;
	top:0;
	left:0;
	width:100%;
}
body:not(.index) #fascia_alta{
	max-height:88px;
	height:100%;
	border-top:6px solid #268f18;
	background-color:#FFF;
	text-align:center;
	padding-top:10px;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.3);
	transition:max-height .5s;
	-webkit-transition:max-height .5s;
}
.index #fascia_alta{
	position:absolute;
	height:7px;
	background-color:#268f18;
}
body:not(.index) #fascia_alta > div{
	width:1040px;
	max-width:100%;
	margin:0 auto;
	padding:0 20px;
}

#logo{
	z-index:15;
	background-size:contain;
	background-image:url(../_img/logo.png);
	background-repeat:no-repeat;
	cursor:pointer;	
}
body:not(.index) #logo{
	width:220px;
	height:52px;
	cursor:pointer;	
	display:inline-block;
	vertical-align:middle;
	float:left;
	margin-top:6px;
}
.index #logo{
	position:absolute;
	top:65px;
	left:80px;
	width:300px;
	height:90px;
}

#menu{
	z-index:15;
}
body:not(.index) #menu{
	display:inline-block;
	vertical-align:middle;
	float:right;
	margin-top:16px;
}
.index #menu{
	position:fixed;
	left:120px;
	top: 50%;
	margin-top:-100px;
	border-left: 6px solid #268f18;
	padding-left:20px;
}
#menu a{
	text-decoration:none;
	transition:text-shadow 0.5s;
	-webkit-transition:text-shadow 0.5s;
}
body:not(.index) #menu a{
	display:inline-block;
	vertical-align:middle;
	line-height:28px;
	font-size:16px;
	margin:0 7px;
}
@media (min-width: 911px){
	body.filosofia:not(.index) #menu a#mn_filosofia,
	body.servizi:not(.index) #menu a#mn_servizi,
	body.medicina_generale:not(.index) #menu a#mn_medicina_generale,
	body.medicina_cinese:not(.index) #menu a#mn_medicina_cinese,
	body.contatti:not(.index) #menu a#mn_contatti{
		border-bottom: 1px solid #51a546;
	}
}
.index #menu a{
	display:block;
	line-height:28px;
	font-size:17px;
}
#menu a:hover{
	text-shadow:0px 0px 3px rgba(38,143,24,0.5);
}

#fascia_titolo{
	height:265px;
	margin-top:88px;
	background-color:#0f1014;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center -500px, center center;
	padding-left:59%;
	padding-top:150px;
	padding-right:20px;
}
.filosofia #fascia_titolo{
	background-image: url(../_img/sfum_foto.png), url(../_img/filosofia.jpg);
}
.servizi #fascia_titolo{
	background-image: url(../_img/sfum_foto.png), url(../_img/servizi.jpg);
    /*background-position: center calc(100% + 20px), center center;*/
}
.medicina_generale #fascia_titolo{
	background-image: url(../_img/sfum_foto.png), url(../_img/medicina_generale.jpg);
}
.medicina_cinese #fascia_titolo{
	background-image: url(../_img/sfum_foto.png), url(../_img/medicina_cinese.jpg);
}
.contatti #fascia_titolo{
	/*background-image: url(../_img/sfum_foto.png), url(../_img/contatti.jpg);
    background-position: center calc(100% + 20px), center center;*/
	
	background-image: url(../_img/sfum_foto.png), url(../_img/contatti.jpg);
    background-color: #f5f5f5;
		background-position: center calc(100% + 0px), left center;
		background-size: cover, contain;
		height: 165px;
		padding-top: 100px;
	
}
@media (max-width: 810px){
	.contatti #fascia_titolo{
		background-position: center calc(100% + 0px), center center !important;
		background-size: cover !important;
	}
}
.cookies #fascia_titolo{
	background-image: url(../_img/sfum_foto.png), url(../_img/cookies.jpg);
}
#tit_cont{
	border-left: 6px solid #268f18;
	padding-left:20px;
}
#tit_cont *{
	color:#FFF;
}
#tit_cont h1{
	font-size:25px;
	margin:0px;
}
#tit_cont h2{
	font-size:17px;
	margin:0px;
}
.medicina_generale #fascia_titolo #tit_cont *,
.servizi #fascia_titolo #tit_cont *,
.contatti #fascia_titolo #tit_cont *,
.filosofia #fascia_titolo #tit_cont *{
	color:#000;
}

#pagina_cont{
	background-color:#f9f8f6;/*#f7f8f2;*/
	min-height:350px;
	padding-top:10px;
}
#pagina_cont > div{
	width:1000px;
	max-width:100%;
	padding:30px;
	margin:0 auto;
}
#pagina_cont > div,
#pagina_cont > div *{
	font-size:16px;
	line-height:20px;
}
#pagina_cont > div p{
	margin-top:0;
}
#pagina_cont > div b{
	font-weight:bold !important;
}
#pagina_cont > div i{
	font-style:italic !important;
}
#box_orari i{
	color:#09C;
}
#box_orari{
	padding:15px;
	margin:10px 0 20px 0;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.3);
	background-color:rgba(186,216,227,0.5);
}
#pagina_cont h2{
	font-size:18px;
	font-weight:bold;
	margin-top:0;
}
#cont_box > div{
	margin-bottom:50px;
	clear:both;
}
.imgSx{
	margin:0px 20px 10px 0px;
	width:350px;
	float:left;
}
.imgDx{
	margin:0px 0px 10px 20px;
	width:350px;
	float:right;
}
.brd{
	border:5px solid #FFF;
	box-shadow:0px 0px 5px;
}
.mrgBtm{
	margin-bottom:50px;
}
@media (max-width: 430px){
	.imgSx,
	.imgDx{
		width:100%;
	}
}

#piede{
	width:100%;
	background-color:#3e3f40;
	border-top: 4px solid #268f18;
	padding:30px 40px;
}
body:not(.index) #piede{
    min-height: 200px;
}
.index #piede{
	position:absolute;
	z-index:10;
	bottom:0px;
}
#piede *{
	color:rgba(255,255,255,0.6);
	font-size:13px;
	line-height:18px;
}
#piede a{
	text-decoration:none;
}

#copy{
	background-image: url(../_img/logo_piede.png);
    background-repeat: no-repeat;
    background-size: auto 58px;
    background-position: left center;
    float: left;
    padding: 15px 0px 15px 56px;
}
#indirizzo{
	float:right;
	padding-left:20px;
	padding-bottom:20px;
	border-left: 1px solid rgba(255,255,255,0.2);
}


#scuro{
	display:block;
	position:fixed;
	z-index:5;
	left:-4000px;
	top:0px;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.6);
	opacity:0;
	transition:opacity .5s;
	-webkit-transition:opacity .5s;
}

#foto{
	border-radius:3px;
	box-shadow:2px 2px 10px rgba(0,0,0,0.5);
	border:5px solid #FFF;
	float:left;
	margin-top:-80px;
	margin-right:30px;
	width:257px;
	/*height:362px;*/
}
#foto_contatti{
	display:inline-block;
	vertical-align:middle;
	float:left;
	background-image:url(../_img/dr_badinella_martini2xcnt.jpg);
	background-repeat:no-repeat;
	background-size:120%;
	background-position:center;
	width:100px;
	height:100px;
	border-radius:50px;
	box-shadow:2px 2px 10px rgba(0,0,0,0.5);
	margin-right:20px;
	margin-bottom:20px;
}
#cont_curr{
	margin-bottom:60px;
}
#link{
	display:inline-block;
	background-image:url(../_img/pubmed_logo.jpg), url(../_img/frDx.png);
	background-position:left center, right center;
	background-repeat:no-repeat;
	background-size:contain, auto;
	padding-left:50px;
	padding-right:40px;
	height:40px;
	line-height:40px !important;
	text-decoration:none;
}
#link:hover{
	background-color:rgba(0,0,0,0.1);
}
#box_piantina{
	margin-top:20px;
	/*border-radius:10px;
	overflow:hidden;
	box-shadow:0px 0px 3px;*/
}
#box_piantina img{
	width:100%;
	cursor:pointer;
}
#frPrivacy{
	cursor:pointer;
}
#boxPrivacy{
	padding:20px;
	border-radius:6px;
}
#boxPrivacy *{
	font-size:14px !important;
}
#boxPrivacy:not(.vis){
	display:none;
}


@media (min-width: 1600px){
	.fr{
		display:none;
	}
}

@media (min-width: 751px){
	#slides{
		position:absolute;
		left:0;
		width:100%;
		height:240px;
		overflow-y:hidden;
		padding-top:30px;
	}
	#slides ul{
		padding: 0px;
		overflow-x:scroll;
		overflow-y:hidden;
		white-space:nowrap;
		height:230px;
		padding:0 50px;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
	}
	#slides li{
		list-style: none;
		margin-left: auto;
		margin-right: auto;
		display:inline-block;
		vertical-align:top;
		height:230px;
		width:250px;
		white-space:normal;
		text-align:justify;
		margin:0 20px;
	}
	.fr{
		position:absolute;
		width:70px;
		height:210px;
		background-repeat:no-repeat;
		background-position:center;
		background-size:contain;
		/*background-color:rgba(255,255,255,0.6);*/
		cursor:pointer;
	}
	.fr.sx{
		left:0px;
		background-image:url(../_img/zoomFrSxB2.png);
		border-top-right-radius:50px;
		border-bottom-right-radius:50px;
	}
	.fr.dx{
		right:0px;
		background-image:url(../_img/zoomFrDxB2.png);
		border-top-left-radius:50px;
		border-bottom-left-radius:50px;
	}
}

@media (max-width: 910px){
	body:not(.index) #logo{
		display:block;
		float:none;
	}
	body:not(.index) #menu{
		display:block;
		float:none;
		text-align:right;
	}
	body:not(.index) #menu a{
		display:block;
		width:100% !important;
		line-height:28px;
		margin:10px 0px;
	}
	body.mn_op:not(.index) #fascia_alta{
		max-height:300px !important;
	}
	body.mn_op:not(.index) #scuro{
		opacity:1 !important;
		left:0px !important;
	}
	#p_menu{
		display: block;
		position: fixed;
		z-index: 20;
		right: 5px;
		top: 20px;
		background-image:url(../_img/p_menu.png);
		background-position:center;
		background-repeat:no-repeat;
		width: 50px;
		height: 50px;
		cursor:pointer;
	}
	body:not(.index) #fascia_alta{
		overflow:hidden;
		text-align:left;
	}
	body.filosofia:not(.index) #menu a#mn_filosofia,
	body.servizi:not(.index) #menu a#mn_servizi,
	body.medicina_generale:not(.index) #menu a#mn_medicina_generale,
	body.medicina_cinese:not(.index) #menu a#mn_medicina_cinese,
	body.contatti:not(.index) #menu a#mn_contatti{
		border-right: 6px solid #51a546;
		padding:0 10px 0 16px;
	}
	.filosofia #fascia_titolo{
		background-position: center -500px, calc(50% + 100px) center;
	}
}
@media (max-width: 840px){
	.index #menu{
		border-left:none;
		padding:0 30px;
		margin-top:40px;
		left:20px;
	}
	.index #logo{
		top:45px;
		left:45px;
	}
	#albero{
		top: 50px;
	}
}
@media (max-width: 750px){
	.fr{
		display:none;
	}
	#copy span{
		overflow:hidden;
		height:1px;
		width:100%;
		clear:both;
	}
	#fascia_titolo{
		padding-left: 50%;
		background-position: center -500px, calc(50% + 100px) center;
	}
	/*.contatti #fascia_titolo,*/
	.servizi #fascia_titolo{
		/*background-position: center calc(100% + 20px), calc(50% - 100px) center;*/
		background-position: center -500px, calc(50% - 100px) center;
	}
	.filosofia #fascia_titolo{
		background-position: center -500px, calc(50% + 130px) center;
    	padding-left: 62%;
	}
	
	#foto{
		margin-bottom:20px;
	}
}
@media (max-width: 620px){ 
	#copy,
	#indirizzo{
		text-align:center;
		display:block;
		float:none;
		padding-left:0px;
		text-align:center;
		border-left:none;
	}
	#copy{
		padding-top:70px;
		background-position:top center;
	}
/*}
@media (max-width: 520px){ /* MOBILE */*/
	.index #logo{
		top:40px;
		left:0px;
		width:100%;
		background-position:center;
		height:70px;
	}
	#albero{
		left: 0px;
		top: 105px;
		height: 340px;
		background-size: contain;
	}
	#menu{
		padding:0 20px;
		width:100%;
	}
	.index #menu{
		position:absolute;
		top:415px;
		left:0px;
	}
	body:not(.index) #menu{
		text-align:center;
	}
	body.mn_op:not(.index) #fascia_alta{
		max-height:100% !important;
	}
	#menu a{
		border-bottom:1px solid rgba(0,0,0,0.1);
		text-align:center;
		font-size:20px !important;
		line-height:40px !important;
		margin:0px !important;	
	}
	.index #menu a:last-child{
		border-bottom:none !important;	
	}
	.index #piede{
		top:690px;
		bottom:auto;
	}
	#pagina_cont{
		padding-top:100px !important;
	}
	#pagina_cont > div,
	#pagina_cont > div *{
		font-size:18px;
		line-height:23px;
	}
	
	#fascia_titolo{
		background-position: center calc(100% + 10px), calc(50% + 80px) center !important;
		height: 160px;
		padding: 0px !important;
		border-left: 6px solid #268f18;
	}
	#tit_cont{
		padding: 0px !important;
		margin-top: 185px;
		position: absolute;
		border-left: none;
		text-align: center;
		width: 100%;
		margin-left: -6px;
	}
	#tit_cont h1,
	#tit_cont h2{
		color: #000;
	}
	#tit_cont h1{
		font-weight: bold !important;
	}

	#foto{
		margin-top:-20px;
		width:169px;
		/*height:238px;*/
	}
	
	
	#indirizzo{
		margin-top:20px;
	}
	#telefono{
		display:inline-block;
		background-color:#268f18;
		border-radius:4px;
		margin-top:20px;
		line-height:40px;
		height:40px;
		padding:0 18px;
		font-size:20px;
		color:#FFF;	
	}	
	#link{
		margin-left:-10px;
		margin-right:-20px;
		width:calc(100% + 30px);
	}
}

