@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/helveticaneue.woff2') format('woff2'),
        url('../fonts/helveticaneue.woff') format('woff');
    font-family: 'Poppins', sans-serif;
}
/* Standard */
hr {
    border-top: 1px solid #424242;
}
.full-width {
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    color: #424242;
}
a {
    color: #424242;
    text-decoration: none;
}
a:hover {
    color: #424242;
}
.slide a.btn.btn-secondary {
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 0px;
    background: #3d517d;
    padding: 8px 15px;
    margin-bottom: 8px;
}
a.btn.btn-secondary {
    border-radius: 0px;
}
.slide a.btn.btn-secondary:hover {
    background: #1d426f;
}
/* -------------- */
html {
    height: 100%;
    box-sizing: border-box;
}
body {
    position: relative;
    margin: 0;
    min-height: 100%;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
    font-size: 16px;
}

/* HEADER */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eeeeee;
}
.main-header a.logo {
    background: url(../img/logo.png) left center no-repeat;
    background-size: contain;
    width: 100%;
    padding-top: 80px;
    display: block;
    margin: 10px 0;
    z-index: 1;
    position: absolute;
}
.main-header.header-style2 a.logo {
    background-position: center;
}
.main-header.header-style2  a.logo {
    height: 80px;
    display: block;
    padding-top: 0;
    position: relative;
}
.main-header.header-style2 .header-left > *,
.main-header.header-style2 .header-right > * {
    height: 80px;
    width: auto;
    text-align: center;
    margin-top: 10px;
}
.main-header.header-style2 .header-left,
.main-header.header-style2 .header-right {
    display: table;
}
.main-header.header-style2 .header-left p,
.main-header.header-style2 .header-right p {
    display: table-cell;
    vertical-align: middle;
}
.main-header.header-style2 .header-left img,
.main-header.header-style2 .header-right img {
    max-height: 100%;
    width: auto !important;
    max-width: 100%;
    height: auto;
}
.main-header a.logo img{
    max-height: 100%;
}
.main-header a.logo>span { display: none; }
.main-header .navbar-default {
    background-color: transparent;
    border-color: transparent;
    margin: 0;
}
.main-header .nav .language>a {
    padding: 13px;
}
.main-header .navbar-collapse {
    border-top: 0px;
}
.main-header .navbar-toggle {
    border-color: #333;
    margin: 32px 0;
}
.menu-container .navbar-nav>li>a {
    border-bottom: 2px solid transparent;
}
.main-header .navbar-default .navbar-toggle .icon-bar {
    background-color: #333;
}
.main-header .navbar-default .navbar-toggle:focus,
.main-header .navbar-default .navbar-toggle:hover {
    background-color: rgba(0, 0, 0, 0.15);
}
.main-header.header-style2 .menu-container {
    text-align: center;
}
@media (min-width: 768px){
    .main-header ul.navbar-nav.navbar-right {
        float:right;
        margin: 25px 0;
    }
    .main-header.header-style2 ul.navbar-nav {
        float: none;
        margin: 0;
        display: inline-table;
    }
}
@media (max-width: 767px){
    .main-header ul.navbar-nav {
        float:left;
    }
    .main-header.header-style2 ul.navbar-nav {
        float: none;
    }
}
.menu-container .navbar {
    float: right;
    margin-bottom: 0;
}
.menu-container .navbar-nav>li>a {
    color: #424242;
    padding-top: 8px;
    padding-bottom: 4px;
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.menu-container .nav>li>a:focus,
.menu-container .nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
    border-bottom: 2px solid #424242;
}
.menu-container .navbar-nav .open .dropdown-menu {
    right: 0;
    left: auto;
}

/* FOOTER */
.main-footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #33466f ;
}
.main-footer a.logo-footer {
  /*  max-height: 80px;
}*/
    background: url(../img/logo-footer.png) center no-repeat;
    background-size: contain;
    width: 100%;
    padding-top: 80px;
    display: block;
}
.main-footer a.logo>span { display: none; }
.main-footer .footer-menu {
    margin: 0 auto;
    float: none;
    text-align: center;
}
.main-footer .footer-menu .nav {
    padding: 5px 15px;
    float: none;
    display: inline-block;
}
.main-footer .footer-menu .nav>li>a {
    padding: 5px 15px;
    color: #fff;
    border-bottom: 2px solid transparent;
}
.main-footer .footer-menu .nav>li>a:hover {
    background-color: transparent;
    text-decoration: none;
    color: #fff;
    border-bottom: 2px solid #3d517d;
}
.main-footer .center {
    text-align: center;
    padding: 5px 15px;
}

