

/* RESET */
html,
body {
    position: relative;
    padding: 0;
    margin: 0;
    height: 100%;
    background-color: #00212e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #b48c40;
    letter-spacing: normal;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 18px;
}

a, .glossario {
    text-decoration: underline;
    color: #fff;
    letter-spacing: normal;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 24px;
}

a, .footer-link {
    text-decoration: underline;
    color: #fff;
    letter-spacing: normal;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
}
.active {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 300;
  padding-right: 20px;
  padding-left: 20px;
  text-decoration: none;
  font-family: "Josefin sans", sans-serif;
  padding-top: 14px;
}


html {
  scroll-behavior: smooth;
}

.nav-bar  {
    height: 90px;
    width: auto;
    margin: 0 auto;
    border-radius: 0;
    text-decoration: none;

}
.navbar-inverse {
    background-color: transparent;
    border: none;
    border-radius: 0;
}
.navbar-inverse .navbar-toggle {
    border-color: transparent;
    border-radius: 0;
}
.navbar-inverse .navbar-collapse {
    border-color: transparent;
    border-radius: 0;
    padding-top: 40px;
}
.navbar-collapse {
      border-top: none;
      border-radius: 0;
    }

.navbar-inverse .navbar-nav>li>a {
    color: #b48c40;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 300;
    border-radius: none;
    text-align: right;
    letter-spacing: 0.5px;
}

.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: transparent;
}

.container {
    margin: 30px auto;
    width: 80%;
    padding-bottom: 40px;
}

.container-ocra {
    margin: 0 auto;
    width: 80%;
    padding-bottom: 40px;
}

.clear:after {
    content: '';
    display: table;
    clear: both;
}

.logo {
    width: 210px;
    float: left;
    padding-top: 60px;
    padding-left: 60px;
    padding-right: 20px;
    position: relative;
    z-index: 2;
}

.logo a {
    display: block;
}

.logo a img {
    width: 100%;
    max-width: 210px;
    height: auto;
}

.primary-navigation {
    float: right;
    padding: 0px 20px 20px 20px;
    width: 50%;
    text-align: right;
    z-index: 1;
    position: relative;
}

.primary-navigation ul li {
    list-style: none;
    display: inline-block;
    margin: 0 10px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 300;
}

.articolo-wrap {
    position: relative;
}

.articlecontainer {
      padding-bottom: 80px;
}



.primary-navigation ul li a {
    color: #fff;
    letter-spacing: 1px;
    margin-right: 10px;
}

.primary-navigation ul li a:hover {
    color: #b48c40;
}

.primary-navigation-list {
    position: relative;
}

.hamburger-btn {
    color: #b48c40;
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    width: 24px;
    height: 20px;
    margin: 6px 0;
}

.bar1, .bar2, .bar3 {
  width: 24px;
  height: 2px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

.hamburger-btn.is-active .fa:before {
    content: '\f00d';
    color: #fff;
}

/* Rotate first bar */
.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-4px, 3px) ;
  transform: rotate(-45deg) translate(-4px, 3px) ;
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
  transform: rotate(45deg) translate(-8px, -8px) ;
}

.claim {
  margin: 30px auto;
  max-width: 60%;
  position: absolute;
  top: calc(50% - 150px);
  left: 0;
  right: 0;

}

.claim-finanza {
  margin: 30px auto;
  max-width: 50%;
  position: absolute;
  top: calc(50% - 150px);
  left: 0;
  right: 0;

}
h1 {
    font-size: 58px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #FFF;
    text-align: left;
    letter-spacing: 1px;
    margin-right: 200px;

}

.hamburger-btn {
    color: #b48c40;
    display: inline-block;
    cursor: pointer;
    font-size: 21px;
    font-weight: 400;
}

.hamburger-btn.is-active .hamburger-btn:before {
    content: '\f00d';
}




.text-grey {
    color: #575756;
    font-size: 21px;
}
.text-grey-small {
    color: #575756;
    font-size: 18px;
}

