.xf-dialog {
    position: fixed;
    top: 0px; left: 0px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.7);    
    z-index: 9999999;
}

.xf-dialog-panel {
    position: absolute;
    margin: auto;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    background-color: #ffffff;
    width: 90%;
    height: 95%;
    padding-bottom: 60px;
    box-sizing: border-box;
    box-shadow: 0px 0px 15px #000000;
    border: #ffffff 1px solid;
}

.xf-dialog-content {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.xf-dialog-contentframe {
    width: 100%;
    height: 100%;
    border: none;
}

.xf-dialog-contentframe-loader {
    position: absolute;
    top: 0px; left: 0px;
    width: 100%;
    height: 100%;
    background-image: url(../images/ajax.gif);
    background-position: 50% 45%;
    background-repeat: no-repeat;
}

.xf-dialog-actionbar {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 60px;
    text-align: center;
    background-color: #d8d8d8;
    z-index: 999;
    font-family: helvetica, sans-serif;
    font-size: 12px;
    border-top: #b8b8b8 1px solid;
} 

.xf-dialog-button {
    padding: 8px 6px;
    background-color: #333333;
    border: #181818 1px solid;
    color: #ffffff;
    margin: 2px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 15px;
    cursor: pointer;
}

.xf-dialog-button:hover {
    background-color: #484848 !important;
    border: #282828 1px solid;
    color: #ffffff !important;
}

/* Font Icon - fontello */

@font-face {
    font-family: 'fontello';
    src: url('./font/fontello.eot?4101935');
    src: url('./font/fontello.eot?4101935#iefix') format('embedded-opentype'),
         url('./font/fontello.woff?4101935') format('woff'),
         url('./font/fontello.ttf?4101935') format('truetype'),
         url('./font/fontello.svg?4101935#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}

.xf-icon {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;    

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* You can be more comfortable with increased icons size */
    font-size: 120%;

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
} 

.xf-dialog .icon-ok:before { content: '\e808' !important; }
.xf-dialog .icon-cancel:before { content: '\e809' !important; }