:root {
    --rep-searchresult-h: 40%;
    --rep-children-h: calc(100% - var(--rep-searchresult-h));
    --rep-tools-h: 30px;
    --rep-searchbar-h: 0px;
    --rep-pagination-h: var(--rep-tools-h);
    --rep-row-h: 30px;
    
    --vig-size-w: 200px;
    --vig-size-h: 200px;
}

.block-reportage {
    width: 100%;
    height: 100%;
    
    background-color: #eee;
    color: black;
    
    box-sizing: bordder-box;
}

.block-reportage .toolbar {
    display: flex;
    flex-direction: row;
    
    align-items: center;
    justify-content: space-between;
    
    height: var(--rep-tools-h);
    box-sizing: border-box;
}

.block-reportage .toolbar > * {
    display: flex;
    justify-content: space-evenly;

    height: 100%;
    width: max-content;
}

.block-reportage .toolbar label div {
    display: flex;
    flex-direction: row;

    width: 100%;

    align-items: center;
    justify-content: center;
    
    margin: 0px 5px;
}

.block-reportage .toolbar label span {
    order: 2;
}

.block-reportage .toolbar input:checked + div {
    background-color: #fdfdfd !important;
    box-shadow: 0px 0px 2px black inset;
}

.block-reportage .toolbar label input {
    order: 1;
    display: none;
}

.block-reportage .toolbar .actions {
    display: flex;
    flex-direction: row;
}

.block-reportage .toolbar .filters,
.block-reportage > .children .toolbar > .searchactions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
    width: 100%;
}

.block-reportage .toolbar .filters > *,
.block-reportage > .children .toolbar > .searchactions > * {
    display: flex;
    height: 100%;
    
    flex: 1;
    cursor: pointer;
}

.block-reportage .toolbar .views {
    display: none;
    
    /* display: flex; */
    flex-direction: row;

    justify-content: flex-end;
}

.block-reportage .searchbar {
    width: 100%;
    height: var(--rep-searchbar-h);
    
    box-sizing: border-box;
}

.block-reportage .children .toolbar {
    display: flex;
    flex-direction: row;
}

.block-reportage .children .toolbar .views {
    display: flex;
    flex-direction: row;
}

.block-reportage .children .toolbar .actions {
    display: flex;
    flex-direction: row;
}

.block-reportage > .searchresult {
    width: 100%;
    height: var(--rep-searchresult-h);
}

.block-reportage > .searchresult .maincontent {
    height: 100%;
    width: 100%;
    
    background-color: #ccc;
    border: 1px solid black;
    
    box-sizing: border-box;
}

.block-reportage .searchresult .maincontent .content {
    display: flex;
    flex-direction: column;
    
    height: calc(100% - var(--rep-pagination-h));
    width: 100%;
    
    overflow: auto;
    
    box-sizing: border-box;
}

.block-reportage .searchresult .maincontent .content > * {
    position: relative;
    display: flex;
    flex-direction: row;
    
    width: 100%;
    height: 35px;
    max-height: 35px;
    max-width: none;
}

/* .block-reportage .searchresult .maincontent .content .fieldheader { */
/*     font-weight: bold; */
/*     background-color: black !important; */
/*     color: white !important; */
/* } */

.block-reportage .searchresult > .maincontent > .content > .field-item > .fieldheader,
.block-reportage .searchresult .gallery-item .infolist .field-item {
    /* width: calc(100% / 10) !important; */
}

.block-reportage .searchresult .maincontent .content .gallery-item:hover .field-item {
    background-color: #4d4d4d;
    color: white !important;
}

/* .block-reportage .searchresult .maincontent .content .field-item { */
/*     padding-left: 0px !important; */
/*     padding-right: 0px !important; */
    
/*     margin: 0 !important; */
/* } */

/* .block-reportage .searchresult .maincontent .content > .field-item > *, */
/* .block-reportage .searchresult .maincontent .content .subgroup .infolist > * { */
/*     display: flex; */
/*     justify-content: center; */
/*     align-items: center; */
    
/*     flex: 1; */
/*     width: auto !important; */
/*     max-width: none; */
/* } */

.block-reportage .searchresult .maincontent .content .subgroup,
.block-reportage .searchresult .maincontent .content .subgroup .infolist {
    width: 100%;
    height: 100%;
}

.block-reportage .children .searchresult .maincontent .content .subgroup {
    /* height: auto !important; */
}

.block-reportage .children .searchresult .maincontent .content .subgroup .infolist {
    display: flex; /* block */
    height: 50px !important;
}

.block-reportage .searchresult .maincontent .content .subgroup .infolist {
    display: flex;
    flex-direction: row;
}

.block-reportage .searchresult .maincontent .content .img-container {
    display: none;
}

/* .block-reportage .searchresult .maincontent .content .gallery-item:nth-child(odd), */
/* .block-reportage .searchresult .maincontent .content .gallery-item:nth-child(odd) .fieldvalue { */
/*     background-color: #4d4d4d; */
/*     color: white !important; */
/* } */

