/* Here your delta-CSS */

.has-control-menu #wrapper{
    margin-top: 0;
}

.textFDMag{
	font-size : 3rem;
	font-family : 'LatoWebLight';
	text-align: right;
	color:white;
	margin-bottom: 0;
}

.img-responsive.logo{
	max-width: unset;
    max-height: 74px;
}

.fd-top-bar{
	padding-right: 100px;
    padding-left: 70px;
	
}

.fd-indicators {
    margin: 0;
}

.list-date{
	margin-left: auto;
	padding-top: 10px;
}

li.page-item {
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 7px;
}

.list-date:nth-of-type(1) {
	margin-left: 0;
    padding-left: 0;
    padding-top: 0;
}

.list-date:nth-of-type(1) li:nth-of-type(1) {
	border-left: unset!important;
    padding: 0!important;
    font-size: 2.2rem;
    height: 41.33px;
    margin-top: -6px;
    margin-bottom: 14px;
}

.fd-card {
    display: flex;
}

.fd-news-date {
  background-color: white;
  padding: 2px 10px;
  color: #999;
}

.filtro-active {
    background-color: #0053a1 !important;
}

div.filtro-active img.ico-white {
    display: block;
    width: 80px;
}

img.ico-white {
    display: none;
}

div.filtro-active img.ico-blue {
    display: none;
}

img.ico-blue {
    display: block;
    width: 80px;
}

.carousel-inner {
    height: unset;
}

#section-fd h6 {
    text-align: left;
    padding-bottom: 0;
}

#section-fd .mb-0>a::after {
    content: unset;
}

.box-filtro a {
    font-size: 18px;
}

.ico-link {
    max-width: none !important;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.7;
    color: #000;
}

.news-card h3.card-title {
    font-size: 1.75rem;
    color: black;
    text-align: left;
    margin-bottom: 0;
    line-height: 1;
}

/*Commentato in data 1/12/2020 su richiesta Fondirigenti*/
/*.news-card h3.card-title:hover {
    text-decoration: underline;
}*/

.news-card h5.card-text.sottotitolo {
    font-size: 1.25rem;
    text-align: left;
    margin-top: 5px;
}

.news-card .card-body .text-container{
    height: 230px;
    overflow-y: hidden;
    margin-bottom: 10px;
    position: relative;
}

.news-card .card-body .phantom-layer{
    background: -webkit-linear-gradient(transparent 30px, white);
    background: -moz-linear-gradient(transparent 30px, white);
    background: -ms-linear-gradient(transparent 30px, white);
    background: -o-linear-gradient(transparent 30px, white);
    background: linear-gradient(transparent 30px, white);
    position: absolute;
    height: 80px;
    width: 100%;
    bottom: 0;
}

.card a:hover {
    color: #0056b38c;
    text-decoration: none;
}

.carousel-control-prev,
.carousel-control-next {
    top: 5%;
    bottom: 25%;
}

p.alert-body{
    color: unset;
    text-transform: unset;
}

input.form-control::placeholder{
    font-size: unset;
    color: unset;
    text-transform: unset;
}

.form-control.error {
    border-color: #ff8080;
    border-top-color: rgb(255, 128, 128);
    border-right-color: rgb(255, 128, 128);
    border-bottom-color: rgb(255, 128, 128);
    border-left-color: rgb(255, 128, 128);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}

.form-control.error:focus {
    border-color: #ff8080;
    border-top-color: rgb(255, 128, 128);
    border-right-color: rgb(255, 128, 128);
    border-bottom-color: rgb(255, 128, 128);
    border-left-color: rgb(255, 128, 128);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
}

.btn-rounded-home {
    margin-right: 8px;
    margin-left: 8px;
}

.logo-b{
	height: 114px;
}

.social-bar-footer i{
  	border: 1px solid #fff;
    font-size: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 44.75%; /* 16:9 */
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 100%;
}

.fd-text-slider a:hover {
	text-decoration: none!important;
}

.box-filtro a:hover {
	text-decoration: none!important;
}

/*Aggiunto in data 11/11/2020 per il footer*/
@media (min-width: 1096px)  and (max-width: 1199px) {
	.footer-loghi img:nth-of-type(1) {margin: 0px 0px 0px 0px;}
}
@media (min-width: 992px)  and (max-width: 1023px) {
	.footer-loghi img:nth-of-type(1) {margin: 0px 0px 0px 0px;}
}

/* Extra Small devices xs (landscape phones, 576px and up) */
@media (max-width: 575px) {}


/* Small devices sm (landscape phones, 576px and up) */
@media (min-width: 576px) {}


/* Medium devices md (tablets, 768px and up)*/
@media (min-width: 768px) {}


/* Large devices lg (desktops, 992px and up) */
@media (min-width: 992px) {}


