

/* Buttons */

div.angrid .angrid-buttons {
    text-align: center;
}

    div.angrid .angrid-buttons .angrid-simple-btn,
    div.angrid .angrid-buttons .btn-group {
        margin: 0px 2px 6px 2px;
    }

.angrid-inline-edit {
    text-align: center;
}

.angrid-inline-add {
    border: 1px dashed #ccc;
    padding: 3px;
}

.confirm-action {
    display: flex;
    align-items: flex-start;
    background: rgba(255,255,255,0.85);
    height: 100%;
    margin: 0 auto;
    position: absolute;
    min-height: 50px;
    width: 100%;
    z-index: 999;
    top: 0;
    left: 0;
}

.confirm-action-alert {
    left: 25%;
    margin: 0 auto;
    position: sticky;
    transform: translateZ(0);
    top: 50%;
}

.vertical-align {
    display: block !important;
}

.angrid-item-buttons-left {
    justify-content: flex-start;
}

.angrid-item-buttons-right {
    justify-content: flex-end;
}

.d-flex {
    display: flex;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

/* GENERAL */
.center {
    text-align: center;
}

::-ms-clear { /*remove clear field button from all inputs in IE and Edge browsers*/
    display: none;
}

/* PAGER */

div.angrid .angrid-pager {
    border-top: 1px solid #ccc;
    padding-bottom: 9px;
    padding-top: 9px;
    margin-bottom: 0px;
}

    div.angrid .angrid-pager .pagination {
        margin: 0;
        position: inherit;
        z-index: auto;
    }

/* fix style collisions with some components over pagination (DNN) */
.bstrap30 div.angrid .pagination > li > a, .bstrap30 div.angrid .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.428571429;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
    background-image: none;
    height: auto;
    width: auto;
}

.bstrap30 div.angrid .pagination > .active > a {
    background-color: #428bca;
}

.bstrap30 div.angrid .pagination li {
    float: none;
}

div.angrid .angrid-pager .pager {
    float: left;
    margin: 0;
}

div.angrid .angrid-pager .pager-status {
    padding: 0 10px;
}

div.angrid .angrid-pager .angrid-loading {
    background-image: url(loading.gif);
    height: 32px;
    width: 32px;
    margin-right: 10px;
    float: left;
    background-repeat: no-repeat;
}

div.angrid .angrid-loading {
    background-image: url(loading.gif);
    height: 36px;
    width: 36px;
    background-repeat: no-repeat;
    float: right;
    margin: 0 6px;
}

/* loading for item buttons */

.itemButtonLoaderContainer {
    position: absolute;
    height: 20px;
    margin: 0 auto;
    bottom: 0;
    left: 25%;
    width: 90%;
}

.itemButtonLoader {
    position: absolute;
    bottom: 0;
    background-color: #555;
    width: 5px;
    height: 5px;
    animation-name: bounce_itemButtonLoader;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    transform: scale(.3);
    border-radius: 19px;
}

.itemButtonLoader_1 {
    left: 0;
    animation-delay: 0.6s;
}

.itemButtonLoader_2 {
    left: 25%;
    animation-delay: 0.75s;
}

.itemButtonLoader_3 {
    left: 50%;
    animation-delay: 0.9s;
}

@keyframes bounce_itemButtonLoader {
    0% {
        transform: scale(1);
        background-color: #555;
    }

    100% {
        transform: scale(.3);
        background-color: rgb(255,255,255);
    }
}

/* end loading for item buttons */

div.angrid .angrid-ddpagesize {
    text-align: right;
}

    div.angrid .angrid-ddpagesize select {
        width: auto;
        display: inline;
    }

/* FILTERS */

div.angrid .angrid-search {
    padding: 0 0 20px 0;
}

div.angrid .angrid-filter {
    width: 100%;
}

    div.angrid .angrid-filter .filter-name {
        float: left;
        display: block;
    }

    div.angrid .angrid-filter .caret {
        float: right;
        display: block;
        margin: 7px 4px 4px 4px;
    }

    div.angrid .angrid-filter .dropdown-menu {
        width: 100%;
        max-height: 240px;
        overflow: auto;
    }

div.angrid .blank-filter {
    font-style: italic;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.bstrap30 .table > thead > tr > th {
    vertical-align: middle;
}

/* OPACITY HELPERS */

.opacity0 {
    /* set it to 1, so we keep layout? */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)"; /* IE 8 */
    filter: alpha(opacity=1); /* IE 5-7 */
    -moz-opacity: 0.01; /* Netscape */
    -khtml-opacity: 0.01; /* Safari 1.x */
    opacity: 0.01; /* Good browsers */
}

.opacity50 {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE 8 */
    filter: alpha(opacity=50); /* IE 5-7 */
    -moz-opacity: 0.5; /* Netscape */
    -khtml-opacity: 0.5; /* Safari 1.x */
    opacity: 0.5; /* Good browsers */
}