/* CONTENT */
.content-wrapper {
    position: relative;
}
.content-wrapper>.container:first-child {
    padding-top: 30px;
}
.basic-quote-form {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1;
}
.basic-quote-form .form-container {
    background: #f5f5ff;
    background: rgba(255,255,255,0.9);
    margin-top: 50px;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 25px 15px 10px;
}
.basic-quote-form .form-group {
    margin-bottom: 10px;
}
.basic-quote-form label {
    margin-bottom: 2px;
}
.basic-quote-form .form-control {
    height: 30px;
    padding: 4px 12px;
}
.basic-quote-form input[type=submit] {
    text-transform: uppercase;
}
.basic-quote-form .form-group.submit {
    margin-top: 15px;
    margin-bottom: 20px;
}

.btn-primary {
    color: #fff;
    background-color: #3d517d;
    border-color: #3d517d;
    border-radius: 0;
}
.btn-primary:hover {
    background-color: #fff;
    border-color: #3d517d;
    color: #3d517d;
}

.carousel-caption {
/*    left: 0;
    right: 0;
    top: 15%;
    bottom: auto;
    padding-top: 30px;
    text-align: left;*/
/*    width: inherit;
    height: inherit;
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    position: initial; */
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    bottom: unset;
    text-align: left;
}
.carousel-inner .item{
    width: 100%;
    min-height: 700px;
    background-size: cover;
    background-position: center;
}
.carousel-caption h1 {
    font-size: 42px;
    font-weight: bold;
}
.carousel-inner {
    margin-bottom: 30px;
}
.carousel-inner .item .image {
    width: 100%;
    min-height: 700px;
    background-size: cover;
    background-position: center;
}
.page-section{
    margin-bottom: 30px;
}
.home-ico-block-section {
    background: #dddddd;
    padding: 30px 0;
}
.home-ico-block {
    text-align: center;
    margin-bottom: 30px;
}
.home-ico-block:after {
    content: ' ';
    clear: both;
    display: block;
}
.home-ico-block > div {
    float: left;
    width: 33.3%;
    text-align: center;
    padding: 15px;
}
.home-ico-block img {
    display: inline-block;
}
.home hr {
    border-top: 1px solid #cdcdcd;
    margin: 40px 0;
}
.trailing-home {
    background: #3d517d;
    margin-bottom: -10px;
    padding-bottom: 20px;
    color: #fff;
    line-height: 2;
}
.trailing-home h3{
    color: #fff;
}
.trailing-home .row > div {
    text-overflow: ellipsis;
    overflow: hidden;
}
.trailing-home a {
    color: #fff;
    white-space: nowrap;
}
.trailing-home a:hover {
    color: #ccc;
}

.home-trailer-text {
    padding: 0 30px 30px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.home-linkbar {
    background: #000000;
    margin: 0;
    text-align: center;
    clear: both;
}
.home-linkbar .link {
    display: inline-block;
    width: 33%;
}

/* REQUEST FORM */
.ask-quote .intro {
    color: #18324C;
}
.ask-quote .intro em {
    color: #8C030D;
    font-style: normal;
}
.ask-quote hr {
    border-top: 1px solid #cdcdcd;
}
.full-ask-quote .customer {
    padding-right: 3px;
}
.full-ask-quote .delivery {
    padding-left: 3px;
}
.full-ask-quote .customer .form-group,
.full-ask-quote .delivery .form-group,
.full-ask-quote .dimensions .form-group {
    padding-right: 3px;
    padding-left: 3px;
}
.full-ask-quote .dimensions .col-xs-6:nth-child(even) { padding-right: 6px; }
.full-ask-quote .dimensions .col-xs-6:nth-child(odd) { padding-left: 6px; }

.full-ask-quote label {
    color: #18324C;
}
.full-ask-quote label.required:after {
    content: '*';
    display: inline-block;
    color: #8C030D;
    font-weight: bold;
}
.full-ask-quote .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
}
.full-ask-quote h1 {
    color: #18324C;
    background-repeat: no-repeat;
    background-position: center left;
    line-height: 63px;
    vertical-align: middle;
    padding-left: 83px;
    margin-bottom: 20px;
}
.full-ask-quote .customer h1 { background-image: url(../img/ico-customer.png); }
.full-ask-quote .delivery h1 { background-image: url(../img/ico-delivery.png); }
.full-ask-quote .dimensions h1 { background-image: url(../img/ico-dimensions.png); }

