.fancybox-container {
z-index: 100000; /** Divi is 99999 */
}
.admin-bar .fancybox-container {
margin-top: 32px;
}
if ( window.Fancybox ){
Fancybox.bind(".gravityview-fancybox", {"animationEffect":"fade","toolbar":true,"closeExisting":true,"arrows":true,"buttons":["thumbs","close"],"i18n":{"en":{"CLOSE":"Fechar","NEXT":"Pr\u00f3xima","PREV":"Previous","ERROR":"The requested content cannot be loaded. Please try again later.","PLAY_START":"Start slideshow","PLAY_STOP":"Pause slideshow","FULL_SCREEN":"Full screen","THUMBS":"Thumbnails","DOWNLOAD":"Download","SHARE":"Share","ZOOM":"Zoom"}}});
}
if ( window.gvDTglobals ) {
for ( var index in gvDTglobals ) {
gvDTglobals[ index ].footerCallback = function () {
var api = this.api();
var $footer = jQuery( api.table().footer() );
var mathFooter = api.ajax.json()[ 'gvMathFooter' ];
if ( !mathFooter ) {
return;
}
if ( $footer.find( '.gv-math-footer-calculation' ).length ) {
$footer.find( '.gv-math-footer-calculation' ).replaceWith( mathFooter );
} else {
$footer.append( mathFooter );
}
jQuery( api.table().footer() ).html( $footer.html() );
}
}
}