                /**
 * DeloreanNmObjects plugin for Craft CMS
 *
 * DeloreanNmObjects CSS
 *
 * @author    Delorean AB
 * @copyright Copyright (c) 2018 Delorean AB
 * @link      https://www.delorean.se
 * @package   DeloreanNmObjects
 * @since     0.0.1
 */

/**
 * Objectinformation table
 */

 .objectdescriptionlistings table tr:nth-child(2n) {
     background-color: #eee;
 }

 .objectdescriptionlistings a {
     text-decoration: none;
 }

.objectdescriptionlistings table {
    table-layout:fixed;
    width: 100%;
}
.objectdescriptionlistings table td {
    vertical-align: top;
    word-break: break-all;
}

.objectdescriptionlistings table th {
    border-bottom: 1px dotted gray;
}

.objectdescriptionlistings .object-link {
    width: 8%;
}

.objectdescriptionlistings .object-locale {
    width: 5%;
}

.objectdescriptionlistings .object-title {
    width: 19%;
}

.objectdescriptionlistings .object-block {
    width: 8%;
}

.objectdescriptionlistings .object-desc, .objectdescriptionlistings .object-originaldesc {
    width: 30%;
    position: relative;
}

.objectdescriptionlistings .object-desc div, .objectdescriptionlistings .object-originaldesc div {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.objectdescriptionlistings .object-desc div:hover, .objectdescriptionlistings .object-originaldesc div:hover {
    overflow:visible;
    white-space: normal;
    position: absolute;
    background-color: #fff;
    z-index: 10;
    border: 1px solid gray;
    padding: 5px;
}

.objectdescriptionlistings .object-block .has-been-blocked {
    display: none;
    font-style: italic;
    font-weight: bold;
    color: #aa0000;
}


.nm_obj_info_wrapper {
    padding: 10px;
    background-color: #f8f8f8;
    border: solid 1px #eee;
    display: flex;
    justify-content: space-between;
}

.nm_obj_info_wrapper .col {
    margin-right: 50px;
}

.nm_obj_info_wrapper .col:last-child {
    margin-right: 0;
}

.nm_obj_info_wrapper .item {
    margin-bottom: 15px;
}

.nm_obj_info_wrapper .item:last-child {
    margin-bottom: 0;
}

.nm_obj_info_wrapper .item .label {
    font-weight: 700;
    margin-bottom: 2px;
}

.nm_obj_info_wrapper .params {
    max-width: 400px;
}

.nm_obj_info_wrapper .iiif img {
    max-width: 100%;
}

.nm_obj_info_wrapper .na {
    opacity: 0.8;
    font-style: italic;
}

@media (max-width: 650px) {
    .nm_obj_info_wrapper {
        display: block;
    }

    .nm_obj_info_wrapper .col {
        margin-right: 0;
    }

    .nm_obj_info_wrapper .iiif {
        padding-top: 20px;
    }
}
