/* RISTRUTTURO IN CLASSE A */
/* ----------------------- */

/* */
body {
    display: block;
    position: relative;
    width: 100%;
    font-size: 10pt;
    font-family: 'Lato', sans-serif;
}
.container {
    max-width: 960px;
}


/* 
 * Typography
 ---------------------------------------- */
.title-box h1 {
    margin-top: 10px;
}
.page-title-box h2 {
    font-weight: 300;
    font-size: 18pt;
    letter-spacing: 1.1px;
    margin-top: 13px;
    text-transform: none;
    font-style: normal;
}
.page-title-box .subtitle {
    font-weight: 300;
    font-size: 8pt;
}
h2 {
    font-size: 38pt;
    line-height: 1.2em;
    color: #111;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 600;
}
.big-title-box h2 {
    font-size: 47pt;
    color: #111;
    line-height: 1.2em;
}
h3 {
    font-size: 11pt;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 4px;
}
h5 {
    text-transform: uppercase;
}
.uppercase {
    text-transform: uppercase;
}
.small-txt,
.nav.small-txt {
    font-size: 8pt;
    color: #111;
}
.txt-align-center {
    text-align: center;
}
.txt-align-right {
    text-align: right;
}
.green-txt {
    color: #9AC21F;
}
h1 > .green-txt,
h2 > .green-txt,
h3 > .green-txt,
h4 > .green-txt {
    color: #50ab3a;
}

.first-letter {
    position: relative;
    float: left;
    font-size: 50pt;
    font-weight: 600;
    line-height: 0.85em;
    padding-right: 3px;
}
.grid-item .first-letter {
    margin-top: -3px;
    margin-bottom: -2px;
    padding-right: 5px;
}
a {
    color: #9AC21F;
    text-decoration: none;
}
a:hover {
    color: #9AC21F;
    text-decoration: underline;
}
.nav > li > a,
.email-address a {
    color: #111;
    text-decoration: none;
    background-color: transparent;
}
.nav >li > a:hover,
.email-address a:hover {
    color: #9AC21F;
    text-decoration: underline;
    background-color: transparent;
}
.privacy-policy h1,
.privacy-policy h2 {
    padding-top: 30px;
}
.privacy-policy h3,
.privacy-policy h4 {
    padding-top: 15px;
}
.privacy-policy h5 {
    padding-top: 10px;
}

/*
 * Spacers
 ---------------------------------------- */
  .spaced-top-4 {
   padding-top: 4px;
 }
 .spaced-top-10 {
   padding-top: 10px;
 }
 .spaced-bottom-10 {
   padding-bottom: 10px;
 }
 .spaced-top-20 {
   padding-top: 20px;
 }
 .spaced-bottom-20 {
   padding-bottom: 20px;
 }
.spaced-top-26 {
   padding-top: 26px;
 }
 .spaced-top-30 {
   padding-top: 30px;
 }
 .spaced-bottom-30 {
   padding-bottom: 30px;
 }
 .spaced-top-40 {
   padding-top: 40px;
 }
 .spaced-bottom-40 {
   padding-bottom: 40px;
 }
 .spaced-top-60 {
   padding-top: 60px;
 }
 .spaced-bottom-60 {
   padding-bottom: 60px;
 }
.spaced-top-80 {
   padding-top: 80px;
 }
 .spaced-bottom-80 {
   padding-bottom: 80px;
 }


/*
 * Graphic Elements
 ---------------------------------------- */
img {
    max-width: 100%;
}
.absolute {
    position: absolute;
}
.img-caption {
    display: block;
    position: relative;
    padding: 12px 20px 28px 14px;
    background-color: #9ac21f;
    color: #111;
    text-transform: uppercase;
    font-size: 16pt;
    font-weight: 400;
    font-style: italic;
}
.img-caption.small-txt {
    display: block;
    position: relative;
    padding: 14px 10px;
    background-color: #9ac21f;
    text-transform: uppercase;
    font-size: 8pt;
}
.extend-right {
    position: absolute;
    width: 110%;
}
.extend-more {
    width: 120%;
}

.move-left {
    /* position: absolute; */
    margin-left: -80px;
}
.move-up-160 {
    position: absolute;
    margin-top: -160px;
    width: 100%;
}
.on-top {
    z-index: 150;
}
.on-bottom {
    z-index: 10;
}
hr {
    border-top: 2px solid #C0C0C0;
}
hr.thick.green {
    border-top: 4px solid #9ac21f;
}
.title-box img {
    padding-top: 10px;
    padding-bottom: 20px;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}
.title-box .description-box {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 14px;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}
.magazine-cover {
    position: relative;
    display: block;
    /* height: 308px; */
    padding-top: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #111;
}
.magazine-preview {
    padding-top: 20px;
}
.il-nostro-magazine-box {
    display: block;
    position: relative;
    height: 308px;
}
section div {
     position: relative;
}
.contact-logo-box {
    text-align: right;
    margin-top: 100px;
}
.process-title-box img {
    max-width: 182px;
}
/*
 * Buttons
 ---------------------------------------- */
