.modal--no-scroll {
    position: relative;
    overflow: hidden;
}

.modal--lowered {
    .modal__dialog {
        top: 150px;
    }
}

.modal--centered {
    .modal__dialog {
        top: 50%;
        transform: translateY(-50%);
    }
}

.modal__overlay {
    width: 100%;
    height: 100%;
    z-index: @z-index-modal-overlay;
    overflow-y: auto;
    background: rgba(0,0,0,0.5);
}

//.modal__overlay--high-z-index {
//    z-index: @z-index-modal-overlay-top;
//}

.modal__close {
    top: 15px;
    right: 20px;
    width: 30px;
    height: 35px;
    cursor: pointer;
    position: absolute;
    text-indent: -2000em;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    z-index: @z-index-modal-close;
}

.modal__title {
    margin: -30px -30px 30px -30px;
    padding: 20px 50px 20px 30px;
    line-height: 22px;
    font-size: @font-size--18;
    font-weight: @font-weight-bold;
    font-family: @font-proxima-nova;
    color: @color-header;
    word-wrap: break-word;
    background-color: @theme-grey8;
    border-radius: @border-radius-default @border-radius-default 0 0;
    border-bottom: 2px solid @theme-grey10;
}

.modal__text {
    color: @color-modal-text;
    font-size: @font-size--16;
    font-family: @font-proxima-nova;
    line-height: 22px;
}

.modal__title--file-upload {
    padding-left: 3.5%;
}



.modal__dialog {
    top: 50px;
    left: 50%;
    z-index: @z-index-modal-dialog;
    overflow-x: hidden;
    margin: 0 auto;
    margin-bottom: 60px;
    border-radius: 5px;
    background: #FFFFFF;
}

.modal__dialog-container {
    padding: 30px;
}

.photo-modal .modal-header {
    height: 28px;
    padding-top: 40px;
}

.modal__sub-heading {
    margin: 0 -30px 30px -30px;
    padding: 10px 30px;
    font-size: @font-size--16;
    font-weight: @font-weight-normal;
    border-bottom: 1px solid @theme-grey10;
    color: @theme-grey9;
}

.modal__title + .modal__sub-heading {
    margin-top: -30px;
}

.modal__actions {
    margin: 30px -30px -30px -30px;
    padding: 20px 30px;
    text-align: left;
    font-family: @font-proxima-nova;
    border-top: 1px solid @theme-grey10;

    .form-actions {
        margin: 0;
        padding: 0;
        border-top: none;
    }

    .btn-link,
    .btn {
        margin-right: 15px !important;
    }

    .form-actions__error-summary {
        display: inline-block;
        padding: 0;
        margin-top: 10px;
        margin-right: 0 !important;
    }
}

.modal__title + .modal__actions {
    margin-top: -30px !important;
    border-top: none;
}

.modal__actions--no-margin-top {
    margin-top: 0;
}
