.property dd.value:nth-child(5) {
    width:50%!important;
    float:right!important;
}
.property:has(dd.value):nth-child(5) .value-content {
    margin-left:210px;
}
.property:has(dd.value):nth-child(5) .value:first-of-type {
   margin-top:-30px;
}
dd.value.resource.items:first-of-type, dd.value:nth-child(5):first-of-type {
    margin-top:-30px;
}
.property:has(dd.value.resource.items), .property:has(dd.value):nth-child(5)  {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}   
 dd.value.resource.items:has(.value-content),  dd.value:nth-child(4):has(.value-content) {
        width: 80%;
        padding-left: 20%;
        margin-bottom:20px;
    }
.media-embeds .media-render.html iframe {
    position: static;
    width: 100%;
}
dd:has(value.resource.items) {
    display:flex;
    background:yellow;
}
#advanced-search .inputs button {
    min-width:36px;
}
dd.value.resource.items, dd.value:nth-child(4) {
    width:auto;
}
dd.value.resource.items .value-content {
    width:max-content;
}
.media-embeds .property .value-content {
    display:flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.advanced-search-content>div:nth-of-type(4),  .advanced-search-content>div:nth-of-type(6),  .advanced-search-content>div:nth-of-type(7) {
display:none;
}

.light-header button {
    text-transform: uppercase !important;
    font-size: 14px;
    -webkit-border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    transition: all .2s ease-in-out; 
}

.light-header button:hover {
        transform: scale(.95); 
        background-color:#c9c7c7;
}

 select, #advanced-search input[type="text"] {
    background:#ececec;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size:16px;
}
.field .field-meta {
    font-family: 'Roboto', sans-serif;
    color:#999;
    font-size:16px;
}

#advanced-search .remove-value {
    background: #3dba04;
    color: white;
    border-radius: 50%;
    border:none;
}

#advanced-search .add-value, #advanced-search .remove-value {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    background: #3DBA04;
    color: white;
    border-radius: 50%;
    transition: all .2s ease-in-out; 
}
#advanced-search .add-value:hover, #advanced-search .remove-value:hover {
    transform: scale(.95); 
     background-color:#2f8309;   
}

#advanced-search input[type="submit"], form.sorting button[type="submit"] {
    font-size: 16px;
    padding: 6px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    background: #3DBA04;
    color: white;
    width:100px;
    border-radius: 8px;
    transition: all .2s ease-in-out; 
}
#advanced-search input:hover[type="submit"], form.sorting button:hover[type="submit"] {
    transform: scale(.95); 
    background-color:#2f8309;
}
#content h3 {
    display:none;
}
#content .file {
    width:auto;
}

.media-embeds .youtube {
position: relative;
    padding-bottom: 27.25%;
    padding-top: 25px;
    height: 0;
    margin-bottom: 20px;
}
.media-embeds iframe {
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 100%;
}
 .media-embeds img {
    width:50%;
    padding-bottom:20px;
     display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;
    margin:0px auto;
}
select, .property .value {
font-family: 'Roboto', sans-serif;
}
nav.pagination:nth-child(1) {
    display: flex;
    z-index: 100;
    align-items: flex-end;
    margin-bottom:-20px;
    font-family: 'Roboto', sans-serif;
}
ul.resource-list.grid > .pagination {
    margin-top:-20px;
    background-color:red;
}
.search-filters { 
    text-align: center;
    margin: 0 0 24px;
}
form.sorting {
    z-index: 10000;
    position: relative;
    padding-top:24px;
}

.universal-viewer,.viewer {
    display: none;
}
.alert-banner {
            background-color:#FFD54F;
            color: #222;
            text-align: center;
            padding: 20px;
            position: fixed;
            top: -80px; /* Initially hidden above the viewport */
            left:0;
            width: 100%;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: top 0.5s ease-in-out; /* Smooth transition */
        }
.alert-banner span {
           margin:0px auto;
}
.show #content {
    margin-bottom: 140px;
    max-width: 1100px;
    margin: 0px auto;
}

.site-page-home .header {
    padding-bottom:125px;
}
        .close-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
           color:#222;
}

.browse-controls {
    margin: 0px auto;
    text-align: center;
    padding-bottom:40px;
    padding-top: 5px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
ul.resource-list.grid {
    padding-bottom:0px;
}
.pagination {
    display: contents;
    bottom: auto;
    width: 100%;
    justify-content: center;
    text-align: center;
}
footer {
    z-index:0;
}

@media only screen and (max-width: 694px)  {
.property dd.value {
    margin-left:0;
}
dd.value.resource.items:has(.value-content) {
    width: 100%;
    padding-left: 0;
    margin-bottom: 20px;
}
.property dt {
    width: 100%;
}

dd.value.resource.items:first-of-type {
    margin-top: 0;
}


.property dd.value:nth-child(5) {
    width:100%;
    float:none;
}
.property:has(dd.value):nth-child(5) .value-content {
    margin-left:0px;
}
.property:has(dd.value):nth-child(5) .value:first-of-type {
   margin-top:0px;
}





.property {
    flex-direction:column;
}
.media-embeds .media-render iframe {
        width: 90%;
        margin-left: 5%;
}
.property .values, .property h4+.value, .property span.value-content, .property dd.value, .property h4, #linked-resources h4, .property d {
width:100%;}

.media-embeds .youtube {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.media-embeds iframe {
  position: absolute;
  top: 0;
  left: 3%;
  width: 94%;
  height: 100%;
}
.media-embeds img {
    width: 94%;
}
}