.btn {
    color: #111;
}
.btn {
  position: relative;
  background-color: transparent;
  border-color: #333;
  color: #111;
  background-image: none;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: none;
  /* font-size: 90%;*/
  border-radius: 0px;
  -webkit-transition: color 0.5s ease, border 0.5s ease;
  -moz-transition: color 0.5s ease, border 0.5s ease;
  -o-transition: color 0.5s ease, border 0.5s ease;
  transition: color 0.5s ease, border 0.5s ease;
}
.btn:focus, .btn:hover,
.btn:active:focus {
    background-color: transparent;
    border-color: #9ac21f;
    color: #9ac21f;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.btn.medium {
    padding: 13px 15px;
    font-size: 95%;
}
.btn.long {
    text-align: left;
    width: 290px;
}
.btn.medium.arrow:after {
    font-family: 'FontAwesome';
    font-size: 28pt;
    content: '';
    display: block;
    position: absolute;
    top: -7px;
    right: 8px;
    width: 20px;
    height: 20px;
    z-index: 100;
}

ul.nav {
    position: relative;
    display: block;
    padding-left: 0px;
    list-style: none;
    text-transform: uppercase;
}
ul.nav li {
    position: relative;
    display: inline-block;
    padding-left: 0px;
    padding-right: 0px;
}
ul.nav.right {
    text-align: right;
}
ul.nav.right li {
    padding-left: 0px;
    padding-right: 0px;
}
.magazine-cover a::after {
    display: block;
    position: absolute;
    content: '';
    z-index: 150;
    top: 0px;
    left: 0px;
    padding-top: 13px;
    width: 100%;
    height: 320px;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.magazine-cover:hover a::after {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.right-arrow-link {
    display: block;
    position: absolute;
    color: transparent;
    top: 50%;
    right: -20px;
    margin-top: -23px;
    width: 23px;
    height: 43px;
    background-image: url('../images/right-arrow-big.png');
    background-position: top left;
    background-repeat: no-repeat;
}
.right-arrow-link:hover {
    background-position: bottom left;
}
.right-arrow-link a {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    color: transparent !important;
}
/* 
 * Masonry Layout Grid
 ---------------------------------------- */
.grid {
  max-width: 960px;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-item {
  position: relative;
  float: left;
  width: 230px;
  height: auto;
  padding: 10px 15px 0px;
  margin-top: 40px;
  /*border-top: 1px solid #000;*/
}
.grid-item .box-content {
    border-top: 1px solid #000;
    padding-top: 15px;
}

.grid-item h3 {
    margin: 0px;
}

.grid-item > * {
  margin: 0;
  padding: 0;
}

/*
 * Slider
 ---------------------------------------- */

.home-slider {
  position: relative;
  /*margin-left: -20px;
  margin-right: -20px;*/
}
.slider {
  display: block;
  position: relative;
  height: 450px;
  /*margin-left: -35px;*/
  /*margin-right: -35px;*/
  padding-left: 70px;
  padding-right: 70px;
}
.slider li {
  display: block;
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
}
.unslider-nav {
  position: absolute;
  /* display: table; */
  display: none;
  width: 100%;
  margin-top: -30px;
  z-index: 999;
}
.unslider-nav ol {
  display: block;
  width: 100%;
  text-align: center;
}
.unslider-nav li {
  display: inline-block;
  cursor: pointer;
  width: 12px;
  height: 12px;
  border: 2px solid #fff !important;
  background-color: #fff;
  border-radius: 50%;
  color: transparent;
  margin: 0px 3px !important;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(25, 25, 25, 0.3);
  -moz-box-shadow:    0px 0px 3px 0px rgba(25, 25, 25, 0.3);
  box-shadow:         0px 0px 3px 0px rgba(25, 25, 25, 0.3);
}
.unslider-nav li.unslider-active {
  border: 2px solid #edb255 !important;
  background-color: #edb255;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(214, 151, 54, 0.6);
  -moz-box-shadow:    0px 0px 3px 0px rgba(214, 151, 54, 0.6);
  box-shadow:         0px 0px 3px 0px rgba(214, 151, 54, 0.6);
}
.unslider-arrow {
  display: block;
  position: absolute;
  z-index: 999 !important;
  top: 50%;
  margin-top: -23px;
  left: 0px;
  width: 23px;
  height: 42px;
  color: transparent !important;
}
.unslider-arrow.prev {
  left: 10px;
  background-image: url(../images/arrow-left.png);
  background-repeat: no-repeat;
  background-position: top left;
}
.unslider-arrow.next {
  right: 10px !important;
  background-image: url(../images/arrow-right.png);
  background-repeat: no-repeat;
  background-position: top left;
}
.unslider .img-caption {
    display: block;
    position: absolute;
    width: 290px;
    left: -70px;
    bottom: 50px;
    padding-left: 20px;
}

/* cookie law banner */
#nibirumail_cookie_advice {
    background: #f3f3f3 !important;
    color: #111 !important;
    max-width: 320px !important;
    padding: 20px !important;
}
#nibirumail_cookie_advice a {
    color: #9AC21F !important;
    text-decoration: none !important;
}
#nibirumail_cookie_advice a.nibirumail_agreement {
    display: block;
    padding: 5px 10px;
    margin-right: 20px;
    background: #9AC21F;
    color: #fff !important;
    text-transform: uppercase;
    width: 120px;
    margin: auto;
    margin-top: 10px;
}

