/* font */

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  src: url(fonts/DancingScript-Bold.ttf) format('truetype');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 400;
  src: url(fonts/Mulish-Italic.ttf) format('truetype');
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  src: url(fonts/Mulish-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  src: url(fonts/Mulish-SemiBold.ttf) format('truetype');

}
@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 600;
  src: url(fonts/Mulish-SemiBoldItalic.ttf) format('truetype');
}

@font-face {
  font-family: 'Mulish';
  font-style: italic;
  font-weight: 700;
  src: url(fonts/Mulish-BoldItalic.ttf) format('truetype');
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 700;
  src: url(fonts/Mulish-Bold.ttf) format('truetype');

}

:root{
  --azzurro: #b5c7dc;
  --azzurrochiaro: #d3dfee;
  --azzurroscuro: #97a7ba;
  /* --azzurroscuro: #97a7ba; */
  --rosa: #e9a9aa;
    --violachiarissimo: #d5bfdf;
    --violachiaro: #ba9cc8;
  --viola: #A187AD;
  --violascuro: #89678e;
  --violascuro: #96739c;
  --testo: #333333;
  --link: #222222;
  --beige: #E8E3D7;
  --radius: 5px;
}
html {
  scroll-behavior: smooth;
  
  height: 100%;
}

body{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  color: var(--testo);
  background-color: var(--azzurro);
  background-image: url("canesu.svg");
  background-size: auto 100vh;
  background-repeat: no-repeat;
  background-position: top right;
  background-attachment: fixed;
}
*{
  box-sizing: border-box;
}


/************************************* menu */

.menu{
  left: -70px;
  position: absolute;
  top: 0;
}
.menu ul{
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
  border-right: 2px solid #666;
}
.menu li{
  padding-bottom: 0;
  position: relative;
  right: -7px;
}
.menu li a{
  color: #666;
  font-size: 0.9em;
  text-decoration: none;
  padding: 0.1em 0.3em 0.2em;
  border-radius: var(--radius);
}
.menu li a{
  background-color: transparent;
}
.menu li a:hover,
.menu li a:active,
/* voci attive */
.body-info #info,
.body-contatti #contatti,
.body-yoga #yoga,
.body-chisono #chisono{
  background-color: var(--violachiaro);
  color: var(--link);
}
.menu ul li:after{
  content: "●";
  padding-left: 0.1em;
  color: var(--viola);
}
.menu.menutop{
  display: none;
}

