/*
Theme Name: os-museum
Theme URI: osttongraphic.com
Author: danielejost 
Author URI: osttongraphic.com 
Description: no description.
Version: 3.1.1
License: all right reserved
License URI: osttongraphic.com 
Tags: Grid-Layout
Text Domain: os-museum 
Domain Path: /languages/
*/


.entry .no-underline {
  text-decoration: none!important;
}

@media screen and (max-width: 768px) {
  .sm-item-center {
    justify-content:center;
  }
}


/* Update Nov 2023 */
.so-panel .gallery {
  display: grid;
  gap: 12px;
}
.so-panel .gallery.gallery-columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.so-panel .gallery.gallery-columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.so-panel .gallery.gallery-columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.so-panel .gallery.gallery-columns-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
@media screen and (max-width: 576px) {
  .so-panel .gallery.gallery-columns-3,
  .so-panel .gallery.gallery-columns-4,
  .so-panel .gallery.gallery-columns-5,
  .so-panel .gallery.gallery-columns-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.so-panel .gallery .gallery-icon {
  aspect-ratio: 1/1;
}
.so-panel .gallery img {
  height: 100%;
  width: 100%;
  object-fit:contain;
}
.so-panel .gallery .wp-caption-text {
  text-align: center;
}


.so-panel .logos .gallery .gallery-icon {
  aspect-ratio: initial;
  display: flex;
  justify-content: center;
}
.so-panel .logos .gallery img {
  max-width: 100px;
  max-height: 100px;  
}

.list-name ul {
  text-align: center;
  max-width: 60%;
  margin:0 auto 0 auto;
}
.list-name ul li {
  display: inline-block;
  padding-right: 24px;
  padding-left: 24px;
  padding-bottom: 12px;
  position: relative;
  list-style-type: none;
  margin: -4px;
}
.list-name ul li:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 1px;
  background-color: #ddd;
  top: 12px;
  right: 0; 
}
.list-name ul li:before {
  content: '';
  position: absolute;
  width: 12px;
  height: 1px;
  background-color: #ddd;
  top: 12px;
  left:0; 
}
@media screen and (max-width: 576px) {
  .list-name ul {
    max-width: 100%;
  }
  .list-name ul li {
    display: block;
    width: 100%;
  }
  .list-name ul li:after,
  .list-name ul li:before {
    display: none;
  }
}


.musei-italiani {
  width:140px;
}

footer.footer .top .row {
  flex-direction: row-reverse;
}

@media screen and (max-width: 576px) {
  footer.footer .top .row {
    flex-direction: column-reverse;
  }
  footer.footer .top .right {
    justify-content: center;
    width: 100%;    
  }
}


