/* styling for Freedom theme */

@font-face {
  font-family: 'YaleNew';
  src:  url('https://beinecke-digital-exhibits.name/exhibits/themes/freedom/fonts/YaleNew/YaleNew-Roman.otf') format('opentype'),
            url('https://beinecke-digital-exhibits.name/exhibits/themes/freedom/fonts/YaleNew/YaleNew-Italic.otf') format('opentype');
            url('https://beinecke-digital-exhibits.name/exhibits/themes/freedom/fonts/YaleNew/YaleNew-Bold.otf') format('opentype');
            url('https://beinecke-digital-exhibits.name/exhibits/themes/freedom/fonts/YaleNew/YaleNew-BoldItalic.otf') format('opentype');
            url('https://beinecke-digital-exhibits.name/exhibits/themes/freedom/fonts/YaleDisplay/YaleDisplay-Roman.otf') format('opentype');
}

.main-header--center .main-header__site-title a  {
   font-size: 2.5rem;
   font-family: 'YaleDisplay', Times New Roman, sans-serif;
   text-decoration: none;
   text-transform: uppercase;
   color: #00356b;
}

h1  { 
    font-family: 'YaleDisplay', Times New Roman, sans-serif;
    font-size: 2rem;
}

h2 {
    font-family: 'YaleDisplay', Times New Roman, sans-serif;
}

.faceted-browse-page .categories-container legend, .faceted-browse-page .facets-container legend { 
    font-family: 'YaleDisplay', Times New Roman, sans-serif; 
    font-size: 2em;
}

.faceted-browse-page #facets legend {
    font-size: 1.5em;
    margin-left: 5%;
}

.item-showcase {display: -webkit-inline-flex;}
.item-showcase .resource.item h3 {font-size: 1rem;}

.highlights {
     font-family: 'YaleDisplay', Times New Roman, sans-serif; 
     font-weight: 500; 
     color: #000000;
}

.home-text-block {
            display: flex;
            align-items: flex-start;
        }
.home-image {
           margin: -5px 0 0 15px;
        }

a.resource-link img {float: right;}