/*
    Created on : 02.06.2016, 14:50:01
    Author     : gp
*/

.lending_renew_button {
    margin-left: 5px;
}

.manifestation_status_reload.loading:before {
    content: url('../images/ajax-loader.gif');
    width: 14px;
    height: 14px;
}

.lre_antolin_info_true:before {
    content: url('../images/antolin_img_true.png');
}

.lre_antolin_info_false:before {
    content: url('../images/antolin_img_false.png');
}

.manifestation_status {
    /*height: 14px;*/
}

/*nicht verfügbar*/
.lrestatus_availability_0 {
    color: red;
}

/*verfügbar*/
.lrestatus_availability_1 {
    color: green;
}

/*Präsenzbestand*/
.lrestatus_availability_2 {
    color: black;
}

/*nicht vorhanden*/
.lrestatus_availability_3 {
    color: grey;
}

/*Keine Information*/
.lrestatus_availability_4 {
    color: grey;
}

/*Download*/
.lrestatus_availability_5 {
    color: black;
}

/*Reserviert*/
.lrestatus_availability_6 {
    color: #337ab7;
}

.manifestationStatusReload {
    left: 0px;
}

.lre_version {
    font-size: 0.6em;
    width: 100%;
    text-align: right;
    position: relative;
    right: 0px;
}

.lre_link_back {
    position: relative;
    padding-left: 10px;
}

a.lre_link_back:before {
    content: '';
    position: absolute;
    top: 2px;
    width: 0;
    height: 0;
    left: 0px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right:6px solid;
    border-right-color: inherit !important;
}

.result_view .header {
    padding: 0px 10px;
}

.result_view {
    border-top: 1px solid #c4c4c4;
}

.result_view .lrelist li {
    border-bottom: 1px solid #c4c4c4;
    padding: 10px;
}

.manifestation_shorter,
.manifestation_short {
    margin: 5px !important;
}

.manifestation_short {
    display: flex;
}

td.manifestation_shorter_coverimage {
    width: 50px !important;
}

.manifestation_short .status_info {
    width: 78px;
    margin-right: 10px;
    line-height: 1.4em;
    vertical-align: baseline;
}

.manifestation_short .titelinfo {
    /*width: 78%;*/
}

.manifestation_short .status_info .status img {
    vertical-align: middle;
}

.manifestation_short .titelinfo {
    line-height: 1.4em;
    vertical-align: baseline;
    white-space: normal;
}

.manifestation_short .titelinfo > .ht {
    font-weight: bold;
    width: 100%;
}

.manifestation_short > .status_info > .ressource {
    font-size: 0.9em;
}

.manifestation_short > .coverimage {
    order: 1;
    flex-basis: 75px;
    min-width: 90px;
    min-height: 50px;
    margin-right: 10px;
    font-size: 0.5em;
    flex-shrink: 0;
}

.manifestation_short > .status_info {
    order: 2;
    flex-basis: 0;
    min-width: 78px;
}

.manifestation_short > .titelinfo {
    order: 3;
}

.manifestation_short > .antolin_info {
    order: 4;
    flex: 0%;
    text-align: right;
}

.manifestation_short > .has_attachment {
    order: 5;
    flex: 0%;
    text-align: right;
}

