﻿/* modal dialog */

.modal {
    display: none;
    position: relative;
    overflow: hidden;
    width: 640px;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #5f5f5f;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
.modal-active
{
    overflow:auto !important;

}

.modal-content {
    width: fit-content !important;
    display: inline-block !important;
}
/* default close button - positioned on upper right corner */
.modal-close,
.modal-close:visited {
    display: none;
    position: absolute;
    right: 2px;
    top: 4px;
    cursor: pointer;
    height: 22px;
    width: 22px;
    margin: 0 0 4px 4px;
    background: url(/themes/MS360/images/dialogs/close-22.png);
    background-position: left top;
    background-repeat: no-repeat;

        overflow:auto !important;

    
}

    .modal-close:hover,
    .modal-close:focus {
        background-position: left bottom;
    }

    .modal-close:active {
        top: 5px;
         overflow:auto !important;
    }
    

.ui-closable .modal-close {
    display: block;
}
/* maximize / minimize toggle button */
.modal-max,
.modal-max:visited {
    display: none;
    position: absolute;
    right: 26px;
    top: 4px;
    cursor: pointer;
    height: 22px;
    width: 22px;
    margin: 0 0 4px 4px;
    background-position: left top;
    background-repeat: no-repeat;
}

    .modal-max:active {
        top: 5px;
    }

    .modal-max:hover,
    .modal-max:focus {
        background-position: left bottom;
    }

.ui-maxable .modal-max {
    display: block;
    background-image: url(/themes/MS360/images/dialogs/plus-22.png);
}

.ui-minable .modal-max {
    display: block;
    background-image: url(/themes/MS360/images/dialogs/minus-22.png);
}
/* override jquery ui south east resize handle position */
.ui-icon-gripsmall-diagonal-se {
    background-position: -66px -226px !important;
}
/* ajax throbber before content is loaded */
.modal-throbber {
    min-width: 32px;
    min-height: 32px;
    background: url(/themes/MS360/images/icons/throbber-grey.gif) no-repeat left top;
}
/* top, middle and bottom sections */
.modal-head,
.modal-head-2,
.modal-head-3,
.modal-head-full {
    padding: 0 32px 0 16px;
    border-bottom: 1px solid #e9e9e9;
}

.modal-head {
    height: 40px;
}

.modal-head-2 {
    height: 55px;
}

.modal-head-3 {
    height: 75px;
}

.ui-draggable .modal-head,
.ui-draggable .modal-head-2,
.ui-draggable .modal-head-3,
.ui-draggable .modal-head-full {
    cursor: move;
}

.modal-body {
    margin: 16px;
    color: #222222;
}
/* applied to div cover during modal resizing */
.modal-body-cover {
    position: absolute;
    z-index: 99999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.modal-foot {
    clear: both;
    padding: 0px 16px 8px 16px;
    border-top: 1px solid #e9e9e9;
    background-color: #f5f5f5;
    -khtml-border-bottom-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-left-radius: 8px;
    -khtml-border-bottom-right-radius: 8px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    border-bottom-right-radius: 8px;
}

.modal-foot-2 {
    padding: 0px 16px 8px 16px;
}

    .modal-foot .but-white,
    .modal-foot-2 .but-white {
        min-width: 80px;
    }

    .modal-foot:after,
    .modal-foot-2:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
    }

html[xmlns] .modal-foot,
html[xmlns] .modal-foot-2 {
    display: block;
}
/* float clearing for IE6 */
* html .modal-foot,
* html .modal-foot-2 {
    height: 1%;
    overflow: visible;
}
/* float clearing for IE7 */
* + html .modal-foot,
* + html .modal-foot-2 {
    min-height: 1%;
}
/* title */
.modal-title {
    /*margin: 6px 0 4px 0;*/
    padding: 8px 0 8px 0;
   font-family: Arial, sans-serif;
    /*font-family: "Palatino", "Palatino Linotype", "Book Antiqua", "Georgia", "serif";*/
    font-size: 16px;
    font-weight: bold;
    color: #222222;
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* icons */
div.modal-icon-question,
div.notif-icon-question {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/question.png) no-repeat left top;
    color: #3a87ad;
}

div.modal-icon-info,
div.notif-icon-info {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/info.png) no-repeat left top;
    color: #3a87ad;
}

div.modal-icon-generic,
div.notif-icon-generic {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/well.png) no-repeat left top;
    color: #555555;
}

div.modal-icon-error,
div.notif-icon-error {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/xmark.png) no-repeat left top;
    color: #c54a48;
}

div.modal-icon-attention,
div.notif-icon-attention {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/exclam.png) no-repeat left top;
    color: #c54a48;
}

div.modal-icon-warning,
div.notif-icon-warning {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/warning.png) no-repeat left top;
    color: #dd9900;
}

div.modal-icon-cancel,
div.notif-icon-cancel {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/donot.png) no-repeat left top;
    color: #c54a48;
}

div.modal-icon-success,
div.notif-icon-success {
    padding-left: 40px;
    background: url(/themes/MS360/images/dialogs/checkmark.png) no-repeat left top;
    color: #55aa77;
}

.modal {
    top: 10px;
    left: 10px;
    right: 10px;
}

.modal-header .close {
    padding: 10px;
    margin: -10px;
}

.modal .arrow,
.modal .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.modal .arrow {
    border-width: 11px;
}

    .modal .arrow:after {
        border-width: 10px;
        content: "";
    }

.modal.top .arrow {
    left: 50%;
    margin-left: -11px;
    border-bottom-width: 0;
    border-top-color: #999;
    border-top-color: rgba(0, 0, 0, 0.25);
    bottom: -11px;
}

    .modal.top .arrow:after {
        bottom: 1px;
        margin-left: -10px;
        border-bottom-width: 0;
        border-top-color: #ffffff;
    }

.modal.right .arrow {
    top: 50%;
    left: -11px;
    margin-top: -11px;
    border-left-width: 0;
    border-right-color: #999;
    border-right-color: rgba(0, 0, 0, 0.25);
}

    .modal.right .arrow:after {
        left: 1px;
        bottom: -10px;
        border-left-width: 0;
        border-right-color: #ffffff;
    }

.modal.bottom .arrow {
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: #999;
    border-bottom-color: rgba(0, 0, 0, 0.25);
    top: -11px;
}

    .modal.bottom .arrow:after {
        top: 1px;
        margin-left: -10px;
        border-top-width: 0;
        border-bottom-color: #ffffff;
    }

.modal.left .arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-right-width: 0;
    border-left-color: #999;
    border-left-color: rgba(0, 0, 0, 0.25);
}

    .modal.left .arrow:after {
        right: 1px;
        border-right-width: 0;
        border-left-color: #ffffff;
        bottom: -10px;
    }

.close {
    opacity: 1;
}

.ex-con-div-mod {
    overflow:auto;
    vertical-align: top;
}


div#forgotpwd-cm-div .div-left-half {
    margin-top: 20px;
}

/* Notification Modal */

.modal.ng-isolate-scope {
    position: fixed;
    top:0px;
    right: 0px;
    left: 0px;
    margin: 30px auto;
    width: 100%;
    background-color: transparent;
}

#modal-on-hold {
    left: 0 !important;
}