/* Extra large devices xl (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .contact-item.row{
        width: unset;
        align-items: center;
        margin-top: 0;
        margin-bottom: 20px;
    }
    .contact-item.row img{
        padding-right: 0;
    }
    .contact-item.row p{
        margin-bottom: 0;
    }
}


/* Super Extra Large sxl (MAC) */
@media (max-width: 1599px) and (min-width: 1400px) {}


/* Mobile Verticale */
@media (max-width: 500px) and (max-height: 750px) {
    
    .hidden-mob, .d-mob-none {
        display: none !important;
    }
    .hidden-mobv, .d-mobv-none {
        display: none !important;
    }
    .d-mobv-block {
        display: block !important;
    }
    .row .fd-border:nth-child(3n){
        border-right: unset;
    }
    .contact-item p {
    	font-size: 8px;
    	margin: 0px;
    }
    .textFDMag {
    	font-size: 0.9rem;
    	text-align: center;
    }
    .fd-top-bar{
    	padding: 0;
    	text-align: center !important;
    }
}


/* iPhone X Verticale*/
@media (max-width: 400px) and (min-height: 781px) and (max-height: 820px){
    .hidden-ipx, .d-ipx-none {
        display: none !important;
    }
    .hidden-ipxv, .d-ipxv-none {
        display: none !important;
    }
    .d-ipxv-block {
        display: block !important;
    }
    .row .fd-border:nth-child(3n){
        border-right: unset;
    }
    .textFDMag {
    	font-size: 0.8rem;
    	text-align: center;
    }
    .fd-top-bar{
    	padding: 0;
    	text-align: center !important;
    }
}

/* iPad Verticale*/
@media (min-width: 501px) and (max-width: 780px) and (min-height: 821px) and (max-height: 1030px){
    .hidden-ipad, .d-ipad-none {
        display: none !important;
    }
    .hidden-ipadv, .d-ipadv-none {
        display: none !important;
    }
    .d-ipad-block, .d-ipadv-block {
        display: block !important;
    }
    #navbarCollapse.navbar-collapse {
        top: 108px;
    }
    #navbarCollapse.navbar-collapse .navbar-nav {
        flex-direction: column;
    }
    .row .fd-border:nth-child(3n){
        border-right: unset;
    }
    .footer-dot{
        width: 200px;
    }
    .footer-dot img{
        width: 100%;
    }
    p.medium.footer-par {
        margin-left: 30px;
        margin-right: 90px;
    }
    .social-bar-footer-m i{
        width: 45px;
        height: 45px;
    }
    .social-bar-footer-m img{
        width: 45px;
        height: 45px;
    }
    .footer-contattaci {
        margin-top: 0;
    }
    .footer-pallini {
        margin-top: 100px;
    }
    .footer-contattaci-sfera {
        margin-top: 60px;
    }
    .contact-box {
        margin-top: 30px;
        margin-bottom: 0;
    }
    .contact-item.row{
        align-items: center;
        margin-bottom: 20px;
        margin-top: 0;
    }
    .contact-item.row div.justify-content-center.text-center{
        padding-left: 0;
        padding-right: 0;
    }
    .contact-item.row img{
        padding-right: 0;
        width: 35%;
    }
    .contact-item.row p{
        padding-left: 0;
        padding-right: 0;
        font-size: 15px;
    }
    .footer-privacy {
        margin-top: -12px;
    }
    .aderire-mobile {
        padding-top: 155px;
        padding-left: 30px;
        padding-right: 250px;
    }
    .textFDMag {
    	font-size: 1.5rem;
    	text-align: center;
    }
    .fd-top-bar{
    	padding: 0;
    	text-align: center !important;
    }
    .img-responsive.logo{
   		max-width: 100%;
   		max-height: unset;
    }
}


