/*
Theme Name: Skriba Main Theme
Author: Gianluca Tuscano
Author URI: http://skriba.it
Description: Skriba custom theme
Version: 3.7
*/

html {
    margin: 0;
    padding: 0;
    font-size: 19px;
    background-color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    font-size: 1rem;
    font-family: 'Fraunces', serif;
}

body p:empty:before {
  content: none;
}

body p:empty {
  margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: 700;
}

a {
    color: #A996C7;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    text-decoration: none;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
  z-index: 0;
  font-size: 2.3rem;
}

h1::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(169 150 199 / 30%);
  width: 100%;
  height: 100%;
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  z-index:-1;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1E323C;
  text-transform: uppercase;
}

h3 {

}

h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 2rem;
}

input {
  max-width: 100%;
  border: none;
  font-size: 1rem;
  font-family: 'Poppins';
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 50px;
}

span.wpcf7-list-item {
    margin: 0;
}

ul {
  padding-inline-start: 20px;
}

textarea {
  width: 100%;
  border: none;
  font-size: 1rem;
  padding: 20px;
  margin-top: 10px;
  border-radius: 40px;
}

label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1E323C;
    display: block;
}

*:focus {
  outline: none;
}

button[type=scopri] {
  background-color: #A996C7;
  text-transform: uppercase;
  color: #1e323c;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border: 0;
  border-radius: 30px;
  float: right;
  margin-right: 30px;
  margin-top: 20px;
}

button[type=leggi] {
  background-color: #A996C7;
  text-transform: uppercase;
  color: #1e323c;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 10px 20px;
  border: 0;
  border-radius: 30px;
  float: right;
  position: absolute;
  right: 30px;
  bottom: 25px;
}

button[type=servizio] {
  border: 1px solid #A996C7;
    text-transform: uppercase;
    color: #A996C7;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 15px;
    border-radius: 30px;
    float: right;
    background-color: white;
}

div.wpcf7 {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

label.accetta {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: white;
    font-size: 0.8rem;
    width:fit-content;
}

label.accetta a {
    color: #A996C7;
}

label.accetta a:hover {

}

input:focus,
textarea:focus {
    outline-offset: 0;
    outline: 0;
}

input[type=submit] {
    background-color: #A996C7;
    border-color: white;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    float: right;
    text-transform: uppercase;
    padding: 10px 30px;
    border-radius: 0;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
    border-radius: 50px;
}

/*.preloader {
    background-color: #f5f5f6;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1000000;
    top: 0;
    left: 0;
} */

a:focus {
    outline: none;
}

a:hover {
    text-decoration: none;
}

.flex-baseline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}