.block-reportage .searchresult .maincontent .content .gallery-item:hover,
.block-reportage .searchresult .maincontent .content .gallery-item:hover .fieldvalue,
.block-reportage .searchresult .maincontent .content .gallery-item.selected2,
.block-reportage .searchresult .maincontent .content .gallery-item.selected2 .fieldvalue {
    background-color: #4d4d4d;
    color: white !important;
}

.block-reportage .searchresult .maincontent .content .fieldheader:nth-child(1),
.block-reportage .searchresult .maincontent .content .infolist .field-item .fieldname {
    display: none;
}

.block-reportage .searchresult.tablelist .maincontent .content .field-item .fieldvalue {
    padding: 6px;
}

.block-reportage .searchresult .maincontent .content .infolist .field-item .fieldvalue {
    display: block;
    /* vertical-align: middle; */
    /* justify-content: center; */
    /* align-items: flex-start; */
    width: 100%;
    height: 100%;
    /* line-height: 35px; */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    
    /* color: var(--text-icolor); */
    color: black;
}

.block-reportage .searchresult .maincontent .content .infolist .field-item:nth-child(even) .fieldvalue {
    /* color: var(--text-icolor); */
    color: white;
    /* background-color: var(--csecondary); */
}

.block-reportage .children .searchresult .maincontent .content .infolist .field-item .fieldvalue {
    color: white;
}

.block-reportage .children .searchresult.tablelist .maincontent .content .infolist .field-item:nth-child(odd) .fieldvalue {
    color: black;
}


.block-reportage .children {
    height: calc(var(--rep-children-h));
    width: 100%;

    box-sizing: border-box;
}

.block-reportage .children .searchresult {
    height: calc(100% - var(--rep-pagination-h));
}

.block-reportage .children .maincontent {
    height: calc(100% - var(--rep-pagination-h));
    width: 100%;
    
    background-color: #ccc;
    border: 1px solid black;
    
    overflow: auto;
    
    box-sizing: border-box;
}

.block-reportage .pagination {
    height: var(--rep-pagination-h);
    width: 100%;
}

.block-reportage .headers {
    position: fixed;
    display: flex;
    flex-direction: row;
    
    background-color: black;
    color: white;
}

/* .block-reportage .row:nth-child(2){ */
/*     margin-top: var(--rep-row-h); */
/* } */

.block-reportage .row {
    height: var(--rep-row-h);
    width: 100%;
    
    display: flex;
    flex-direction: row;
}

.block-reportage .row > * {
    flex: 1;
    display: flex;
    align-items: center;
}

.block-reportage .selected-item,
.block-reportage .selected-item:hover > .selected-item {
    position: absolute !important;
    top: 0;
    left: 0;
    
    height: 35px !important;
    width: 100% !important;
    padding: 0 !important;

    background-color: rgba(234,108,108,0.5);
    max-width: none;
    clip-path: none;
}

/* .block-reportage .selected2 { */
/*     background-color: rgba(50, 200, 60, 0.2) !important; */
/* } */

.block-reportage .gallery-item .infolist .field-item .colorlist {
    display: flex !important;
    justify-content: space-evenly !important;
}

.block-reportage .gallery-item .infolist .field-item .spot {
    width: 1.1em !important;
    height: 1.1em !important;
    min-width: 1.1em !important;
    min-height: 1.1em !important;
    align-self: center;

    background-color: white;
    box-shadow: -1px -1px 2px black inset;
}

.block-reportage .pagination {
    background-color: #707070;
    color: white;
    border-top: 1px solid black;
}

.block-reportage .pagination .istep {
    padding: 0;
}

/* children */

.block-reportage .children .searchresult.mosaic .gallery-item {
    max-height: var(--vig-size-h);
    width: var(--vig-size-w);
    
    /* max-width: var(--vig-size-w); */
    /* min-width: var(--vig-size-w); */
    
    align-items: flex-start;
    
    height: 100%;
    box-sizing: border-box;
    background-color: white;
}

.block-reportage .searchresult.mosaic .img-container,
.block-reportage .searchresult.mosaic img {
    /* height: 100%; */
}

.block-reportage .children .img-container,
.block-reportage .children img {
    /* height: auto !important; */
    max-width: 100%;
    max-height: 100%;
}

.block-reportage .children .searchresult.mosaic .pagination {
    display: flex !important;
}

.block-reportage .children .searchresult.mosaic .field-header {
    display: none;
}

.block-reportage .children .searchresult.mosaic .infolist .field-item.novalue {
    display: none !important;
}

/* .block-reportage .children .searchresult.mosaic .infolist .field-item { */
/*     height: 100% !important; */
/* } */

.block-reportage .children .searchresult.mosaic .items .img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(var(--vig-size-w) - 50px);
    /* width: var(--vig-size-w) !important; */
    width: 100%;
    box-sizing: border-box;
    /* padding: 0px 5px; */
}

.block-reportage .children .searchresult.mosaic .items {
    flex-direction: row;
    flex-wrap: wrap;
}

.block-reportage .children .searchresult.mosaic .infolist {
    height: 30px !important;
}

