#block-wisski-theme-content > .views-element-container {
  width: 100%;
  padding: 10px;
}

#block-wisski-theme-content > .views-element-container > .view {
    margin-bottom: 30px;
    margin-top: 15px;
    border: 6px solid rgb(12, 67, 129);
    border-radius: 16px 0px 16px 0px;
    padding: 20px;
    width: 100%;
}

/* Container with all entities (columns and rows) */
#block-wisski-theme-content > .views-element-container > .view > .view-content {
    width: 95%;
}

/* Container with all entities (ONLY rows) */
#block-wisski-theme-content > .views-element-container > .view > .view-content:has(.views-row:not(.clearfix)) {
    width: 100%;
}

/* Indicator "Displaying x of z" */
#block-wisski-theme-content > .views-element-container > .view > .view-header {
    margin-bottom: 10px;
    width: 15%;
    margin-bottom: 15px;
    margin-left: 0.2%;
    margin-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    border: 3px solid rgb(0, 95, 142);
    border-radius: 0px 10px 0px 10px;
    background-color: rgb(0, 95, 142);
    color: white;
    overflow-wrap: break-word;
    font-weight: bold;
    text-align: center;
}

/* Works for bundles that only have rows:
    Quelleninhalt; Person; Ort, Standort; Normdatei; Körperschaft
*/
.view-content:has(.views-row:not(.clearfix)) {
    display: grid;
    column-gap: 5.5%;
    padding-left: 7%;
    padding-right: 1%;
    grid-template-columns: 27% 27% 27%;
}

.views-row:not(.clearfix) {
    margin: 1% 0%;
    background-color: rgba(12, 67, 129, 0.1) !important;
    padding-top: 2%;
    padding-bottom: 1%;
    width: 100%;
}

.view-content:has(.views-row:not(.clearfix)) > .views-row > .views-field {
    width: 100% !important;
    padding-top: 2%;
}


.view-content:has(.views-row:not(.clearfix)) > .views-row > .views-field > .field-content > a {
    text-align: left;
    vertical-align: middle;
}

.view-content:has(.views-row:not(.clearfix)) > .views-row > .views-field > .field-content {
    display: block;
    text-align: left;
    margin-left: 5%;
    margin-right: 2%;
}

/* Works for bundles that have rows and columns:
    Objekt; Quelle; Gruppe/Herkunftsgesellschaft; Sammlung; Objektart; Biologisches Objekt; 
    Materieller Gegenstand; Motiv; Abbildung; Material; Handlung; Kulturelle Handlung; Grabung 
    */
.views-field-preview-image {
  margin-bottom: 10px;
  min-height: 100px;
  text-align: center;
}

.views-field-title {
  max-width: 100%;
  font-weight: bold;
  color: rgb(12, 67, 129) !important;
  min-height: 70px;
  text-align: center;
}

.order-1.order-lg-2.col-12.col-lg-9 {
    width: 100%;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6 {
    padding: 10px;
    text-align: center;
    border: 3px solid transparent;
    border-radius: 10px 0px 10px 10px;
    overflow-wrap: break-word;
    height: 100% !important;
    justify-content: stretch;
    align-items: stretch;
}
.col-1, .col-2, .col-3, .col-4 {
    margin-right: 10px;
}

.row-1, .row-2, .row-3, .row-4 {
    padding-top: 5px;
    padding-bottom: 5px;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.col-1:hover, 
.col-2:hover, 
.col-3:hover, 
.col-4:hover, 
.col-5:hover, 
.col-6:hover {
    border: 3px solid rgb(255, 140, 46);
    border-radius: 10px 0px 10px 10px;
    overflow-wrap: break-word;
    background-color: rgba(255, 198, 67, 0.3);
    height: 100% !important;
}

.col-2, .col-4, .col-6 {
    background-color: rgba(12, 67, 129, 0.1);
    height: auto;
}

.pager {
    margin-top: 2%;
}