﻿.modal-open {
    overflow: hidden;
}

    body.modal-open,
    .modal-open .navbar-fixed-top,
    .modal-open .navbar-fixed-bottom {
        margin-right: 15px;
    }

.modal {
    display: none;
    overflow: auto;
    overflow-y: scroll;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    padding: 50px;
}

    .modal.fade .modal-dialog {
       -webkit-transition: opacity 0.3s ease-out;
       -moz-transition: opacity 0.3s ease-out;
       -o-transition: opacity 0.3s ease-out;
       transition: opacity 0.3s ease-out;
       opacity: 0;

    }

    .modal.in .modal-dialog {
        opacity: 1;
    }

.modal-dialog {
    height: 100%;
    z-index: 1050;
}

.modal-content {
    position: relative;
    outline: none;
    width: 100%;
    text-align: center;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background-color: #000000;
}

    .modal-backdrop.fade {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .modal-backdrop.in {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

.lightbox-image {
    max-height: 100%;
    max-width: 100%;
}