html, body, .pagewrap {
    height: 100%;
}
* { box-sizing: border-box; }

body {
    font-family: 'Arial', sans-serif;
    background: #ebecec;
    color: #113c2b;
}

a, a:focus, a:hover {
    color: #113c2b;
    text-decoration: none;
}
ol, ul {
    margin-top: 0;
    margin-bottom: 0px;
    list-style-type: none;
    padding: 0;
}
li {list-style-type: none; }
#page-2 {
    background: #fff;
    position: absolute;
    width: 100%;
    min-height: 100%;
    z-index: 9999999;
}
.form-control::-webkit-input-placeholder { color: #ccc; }
.form-control:-moz-placeholder { color: #ccc; }
.form-control::-moz-placeholder { color: #ccc; }
.form-control:-ms-input-placeholder { color: #ccc; }

h1 , h2{
    font-family:'UniversBold';
    text-transform: uppercase;
}
.sub-box h2 {
    text-transform: none;
    font-family: 'Arial', sans-serif;
    margin: 10px 0;
    font-weight: bold;
}
.page-template-tpl-sub-article-video-php .sub-box h2,
.page-template-tpl-sub-article-php .sub-box h2 {
    text-transform: none;
    margin: 10px 0;
    font-weight: 100;
/*    font-family: 'IngeborgItalic';*/
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    line-height: 32px;
}
.box-foto-1 {
    background-image: url('../img/img-box-01.png');
    height:400px;
    width: 400px;
    max-width: 400px;
}
.box-foto-2 {
    background-image: url('../img/img-box-02.png');
    height:400px;
    width: 100%;
    max-width: 400px;
}
/* center item vertical */
.table-wrap{
    display: table;
    width: 100%;
    height: 100%;
}

.table-item{
    display: table-cell;
    vertical-align: middle;
}
/*========================
GRID
==========================*/

.grid {
    background: transparent;
    max-width: 1328px;
    margin: -30px auto -20px auto;
}
.grid-news {
    max-width: 1328px;
    margin: 0 auto;
}
/* clearfix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/*========================
GRID-ITEM
==========================*/

/*.grid-item {
  width: 400px;
  height: 400px;
  margin: 20px;
  float: left;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;

}*/
.grid-sizer,
.grid-item { width: 33.33333333%; }

.grid-item{
    position: relative;
    height: 440px;
    padding: 20px;
}

.grid-item > div{
    position: relative;
    background-color: green;
    height: 100%;
}

/* 2 columns wide */

.grid-item--width2 {
    width: 66.66666667%;
}
.grid-item--height2 { height: 880px; /*max-width: 400px; margin:20px 0;*/ }


.grid-item:hover {
    transform: scale(1.03);
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
.orizontal-box.reverse-order .fol-txt-box > div {
    margin-left: 0px;
}
/*========================
GRID-ITEM END
==========================*/

.fol-box-shadow > div{
    -webkit-box-shadow: 11px 21px 51px -20px rgba(0,0,0,0.75);
    -moz-box-shadow: 11px 21px 51px -20px rgba(0,0,0,0.75);
    box-shadow: 11px 21px 51px -20px rgba(0,0,0,0.75);
}
.orizontal-box .fol-image-box {
    position: relative;
    float: left;
    overflow: hidden;
    width: 50%;
    padding-right: 0px;
    background-color: #ffffff;
    height: 100%;
    z-index: 1;
}

.vertical-box .fol-image-box{
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding-bottom: 20px;
    height: 50%;
    z-index: 1;
}

.vertical-box.reverse-order .fol-image-box{
    padding-bottom: 0px;
    padding-top: 20px;
}

.fol-image-box > div{
    position: relative;
    width: 100%;
    height: 100%;
}

.fol-image{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/*#box-1 .fol-image{
    background-image: url("../img/img-box-01.png");
}

#box-2 .fol-image{
    background-image: url("../img/img-box-02.png");
}

#box-3 .fol-image{
    background-image: url("../img/img-box-03.png");
}

#box-4 .fol-image{
    background-image: url("../img/img-box-04.png");
}
#box-5 .fol-image{
    background-image: url("../img/img-box-05.png");
}
#box-6 .fol-image{
    background-image: url("../img/img-box-06.png");
}*/

.orizontal-box .fol-txt-box{
    position: relative;
    width: 50%;
    float: left;
    background: #fff;
    height: 100%;
    z-index: 2;
}

.orizontal-box .fol-txt-box > div{
    position: relative;
    height: 100%;
    background: #fff;
    /*  margin-left: -20px;*/
}

.vertical-box .fol-txt-box{
    position: relative;
    height: 50%;
    background: #fff;
    z-index: 2;
}

.vertical-box .fol-txt-box > div{
    position: relative;
    background: #fff;
    margin-top: -20px;
    height: 440px;
}
.fol-txt-box p{
    font-size:16px;
}

.vertical-box.reverse-order .fol-txt-box > div{
    margin-top: 0px;
}
.orizontal-box.reverse-order .fol-image-box{
    padding-right: 0;
}
.orizontal-box .fol-txt {
    height: 315px;
    overflow: hidden;
    padding: 0px 12%;
}

.vertical-box .fol-txt {
    height: 355px;
    overflow: hidden;
    padding: 0px 10%;
}

.fol-txt h2 {
    text-transform: uppercase;
}
.fol-txt h6 {
    color:#009a3d;
    font-weight: 600;
    font-size: 16px;
}
.fol-button-cta {
    text-align: right;
    background-color: #009a3d;
    /*padding: 5px 0px;*/
}
a.button-cta {
    display: block;
    height: 85px;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    width: auto;
    text-align: right;
    padding: 0px 12%;
    transition: padding-right 0.2s ease-out;
}

a.button-cta:hover{
    color: #fff;
    padding-right: 8%;
}

a.button-cta:active,
a.button-cta:focus{
    color: #fff;
}


/*
.orizontal-box:hover .fol-image,
.vertical-box:hover .fol-image,
.vertical-box:hover .fol-image .box-number-blur
{
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.orizontal-box .fol-image,
.vertical-box .fol-image {
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  -webkit-transform: scale(1.0);
  -moz-transform: scale(1.0);
  -o-transform: scale(1.0);
  -ms-transform: scale(1.0);
  transform: scale(1.0);
}*/

.box-number {
    position: absolute;
    z-index: 2;
    margin: 25px;
    border: 1px solid #fff;
    padding: 1px 30px;
    color: #009a3d;
    -webkit-box-shadow: 20px 27px 70px -21px rgba(0,0,0,8);
    -moz-box-shadow: 20px 27px 70px -21px rgba(0,0,0,8);
    box-shadow: 20px 27px 70px -21px rgba(0,0,0,0.8)
}

.box-number-blur{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-filter: blur(10px);
    filter: blur(3px);
    background-repeat: no-repeat;
    -moz-filter: blur(30px);
    -ms-filter: blur(10px);
    /*opacity: 0.9;*/
}

.box-number h1{
    font-weight: 900;
    font-size: 90px;
    font-family: 'Arial', sans-serif;
    line-height: 80px;
    position: relative;
    z-index: 2;
    margin-top: 15px;
    margin-bottom: 15px;
}

#box-1 .box-number{
    bottom: 0;
    left: 0;
}

#box-2 .box-number{
    top: 0;
    left: 0;
}

#box-3 .box-number{
    top: 0;
    left: 0;
}

#box-4 .box-number{
    bottom: 20px;
    left: 0;
}
#box-5 .box-number{
    bottom: 20px;
    left: 0;
}
#box-6 .box-number{
    top: 0;
    left: 0;
}
/*.box-number-3 {
    bottom:auto;
}
.box-number-4 {
    top: 27%;
    right: auto;
    bottom: auto;
    left: auto;
}
.box-number-5 {
    top: 27%;
    right: auto;
    bottom: auto;
    left: auto;
}
.box-number-6 {
    top: 0;
    right: 27%;
    bottom:auto;
    left:auto;
}*/

