#header-wrap.special {
    background: #fff;
    height: 60px !important;
    bottom: -60px;
    position: absolute;
    left: 0;
}

#header {
    background-color: #454545;
    border-bottom: 0px solid #F5F5F5;
    height: 130px !important;
}

#primary-menu.style-2 {
    border-top: 0px solid #F5F5F5;
}

#primary-menu ul {
    text-align: center;
    width: 100%;
}

#primary-menu ul > li {
    float: none;
    display: inline-block;
}

#primary-menu ul li > a {
    line-height: 22px;
}

#top-bar {
    border-bottom: 0px solid #EEE;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    background: #333;
}

#top-social li, #top-social li a, #top-social li .ts-icon, #top-social li .ts-text {
    height: 30px;
    line-height: 30px;
}

.top-links ul li {
    height: 30px;
    border-left: 0px solid #EEE;
}

.top-links li > a {
    height: 30px;
    color: #aaa;
}

#top-social li {
    border-left: 0px solid #EEE;
}

#top-social li a {
    color: #aaa;
}

.i-plain {
    width: 46px !important;
    font-size: 38px;
    color: #999;
    text-shadow: none;
}

.header-extras li:hover i.i-plain {
    color: #ddd;
}

.header-extras li .he-text span {
    font-weight: bold;
    color: #ddd;
    font-size: 15px;
}

.header-extras li .he-text {
    font-weight: normal;
    color: #999;
    font-size: 12px;
}

.header-extras li {
    border-left: 1px solid #999;
    padding-left: 15px;
    margin-left: 20px;
}

.header-extras li:first-child {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

.promo h3 {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 21px;
    font-family: Lato;
}

.promo-full {
    background: #eee;
    padding: 25px 0 !important;
    margin-bottom: 70px;
}

.promo a.button {
    margin-top: -20px;
}

.promo a.button.preventivo {
    right: 210px !important;
    background-color: #f9b701;
}

.promo a.button:hover {
    color: #333;
}

#primary-menu ul li > a {
    padding: 39px 25px;
    font-size: 13px;
    letter-spacing: 2px;
    font-family: 'Lato', sans-serif;
}

#primary-menu ul > li > ul > li {
    display: block;
}

#primary-menu ul ul:not(.mega-menu-column), #primary-menu ul li .mega-menu-content {
    width: 220px;
    left: 50%;
    margin-left: -110px;
}

#page-title {
    padding: 60px 0 30px 0;
    background-color: #eee;
    border-bottom: 0px solid #EEE;
}

.img-thumbnail {
    padding: 0;
    background-color: #ccc;
    border: 2px solid #ccc;
    border-radius: 0;
}

.sideMenu li {
    background: #eee;
    margin-bottom: 3px;
    border-radius: 2px;
    list-style: none;
}

.sideMenu li.current, .sideMenu li:hover {
    background: #f9b701;
}

.sideMenu li a {
    color: #999;
    display: table;
    padding: 18px 20px;
    text-transform: uppercase;
    font-family: raleway;
    font-weight: bold;
    font-size: 13px;
    height: 74px;
    width: 100%;
}

.sideMenu li a span {
    display: table-cell;
    vertical-align: middle;
}

.sideMenu li.current a, .sideMenu li:hover a {
    color: #333;
}

#content p {
    line-height: 26px;
    font-size: 18px;
}

.servizi h3 {
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.feature-box .fbox-icon {
    width: 24px;
}

.feature-box {
    padding: 0 0 0 35px;
}

.feature-box.fbox-plain .fbox-icon i {
    font-size: 20px;
    line-height: 28px !important;
}

#copyrights strong {
    text-transform: uppercase;
    color: #fff;
}

#copyrights strong span {
    color: #f9b701;
}

#copyrights {
    color: #ccc !important;
}

.swiper_wrapper .swiper-container {
    background: url('images/slide.jpg') repeat;
    background-size: cover;
}

.swiper_wrapper .swiper-slide {
    background: url(images/grid-scura.png);
}

.slider-caption, .nivo-caption, .flex-caption {
    max-width: 750px;
}

.slider-caption h2 {
    font-size: 34px;
    letter-spacing: 0;
    color: #fff !important;
    opacity: 1;
    margin-bottom: 50px;
    line-height: 42px;
}

