.ui-guide-code-example-show-sourcecode .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    display: block;
    opacity: 1 !important;
}

.ui-guide-code-example-show-sourcecode .modal .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.modal.theme-popup .close {
    font-size: 1.875rem;
    font-weight: 100;
    color: #666 !important;
    opacity: 1 !important;
    text-shadow: none;
}

.modal.theme-popup .modal-header .close {
    padding: 1.5rem 1.5rem;
    margin: -1.5rem -1.2rem -1.2rem auto;
}

.modal.theme-popup .modal-header {
    padding: 1.5rem 1rem 0 1rem;
}

.modal.theme-popup .modal-title {
    margin-top: auto;
    margin-bottom: auto;
}

.modal.theme-popup .modal-body {
    padding: 2rem 1rem;
}

.modal.theme-popup .modal-footer {
    justify-content: center;
    padding-bottom: 3rem;
}

.modal.theme-popup .modal-content,
.modal.theme-popup .modal-header,
.modal.theme-popup .modal-body,
.modal.theme-popup .modal-footer {
    border: 0;
    border-radius: 0;
}

.theme-popup {
    text-align: center;
}