/*
 * Theme Name: Solidamente
 * Description: Solidamente's Wordpress theme by Hg blu
 * Author: Hg blu
 * Version: 1.0
*/

body {
    font-family: "Raleway", sans-serif;
    color: rgb(142, 142, 142);
}

h1, h2, h4, h5 {
    font-family: "Lora", serif;
    font-weight: 400;
}

p {
    font-size: 1.2rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: 3rem;
    margin-top: 3.5rem;
}

.hero-title h1::before {
    content: "• ";
    color: rgb(202, 120, 48);
}

.hero-title h1::after {
    content: " •";
    color: rgb(202, 120, 48);
}

h3 {
    font-size: 1.7rem;
    margin-top: 1.5rem;
    font-weight: 400;
    color: #000000;
}

h4 {
    font-size: 1.5rem;
    color: rgb(63, 160, 175);
}

h5 {
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    line-height: 1.6;
}

h6 {
    font-size: 1.5rem;
    color: rgb(202, 120, 48);
    margin-top: 9rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.chi-siamo svg {
    width: 1rem;
}

button {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: rgb(202,120,48);
    border-radius: 50%;
    width: 3rem;
    min-height: 3rem;
    border: none;
    z-index: 1000;
    padding: 0 !important;

}

button svg {
    width: 1.5rem;
}

.menu-bg {
    background-color: rgb(202, 120, 48);
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
}

#home h2 {
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: #222;
    font-family: Raleway, sans-serif;
}

#home h3 {
    font-size: 1.5rem;
    color: inherit;
    margin-top: 0;
    margin-bottom: 1rem;
}

#home h4 {
    padding-top: 8rem;
    font-size: 2rem;
    color: #8e8e8e;
}

#home h4::after {
    content: " •";
    color: rgb(202,120,48);
}

#home h4::before {
    content: "• ";
    color: rgb(63,160,175);
}

#subtitle {
    font-family: "Lora",serif;
    font-size: 1.3rem;
    color: #777777;
}

#home-logo {
    margin-bottom: -1.5rem !important;
}

#home-logo img {
    height: 130px !important;
    max-width: 100%;
}

/*#home ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

#home li {
    width: 17%;
    margin: auto;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgb(63,160,175);
    border-radius: 50%;
    padding-top: 7.5%;
    padding-bottom: 7.5%;
    transition: 0.3s;
    margin-right: min(15px);
    margin-left: min(15px);
    width: max(13rem) !important;
    padding-top: max(5.8rem) !important;
    padding-bottom: max(5.8rem) !important;
}

#home li:hover {
    font-size: 1.3rem;
    padding-top: max(6.2rem) !important;
    padding-bottom: max(6.2rem) !important;

}

#bolle {
    padding-right: 2rem;
    min-height: 13.75rem;
}*/

#home ul {
    display: flex;
    flex-flow: row wrap;
    position: relative;
    list-style: none;
    padding-left: 0;
    justify-content: center;
  }
  
#home li {
    margin: 10px;
    flex: 0 1 calc(20% - 20px); /* <-- adjusting for margin */
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    background-color: rgb(63,160,175);
    border-radius: 50%;
    height: 0;
    padding-top: calc(10% - 20px);
    padding-bottom: calc(10%);
    position: relative;
    transition: 0.3s;

/*
    line-height: 1.1em;

    margin-right: min(15px);
    margin-left: min(15px);
    width: max(13rem) !important;
    padding-top: max(5.8rem) !important;
    padding-bottom: max(5.8rem) !important;*/
  }

  #home li:hover {
      background-color: rgb(202, 120, 48);
      font-size: 1.1rem;
      /*border: 1px rgb(63,160,175) solid;
      padding-top: calc(10% - 22px);
        padding-bottom: calc(10%);*/
  }

  #home li a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;

  }

#home img {
    width: 100%;
    height: auto;
}

.menu-content {
    z-index: 103;
}

.main-voci-menu, .sub-voci-menu {
    z-index: 103;
    position: relative;
    height: 100%;
}

.main-voci-menu {
    padding-right: 6rem;
    color: #ffffff;
}

.sub-voci-menu {
    padding-left: 6rem;
    color: #000000;
}

.main-voci-menu div nav a, .sub-voci-menu div nav a {
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 1.2rem 0rem;
}

#menu-btn {
    color: white;
    display: none;
}

.menu-item {
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 1.2rem 0rem;
}

