/*
Theme Name: AUPDR 2025
Template: twentytwentyfive
Author: the AUPDR team
Version: 1.0
*/
/* adjust page height to ensure footer is at the bottom of the screen*/
.home .wp-block-columns + .wp-block-spacer {
	min-height: calc( 100dvh - 797px );
}
main{
    box-sizing: border-box;
    min-height: calc( 100dvh - 124px );
}
.admin-bar main{
    min-height: calc( 100dvh - 156px );
}
@media screen and (min-width: 1920px) and (min-height: 1080px) {
    .home .wp-block-columns + .wp-block-spacer {
	min-height: calc( 100dvh - 827px );
}
}
/*admin bar site header*/ 
#wpadminbar ~ .wp-site-blocks #site-header {
	top: 32px;
}
.archive li.wp-block-post:not(:last-child) {
	border-bottom: solid 1px #dd7244;
	padding-bottom: 5px;
	margin-top: 8px;
}
.archive .wp-block-post-terms {
	margin: 0 !important;
	display: inline-block;
	font-size: 17px !important;
}
.archive .aupdr-archive-tax-group h2{
    font-size: 20px !important;
    margin:0 !important;
}
.archive .aupdr_breadcrum {
	font-size: 17px;
}
.search .wp-block-query{
	height: calc(100dvh - 200px);
	overflow: hidden auto;
}
.admin-bar.search .wp-block-query{
	height: calc(100dvh - 226px);
}
.archive:not(.search) .wp-block-query {
	height: calc(100dvh - 224px);
	overflow: hidden auto;
}
.admin-bar.archive:not(.search) .wp-block-query {
	height: calc(100dvh - 245px);
}
.search .wp-block-query {
	margin-top: 5px;
}
.search main,
.archive main{
	padding: 0;
	margin-top: 70px;
}
.single-aupdr_doc main {
	margin-top: 70px !important;
}
.search .wp-block-post-template,
.archive .wp-block-post-template{
padding-left: 29px;
padding-top:3px;
}
.search ul.wp-block-post-template + .wp-block-group, 
.archive ul.wp-block-post-template + .wp-block-group {
	display: none;
}
.single-aupdr_doc h2.wp-block-heading + .wp-block-mfb-meta-field-block {
    margin-top: 5px;
}
.single-aupdr_doc h2.display-none{
    display:none;
}
.single-aupdr_doc.has_document_type h2.aupdr_document_type,
.single-aupdr_doc.has_attribution h2.aupdr_attribution,
.single-aupdr_doc.has_division h2.aupdr_division,
.single-aupdr_doc.has_zone h2.aupdr_zone,
.single-aupdr_doc.has_keyword h2.aupdr_keywords,
.single-aupdr_doc.has_date h2.aupdr_date,
.single-aupdr_doc.has_synopsis h2.aupdr_synopsis
{
    display:block;
}
.single-aupdr_doc .wp-block-post-title.has-18-px-font-size {
	font-size: 18px;
	margin: 5px 0;
}
.single-aupdr_doc  .wp-block-group.aupdr-foler-doc .wp-block-post:not(:last-child) {
	border-bottom: solid 0.5px #eee;
}
.single-aupdr_doc  .wp-block-group.aupdr-foler-doc .wp-block-post{
    margin-block-start:0;
}
.aupdr-foler-doc .wp-block-query ul {
	margin: unset !important;
}
body.single-aupdr_doc:not(.single_aupdr_folder) .wp-block-group.aupdr-foler-doc {
	display: none;
}
.aupdr-foler-doc .wp-block-query{
    padding:5px 0;
}
.aupdr_access_button.wp-block-mfb-meta-field-block a {
    background: transparent;
}
.aupdr_access_button.wp-block-mfb-meta-field-block {
    background: transparent;
    display: block;
    height: 12px;
}
.aupdr_access_button.wp-block-mfb-meta-field-block .wp-block-buttons{
    float:right;
}
.aupdr-archive-tax,
.aupdr-archive-tax-group > h2 {
    max-width: none;
    padding: 0 5px;
    margin-bottom:0;
}
.aupdr-archive-tax div {
    display: inline;
}
.aupdr-archive-tax span.separator.display-none {
    display: none;
}
.search .wp-block-heading.aupdr_search_results, .search .wp-block-heading.aupdr_search_form {
	background: #dd7244;
	text-transform: uppercase !important;
	margin: 0 !important;
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.234), 17px);
	font-style: normal;
	font-weight: 700;
	padding: 5px 10px 5px 10px;
	letter-spacing: 3px;
	box-sizing: border-box;
}
.search .wp-block-group.aupdr-search-results{
    display: inline-block;
	width: 64%;
	padding: 0;
}
.search .wp-block-group.aupdr-search-form {
	display: inline-block;
	width: calc(35% - 10px);
	vertical-align: top;
	padding: 0;
	margin: 0 5px !important;
	box-sizing: border-box;
}
.search .wp-block-group.aupdr-search-form > *{
    max-width: 100%;
}
form.searchandfilter {
	overflow: auto;
	margin: 5px 0 0 0 !important;
	height: calc(100vh - 220px);
}
form.searchandfilter li {
	 padding-right: 0; 
}
form.searchandfilter li.of-field,
form.searchandfilter li.of-group,
form.searchandfilter ul.of-group,
form.searchandfilter ul.of-group > li{
    display: block;
}
form.searchandfilter .of-buttons input {
	background: transparent;
	font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.469), 20px);
	  cursor: pointer;
}
form.searchandfilter .of-buttons input[type="submit"] {
	color: var(--wp--preset--color--custom-color-7);
}
rm.searchandfilter input[name="ofsearch"] {
}
form.searchandfilter > div > p {
	display: none;
}

