#alert-overlay {
    background-color: #222;
}

#alert-container {
    position: relative;
    width: 25em;
    text-align: left;
    background: #fff;
    border: 8px solid #2C65A4;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

    #alert-container .header {
        height: 1.8em;
        line-height: 180%;
        background: #2C65A4;
        color: #fff;
        font-weight: 700;
        padding-left: .5em;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #alert-container .message {
        color: #333;
        font-size: 1.1em;
        margin: 0;
        padding: .9em .3em .5em .5em;
    }

    #alert-container .button {
        position: relative;
        margin: 40px .5em 1em 25%;
        text-align: right;
    }

        #alert-container .button span {
            padding: 4px 40px;
            color: #222;
            font-weight: 700;
            text-align: center;
            background: #BDC3C7;
            border: 1px solid #B1B7BC;
            cursor: pointer;
        }

#confirm-overlay {
    background-color: #222;
}

#confirm-container {
    min-height: 8em;
    width: 25em;
    text-align: left;
    background: #fff;
    border: 2px solid #369;
}

    #confirm-container .header {
        height: 1.8em;
        line-height: 180%;
        background: #4989BE;
        color: #fff;
        font-weight: 700;
        padding-left: .5em;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #confirm-container .message {
        color: #333;
        font-size: 14px;
        margin: 0;
        padding: .8em .2em .5em .5em;
    }

    #confirm-container .buttons {
        position: relative;
        line-height: 26px;
        padding: .9em .3em .5em .5em;
        text-align: right;
        margin-top: 40px;
    }

        #confirm-container .buttons span {
            padding: .3em .5em;
            color: #222;
            font-weight: 700;
            text-align: center;
            background: #BDC3C7;
            border: 1px solid #B1B7BC;
            cursor: pointer;
        }

#prompt-overlay {
    background-color: #222;
}

#prompt-container {
    position: relative;
    min-height: 10em;
    width: 26em;
    text-align: left;
    background: #fff;
    border: 8px solid #2C65A4;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

    #prompt-container .header {
        height: 1.8em;
        line-height: 180%;
        background: #2C65A4;
        color: #fff;
        font-weight: 700;
        padding-left: .5em;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #prompt-container .message {
        color: #333;
        font-size: 14px;
        margin: 0;
        padding: 12px 4px 12px 8px;
    }

    #prompt-container input {
        color: #11e;
        font-size: 1.1em;
        display: block;
        margin: 0 auto .5em 1em;
        background: #fefeeb;
        padding: .2em;
        border: 1px solid #000;
    }

    #prompt-container .buttons {
        position: relative;
        line-height: 26px;
        padding: .9em .3em .5em .5em;
        text-align: right;
        margin-top: 40px;
    }

        #prompt-container .buttons span {
            margin-right: .5em;
            padding: 4px 40px;
            color: #222;
            font-weight: 700;
            text-align: center;
            background: #BDC3C7;
            border: 1px solid #B1B7BC;
            cursor: pointer;
        }

#basic-modal-content {
    display: none;
}

#simplemodal-overlay {
    background-color: #222;
    opacity: .7 !important;
}

#simplemodal-container {
    height: 21em;
    width: 35em;
    color: #070809;
    background-color: #FFF;
    border: 8px solid #2C65A4;
    padding: 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.simplemodal-data {
    background-color: #FFF;
    min-height: 100px;
    padding-bottom: 5px;
}

#simplemodal-container code {
    background: #fefe08;
    border-left: 3px solid #65B43D;
    color: #0001be;
    display: block;
    font-size: 12px;
    margin-bottom: .8em;
    padding: 4px 6px 6px;
}

#simplemodal-container a.modalCloseImg {
    background: url(x.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -16px;
    cursor: pointer;
}

#simplemodal-container h3 {
    color: #84b8d9;
}

#simplemodal-container .buttons {
    position: relative;
    line-height: 26px;
    padding: .9em .3em .5em .5em;
    text-align: right;
    margin-top: 40px;
}

    #simplemodal-container .buttons span {
        margin-right: .5em;
        padding: .3em .5em;
        color: #222;
        font-weight: 700;
        text-align: center;
        background: #BDC3C7;
        border: 1px solid #B1B7BC;
        cursor: pointer;
    }

