

/* RESET */
html,
body {
    position: relative;
    padding: 0;
    margin: 0;
    height: 100%;
}

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

a {
    text-decoration: none;
    color: #226f91;
    letter-spacing: normal;
    font-weight: 500;
}

html {
  scroll-behavior: smooth;
}

.nav-bar  {
    background-color:#033642;
    height: 90px;
    width: auto;
    margin: 0 auto;

}
.navbar-inverse {
    background-color: transparent;
    border: none;
}
.navbar-inverse .navbar-toggle {
    border-color: transparent;
}
.navbar-inverse .navbar-collapse {
    border-color: transparent;
}
.navbar-collapse {
      border-top: none;
    }

.navbar-inverse .navbar-nav>li>a {
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 400;
    padding-top: 8px;
    letter-spacing: 1px;
}

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

.container {
    margin: 30px auto;
    width: 70%;
}

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

.logo {
    width: 196px;
    float: left;
    padding-top: 20px;
    padding-left: 20px;
    width: 50%;
    position: relative;
    z-index: 2;
}

.logo a {
    display: block;
}

.logo a img {
    width: 100%;
    max-width: 120px;
    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: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 400;
}

.articolo-wrap {
    position: relative;
}



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

.primary-navigation ul li a:hover {
    color: #99111F;
    text-decoration: underline;
}

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

.hamburger-btn {
    color: #fff;
    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: rgba(215,76,83,0.8);
}

/* 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: auto;
    position: absolute;
    top: calc(50% - 150px);
    /* left: 0; */
    /* right: 0; */
    padding-left: 160px;
}

h1 {
    font-size: 32px;
    font-family: 'Source Sans Pro', sans-serif;
    color: #fff;
    text-align: left;
    letter-spacing: 1px;
    font-weight: 300;
}

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

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



.bold {
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    font-size:32px;
    font-weight: 700;
    text-align: left;
}

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

.intro {
  padding-bottom: 30px;
}

.text-lilla {
    color: #875A6F;
}

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

.text-corallo {
    color: #D74C53;
}

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

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

h3 {
    font-size: 36px;
    letter-spacing: normal;
    font-family: Source Sans Pro, sans-serif;
    font-weight: 300;
    color: #226f91;
}

h4 {
    font-family: Source Sans Pro, sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 40px;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #033642;
    text-align: left;
    letter-spacing: normal;
}

h5 {
    font-family: Source Sans Pro, sans-serif;
    font-size: 21px;
    line-height: 22px;
    margin-bottom: 20px;
    letter-spacing: normal;
    color: #033642;
    text-transform: uppercase;
    font-weight: 700;
}

h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    font-size: 21px;
    line-height: 25px;
    margin-top: 10px;
    color: #033642;
    text-align: left;
    letter-spacing: normal;
}

.txt {
    font-family: Source Sans Pro, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    margin-top: 10px;
    margin-bottom: 30px;
    letter-spacing: normal;
}



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



.first-articlecontainer {
    width: 80%;
    text-align: center;
    margin-bottom: 30px;
    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;
}

.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;
    text-decoration: underline;
}

.cv {
    float: left;
    width: 30%;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 10px;
    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;
}

.bold.glifo {
    display: block;
    font-size: 36px;
}

.rale {
    font-size: 18px;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: normal;
    text-align: left;
}

.qualifica {
    font-family: Source Sans Pro, sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 18px;
    margin-top: 10px;
    color: #033642;
    text-align: left;
    margin-bottom: 30px;
    letter-spacing: normal;
}


.grigio {
    background-color: #F6F6F6;
}

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



.textboxpromo {
    text-align: left;
    padding: 30px;
    width: 40%;
    float: left;
}

.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;
}



.shop {
    color: #226f91;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 50px;
    padding: 8px 20px 8px 0px;
    width: 220px;
    text-align: center;
    letter-spacing: normal;
    margin-top: 10px;
}

.paragrafo img {
    width: 510px;
}

footer {
    background-color: #e4e4e4;
}

.container-footer {
    margin: 30px auto 0;
    width: 80%;
}
h7 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 25px;
  color: #033642;
  text-align: left;
  margin-top: 30px;
}

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

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

.piede-sx img {
    height: 70px;
    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: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #575756;
    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: 30px;
        line-height: 30px;
    }
    .servizi, .cv {
        float: none;
        width: 100%;
    }
    .container-footer {
      width: 100%;
      }
}

@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: 60vh;
  }
  .nav-bar {
    height: 80px;
  }

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

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

.navbar-nav {
      max-width: 150px;
      float: right;
}

  .logo a img {
    max-width: 100px;
  }
  .container {
      width: 80%;
  }
  .servizi, .cv {
      float: none;
      width: 100%;
  }
  .claim {
    padding-left: 30px;
    top: calc(50% - 60px);
  }

  .primary-navigation {
    width: 40%;
  }
    h1 {
        font-size: 18px;
        line-height: 22px;
  }
  .bold {
    font-size: 21px;
  }


    .txt {
    font-size: 16px;
    line-height: 26px;
  }
    h4, h3 {
      font-size: 32px;
  }
  h5, h6 {
    font-size: 20px;
  }
  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: 40px;
        background-color: rgba(215,76,83,0.8);

    }
    .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;
        text-decoration: underline;
    }

    .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;
      }
}