.full-ask-quote .submit {
    margin-top: 30px;
}
.full-ask-quote .submit input[type=submit] {
    text-transform: uppercase;
    display: inline-block;
    width: 50%;
    font-weight: bold;
}
.places .well {
    max-height: 480px;
    padding-bottom: 10px;
    overflow-y: auto;
}
.places {
    margin-top: 15px;
}
.places .tab-pane {
    padding: 10px 0;
    line-height: 1.6;
}
.places .well li {
    list-style-type: none;
    float: left;
    padding: 0px 2px;
}
/* BANNERS */
.banner {
    text-align: center;
}
.banner img {
    max-width: 100%;
}
.banner.after-slider {
    padding: 25px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px;
    border-top: 1px solid #ccc;
    clear: both;
}

.banner.before-footer {
    margin: 10px 0 -10px 0;
    background: #18324C;
}

.banner.landing-sidebar { margin: 15px 0; }

.banner.after-home-content, .banner.after-content {
    padding: 25px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px;
    border-top: 1px solid #ccc;
    clear: both;
}
.home-news-section {
    background: #ececec;
}
.facebook-walls,
.latest-news,
.wp-latest-news{
    margin: 20px 0 5px;
}
.latest-news {
    margin-bottom: 30px;
}
.latest-news .row-news {
    padding-bottom: 35px;
}
.latest-news .title-post h3{
    color: #424242;
}
.latest-news .content {
    margin-bottom: 20px;
}
.landing-sidebar .link {
    text-align: center;
}
.landing-sidebar a {
    display: inline-block;
    max-width: 100%;
    /*margin: 10px auto;*/
    transition: .4s all;
    /*text-align: center;*/
}
.landing-sidebar a:hover {
    opacity: 0.85;
}
.landing-sidebar a img {
    max-width: 100%;
}
.landing-sidebar .link + .banner {
    margin-top: 20px;
    border-top: 1px solid #c3c3c3;
    padding-top: 10px;
}

/* PAGE */
.page-sidebar h3 {
    margin-top: 0;
    border-bottom: 1px solid #c3c3c3;
    padding-bottom: 10px;
    text-align: center;
    color: #18324c;
}
.page-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.page-sidebar a.btn {
    width: 100%;
    background-color: #18324C;
    border-color: #18324C;
    color: #FFF;
    margin-bottom: 10px;
}
.page-sidebar a.btn:hover {
    background-color: #346392;
    border-color: #346392;
}
.page-sidebar .active a.btn {
    background-color: #346392;
    border-color: #346392;
}

/* CONTACT FORM */
.contactform .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
}
.contactform .left .form-group {
    padding-right: 0;
}
.contactform .form-group {
    margin-bottom: 11px;
}
.contactform .form-group label {
    color: #000000;
}

