/********* LDAP Connections **********/
.table-wrapper {
    @media only screen and (max-width: 767px) {
        overflow-x: scroll;
    }
}

.connection-table {
    margin-top: 10px;

    a:hover {
        cursor: pointer;
    }
}

/********* LDAP New Connections **********/
.accordion-connections .panel {
    border: 1px solid #ddd;
    margin-bottom: 5px;

    .panel-heading {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

.panel-success > .panel-heading + .panel-collapse > .panel-body {
    border-color: #ddd;
}

[data-parent="#accordion-connections"] {
    cursor: pointer;

    &:hover {
        opacity: 0.8;
    }
}

.new-connections-form .panel-body .col-md-1 .glyphicons {
    line-height: 2.56857;
}

.panel-title .glyphicons.glyphicons-ok {
    margin: -3px 5px;
}

.btn-popover-close {
    position: absolute;
    top: 0;
    right: 5px;
}

.ldap-groups-help {
    padding: 10px;
}

.affix.form-toolbar-bottom {
    background: #efefef;
    border-top: 1px solid #ddd;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    margin: 0;
    z-index: 10000;
}

.affix.form-toolbar .container {
    margin: 0 auto;
}

.ldap-search-result {
    height: 270px;
    overflow-y: auto;
}

.connection-label > * {
    @media only screen and (max-width: 991px) {
        float: left;
    }
}

.fetch-attr-btn, .user_groups-submit-btn {
    @media only screen and (max-width: 991px) {
        margin-top: 10px;
    }
}

div.ldap-search-result > pre {
    padding: 0;
    margin: 0;
    font-size: 11px;
    border: none;
    background: transparent;
}

.ldap-directory-status {
    margin-left: -42px;

    @media only screen and (max-width: 991px) {
        margin-left: auto;
    }

    &-text {
        word-break: break-all;
        word-break: break-word;
    }
}

//Set max-height for metadata profile example table
.metadata-profile-example-table {
    max-height: 320px;
    overflow-y: auto;
}