.opacity75 {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)"; /* IE 8 */
    filter: alpha(opacity=75); /* IE 5-7 */
    -moz-opacity: 0.75; /* Netscape */
    -khtml-opacity: 0.75; /* Safari 1.x */
    opacity: 0.75; /* Good browsers */
}

.opacity100 {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE 8 */
    filter: alpha(opacity=100); /* IE 5-7 */
    -moz-opacity: 1; /* Netscape */
    -khtml-opacity: 1; /* Safari 1.x */
    opacity: 1; /* Good browsers */
}

/* on DNN this doesn't get under our .bstrap3 class */
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

/* some problems in DNN edit mode */
/* This fixes relative DNN Divs getting on top of our popup */
.modal-open .DnnModule, .modal-open #DNN6, .modal-open #Content {
    position: static !important;
}

.modal-backdrop {
    z-index: 1030 !important;
}

.dnnsf-dnn-editmode .modal-backdrop {
    display: none;
}

/* And this is to fix incompatibilities with bootstrap 2 */
div.angrid-popup.modal {
    width: auto;
    background: transparent;
    margin: 0;
    top: 0 !important;
    z-index: 9999;
}

.angrid-popup .modal-body {
    max-height: none;
}


@media (min-width:992px) {
    .angrid-popup .modal-dialog.modal-lg {
        width: 900px;
    }
}


/*animations for popup*/
.modal iframe {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

.angrid-center {
    text-align: center;
}

.select-all {
    margin-top: 6px;
    margin-right: 10px;
    padding: 7px 20px 9px 20px;
    background-color: #f4f4f4;
}

.ui-widget.ui-dialog .ui-dialog-titlebar {
    padding: 1.3em 0 0.4em 1.5em;
}

.angrid-popup.in {
    display: inline-flex !important;
    height: 100%;
}

.angrid-popup .modal-dialog {
    position: relative;
    -webkit-align-self: center;
    align-self: center;
}

.angrid-popup .modal-content {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.angrid-popup .modal-body {
    overflow: auto;
    max-height: 80vh !important;
}

.angrid-popup .modal-footer {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}

/*FONT-AWESOME ICONS*/
.btn > i.fa-btn-icon.pull-right {
    margin-top: 3px;
}

/*drag and drop actions*/
.ui-sortable-helper .form-control-feedback {
    display: none;
}

/*validators*/
.bstrap30 .form-control-feedback {
    display: none;
}

.bstrap30 .has-error .form-control-feedback {
    color: #a94442;
    display: block;
}
/*expandable search*/
.angrid-buttons .expandable {
    float: right;
    position: relative;
    margin: 6px 8px;
    max-width: 400px;
    -webkit-transition: width .5s ease-in-out;
    -moz-transition: width .5s ease-in-out;
    -o-transition: width .5s ease-in-out;
    transition: width .5s ease-in-out;
}

    .angrid-buttons .expandable.expanded .form-control {
        width: 100%;
        text-align: left;
    }

    .angrid-buttons .expandable .form-control {
        width: 100px;
        text-align: center;
        padding-right: 40px;
    }

.expandable span.search-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #ccc;
}

.expandable.has-terms span.search-btn {
    right: 23px;
}

button.close.clear-search {
    position: absolute;
    top: 0;
    right: 0px;
    background-color: #eee;
    padding: 0 2px;
    margin: 0 !important;
    height: 100%;
    border-radius: 0 4px 4px 0;
    border: 1px solid #ccc;
}
/*end expandable search*/
@media only screen and (max-width : 768px) { /*align modal on top on mobile*/
    .angrid-popup .modal-dialog {
        transform: translate(0, 0) !important;
        -ms-transform: translate(0, 0) !important;
        -webkit-transform: translate(0, 0) !important;
    }
}

.ui-datepicker-title {
    color: #333
}

.dnnsf-grid-itembtn-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9051;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box
}

    .dnnsf-grid-itembtn-dropdown > li > a {
        display: block;
        padding: 3px 20px;
        text-decoration: none;
        clear: both;
        font-weight: 400;
        line-height: 1.42857143;
        color: #333;
        white-space: nowrap
    }

        .dnnsf-grid-itembtn-dropdown > li > a:focus, .dnnsf-grid-itembtn-dropdown > li > a:hover {
            text-decoration: none;
            color: #262626;
            background-color: #f5f5f5
        }

    .dnnsf-grid-itembtn-dropdown > .active > a, .dnnsf-grid-itembtn-dropdown > .active > a:focus, .dnnsf-grid-itembtn-dropdown > .active > a:hover {
        color: #fff;
        text-decoration: none;
        outline: 0;
        background-color: #337ab7
    }

    .dnnsf-grid-itembtn-dropdown > .disabled > a, .dnnsf-grid-itembtn-dropdown > .disabled > a:focus, .dnnsf-grid-itembtn-dropdown > .disabled > a:hover {
        color: #777
    }

        .dnnsf-grid-itembtn-dropdown > .disabled > a:focus, .dnnsf-grid-itembtn-dropdown > .disabled > a:hover {
            text-decoration: none;
            background-color: transparent;
            background-image: none;
            filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
            cursor: not-allowed
        }
