﻿
.ui-dialog:has(.corpay-dialog) {
    font-family: var(--corpay-font-family) !important;
    letter-spacing: normal !important;
}

.ui-dialog:has(.corpay-dialog) .ui-widget-header {
    border: none !important;
    font-size: var(--corpay-header-font-size) !important;
    color: var(--corpay-secondary) !important;
    font-weight: bold !important;
}
.ui-dialog:has(.corpay-dialog) .ui-widget-header a {
    color: var(--corpay-secondary) !important;
}

.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar {
    background-color: var(--corpay-white);
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    display: block !important;
    width: auto !important;
}

.ui-dialog:has(.corpay-dialog) .ui-dialog-title {
    padding: 10px !important;
    text-align: left !important;
    display: inline-flex !important;
    width: 80% !important;
    margin: 0 !important;
}

.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar-close {
    float: right !important;
    position: initial !important;
    width: 16px !important;
    margin: 0 !important;
    padding: 14px 10px !important;
    height: 16px !important;
    outline: none;
}
.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar-close .ui-icon {
    background-image: url(https://gpsvault.blob.core.windows.net/siteimages/Fxpert/ui-icons_222222_256x240.png) !important;
}

.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar-close.ui-state-hover,
.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar-close.ui-state-focus {
    border: none !important;
    background: none !important;
}

.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar-close.ui-state-hover .ui-icon,
.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar-close.ui-state-focus .ui-icon {
    border: none !important;
    background-image: url(https://gpsvault.blob.core.windows.net/siteimages/Fxpert/ui-icons_2e83ff_256x240.png) !important;
}

.ui-dialog:has(.corpay-dialog) .ui-dialog-titlebar-close span {
    margin: 0 !important;
}