/**
 * 	Back button
 */

.ds-back {
    position: relative;
}

.ds-back a {
    position: absolute;
    display: block;
    top: calc(8px + 2.7em);
    left: 0;
    margin-top: 0.3em;
    text-decoration: none;
}

.ds-back a:hover {
    text-decoration: none;
}

.ds-back span {
    display: block;
    font-size: 0.8em;
}

.ds-back span:before {
    content: '\27f5';
    display: inline-block;
    margin-right: 0.5em;
    font-family: 'fjell', sans-serif;
    font-size: 0.8em;
}

/**
 *    Search and status text
 */

.ml-document-seeker .ds-search {
    margin-bottom: 25px;
    z-index: 1;
}

.ml-document-seeker .ds-s-status-text {
    display: none;
}

.ml-document-seeker .ds-s-container {
    position: relative;
}

.ml-document-seeker form {
    background: transparent;
}

.ml-document-seeker fieldset {
    position: relative;
    margin: 0;
    border-bottom: 0;
}

.ml-document-seeker .ds-scf-input {
    width: 100%;
    padding: 0.5em 36px 0.6em 0.7em;
    font-size: 1.2em;
}

.ml-document-seeker .ds-search button {
    position: absolute;
    display: block;
    top: 7px;
    right: 1px;
    width: 46px;
    height: 2.7em;
    margin: 0;
    padding: 0;
    border: 0;
    text-indent: -999em;
    background-color: transparent;
    box-shadow: none;
}

.ml-document-seeker .ds-search button:before {
    content: '\1f50e';
    position: absolute;
    display: block;
    top: 0;
    width: 46px;
    height: 2.7em;
    padding: 0 0.7em;
    font-family: 'fjell', sans-serif;
    line-height: 2.7em;
    text-align: center;
    text-indent: 0;
    color: #888;
}

/**
 *    Search suggestions
 */

