.modal-lg {
    width: 100%;
}


.modal-body {
    position: relative;
    overflow-y: auto;
    max-height: 900px;
    max-width: 1300px;
    padding: 15px;
}


.modal-dialog {
    position: relative;
    display: table; /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}


.img-responsive-current {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}


.column {
    margin: 0 0 0;
    padding: 0;
}

    .column div {
        position: relative;
        float: left;
        width: 124px;
        height: 108px;
        margin: 1px 1px 1px 1px;
        padding: 0;
    }


figure {
    width: 124px;
    height: 108px;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
}


.hoverimage figure {
    background: #1abc9c;
}

    .hoverimage figure img {
        opacity: 1;
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

    .hoverimage figure:hover img {
        opacity: .5;
    }

#container-table {
    text-align: center;
    max-width: 768px;
    max-height: 600px;
    /*margin: 0 auto;*/
    margin-bottom: 5px;
}

.container {
    padding: 0px;
}
