.scriptfont {
  padding: 0;
  margin: 0 0 15px;
  font-family: 'Dancing Script', sans-serif;
  line-height: 100%;
  font-weight: 400;
  letter-spacing: 0;
}
.cover{
  background-image: url("../img/cover.jpg"); 
  background-color: #000;
  height: calc(100vh /10 * 9);
  min-height: 920px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
  position: relative;
  margin-bottom:-150px;
}
.cover.in{
  background-image: url("../img/bg.jpg"); 
  height: 120px;
  min-height: 120px;
  margin-bottom:0px;
}
.pi-border-base{
	border-bottom: 1px solid #879ba0;
}
.pi-header-transparent{
	background-color: rgba(255,255,255,0.4)
}
.pi-row-reducible.pi-header-transparent.pi-row-reduced {
    background-color: #fff;
}
.cover p.h3 {
    font-size: 4em;
    line-height: 1.0em;
    margin-bottom: 10px;
    font-weight: 600;
    color: #21252b;

}
.pi-btn-white {
    background: #fff;
    border: 1px solid #fff;
    color: #333 !important;
}
.pi-btn-white:hover {
    background: transparent;
    border: 1px solid #fff;
    color: #fff !important;
}
/*Box*/
.box-1{
	background-color: #E2F3FA !important;
	color: #879ba0 !important;
}
.box-2{
	background-color: #C4FFD8 !important;
	color: #0EC449 !important;
}
.box-3{
	background-color: #FFDAC4 !important;
	color: #E45B30 !important;
}
.box-shadow-hover:hover{
	-webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
	border: transparent;
}
/*Section svg*/
.section-1{
	background: url("../img/svg/section-white-d2u.svg") no-repeat;
	background-size: contain;
	background-position: bottom;
	top: 0;
	right:-5px;
	bottom:0;
	left:-5px;
	position: absolute;
}
.section-relative{
	position: relative;
	top: -100px;
}

/*Parallax*/
.parallax-index{
	background-image: url("../img/dieta-e-psicologia.jpg");
	min-height: 606px;
}
.parallax-index2{
	background-image: url("../img/quale-dieta-fare.jpg");
	min-height: 600px;
	background-position: 80%;
}
.parallax-index3{
	background-image: url("../img/come-mantenere-la-dieta.jpg");
	min-height: 800px;
}
.parallax-index4{
	background-image: url("../img/cosa-aspettarsi-dal-nutrizionista.jpg");
	min-height: 420px;
	background-position: 50%;
}
/*Contact*/
.section-contact{
	position: relative;
	bottom: 120px;
	right: 200px;
	z-index: 3;
}

.parallax-svg{
	background-image: url("../img/svg/parallax-landing-1.svg");
	background-size: contain;
	background-position: bottom;
	background-repeat: no-repeat;
}
.parallax-svg-2{
	background-image: url("../img/svg/parallax-landing-2.svg");
	background-size: contain;
	background-position: bottom;
	background-repeat: no-repeat;
}

/*Table*/
.tab{
	padding: 15px;
	border: 1px solid #879ba0;
}
.tab-box{
	padding: 20px;
}
.tabella td, .tabella th {
    border-bottom: 1px solid #434343;
	padding: 10px 0;
}

.tabella tr td:last-child{
	text-align: right;
}

.tabella{
	border-collapse: collapse;
    width: 100%;
}

/*Footer*/
.footer-style{
	background-color: #ECECEC !important;
	font-size: 14px !important;
}
.copy-style{
	background-color: #e1e6f0 !important;
}
.footer-fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
	z-index: 10;
}
/*Landing*/
.text-parallax{
	text-align: right;
}

@media only screen and (max-width : 811px) {
.cover{
  background-image: url("../img/cover-xs.jpg"); 
}
	.pi-row-lg .pi-row-block-logo img {
    max-height: 80px;
	}
.cover p.h3 {
    font-size: 3em;

}
/*Contact*/
.section-contact{
	position: relative;
	bottom: 0;
	right: 0;
	z-index: 3;
	margin: 25px;
}
	/*Parallax*/
	.text-parallax{
		text-align: left;
	}
}
@media screen and (max-width: 1120px) {
	/*Parallax*/
	.text-parallax{
		text-align: left;
	}
}