.slider-caption h2::after {
    content: "";
    background: #f9b701;
    height: 3px;
    width: 120px;
    position: absolute;
    left: 0;
    top: 98px;
}

.slider-caption h2::before {
    content: "";
    background: rgba(255,255,255,.8);
    height: 3px;
    width: 60px;
    position: absolute;
    left: 0;
    top: 98px;
    z-index: 9;
}

.slider-caption p {
    margin-bottom: 10px;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    font-family: lato;
}

.dark .button.button-border:not(.button-light) {
    border-color: #f9b701;
    color: #fff;
    margin-top: 20px !important;
}

.effettoBanner {
    height: 220px;
    background-size: cover !important;
    background-position: 50% !important;
    position: relative;
    overflow: hidden;
}

.effettoBanner .desc {
    background: #333;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 30px;
    border-bottom: 3px solid #f9b701;
    height: 70px;
    transition: height 0.4s ease;
}

.effettoBanner .desc h6 {
    color: #f9b701;
    position: absolute;
    top: 20px;
    left: 30px;
    text-transform: uppercase;
    font-size: 19px;
    font-family: lato;
    font-weight: bold;
    letter-spacing: 1px;
}

.effettoBanner .desc span {
    color: #fff;
    text-transform: none;
    font-size: 15px;
    font-weight: normal;
    display: block;
    position: absolute;
    top: 45px;
    left: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.effettoBanner a {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
}

.effettoBanner a:hover {
    background: rgba(0,0,0,0.4);
}

.effettoBanner a::after {
    content: "\e71d";
    font-family: font-icons;
    color: #fff;
    font-size: 32px;
    text-align: center;
    position: absolute;
    width: 48px;
    height: 48px;
    left: 50%;
    margin-left: -24px;
    top: -60px;
    border: 3px solid #f9b701;
    border-radius: 6px;
    line-height: 45px;
    transition: top 0.4s ease;
}

.effettoBanner a:hover::after {
    top: 47px;
}

.effettoBanner a:hover .desc span {
    opacity: 1;
}

.effettoBanner a:hover .desc {
    height: 90px;
}

#primary-menu ul ul li > a {
    line-height: 16px;
    text-align: left;
}

#primary-menu ul ul li:hover > a {
    padding-left: 25px;
}

.counter.counter-large + h5, .counter.counter-xlarge + h5 {
    font-weight: bold;
    color: #fff;
}

.i-xlarge.i-plain {
    color: #fff;
}

.content-wrap {
    padding: 70px 0;
}

.section {
    margin: 70px 0;
}

.feature-box.fbox-center.fbox-plain .fbox-icon i {
    font-size: 84px;
    line-height: 96px !important;
}

label {
    margin-bottom: 0px;
}

h2.moni {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: lato;
}

#content .servizi p {
    font-size: 16px;
}

#page-title span {
    font-weight: 800;
    color: #fff;
    text-shadow: 1px 1px #000;
}

#page-title h1 {
    color: #f9b701;
    text-shadow: 1px 1px 5px #000;
}

.breadcrumb a, .breadcrumb > li {
    color: #fff;
    text-shadow: 1px 1px #000;
}

.breadcrumb > .active {
    color: #f9b701;
    text-shadow: 1px 1px #000;
}

#page-title {
    background:url(images/header.jpg) no-repeat;
    background-size:cover; 
    background-position:50%;
}

ul.testi {
    font-size: 18px;
    line-height: 26px;
    padding-left: 20px;
    margin: 15px 0;
}

a.pdf {
    background: #eee;
    display: block;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-left: 4px solid #f9b701;
    transition: background 0.5s ease;
}

a.pdf:hover {
    background: #f9b701;
}

.icona {
    float: left;
    margin-right: 20px;
}

.titolo {
    float: left;
    font-size: 20px;
    color: #333;
    line-height: 48px;
}

#logo {
    margin-right: 0;
}

.section.parallax .heading-block h1 {
    color: #fff;
}

.section.parallax .heading-block:after {
    border-top: 2px solid #fff;
    display: none;
}

#formContatti p {
    margin-bottom: 0px;
    font-size: 12px !important;
    line-height: 19px !important;
    text-align: justify;
}

#formContatti .checkbox label {
    font-size: 12px;
    line-height: 19px;
    text-transform: none;
    font-family: Lato;
    letter-spacing: 0;
}

#formContatti .checkbox {
    margin: 0px;
}