#osx-modal-content, #osx-modal-data {
    display: none;
}

#osx-overlay {
    background-color: #111;
}

#osx-container {
    background-color: #eee;
    color: #000;
    font: 16px/24px "Lucida Grande",Arial,sans-serif;
    padding-bottom: 4px;
    width: 600px;
    -moz-border-radius-bottomleft: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    -webkit-border-bottom-right-radius: 6px;
    border-radius: 0 0 6px 6px;
    -moz-box-shadow: 0 0 64px #000;
    -webkit-box-shadow: 0 0 64px #000;
    box-shadow: 0 0 64px #000;
}

    #osx-container a {
        color: #ddd;
    }

    #osx-container #osx-modal-title {
        color: #000;
        background-color: #ddd;
        border-bottom: 1px solid #ccc;
        font-weight: 700;
        padding: 6px 8px;
        text-shadow: 0 1px 0 #f4f4f4;
    }

    #osx-container .close {
        display: none;
        position: absolute;
        right: 0;
        top: 0;
    }

        #osx-container .close a {
            display: block;
            color: #777;
            font-weight: 700;
            padding: 6px 12px 0;
            text-decoration: none;
            text-shadow: 0 1px 0 #f4f4f4;
        }

            #osx-container .close a:hover {
                color: #000;
            }

    #osx-container #osx-modal-data {
        font-size: 12px;
        padding: 6px 12px;
    }

    #osx-container h2 {
        margin: 10px 0 6px;
    }

    #osx-container p {
        margin-bottom: 10px;
    }

    #osx-container span {
        color: #777;
    }

.popup-modal, .simplemodal-wrap {
    background-color: #2C65A4;
    overflow: hidden !important;
}

    .popup-modal .close-modal {
        top: -20px;
        right: -20px;
        position: absolute;
        z-index: 1000;
        cursor: pointer;
    }

    .popup-modal .popup-header {
        padding: 10px 0;
        -webkit-border-top-left-radius: 8px;
        -webkit-border-top-right-radius: 8px;
        -moz-border-radius-topleft: 8px;
        -moz-border-radius-topright: 8px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

        .popup-modal .popup-header span {
            color: #FFF;
            font-size: 20px;
            margin-left: 10px;
        }

    .popup-modal .popup-wrapper {
        padding: 10px 10px 22px;
        background-color: #FFF;
        max-height: 710px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-border-bottom-right-radius: 8px;
        -webkit-border-bottom-left-radius: 8px;
        -moz-border-radius-bottomright: 8px;
        -moz-border-radius-bottomleft: 8px;
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .popup-modal .popup-content {
        margin: 0;
        height: auto;
    }

        .popup-modal .popup-content .editor-label {
            margin-bottom: 5px;
        }

        .popup-modal .popup-content .editor-field {
            margin-bottom: 10px;
        }

        .popup-modal .popup-content input, .popup-modal .popup-content label {
            width: 94%;
            display: inline-block;
        }

        .popup-modal .popup-content label, .popup-modal .popup-content span {
            display: inline;
        }

        .popup-modal .popup-content textarea {
            height: 110px;
            width: 94%;
            resize: none;
            display: inline-block;
            font-family: 'Open Sans',sans-serif,Arial;
            background: #fff;
            border: 1px solid #aaa;
            color: #7f7f7f;
            font-size: 14px;
            padding: 10px;
        }

            .popup-modal .popup-content textarea:focus {
                border: 1px solid #5897fb;
                box-shadow: 0 0 5px rgba(0,0,0,.3);
            }

    .popup-modal .popup-buttons {
        margin-top: 40px;
        text-align: right;
        padding-right: 10px;
    }

        .popup-modal .popup-buttons input {
            cursor: pointer;
        }

    .popup-modal .popup-buttons, .popup-modal .popup-content, .popup-modal .popup-header {
        display: inline-block;
        position: relative !important;
        width: 100%;
    }

    .popup-modal .row {
        margin-bottom: 10px;
    }

    .popup-modal .popup-buttons .button-blue {
        float: right;
        padding-bottom: 6px;
        padding-top: 6px;
        margin-right: 0;
        padding-left: 26px !important;
    }
