img.custom-logo {
   width: 100px;
}
.primary-navigation.dark{
   background-color:#dc002e
}
.primary-navigation li li{
   background-color:#dc002e
}
.primary-navigation>ul>li.home-btn{
   background-color:#dc002e
}
.primary-navigation.dark li a {
   font-size:20px
}
.primary-navigation li li:hover{
   opacity:0.9;

}
.primary-navigation.dark li a:hover{
   color:#000;
   text-decoration:underline
}
.social-bar{
   text-align:right
}
.social-bar a{
   width: 50px;
   height: 50px;
   font-size: 24px;
   border-radius:0;
   color:#FFF
}
.social-bar a:nth-child(1){
   background-color:#507cbd
}
.social-bar a:nth-child(2){
   background-color:#64cbee
}
.social-bar a:nth-child(3){
   background-color:#e62117
}
.social-bar a:nth-child(4){
   background-color:#ff1981
}
ul.post-categories li a{
   border-radius:0
}
.ctwg-social .ctwg-social-icon{
   border-radius:0
}
.ctwg-social-instagram .ctwg-social-icon{
   background-color:#ff1981
} 
.ctwg-social-twitter .ctwg-social-icon{
   background-color:#64cbee
}
.right-article{
   width:94% !important;
   margin-left:15px
}
.cm_banner-five .gutter-right .right-content-holder .custom_row .col:nth-child(2), .cm_banner-five .gutter-right .right-content-holder .custom_row .col{
   padding-left:0;
   padding-right:0
}
.banner-area h2 a:hover{
   color:#dc002e !important
}
.primo-piano .post-categories li a{
   margin-top: 15px;
   margin-left: 20px;
}		
.right-article .post-categories li a{
   margin-top: 8px;
   margin-left: 10px;
}		
.social-share, .post_tags{
   text-align:left
}
.home .a2a_vertical_style {
   display: none;
}
.entry_cats ul li a{
   letter-spacing:1.1px;
   background-color:#dc002e !important
}
.entry_cats.politiche-del-lavoro ul li a{
   background-color:#dc002e
}
.entry_cats.territorio ul li a{
   background-color:#8aff80
}
.entry_cats.conoscenza ul li a{
   background-color:#87faf8
}
.entry_cats.diritti ul li a{
   background-color:#fa87dd
}
.entry_cats.reti ul li a{
   background-color:#87e5fa
}
.entry_cats.salute ul li a{
   background-color:#f76a36
}
.entry_cats.settori ul li a{
   background-color:#f73697
}
.entry_cats.sviluppo ul li a{
   background-color:#f3f77e
}
.entry_cats.senza-categoria ul li a{
   background-color:#dc002e
}
.header-search-container form{
   border-bottom: 3px solid #dc002e;
   border-top: 0;
   top:-136px
}
.header-search-container input[type="submit"]{
   background: #dc002e !important;
}
.post-display-grid-hp .col-md-6.col-sm-6.col-xs-12:nth-child(1),
.post-display-grid-hp .col-md-6.col-sm-6.col-xs-12:nth-child(2),
.post-display-grid-hp .col-md-6.col-sm-6.col-xs-12:nth-child(3){
   display: none;
}
.link-utili .widget-title h2 {
   display: inline-block;
   font-size: 18px;
   text-transform: uppercase;
   font-weight: 500;
   line-height: 1;
   letter-spacing: 1px;
   position: relative;
   width: 100%;
   overflow: hidden;
}
.link-utili .widget-title h2::after {
   content: '';
   position: absolute;
   height: 2px;
   width: 100%;
   top: 50%;
   margin-left: 15px;
   background-color: #dc002e;
}
.link-utili .widget-title {
   margin-bottom: 30px;
}
.post-display-grid .card_content{
   min-height:180px
}
#toTop{
   background: #dc002e !important
}
.contatti .fa {
   font-size: 4em;
}
.sidebar-widget-area .widget .widget-title h2::after,footer .widget .widget-title h2::after,.section-title h1::after, .section-title h2::after{
   background-color: #dc002e !important
}
.copyrights a{
   color: #dc002e !important
}
.copyrights a:hover{
   text-decoration: underline !important
}
.post-navigation .nav-links .nav-previous a, .post-navigation .nav-links .nav-next a{
   background-color: #dc002e !important
}
.a2a_svg { border-radius: 0 !important; }

/* icona decorativa (non cliccabile) per la griglia/lista home */
.grid-post-holder .has-video .post_thumb {
   position: relative;
}
.grid-post-holder .has-video .post_thumb::after {
   content: '\f04b';
   font-family: 'FontAwesome';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   font-size: 13px;
   color: #fff;
   background: #dc002e;
   width: 36px;
   height: 36px;
   line-height: 36px;
   text-align: center;
   text-indent: 2px;
   border-radius: 50%;
   z-index: 10;
   pointer-events: none;
}

/* Sovrascrive il color:#fff che main.css applica ai titoli del banner. */
.cm_banner .post_title h2 a {
   color: #FFF;
}
.cm_banner .post_title h3{
   color: #000;
   font-size:18px;
   line-height: 20px;
   margin-top: 20PX;
}
div.card_content > div.meta > ul > li > span, div.card_content > div.meta > ul > li > a{
   color:#000;
}
/* icona cliccabile per il banner in evidenza */
.has-video .post_thumb,
.has-video.primo-piano > div {
   position: relative;
}
.video-play-icon {
   display: block;
   position: absolute;
   top: 30px;
   right: 0px;
   transform: translate(-50%, -50%);
   font-size: 22px;
   color: #fff;
   background: #dc002e;
   width: 56px;
   height: 56px;
   line-height: 56px;
   text-align: center;
   text-indent: 3px;
   border-radius: 50%;
   z-index: 20;
}
.video-play-icon:hover {
   background: #b40025;
   color: #fff;
}
.right-article .video-play-icon {
   font-size: 13px;
   width: 36px;
   height: 36px;
   line-height: 36px;
   text-indent: 2px;
}

.post_video {
   position: relative;
   padding-bottom: 56.25%;
   height: 0;
   overflow: hidden;
   margin-bottom: 20px;
}
.post_video iframe,
.post_video video,
.post_video object,
.post_video embed {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

@media only screen and (max-width:455px){
   .social-bar{
      padding-top:20px
   }
   .social-bar a{
      width: 34px;
      height: 34px;
      font-size: 14px;
   }
}