.modal-background {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    -moz-opacity: .90;
    opacity: 0.8;
}

.window-container {
    display: none;
    position: fixed;
    background: #ffffff;
    -webkit-box-shadow: 0px 0px 10px #000000;
    -moz-box-shadow: 0px 0px 10px #000000;
    box-shadow: 0px 0px 10px #000000;
    table-layout: fixed;
    box-sizing: border-box;
}

.window-container iframe.contentBox {
    border: 0;
    display: block;
}

.window-container div.contentBox {
    -webkit-overflow-scrolling: touch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.window-container .headerBox {
    display: none;
    padding: 10px;
    box-sizing: border-box;
}

.window-container .footerBox {
    display: none;
    padding: 10px 20px 10px 20px;
    border-top: 1px solid #c0c0c0;
    text-align: right;
    box-sizing: border-box;
}

.window-container .window-titleBar {
    width: 100%;
    min-height: 36px;
    cursor: default;
    white-space: nowrap;
    color: #000;
    background-color: #f5f6f7;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.window-container .window-titleBar-content {
    font-family: tahoma, verdana, arial, sans-serif;
    font-size: 18px;
    display: inline-block;
    min-height: 26px;
    line-height: 26px;
    padding: 5px 10px;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 65px);
}

.window-container .window-header,
.window-container .window-footer {
    z-index: 50000010;
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
}

.window-container .window-minimizeButton {
    width: 36px;
    height: 36px;
    background: transparent url(WindowDialogButton.png) no-repeat left;
    cursor: pointer;
    display: inline-block;
    float: right;
    white-space: nowrap;
    opacity: 0.3;
}

.window-container .window-maximizeButton {
    width: 36px;
    height: 36px;
    background: transparent url(WindowDialogButton.png) no-repeat center;
    cursor: pointer;
    display: inline-block;
    float: right;
    white-space: nowrap;
    opacity: 0.3;
}

.window-container .window-closeButton {
    width: 36px;
    height: 36px;
    background: transparent url(WindowDialogButton.png) no-repeat right;
    cursor: pointer;
    display: inline-block;
    float: right;
    white-space: nowrap;
    opacity: 0.3;
}

.window-container .window-closeButton:hover,
.window-container .window-maximizeButton:hover,
.window-container .window-minimizeButton:hover {
    opacity: 0.8;
}

.window-container .window-content {
    vertical-align: top;
    height: 100%;
    width: 100%;
    color: #000000;
    box-sizing: border-box;
}

.window-container .window-titleBar .headerButton {
    vertical-align: middle;
    margin: 3px 3px 3px 3px;
    padding: 0px 10px;
    width: auto;
    min-width: 70px;
    height: 30px;
}

.window-container .naturalScroll {
    overflow: auto !important;
    height: 100% !important;
}


/*================ Border Radius =======================*/


/* Smartphones (portrait and landscape) ----------- */

@media only screen and (max-width: 768px) {
    .window-container {
        position: absolute;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .modal-background {
        background-color: #ffffff;
        -moz-opacity: 1;
        opacity: 1;
    }
    .window-container .window-closeButton {
        width: 50px;
        min-height: 50px;
        height: 100%;
        opacity: 0.7;
        float: left;
        background: transparent url(left-arrow.png) no-repeat center;
        background-size: 45%;
    }
    .window-container .window-titleBar {
        background-color: #f0f0f0;
        color: #000 !important;
        min-height: 50px;
        -webkit-box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 1px 1px -1px rgba(0, 0, 0, 0.5);
    }
    .window-container .window-titleBar a {
        color: #000 !important;
    }
    .window-container .window-titleBar-content {
        line-height: 40px;
        min-height: 40px;
    }
}


/* None Smartphones (portrait and landscape) ----------- */

@media only screen and (min-width: 768px) {}

.windowDisplaynone {
    display: none !important;
}