@media (max-width: 480px) {

    .modal-full {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }

    .modal-full .modal-dialog {
        position: fixed;
        margin: 0;
        width: 100%;
        height: 100%;
        padding: 0;
    }

}

@media (min-width: 481px) {
    .modal-full {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 480px;
        left: calc((100vw - 480px)/2);
        overflow: hidden;

    }

    .modal-full .modal-dialog {
        position: fixed;
        margin: 0;
        width: 480px;
        height: 100%;
        padding: 0;
    }


}

.modal-full .modal-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 0 solid #09558b;
    border-radius: 0;
    box-shadow: none;
}

.modal-full .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 45px;
    padding: 5px;
    background: #09558b;
    border: 0;
}

.modal-full .modal-body {
    position: absolute;
    top: 45px;
    bottom: 45px;
    width: 100%;
    padding: 5px;
    overflow: auto;
}

.modal-full .modal-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 45px;
    padding: 5px;
    background: #f1f3f5;
}

.modal-full .modal-body-no-footer {
    position: absolute;
    top: 45px;
    bottom: 0;
    width: 100%;
    padding: 5px;
    overflow: auto;
}


.modal-full-m .modal-body {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.modal-full-m .modal-body-fixed {
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.modal-full-t .modal-body {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.modal-full-t .modal-body-fixed {
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.modal-full-t .modal-dialog {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.modal-full-t .modal-content {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.modal-full-t .modal-body-no-footer {
    max-height: calc(100vh - 60px);
}

@media (max-width: 768px) {

    .modal-full-m {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }

    .modal-full-m .modal-dialog {
        position: fixed;
        margin: 0;
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .modal-full-m .modal-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .modal-full-m .modal-header {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 45px;
        padding: 5px;
        border: 0;
    }

    .modal-full-m .modal-body {
        position: absolute;
        top: 45px;
        bottom: 45px;
        width: 100%;
        padding: 15px;
        overflow: auto;
        max-height: none;
    }

    .modal-full-m .modal-footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 45px;
        padding: 5px;
        background: #f1f3f5;
    }

    .modal-full-m .modal-body-no-footer {
        position: absolute;
        top: 45px;
        bottom: 0;
        width: 100%;
        padding: 5px;
        overflow: auto;
    }

    .modal-full-t {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }

    .modal-full-t .modal-dialog {
        position: fixed;
        margin: 0;
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .modal-full-t .modal-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .modal-full-t .modal-header {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 45px;
        padding: 5px;
        border: 0;
    }

    .modal-full-t .modal-body {
        position: absolute;
        top: 45px;
        bottom: 45px;
        width: 100%;
        padding: 15px;
        overflow: auto;
        max-height: none;
    }

    .modal-full-t .modal-footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 45px;
        padding: 5px;
        background: #f1f3f5;
    }

    .modal-full-t .modal-body-no-footer {
        position: absolute;
        top: 45px;
        bottom: 0;
        width: 100%;
        padding: 5px;
        overflow: auto;
    }

}