/*
 * Responsive layouts
 ---------------------------------------- */
 @media screen and (max-width: 991px) {
    .move-left {
        margin-left: 0px;
    }
    .big-image-box .move-up-160 {
        position: relative;
        margin-top: 105px;
    }
    .extend-right,
    .extend-more {
        width: 100%;
    }
    .right-arrow-link {
        top: auto;
        bottom: -70px;
        right: 0px;
    }
    #target .img-caption {
        position: relative;
    }
    #target-col-caption {
        clear: left;
    }
    #target-col-pic img {
        margin-top: 49px;
    }
    #target-col-pic .img-title {
        padding-top: 0px;
        text-align: right;
        margin-top: -24px;
    }
    .process-title-box img {
        max-width: 150px;
    }
    .process-title-box .img-caption {
        margin-top: 30px;
    }
    .process-img-box {
        text-align: right;
        margin-top: 30px;
    }
    #magazine div.txt-align-right {
        text-align: left;
    }
    .magazine-cover a::after {
        height: 330px;
    }
}
@media screen and (max-width: 720px) {
    .grid {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        padding-right: 45px;
    }
    .grid-item {
        position: relative !important;
        top: 0px !important;
        width: 100%;
        margin-top: 0px;
    }
}
@media screen and (max-width: 768px) {
    .title-box img {
        border: none;
    }
    .title-box h1 {
        padding-top: 10px;
        border-top: 1px solid #111;
        text-align: center;
    }
    .title-box .description-box {
        border-top: none;
        text-align: center;
        margin-top: -20px;
        padding-top: 0px;
    }
    .page-title-box h2 {
        margin-top: 0px;
        padding-top: 0px;
    }
    .focus-title-box .spaced-top-80 {
        padding-top: 20px;
        margin-bottom: 40px;
    }
    .big-image-box {
        overflow: hidden;
        display: block;
        margin-right: 15px;
        padding-bottom: 86px;
        overflow: hidden;
    }
    .big-image-box img {
        max-width: 85%;
    }
    .big-image-box .img-caption {
        margin-top: -180px;
        margin-left: 60px;
    }
    .right-arrow-link {
        right: 0px;
        top: 50%;
        bottom: auto;
    }
    .process-title-box .img-caption {
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .il-nostro-magazine-box {
        height: auto;
    }
    .magazine-cover {
        max-width: 290px;
        display: inline-block;
        padding-top: 20px;
    }
    .magazine-overview-box {
        display: none;
    }

    .contact-logo-box {
        padding-top: 40px;
    }
    #footer .txt-align-right {
        text-align: left;
        padding-left: 25px;
    }
    .contact-logo-box {
        text-align: left;
        margin-top: 20px;
    }
    
}

@media screen and (max-width: 550px) {
    body {
        overflow-x: hidden;
    }
    .nav > li > a {
        padding: 4px 10px;
    }
    .credits-block {
        display: none;
    }
    .contacts-block {
        width: 100%;
    }
    .contacts-block ul.right > li:nth-child(1) {
        float: left;
    }
    .title-box img {
        max-width: 245px;
    }
    .page-title-box h2 {
        font-size: 16pt;
    }
    .big-title-box h2 {
        padding-top: 0px;
        margin-top: 0px;
        font-size: 30pt;
        font-weight: 800;
    }
    .right-arrow-link {
        right: 0px;
        bottom: 10px;
        top: auto;
    }
    h2 {
        font-size: 25pt;
        font-weight: 800;
    }
    #target-col-caption,
    #target-col-pic {
        width: 100%;
    }

    .slider {
        padding-left: 0px;
        padding-right: 0px;
    }
    .unslider .img-caption {
        left: 0px;
        width: 100%;
        bottom: 0px;
    }
    .unslider-fade .unslider-wrap li {
        height: 450px;
    }
    .grid-item .box-content {
        padding-top: 25px;
        padding-bottom: 10px;
    }
    #contact .map-container {
        margin-left: -25px;
        margin-right: -25px;
    }
    #colorbox {
        width: 100% !important;
        height: 95% !important;
    }
}