#blur-1 {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*background-image: url(../img/img-box-01.png);*/
    background-position: left bottom;
    -webkit-filter: blur(10px);
    filter: blur(3px);
    background-repeat: no-repeat;
    -moz-filter: blur(30px);
    -ms-filter: blur(10px);
    opacity: 0.9;
}
#blur-2 {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*background-image: url(../img/img-box-02.png);*/
    background-position: -26px -21px;
    -webkit-filter: blur(10px);
    filter: blur(3px);
    background-repeat: no-repeat;
    -moz-filter: blur(30px);
    -ms-filter: blur(10px);
    opacity: 0.9;
}
#blur-3 {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*background-image: url("../img/img-box-03.png");*/
    background-position: -24px 0px;
    -webkit-filter: blur(10px);
    filter: blur(3px);
    background-repeat: no-repeat;
    -moz-filter: blur(30px);
    -ms-filter: blur(10px);
    opacity: 0.9;
}
#blur-4 {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  /*  background-image: url("../img/img-box-04.png");*/
    background-position: -26px -254px;
    -webkit-filter: blur(10px);
    filter: blur(3px);
    background-repeat: no-repeat;
    -moz-filter: blur(30px);
    -ms-filter: blur(10px);
    opacity: 0.9;
}
#blur-5 {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
   /* background-image: url("../img/img-box-05.png");*/
    background-position: -26px -261px;
    -webkit-filter: blur(10px);
    filter: blur(3px);
    background-repeat: no-repeat;
    -moz-filter: blur(30px);
    -ms-filter: blur(10px);
    opacity: 0.9;
}
#blur-6 {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*background-image: url("../img/img-box-06.png");*/
    background-position: -95px -26px;
    -webkit-filter: blur(10px);
    filter: blur(3px);
    background-repeat: no-repeat;
    -moz-filter: blur(30px);
    -ms-filter: blur(10px);
    opacity: 0.9;
}
/*========================
SECTION NEWS
==========================*/

.news {
    background: #009a3d;
    padding-bottom: 80px;
    height: 800px;

    position:relative;
}
.news.carrier {
    background: #fff;
    margin-top: 30px;
    height: auto;
    padding-bottom: 30px;
}
.news .box-image-slider{
  /*  background-image: url("../img/img-slider-01.png");*/
    background-size: cover;
}
.box-testo-slider{
    padding: 20px 40px;
    /*min-height: 230px;*/
}
.box-testo-slider h4{
    margin-bottom: 0px;
    font-size: 18px;
    font-weight: bold;
    color:#009a3d;
}
.box-testo-slider .date {
    font-size: 16px;
}
.box-testo-slider p {
    margin: 20px 0px;
    font-size: 14px;
}
.box-testo-slider a p {
    text-decoration: none;
    color: #113c2b;
}
.news .item {
    background: #fff;
}
.news h2 {
    text-transform: uppercase;
    font-weight: 900;
    color: #113c2b;
    margin-bottom: 0;
}
.title-news {
    padding: 20px 20px 20px 0;
    margin: 0;
}
.sotto-titolo{
    color: #113c2b;
    text-align: right;
    margin-top: 30px;
    font-size: 18px;
}
hr {
    margin-top: 13px;
    margin-bottom: 20px;
    border: 0;
    border-top: 5px solid #113c2b;
}
.footer{
    padding: 40px;
    background: #6d6e72;
    position:relative;
    min-height: 300px;
}

/*=====================
NEWS CARRIER
=======================*/

.carrier-box .fol-image {
    background-image: url(http://follettoapertalocal.local/wp-content/uploads/thumb_slider_001.jpg);
    height: 315px;
}
.carrier-box .orizontal-box .fol-txt {
    height: 315px;
    overflow: hidden;
    padding: 20px 12% 50px;
}
.carrier-box .box-testo-slider {
    padding: 0px;
}
.carrier .row.title-news a:hover {
    text-decoration: none;
    color: #113c2b;
}
div.carrier-box {
    margin-bottom: 50px;
}
.carrier-box .box-testo-slider h4 {
    color: #113c2b;
    margin-bottom: 10px;
    font-weight: bold;
}
.carrier-box .box-testo-slider .date {
    font-size: 16px;
    color: #006b2b;
    font-weight: bold;
}
    /*=====================
    NAV OWL CAROUSEL
    =======================*/
.owl-theme .owl-nav .disabled {
    opacity: .5;
    cursor: default
}

.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 10px;
    text-align: center;
}

.owl-theme .owl-dots .owl-dot {
    display: inline-block;
    zoom:1}

.owl-theme .owl-dots .owl-dot span {
    width: 15px;
    height: 16px;
    margin: 5px 7px;
    background: #006b2b;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px
}

.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span {
    background: #fff
}
.owl-carousel-news.owl-theme .owl-nav {
    display: none;
}
/*=====================
FOOTER
=======================*/
.stampa li {
    text-align: left;
    margin-bottom: 10px;
}
.stampa li a {
    font-weight: bold;
    font-size:16px;
    color: #009a3d;
    text-decoration: none;
}
.stampa li:first-child a {
    font-weight: bold;
    font-size:16px;
}
.azienda li:first-child {
    font-weight: bold;
    font-size:16px;
}
.azienda li {
    display: block;
    width: 250px;
    padding-bottom: 5px;
    color:#fff;
}
.stampa.privacy li a {
    color: #666;
    text-decoration: none;
}
/* ==========================================================================
   Video Background
   ========================================================================== */

.overlay-black{
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
}
.overlay-texture{
    background:url('../img/video-texture-small.png') repeat;
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
}
#video-area {
    overflow: hidden;
    position: relative;
    /*    padding-bottom: 140px*/
}
/*#video-area .contents {
    padding: 0 0 200px;
}*/
#video-area .contents h1 {
    color: #fff;
    font-size: 58px;
    line-height: 70px;
    text-transform: uppercase;
    border-bottom: 6px solid #009a3d;
    width: 600px;
    margin: 10px auto;
}
#video-area .contents p {
    font-size: 24px;
    color: #fff;
    line-height: 20px;
    letter-spacing: 0.5px;
}
#video-area .contents .btn {
    margin: 20px 10px;
    text-transform: uppercase;
}
#video-area .banner_bottom_btn {
    margin-top: 40px;
}
#video-area .banner_bottom_btn i {
    color: #fff;
    font-size: 48px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.is-phone .scroll-downs {
    bottom: 130px;
}
/* ==========================================================================
   LITY BOX FOLLETTO
   ========================================================================== */
.lightfolletto  {
    overflow: auto;
    background: #009a3d;
    padding: 60px!important;
    width: 800px;
    max-width: 100%;
}

