.KBPAY_waitDialogContainer {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 99999;
    background: url(//payv2.kabam.com/img/loading.gif) no-repeat center center;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    left: 0px;
    top: 0px;
}

.KBPAY_dialogContainer {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 99999;
    background: url(//payv2.kabam.com/img/curtain.png);
    text-align: center;
    left: 0px;
    top: 0px;
}

.KBPAY_dialog {
    background: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #4f4e4e;
    color: #fff;
    font: normal 11px/15px 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;
    display: inline-block;
    text-align: left;
}

.KBPAY_dialog .KBPAY_titleBar {
    padding: 2px;
    height: 22px;
    background: url(//payv2.kabam.com/img/title_grad.png) no-repeat center center #212121;
    border-bottom: 1px solid #282727;
}

.KBPAY_dialog .KBPAY_titleBar .KBPAY_titleContainer {
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    font: normal 16px/22px 'Lucida Sans Unicode', Helvetica, Arial, sans-serif;
    text-align: center;
    height: 100%;
}

.KBPAY_dialog .KBPAY_bodyContainer {
    color: #000;
    padding: 0px;
    overflow:visible;
    background-color: #363636;
}

.KBPAY_dialog .KBPAY_closeButton {
    float: right;
    width: 16px;
    height: 16px;
    background: url(//payv2.kabam.com/img/ico_close.png) center 0px no-repeat;
    margin: 2px;
}

.KBPAY_dialog .KBPAY_closeButton:hover {
    background: url(//payv2.kabam.com/img/ico_close.png) center -16px no-repeat;
}

.KBPAY_IframeDialog{
    margin:auto;
    z-index:99999;
    display:block;
    position:absolute;
}

.KBPAY_IframeDialogCurtain {
    position:absolute;
    margin:auto;
    display:block;
    top:0px;
    left:0px;
    width:100%;
    z-index:99998;
    opacity: 0.8;
    filter:alpha(opacity=80);
}

#iframe_salesforce {
    position: absolute;
    top: 0;
    right: 0;
    float: left;
    width: 650px;
    height: 800px;
    overflow-y: hidden;
    overflow-x: hidden;

    background: #5a5a5a; /* Old browsers */
    background: -moz-linear-gradient(top,  #5a5a5a 0%, #252525 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5a5a5a), color-stop(100%,#252525)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #5a5a5a 0%,#252525 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #5a5a5a 0%,#252525 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #5a5a5a 0%,#252525 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #5a5a5a 0%,#252525 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5a5a5a', endColorstr='#252525',GradientType=0 ); /* IE6-9 */
}
#close_iframe_salesforce {
    /* no tab
    display: none;
    height: 20px;
    width: 21px;
    background: url(//payv2.kabam.com/img/modal/button_close_normal.png) 0 0 no-repeat;
    position: absolute;
    top: 5px;
    right: 25px;
    cursor: pointer;
    z-index: 412000;
    */

    height: 20px;
    width: 21px;
    background: url(//kabam1-a.akamaihd.net/silooneofcamelot/fb/e2/src/img/modal/button_close_normal.png) 9px 11px no-repeat #000;
    position: absolute;
    top: 5px;
    right: 654px;
    cursor: pointer;
    z-index: 412000;
    padding: 10px 5px;
    border-radius: 20px 0 0 20px;
    border: gray 2px solid;
    border-right: none;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */