/* ==================================================================================================== */
/* Tables */
.column-title > a {
    font-weight:bold;
}

.table .column-title {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}


.column-relevance {
    width:4em;
}
.column-signatur {
    width:8em;
}
.column-entstehungszeitraum {
    width:14em;
}

.table-entities tr.itemData > td,
.table-dateien tr.itemData > td{
    padding-bottom:0;
}

.table tr.itemMetadaten ul.metadaten > li {
    margin-top:3px;
    margin-bottom:0;
}

/* ==================================================================================================== */
/* Search */

.sidebar-selection .selection-info-fullwidth {
    margin: 0;
}

/* ==================================================================================================== */
/* Breadcrumb */

/* ==================================================================================================== */
/* Views */
.view-content .navbar-right .cmi-item-print {
    display: none;
}

.view-search .view-container {
    padding-bottom:20px;
}

/* ==================================================================================================== */
/* Details */
.page-header .page-toolbar {
    font-size: 1.6em;
    z-index: 1;
    padding: 5px 7px;
    top: 19px; /* 24px - padding-top */
    right: -7px; /* 0-padding-right */
    background: rgba(255,255,255,0.90);
    box-shadow: 0 0 6px 2px rgba(255,255,255,0.90);
}
.page-header .page-toolbar > * {
    display: block;
    text-align: center;
}
.page-header .page-toolbar > *:not(:first-child) {
    margin-top: 7px;
}

.page-header .page-toolbar .cmi-icon {
    width: 1.2em;
    height: 1.2em;
    background-size: 1.2em;
}

.view-frame .widget {
    background: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12);
}
.widget .widget {
    box-shadow: none;
}
.widget.box {
    border: none;
}

.widget .metadaten-container {
    padding-top: 0;
    padding-bottom: 0;
}


.cmi-dateigrid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 250px);
    justify-content: space-between;
}

.ie-11 .cmi-dateigrid-container {
    display: flex;
    flex-wrap: wrap;
}

.cmi-dateigrid-cell {
    margin-top: 20px;
}

.cmi-dateigrid-cell .cmi-dateigrid-item {
    padding: 5px 5px;
    background-color: #f2f2f2;
}

.cmi-dateigrid-cell .cmi-buttons {
    padding: 5px 5px;
    background-color: #f2f2f2;
}

.cmi-dateigrid-item .cmi-thumbnail {
    width: 240px;
    height: 180px;
}

.cmi-dateigrid-item .cmi-thumbnail {
    /* width, height, see above */
    background-color:white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmi-dateigrid-item .cmi-thumbnail .image {
    width:100%;
    height:100%;
}

.cmi-dateigrid-item .cmi-thumbnail .icon {
    width: 100%;
    position: relative;
    text-align: center;
}

.cmi-dateigrid-item .cmi-thumbnail .icon i.fa {
    display: inline-block;
    font-size:40px;
    line-height:100%;
    text-align:center;
}

.cmi-dateigrid-item .cmi-thumbnail .icon i.cmi-icon {
    display:inline-block;
    width:40px;
    height:40px;
    background-size: 40px;
}

.cmi-dateigrid-item .cmi-thumbnail .icon .info {
    display:block;
    position:absolute;
    left:0;
    right:0;
    bottom:-2em;
    font-size:0.9em;
    text-align:center;
    color:#888;
}

.cmi-dateigrid-item .cmi-details {
    padding-top: 5px;
    overflow-x: hidden;
    position: relative;
}

.cmi-dateigrid-item .cmi-details .cmi-title {
    overflow-x: auto;
    white-space: break-spaces;
}

.cmi-dateigrid-item .cmi-details cmi-favorite {
    float:left;
}

.cmi-dateigrid-item .cmi-details .cmi-relevanz {
    float:right;
}

.cmi-dateigrid-container + .pager-container {
    margin-top: 20px;
    padding: 5px 5px;
    background-color: #f8f8f8;
}

/* ==================================================================================================== */
/* Print */
.view-print .view-frame .crumbswrapper {
    margin:0 0;
}
.view-print .crumbshierarchy {
    padding-left:0;
}
.print-section {
    margin-top:20px;
    border-top: solid 2px #e4e4e4;
}
.print-section .metadaten-container {
    padding-top:0;
}

/* ==================================================================================================== */
/* Tektonik Tree */
.tektonik {
    /* prevent user selection */
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* default */
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size:13px;
    color: #555;
    text-decoration: none;
}

.tektonik ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
    overflow: hidden;
}

.tektonik li {
    padding: 0 0;
    margin: 0 0;
}

.tektonik li > .tektonik-item-node {
    position: relative;
    line-height: 20px;
    padding-left:20px;
}

.tektonik li > .tektonik-item-list {
    padding-left:20px;
}

.tektonik .tektonik-item-node .tektonik-item-label {
    cursor: pointer;
    display:inline-block;
}