.lightfolletto h3 {
    font-size: 25px;
    margin-bottom: 30px;
    color:#113c2b;
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 4px solid #113c2b;
    text-transform: uppercase;
}
.lightfolletto  p {
    color:#113c2b;
}
.lity-close{
    display: none!important;
}
.lightfolletto .lity-close {
    display: block!important;
    z-index: 9994;
    width: 35px;
    height: 35px;
    position: absolute;
    right: 60px;
    top: 80px;
    -webkit-appearance: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #113c2b;
    font-style: normal;
    font-size: 35px;
    font-family: Arial, Baskerville, monospace;
    line-height: 35px;
    text-shadow: none;
    border: 0;
    background: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.lightfolletto .lity-close:hover,
.lightfolletto  .lity-close:focus,
.lightfolletto  .lity-close:active,
.lightfolletto  .lity-close:visited {
    top: 80px;
    color:#fff;
}
.lity {
    background: rgba(0, 0, 0, 0.75);
}
/* ==========================================================================
   SCROLL MOUSE
   ========================================================================== */
.scroll-downs {
    position: absolute;
    bottom: 80px;
    width: 80px;
    height: 55px;
    margin-left: calc(50% - 40px);
}
.icon-mouse span{
    font-size: 13px;
    color: #fff;
    font-weight: bold;
}
.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 3px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
    margin: 5px auto;
}
.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}
@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}

.overlay-2 {
    background: rgba(0, 0, 0, 0.7) !important;
}
#block div {
    position:fixed!important;
    height: 600px;
}
.logo-menu{
    margin-top:30px;
}

.breadcrumb {
    position: absolute;
    width: 100%;
    color: #fff;
    z-index: 4;
    top: 150px;
    background-color: transparent;
}
.breadcrumb a {
    color:#fff;
}
.breadcrumb a:hover{
    text-decoration: underline;
}
.breadcrumb .container {
    padding: 0;
}
/*.button-top-fol {
    position: fixed;
    z-index: 10;
    bottom: 40px;
    right: 40px;
}

.button-top-fol label {
    float: left;
    text-align: right;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 20px 32px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

.button-top-fol .circle{
    width: 90px;
    height: 90px;
    background-color: #009a3d;
    display: block;
    background-image: url('../img/bollo-fol.png');
    float: left;
    border-radius: 50%;
    z-index: 999999;
    -webkit-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    -moz-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
}

.button-top-fol img{
    padding: 0px;
}*/

.button-top-fol-wrap {
    position: fixed;
    display: block;
    width: 110px;
    height: 110px;
    bottom: 90px;
    right: 20px;
    z-index: 10;
}

.button-top-fol-box{
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

/*.button-top-fol-box:hover .btf-flipper{
    transform: rotateY(180deg);
}*/

.button-top-fol-box:hover .btf-front{
    background: #009a3d;
    border: 8px solid #ffffff;
}

.button-top-fol-box:hover .btf-front p{
    color: #ffffff;
}

.button-top-fol-shadow{
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -90px;
    margin-top: -25px;
    width: 190px;
    height: 186px;
    background-image: url('../img/button-top-fol-shadow.png');
    background-position: center center;
    background-size: 100% auto;
    z-index: 1;
}

.button-top-fol-box .btf-flipper{
    position: relative;
    width: 100%;
    height: 100%;
    transition: 0.6s;
    transform-style: preserve-3d;
}

.button-top-fol-box .btf-front,
.button-top-fol-box .btf-back{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    backface-visibility: hidden;
    /*overflow: hidden;*/
    border-radius: 100%;
}

.button-top-fol-box .btf-front{
    background: #ffffff;
    border: 8px solid #009a3d;
    z-index: 2;
    transition: border-color 0.3s ease-out, background 0.3s ease-out;
    transform: rotateY(0deg);
}

/*.button-top-fol-box .btf-back{
    background: #009a3d;
    border: 8px solid #ffffff;
    transform: rotateY(180deg);
}*/

.button-top-fol-box .btf-inner{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.button-top-fol-box .btf-front .btf-inner{
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.2);
}

.button-top-fol-box .btf-inner > div{
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
}

.button-top-fol-box .btf-inner > div > div{
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.button-top-fol-box .btf-inner p{
    font-family: 'Arial';
    font-size: 14px;
    font-weight: 700;
    color: #113c2b;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 0px;
}

/*.button-top-fol-box .btf-back .btf-inner p{
    color: #ffffff; 
}*/

.button-top-fol-box .btf-inner p span{
    font-size: 11px;
}





/* hp button */
.hp-btn-recruit{
    position: relative;
    display: inline-block;
    width: 290px;
    height: 55px;
    background: #009a3d;
    border-radius: 30px;
    margin-top: 2px;
}

.hp-btn-recruit > span{
    display: block;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
    font-family: 'Arial';
    font-size: 14px;
    font-weight: 700;
    padding-top: 18px;
    padding-left: 66px;
    transition: padding 0.250s ease-out;
}

.hp-btn-recruit > img{
    position: absolute;
    top: 50%;
    margin-top: -25px;
    left: 3px;
    transition: left 0.250s ease-out;
}

.hp-btn-recruit:hover > span{
    padding-left: 22px;
}

.hp-btn-recruit:hover > img{
    left: 235px;
}

img.img-login {
    display: block;
    margin: 0 auto;
}
.logo img {
    width: 125px;
}

/*.circle-page {
    background-image: url('../img/bollo-fol-page.png')!important;
}*/

/*.pulse {
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    transform: translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.pulse:hover {
    transform: scale(1.1);
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}*/

.fixed-header{
    position: relative;
    float: left;
    width: 100%;
    height: 80vh;
}
.box-header-txt{
    padding: 35vh 0;
}
.item .fol-button-cta {
    text-align: right;
    background-color: #113c2b;
    padding: 0px;
}
.item .btn-4:hover {
    background: #113c2b;
    color: #009a3d;
    padding-left: 24px;
}
.item .btn-4 {
    border-radius: 0px;
    border: 0px;
    color: #009a3d;
    overflow: hidden;
    background: #113c2b;
    font-weight: 600;
}
.item .btn-4:active {
    background: #113c2b;
}
.item .btn-4:before {
    position: absolute;
    height: 100%;
    font-size: 125%;
    line-height: 22px;
    color: #009a3d;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.item a.button-cta {
    display: block;
    height: 55px;
    padding: 20px;
}
.item .btn-4c:hover:before {
    left: 40%;
    opacity: 1;
    padding-top: 20px;
}
.item .btn-4c:before {
    left: 30%;
    opacity: 0;
    top: 0;
    padding-top: 20px;
}
/*=====================
POPUP FOOTER
=======================*/
#corner-slider {
    position: fixed;
    z-index: 9999999;
    overflow: hidden;
    height: 209px;
    width: 376px;
    border: 0;
    background: #fff;
    -webkit-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    -moz-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
}

#corner-slider.hidden{
    display:none;
}
#corner-slider .close:after {
    position: absolute;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    z-index: 1002;
    content: url(../img/x-close.png);
    right: 20px;
    top: 15px;
}
#corner-slider .corner-text h2{
    font-size: 22px;
    padding: 35px 40px;
    font-weight: 100;
}
#corner-slider .fol-button-cta {
    padding: 0;
}
#corner-slider .btn {
    width: 100%;
    text-align: left;
    padding: 20px 40px;
    height: 72px;
}
#corner-slider .fol-button-cta .btn-4z:before {
    left: 80%;
    opacity: 0;
    top: 0;
}
#corner-slider .fol-button-cta .btn-4z:hover:before {
    left: 90%;
    opacity: 1;
}
/*=====================
MENU DESK
=======================*/
.navbar {
    position: absolute;
    top: 0px;
    display: block;
    float: left;
    width: 100%;
    padding: 20px 0px 0px;
    margin: 0px;
    border: 0px;
    z-index: 1000;
}
.navbar-default {
    background-color: #fff;
}
.header-main{
    position: relative;
    float: left;
    width: 100%;
    background: #f5f5f5;
}

