h1 small, h2 small, h3 small, h4 small{color: #888;}
h1, h2, h3, h4, p, div, a, button, li{color: #323232;}
.pt-serif{font-family: 'PT Serif', serif;}
.lato{font-family: 'Lato', sans-serif;}
.top-message-container .message{color: #fff!important;}
.top-message-container .button span{min-height: 40px; margin-top: 5px; border-radius: 0; line-height: 40px;}
.top-message-container .message{color: #fff!important; line-height: 17px; padding-top: 10px; padding-bottom: 10px;}
.top-message-container .message a{text-decoration: underline;}
.home .wpb_button, .wpb_content_element, .wpb_thumbnails-fluid>li{margin-bottom: 0;}
.home .vc_btn3{font-weight:bold;}
.home .logo-container{display: none!important;}
.home .close-menu{left: 65px!important;}
.home .vc_parallax-inner{background-size: 110%; background-position: 100%;}
.header-horizontal .logo-container, .header-horizontal .navigation-bar, .header-horizontal #header-tools, .header-horizontal header .socials{display: block; float: left;}
.logo-container, #header-tools{background: #ffffff; margin: 30px 0 0;}
.close-menu{top: 50px!important; left: 243px!important; width: 20px!important; height: 20px!important;}
#header-tools .tool::before{font-size: 25px;}
.menu-item{min-height: unset; height: auto;}
.menu-item a span{text-transform: uppercase; font-size: 30px; font-weight: 900;}
#menu-overlay ul a{line-height: 40px!important;}
#menu-overlay ul a:hover{text-decoration: unset;}
#menu-overlay ul a:hover{color: #013f7c!important;}
#header-tools{padding: 21.8px 0;}
#menu-overlay.open.eff-default{background-image: url(http://www.confapiancona.org/wp-content/uploads/2018/11/sfondo-celle-blu.png); background-size: 110%; background-position: 100%;}
#menu-item-9256 a span:before {
    content: "e00d";
    color: #898989;
    font-family: vc_linecons!important;
    font-weight: 400!important;
    speak: none!important;
    display: inline-block!important;
    width: 1em!important;
    text-transform: none!important;
    font-size: 25px;
    margin-right: 10px;
}
#menu-item-9256 a span{font-size: 21px;}
.logo.normal-logo.image-logo{padding-left: 15px; padding-top:5px; padding-bottom: 4px; padding-right: 0;}
.content-box h1{text-transform: uppercase; font-size: 31px!important; color: #323232;}
.content-box p{color: #323232; font-size: 25px;}
.header-horizontal .logo-container{min-width: 200px;}
.contatore{position: relative; top: 100px; color: #323232;}
.contatore .finish-text, .contatore .number{float: left; margin-top: 0!important; line-height: 40px; visibility: visible!important; opacity: 1!important; top: 0px!important;}
.contatore .finish-text{padding-left: 10px;}
.contatore .wpb_column{width: auto; margin: 0 auto;}
.ultime-notizie .vc_gitem-is-link{max-height: 160px;}
.ultime-notizie .vc_gitem-animated-block .vc_gitem-zone:after{
    content: 'CONFAPI NEWS';
    width: calc(100% - 30px);
    height: 130px;
    background-color: rgba(0,63,125,0.4);
    color: #fff;
    text-align: right;
    padding: 15px;
    font-size: 20px;
    position: absolute;
    top: 0;
    z-index: 999999999;
}
.content-box p{font-size: 13px;}
.real-content h4{font-size: 18px; color: #323232;}
.ultime-notizie .vc_general, .bottone-generale, .vc_general:not(.banner-home){
    position: relative;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
    font-weight: 600;
    width: auto;
    display: inline-block;
    background: transparent!important;
    color: #154179!important;
    border: solid 1px #154179!important;
    border-radius: 0;
    text-transform: uppercase;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}
.ultime-notizie .vc_general.vc_btn3-size-lg, .bottone-generale.vc_btn3-size-lg, .vc_general.vc_btn3-size-lg:not(.banner-home){padding-left: 80px; padding-right: 80px;}
.vc_gitem-zone .vc-zone-link{z-index: 9999999999;}
.ultime-notizie .more-link{display: none!important;}
.home .titolo_descrizione{height: 225px;}
.ultime-notizie h4, .ultime-notizie .vc_custom_heading{margin-bottom: 2px!important;}
button{background-color: rgba(255,255,255,0)!important; color: #154179!important; border: solid 1px!important; border-radius: 0!important; background-image: none!important;}
.ultime-notizie .vc_general:after, .bottone-generale:after, .vc_general:not(.banner-home):after{
    content: '';
    background-color: #154179;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 0;
    top: 100%;
    left: 0;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}
.ultime-notizie .vc_general:hover, .bottone-generale:hover, .vc_general:not(.banner-home):hover{color: #fff!important; z-index: 9; text-decoration: none!important;}
.ultime-notizie .vc_general:hover:after, .bottone-generale:hover:after, .vc_general:not(.banner-home):hover:after{height: 100%; top: 0;}
.associati{margin-bottom: 0;}
.associati .owl-item{width: auto!important;}
.associati img{height: 70px!important; width: auto!important; padding: 0 9px; max-width: 200px!important; object-fit: contain!important;}
.ffbens_button{text-align: left!important;}
.ffbens_form_container form{margin-bottom: 15px!important;}
.ffbens_form_container{padding: 0!important;}
.ffbens_form_container input{
    margin-left: 0!important;
    margin-right: 0!important;
    font-family: Lato!important;
    background-color: transparent!important;
    border-bottom: solid 1px!important;
    color: #000!important;
    max-width: 48%!important;
}
#footer{background-image: url('http://www.confapiancona.org/wp-content/uploads/2018/11/sfondo-celle-blu.png');}
#footer p, #footer div, #footer p, #footer a, #footer i{color: #323232;}
#footer .foot-text a{color: #888;}


body:not(.home) .admin-bar .whole-layout{margin-top: 0;}
body:not(.home) article .formatter{padding-top: 0;}
body:not(.home) article .formatter h3{padding-top: 0;}
body:not(.home) .wpb_text_column h3{padding: 0!important;}
body:not(.home) .wpb_text_column h1{padding: 0!important; font-size: 30px!important; font-weight: 900;}
body:not(.home) .wpb_text_column p{font-size: 16px;}
.real-content li{font-size: 17px; list-style-type: circle;}
.carosello-chi-siamo .owl-item .vc_item .vc_inner img{max-width: calc(100% - 10px)!important;}
.carosello-chi-siamo .owl-stage{transform: none!important; margin: 0 -5px;}

.wpb_image_grid_ul .isotope-item img{padding-right: 5px;}
.flip-container{perspective:1000; -webkit-perspective:1000; height: 150px;}
.flipper{transition:.6s; transform-style:preserve-3d; -webkit-transition:.6s; -webkit-transform-style:preserve-3d; position:relative;}
.front,.back {
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    right: 0;
}
.front{z-index:2;} 
.flip-container:hover .flipper, .flip-container.hover .flipper, .back {transform:rotateY(180deg); -webkit-transform: rotateY(180deg);}
.flip-container h2{font-size: 15px; padding-top: 10px;}
.vc_column_container>.vc_column-inner{padding-left: 5px; padding-right: 5px;}
.partner h2 small{color: #003f7d; border: 0; border-style: dashed!important;}

.wpcf7-form label span:not(.curriculum) input{border: 0; border-bottom: 1px solid;}
.wpcf7-form textarea{border: solid 1px;}
.wpcf7-form label{font-size: 15px;}
.wpcf7-form .messaggio textarea{margin-top: 15px;}

.blog .post .item-image.post-media img, .category .post .item-image.post-media img{width: 100%; height: 250px; object-fit: cover; object-position: center;} 
.item-image a::before{background-color: #003f7d!important;}
.single-post .gallery-item img{height: 150px!important; width: calc(100% - 6px); object-fit: cover;}
.single-post .real-content > p, .single-post .entry-summary > p, .single-post .wpb_text_column p, .single-post .real-content > p:first-child{font-size: 16px; color: #323232;}
.single-post .title-bar .page-title{color: #222; text-align: left;}
.posts-nav .image{display: none!important;}
.single-post .widget-area p, .single-post .widget-area h3.title, .single-post .widget-area a, .single-post .widget-area .entry-date{color: #fff;}
.single-post .widget-area{background-color: #003f7d!important; border-radius: 10px; box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.8); margin-top: 40px;}
.single-post .widget-area h3.title{text-transform: uppercase; margin-bottom: 5px; font-size: 17px;}
.single-post .widget-area a:hover{color: #bbb!important;}
.single-post .real-content a{color: #003f7d; font-weight: 600; text-decoration: underline;}