* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    background-color: #f6fbff;
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    overflow: hidden;
    top: 0px !important;
    /* For google translate bar */
}

/* Modal nested */

.send-back {
    z-index: -1 !important;
}

#data-table td {
    vertical-align: middle;
}

/* Modal nested */

.summernote {
    min-height: 10rem;
}

#page-sidebar {
    margin: 0;
    flex-direction: column;
    max-width: 14rem;
    background: #ff0a0a;
    color: white;
    overflow: hidden;
    text-align: center;
    min-height: 100%;
}

.nav-link {
    color: #4b7ca7;
}

.hidden {
    display: none;
}


.page {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align: center;
    overflow-x: auto;
    /* Bootstrap table fix */
    position: relative;
}


.page-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    flex: 1 0 0px;
    min-height: 0;
    padding-top: 60px;
}

.page-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: absolute;
    color: white;
    width: 100%;
    background: #ff0a0a;
}

.sidebar-tab {
    align-items: center;
    text-align: left;
    justify-content: space-between;
    cursor: pointer;
    min-height: 7vh;
}

.page.shifted {
    margin-right: -14rem;
}

.sidebar-tab img {
    width: 1.3em;
}

.cp {
    cursor: pointer;
}

.app-gradient,
.btn-primary,
.badge-primary {
    background-image: linear-gradient(to right, #cb0a0a, #ff0a0a, #cb0a0a);
}

.sidebar-tab:not(.app-gradient):hover {
    background: #4b7ca780;
    font-size: 107%;
    font-weight: bold;
    opacity: .85;
}

footer.footer {
    display: flex;
    align-self: center;
}

.sidebar-holder {
    height: 0px;
    flex: 1 1 auto;
    overflow: hidden auto;
    background: black;
}

.id-photo {
    width: 3rem;
    height: 3rem;
    display: flex;
    border-radius: 50%;
    cursor: pointer;
    padding: .15rem;
    border: 1px solid #ccc;
    opacity: 0.95;
}

.id-photo:hover {
    opacity: 1;
}

.id-photo img {
    width: 100%;
    border-radius: 50%;
}

.content-map {
    flex-grow: 1;
    min-height: 400px;
}

@media (max-width: 768px) {
    .content-map {
        flex-grow: 1;
        min-height: 800px;
    }
}

/* Login css */
.login-card {
    max-width: 400px;
    width: 80%;
    min-width: 350px;
    justify-content: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page_login {
    background: url('../images/login_bg.png');
    background-size: cover;
}

.page_login footer {
    color: white !important;
}

.input-group-text {
    background: #cb0a0a;
    color: white;
}

.cursor {
    cursor: pointer;
}
/* Admin */


.preview_popup, .station_popup {
    position: fixed;
    max-width: 800px;
    width: 100%;
    background: white;
    z-index: 9;
    margin: auto;
    /* bottom: 10px;
    right: 10px; */
       max-height: calc(100% - 60px);
    border-radius: 5px;
        overflow: auto;
}

.table-responsive {
    min-height : 30%;
}


.no-edit #update_user,
.no-edit #delete_user {
    display: none;
}
.no-edit #cancel_edit {
    display: none;
}

.control:hover {
    background: #f7ecc7;
    cursor: pointer;
}

.site-logo-txt {
    font-size: 16px;
    color: #705131;
}