/* spostamento del paginatore dentro allo slider e allineamento a destra */
.bx-pager {bottom: 0px !important; text-align: right !important;}
.bx-pager a {text-indent: 9999px !important;}
/* rimozione borti dallo slider */
.bx-viewport {border: none !important; left: 0px !important;}

.video-container-frame {
	height:585px;
}

.YouTubePopUp-Wrap .YouTubePopUp-Content iframe{
    max-width:100% !important;
    width:100% !important;
    display:block !important;
    height:658px !important;
    border:none !important;
    position:absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    max-height:100%;
}

@media all and (min-width: 1270px){
    .YouTubePopUp-Content{ 
       max-width:1170px;
       max-width:90%;
    }
}

@media only screen and (max-width: 1200px) {
    .video-container-frame {
	    height:500px;
	}
}

@media only screen and (max-width: 979px) {
    .video-container-frame {
        height:400px;
    }
    .YouTubePopUp-Wrap .YouTubePopUp-Content iframe{
        height:400px !important;
    }
    .YouTubePopUp-Close {
        right: 0px!important;
        top: 0px!important;
        bottom: 450px!important;
    }
}

@media only screen and (max-width: 767px) {
    .YouTubePopUp-Content{ 
       max-width:100%!important;
    }
    .YouTubePopUp-Content iframe{
        height:320px !important;
    }
    .YouTubePopUp-Close {
        
    }
}

@media all and (max-width: 600px) and (min-width: 10px){
    .YouTubePopUp-Wrap .YouTubePopUp-Content iframe{
        height:320px !important;
    }

    .YouTubePopUp-Wrap .YouTubePopUp-Close{
        bottom:362px!important;
    }
}

@media all and (max-width: 480px) and (min-width: 10px){
    .YouTubePopUp-Wrap .YouTubePopUp-Content iframe{
        height:220px !important;
    }

    .YouTubePopUp-Wrap .YouTubePopUp-Close{
        bottom:262px!important;
    }
}