/**********************************************************************************************************************************************************************************
*
* Custom style sheet containing overrides specific for the application. 
*
**********************************************************************************************************************************************************************************/
@import url("/topstukken/javax.faces.resource/style/sheet/cjm-huisstijl.css.xhtml?ln=design");
/**********************************************************************************************************************************************************************************
* Topstukken header & footer
**********************************************************************************************************************************************************************************/
/* Add extra border in case menu is not present, serving implicitly as a border */
.logoBorder {
  border-bottom: solid lightgray 0.08em;
}

.widthAvailable{
  width: available;
}

.displayFooter .ui-panel-footer {
  /* Give more height for titles with large text */
  height: 4em;
  text-align: center;
}

.ui-paginator.ui-paginator-top {
  border: none;
}

.ui-paginator.ui-paginator-bottom{
  border: none;
}

.ui-paginator .ui-paginator-page.ui-state-default {
  background: #1c7074;
}

.ui-inputswitch .ui-inputswitch-handle {
  border: solid #2B979D 0.0625em;
  background: #1c7074;
}

.justifyContentEnd {
  justify-content: flex-end;
}

/**********************************************************************************************************************************************************************************
* Welcome page
**********************************************************************************************************************************************************************************/
/* Primefaces gmap always needs a fixed height */
.gmap {
  height: 600px;
}

/* Style gmap pop up window */
.gmapwindow {
  text-align: center;
  width: 15em;
  line-height: 1.4em;
}

/* Reset gmap info for scrolling to center */
p.gm-style-pbt {
  text-align: center;
}

/* Animate content of welcome page on load */
.fadeInBottom {
  animation-name: fadeInBottom;
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }
}
/**********************************************************************************************************************************************************************************
* Search page
**********************************************************************************************************************************************************************************/

/* Disable input switch for mobile view because list view isn't rendered nicely on small screens */
@media (max-width: 800px) {
  .inputSwitch {
    display: none;
  }

  .terugNaarOverzicht {
    display: none;
  }

  .leftSide-SearchFilter {
    display: none;
  }
}

.leftSide-SearchFilter {
  padding-left: 2em;
}

.submenuSearchFilter {
  border: solid 0.1em #1C7074;
  text-align: center;
  padding: 5px;
  margin: 5px 0 5px 0;
}

.submenuSearchFilter h3 {
  color: #1e7074;
  text-align: center;
  margin: 0
}
.submenuSearchFilter p {
  text-align: center;
}

.ui-autocomplete-panel {
  background-color: white;
}
.ui-autocomplete-panel {
  background-color: white;
}

.ui-autocomplete-list .ui-autocomplete-group {
  background-color: #1C7074;
  color: white;
}

.ui-autocomplete-item {
  padding-left: 15px !important;
}
.ui-autocomplete-panel {
  background-color: white;
}

/**/
/* Improve responsiveness of images in search page */
@media (min-width: 641px)  and (max-width: 800px) {
  .gridImageBox {
    height: 100px;
  }
}


@media (min-width: 801px) and (max-width: 1080px) {
  .gridImageBox {
    height: 150px;
  }
}

@media (min-width: 1081px) {
  .gridImageBox {
    height: 200px;
  }
}
/*  */

.ui-state-hover .ui-selectonemenu-label {
  background-color: black;
  color: white;
  height: 1.7em;
}

.ui-selectonemenu label.ui-selectonemenu-label {
  height: 1.7em;
}



/* Align all images and links in center on data grid of search page */
#showPiecesGrid.ui-datagrid .ui-datagrid-column img, #showPiecesGrid.ui-datagrid .ui-datagrid-column a {
  margin: 0 auto;
}

.ui-panelgrid-cell{
  vertical-align: top;
}

.ui-datagrid .ui-datagrid-header, .ui-datagrid .ui-datagrid-footer {
  padding: .5em 0;
}

#showPiecesTable.ui-datatable .ui-datatable-header {
  display: block;
}

.dataTableWithoutHeader table thead tr {
  display: none;
}

/**********************************************************************************************************************************************************************************
* Varia
**********************************************************************************************************************************************************************************/
@media (max-width: 640px) {
  /* 	Reset header menu margin to center because in mobile view we also want header menu always centered */
  .marginLeftAuto {
    margin-left: inherit;
  }

  /* Reset alignment to center, for large screens it is set to left */
  #imageDetailShowPiece label, #imageDetailShowPiece a {
    text-align: center;
  }

  .ui-panel .ui-panel-title {
    margin: auto;
  }

  .noWrap{
    white-space: nowrap;
    font-size: 0.85em;
  }

  .mobilePeriodInput{
    min-width: 50px;
  }

  .nietOpMobiel{
    display: none;
  }


}
@media (min-width: 641px) {
  /* 	Override because some primefaces combined classes can have higher specificity for margin */
  .marginLeftAuto {
    margin-left: auto !important;
  }

  .filterLabel{
    margin-top: .5em;
    float: right;
    text-align: right;
    padding-right: 1em;
    font-size: 0.85em;
  }

  .tot{
    margin-left: 2em;
    margin-top: .5em;
    font-size: 0.85em;
  }

  .filterInput{
    font-size: 0.85em;
  }

  /* For large texts who should align right, but with wrapping displays centered. Force them back to right */
  .largeLabelCenterMobile {
    text-align: right;
  }
}
.disclaimerList {
  list-style: circle;
  padding-left: 3em;
  text-align: justify;
  line-height: 1.4em;
}

.textAlignRight {
  text-align: right;
}


.knoppenZoeken {
  background-color: #1e7074;
  border-radius: 0;
}

#filter,
#advancedSearch,
#overallSearch{
  max-width: 740px;
  text-align: right;
  width: 100%;
}

.displayInline{
  display: inline;
}

