/* Custom dialog/modal headers */

.dialog-header-error { 
    background-color: #d2322d; 
}
.dialog-header-success { 
    background-color: #5cb85c; 
}
.dialog-header-wait { 
    background-color: #428bca; 
}
.dialog-header-notify { 
    background-color: #eeeeee; 
}
.dialog-header-confirm { 
    background-color: #333333; 
}

.dialog-header-error span, .dialog-header-error h4,
.dialog-header-wait span, .dialog-header-wait h4,
.dialog-header-confirm span, .dialog-header-confirm h4,
.dialog-header-success span, .dialog-header-success h4 { 
    color: #ffffff;
}

.dialogs.modal-dialog {
    width: fit-content;
}

.dialogs .panel .panel-body {
    padding: 10px;
}

.dialogs .panel.panel-default {
	margin-bottom: 0px;
}

.dialogs-newpop-backdrop {
    opacity: 0 !important;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

a.badge-danger:hover, a.badge-danger:focus {
  color: #fff;
  background-color: #bd2130;
}

a.badge-danger:focus, a.badge-danger.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.ui-grid-st-deletion-animation.ng-enter, .ui-grid-st-deletion-animation.ng-leave {
    -webkit-transition: 335ms linear all;
    -moz-transition: 335ms linear all;
    -ms-transition: 335ms linear all;
    -o-transition: 335ms linear all;
    transition: 335ms linear all;
    opacity: 0;
}

.ui-grid-st-deletion-animation.ng-enter.ng-enter-active {
    opacity: 1;
}

.ui-grid-st-deletion-animation.ng-leave {
    opacity:1;
}
.ui-grid-st-deletion-animation.ng-leave.ng-leave-active {
    opacity:0;
}

.list-group .list-group-item.list-group-item-action.not-removable, 
.list-group .list-group-item.list-group-item-action.ui-grid-st-deletion-animation.not-removable {
    opacity: 0.4;
    cursor: not-allowed;
}

.list-group .list-group-item.list-group-item-action.not-removable .badge, 
.list-group .list-group-item.list-group-item-action.ui-grid-st-deletion-animation.not-removable .badge {
    cursor: not-allowed;
    pointer-events: none;
}

.loading-bar-spinner-list {
    z-index: 10002;
    display: table-cell;
    vertical-align: middle;
    margin-left: 4px;
}

.loading-bar-spinner-list .spinner-icon {
    width: 16px;
    height: 16px;
    margin-left: auto;
    margin-right: auto;
    border:  solid 2px transparent;
    border-top-color:  #29d;
    border-left-color: #29d;
    border-radius: 50%;
    -webkit-animation: loading-bar-spinner 400ms linear infinite;
    -moz-animation: loading-bar-spinner 400ms linear infinite;
    -ms-animation: loading-bar-spinner 400ms linear infinite;
    -o-animation: loading-bar-spinner 400ms linear infinite;
    animation: loading-bar-spinner 400ms linear infinite;
}

@-webkit-keyframes loading-bar-spinner {
    0%   { -webkit-transform: rotate(0deg);   transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-moz-keyframes loading-bar-spinner {
    0%   { -moz-transform: rotate(0deg);   transform: rotate(0deg); }
    100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
@-o-keyframes loading-bar-spinner {
    0%   { -o-transform: rotate(0deg);   transform: rotate(0deg); }
    100% { -o-transform: rotate(360deg); transform: rotate(360deg); }
}
@-ms-keyframes loading-bar-spinner {
    0%   { -ms-transform: rotate(0deg);   transform: rotate(0deg); }
    100% { -ms-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes loading-bar-spinner {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