.intro {
  padding-bottom: 30px;
}

.text-petrol {
    color: #43565C;
}

.border {
     border: solid 15px #875A6F;
}

.site-header {
    height: 100vh;
    background: url(../img/SS4I_sfondo.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.site-header-finanza {
    height: 100vh;
    background: url(../img/libri.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.site-header-glossario {
    height: 100vh;
    background: url(../img/glossario.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.site-header-color {
    height: 100vh;
    position: relative;
}


h3 {
    font-family: 'Baskervville', sans-serif;
    font-size: 36px;
    line-height: 40px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #b48c40;
    text-align: left;
    letter-spacing: normal;
}

h3-mod {
    font-family: 'Baskervville', sans-serif;
    font-size: 36px;
    line-height: 40px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #b48c40;
    text-align: left;
    letter-spacing: normal;
}

h3-blu {
    font-family: 'Baskervville', sans-serif;
    font-size: 36px;
    line-height: 40px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #00212e;
    text-align: left;
    letter-spacing: normal;
}

h4 {
    font-family: 'Baskervville', sans-serif;
    font-size: 24px;
    line-height: 36px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #b48c40;
    text-align: left;
    letter-spacing: normal;
    text-align: center;
}

h5 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    line-height: 20px;
    padding-top: 60px;
    letter-spacing: normal;
    color: #fff;
    text-transform: uppercase;
    font-weight: 300;
}

h6 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 18px;
    line-height: 20px;
    padding-top: 60px;
    letter-spacing: normal;
    color: #00212e;
    text-transform: uppercase;
    font-weight: 300;
}

hr {
  margin: 30px auto;
  width: 90%;
}

.short {
  width: 40px;
  margin-left: 0;
  margin-top: 10px;
}

.short-blu {
  width: 40px;
  margin-left: 0;
  margin-top: 10px;
  border: 1px solid #00212e;
}

.long {
  width: 100%;
}


.txt {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: normal;
    color: #fff;
    text-align: center;
    padding: 0 50px;
}

.txt-blu {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: normal;
    color: #00212e;
    text-align: left;
}

.txt-white {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: normal;
    color: #fff;
    text-align: left;
}

.txt-blu {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: normal;
    color: #00212e;
    text-align: left;
}

.titoletto {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 30px;
    letter-spacing: 1px;
    color: #fff;
    text-align: left;
}
.titoletto-blu {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 30px;
    letter-spacing: 1px;
    color: #00212e;
    text-align: left;
}

#pattern {
  background-image: url("pattern-flag.png");
  background-repeat: repeat;
  background-size: 30%;
}

.txt-intro {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 36px;
    margin-top: 30px;
    margin-bottom: 30px;
    letter-spacing: normal;
    color: #fff;
    width: 80%;
}

.icon {
  width: 70%;
  margin: auto;
  display: block;
}

.icon-small {
  width: 6%;
  display: block;
  vertical-align: top;
  margin-right: 30px;
  margin-top: 30px;
}

.icon-xsmall {
  width: 6%;
  display: block;
  vertical-align: top;
  margin-right: 30px;
  margin-top: 30px;
}
.foto {
  width: 80%;
  display: block;
  vertical-align: top;
  margin-right: 30px;
  margin-top: 30px;
}

.button-white {
  border: 1px solid #fff;
  background-color: transparent;
  padding: 8px 20px;
  margin-top: 20px;
  color: #cc154e;
  text-decoration: none;
  font-size: 16px;
  font-family: 'IBM Plex Sans';
  text-transform: uppercase;
  transition-duration: 0.4s;
  position: absolute;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.button-blu {
  border: 1px solid #b48c40;
  background-color: transparent;
  padding: 8px 20px;
  margin-top: 20px;
  margin-bottom: 40px;
  color: #0b1e20;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  transition-duration: 0.4s;
  position: absolute;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}



.button-white:hover {
  background-color: #fff;
  color: #00212e;
  text-decoration: none;
}

.button-blu:hover {
  background-color: #00212e;
  color: #b48c40;
  text-decoration: none;
}

.paragrafo {
    float: right;
    width: 48%;
    padding-top: 30px;
}

.column {
  float: left;
  width: 25%;
  padding: 20px 5px;

}

.column-35 {
  float: left;
  width: 35%;
  padding: 20px 5px;

}

.column-100 {
  width: 100%;
  }


.row::after {
  content: "";
  clear: both;
  display: table;
}


.first-articlecontainer {
    width: 80%;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.3em;
    margin-left: -10px;
    margin-right: -10px;
}


.articolo {
    display: inline-block;
    text-align: left;
    letter-spacing: normal;
    width: 33.33333%;
    height: auto;
    margin-top: 40px;
    padding-right: 10px;
    padding-left: 10px;
    vertical-align: top;
    position: relative;
}

.articolo:first-child {
    padding-left: 10px;
}

.articolo-img {
    width: 100%;
    display: block;
}

.img-logo-clienti {
  width: 70%;
}

.articolo-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 140px;
    padding-left: 30px;
}

.par {
    padding-left: 20px;
    bottom: 20px;
    position: absolute;
}

.non-active {
    pointer-events: none;
    cursor: default;
}

.servizi-col {
    float: left;
    width: 30%;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 20px;
    padding: 0;
    position: relative;
}

.servizi {
    float: left;
    width: 33.33333%;
    margin: 30px 0;
    padding-right: 10px;
    position: relative;
}

.prodotto img {
    width: 100%;
    border: 0;
    display: block;
}

.social {
  width: 20%;
}



.grigio {
    background-color: #F6F6F6;
}

.textbox {
    width: 40%;
    float: left;
    height: 320px;
    text-align: left;
    padding: 30px;
    background-color: #F3F3F3;
}


.textbox a {
    margin-top: 20px;
    color: #226f91;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 30px;
}



.paragrafo img {
    width: 510px;
}

footer {
    background-color: #101e20;
}

.container-footer {
    margin: 0px auto 0;
    padding: 20px 0;
    width: 80%;
}
h7 {
  font-family: 'Baskervville', serif;
  font-size: 21px;
  line-height: 35px;
  color: #b48c40;
  text-align: left;
  margin-top: 30px;
}

.piede-sx {
    float: left;
    margin-top: 30px;
    margin-left: 60px;
    margin-bottom: 30px;
}

.piede-sx p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 30px;
}

.piede-sx img {
    height: 40px;
    margin-top: 15px;
    margin-left: 10px;
    text-align: left;
}
.piede-dx {
    display: inline-block;
    margin-top: 30px;
    margin-left: 60px;
    margin-bottom: 30px;
    float: left;
}
.piede-dx p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 30px;
}


/* Media query */

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  .container {
      width: 80%;
  }
  .cv, .servizi {
      float: left;
      width: 29%;
      margin-right: 10px;
      padding: 0;
      position: relative;
  }

}