.separator {
    width: 1px;
    min-height: 100%;
    background: rgb(255, 255, 255);
    position: relative;
    z-index: 103;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-paragraph {
    margin: 8rem 0;
}

.post-content .col-md-9{
    margin-top: 5rem;
}

.post-content p{
    font-size: 1rem;
}

.post-content img {
    width: 5rem;
    height: 5.15rem;
}

.banner {
    background: rgb(63,160,175);
    margin: 2rem 0;
}

.banner img {
    height: 3.3rem;
    margin-bottom: 0.2rem;
}

.banner a {
    color: #ffffff;
}

.banner-item {
    padding: 2rem 0.5rem;
    display: block;
}

.linkedin {
    width: 1rem;
    background-color: rgb(63, 160, 175);
    border-radius: 50%;
}

#footer {
    background-color: rgb(63, 160, 175);
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.filosofia h3, .chi-siamo h3 {
    color: rgb(63, 160, 175);
}

.chi-siamo img {
    width: 7rem;
    min-height: 7rem;
}

.hdr-logo {
    width: 21rem;
    margin-left: 2rem;
}

a:hover {
    color: inherit;
    text-decoration: underline;
}

.contact-form {
    padding: 0.5em !important;
    background-color: rgb(202,120,48) !important;
    font-size: 1.2em !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.bar1, .bar2, .bar3 {
    width: 1.5rem;
    height: 0.1875rem;
    background-color: #fff;
    margin: 0.375rem auto;
  }

.change .bar1 {
    transform: rotate(-45deg) translate(-0.8125rem) ;
  }
  
  .change .bar2 {
    opacity: 0;
  }
  
  .change .bar3 {
    transform: rotate(45deg) translate(-0.8125rem) ;
  }

  div.wpforms-container-full .wpforms-form input.wpforms-field-medium, div.wpforms-container-full .wpforms-form select.wpforms-field-medium, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
      max-width: 100% !important;
  }
  
  .banner a:hover {
    text-decoration: underline;
    text-decoration-color: rgb(202, 120, 48);
    color: #ffffff;
}

div.swiper-container {
    display: inline-block;
    height: 1.65rem;
}

.SolidaLoop1 {
    display: inline-block;
    font-weight: 100;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: right;
}

.SolidaLoop2 {
    color: rgb(202, 120, 48);
    font-size: 1.5rem;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.swiper-wrapper {
    text-align: right;
}

.swiper-slide {
    color: rgba(255, 255, 255, 0);
}

.swiper-slide-active {
    color: rgb(63, 160, 175);
}

#particles-js {
    height: 100vh;
    width: 100%;
    z-index: -1;
    position: absolute;
    top: 8rem;
}

#particles-js-2 {
    height: 10rem;
    width: 100%;
    z-index: -1;
    position: absolute;
    top: 8rem;
}

#particles-js-filosofia {
    height: 10rem;
    width: 100%;
    z-index: -1;
    position: absolute;
    top: 8rem;
}

#particles-js-chi-siamo {
    height: 10rem;
    width: 100%;
    z-index: -1;
    position: absolute;
    top: 8rem;
}

div#Formazione .col-md-9 h4 {
    margin-top: 2rem;
}

  @media screen and (max-width: 767px) {
    #home li {
            margin: 10px;
            flex: 0 1 calc(50% - 20px); /* <-- adjusting for margin */
            padding-top: calc(25% - 20px);
            padding-bottom: calc(25%)
            /*text-align: center;
            font-size: 1.4rem;
            font-weight: bold;
            cursor: pointer;
            background-color: rgb(63,160,175);
            border-radius: 50%;
            height: 0;
            padding-top: calc(10% - 20px);
            padding-bottom: calc(10%);
            position: relative
            transition: 0.3s;
        
        
            line-height: 1.1em;
        
            margin-right: min(15px);
            margin-left: min(15px);
            width: max(13rem) !important;
            padding-top: max(5.8rem) !important;
            padding-bottom: max(5.8rem) !important;*/
    }

    .sub-voci-menu, .main-voci-menu {
        padding: 0;
    }

    img.fix-img-height-mobile {
        min-height: auto;
    }

    div#wpforms-292 {
        width: 100% !important;
    }

    .hdr-logo {
        width: 10rem;
        margin-left: 1rem;
    }

    .post-content .col-md-9{
        margin-top: 2rem;
        margin-bottom: -2rem;
    }

    .main-voci-menu div nav a, .sub-voci-menu div nav a {
        padding: 0.8rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    #home h4 {
        font-size: 1.93rem;
    }

    /*#home li:hover {
        width: 8rem;
        padding-top: 8%;
        padding-bottom: 8%;
        font-size: 1.15rem;
        margin-bottom: 1rem;
        background-color: rgb(202, 120, 48);
    }

    #particles-js-filosofia {
        height: 44rem;
    }

    #particles-js-chi-siamo {
        height: 70rem;
    }

    #particles-js-2 {
        height: 53rem;
    }*/

  }

  @media screen and (min-width: 768px) and (max-width: 992px) {
      h3 {
          font-size: 1.5rem;
          margin-top: 1.7rem;
      }

      /*#home li:hover {
        width: 8rem;
        padding-top: 8%;
        padding-bottom: 8%;
        font-size: 1.15rem;
        margin-bottom: 1rem;
        background-color: rgb(202, 120, 48);
    }*/

    #home li {
        font-size: 1.05rem;
    }

    #footer {
        font-size: 0.9rem;
    }

    /*#particles-js-2 {
        height: 44rem;
    }

    #particles-js-filosofia {
        height: 40rem;
    }

    #particles-js-chi-siamo {
        height: 54rem;
    }*/
  }

  @media screen and (max-width: 425px) {
    #home li {
        font-size: 1rem;
    }
  }