.tektonik-item-expanded > .tektonik-item-node > .tektonik-item-head,
.tektonik-item-collapsed > .tektonik-item-node > .tektonik-item-head  {
    color:#888;
    font-size:11px;
    width:15px;
    position: relative;
    text-align:center;
    vertical-align:top;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.tektonik-item-node > .tektonik-item-content,
.tektonik-item-node > .tektonik-item-content:hover {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size:14px;
    color: #555;
    text-decoration: none;
}

.tektonik-item-node > .tektonik-item-head:hover  {
    text-decoration: none;
}
.tektonik-item-node > .tektonik-item-head > i,
.tektonik-item-node > .tektonik-item-select > i {
    /* fa */
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    color: #888;
    -webkit-font-smoothing: antialiased;
}

.tektonik-item-expanded > .tektonik-item-node > .tektonik-item-head > i::before  {
    content: "\f078";
}
.tektonik-item-collapsed > .tektonik-item-node > .tektonik-item-head > i::before {
    content: "\f054";
}
.tektonik-item-noicon > .tektonik-item-node > .tektonik-item-head > i::before {
    content: "";
    margin-left: 20px;
}

.tektonik .tektonik-item-selected > .tektonik-item-node {
    background-color:#f2f2f2;
}
.tektonik-item-node > .tektonik-item-head > i::before {
    content: "\f10c";
}
.tektonik-item-selected > .tektonik-item-node > .tektonik-item-head > i::before {
    content: "\f058";
}

.tektonik.has-select li .tektonik-item-select,
.tektonik.has-command li .tektonik-item-command {
    position:absolute;
    text-align:center;
    width:20px;
    top:0;
}

.tektonik.has-select li > .tektonik-item-node {
    padding-left:40px;
}
.tektonik.has-select li > .tektonik-item-node {
    padding-left:40px;
}
.tektonik.has-select li > .tektonik-item-node > .tektonik-item-head {
    left:20px;
}

.tektonik.has-select li .tektonik-item-select {
    left: 0;
}

.tektonik.has-command li > .tektonik-item-node {
    padding-right:20px;
}
.tektonik.has-command li .tektonik-item-command {
    right: 0;
}

.tektonik-filterName {
    margin-bottom: 10px;
}

.tektonik-filterName span {
    display: inline-block;
    margin-top: 7px;
    margin-right: 7px;
}

.tektonik .tektonik-item-command {
    border: solid 1px transparent;
    line-height:18px;
    cursor:pointer;
}
.tektonik .tektonik-item-command > i {
    margin: 0 0;
    color:#aaa;
}

.tektonik .tektonik-item-command.menu-anchor:hover,
.tektonik .tektonik-item-command.menu-anchor.menu-is-open {
    border: 1px solid #ccc;
}

.tektonik li.file > .tektonik-item-node > .tektonik-item-head i {
    font-size: 1.33333333em;
    line-height: 0.75em;
    vertical-align: -15%;
}
.tektonik li.file-generic > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f016";
}
.tektonik li.file-text > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f0f6";
}
.tektonik li.file-pdf > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f1c1";
}
.tektonik li.file-word > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f1c2";
}
.tektonik li.file-excel > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f1c3";
}
.tektonik li.file-powerpoint > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f1c4";
}
.tektonik li.file-image > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f1c5";
}
.tektonik li.file-zip > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f1c6";
}
.tektonik li.file-audio > .tektonik-item-node > .tektonik-item-head i::before{
    content: "\f1c7";
}
.tektonik li.file-video > .tektonik-item-node > .tektonik-item-head i::before {
    content: "\f1c8";
}

.tektonik-item-node .cmi-new-tektonik-favorite {
    padding-right: 7px;
}

/* ==================================================================================================== */
/* Icons */

.cmi-icon-home {
    background-image: url('../custom/img/HomeSmall.svg');
}
.cmi-icon-back {
    background-image: url('../custom/img/BackSmall.svg');
}


.cmi-icon-document {
    background-image: url('../custom/img/DokumentLarge.svg');
}


.cmi-icon-tektonik {
    background-image: url('../custom/img/Tektonik.svg');
}

.cmi-icon-mandant {
    background-image: url('../custom/img/Institution.svg');
}
.cmi-icon-archiv {
    background-image: url('../custom/img/Archiv.svg');
}
.cmi-icon-abteilung {
    background-image: url('../custom/img/Abteilung.svg');
}
.cmi-icon-klassifikation {
    background-image: url('../custom/img/Klassifikation.svg');
}


.cmi-icon-bestand {
    background-image: url('../custom/img/Bestand.svg');
}
.cmi-icon-serie {
    background-image: url('../custom/img/Serie.svg');
}
.cmi-icon-dossier {
    background-image: url('../custom/img/Dossier.svg');
}
.cmi-icon-einzelstueck {
    background-image: url('../custom/img/Einzelstueck.svg');
}



.cmi-icon-bild {
    background-image: url('../custom/img/Bild.svg');
}
.cmi-icon-film {
    background-image: url('../custom/img/Film.svg');
}
.cmi-icon-ton {
    background-image: url('../custom/img/Ton.svg');
}
.cmi-icon-objekt {
    background-image: url('../custom/img/Objekt.svg');
}
.cmi-icon-plakat {
    background-image: url('../custom/img/Plakat.svg');
}
.cmi-icon-plankarte {
    background-image: url('../custom/img/PlanKarte.svg');
}
.cmi-icon-urkunde {
    background-image: url('../custom/img/Urkunde.svg');
}


.cmi-icon-gebaeude {
    background-image: url('../custom/img/Gebaeude.svg');
}
.cmi-icon-raum {
    background-image: url('../custom/img/Raum.svg');
}

/* ==================================================================================================== */
/* Responsive */
