#WFTY_MB_overlay {
    background: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999998; /* Above DFW. */
}

#WFTY_MB_window {
    position: fixed;
    background-color: #fff;
    z-index: 999999; /* Above DFW. */
    visibility: hidden;
    text-align: left;
    top: 50%;
    left: 50%;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

#WFTY_MB_window img#WFTY_MB_Image {
    display: block;
    margin: 15px 0 0 15px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
}

#WFTY_MB_caption {
    height: 25px;
    padding: 7px 30px 10px 25px;
    float: left;
}

#WFTY_MB_closeWindow {
    height: 25px;
    padding: 11px 25px 10px 0;
    float: right;
}

#WFTY_MB_closeWindowButton {
    position: absolute;
    left: auto;
    right: 0;
    width: 29px;
    height: 29px;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    outline: none;
    -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
    transition: color .1s ease-in-out, background .1s ease-in-out;
}

#WFTY_MB_ajaxWindowTitle {
    float: left;
    font-weight: 600;
    line-height: 29px;
    overflow: hidden;
    padding: 0 29px 0 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 39px);
}

#WFTY_MB_title {
    background: #fcfcfc;
    border-bottom: 1px solid #ddd;
    height: 29px;
}

#WFTY_MB_ajaxContent {
    clear: both;
    padding: 2px 15px 15px;
    overflow: auto;
    text-align: left;
    line-height: 1.4em;
}

#WFTY_MB_ajaxContent.WFTY_MB_modal {
    padding: 15px;
}

#WFTY_MB_ajaxContent p {
    padding: 5px 0;
}

#WFTY_MB_load {
    position: fixed;
    display: none;
    z-index: 103;
    top: 50%;
    left: 50%;
    background-color: #E8E8E8;
    border: 1px solid #555;
    margin: -45px 0 0 -125px;
    padding: 40px 15px 15px;
}

#WFTY_MB_HideSelect {
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    border: none;
    filter: alpha(opacity=0);
    opacity: 0;
    height: 100%;
    width: 100%;
}

#WFTY_MB_iframeContent {
    clear: both;
    border: none;
}

.wfty_modal_close_btn {
    display: block;
    color: #666;
    text-align: center;
    line-height: 29px;
    width: 29px;
    height: 29px;
    position: absolute;
    top: 0;
    right: 0;
}

.wfty_modal_close_btn:before {
    content: "\f158";
    font: normal 20px/29px dashicons;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#WFTY_MB_closeWindowButton:hover .wfty_modal_close_btn,
#WFTY_MB_closeWindowButton:focus .wfty_modal_close_btn {
    color: #00a0d2;
}