/*.navbar-nav {
    margin-top: 5px;
}*/
/*.nav-up .navbar-nav,*/
.nav-down .navbar-nav  {
    margin-top: 30px;
    margin-right:-15px;
}
.navbar-default .navbar-nav li a {
    color:#113c2b;
    font-size: 15px;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    line-height: 26px;
    font-weight: 600;
}
.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
    color: #009a3d;
    font-weight: 600;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
.navbar-right .login a {
    border-bottom: 5px solid #009a3d;
    padding-bottom: 0px;
    font-weight: 600;
    padding: 0.2em;
    color:#fff;
}
.login .nav>li>a:focus, .login .nav>li>a:hover, .login .nav>li>a:active  {
    color: #fff;
    font-weight: 600;
}
.navbar-right .login a:hover {
    color:#fff;
}
.navbar-nav>li>a {
    padding-top: 0px;
    padding-bottom: 15px;
}
.navbar-brand {
    padding: 0px 15px 0 5px;
    height: auto;
}
/*=====================
FORM PAGE
=======================*/
.agent {
    padding: 3em 1em 0em;
    text-align: left;
    max-width: 1000px;
    /* -webkit-transition: opacity 2s ease-in;
     -moz-transition: opacity 2s ease-in;
     -o-transition: opacity 2s ease-in;
     -ms-transition: opacity 2s ease-in;
     transition: opacity 2s ease-in;
     -webkit-transition-delay: 1s; !* Safari *!
     transition-delay: 1s;*/
}
.agent h2 {
    text-transform: uppercase;
    color: #113c2b;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0px;
}
.agent .closebtn-form {
    color: #113c2b;
    font-size: 60px;
    font-weight: bold;
    text-decoration: none;
    position: absolute;
    top: 5%;
    right: 10%;
}
.agent .closebtn-form:hover {
    text-decoration: none;
}
.agent label{
    font-size:16px;
    margin-bottom: 4px;
    color:#113c2b;
}
.form-control{
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    height: 45px;
    box-shadow: none;
    font-size: 24px;
    color: #383838;
    padding:0;
}
.form-control:focus {
    border-color: #113c2b;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.agent .col-form{
    padding: 0 50px 0 0;
    margin-top: 50px;
}
.agent .form-group {
    margin: 20px 0;
}
select.form-control {
    -webkit-border-radius: 0px;
    border: 1px solid #ccc;
    padding: 0 10px;
    font-size: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(../img/arrow-select-70.png) no-repeat right 11px;
    cursor: pointer;
    font-size: 16px;
    color:#fff;
}
select.form-control .top    {
    color: #113c2b!important;
}

.btn-link, .btn-link:active, .btn-link:focus, .btn-link:hover {
    color: #fff;
    padding: 20px;
    background-color: #113c2b;
    width: 100%;
    float: left;
    text-align: center;
    font-size: 18px;
}

.checkone {
    width: 28px;
    height: 28px;
    position: relative;
    background: #fff;
    border: 1px solid #113c2b;
    float: left;
    z-index:99999;
}
.checkone label {
    cursor: pointer;
    position: absolute;
    left: 2px;
    top: -2px;
}
.checkone label:after {
    content: '';
    width: 25px;
    height: 21px;
    position: absolute;
    top: 2px;
    left: 2px;
    background: url(../img/form-line-ok.png);
    opacity: 0;
}
.checkone label:hover::after {
    opacity: 0.3;
}
.checkone input[type=checkbox] {
    visibility: hidden;
}
.checkone input[type=checkbox]:checked + label:after {
    opacity: 1;
}
.check{
    padding-top: 25px;
}
.agent p{
    text-align: center;
    margin-top:10px;
}
.check span {
    padding: 0 10px;
    line-height: 32px;
    font-size: 17px;
}
.agent .btn, .agent .btn:hover {
    width: 100%;
    background: #ea361e;
    padding: 20px;
}
.agent .btn-4:before {
    line-height: 3.3;
}
#rif-prov, #rif-com, #rif-sesso {
    color: #113c2b;
}
#rif-prov>option:not(:first-child),#rif-com>option:not(:first-child) {
    color: #113c2b;
}
/*=====================
FORM ERROR
=======================*/
.has-error .checkone {
    width: 28px;
    height: 28px;
    position: relative;
    background: #fff;
    border: 1px solid rgb(185, 74, 72);
    float: left;
}
.has-error .form-control:focus {
    border-color:  rgb(185, 74, 72);
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-control.error{
    border-bottom: 1px solid rgb(185, 74, 72);
}
input.error,select.error {
    border-color: rgb(185, 74, 72);
    background-image: url("../img/for-line-x.png");
    -webkit-box-shadow: 0;
    box-shadow: 0;
    background-repeat: no-repeat;
    background-position: right;
}
.has-error .form-control {
    border-color: rgb(185, 74, 72)!important;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label {
    color: rgb(185, 74, 72);
}
input.valid,select.valid {
    background-image: url("../img/form-line-ok.png");
    -webkit-box-shadow: 0;
    box-shadow: 0;
    background-repeat: no-repeat;
    background-position: right;
}
.has-success .form-control, .has-success .form-control:focus {
    border-color: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input[type=file].error {
    color: rgb(185, 74, 72);
    background: 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

input[type=file].valid {
    color: #468847;
    background: 0 0;
    -webkit-box-shadow: none;
    box-shadow: none
}
button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    background: transparent;
    border: 0;
    outline: none;
}
.check span.form-error  {
    padding: 0px;
    line-height: 32px;
    font-size: 14px;
}
/*=====================
FORM OK
=======================*/
#form-ok{
    text-align: center;
    margin: 15% auto;
    max-width: 410px;
}
#form-ok span{
    font-size: 36px;
/*    border-bottom: 5px solid #113c2b;*/
    font-family: 'Arial',"trebuchet ms",serif;
    font-weight: bold;
    margin-bottom: 20px;
    color:#113c2b;
    padding: 0em;
}
#form-ok p{
    line-height: 18px;
    font-size: 16px;
    color:#113c2b;
}
#form-ok a {
    color: #fff;
    display: inline-block;
    font: 15px/1em "Arial","trebuchet ms",serif;
    padding: 20px 100px;
    text-decoration: none;
    transition: all 0.2s ease 0s;
    background-color: #113c2b;
    font-weight: bold;
    margin-top: 20px;
    width: 325px;
    height: 55px;
}
#form-ok a:hover {
    background-color: #fff;
    color: #113c2b;
}
#form-ok.error-form{
    max-width: 500px;
}
/*=====================
ANIMATION LINE
=======================*/
@-moz-keyframes bounce {
    0% {
        height: 1px;
    }
    25% {
        height: 50px;
    }
    50% {
        height: 50px;
    }
    100% {
        height: 1px;
    }
}

@-webkit-keyframes bounce {
    0% {
        height: 1px;
    }
    25% {
        height: 50px;
    }
    50% {
        height: 50px;
    }
    100% {
        height: 1px;
    }
}
@keyframes bounce {
    0% {
        height: 1px;
    }
    25% {
        height: 50px;
    }
    50% {
        height: 50px;
    }
    100% {
        height: 1px;
    }
}
.line {
    position: absolute;
    left: 50%;
    width: 4px;
    height: 1px;
    background: #009a3d;
    display: block;
    transform-origin: center bottom;
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    from, 20%, 53%, 80%, to {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transform: translate3d(0,0,0);
    }

    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -30px, 0);
    }

    70% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -15px, 0);
    }

    90% {
        transform: translate3d(0,-4px,0);
    }
}

.nav-down  .navbar-nav li a, .nav-down  .navbar-nav li.login a {
    color:#113c2b;
    font-weight: 700;
}

/*.nav-up {
    position: fixed;
    background-color: #fff;
    list-style: none;
    width: 100%;
    padding: 15px 30px 0 10px;
    left: 0;
    color: #000;
    z-index: 20;
    border-radius: 0;
    -webkit-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    -moz-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
}*/

.nav-down {
    background-color: #fff;
    list-style: none;
    position: fixed;
    width: 100%;
    padding:20px 30px 0 10px;
    left: 0;
    top: -140px;
    color: #113c2b;
    z-index: 20;
    border-radius: 0;
    -webkit-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    -moz-box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
    box-shadow: 14px 18px 70px -21px rgba(0,0,0,1);
}

.nav-down .nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
    color: #009a3d;
    font-weight: 600;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

/*.nav-up  .logo-black,*/
.nav-down  .logo-black  {
    display: block;
}
.logo-black.mobile,
.logo-white.mobile,
/*.nav-up .logo-white.mobile,
.nav-up .logo-white,*/
.nav-down .logo-white.mobile,
.nav-down .logo-white,
.logo-black {
    display: none;
}
.bounceInDown {
    -moz-animation: bounceInDown;
    -webkit-animation: bounceInDown;
    animation: bounceInDown;
}
/*=====================
MENU MOBILE
=======================*/

.sidenav {
    height: 100%;
    width: 80%;
    position: fixed;
    z-index: 99999999;
    top: 0;
    right: 0px;
    background-color: #009a3d;
    transition: 0.5s;
    padding-top: 60px;
    transform: translateX(100%);

}
.nav-open {
    position: absolute;
    width: 94%;
    transform: translateX(0%);
}
.page-template-tpl-sub-article  .nav-open,
.page-template-tpl-sub-google .nav-open,
.page-template-tpl-sub-content .nav-open {
    width: 80%;
}
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    left: 0px;
    font-size: 60px;
}
.sidenav.nav-open .closebtn{
    left:-90px;
}
#main {
    transition: margin-right .30s;
    position: relative;
    top: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000000;
    width: 100%;
    height: 100%;
}
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}
/*=====================
FIX ON-LINE 29062017
=======================*/
/*.btn .table-item,
navbar-nav{
    display:none!important;
}*/
/*.navbar-nav{
    display: none!important;
}*/
/*.navbar-right{
    display: block!important;
}
@media screen and (max-width: 767px) {
    .openNav{
        display: none!important;
    }
    .login {
        display: block !important;
    }
}*/
.mobile-login{
    display: none!important;
}
@media screen and (max-width: 767px) {
    .mobile-login{
        display: block!important;
    }
}
/*=====================
VIDEO GALLERY BOX
=======================*/
.full-box-stripe.gallery-video  {
    margin: 80px auto 100px;
    max-width: 1600px;
    overflow: hidden;
    padding: 40px;
    background: #fff;
}
.gallery-videos {
    background: #fff;
    margin-bottom: -10px;
}
#owl-carousel-video {
    width: 100%;
}

.item-video {
    background-color: #fff;
    display: block;
    padding: 50px 100px;
    width: 100%;
    height: 100%;
}
.item-video video{
    width: 100%;
}
.gallery-videos p {
    padding-top: 20px;
    color: #113c2b;
    font-size: 16px;
    text-align: center;
}
.plyr__control--overlaid {
    background: rgb(0, 149, 57)!important;
}
.plyr--full-ui input[type=range] {
    -webkit-appearance: none;
    background: 0 0;
    border: 0;
    border-radius: 28px;
    color: rgb(0, 149, 57)!important;

}
.plyr--video .plyr__controls .plyr__control.plyr__tab-focus, .plyr--video .plyr__controls .plyr__control:hover, .plyr--video .plyr__controls .plyr__control[aria-expanded=true] {
    background: rgb(0, 149, 57)!important;
}

.plyr__poster {
    background-size: cover!important;
}
.plyr__progress__buffer{
    display: none!important;
}
#owl-carousel-video.owl-carousel .owl-nav .owl-prev:before {
    content: url('https://agenti.follettofamily.it/wp-content/themes/folletto/assets/img/arrow-left.png');
}
#owl-carousel-video.owl-carousel .owl-nav .owl-next:before {
    content: url('https://agenti.follettofamily.it/wp-content/themes/folletto/assets/img/arrow-right.png');
}
#owl-carousel-video .owl-prev{
    position: absolute;
    top: 50%;
    left: 24px;
}
#owl-carousel-video .owl-next{
    position: absolute;
    top: 50%;
    right: 24px;
}
#owl-carousel-video.owl-theme .owl-nav [class*='owl-'] {
    background: transparent;
}
#owl-carousel-video.owl-theme .owl-nav [class*='owl-']:hover {
    background: transparent;
}
.owl-carousel .single{ transform: translate3d(0px,0px, 0px) !important; }

.gallery-videos-title{
    width: 80%;
    margin: 0 auto;
    display: flex;
}
span.title-section-gallery {
    font-size: 30px;
    text-transform: uppercase;
    width: 50%;
    margin-top: 26px;
    font-weight: 700;
}
span.element-section-gallery {
    width: 50%;
    text-align: right;
    margin-top: 35px;
    font-weight: 700;
    font-size: 16px;
}
#owl-carousel-video .video-image {
    background-position: center;
    background-size: cover;
    height: 745px;
    display: block;
    width: 100%;
}
.owl-dots{
    display: none!important;
}
.plyr__video-embed.player.image{
    overflow: hidden;
}
@media only screen and (min-width: 992px) and (max-width: 1024px){
    #owl-carousel-video .owl-next {
        position: absolute;
        top: 40%;
        right: 24px;
    }
    #owl-carousel-video .owl-prev {
        position: absolute;
        top: 40%;
        left: 24px;
    }
}
@media only screen and (max-width: 768px) {
    #owl-carousel-video .owl-next {
        position: absolute;
        top: 40%;
        right: 24px;
    }
    #owl-carousel-video .owl-prev {
        position: absolute;
        top: 40%;
        left: 24px;
    }
}
@media only screen and (max-width: 767px) {
    .full-box-stripe {
        padding: 25px;
        /*background: #fff;*/
    }
    .item-video p{
        display: none;
    }
    .item-video {
        background-color: #fff;
        display: block;
        padding: 20px 0px;
        width: 100%;
        height: 100%;
    }
    .gallery-videos-title {
        width: 100%;
        margin: 0 auto;
        display: flex;
    }
    .owl-nav{
        display: none!important;
    }
    .owl-dots{
        display: block!important;
    }
    #owl-carousel-video.owl-theme .owl-dots .owl-dot.active span,
    #owl-carousel-video.owl-theme .owl-dots .owl-dot:hover span {
        background: #D6D6D6;
    }
    #owl-carousel-video.owl-theme .owl-dots {
        margin-top: 0;
    }
}

/* ============================================
COOKIES INFORMATIVA
===============================================*/
#vml-cookie-notice {display: none; position: fixed; min-width: 100%; height: auto; z-index: 999999999; font-size: 12px; line-height: 18px; left: 0; text-align: left; background-repeat: repeat; font-family: 'Arial',sans-serif;     background-color: rgba(0,0,0,0.8);
    color: #ffffff;}
