.masthead {
    height: 100vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.invalid-feedback {
    display: block;
}

a.disabled {
    color: grey;
    cursor: no-drop;
}

/*=======================================================================================
                                    Table CSS                                         
=======================================================================================*/

.table-font-sm td,
.table-font-sm tfoot{
    font-size: 14px !important;
}

.table-font-sm input{
    font-size: 14px !important;
}

.table-text-center,
.table-text-center td {
    text-align: center !important;   
    vertical-align: middle !important;
}

.table thead th,
td,
td input {
    vertical-align: middle !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    min-width: 4rem;
}

.table thead th {
    font-weight: 600 !important;
}

.table thead th.last-column-header {
    cursor: pointer;
}

.table thead th.last-column-header.no-sort {
    cursor: not-allowed;
}


tr .action-column:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 999;
}

/*=======================================================================================
                                    CURSOR CSS                                          
=======================================================================================*/
.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default !important;
}

/*=======================================================================================
                                    BUTTON CSS                                          
=======================================================================================*/
.button-badge {
    position: absolute;
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 50%;
    top: -0.25rem;
    right: -0.25rem;
}

.button-badge-text {
    padding: 0 0.25rem 0 0.25rem;
    height: unset;
    width: unset;
    font-size: 0.75rem;
    border-radius: 0.2rem;
}

/*=======================================================================================
                                    MODAL CSS                                          
=======================================================================================*/
.modal-full {
    min-width: 95vw;
    min-height: 90vh;
    height: 90vh;
}

.modal-full .modal-full-content {
    min-height: 90vh;
}


.change-image-btn {
    overflow: hidden;
    text-overflow: ellipsis;
}
/*=======================================================================================
                                    DROPDOWN CSS                                          
=======================================================================================*/
.dropdown-menu-custom {
    position: relative;
    left: 67% !important;
    right: auto !important;
    transform: translate(-67%, 0) !important;
}

.dropdown-menu-custom::after{
    content: "";
    position: absolute;
    top: -8px; /*i.e. half the height*/
    left: calc(67% - 15px);
    height: 15px;
    width: 15px;
    background: inherit;

    /* Make it triangle */
    transform: rotate(45deg);
    border-top: inherit;
    border-left: inherit;
}

.dropdown-menu-custom > ul > li > .dropdown-divider:last-child,
.dropdown-menu-custom > ul > li > .dropdown-divider:first-child {
    border-top-width: 2px;
}

/*=======================================================================================
                                    MENU CSS                                          
=======================================================================================*/

.menu-multi-line {
    width: 75% !important;
    white-space: normal;
}

.menu-child-container {
    background-color: #262a2e;
}

.main-sidebar li.nav-item {
    font-size: 14px;
    max-width: 234px;
}

.main-sidebar li.nav-item a:hover {
    color: white !important;
    overflow: visible;
}

.nav-desc-level-1 {
    text-overflow: ellipsis;
    max-width: 150px;
}

.nav-desc-level-2 {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 165px;
    animation: scroll 7s linear 0s infinite;
}

.nav-desc-level-2 p{
    transition: transform 300ms ease;
}

.main-sidebar li.nav-item:not(.dropdown) a:hover .nav-desc-level-2 {
    overflow: visible;
    white-space: normal;
}

.main-sidebar .nav-icon {
    min-width: 26.6px;
}

.main-sidebar li.nav-item > .nav-link {
    color: #76838f;
}

.main-sidebar li.nav-item > .nav-link.active {
    background-color: transparent !important;
    box-shadow: unset !important;
    color: white !important;
}

/*=======================================================================================
                                     TABS                                          
=======================================================================================*/
.tab-content {
    background-color: white;
    border: 1px solid #dee2e6;
    border-top: unset;
}

/*=======================================================================================
                                     ERROR PAGE                                          
=======================================================================================*/
.error-page-code {
    font-size: 150px;
}

.error-page-description {
    font-size: 25px;
}

.error-page-button {
    margin-top: 100px;
}

.property-tabs {
    height: 80vh;
    max-height: 80vh;
    overflow: auto;
}

/*=======================================================================================
                                     MISC                                          
=======================================================================================*/
.hidden {
    display: none !important;
}

.no-list-indicator {
    list-style:none;
}

.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;
}

.no-color-change {
    color: inherit !important;
    background-color: inherit !important;
}

.fit-content {
    width:1%;
    white-space:nowrap;
}

.red {
    color: red !important;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.center-vertical {
    display: flex;
    align-items: center;
    height: 100%;
}

.center-horizontal {
    display: flex;
    justify-content: center;
    width: 100%;
}

.full-chart {
    min-height: 100%; 
    min-width:100%; 
    max-height: 100%; 
    max-width: 100%;
}

.dashboard-chart {
    height: 300px;
    background-color: white;
}

.chart-container {
    background-color: white;
}

.image-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-loader-description {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
}

.indicator-top {
    position: absolute !important;
    top: 5px;
}

.large-select-loading-indicator, .linkable-select-loading-indicator {
    position: absolute;
    right: 45px;
    top: 2px;
    bottom: 0;
    z-index: 999;
}

.large-select-value {
    padding-right: 35px;
}

.out-of-sight {
    position: absolute;
    top: -1000000px;
}

.divider {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    width: 100%;
}

.draggable {
    cursor: grab;
}

.draggable.ui-sortable-helper {
    cursor: grabbing;
}

.property-calendar-card {
    min-height: 55vh;
}

.property-calendar {
    min-height: 50vh;
}

.property-calendar td {
    padding: 0;
    margin: 0;
}

/*
 * Override _main-sidebar.scss
 */

 .menu-child-container .nav-icon.fa, 
 .menu-child-container .nav-icon.fab, 
 .menu-child-container .nav-icon.far, 
 .menu-child-container .nav-icon.fas, 
 .menu-child-container .nav-icon.glyphicon, 
 .menu-child-container .nav-icon.ion {
    font-size: 0.55em !important;
}

.iframe-loader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}