#search-form{
    display:none;
}
#search-form.open {
    display: flex;
}

.site-title {
background-color: #000;
}

.openseadragon {
max-height: 600px;
max-width: 1280px;
margin: 0px auto;
background-color: rgb(250, 250, 250);
border-radius: 15px;
}
.fullpage {
    max-width: 100%;
    max-height: 100%;
}
.footer-image {
max-width: 300px;
}
.browse #content {
    padding-bottom: 0px;
}
ul {
margin:10px 0px;
}
.site-title img {
    max-height: 70px;
}
.footer-div{
display: flex;
flex-wrap: wrap
}
.footer-text {
margin-left:auto;
align-self: center;
}
.pagination {
font-size:18px;
font-family: 'Oswald', sans-serif;
font-weight:700;
}
.pagination input[type="text"] {
font-size:18px;
font-family: 'Oswald', sans-serif;
font-weight:700;
}

img.customimage { max-width: 100%;}
.contenuti {
width: 100%;
display: flex;
flex-wrap: wrap;
}


.pagination {
    width: 25%;
    height: 50px;
}

.site-title {
    font-size: 44px;
    line-height:48px;
}
header > h1 > a:visited {
    color: #fff;
}
.archivio-contenuti{
width: 100%;
display: flex;
flex-wrap: wrap;
border-radius:25px;
background-color: #00000005;
    margin: 50px 0px;
    padding: 20px 50px 20px 30px;
}
#content footer {
    padding: 24px 0px 24px;
}
.contenuti-header{
width:100%;
}
.contenuti-header > h2 {
margin-bottom:10px;
}
.breadcrumbs {
margin-top: 10px;
}
footer {
    padding: 24px 48px 24px;
background-color:#00000005;
margin-top: 50px;
}
.show-header {
    width: 100%;
}
.value:not(:first-of-type) {
    margin-top: 0px;
    padding-top: 10px;
    border-top: 0px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}
.show #content h2:first-child {
    display: inline-block;
    width: auto;
    margin: 24px 0 24px;
}
.item-set.show .metadata + h3 {
    width: 50%;
    font-size: 28px;
}
.browse-controls {
    width: 100%;
    text-align:right;
    margin-bottom:10px;
}
.property {
margin-bottom: 15px;
}
#content > h2:first-child {
    width: 100%;
    margin: 24px 0px 10px;
}
p a, span a, .button, button, input[type="submit"], .secondary-nav li a, .pagination a.button, .item-pagination a, #featured .featured-meta h3, .advanced-search, .value a span, .sub-menu, .results li a, .results > ul + a {
    background-color: transparent !important;
}
.reference-pagination li.pagination-range a, .reference-heading a {
    color: #000 !important;
}
#A {
    margin-top: 5px;
}
#reference-skiplinks-bottom {
    padding: 30px 0px;
}
.results > ul + a {
    border: 2px solid #000;
    font-family: "Assistant",sans-serif;
    font-size: 20px;
    line-height: 32px;
    font-weight:600;
}
.index.search .results ul li {
margin-right:10px;
}
.results > ul > li {
    width: 31%;
}
a:link{
color: #db2020;
background-color: #f00;
}
a:hover{
color:#f00;
}
a:visited{
color: #d80a0a;
}
.resource-list .resource img {
    max-height: 450px;
}
.resource-list .resource {
    font-size: 16px;
    line-height:20px;
    margin-bottom:24px;
}
.index.search .results ul {
    margin-bottom: 20px;
}
.reference-record a:link{
    color: #f00;
}
h2 {
    font-size: 40px;
    line-height: 40px;

}
h3 {
    font-size: 32px;
    line-height: 36px;
}
.description {
    font-size: 16px;
}
.resource-list h4 {
    width: 100%;
    margin: 10px 0px 5px 0px;
    font-size: 18px;
    line-height:22px;
}
.reference-record  a:hover {
    color: #c90d00;
}
.resource-list .resource {
    width: calc(25% - 24px);
}
header nav .menu-toggle,  .search-toggle {
    font-size: 28px;
    line-height: 30px;
}
#top-nav > ul > li {
    padding-bottom: 18px;
}
#top-nav > ul > li > a  {
font-size:24px;
color:#fff !important;
line-height:26px;
}
.navigation a{
color:#fff !important;
}
#top-nav > ul > li > a:hover {
color: rgba(255,255,255,0.7) !important;
}
.resource-list .resource:nth-child(4n) {
    margin-right: 24px;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
header > h1 > a:link {
    color: #fff;
}

@media (max-width: 1279px) {
.resource-list .resource {
    width: calc(33% - 24px);
}
}

@media (max-width: 1023px) {
.resource-list .resource {
    width: calc(50% - 24px);
}
.footer-text {
margin-left:auto;
font-size: 18px;
margin-right:auto;
align-self: center;
margin-top:25px;
width: 100%;
text-align: center;
}
.footer-image {
max-width: 300px;
margin-left:auto;
margin-right:auto;
}
}

@media (max-width: 719px) {
.footer-text {
margin-left:auto;
margin-right:auto;
align-self: center;
margin-top:20px;
width: 100%;
text-align: center;
}
.footer-image {
max-width: 300px;
margin-left:auto;
margin-right:auto;
}
.property h4 {
margin-bottom:10px;
}
.resource-list .resource {
    width: calc(50% - 24px);
}
.contenuti-header{
width:100%;
}
.resource-list .resource img {
    max-height: 200px;
}
.carousel-block{
display: none;
}
footer {
    padding: 34px 0px 24px;
    font-size:16px;
    text-align:center;
}
html {
    font-size: 18px;
    line-height: 28px;
}
}
@media (max-width: 640px) {
.browse-controls {
    display:block;
}
}

@media (max-width: 499px) {
.site-title {
    font-size: 32px;
    line-height:42px;
}
.browse-controls {
    width: 100%;
text-align:center;
display:block;
}
.resource-list .resource {
    width: calc(100% - 24px);
}
header nav .menu-toggle,  .search-toggle {
    font-size: 26px;
    line-height: 28px;
}
h1 {
    font-size: 29px;
    line-height: 36px;
    padding-right:10px !important;
}
.site-title img {
    max-height: 70px;
    max-width: 185px;
}
}
@media (max-width: 389px) {
.site-title {
    font-size: 28px;
    line-height:42px;
}
#search-form input[type="text"] {
    width: 100%;
}
}
video {
    height: 600px !important; /* cambia il valore secondo le tue esigenze */
    width: auto;
}
iframe[src*="mp4"] {
    height: 600px !important;
}
a:link {
    color: #f00;
}
.site-summary .value {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    max-height: 4.5em !important;
}

* > a:link {
background-color: transparent;
}
/* Limit to 3 lines with ellipsis */
.description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
}
@media screen {
  .resource-list .resource-name {
    font-family: "Archivo Black",sans-serif;
    font-size: 14px;
  }
}
.search-toggle, #search-container { display: none !important; }