.vml-cookie-notice-container {max-width:1280px; margin:0 auto; padding: 30px 0 20px; position: relative;}
#cn-notice-text {font-size: 15px; line-height: 20px;padding: 0 20px;width: 80%; float:left;}
.cn-top {top: 0;}
.cn-bottom {bottom: 0;}
#vml-cookie-notice .confirm-button.bordered-cta{color: #fff; display: inline-block; font: 15px/1em "Arial","trebuchet ms",serif; padding: 15px 100px; text-decoration: none; transition: all 0.2s ease 0s; background-color: #009a3d; font-weight: bold;}
#vml-cookie-notice .confirm-button.bordered-cta:hover{color: #009a3d; background-color: #fff;}
#vml-cookie-notice .cta-container{margin-top: 5px; text-align: right;width:10%;float:right;}
#vml-cookie-notice .info-txt-container{width: 100%; padding: 0 160px 0 10px; box-sizing: border-box; min-height: 60px;}
#vml-cookie-notice .close-button{position: absolute; right: 100px; top: 30px; width: 21px; height: 21px; background-image: url('../img/bg-close-cookie-bar.png'); background-repeat: no-repeat;}
#vml-cookie-notice .info-txt-container a {color: #009a3d; text-decoration: underline;}
@media only screen and (max-width: 767px) {
    #vml-cookie-notice .info-txt-container {background-position: 10px 0; padding: 0 80px 0 10px;}
    #vml-cookie-notice .close-button {right: 30px;}
    #vml-cookie-notice  #cn-notice-text {font-size: 14px; line-height: 18px;}
    .vml-cookie-notice-container {padding: 0px 0 10px;}
    #cn-notice-text {width: 100%;float: none;padding: 0;}
    #vml-cookie-notice .info-txt-container {padding: 20px;}
    #vml-cookie-notice .cta-container {
        margin-top: 20px;
        text-align: center;
        width: 100%;
        float: none;
    }
}
/*=====================
TPL SUB CONTENT
=======================*/
.page-template-tpl-sub-agente {
    background: #fff;
}

.parallax-wrapper{
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
}

.parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: center center;
    transform: scale(1.1);
}

body.is-mobile .parallax{
    background-attachment: initial;
}

.parallax-texture {
    /* The image used */
    background-image: url("../img/video-texture-small.png");
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    height: 750px;
    overflow: hidden;
    z-index: 1;
}
.parallax-texture-black {
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    height: 750px;
    overflow: hidden;
    z-index: 1;
    background: rgba(0,0,0,0.2);
}
.box-parallax {
    position: relative;
    overflow: hidden;
    z-index: 2;
    max-width: 1600px;
    margin: 120px auto 0;
}

.sub-box {
    background-color: #009a3d;
    width: 70%;
    position: absolute;
    float: left;
    top: 525px;
    padding: 70px 100px;
    color: #fff;
    z-index: 2;
    /*            transform: translateX(-100%);*/
}
.sub-box p {
    font-size: 18px;
}

.sub-box h3 {
    font-weight: bold;
}

.page-sub-home .container-fluid {
    padding-left: 50px;
    padding-right: 50px;
}

.page-sub-home .fol-image-box {
    /*width: 36%;
       height: 400px;*/
    display: block;
    background-size: cover;
    background-position: center;
    padding: 0;
}

.page-sub-home .orizontal-box-sub .fol-txt-box {
    position: relative;
    /*width: 64%;
    float: left;*/
    padding: 0;
    background: #fff;
    height: 100%;
    z-index: 2;
}

.page-sub-home .orizontal-box-sub .fol-txt {
    max-height: 315px;
    overflow: hidden;
    padding: 50px 12%;
}

.page-sub-home .orizontal-box-sub {
    margin-bottom: 50px;
    float: left;
    width: 100%;
}

.fol-box-shadow-dx {
    -webkit-box-shadow: 11px 21px 51px -20px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 11px 21px 51px -20px rgba(0, 0, 0, 0.75);
    box-shadow: 11px 21px 51px -20px rgba(0, 0, 0, 0.75);
}

.fol-box-shadow-sx {
    -webkit-box-shadow: 11px 21px 51px -20px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 11px 21px 51px -20px rgba(0, 0, 0, 0.75);
    box-shadow: 11px 21px 51px -20px rgba(0, 0, 0, 0.75);
}

.sub-page-titolo {
    font-size: 60px;
    position: relative;
    color: #fff;
    text-transform: uppercase;
    float: left;
    position: relative;
 /*   text-shadow: 1px 1px 0px rgba(17, 60, 43, 1);*/
}
.sub-page-titolo span {
    border-bottom: 5px solid #009a3d;
    line-height: 80px;
}

.box-titolo{
    position: absolute;
    padding-left: 6%;
    padding-right: 6%;
    z-index: 2;
    width: 100%;
  /*  transform: translateY(-50%);
    top: 36vh*/;
}

/*=====================
BUTTON MAPPA
=======================*/
a.button {
    text-align: center;
    transition: all 0.5s;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    color: #fff;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}
.button span:before {
    content: '\f100';
    position: absolute;
    opacity: 0;
    top: 0;
    left: -20px;
    transition: 0.5s;
    font-family: 'Flaticon';
}
.button:hover span {
    padding-left: 25px;
}
.button:hover span:before {
    opacity: 1;
    left: 0;
}
.page-sub-home a.button-cta {
    padding: 0px 6%;
}
.page-sub-home a.button-cta:hover {
    color: #fff;
    padding-right: 5%;
}
#wpsl-gmap img, .wpsl-gmap-canvas img {
    padding: 5px;
}
/*=====================
PAGE PRESS
=======================*/
.press-box-folletto .big-box-txt {
    margin-bottom: 130px;
    margin-top: 40px;
    background-color: #fff;
}
.press.press-box-folletto .big-foto-box-folletto {
    border-bottom: 80px solid #009a3d;
}
.down-doc{
    position: absolute;
    bottom: -47px;
    left: 65%;
}
/*=====================
BOX FOLLETTO NEWS
=======================*/
.sub-box.box-news {
    background-color: #fff;
    padding: 0;
    z-index: 30;
}

.sub-box.box-news h3 {
    color: #009a3d;
}

.box-news p {
    color: #999;
}

.box-news .inner-box {
    padding: 50px 100px;
}

.button-footer-box {
    background-color: #113c2b;
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
}

.button-footer-dx span,
.button-footer-sx span {
    font-size: 12px;
    color: #fff;
}

.btn-4:hover.button-footer-dx {
    background: #009a3d;
}

.btn-4:hover.button-footer-sx {
    background: #113c2b;
}

.number-address i {
    margin-right: 10px;
    width: 12px;
}

.button-footer-box span {
    width: 140px;
    right: -30%;
    font-size: 14px;
}
.box-parallax.news .box-image-slider {
    /*height: 210px;*/
    width: 100%;
    background-size: cover;
}
.box-parallax.news .button-footer-box span {
    width: 140px;
    right: -25%;
    color: #009a3d;
    font-weight: bold;
    font-size: 14px;
}
.box-parallax.news{
    background-color: #009a3d;
    margin-top: 100px;
    /*  padding-top: 120px;*/
    height: auto;
}
.page-template-tpl-news .content.show {
    background-color: #009a3d;
}
/*.box-parallax.news .item {
    margin-bottom: 40px;
}*/
.box-search-news{
    background-color: #fff;
    padding: 50px;
}
.box-header{
    width: 300px;
    margin: 0 auto;
    text-align: center;
}
.box-header h1{
    margin-bottom: 20px;
}
.box-header h1 span{
    text-align: center;
    text-transform: uppercase;
    border-bottom: 4px solid #009a3d;
}
.box-header #anno {
    color: #fff;
    text-transform: uppercase;
}
.box-header select.form-control{
    background:url(../img/arrow-select-70-green.png) #113c2b no-repeat right 17px;
}
.parallax-wrapper {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
}

.parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: center center;
    transform: scale(1.1);
}