.ml-document-seeker .ds-sc-suggestions {
    position: absolute;
    top: calc(6px + 2.7em);
    left: 0;
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-top-color: #eee;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    background: #fff;
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.ml-document-seeker .pb-icon-16 {
    position: absolute;
    display: block;
    top: calc(50% - 8px);
    left: 15px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
}

.ml-document-seeker .ds-scs-section h3 {
    margin: 0;
    padding: 5px 15px;
    font-size: 0.6em;
    font-weight: normal;
    text-transform: uppercase;
    background-color: #f7f7f7;
}

.ml-document-seeker .ds-scs-section ul {
    margin: 0;
    padding: 1px 0;
    overflow: hidden;
    list-style: none;
}

.ml-document-seeker .ds-scs-section a {
    position: relative;
    display: block;
    padding: 0.4em 0 0.4em 42px;
    overflow: hidden;
    font-size: 0.8em;
    text-decoration: none;
    color: #000;
}

.ml-document-seeker .ds-scs-no-results {
    display: block;
    padding: 5px 15px;
    font-size: 0.8em;
    color: #999;
}

.ml-document-seeker .ds-sc-suggestions li a:hover,
.ml-document-seeker .ds-sc-suggestions .ds-scss-focus a,
.ml-document-seeker .ds-sc-suggestions:hover .ds-scss-focus a:hover {
    background-color: #eee;
}

.ml-document-seeker .ds-sc-suggestions:hover .ds-scss-focus a {
    background-color: #fff;
}

/** Label suggestions - because they don't have an icon */
.ml-document-seeker .ds-scss-labels a {
    padding-left: 15px;
}

/**
 *    Filter toggle
 *
 *    This is added with JavaScript outside of the .ml-document-seeker <div>
 *    because it otherwise disappears when the AJAX content is loaded.
 */

.ml-document-seeker-filter-toggle {
    position: absolute;
    top: calc(20px + 2.7em + 1.7em);
    text-decoration: none;
    cursor: pointer;
}

.ml-document-seeker-filter-toggle:hover {
    text-decoration: none;
}

.ml-document-seeker-filter-toggle span {
    font-size: 0.8em;
}

.ml-document-seeker-filter-toggle span:before {
    content: '\25bc';
    margin-right: 0.5em;
    font-family: 'fjell', sans-serif;
}

/**
 *    Filter
 */

.ml-document-seeker .ds-filter {
    position: fixed;
    top: 0;
    height: 100%;
    left: -100%;
    width: 80%;
    max-width: 260px;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    background: #fff;
    transition: left .3s ease-out;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.site--documentSeekerFilterActive .ds-filter {
    left: 0;
}

@media screen and (min-width: 768px) {
    .ml-document-seeker-filter-toggle {
        display: none;
    }

    .ml-document-seeker .ds-filter {
        position: relative;
        float: left;
        top: auto;
        bottom: auto;
        left: auto;
        width: 200px;
        overflow: hidden;
        padding: 0;
        margin-top: 3em;
        box-shadow: none;
    }
}

.ml-document-seeker .ds-filter h3 {
    display: none;
}

.ml-document-seeker .ds-ff-label {
    color: #333;
}

.ml-document-seeker .ds-ff-list {
    margin: 0.5em 0 1.6em 0;
    padding: 0;
    list-style: none;
}

.ml-document-seeker .ds-ff-list li {
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.8em;
}

.ml-document-seeker .ds-ff-list li:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ml-document-seeker .ds-ff-list input {
    position: absolute;
    top: 0.55em;
    left: 0.1em;
}

.ml-document-seeker .ds-ff-list label {
    display: inline-block;
    padding: 0.5em 0.5em 0.5em 1.8em;
    cursor: pointer;
}

.ml-document-seeker .ds-ffl-amount {
    font-size: .8em;
    color: #999;
}

/**
 *     Pagination
 *     copy of pbuic-pager.css with adjusted class names
 */

#ds-r-pagination-top {
    display: none;
}

.ml-document-seeker .ds-r-pagination {
    margin: 1em 0;
    padding: 0;
    list-style: none;
    font-size: 0.95em;
    text-align: center;
}

.ml-document-seeker .ds-r-pagination li {
    display: inline-block;
    margin: 0 0.3em;
    vertical-align: top;
}

.ml-document-seeker .ds-r-pagination a,
.ml-document-seeker .ds-r-pagination span {
    text-decoration: none;
    display: block;
    padding: .4em 0.6em;
    line-height: 1em;
    text-align: center;
    font-weight: bold;
    color: inherit;
}

.ml-document-seeker .ds-rp-active span {
    border-radius: 2px;
    color: #fff;
}

.ml-document-seeker .ds-rp-c-previous a,
.ml-document-seeker .ds-rp-c-previous span,
.ml-document-seeker .ds-rp-c-next a,
.ml-document-seeker .ds-rp-c-next span {
    width: 2em;
    height: 1.8em;
    overflow: hidden;
    visibility: hidden;
}

.ml-document-seeker .ds-rp-c-previous a:before,
.ml-document-seeker .ds-rp-c-previous span:before,
.ml-document-seeker .ds-rp-c-next a:before,
.ml-document-seeker .ds-rp-c-next span:before {
    font-family: 'fjell', sans-serif;
    font-weight: normal;
}

.ml-document-seeker .ds-rp-c-previous a:before,
.ml-document-seeker .ds-rp-c-previous span:before {
    content: "\276e";
    visibility: visible;
}

.ml-document-seeker .ds-rp-c-next a:before,
.ml-document-seeker .ds-rp-c-next span:before {
    content: "\276f";
    visibility: visible;
}

/** active ~ inactive */

.ml-document-seeker .ds-r-pagination span,
.ml-document-seeker .ds-rp-c-previous span:before,
.ml-document-seeker .ds-rp-c-next span:before {
    opacity: .7;
}

/**
 * 	  Sorting
 **/

.ml-document-seeker .ds-r-sorting {
    overflow: hidden;
    float: right;
    margin-bottom: 1em;
    text-align: right;
}

.ml-document-seeker .dsrs-caption {
    display: none;
}

@media screen and (min-width: 768px) {
    .ml-document-seeker .dsrs-caption {
        display: inline-block;
        font-size: 0.8em;
        color: #999;
    }
}

.ml-document-seeker .ds-r-sorting ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ml-document-seeker .ds-r-sorting li {
    display: inline-block;
}


.ml-document-seeker .ds-r-sorting a {
    display: block;
    padding: 0 0.15em;
    font-size: 0.8em;
    text-decoration: none;
}

.ml-document-seeker .ds-r-sorting a:hover {
    text-decoration: none;
    cursor: pointer;
}

.ml-document-seeker [class*='dsrs-active'] a:after {
    display: inline-block;
    margin-top: 0.1em;
    margin-left: 0.3em;
    font-family: 'fjell', sans-serif;
    font-size: 0.8em;
    vertical-align: top;
}

.ml-document-seeker [class*='-descending'] a:after {
    content: '\27f1';
}

.ml-document-seeker [class*='-ascending'] a:after {
    content: '\27f0';
}

/**
 *    Result
 */

.ml-document-seeker .ds-results {
    margin-top: 2em;
}

@media screen and (min-width: 768px) {
    .ml-document-seeker .ds-results {
        margin-left: 240px;
    }
}

/** List items */
.ml-document-seeker .ds-r-results {
    clear: right;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

/** Links */
.ml-document-seeker .ds-r-results li {
    margin-bottom: 1em;
}

.ml-document-seeker .ds-r-results a {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 1em 1em 1em 3em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: border 0.3s ease;
}

/** Meta information */
.ml-document-seeker .ds-r-results span {
    overflow: hidden;
    font-size: 0.8em;
    color: #999;
}

.ml-document-seeker .ds-r-results .ds-rr-title {
    display: block;
    margin-bottom: 0.3em;
    font-weight: bold;
    font-size: 1em;
    color: #333;
}

.ml-document-seeker .ds-r-results .ds-rr-labels {
    display: block;
    font-size: 0.7em;
    text-transform: uppercase;
}

.ml-document-seeker .ds-rr-description {
    margin: 0.3em 0 0;
    font-size: 0.8em;
    color: #999;
}

.ml-document-seeker .ds-r-results .ds-rr-date:after {
    content: '–';
    margin: 0 0.6em;
}

/** Icon */
.ml-document-seeker .ds-r-results .pb-icon-16 {
    top: 1.2em;
    left: 1em;
    font-size: 1em;
}