@media screen and (max-width: 1120px){
  .menu{
    display: none;
  }
  .menu.menutop{
    display: block;
    background-color: var(--azzurroscuro);
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-bottom: 0.3em;
  }
  .menu.menutop li{
    padding-bottom: 1px;
  }
  .menu.menutop ul{
    border-bottom: 2px solid #666;
    border-right: 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  .menu.menutop ul li::after {
    position: relative;
    bottom: -12px;
  }
}

.contenitore{
  position: relative;
}
.contenuto{
  margin: 0 auto;
  max-width: 50em;
  padding: 0 1em 1em;
  position: relative;
}

.testata{
  text-align: center;
  margin-bottom: 4em;
}

.firma{
  max-width: 700px;
  width: 95%;
  height: auto;
  margin-top: 2em;
}


h1{
  margin: 0;
  font-size: 2em;
  line-height: 1;
  font-family: 'Dancing Script', cursive;
  /* background-image: url("firma.svg");
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center top; */
}

h1 span{
  position: absolute;
  opacity: 0;
}
h1, h2, h4{
  color: #000;
}

h2{
  font-size: 2.5em;
  font-weight: 200;
  font-variant: small-caps;
  margin: 0 0 0.3em;
  text-align: center;
}
h4{
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }

.separatore{
  text-align: center;
  margin: 1em auto 0.5em;
}
.separatore img{
  width: 50px;
}
h2{
  position: relative;
  border-bottom: 2px solid var(--violascuro);
  padding: 0 30px;
}
h2:before,
h2:after{
  content: url('deco.svg');
  /* content: url('deco1.svg'); */
  display: inline-block;
  width: 59px;
  /* position: relative;
  top: 7px; */
  position: absolute;
  bottom: -0.3em;
}
h2:before{
  /* margin-right: 5px; */
  left: -30px;
}
h2:after {
  /* margin-left: 5px; */
  transform: scaleX(-1);
  right: -30px;
}


h3{
  font-size: 1.9em;
  margin: 0.7em auto;
  font-weight: 600;
  text-align: center;
  color: var(--violascuro);
}

.testata h3{
  margin-top: 2em;
  max-width: 20em;
  color: var(--testo);
}

.dovequando strong{
  text-decoration: underline;
  font-weight: normal;
}
.news strong{
  text-decoration: none;
  font-weight: bold;
}
.qualeyoga strong{
  text-decoration: underline;
  font-weight: normal;
}

address{
  font-style: italic;
  font-weight: 600;
  margin: 0 0 1em 0;
  text-align: center;
}

.evidenza{
  font-weight: 600;
  font-style: italic;
}

p{
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 0.3em;
  line-height: 1.5;
  text-align: justify;
}
p.spaziato{
  margin-bottom: 1em;
}

p.clear{
  clear: both;
  margin: 0;
}
.contenuto a,
footer a{
  text-decoration: none;
  color: var(--link);
  background: var(--violachiarissimo);
  /* display: inline-block; */
  border-radius: var(--radius);
  padding: 0px 2px 1px;
  line-height: 1;
}
.contenuto a:hover,
.contenuto a:active,
footer a:hover,
footer a:active{
  background: var(--violachiaro);
}


.nobr {
  white-space: nowrap;
}

.chisonoiopage{
  font-style: italic;
  margin: 2em auto;
  text-align: center;
}

.blocco{
  max-width: 40em;
  margin: 0 auto 1.5em;
  text-align: center;
}
.blocco:last-child:after{
  content: none;
}
.blocco:after{
  content: url('separatore.svg');
  display: block;
  margin: 10px auto;
  width: 150px;
}
table{
  background-color: var(--beige);
  border-radius: 50px;
  border-collapse: collapse;
  margin: 1em auto;
  /* width: 300px; */
  width: 100%;
}
th, td{
  padding: 0.4em 0.5em;
  border: 2px solid var(--azzurro);
  border-radius: var(--radius);
  background-color: var(--beige);
  text-align: left;
  /* text-align: center; */
}

td:first-child{
  text-align: right;
  font-weight: 700;
    width: 140px;
}


ul{
  margin: 0;
  padding: 0 0 0 1em;
  text-align: left;
}
li{
  line-height: 1.3;
  padding-bottom: 0.4em;
}

.bimbi{
  margin: 0;
  text-align: center;
  background-color: var(--violachiaro);
}
.bimbi a{
  font-size: 0.8em;
  background-color: transparent;
  padding: 0;
  text-decoration: underline;
}

.luogo{
  font-size: 0.9rem;
}
/************************************* chisonoio */
.bio .contenuto{
  max-width: 40em;
}
.foto{
  width: 325px;
  float: left;
  margin-right: 1em;
}
.foto img{
  width: 100%;
  border-radius: var(--radius);
}

.nota,
.formazione{
  font-size: 0.9em;
  line-height: 1.2;
  margin-bottom: 0;
}


li p{
  margin-bottom: 0;
}
.fiy strong{
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: double;
}
.fiy a{
  text-decoration: underline;
  text-decoration-style: double;
}






/************************************* footer */
footer{
  padding: 0.1em 1em 0;
  background-color: var(--azzurroscuro);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

footer p{
  text-align: center;
  margin: 0;
}
footer img{
  width: 200px;
}
footer .fiy{
  padding-left: 3em;
}
footer .fiy a{
  background-color: transparent;
}
footer div.social{
  display: none;
}



/************************************* form */
/* #contatti{
  opacity: 0;
} */

.box{
  border-radius: var(--radius);
  padding: 1em;
  border: 4px solid var(--viola);
}
.contatti{
  background-color: var(--beige);
}
.blocco.qualeyoga{
  margin-bottom: 0;
}

#yogagravidanza{
  background-image: url('yogagravidanza.png');
}
#yogabimbi{
  background-image: url('yogabimbi.png');
}
#yogagravidanza,
#yogabimbi{
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.blocco.qualeyoga:after,
.blocco.contatti:after{
  display: none;
}
.contatti form p{
  text-align: center;
}
.row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}
.row div{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-basis: 45%;
  margin-bottom: 1em;
}
.row .testo{
  flex-basis: 95%;
}
.contatti label{
  display: block;
  padding-bottom: 0.2em;
}
.contatti input,
.row textarea {
  border: 1px solid var(--testo);
  font-size: 0.8em;
  border-radius: var(--radius);
  padding: 0.2em 0.5em;
}
.contatti input:focus,
.row textarea {
  outline: transparent;
  box-shadow: 0px 0px 0px 3px var(--viola);
}
.row input,
.row textarea {
  width: 100%;
}
.contatti .privacy label{
  margin-bottom: 0.5em;
}
.contatti .privacy input{
  /* margin-bottom: 1.5em; */
  margin-right: 0.5em;
}
.contatti .antispam{
  margin-top: 1em;
}
#formContatti #invia {
  color: var(--testo);
  background: var(--viola);
  padding: 0 0.5em 0.1em;
  font-size: 1.3em;
  text-transform: lowercase;
  font-variant: small-caps;
  font-weight: 600;
  margin-top: 10px;
}
#formContatti #invia:hover,
#formContatti #invia:active {
  background: var(--violachiaro);
}
#formContatti #invia:disabled {
  color: #ddd !important;
  background: #ccc !important;
}
.inviato {
  display: none;
}
#formContatti .parsley-required, #formContatti .parsley-captcha, #formContatti .parsley-type {
  color: red;
  font-size: 12px;
  text-align: center;
}