/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .logo {
        width: 40%;
    }
    .container {
        width: 80%;
    }
    h1 {
        font-size: 28px;
        line-height: 28px;
        margin-right: 0px;
    }
    .servizi, .cv {
        float: none;
        width: 100%;
    }
    .container-footer {
      width: 100%;
      }
    .social {
    width: 10%;
    }
}

@media screen and (max-width: 640px) {
    ul li.primary-navigation-single {
    display: block;
}
ul li.primary-navigation-single {
    display: inline-block;
    float: right;
}
}



@media only screen and (min-width : 150px) and (max-width : 767px){
    .site-header {
    height: 100vh;
  }
  .nav-bar {
    height: 80px;
  }
  .logo {
    padding-top: 20px;
    padding-right: 15px;
  }

  .button-white {
    font-size: 14px;
  }

  .site-header-glossario {
      background-position: right;
      height: 70vh;
  }

  h4 {
    font-size: 21px;
  }

h3 {
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 0px;
  margin-top: 10px;
}

h3-mod {
  font-family: 'Baskervville', sans-serif;
  color: #b48c40;
  text-align: left;
  letter-spacing: normal;
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 0px;
  margin-top: 35px;
}

h3-blu {
  font-size: 24px;
  line-height: 26px;
  }
  .servizi-col {
    float:none;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    /* margin-right: 20px; */
    padding-bottom: 50px;
  }

  .txt {
    padding: 0;
    font-size: 15px;
  }

  .column {
    width: 100%;
  }

  .icon-small {
    width: 20%;
    padding-top: 80px;
  }

  .txt-white, .txt-blu {
    font-size: 15px;
    line-height: 21px;
  }

  #pattern {
    background-size: 50%;
  }

  .claim-finanza {
    top: calc(50% - 310px);
  }

