﻿.modal-backdrop {
    height: 100%;
    opacity: 0.5;
    z-index: 11002;
}
/*Vertically Center*/
.modal {
    text-align: center;
    padding: 0 !important;
    position: fixed !important;
    overflow-y: hidden !important;
    z-index: 11002;
}

    /*Add style to popups created using AngularJS and not for specific ones*/
    .modal.ng-scope:not(.projectInfo-popup):not(.taskCard-popup):not(.createProjectCard-popup):not(.userCard-popup) {
        bottom: 10%;
    }

    /*Add style to popups created using Angular (not AngularJS) and not for specific ones*/
    .modal:not(.ng-scope) .modal-dialog:not(.assignmentAddingComponent-popup):not(.assigneeEditingComponent-popup):not(.assigneeChangingUsingAdvisorComponent-popup):not(.splitAssignmentComponent-popup):not(.splitAssignmentMultiassignComponent-popup) {
        bottom: 5%;
    }

    /*IE browser adds scroll for container (even if it`s not needed), that`s scrolling of the content is not working, so set hidden
        Used only for several modal windows as not sure that it`s needed for other*/
    .modal.taskCard-popup,
    .modal.ums_dialog {
        overflow-y: hidden;
    }

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

    .modal.overlapped {
        z-index: 1039 !important;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.modal-dialog.splitAssignmentMultiassignComponent-popup {
    width: 500px;
    height: 218px;
    bottom: 6px;
}

.modal-dialog.editModuleLibrary-popup {
    width: 440px;
}

.modal-dialog.whatif-warning-apply-changes {
    width: 480px;
}

.simulation-selection-popup {
    width: 560px;
}

.modal-content {
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 41, 199, 0.2);
    -ms-box-shadow: 0 2px 4px 0 rgba(0, 41, 199, 0.2);
    box-shadow: 0 2px 4px 0 rgba(0, 41, 199, 0.2);
}

/*custom style*/
.md-header {
    height: 64px;
    background-color: #5774e7;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-family: GlowBold;
    font-size: 23px;
    color: #ffffff;
    padding: 15px;
    text-align: center;
}

.md-body {
    font-family: GlowRegular;
    color: #4a4a4a;
    padding: 30px;
    font-size: 16px;
}

.md-footer {
    bottom: 0;
    position: absolute;
    width: 100%;
    padding-right: 30px;
    padding-bottom: 20px;
    text-align: right;
}

.md-btn {
    background-color: rgba(87, 116, 231, 0.1);
    border: solid 1px #5774e7;
    border-radius: 4px;
    width: 130px;
    min-height: 38px;
    color: #5774e7;
    font-family: GlowBold;
    font-size: 14px;
    white-space: normal;
    cursor: pointer;
    height: 38px;
    display: inline;
}

.md-btn-submit {
    background-color: #5774e7;
    color: #ffffff;
    margin-left: 20px;
}

.md-btn-margin20 {
    margin-left: 20px;
}

.md-custom {
    margin-top: 11px;
    font-size: 14px;
}
/*specific form this merge view*/
.paragraph {
    margin-bottom: 10px;
}

.additional-text{
    margin-top: 10px;
}

.infoForConfirm {
    height: 30px;
}

.infoText {
    width: 300px;
}

.confirmInput {
    width: 70px;
    height: 38px;
    border-radius: 3px;
    background-color: #ffffff;
    border: solid 1px #e1e1e1;
}

.instruction {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    color: #5774e7;
}

.errorText {
    color: red;
}

.modal-backdrop.onTop, .modal.onTop {
    z-index: 11001;
}

.modal-backdrop.onBack {
    z-index: 11001;
}

.modal.onBack {
    z-index: 11000;
}

.md-btn-padding15 {
    padding: 0 15px;
}

.md-btn-margin-right20 {
    margin-right: 20px;
}