.flex-end {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.flex-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-height {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.cover {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contain {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.evidenza {
    width: 100%;
    padding-top: 350px;
}

.clearfix {
    clear: both;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.no-padding-left {
    padding-left: 0 !important;
}

.no-padding-right {
    padding-right: 0 !important;
}

.no-padding-top {
    padding-top: 0 !important;
}

.relative {
    position: relative;
}

.info {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Menu icon css */

#nav-icon1 {
  width: 35px;
  height: 25px;
  position: relative;
  margin-left: auto;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  top: 6px;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #A996C7;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {right: 20px;
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/*-------------------*/

/* menu */

.main-menu a {
    color: white;
    font-size: 0.90rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    padding: 5px 10px;
}

.header-container .main-menu a:hover {
    color: #A996C7;
}

.main-menu .current-menu-item a {
    color: #A996C7;
    border: 1px solid;
    border-radius: 20px;
}

.menu li:not(:last-child) {
    margin-right: 10px;
}

.menu {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* header */

.top {
  background-color: #1E323C;
  padding-top: 20px;
  padding-bottom: 20px;
  position: fixed;
  width: 100%;
  z-index: 100;
  border-bottom: 3px solid #A996C7;
}

.logo-top-head {
  width: 380px;
  display: grid;
}

.header-container {
  width: 1320px;
}

.main {
  margin-top: 109px;
}

/* slider */

.slider {
  position: relative;
  padding-top: 30px;
  padding-bottom: 60px;
}

.slider::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 40%;
  background-color: rgb(169 150 199 / 30%);
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
}

.flexslider {
  position: relative;
}

.slide {
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  max-width: 44%;
  margin-left: 6%;
  position: relative;
  left: 50%;
  border-radius: 70px;
}

.slide:hover {

}

.slide-text {
  width: 100%;
}

.slide-caption {
  position: absolute;
  color: #1E323C;
  width: 100%;
  left: -105%;
  height: 100%;
}

.slide-caption p {
  margin-bottom: 30px;
}

.slide-caption a {
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid #A996C7;
  color: #A996C7;
  padding: 8px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.slide-caption h3 {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 90px;
  margin-bottom: 30px;
  font-size: 2.4rem;
  position: relative;
  height: 110px;
}

.slide-caption h3::before {
  content:'';
  display: block;
  position: absolute;
  top: -25px;
  width: 80px;
  height: 3px;
  background-color: #1E323C;
}

.flex-control-nav {
  z-index: 10;
  width: 44%;
  left: 50%;
  bottom: 0;
}

.flex-control-paging li a {
    width: 14px;
    height: 14px;
    display: block;
    background: white;
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgb(0 0 0 / 30%);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgb(0 0 0 / 30%);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.flex-control-paging li a.flex-active {
  background: #1E323C;
}

/* home */

.servizi-home {
  background-color: #E6E6E6;
  padding-bottom: 10px;
  position: relative;
  z-index: 0;
}

.servizi-home::before {
  content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    background-color: rgb(30 50 60 / 50%);
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
    z-index: -1;
}

.servizi-home h2 {
  color: white;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  padding-top: 15px;
  padding-bottom: 15px;
  max-width: 80%;
  margin: 0 auto;
  text-transform: inherit;
}

.informazioni-home {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 3px solid #A996C7;
}

.servizi-home .icona-servizio {
  width: 100%;
  height: 110px;
}

.loop-servizi {
  margin-top: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.servizio-home {
  background-color: #1E323C;
  margin-bottom: 40px;
  padding: 30px 10px;
  color: white;
  font-size: 0.85rem;
  border-top: 3px solid #A996C7;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.servizio-home h3 {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.scopri {
  position: relative;
}

.scopri::before {
  content: '';
  display: block;
  position: absolute;
  top: 20px;
  left: -10px;
  height: 1px;
  width: 70%;
  background-color: white;
}

/* about */

.about .testo {
  margin-top: 50px;
  margin-bottom: 40px;
}

.about .testo h2 {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 40px;
  position: relative;
}

.about .testo h2::before {
  content: '';
  display: block;
  position: absolute;
  bottom: -15px;
  left: 15px;
  width: calc(100% - 30px);
  height: 3px;
  background-color: #A996C7;
}

.about .testo h4 {
  width: 85%;
}

.about .testo strong {
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.il-team {
  background-color: #1E323C;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  color: white;
  font-size: 0.8rem;
}

.il-team h2,
.referenze h2 {
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.foto-persona {
  width: 100%;
  height: 350px;
  margin-bottom: 15px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.il-team strong {
  color: #A996C7;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* servizi e corsi */

.corsi .descrizione,
.servizi .descrizione {
  margin-top: 40px;
  border-top: 3px solid #A996C7;
  padding-top: 25px;
  margin-bottom: 40px;
}

.corsi .descrizione h5,
.servizi .descrizione h5 {
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  max-width: 45%;
  margin-bottom: 20px;
  line-height: 1.4rem;
}

.corsi .descrizione .content,
.servizi .descrizione .content {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  margin-bottom: 30px;
}

.corsi h2,
.servizi h2 {
  color: white;
  text-transform: inherit;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  background-color: #1E323C;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.elenco-corsi,
.elenco-servizi {
  margin-bottom: 50px;
}

.corso {
  margin-top: 30px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #707070;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

/* contatti */

.contatti .container {
  margin-top: 40px;
}

.informazioni {
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.informazioni h3 {
  color: #A996C7;
  border-bottom: 2px solid #A996C7;
  font-size: 1.2rem;
  margin-top: 30px;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.form {
  margin-top: 10px;
  text-align: center;
  background-color: #1e323c;
  padding-top: 30px;
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
}

.form h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* blog */

.card {
  margin-top: 50px;
  margin-bottom: 20px;
}

.blog-top {
  background-color: #1e323c;
  padding: 20px 30px;
  font-family: 'Poppins', sans-serif;
  border-top: 3px solid #A996C7;
  border-bottom-right-radius: 50px;
  border-bottom-left-radius: 50px;
  height: 210px;
  color: white;
  position: relative;
  margin-bottom: 30px;
}

.blog-top a {
  color: white;
}

.blog-top span {
  font-size: 0.8rem;
}

.blog-top h5 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.4rem;
}

.post {
  margin-bottom: 30px;
}

.article {
  margin-bottom: 50px;
}

.article h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 2rem;
  line-height: 2.8rem;
  max-width: 70%;
  text-transform: inherit;
  text-align: left;
  margin-top: 40px;
}

.article h1::before {
  display: none;
}

.article .post {
  border-top: 3px solid #A996C7;
}

.post h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.post h3 {
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 1rem;
}

.background-post {
  width: 100%;
  height: 350px;
  border-radius: 50px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.sidebar-posts {
  margin-top: 30px;
}

.sidebar-posts h2 {
  border-bottom: 3px solid #A996C7;
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.sidebar-posts .blog-top {
  height: 190px;
}

.sidebar-posts .blog-top h5 {
  font-size: 0.9rem;
}

.sidebar-posts .blog-top button[type=leggi] {
  font-size: 0.9rem;
}

/* footer */

.footer a,
.footer-informativi a {
  font-weight: 600;
  color: white;
}

.footer {
  background-color: #1E323C;
  padding-top: 30px;
  padding-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-bottom {
  background-color: #A996C7;
}

.info-footer {
  color: white;
  font-size: 0.8rem;
}

.footer-informativi {
  padding-top: 10px;
  padding-bottom: 10px;
}

.footer-informativi p {
  margin-bottom: 0;
  color: white;
  font-size: 0.7rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

/* media queries incasinate */

@media only screen and (max-width: 1375px) {
  .header-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .menu li:not(:last-child) {
    margin-right: 0;
  }

  .menu {
    padding-right: 0;
  }

  .main-menu a {
    padding: 5px 5px;
  }
}


@media only screen and (max-width: 1199px) {

  .servizi-home h2 {
    font-size: 1.4rem;
  }

  .loop-servizi {
    padding-left: 30px;
    padding-right: 30px;
  }

  .logo-top-head {
    width: 260px;
  }

  .main {
    margin-top: 90px;
  }

  .logo-top-head svg #lettering {
    display: none;
  }

  .slide-caption h3 {
    font-size: 2rem;
  }

  .servizio-home h3 {
    min-height: 44px;
  }

}

@media only screen and (max-width: 991px) {

    .no-padding-right {
      padding-left: 0;
    }

    .no-padding-left {
      padding-right: 0;
    }

    .flex-height {
        display: block;
    }

    .menu-mobile .menu-contain > ul > li > a {
        width: fit-content;
        margin: 0 auto;
        padding: 5px 10px;
        color: white;
    }

    .menu-mobile .menu-contain > ul > li > a:hover {
        color: #1E323C;
        border: 1px solid;
        border-radius: 20px;
    }

    .menu .sub-menu {
        left: auto;
        transform: none;
        z-index: 1000;
        width: 75%;
        margin: 0 auto;
        background-color: white;
    }

    .menu nav > ul > li {
        height: auto;
    }

    .menu ul {
        display: block;
        float: none;
    }

    .menu {
      transform: translateY(calc(-120%));
      z-index: 99;
      height: auto;
      position: fixed;
      top: 0;
      padding-top: 130px;
      right: 0;
      width: 100%;
      height: 80%;
      background-color: white;
      transition: opacity 600ms cubic-bezier(0.23, 1, 0.32, 1);
      background-color: #a996c7;
      border-radius: 70px;
    }

    .menu.menu-ham {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        transition: transform 0.6s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    }

    .menu-contain .main-menu li,
    .menu-contain .main-menu .sub-menu li {
        display: block;
        width: 100%;
        text-align: center;
        text-transform: uppercase;
    }

    .menu-contain .main-menu .sub-menu {
        display: block;
    }

    .main-menu ul {
        position: relative;
    }

    .servizi-home h2 {
      font-size: 1.2rem;
      max-width: 90%;
    }

    .loop-servizi {
      padding-left: 10px;
      padding-right: 10px;
    }

    .about .testo h4 {
      width: 100%;
      margin-bottom: 30px;
    }

    .corsi .descrizione h5, .servizi .descrizione h5 {
      max-width: 100%;
    }

    .corsi .descrizione p, .servizi .descrizione p {
      -webkit-column-count: 1;
      -moz-column-count: 1;
      column-count: 1;
    }

    textarea {
      max-width: 440px;
    }

    .slide {
      background-image: none !important;
      max-width: 100%;
      left: inherit;
    }

    .slide-caption {
      left: inherit;
    }

    .flex-control-nav {
      z-index: 10;
      width: 100%;
      top: 170px;
      left: inherit;
    }

}

@media only screen and (max-width: 600px) {

  .servizi-home h2 {
    font-size: 1rem;
    font-weight: 600;
    padding-top: 20px;
  }

  .logo-top-head {
    width: 300px;
  }

  .loop-servizi {
    padding-left: 0;
    padding-right: 0;
  }

  .main {
    margin-top: 95px
  }

  .slide-caption h3 {
    font-size: 1.7rem;
  }

  .form h2 {
    font-size: 1.8rem;
  }

  .form {
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
  }
  .servizi-home::before {
    height: 110px;
  }
}

@media only screen and (max-width: 500px) {
  .footer-dati {
    display: -webkit-block;
    display: -ms-block;
    display: block;
  }

  .logo-top-head {
    width: 250px;
  }

  .main {
    margin-top: 90px
  }
}