#topstukkenLijst{
  /*max-width: 1080px;*/
  border: black;
  margin: 0 auto !important;
  /*float: none !important;*/
}

.heightHundred{
  height: 100%;
}


.gridImage {
  object-fit: contain;
  height: 100%;
  width: 90%;
}

.gridImage:hover{
  opacity: 0.5;
}

.panelText{
  display: block;
  /*text-align: center;*/
  padding-top: 4px;
  line-height: 1.2em;
}

.gridImageBox{
  display: flex;
}

.gridLijstBox{
  display: flex;
  justify-content: flex-end;
}

.ui-panel .ui-panel-content{
  height: inherit;
}

.panelShadow{
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.panelShadowBottom{
  box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.19);
}

.horizontalMarginFive{
  margin: 0 5% 0 5%;
}

.maxWidthPage{
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

.headerTopstukken{
  font-size: 4vw;
  letter-spacing: 0.03em;
  color: #1C7074;
}


.headerUnderline {
  background-color: #1C7074;
  height: 2px;
  margin: 0 2em;
}

.borderBlueGreen {
  border: solid 0.1em #1C7074;
}

.borderNone {
  border: none;
}

.displayFlex{
  display: flex;
  flex-direction: row;
}

.leftBox {
  width: 48%;
  margin: 0.5% 2% 0 0;
}

.rightBox {
  width: 49%;
  margin: 0.5%;
}

.infoLabel{
  vertical-align: top;
  float: right;
  word-break: normal;
  padding: 0 1em;
  text-align: right;
  line-height: 1.4em;
  margin-bottom: 0.2em;
  font-size: 0.875em;
}

.infoOutput{
  word-break: normal;
  line-height: 1.4em;
  font-size: 0.875em;
}

.paddingInfoBox{
  padding: 1em 3em 1em 0;

}

@media (max-width: 800px) {
  .displayFlex{
    display: flex;
    flex-direction: column;
  }

  .leftBox {
    width: 100%;
    margin: 0.5%;
  }

  .rightBox {
    width: 100%;
    text-align: initial;
  }
}


.ui-galleria {
  min-width: 100%;
  background-color: white;
}

.stickyTop {
  position: sticky;
  top: 1em;
}

.ui-galleria-panel{
  min-width: 100%;
}

.ui-galleria-panel-wrapper {
  min-width: 100%;
}

.galleriaImage {
  min-width: 100%;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  padding: 1%;
  cursor: zoom-in;
  object-fit: contain;
}

.dialogImage {
  width: 90% !important;
  display:block;
  margin:auto;
  padding-bottom: 10px;
}

.dialogInfobox {
  width: auto;
  margin-left: 30px;
}

.dialogInfobox .infoLabel {
  vertical-align: top;
  word-break: normal;
  padding: 0 1em;
  line-height: 1.4em;
  margin-bottom: 0.2em;
  font-size: 0.875em;
}

.labelWidth {
  width: 30%;
  max-width: 30%;
  min-width: 30%;
}

.borderInfoBox {
  border: none;
}
/*.ui-panel {
  border: none;
}

.ui-panel-titlebar {
  display: block;
}

.ui-panel-titlebar .ui-panel-title {
  color: #1e7074;
  font-weight: bold;
  font-size: 1.17em;
  text-align: left;
  margin: 0 1em 0.5em 1em;
}

.ui-panel-titlebar-icon {
  float: right;
  border: none;
}*/

a {
  text-decoration: none;
}

/* 	Removes standard background */
body{
  background-image: none;
  background-color:#F8F8F8;
}

h1{
  margin: 0;
  color: #1e7074;
  line-height: 1.4em;
}

h3{
  color: #1e7074;
  text-align: left;
  margin: 0 1em 0.5em 1em;
}

table{
  width: 100%;
}

.creatorDialog,
.contributorDialog,
.physicalOperationDialog,
.publisherDialog,
.dialog {
  overflow: hidden !important;
  width: 60% !important;
}

.creatorDialog .ui-dialog-titlebar,
.contributorDialog .ui-dialog-titlebar,
.physicalOperationDialog .ui-dialog-titlebar,
.publisherDialog .ui-dialog-titlebar,
.dialog .ui-dialog-titlebar {
  background-color: #1e7074;
  color: white;
  font-weight: bold;
}

/****************************************
  overwrite faces css
 ****************************************/
body .ui-selectcheckboxmenu-header {
  border-bottom: 1px solid #2B979D;
}

body .ui-selectcheckboxmenu-header .ui-chkbox .ui-chkbox-box {
  margin-top: 7px
}

body .ui-selectcheckboxmenu-header .ui-selectcheckboxmenu-filter-container .ui-icon {
  position: absolute;
  right: 5px;
  top: 8px;
}

body .ui-selectcheckboxmenu .ui-selectcheckboxmenu-multiple-container {
  min-height: 31px;
  padding: 3px;
  overflow: visible;
}

body .ui-selectcheckboxmenu .ui-selectcheckboxmenu-trigger {
  width: 34px;
}

body .ui-selectcheckboxmenu .ui-selectcheckboxmenu-trigger .ui-icon {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

body .ui-selectcheckboxmenu .ui-selectcheckboxmenu-multiple-container .ui-selectcheckboxmenu-token {
  margin: 3px;
  background: #494949;
  color: #fff;
  border-radius: 3px;
}

body .ui-selectcheckboxmenu-token-icon {
  margin-top: -8px;
}

body .ui-selectcheckboxmenu .ui-selectcheckboxmenu-multiple-container .ui-selectcheckboxmenu-token .ui-selectcheckboxmenu-token-label {
  padding: 0 24px 3px 5px;
}

body .ui-selectcheckboxmenu-panel {
  background-color: white;
}