.parallax-texture {
    /* The image used */
    background-image: url("<?php echo get_template_directory_uri(); ?>/assets/img/video-texture-small.png");
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    height: 750px;
    overflow: hidden;
    z-index: 1;
}
.single-news {
    background-color: #ebecec;
}
.single-news .box-parallax {
    position: relative;
    background-color: #fff;
    margin-top: 0px;
    overflow: visible;
    z-index: 2;
    width: 75%;
    padding: 60px 20px;
    min-height: 750px;
    margin: -350px  0 50px 75px;
}

.single-news .container-fluid {
    padding-left: 50px;
    padding-right: 50px;
}
.single-news h1 {
    font-size: 25px;
    color: #009a3d;
    margin-bottom: 0;
}
.single-news .single-date {
    margin-bottom: 20px;
}
.single-news .sub-page-titolo {
    border-bottom: 5px solid #009a3d;
    font-size: 60px;
    position: absolute;
    float: left;
    color: #fff;
    top: 20%;
    margin-left: 6%;
    text-transform: uppercase;
    z-index: 2;
}

@media (max-width: 768px) {
    .single-news .box-parallax {
        width: 100%;
        padding: 25px 0;
        min-height: 750px;
        margin: -350px 0;
    }

    .parallax-window {
        background-position: -650px;
        background-attachment: inherit;
    }
    .single-news .sub-page-titolo {
        font-size: 30px;
        top: 20%;
    }
    /*.parallax {
        background-position: -700px;
    }*/
}
@media (max-width: 768px) {
    .is-tablet .box-news .inner-box {
        padding: 35px 40px;
    }
    .is-tablet .sub-page-titolo {
        font-size: 30px;
        top: 30%;
    }
    .button-footer-box span {
        right: 0;
        font-size: 12px;
        text-align: right;
        padding-right: 10px;
    }
    .box-news .inner-box {
        padding: 20px;
    }
    .row.box-open {
        margin: 0px;
    }
    .row.box-open .box-testo-slider p {
        margin: 20px 0px;
        font-size: 13px;
    }
}
@media only screen and (min-width: 1100px) and (max-width: 1300px){
    .news .item {
        width: auto;
    }
}

@media only screen and (min-width: 993px) and (max-width: 1300px){
    .press-box-folletto .big-foto-box-folletto {
        height: 500px!important;
    }
    .down-doc {
        position: absolute;
        bottom: -40px;
        left: 53%;
    }
    .press-foto-box-folletto .big-box-folletto-sx .big-box-txt {
        padding: 60px 50px 65px 260px;
        min-height: 400px;
    }
}
@media only screen and (max-width: 992px) {
    .down-doc {
        position: absolute;
        bottom: -50px;
        left: 75%;
    }
}
@media only screen and (max-width: 768px) {
    .down-doc {
        position: absolute;
        bottom: -50px;
        left: 55%;
    }
    .press.press-box-folletto .big-foto-box-folletto {
        border-bottom: 50px solid #009a3d;
    }
}
@media only screen and (max-width: 480px) {
    .down-doc {
        position: absolute;
        bottom: -35px;
        left: 40%;
    }
}
/* FINE PAGE PRESS*/

