/*****************************************************
*  MODALS_MESSAGES.CSS
******************************************************/

.overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
}

.overlay_wrapper {
    position: relative;
    margin: 0 auto;
    height: 100%;
}

.overlay_wrapper td {
    padding: 0px 0;
    text-align: center;
    vertical-align: middle;
}

.modal {
    min-width: 300px;
    max-width: 600px;
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #bdc8d3;
    box-shadow: 0 0 9px rgba(64, 95, 128, 0.75);
}

.modal label {
    font-size: 20px;
}

.modal .dialog-alert {
    background: rgba(250, 195, 88, 0.9);
    border-radius: 0 0 4px 4px;
    padding: 5px 10px;
    top: 0px;
    left: 50%;
    color: #222;
    line-height: 24px;
    z-index: 1000;
    display: none;
    text-align: center;
}

.modal h2 {
    font: 500 25px/1.2em "Arial", "Helvetica", sand-serif;
    color: #fff;
    text-align: center;
    text-transform: capitalize;
    padding: 12px 13px 10px 13px;
    margin: 0;
    border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;background-image: url("../images/bg_masthead_header.png");
    background-size: 100% 100% !important;
}

.modal .close {
    float: right;
    cursor: pointer;
}

.modal .close_dialog {
    float: right;
    cursor: pointer;
}

.modal .simply_close_dialog {
    float: right;
    cursor: pointer;
}

.modal .content {
    font: 500 20px/1.2em "Arial", "Helvetica", sand-serif;
    padding: 15px;
}

.modal .content.nopad {
    padding: 0;
}

.modal .content.centered {
    text-align: center;
}

.modal .content.warning {
    display: table;
    margin: 5px;
}

.modal .content.warning span {
    vertical-align: middle;
    display: table-cell;
    padding: 5px;
    font-size: 20px;
    line-height: 1.5em;
}

.modal .sprite_button {
    top: -3px;
    vertical-align: middle;
}

.overlay_wrapper .modal.wrap .content .sprite_button.warning {
    float: none;
}

.overlay_wrapper .modal.wrap .content .sprite_button.warning + p {
    vertical-align: middle;
    display: inline-block;
}

.modal .actions {
    padding: 15px;
    border-top: 1px solid #ccc;
}

/* helper box */
.helper {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid #828282;
    cursor: pointer;
}

#sidebar .helper {
    position: absolute;
    height: 40px;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 7px 0px 7px 15px;
}

.helper i {
    opacity: 1;
    float: left;
    margin-top: 15px;
}

.helper p {
    float: left;
    padding: 4px 0 0 15px;
    border-left: 1px solid #818181;
    margin-left: 15px;
    font-size: 12px;
    color: #fff;
}

/* alerts */
.alert {
    background: rgba(250, 195, 88, 0.9);
    border-radius: 0 0 4px 4px;
    padding: 5px 10px;
    position: absolute;
    top: 0px;
    left: 50%;
    /* margin-left: -40%; */
    /* width: 80%; */
    color: #222;
    line-height: 30px;
    z-index: 1000;
    display: none;
}

.alert button:last-child {
    margin: 0;
}

.alert .close {
    position: relative;
    float: right;
    top: -2px;
    right: -5px;
}

/*** ERROR ***/
div.error {
    border-radius: 4px;
    border: 2px solid #d11400;
    padding: 10px;
}

div.error img {
    vertical-align: top;
}

/* spinner */
.spinner {
    position: relative;
    display: inline-block;
    height: 35px;
    width: 35px;

}

.alert .spinner {
    height: 20px;
    width: 20px;
    margin-right: 5px;
}

.modal .content .spinner {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

/* progress bar */
.ui-progressbar {
    border-radius: 4px;
    border: 2px solid #bebebe;
    background: #bebebe;
}

.ui-progressbar-value.ui-widget-header {
    border-radius: 3px;
    background: #327bca;
    background: -webkit-linear-gradient(top, rgba(52, 128, 211, 1) 0%, rgba(47, 116, 191, 1) 100%);
    background: -o-linear-gradient(top, rgba(52, 128, 211, 1) 0%, rgba(47, 116, 191, 1) 100%);
    background: -ms-linear-gradient(top, rgba(52, 128, 211, 1) 0%, rgba(47, 116, 191, 1) 100%);
    background: linear-gradient(to bottom, rgba(52, 128, 211, 1) 0%, rgba(47, 116, 191, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3480d3', endColorstr='#2f74bf', GradientType=0);
}

.ui-progressbar.small {
    border-radius: 3px;
    height: auto;
}

.ui-progressbar.small .ui-progressbar-value.ui-widget-header {
    border-radius: 2px;
    height: 7px;
}

#capture_photograph .video_content {
    width: 500px;
    height: 450px;
}

#capture_signature .content {
    width: 500px;
    height: 100px;
}

#capture_signature_canvas {
    width: 500px;
    height: 100px;
    border: 1px solid;
}