/* NEWS */
.list-item-news {
    margin-bottom: 20px;
    border-bottom: 1px solid lightgrey;
    padding: 20px 0;
}
.widget .widget-list {
    margin-bottom: 20px;
    border-bottom: 1px solid lightgrey;
    padding: 10px 0;
}
.list-item-news .news-image{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.list-item-news .content{
    margin-bottom: 20px;
}
.latest-news .news-img,
.list-item-news .news-img{
    text-align: center;
    min-height: 200px;
}
.latest-news .news-img img,
.list-item-news .news-img img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    width: 100%;
}
.widget .news-img img {
    max-width: 100%;
}
/* widget facebook*/
.facebook-walls .row-posts .item,
.latest-news .row-posts .item {
    border-radius: 10px;
    background: white;
    padding: 20px;
    margin-bottom: 20px;
}
.facebook-walls .row-posts .item .date{
    margin-top:10px;
}
.facebook-walls h2,
.latest-news h2 {
    margin-bottom: 30px;
}
.equal-height-child .image {
    object-fit: contain;
}
@media (max-width: 1023px) {
    .carousel-inner .item {
        min-height: 450px;
    }
}
/* RESPONSIVE */
@media (max-width: 991px) {
    .basic-quote-form { position: static; }
    .basic-quote-form .form-container { margin-top: 0; margin-bottom: 30px; }
    .menu-container .navbar { float: none; }
    .menu-container .navbar .nav { text-align: center; margin: 0; float: none; }
   /* .menu-container .nav>li, .menu-container .nav>li>a { display: inline-block; float: none; }*/
    .menu-container .navbar-nav .open .dropdown-menu { position: absolute; background: #fff; }
    .home-linkbar .link { width: auto; }
    .slide a.btn.btn-secondary {
        font-weight: 600;
        padding: 4px 10px;
        font-size: 12px;
    }
    .carousel-inner .item {
        min-height: 400px;
    }
}
@media (max-width: 767px) {
    body { padding-bottom: 0; }
    .main-footer { position: static; }
    .main-footer .right { text-align: center; }
    .main-footer .nav {	text-align: center;	}
    .main-footer .nav>li { display: inline-block; }
    .slide a.btn.btn-secondary {
        font-size: 10px;
    }
    .carousel-caption{
        width: 96%;
        padding: 0 2%;
    }
    .carousel-inner .item {
        min-height: 350px;
    }
}
@media (max-width: 480px) {
    .home-ico-block > div { width: 100%; margin-bottom: 30px; }
    .carousel-inner .item {
        min-height: 330px;
    }
}
.places a {
    color: #424242;
}
.page-section .row{
    margin-bottom: 32px !important;
}
.carousel-caption {
    text-shadow: none;
}
.icon_box_inner {
    text-align: center;
    max-width: 300px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 24px;
}
.icon_box_inner h3 {
    min-height: 52px;
}
.icon_box_inner .icon_box_text {
    min-height: 100px;
}
.icon_box_inner img.icon-home{
    width: 100%;
    max-width: 90px;
}
.icon_box_inner a {
    color: #3d457d;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

table.settori td {
    padding: 20px 10px;
}
.link-utili {
    margin-top: 25px;
}
.featured.featured-has-content {
    background: #fff;
    border: 1px solid #e7e7e7;
    overflow: hidden;
    padding-bottom: 72px;
    position: relative;
    max-width: 400px;
    margin: auto;
    margin-bottom: 20px;
}
.featured img {
    width: 100%;
}
.featured-header {
    border-bottom-color: #ebac01;
}
.featured-content {
    background-color: #fff;
    border-top: 5px solid #ebac01;
    left: 0;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    top: 100%;
    -webkit-transform: translateY(-72px);
    -ms-transform: translateY(-72px);
    transform: translateY(-72px);
    transition: .4s transform ease;
    width: 100%;
}
.featured-title {
    font-size: 14px;
    font-weight: 600;
    padding-top: 15px;
    line-height: 1em !important;
    margin-bottom: 0;
    margin-top: 0;
    display: block;
}
icon_box_text p {
    max-width: 400px;
    margin: auto;
}
.icon-media i {
    font-size: 30px;
    color: #ebac01;
}
.sep_pos_align_center {
    margin-left: auto;
    margin-right: auto;
}
.sep_width_10 {
    width: 10%;
}
.separator {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.separator .sep_holder {
    height: 1px;
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 10%;
}
.separator.sep_border_width_2 .sep_holder .sep_line {
    border-top-width: 2px;
}
.separator .sep_holder .sep_line {
    height: 1px;
    border-top: 1px solid #EBEBEB;
    display: block;
    position: relative;
    top: 1px;
    width: 100%;
}

div.icon-bottom {
    min-height: 180px;
}
.home-template div.icon-bottom {
    width: 20%;
    float: left;
}

.landing-template div.icon-bottom{
    width: 33.3333%;
    float: left;
}
.landing-template div.icon-bottom:nth-child(4){
    margin-left: 16.6666%;
}
.landing-template .box_content {
    margin-bottom: 30px;
}
@media only screen and (min-width: 600px) and (max-width: 991px){
    .home-template div.icon-bottom{
        width: 33.3333%;
    }
    .home-template div.icon-bottom:nth-child(4){
        margin-left: 16.6666%;
    }
    .carousel-inner .item .image {
        min-height: 600px;
    }
    .carousel-caption h1 {
        font-size: 36px;
    }
    .carousel-caption h3 {
        font-size: 20px;
    }
}
@media only screen and (max-width: 767px){
    .image-box img{
        margin: auto;
    }
    .carousel-caption h1 {
        font-size: 32px;
    }
    .carousel-caption h3 {
        font-size: 18px;
    }
    .carousel-inner .item .image {
        min-height: 500px;
    }

}
@media only screen and (min-width: 480px) and (max-width: 599px){
    .home-template div.icon-bottom{
        width: 50%;
    }
    .home-template div.icon-bottom:nth-child(5){
        margin-left: 25%;
    }
    .carousel-inner .item .image {
        min-height: 400px;
    }
}
@media only screen and (max-width: 479px){
    .home-template div.icon-bottom{
        width: 100%;
    }
    .carousel-inner .item .image {
        min-height: 300px;
    }
    .carousel-caption h1 {
        font-size: 28px;
    }
    .carousel-caption h3 {
        font-size: 16px;
    }

}

div.icon-bottom h1 {
    font-size: 18px;
    font-weight: bold;
}
div.icon-bottom h3 {
    font-size: 15px;
    font-weight: 500;
    padding: 0px 12px;
    margin-top: 0;
    line-height: 20px;
}
.pulsante-scopri a {
    border: solid 2px #2d5f98;
    padding: 10px 25px;
    font-weight: 900;
    color: #2d5f98;
    margin-top: 50px !important;
    display: block;
    max-width: 170px;
    margin: 0 auto;
    border-radius: 3px;
    font-size: 16px;
}
