﻿#godoc-alert-text{
    text-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    padding: 0.25rem 35px 0.25rem 20px !important;
}

#godoc-alert-container{
    max-height: 40px !important;
    max-width: 100%; 
    overflow: hidden
}

.pointer{
    cursor: pointer;    
}

.space-between{
    align-items: center; 
    justify-content: space-between;
    display: flex;
}

.k-grid td:not(.k-command-cell) {
    white-space: nowrap!important;
    text-overflow: ellipsis;
}

.k-notification-content {
    white-space: pre-wrap;
}

.k-list-optionlabel {
    pointer-events: none;
    font-style: italic !important;
}

.k-tooltip.k-tooltip-error.k-validator-tooltip.k-invalid-msg.field-validation-error {
    position: fixed !important;
}

.gone {
    display : none !important;
}

.grid-remove-button{
    color: #dc3545 !important;
    background-color: transparent !important;
    border-color: #dc3545 !important;
}
.grid-remove-button:hover{
    color: white !important;
    background-color: #dc3545 !important;
}

.remove-button{
    color: white !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}
.remove-button:hover{
    background-color: #b02a37 !important;
}

.grid-edit-button{
    color: #00cfdd !important;
    background-color: transparent !important;
    border-color: #00cfdd !important;
}
.grid-edit-button:hover{
    color: white !important;
    background-color: #00cfdd !important;
}

.adminlte-table-row:hover{
    background-color: #e7edf3;
}

.background-light-yellow{
    background-color: #ffeda1 !important;
    border-color: #DEE2E6FF !important;
    border-width: 1px 0 0 1px !important;
}
tr:hover .background-light-yellow {
    background-color: #ccbe81 !important;
}
tr.background-light-yellow:hover {
    background-color: #ccbe81 !important;
}

.background-light-green{
    background-color: #deffe4 !important;
    border-color: #DEE2E6FF !important;
    border-width: 1px 0 0 1px !important;
}
tr:hover .background-light-green{
    background-color: #b2ccb6 !important;
}
tr.background-light-green:hover {
    background-color: #b2ccb6 !important;
}

.background-light-red{
    background-color: #ffc5c5 !important;
    border-color: #DEE2E6FF !important;
    border-width: 1px 0 0 1px !important;
}
tr:hover .background-light-red{
    background-color: #cc9e9e !important;
}
tr.background-light-red:hover {
    background-color: #cc9e9e !important;
}

tr[class*="background-light-"] td {
    border-color: #DEE2E6FF !important;
    border-width: 1px 0 0 1px !important;
}

/*tr:nth-child(even) .disabled {*/
/*    color: rgba(0, 0, 0, 0.3);*/
/*    pointer-events: none;*/
/*    background: -webkit-repeating-linear-gradient(330deg, #fdfcfc, #fdfcfc 10px, #f3f3f3 10px, #f3f3f3 20px);*/
/*    background: repeating-linear-gradient(-30deg, #fdfcfc, #fdfcfc 10px, #f3f3f3 10px, #f3f3f3 20px);*/
/*    border-color: #f3f3f3 !important;*/
/*}*/
/*tr:nth-child(odd) .disabled {*/
/*    color: rgba(0, 0, 0, 0.3);*/
/*    pointer-events: none;*/
/*    background: -webkit-repeating-linear-gradient(330deg, #f7f7f7, #f7f7f7 10px, #fdfcfc 10px, #fdfcfc 20px);*/
/*    background: repeating-linear-gradient(-30deg, #f7f7f7, #f7f7f7 10px, #fdfcfc 10px, #fdfcfc 20px);*/
/*    border-color: #fdfcfc !important;*/
/*}*/
/*tr:not(.k-detail-row):hover .disabled {*/
/*    background: -webkit-repeating-linear-gradient(330deg, #ebebeb, #ebebeb 10px, #e4e3e3 10px, #e4e3e3 20px);*/
/*    background: repeating-linear-gradient(-30deg, #ebebeb, #ebebeb 10px, #e4e3e3 10px, #e4e3e3 20px);*/
/*    border-color: #e4e3e3 !important;*/
/*}*/
tr .disabled {
    color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    background: #a3a3a3 !important;
    border: 1px solid #e4e3e3 !important;
}
tr:not(.k-detail-row):hover .disabled {
    background: #727272 !important;
    border: 1px solid #e4e3e3 !important;
}

.k-grid-norecords  {
    text-align: center !important;
    display: block !important;
    padding: 1rem;
}

.window-footer{
    position: absolute;
    bottom: 16px;
    display: block;
    width: calc(100% - 32px);
    margin-top: 16px;
    padding-top: 16px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.k-header-column-menu{
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.link{
    color: blue !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.disabled-link{
    color: #8080ff !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.display-grid {
    display: grid !important;
}

.k-button-solid-danger {
    border-color: #dc3545 !important;
    color: #fff !important;
    background-color: #dc3545 !important;
} 