.modal {
    padding: 0 !important;
    /*padding-right: 0 !important;*/
}

.modal .modal-dialog {
        padding: 0;
        overflow:auto;
        overflow-y: auto;
    }

    /*.modal .modal-content {
          height: auto;
            min-height: 100%;
            border: 0 none;
            border-radius: 0;
            box-shadow: none;
            overflow-y: auto;
    }*/
/* Extra small devices (less than 768px) */
@media (max-width: 767px) {
    .modal-fullscreen-xs-down {
        padding: 0 !important;
    }

        .modal-fullscreen-xs-down .modal-dialog {
            width: auto;
            height: 100%;
            margin: 0;
            padding: 0;
            overflow-y: auto;
        }

        .modal-fullscreen-xs-down .modal-content {
            height: auto;
            min-height: 100%;
            border: 0 none;
            border-radius: 0;
            box-shadow: none;
            overflow-y: auto;
        }
}

/*Small devices (less than 992px)*/
@media (max-width: 991px) {
    .modal-fullscreen-sm-down

{
    padding: 0 !important;
}

.modal-fullscreen-sm-down .modal-dialog {
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

.modal-fullscreen-sm-down .modal-content {
    height: auto;
    min-height: 100%;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
}

}

/*Medium devices (less than 1200px)*/
@media (max-width: 1199px) {
    .modal-fullscreen-md-down

{
    padding: 0 !important;
}

.modal-fullscreen-md-down .modal-dialog {
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

.modal-fullscreen-md-down .modal-content {
    height: auto;
    min-height: 100%;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
}
}


.table-borderless td,
.table-borderless th {
    border: 0;
    
}