#formContatti > div > div {
    margin-bottom: 20px;
}

.lablePdf {
    font-size: 15px;
    color: #333;
    background: #f9b701;
    display: inline-block;
    margin-top: 10px;
    padding: 2px 7px;
    border-radius: 3px;
}

.section.parallax .heading-block h1::after {
    content: "";
    background: #f9b701;
    height: 3px;
    width: 120px;
    position: absolute;
    left: 50%;
    top: 65px;
    margin-left: -60px;
}

.section.parallax .heading-block h1::before {
    content: "";
    background: rgba(255,255,255,.8);
    height: 3px;
    width: 60px;
    position: absolute;
    left: 50%;
    top: 65px;
    z-index: 9;
}

div#sendMail {
    font-family: lato;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    line-height: 19px;
    border: 0;
    background: #f9b701;
    padding: 15px 10px;
    position:absolute;
    z-index:100000;
    top:0px;
    left:0px;
    width:250px;
    /*height:100px;*/
    vertical-align:top;
    text-align:center;
    color: #fff;
}












@media (max-width: 1199px) {
    .header-extras li:nth-child(2) {
        display: none;
    }
    
    .sideMenu li a {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    #header.sticky-style-2 {
        height: 130px !important;
    }
    
    #primary-menu ul > li {
        float: inherit;
        display: inherit;
    }
    
    #header-wrap.special {
        bottom: inherit;
        position: relative;
        left: inherit;
    }
    
    body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > ul > li:hover a, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > ul > li.current a, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > div > ul > li:hover a, body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > div > ul > li.current a {
        color: #f9b701 !important;
    }
    
    #primary-menu .container {
        margin-left: -15px;
    }
    
    #primary-menu ul > li > a, #primary-menu.style-2 > div > ul > li > a {
        padding: 15px 25px !important;
    }
    
    #primary-menu ul ul:not(.mega-menu-column), #primary-menu ul li .mega-menu-content {
        width: inherit;
        left: inherit;
        margin-left: inherit;
        padding-left: 50px;
    }
    
    #primary-menu .container #primary-menu-trigger {
        left: 25px;
    }
    
    .section.parallax {
        padding: 100px 0px !important;
    }
    
    .section.parallax .heading-block h1::after {
        display: none;
    }
    
    .section.parallax .heading-block h1::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .swiper_wrapper .slider-caption h2 {
        font-size: 21px;
        margin-bottom: 30px !important;
        line-height: 23px;
    }
    
    .slider-caption h2::after {
        width: 60px;
        top: 60px;
    }

    .slider-caption h2::before {
        width: 30px;
        top: 60px;
    }
    
    .slider-caption p {
        margin-bottom: 5px;
        font-size: 13px;
        display: block !important;
    }
    
    .dark .button.button-border:not(.button-light) {
        margin-top: 15px !important;
        display: inline !important;
        font-size: 10px;
        padding: 5px 10px;
        line-height: 12px;
    }
    
    .effettoBanner {
        margin-bottom: 25px;
    }
    
    ul.sideMenu {
        margin-top: 25px;
    }
    
    #copyrights .col_half:last-child {
        display: block;
        text-align: center !important;
    }
}

@media (max-width: 479px) {
    .slider-caption p {
        display: none !important;
    }
    
    .swiper_wrapper .slider-caption h2 {
        font-size: 15px;
        line-height: 18px;
        margin-bottom: 10px !important;
    }
    
    .slider-caption h2::after {
        height: 2px;
        width: 60px;
        top: 43px;
    }

    .slider-caption h2::before {
        height: 2px;
        width: 30px;
        top: 43px;
    }
    
    .dark .button.button-border:not(.button-light) {
        font-size: 9px;
        padding: 3px 7px;
        line-height: 12px;
        border-width: 1px;
    }
    
    #primary-menu ul ul:not(.mega-menu-column), #primary-menu ul li .mega-menu-content {
        padding-left: 30px;
    }
    
    #header.sticky-style-2 #header-wrap, #header.sticky-style-3 #header-wrap {
        min-height: 40px;
    }
    
    #primary-menu-trigger, #page-submenu-trigger {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    
    #header, #header-wrap, #logo img {
        height: 72px;
    }
    
    #header.sticky-style-2 {
        height: 92px !important;
    }
    
    #logo {
        height: 72px;
    }
}