/************************************* news */
.news{
  background-color: #fff;
}
.news h3 {
  margin-top: 0;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--viola);
}
.news ul{
  padding: 0 0 0 0.3em;
}
.news ul li{
  list-style: none;
  margin-bottom: 0.4em;
}

.news ul li ul{
  padding: 0.3em 0 0 0.5em;
}
.news ul li ul li{
  line-height: 1.1;
  padding: 0;
  margin: 0;
}


.news .topnews{
  text-align: center;
  padding: 0.5em 12px;
  background-color: var(--azzurrochiaro);
}
.news ul li:before{
  content: "●";
  padding-right: 0.2em;
  color: var(--viola);
}


.locandina{
  max-width: 500px;
  margin: 1rem auto 0;
  display: block;
  border: 1px solid #ccc;
}

.news-small{
  font-size: 1rem;
  line-height: 1;
  margin-top: 1rem;
}

/************************************* info */
.info strong{
  text-decoration: none;
  font-weight: 900;
}



/************************************************************************** mobile */

@media screen and (max-width: 1199px) {
  .foto {
    width: 250px;
  }
}

@media screen and (max-width: 1199px) and (min-width: 769px) {
  h2{
    padding-top: 35px;
  }
  .testata {
    margin-bottom: 3em;
  }
  .blocco {
    margin-bottom: 0.5em;
  }
  #contatti{
    /* padding-top: 35px; */
  }
}

@media screen and (max-width: 1024px) {
  footer{
    font-size: 0.9em;
  }
}
@media screen and (max-width: 768px) {
  
  .firma {
    width: 85%;
  }
  .row{
    flex-wrap: wrap;
  }
  
}

@media screen and (max-width: 640px) {
  body{
    /* font-size: 13px; */
  }
  .testata{
    margin-bottom: 2em;
  }
  h2{
    font-size: 1.9em;
  }
  
  h3{
    font-size: 1.7em;
    margin-top: 0.5em;
  }
  
  footer{
    flex-direction: column;
    padding: 0.5em;
  }
  footer .fiy{
    padding-left: 0;
    padding-top: 1em;
  }
}
@media screen and (max-width: 540px) {
  .foto {
    width: 80%;
  }
  .row{
    flex-direction: column;
  }
  .row div{
    flex-basis: 100%;
  }
  .foto{
    float: none;
    margin: 0 auto;
  }
}
@media screen and (max-width: 490px) {
  .contenuto h2::before, .contenuto h2::after {
    display: none;
  }
  body{
    font-size: 17px;
  }
}
@media screen and (max-width: 370px) {
  .foto {
    width: 100%;
  }
  h1{
    font-size: 1.7em;
  }
  h2{
    font-size: 1.6em;
  }
  h3{
    font-size: 1.4em;
  }
  table{
    font-size: 0.8em;
  }
  nav span{
    display: none;
  }
  
}
@media screen and (orientation: landscape) {
  html{
    background-position: top right;
  }
}


/* social */

div.social{
  text-align: right;
}

a.facebook,
a.whatsapp{
  width: 25px;
  height: 25px;
  display: inline-block;
  background-size: 100%;
  background-color: transparent;
  background-repeat: no-repeat;
  margin: 0.5em;
}
a.facebook{
  background-image: url('facebook.png');
}
a.whatsapp{
  background-image: url('whatsapp.png');
}
a.facebook:hover{
  background-image: url('facebook-hover.png');
}
a.whatsapp:hover{
  background-image: url('whatsapp-hover.png');
}
a.whatsapp:hover,
a.facebook:hover,
a.facebook,
a.whatsapp{
  background-size: 100%;
  background-color: transparent;
  background-repeat: no-repeat;
}

@media screen and (max-width: 1120px){
  div.social{
    position: absolute;
    top: 0;
    right: 0;
  }
  div.social a{
    margin:0 5px 0 0;
  }
}
@media screen and (max-width: 580px) {
  div.social{
    display: none;
  }
  
  footer div.social{
    display: block;
    position: relative;
    margin-top: 10px;
  }
}
