/* The Modal (background) */
.st-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto;    /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */


    /*overflow: hidden;*/
    outline: 0;
}

.st-wrapper
{
    /*width: 100%;*/


    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;

}

/* Modal Content */
.st-modal-content {
    background-color: #fefefe;
    /*margin: auto;
    padding: 20px;*/
    border: 1px solid #888;
    /*width: 100%;*/
    /* --- */




    position: relative;
    display: flex;
    flex-direction: column;
    pointer-events: auto;

    background-clip: padding-box;


    outline: 0;
    border-radius: 0.3rem;


    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;

}

/* The Close Button */
.st-close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 2;
}

.st-close:hover,
.st-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 576px) {

    .st-modal {
        /*margin: 1.75rem;*/
    }

    .st-wrapper {

        /*margin-right: auto;
        margin-left: auto;
        width: auto;
        max-width: 500px;*/


        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
    }

    .st-modal-sm {
        width: 300px;
    }

}
@media (min-width: 992px) {
    /*
    .st-wrapper {
        max-width: 800px;
        width: auto;
    }

     */

    .st-modal-lg,
    .st-modal-xl {
        width: 800px;
    }
}
@media (min-width: 1200px) {
    /*
    .st-wrapper {
        width: auto;
        max-width: 1140px;
    }

     */

    .st-modal-xl {
        width: 1140px;
    }
}

.st-modal-listProductStockTable
{
    width: 100%;
    color: #777;
}

.st-modal-listProductStockTable td
{
    padding: 20px 0;
}

.st-modal-listProductStockTable tr
{
    border-bottom: 1px solid #f0f0f0;
}

.st-modal-listProductStockTable tr:last-child
{
    border-bottom: 0;
}