@media (min-width: 992px) and  (max-width: 1025px){
    .sub-box {
        padding: 35px 40px;
    }
}
@media (max-width: 991px) {
    .orizontal-box-sub .fol-txt h2 {
        font-size: 18px;
    }
    .orizontal-box-sub .fol-txt-box p {
        font-size: 12px;
    }
    .sub-box {
        padding: 40px;
    }
    .sub-box p {
        font-size: 14px;
    }
    .agent .closebtn-form {
        top: 36px;
    }
    .agent h2 {
        font-size: 30px;
    }
    header.form-header h2 {
        font-size:32px;
        font-weight: 900;
        text-transform: uppercase;
        color: #113c2b;
    }
}
@media (max-width: 767px) {
    .page-sub-home .orizontal-box-sub .fol-txt-box {
        width: 100%;
    }

    .page-sub-home .orizontal-box-sub .fol-image-box {
        width: 100%;
        height: 350px;
    }

    .page-sub-home .orizontal-box-sub .fol-txt {
        max-height: none;
        height: auto;
    }

    .page-sub-home .container-fluid {
        padding-left: 25px;
        padding-right: 25px;
    }

    .page-sub-home a.button-cta {
        font-size: 12px;
    }

    .parallax-window {
        background-position: -650px;
        background-attachment: inherit;
    }

    .sub-box {
        padding: 30px;
        top:410px;
    }

    .sub-box h3 {
        font-size: 18px;
    }

    .sub-box p {
        font-size: 12px;
    }

    .sub-page-titolo {
        font-size: 40px;
        top: 30%;
        margin-left: 8%;
    }
    .parallax {
        background-position: -700px;
    }
    .box-parallax {
        margin-top: 50px;
    }
/*    .page-sub-home .button-top-fol label {
        display: none!important;
    }*/
    .parallax-mobile{
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        position: absolute;
        top:0;
    }
    .sub-page-titolo {
        width: auto;
        font-size:27px;
        margin-left: 15px;
        margin-right: 15px;
        max-width: 400px;
    }
   .box-titolo {
        top: 33vh;
    }
    .sub-box h2 {
        font-size: 18px;
    }
    .page-template-tpl-sub-article .sub-box h2 {
        font-size: 18px;
        line-height: 24px;
    }
    .menu-top.container {
        background-color: #fff;
    }
    .full-box-stripe.gallery-video  {
        margin: 80px auto 100px;
    }
}
/*=====================
MEDIA QUERIES
=======================*/
/*@media only screen and (min-width: 992px) and (max-width: 1024px)  {
    .box-titolo {
        top: 25vh;
    }
}*/
@media (min-width: 400px) {
    header.form-header {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: -15px;
        width: 100%;
        margin: 0 auto 0;
        padding: 20px 40px 0;
    }
    header.form-header h2 {
        text-transform: uppercase;
        color: #113c2b;
        font-size: 48px;
        font-weight: 900;
    }
    header.form-header a {
        font-size: 60px;
        font-weight: bold;
    }
    header.form-header a {
        order: 3;
    }
    header.form-header img {
        order: 1;
    }
    header.form-header .form-tit-text {
        order: 2;
    }
    .form .agent{
        padding:0em 1em 0em;
    }
    .form-tit-text p {
        text-align: center;
    }
}
@media (max-width: 991px) {
    .news .item {
        width: auto;
    }
    .box-testo-slider {
        padding: 15px 15px;
        /*min-height: 100px;*/
    }
    .news {
        padding-bottom: 80px;
        height: 750px;
    }
    .nav>li>a {
        padding: 10px;
    }
    .navbar-nav li a {
        font-size: 13px;
        font-weight: 400;
    }
    header.form-header h2 {
        font-size: 32px;
        text-align: center;
    }
/*    .box-titolo {
        top: 30vh;
    }*/
    /*========================
    GRID-ITEM
    ==========================*/
    .grid {
        background: transparent;
    }
    .grid-sizer,
    .grid-item { width: 50%; }

    /* 2 columns wide */

    .grid-item--width2 {
        width: 100%;
    }

    /*========================
    GRID-ITEM END
    ==========================*/
    #blur-6 {
        background-position: -40px -26px;
    }
    #blur-5 {
        background-position: -122px -256px;
    }
    #blur-4 {
        background-position: -50px -254px;
    }

}
@media (max-width: 767px) {
    .navbar-nav li a {
        color: #fff;
        font-size: 12px;
        line-height: 14px;
    }
    .navbar-nav>li>a {
        padding-top: 4px;
    }
    .navbar-right {
        padding-top: 0;
        float: right;
       /* margin-right: 10px;*/
    }
    /*.box-testo-slider {
        min-height: 180px;
    }*/
    .news {
        height: 700px;
    }
    .agent h2 {
        max-width: 680px;
    }
    .sub-page-titolo span {
        border-bottom: 5px solid #009a3d;
        line-height: 40px;
    }
}
@media (max-width: 767px) {

    .grid-item--width2 {
        height: 220px;
    }

    .grid-item--width2 .fol-txt{
        height: 160px;
    }

    a.button-cta{
        height: 40px;
    }

    .grid-item--height2{
        height: 380px;
    }


    .grid-item--height2 .fol-txt-box > div{
        height: 180px;
    }

    .grid-item--height2 .fol-txt{
        height: 160px;
    }
    .vertical-box.reverse-order.grid-item--height2 .fol-txt{
        height: 150px;
    }
    .grid-item {
        padding: 10px;
    }
    .grid-item:hover {
        transform: scale(1);
        -webkit-transition: all .4s ease;
        transition: all .4s ease;
    }
    /*.navbar-brand.nav-up,*/
    .navbar-brand.nav-down {
        position: relative;
        padding: 0 15px;
    }
    .navbar-nav {
        float: right;
        margin-right: 0px;
        width: 100%;
        margin: 0;
    }
    /*.nav-up.navbar-brand,*/
    .nav-down.navbar-brand {
        position: relative;
        padding: 0 15px;
    }
    .openNav span {
        font-size: 30px;
        cursor: pointer;
        color: #fff;
        line-height: 0;
    }
    .open{
        position: fixed;
    }
    #video-area .contents h1 {
        font-size: 50px;
        width: 70%;
        line-height: 55px;
    }
    .mobile-login {
        background-color: #fff;
        padding: 60px;
        text-transform: uppercase;
        transition: margin-right .10s;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
    }
    .mobile-login a {
        color: #113c2b;
        border-bottom: 4px solid #009a3d;
        padding: 0 0 7px;
        line-height: 30px;
        font-weight: bold;
        text-align: justify;
        font-size: 18px;
        line-height: 22px;
        width: 170px;
    }
    .mobile-login a:hover {
        color: #009a3d;

    }
    .navbar {
        padding: 0px;
    }
    #corner-slider {
        width: 313px;
    }
    #video-area .contents p {
        font-size: 18px;
    }

    /*.box-header-txt {
        padding: 5% 2% 24%;
    }*/

    /*.nav-up .openNav span,*/
    .nav-down .openNav span{
        font-size: 30px;
        cursor: pointer;
        color: #113c2b;
        line-height: 0;
    }
    .box-testo-slider h4 {
        font-size: 12px;
    }
    .box-testo-slider .date {
        font-size: 12px;
    }
    .news {
        padding-bottom: 20px;
        height: 500px;
    }
    .azienda li:first-child {
        font-weight: bold;
        font-size: 18px;
        letter-spacing: -0.6px;
        margin-top: 10px;
    }
    .footer {
        padding: 10px;
    }
    ul.azienda{
        margin-bottom:20px;
    }
    ul.stampa.privacy {
        margin-bottom: 20px;
    }
    .stampa li {
        text-align: left;
        text-decoration: none;
    }
    .stampa.link li a {
        color: #009a3d;
        text-decoration: none;
    }
    .azienda li {
        display: inline-block;
        width: auto;
        vertical-align: top;
        font-size: 12px;
        letter-spacing: -0.3px;
    }
    .fol-txt h2 {
        font-size:15px;
    }
    .fol-txt h6 {
        font-size: 12px;
    }
    a.button-cta {
        font-size: 9px;
        padding: 0px 7%;
    }
    .box-number h1 {
        font-weight: 900;
        font-size: 45px;
        font-family: 'Arial', sans-serif;
        line-height: 25px;
        position: relative;
        z-index: 2;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .box-number {
        position: absolute;
        z-index: 2;
        margin: 10px;
        border: 1px solid #fff;
        padding: 1px 15px;
        color: #009a3d;
    }

    .vertical-box.reverse-order .fol-image-box {
        padding-bottom: 0px;
        padding-top: 10px;
    }
    .item a.button-cta {
        padding: 14px  10px;
        height: 40px;
    }
    .item .btn-4c:before {
        left: 15%;
        opacity: 0;
        top: -3px;
    }
    .item .btn-4c:hover:before {
        left: 30%;
        opacity: 1;
    }

/*    .button-top-fol .circle {
        width: 70px;
        height: 70px;
        margin-top: 10px;
        background-size: cover;
    }

    .button-top-fol img {
        padding: 5px;
    }

    .button-top-fol {
        right: 20px;
        bottom: 20px;
    }*/

    .button-top-fol-wrap {
        right: 11px;
        bottom: 60px;
        transform: scale(0.8);
    }

    #video-area .contents .btn {
        margin: 5px 10px;
    }

    .title-news {
        padding: 10px 0;
        margin: 0;
    }
    #corner-slider .fol-button-cta {
        padding: 10px;
    }
    .agent a.closebtn-form {
        font-size: 45px;
        top: 3.2%;
        right: 20px;
    }
    .agent h2 {
        font-size: 26px;
        width: 90%;
    }
    .agent .col-form {
        padding: initial;
        margin-top: auto;
    }
    .sotto-titolo p{
        margin: 0;
        font-size: 15px;
    }
    .news .box-image-slider {
        background-size: cover;
        height: 150px;
    }
    .agent {
        padding: 3em 2em 1em;
    }
    .check{
        padding-top: 0px;
    }
    .item .btn-4c:hover:before {
        left: 37%;
        opacity: 1;
        padding-top: 12px;
    }
    .logo-black.mobile,
    .logo.logo-black,
    .logo.logo-white {
        display: none;
    }
    .nav-down .logo-black.mobile,
    .logo-white.mobile {
        display: block;
        padding: 12px;
    }
    /*.nav-up .navbar-nav,*/
    .nav-down .navbar-nav {
        margin-top: -25px;
        margin-right: 0px;
    }
    /*.nav-up.navbar,*/
    .nav-down.navbar{
        padding: 0px;
    }
    .navbar {
        z-index: 5;
        padding-top: 16px;
    }
    .box-header-txt {
        padding: 23vh 0;
    }
    .icon-arrow-right span:before{
        display: none;
    }
    .box-parallax.news .box-image-slider {
        height: auto;
        width: 100%;
        background-size: cover;
    }
}
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
    .is-phone .scroll-downs{
        display: none!important;
    }
    .is-phone .fixed-header {
        height: 105vh;
    }
}
@media (max-width: 320px) {
    .item .btn-4c:hover:before{
        left: 20%;
        top: 10px;
    }
    .item .btn-4c:before {
        left: 15%;
        opacity: 0;
        top: 10px;
    }
    .sotto-titolo p {
        margin: 0;
        font-size: 13px;
    }
    .box-parallax.news .box-image-slider {
        height: auto;
    }
}
/*========================
HEADER HOMEBOX NEWS FIX 28/08/2019
==========================*/

.row.title-news span {
    float:left;
}
.row.title-news a:hover {
    text-decoration: none;
    color:#fff;
}
.row.title-news span {
    text-transform: uppercase;
    font-weight: 700;
    color: #113c2b;
    margin-bottom: 0;
    margin-top: 40px;
    font-size: 34px;
}
.row.title-news p {
    margin-top: 60px;
    margin-left: 112px;
}
.row.title-news .sotto-titolo {
    margin-top: auto;
}
@media screen and (max-width: 767px) {
    .payoff-news {
        display: none;
    }
    .row.title-news p {
        margin-left: auto;
    }
}


