/* lightbox viewer */
.lg-backdrop {
    background-color: #fafafa;
}
 
.lg-outer .lg-thumb-outer {
    background-color: #eaeaea;
}
 
.lg-next, .lg-prev {
    background-color: transparent;
}
 
/* hide 'Part of ' block */
.media-parent-item {
    display: none;
}
 
/* change title font size */
    h1 {
        font-size: 1.63rem;
    }
 
    h2 {
        font-size: 1.488rem;    
    }
    
    h3 {
        font-size: 1.369rem
    }
 
    h4 {
        font-size: 1.3rem
    }
 
    h5 {
        font-size: 1.2rem
    }  
 
@media(min-width: 768px) {
    h1 {
        font-size:2.02rem;
    }
 
    h2 {
        font-size: 1.802rem;    
    }
    
    h3 {
        font-size: 1.602
    }
 
    h4 {
        font-size: 1.424
    }
 
    h5 {
        font-size: 1.266
    }  
}
 
/* header */
.main-header {
    box-shadow: none;
}
 
.main-header__top-bar {
    display: none;
}
 
.main-header__main-bar {
    background-color: rgba(0,0,0,0.6);
    color: white;
    position: relative;
    
    box-shadow: 0px 4px 6px 2px rgba(0, 0, 0, .11);
}
 
.main-header__site-title {
    flex-grow: 8;
}
 
.main-header__site-title a {
    text-decoration: none;
    letter-spacing: -2px;
    text-transform: uppercase;
    font-size: 1.6rem;
    color: #efefef;
    font-weight: 500;
}
 
 
.main-navigation ul.navigation>li>a {
    padding-top: 1rem;
    color: #efefef;  
}
 
/* footer */
 
.main-footer__top, .main-footer__bottom {
    background-color: rgba(0,0,0,0.6);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}
 
/* navigation & language switcher */
.main-language-switcher {
    flex: 1;
}
 
.main-navigation {
    display: flex;
    align-items: center;    
}
 
.main-navigation .navigation>li>span,
.main-navigation .navigation>li>a {
  display: inline-block;
}
 
.main-navigation .navigation>li>span
{
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    padding-top: 1rem;
    padding-bottom: .3rem;
    margin: 30px 15px;
    position: relative;
}
 
.main-language-switcher {
    margin: 0 15px 0 3rem;
}
 
.main-language-switcher .navigation>li>a,
.main-language-switcher .navigation>li>span
{
    margin-left: 5px !important;
    margin-right: 5px !important;
}
 
.main-language-switcher .navigation>li:first-child:after {
    content: '|';
    display: inline-block;
    position: relative;
    top: -1px;
}
 
/* remove first block top margin */
.blocks-inner.page-layout-normal .block:first-child {
    margin-top: 0;
}
 
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  color: #666666;
  background-color: white;
  border: 2px solid #666666;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}
.btn:hover,
.btn:visited:hover {
  background-color: #666666;
  color: white !important ; 
  border-color: white; 
}
.btn:visited {
  color: #666666 !important ;
}
 
a {
  color:  #b71c14 !important;
  text-decoration: none;
}
a:hover{
  color: #e32118 !important;
}
a:visited {
  color:  #b71c14 !important;
  text-decoration: none;
}
 
.main-header a,
.main-header a:hover,
.main-header a:visited,
.button-collapse a,
.button-collapse a:hover,
.button-collapse a:visited,
.main-footer a,
.main-footer a:hover,
.main-footer a:visited,
.helper-text-expand-collapse a,
.helper-text-expand-collapse a:hover,
.helper-text-expand-collapse a:visited,
.permalink button a,
.permalink button a:hover,
.permalink button a:visited,
.pager-wrapper a,
.pager-wrapper a:hover,
.pager-wrapper a:visited
{
  color: inherit !important;
}
 
a.metadata-browse-direct-link,
a.metadata-browse-direct-link:hover,
a.metadata-browse-direct-link:visited {
  color: inherit !important;
  text-decoration: underline;
}
 
a,
a:hover,
a:visited
{
  color: black !important;
}
 