.result_view ul.lrelist {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.lre_item_list {
    margin-left: 20px;
}

.lre_name {
    text-align: right;
    vertical-align: text-top;
    background-color: rgba(0,0,0,0.02);
    font-weight: bold;
    max-width: 200px;
}

.lre_detail_table {
    line-height: 1.0em;
    border-collapse: collapse;
    border: 0px;
    margin: 10px 0px 10px 0px;
}

.lre_item_info_table {
    margin: 10px 0px 10px 0px;
    border: 1px solid;
}

.lre_name, .lre_value {
    border: none;
}

.lre_value {
    word-break: break-word;
}

.lre_higher_line {
    line-height: 1.2em;
}

.lre_library {
    border: 1px solid;
}

.lre_detail_table td {
    border: none;
}

.lre_detail_table tbody,
.lre_detail_table tr,
.lre_detail_table td,
.lre_detail_table tr td:last-child,
.lre_item_info_table tr td:last-child{
    border: none;
}

.lre_detail_view_container {
    position: relative;
}

.lre_coverimage_detail {
    float: left;
}

.lre_coverimage_detail > a, .lre_coverimage_detail > img {
    display: block;
    margin: 10px 15px 10px 0;
}

.lre_manifestation_detail_h1 {
    font-size: 1.5em;
    font-weight: bold;
}

.lre_facet_submit_button {
    display: none;
}

.lre_facet_link {
    display:inline;
}
.lre_facet_link:after {
    content:"\a";
    white-space: pre;
}

a.lre_facet_link_has_more_values {
    background: url('../images/morevalues.png') no-repeat;
    display: inline-block;
    background-repeat:no-repeat;
    text-indent: -9999px;
    height: 13px;
    width: 13px;
    overflow: hidden;
}

a.lre_wiki_link {
    background: url('../images/wikipedia_icon.png') no-repeat;
    max-height: 13px;
    max-width: 13px;
    background-size: 13px 13px;
    display: inline-block;
    background-repeat:no-repeat;
    text-indent: -9999px;
    height: 25px;
    width: 25px;
    overflow: hidden;
}

a.lre_biblio_link {
    background: url('../images/biblio_at.jpg') no-repeat;
    display: inline-block;
    background-origin: content-box;
    padding-right: 16px;
    width: 30px;
    height: 14px;
    background-repeat:no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}
a.lre_librarything_link {
    background: url('../images/librarything_gr_logo-300x102.jpg') no-repeat;
    display: inline-block;
    background-origin: content-box;
    height: 14px;
    width: 42px;
    background-size: 42px 14px;
    padding-right: 16px;
    max-height: 14px;
    max-width: 42px;
    background-repeat:no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}
a.lre_goodreads_link {
    background: url('../images/goodreads_logo.png') no-repeat;
    display: inline-block;
    background-origin: content-box;
    height: 14px;
    width: 66px;
    background-size: 66px 14px;
    padding-right: 16px;
    max-height: 14px;
    max-width: 66px;
    background-repeat:no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}
a.lre_amazon_link {
    background: url('../images/amazon_button.jpg') no-repeat;
    display: inline-block;
    background-origin: content-box;
    height: 16px;
    width: 32px;
    background-size: 32px 16px;
    padding-right: 16px;
    max-height: 16px;
    max-width: 32px;
    background-repeat:no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.facetOptionText {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    white-space: nowrap;
    width:70%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    max-width: 200px;

}

.facetCount {
    right: 5px;
    position: absolute;
}

.lre_facet_checkbox_container .form-type-checkbox {
    white-space: nowrap;
}

.lre_facet_checkbox label.option {
    white-space: nowrap;
    left: 0px;
}

.lre_facet_container.form-item > label {
    font-weight: bold;
}

fieldset.lre_facet_container {
    width: 260px;
}

.lre_sort_form {
    text-align: right;
}
.lre_result_info, .lre_sort_form {
    flex-grow: 1;
}

.lre_result_list_header {
    display:flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.lre_footer {
    text-align: right;
    border-top: 1px solid;
    border-top-color: rgba(0,0,0,0.1);
    margin-top: 10px;
}

.lre_table {
    display: table;
    width: 100%;
    overflow-x: auto;
}

.lre_table .tr {
    display:table-row;
}

.lre_table .td {
    display:table-cell;
    border:thin solid black;
    padding:5px;
    width:100%;
}

.lre_table .group {
    display: table-row-group;
}

.fullWidth {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
}

.glyphicon {
    /*margin: 5px;*/
}

.manifestation_reservation_link_link {
    font-size: 0.8em;
}

.manifestation_download_link_container,
.manifestation_reservation_link_container {
    display:inline-block;
}

.lre_sort_form label {
    display: inline;
}

.lre_lendings_item odd {
    background-color: rgba(0,0,0,0.1);

}

.lre_center_not_rt {
    text-align: center;
}

.lre_right_not_rt {
    text-align: right;
}

.lre_lendings_item:last-child {
    border-bottom: 0px;
}

.lre_lendings_library, .lre_manifestation_detail_library {
    font-size: 1.5em;
    font-weight: bold;
    padding-top: 5px;
}

.lre_price {
    margin-bottom: 5px;
}

.lre_clean_table,
.lre_clean_table > tbody > tr,
.lre_clean_table > tbody > tr td,
.lre_clean_table tbody,
.lre_clean_table > tbody > tr > td:last-child{
    /*    height: 100%;*/
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: separate;
    outline: 0;
}

.lre_lending_form {
    margin: 0px;
}

.lre_linkfacet_selected {
    font-weight: bold;
}

.lre_invisible {
    visibility: hidden;
}

.lre_hidden {
    display: none;
}

.lre_reservation_button {
    /*float: right;*/
}

.lre_reservation_button {
    vertical-align: bottom;
}

.lre_call_number {
    width: min-content;
    min-width: 98px;
    border: 1px solid #eee;
    margin: 0 auto;
}

.lre_call_number div {
    white-space: nowrap;
    min-width: 98px;
    font-size: 1em;
    height: 1.3em;
    line-height: 1.3em;
    text-align: center;
}

.lrelist li:hover {
    border-left: 1px solid #b2b2b2;
    border-right: 1px solid #b2b2b2;
    box-shadow: 0 0 7px #b2b2b2;
}

.lre_width_100 {
    width: 100px;
}

.lre_button_right {
    float:right;
    position: relative;
    display: inline-block;

}

#autocomplete {
    z-index: 1000;
}

.lre_responsive_table > tbody > tr > td.with_padding {
    padding-right: 8px;
}

dataTableLendingHistory {
    table-layout: fixed;
    width: 100% !important;
}
dataTableLendingHistory td,
dataTableLendingHistory th{
    width: auto !important;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
}

.lre-calendar-widget table {
    table-layout: fixed ;
    width: 100% ;

}

.lre-calendar-widget table td {
    width: 50%;
}

.lre-calendar-timecolumn {
    text-align: right;
}



@media
only screen and (max-width: 768px) {

    .lre_coverimage_detail {
        float: none;
        width: 100%;
        text-align: center;
    }

    .lre_coverimage_detail > img {
        display: initial;
    }

    .lre_responsive_table .lre_name {
        text-align: left;
        vertical-align: text-top;
        max-width: 100%;
    }

    /* Force table to not be like tables anymore */
    .lre_responsive_table.table,
    .lre_responsive_table > thead,
    .lre_responsive_table > tbody,
    .lre_responsive_table > tbody > tr > th,
    .lre_responsive_table > tbody > tr > td,
    .lre_responsive_table > tbody > tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .lre_responsive_table > tbody > tr.lre_rt_thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .lre_center_not_rt {
        text-align: left;
    }

    .lre_right_not_rt {
        text-align: left;
    }

    .lre_responsive_table > tbody tr {
        border: 1px solid #ccc;
    }

    .lre_responsive_table > tbody > tr > td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .lre_responsive_table.with_header > tbody > tr > td,
    .lre_responsive_table.with_header > tbody > tr > td:last-child{
        padding-left: 50%;
    }

    .lre_responsive_table.with_header > tbody > tr td.td_without_caption {
        padding-left: 0px;
    }

    .lre_responsive_table > tbody > tr > td:before  {
        overflow: hidden;
        text-overflow: ellipsis;
        width: 45%;
        font-weight: bold;
    }

    .lre_responsive_table > tbody > tr > td:before,
    .lre_responsive_table > tbody > tr > td:last-child:before{
        /* Now like a table header */
        position: absolute;
        content: attr(data-label);
        float: left;
        /* Top/left values mimic padding */
        top: 0px;
        left: 6px;
        padding-right: 10px;
        white-space: nowrap;
    }

    .manifestation_short {
        flex-wrap: wrap;
    }

    .lre_manifestation_detail_h1 {
        font-size: 1.5em;
        font-weight: bold;
    }

}