.container>.navbar-header {
    margin-right: -35px;
    margin-top: -15px;
  }

  .navbar-inverse .navbar-collapse {
    margin-top: 15px;
    padding-top: 0px;
  }

  .navbar-inverse .navbar-nav>li>a {
      margin-top: 20px;
      margin-left: 40px;
    }

.navbar-nav {
      float: right;
      background-color: #001823;
      max-width: 250px;
      padding: 20px;
      line-height: 25px;
}

.column-35 {
  width: 100%;
  }


  .logo a img {
    max-width: 250px;
  }
  .container {
      width: 80%;
      position: relative;
  }
  .servizi, .cv {
      float: none;
      width: 100%;
  }

  .active {
    margin-top: 20px;
    padding-top: 1px;
    padding: 0;
    margin-right: 12px;
    letter-spacing: 0.5px;
  }

  .icon-xsmall {
      width: 20%;
  }

  .primary-navigation {
    width: 40%;
  }

  h1 {
      font-size: 24px;
      line-height: 26px;
      margin-right: 0px;
  }

  .bold {
    font-size: 21px;
  }

  .social {
  width: 10%;
  }

  a, .glossario {
      text-decoration: underline;
      color: #fff;
      letter-spacing: normal;
      font-family: "Roboto", sans-serif;
      font-size: 15px;
  }

  .site-header-finanza {
    width: 100%;
  }

    .testo-header {
      font-size: 36px;
      line-height: 45px;
      color: #fff;
  }
.txt-intro {
  font-size: 15px;
  margin-top: 20px;
  line-height: 21px;
  width: 100%;
  }

  h7 {
    font-size: 18px,
  }

  .primary-navigation ul li {
    display: inline-block;
    float: right;
    margin: 0;
    font-size: 16px;
  }

    .primary-navigation-list {

        max-height: 0;
        transition: all .3s ease-in-out;
        text-align: left;
        line-height: 30px;
        background-color: #fff;
        margin-bottom: 25px;

    }
    .primary-navigation-list.opened {
        max-height: 400px;
        padding: 20px;
        width: 100%;
    }
    ul li.primary-navigation-single {
        display: block;
    }
    .primary-navigation ul li a:hover {
        color: #161717;
    }

    .primary-navigation {
      float: right;
      width: 100%;
      max-width: 150px;
    }

    .piede-dx {
        display: block;
        text-align: left;
        margin: 0 0 20px;
        float: none;
    }
    .piede-sx {
        float: none;
        margin-top: 0;
        margin-left: 0;
      }
    .piede-sx img {
        height: 60px;
        margin-left: 0;
        margin-top: 30px;
      }
}

@media only screen and (min-width : 1024px) and (max-width : 1440px) {
    h1 {
        font-size: 54px;
    }
    .txt-intro {
    font-size: 18px;
    line-height: 25px;
    }
    a, .glossario {
    font-size: 18px;
  }
  .txt-white {
    font-size: 17px;
    line-height: 24px;
  }