form.searchandfilter ul.of-group{
    padding-left: 10px;
}

form.searchandfilter > div > ul {
    width: 100%;
    margin-top: 0;
    padding:0;
}
.of-field > span.select2 {
    width: 100% !important;
}
.searchandfilter h4.of-field-title {
    font-size: var(--wp--preset--font-size--medium);
    margin-bottom: 0;
}
form.searchandfilter input {
    font-size: var(--wp--preset--font-size--large);
    font-family: var(--wp--preset--font-family--jost);
    font-weight: 300;
    font-style: normal;
}
form.searchandfilter  input[name="ofsearch"] {
	width: 100%;
	box-sizing: border-box;
}
form.searchandfilter  :focus {
	outline-width: 0;
	outline-style: none;
}
form.searchandfilter li.of-field, form.searchandfilter li.of-group {
    position: relative;
    margin-bottom: 5px;
    border-radius: 3px;
    font-weight: bold;
}
form.searchandfilter  input.of-collapsible + label,
form.searchandfilter  li.of-group > label{
  display: flex;
  cursor: pointer;
  background-color: #c2c0c0;
}
form.searchandfilter li.of-field input.of-collapsible,
form.searchandfilter li.of-group > input{
  position: absolute;
  opacity: 0;
  z-index: -1;
}
form.searchandfilter input.of-collapsible ~ div.of-field,
form.searchandfilter ul.of-group {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}
form.searchandfilter input.of-collapsible:checked ~ div.of-field,
form.searchandfilter li.of-group > input:checked ~ ul.of-group{
  max-height: 30rem;
  margin-top: 5px;
}
form.searchandfilter input.of-collapsible+label,
form.searchandfilter li.of-group > label{
  justify-content: space-between;
  padding: 5px;
}
form.searchandfilter li.of-buttons {
	margin: 5px 0;
	display:block;
}
.searchandfilter li.of-search {
	display: block;
}
form.searchandfilter li.of-buttons input[type="reset"] {
	float: right;
}
.select2-dropdown.select2-dropdown--below {
	margin-top: 32px;
}
.select2-dropdown.select2-dropdown--above {
	margin-top: 30px;
}

body.single.single-aupdr_doc .wp-block-post-terms {
    margin-block-start: 0;
}
.aupdr-doc-archive li .wp-block-group {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.aupdr-doc-archive li .wp-block-post-terms {
    margin-block-start: 0;
}