/* Mobile Orizzontale */
@media (max-width: 750px) and (max-height: 500px) {
    .hidden-mob, .d-mob-none {
        display: none !important;
    }
    .hidden-mobh, .d-mobh-none {
        display: none !important;
    }
    .d-mobh-block {
        display: block !important;
    }
    .row .fd-border:nth-child(3n){
        border-right: unset;
    }
    .footer-contattaci img{
        width: 7%
    }
    .social-bar-footer-m i{
        width: 45px;
        height: 45px;
    }
    .social-bar-footer-m img{
        width: 45px;
        height: 45px;
    }
    .contact-box{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .contact-item.row{
        align-items: center;
        margin-bottom: 20px;
        margin-top: 0;
    }
    .contact-item.row div.justify-content-center.text-center{
        padding-left: 0;
        padding-right: 0;
    }
    .contact-item.row img{
        padding-right: 0;
        width: 35%;
    }
    .contact-item.row p{
        padding-left: 0;
        padding-right: 0;
        font-size: 15px;
    }
    .footer-loghi{
        float: none;
        margin-top:20px;
    }
    .footer-loghi img {
        width: 30%;
    }
     .fd-top-bar{
    	padding: 0;
    	text-align: center !important;
    }
    
    .textFDMag{
    	font-size: 1.5rem;
    	text-align: center;
    }
}


/* iPad Orizzontale*/
@media (min-width: 821px) and (max-width: 1030px) and (min-height: 501px) and (max-height: 780px) {
    .hidden-ipad, .d-ipad-none {
        display: none !important;
    }
    .hidden-ipadh, .d-ipadh-none {
        display: none !important;
    }
    .d-ipad-block, .d-ipadh-block {
        display: block !important;
    }
    .fd-top-bar img{
        width: 45%
    }
    .row .fd-border:nth-child(3n){
        border-right: unset;
    }
    .footer-dot img{
        width: 60%;
    }
    .footer-contattaci {
        margin-top: 0;
    }
    .footer-pallini {
        margin-top: 0;
    }
    .footer-contattaci-sfera {
        margin-top: 0;
    }
    .footer-loghi{
        display: flex;
        align-items: baseline;
    }
    .social-bar-footer-m i{
        width: 45px;
        height: 45px;
    }
    .social-bar-footer-m img{
        width: 45px;
        height: 45px;
    }
    .contact-item.row{
        align-items: center;
        margin-bottom: 20px;
    }
    .contact-item.row div.justify-content-center.text-center{
        padding-left: 0;
        padding-right: 0;
    }
    .contact-item.row img{
        padding-right: 0;
        width: 35%;
    }
    .contact-item.row p{
        padding-left: 0;
        padding-right: 0;
        font-size: 15px;
    }
     .fd-top-bar{
    	padding: 0;
    	text-align: center !important;
    }
    .textFDMag{
    	font-size: 1.5rem;
    	text-align: center;
    }

}


/* iPhoneX Orizzontale*/
@media (min-width: 781px) and (max-width: 820px) and (max-height: 400px) {
    .hidden-ipx, .d-ipx-none {
        display: none !important;
    }
    .hidden-ipxh, .d-ipxh-none {
        display: none !important;
    }
    .d-ipxh-block {
        display: block !important;
    }
    .row .fd-border:nth-child(3n){
        border-right: unset;
    }
    .footer-contattaci img{
        width: 7%
    }
    .social-bar-footer-m i{
        width: 45px;
        height: 45px;
    }
    .social-bar-footer-m img{
        width: 45px;
        height: 45px;
    }
    .contact-box{
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .contact-item.row{
        align-items: center;
        margin-bottom: 20px;
        margin-top: 0;
    }
    .contact-item.row div.justify-content-center.text-center{
        padding-left: 0;
        padding-right: 0;
    }
    .contact-item.row img{
        padding-right: 0;
        width: 35%;
    }
    .contact-item.row p{
        padding-left: 0;
        padding-right: 0;
        font-size: 15px;
    }
    .footer-loghi{
        margin-top:20px;
    }
     .fd-top-bar{
    	padding: 0;
    	text-align: center !important;
    }
    .textFDMag {
    	font-size: 1.2rem;
    	text-align: center;
    }
}

/* Stampa */
@media print {
    @page { margin-top: 2cm; margin-bottom: 2cm; }
    /* #senna_surface1 { margin-top: 50px; margin-bottom:50px; } */
    .social-section { display: none !important }
    #footer { display: none }
}

/**************************/


/* Liferay specific style */


/**************************/

.portlet-layout .portlet-column {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    .portlet.open>.portlet-topper,
    .portlet:hover>.portlet-topper,
    .portlet.focus>.portlet-topper {
        opacity: 1;
        -webkit-transform: translateY(40%);
        -moz-transform: translateY(40%);
        -ms-transform: translateY(40%);
        -o-transform: translateY(40%);
        transform: translateY(40%);
        color: #fff;
        background-color: #30313F;
        border-style: solid;
        border-width: 1px;
        border-color: #fff;
        z-index: 1024;
    }
}

@media (min-width: 768px) {
    .portlet>.portlet-topper {
        display: -webkit-box;
        display: -moz-box;
        display: box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        left: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        transition: opacity 0.25s, transform 0.25s;
        bottom: 0px;
    }
}

.portlet-topper-toolbar>a,
.portlet-topper-toolbar>span>a,
.portlet-topper-toolbar .lfr-icon-menu>a {
    color: #fff;
}

#wrapper {
    padding-top: 0;
}

/* Rende visible il close button slle dialogs di Liferay */
.modal-header .close{
    padding: 1rem 0.5rem;
}

.modal-hidden {
	display: none !important;
}