body, html {
    height: 100%;
}

.about {
    color: #2b2f32;
}

.header {
    position: relative;
    z-index: 100;
}

.navbar .open-btn {
    display: none;
}

.content {
    min-height: 100%;
    padding-bottom: 3em;
    padding-top: calc(2em + 80px);
}
.content h2 {
    margin-bottom: 1em;
}

footer {
    z-index: 100;
    position: relative;
    background: #2e3192;
    padding: 3em 1em;
}

footer p {
    color: #aaaaaa;
}

.signature canvas {
    border: 1px solid gray;
    background: white;
    width: 300px !important;
    height: 150px !important;
}

#loading {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

a.iframe-container {
    position: relative;
    width: 200px;
    height: 300px;
    display: block;
}

a.iframe-container iframe {
    position: relative;
    z-index: 1;
    border: 0;
}

a.iframe-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.address-results {
    max-height: 300px;
    overflow: auto;
}

.address-results a {
    display: block;
    margin: 4px;
    text-decoration: none;
    color: inherit;
}

.address-results a:hover {
    background: #eee;
}

/* make datagrid responsive = show reasonable on mobile */
.datagrid {
    width: 100%;
    overflow-x: auto;
    position: relative;
}

@media (max-width: 576px) {
    .responsive-table {
        display: flex;
        flex-direction: column;
    }

    .responsive-table tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .responsive-table td,
    .responsive-table th {
        flex-basis: 100%;
    }
}

.datagrid .loading-wrap {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    text-align: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

.datagrid .loader {
    border: 16px solid #ffffff;
    border-top: 16px solid #000000;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    box-shadow: #5f5f5f47 0 0 10px 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.ajax-loading .datagrid .loading-wrap {
    display: flex;
}


.user-inactive .text {
    text-decoration: line-through;
}


body .datagrid .datagrid-toolbar {
    width: 100%;
    flex-direction: row;
    display: flex;
}

.datagrid-exports {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.datagrid-settings {
    display: flex;
    align-items: center;
}

.datagrid .col-action a {   
    display: block;
    margin: 5px;
}