/*
    Created on : Oct 02, 2015, 4:18:27 AM
    Author     : phamtrong204
*/

:root {
    --color-grey: #919191;
    --color-grey-rgb: 145, 145, 145;
    --color-grey-contrast: #000000;
    --color-grey-contrast-rgb: 0, 0, 0;
    --color-grey-shade: #808080;
    --color-grey-tint: #9c9c9c;
}

.view-form-item {
    font-size: 14px;
    margin-bottom: 10px;
}

.form-text {
    display: block;
}

.show_on_edit {
    display: none;
}

.is_edit_form .show_on_edit {
    display: initial;
}

.main-content .main-content-inner {
    margin-bottom: 1px;
}

.data-table-title {
    margin-top: 2.5rem;
}

.full-view {
    width: 100vw;
    height: calc(100vh - 45px);
}

.flex-vertical-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-404-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
}

.navbar-brand .badge {
    background-color: #fff;
    color: #438eb9;
}

.divider.topbar-divider {
    margin: 0;
    border-top-color: #bfcedc; /*#e4ecf3;*/
    background-color: #bfcedc; /*#e4ecf3;*/
    /*height: 2px;*/
}

.divider.topbar-divider + li > a {
    border-top: none;
}

img.img-cell {
    height: 90px;
}

.bold {
    font-weight: 700;
}

.text-large {
    font-size: large;
}

img.img-brand {
    max-height: 40px;
}

.navbar-brand > img.img-brand {
    max-height: 25px;
}

.table-avatar {
    object-fit: cover;
    height: 36px;
    width: 36px;
    border-radius: 4px;
}

.wysiwyg-toolbar {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.wysiwyg-editor {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    max-height: 500px;
    height: 500px;
}

.hr-chapter-ending {
    width: 150px;
    border-width: 3px;
    margin-bottom: 45px;
}

article {
    margin-top: 60px;
    margin-bottom: 60px;
}

.text-grey {
    color: var(--color-grey, #919191);
}

.fa.text-grey {
    color: #ccc;
}

.form-control.text-lowercase::placeholder {
    text-transform: initial;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-pointer,
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* region loading */

.spinning {
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    background-color: rgba(136, 136, 136, 0.41);
    backdrop-filter: blur(6px);

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

/* endregion */

.data_table td[for_key="phone_token"]{
    max-width: 240px;
    overflow-wrap: break-word;
}
