.inactivity-modal-open {
    overflow: hidden;
}

.inactivity-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.inactivity-modal-open .inactivity-modal {
    overflow-x: hidden;
    overflow-y: hidden;
}

.inactivity-modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.inactivity-modal-body .modal-btn {
    background-color: #337ab7;
    color: #fff;
    border-radius: 6px;
    line-height: 1.8em;
    border: none;
    height: 40px;
    width: auto;
    font-size: 13px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    padding: 6px;
}

.inactivity-modal.fade .inactivity-modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -25%);
}

.inactivity-modal.show .inactivity-modal-dialog {
    transform: translate(0, 0);
}

.inactivity-modal.show {
    display: block !important;
}

.inactivity-modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}

.inactivity-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 150px;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    text-align: center;
}

.inactivity-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.inactivity-modal-backdrop.fade {
    opacity: 0;
}

.inactivity-modal.show.fade {
    opacity: 1
}

.inactivity-modal-content .inactivity-modal-header h4 {
    font-size: 17px !important;
    color: rgb(37,37,37) !important;
    font-weight: normal;
    line-height: 1.5;
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    font-variant: common-ligatures;
    letter-spacing: normal;
    margin: 0;
}

.inactivity-modal .inactivity-modal-body p {
    color: rgb(102,102,102);
    font-size: 12px;
    margin: 0 0 1rem 0;
    line-height: 1.5;
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    font-variant: common-ligatures;
    letter-spacing: normal;
}

.inactivity-modal-backdrop.show {
    opacity: 0.5;
    display: block;
}

.inactivity-modal-header {
    display: flex;
    align-items: flex-start;
    height: 50px;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.inactivity-modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.inactivity-modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.inactivity-modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.inactivity-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.inactivity-modal-footer > :not(:first-child) {
    margin-left: .25rem;
}

.inactivity-modal-footer > :not(:last-child) {
    margin-right: .25rem;
}

.inactivity-modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

.inactivity-modal-container:before {
  background: rgba(0, 0, 0, 0.85);
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

@media (min-width: 576px) {
    .inactivity-modal-dialog {
        opacity: 100;
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .inactivity-modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
    .inactivity-modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .inactivity-modal-lg {
        max-width: 800px;
    }
}