/* tablelist */

.block-reportage .searchresult.tablelist .children .toolbar .tbnames {
    justify-self: flex-end;
}

.block-reportage .searchresult.tablelist .children .infolist {
    height: 100% !important;
}

/* BUTTONS */

.block-reportage button {
    display: flex;
    justify-content: center;
    align-items: center;
    
    height: 100%;
    border: 0;
    
    box-sizing: border-box;
    
    box-shadow: -1px -1px 2px black inset;
}

.block-reportage button:hover {
    /* background-color: #A0A0A0 !important; */
    /* color: white !importagallery-icons nt; */

    box-shadow: 1px 1px 2px black inset;
}

.block-reportage .children .searchresult.tablelist .items .field-header {
    width: 100% !important;
}

.block-reportage .children .searchresult.tablelist .gallery-item .infolist {
    min-height: 0px !important;
}

/* .block-reportage .children .searchresult.tablelist .gallery-item .infolist .field-item { */
/*     max-width: none !important; */
/*     padding-left: 0px !important; */
/*     height: 100%; */
/* } */

.block-reportage .children .toolbar .views > button {
    outline: 0 !important;
}

.block-reportage .children .toolbar .views > button.selected {
    box-shadow: 1px 1px 2px black inset;
}

.block-reportage .children .gallery-item .subgroup {
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: center; */
}

.block-reportage .gallery-item .img-container .spots.highspots {
    display: none;
}

.block-reportage .searchresult.mosaic .maincontent .items .gallery-item .subgroup .infolist .field-item.novalue {
    /* display: block !important; */
    display: none !important;
}

.block-reportage .searchresult.tablelist .maincontent .items .field-header {
    width: 100%;
}

.block-reportage .searchresult.mosaic > .maincontent > .items > .gallery-item.selected .subgroup .infolist .field-item {
    color: black;
}

/* .block-reportage .searchresult.tablelist .items .infolist > * { */
/*     min-width: 0; */
/*     max-width: none; */
/* } */

.popup.reportage .models > form {
    display: none;
}

.block-reportage .children .searchbar2 {
    flex: 3 !important;
}

.block-reportage .children .searchbar2 input{
    width: 100%;
    border: 2px solid white;
    height:100%;
    box-sizing:border-box;

    outline: 0;
}

.block-reportage .children .searchbar2 input:disabled {
    background-color: #eee;
    color: #555;
}

.block-reportage .children .searchbar2 button:hover{
    background-color:#cdcdcd;
}

.block-reportage .children .searchbar2 button{
    box-sizing:border-box;
    /* border: 1px solid rgb(239,239,239) !important; */
    /* border-left: 1px solid white !important; */
    border-style: none;
    padding: 3px 10px;
    border-radius:0 3px 3px 0px;
    height:100%;
    
    /* background-color: rgb(239,239,239) !important; */
    background-color: var(--cimportant);
}

.block-reportage .children .searchbar2 .beraser {
    display: none !important;
}

.block-reportage .children .groupcols {
    width: max-content;
}

.block-reportage .groupcols .collist {
    display: none !important;
}

.block-reportage .groupcols.selected .collist {
    display: flex !important;
}

.block-reportage .children .bsearchcols {
    padding: 2px !important;
    padding-right: 5px !important;
    outline: 0;
    border-radius: 0 !important;
}

.block-reportage .children .bsearchcols:before {
    content: "\1405";
    padding: 0 5;
}

.block-reportage .children .groupcols.selected .bsearchcols:before {
    content: "\25BC";
}

.block-reportage .children .searchbar2 .collist {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 80vw;
    position: absolute;
    top: var(--searchbar-h);
    height: 400px;
    
    border-top: 0;
    
    padding: 10px;
    outline: 0;
    box-sizing: border-box;
    z-index: 10000000000000000;
    background-color: rgba(255,255,255,0.8);
    color: black;
    overflow-y: auto;
    box-shadow: 0px 5px 5px black;
    backdrop-filter: blur(5px);
}

.block-reportage .children .searchbar2 .collist:hover {
    background-color: rgba(255,255,255,0.8);
    color: black;
}

.block-reportage .children .searchbar2 .collist > .col-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 0 10;
}

.block-reportage .children .searchbar2 .collist > .col-item.fake {
    font-weight: bold;
    text-align: center;

    justify-content: center;
}

.block-reportage .children .searchbar2 .collist > .col-item:not(.fake):hover {
    cursor: pointer;
    background-color: #ddd;
    color: red;
}

.block-reportage .children .searchbar2 .collist > .col-item > a:hover{
    color: red;
}

/* .block-reportage .children .block-autocomplete { */
/*     color: black; */
/* } */

.block-reportage .children .block-autocomplete button {
    display: none !important;
    max-width: 50px;
}

/* .block-reportage .children .block-autocomplete .row { */
/*     margin: 0 !important; */
/* } */

.block-reportage button {
    color: var(--text-important);
    background-color: var(--cimportant);
}

.block-reportage .historysearch {
    display: none;
}

