/*fix for Gravity datepicker in modal*/
body div#ui-datepicker-div.ui-datepicker.wdt-gf-datepicker {
    z-index: 100003 !important;
    position: absolute !important;
    margin: -5px 0 0;
}
#wdt-frontend-modal .wdt_gf_date_wrapper_relative {
    position: relative;
}
body.wpdt-c.wp-admin div#ui-datepicker-div.ui-datepicker.wdt-gf-datepicker {
    position: absolute !important;
}

#wdt-frontend-modal div#ui-datepicker-div.ui-datepicker.wdt-gf-datepicker .ui-datepicker-header ,div#ui-datepicker-div.ui-datepicker.wdt-gf-datepicker .ui-datepicker-header{
    width:100% !important;
}

#wdt-frontend-modal .ui-helper-clearfix:after, .ui-helper-clearfix:after{
    display: none !important;
}

#wdt-frontend-modal div#ui-datepicker-div.ui-datepicker.wdt-gf-datepicker .ui-datepicker-title select {
    padding: 3px 24px 3px 3px;
    color: #000000;
}

/*fix for wpDatatables datepicker in modal*/
.wdt-datetimepicker-modal .datepicker {
    width: auto !important;
}

#wdt-frontend-modal .gform_page_footer input[type="submit"] {
    display: none;
}