/*
Theme Name: brhg2018
Theme URI: http://www.brh.org.uk;
Author: Randell Brantley
Author URI: http://www.brh.org.uk;
Description: Bristol Radical History theme March 2016.
Version: 1.0a
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: brhg2016
*/

/* Typography
---------------------------------------------------------------------------------------------*/

/*Essay 1743*/
@font-face {
    font-family: 'essays1743';
    src: url('fonts/essays1743-webfont.eot');
    src: url('fonts/essays1743-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/essays1743-webfont.woff2') format('woff2'),
         url('fonts/essays1743-webfont.woff') format('woff'),
         url('fonts/essays1743-webfont.ttf') format('truetype'),
         url('fonts/essays1743-webfont.svg#essays1743medium') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*Noto Serif*/
@font-face {
    font-family: 'notoserif_regular';
    src: url('fonts/notoserif-regular-webfont.eot');
    src: url('fonts/notoserif-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notoserif-regular-webfont.woff2') format('woff2'),
         url('fonts/notoserif-regular-webfont.woff') format('woff'),
         url('fonts/notoserif-regular-webfont.ttf') format('truetype'),
         url('fonts/notoserif-regular-webfont.svg#noto_serifregular') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'notoserif_italic';
    src: url('fonts/notoserif-italic-webfont.eot');
    src: url('fonts/notoserif-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notoserif-italic-webfont.woff2') format('woff2'),
         url('fonts/notoserif-italic-webfont.woff') format('woff'),
         url('fonts/notoserif-italic-webfont.ttf') format('truetype'),
         url('fonts/notoserif-italic-webfont.svg#noto_serifitalic') format('svg');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'notoserif_bold';
    src: url('fonts/notoserif-bold-webfont.eot');
    src: url('fonts/notoserif-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notoserif-bold-webfont.woff2') format('woff2'),
         url('fonts/notoserif-bold-webfont.woff') format('woff'),
         url('fonts/notoserif-bold-webfont.ttf') format('truetype'),
         url('fonts/notoserif-bold-webfont.svg#noto_serifbold') format('svg');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'notoserif_bold_italic';
    src: url('fonts/notoserif-bolditalic-webfont.eot');
    src: url('fonts/notoserif-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notoserif-bolditalic-webfont.woff2') format('woff2'),
         url('fonts/notoserif-bolditalic-webfont.woff') format('woff'),
         url('fonts/notoserif-bolditalic-webfont.ttf') format('truetype'),
         url('fonts/notoserif-bolditalic-webfont.svg#noto_serifbold_italic') format('svg');
    font-weight: 700;
    font-style: italic;
}


/*Noto Serif*/
@font-face {
    font-family: 'notosans';
    src: url('fonts/notosans-regular-webfont.eot');
    src: url('fonts/notosans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notosans-regular-webfont.woff2') format('woff2'),
         url('fonts/notosans-regular-webfont.woff') format('woff'),
         url('fonts/notosans-regular-webfont.ttf') format('truetype'),
         url('fonts/notosans-regular-webfont.svg#noto_sansregular') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'notosans';
    src: url('fonts/notosans-italic-webfont.eot');
    src: url('fonts/notosans-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notosans-italic-webfont.woff2') format('woff2'),
         url('fonts/notosans-italic-webfont.woff') format('woff'),
         url('fonts/notosans-italic-webfont.ttf') format('truetype'),
         url('fonts/notosans-italic-webfont.svg#noto_sansitalic') format('svg');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'notosans';
    src: url('fonts/notosans-bold-webfont.eot');
    src: url('fonts/notosans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notosans-bold-webfont.woff2') format('woff2'),
         url('fonts/notosans-bold-webfont.woff') format('woff'),
         url('fonts/notosans-bold-webfont.ttf') format('truetype'),
         url('fonts/notosans-bold-webfont.svg#noto_sansbold') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'notosans';
    src: url('fonts/notosans-bolditalic-webfont.eot');
    src: url('fonts/notosans-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/notosans-bolditalic-webfont.woff2') format('woff2'),
         url('fonts/notosans-bolditalic-webfont.woff') format('woff'),
         url('fonts/notosans-bolditalic-webfont.ttf') format('truetype'),
         url('fonts/notosans-bolditalic-webfont.svg#noto_sansbold_italic') format('svg');
    font-weight: 700;
    font-style: italic;
}

/*Font for other elements*/

h1,
.h1 {
  font-size: 41px;
}
h2,
.h2 {
  font-size: 34px;
}
h3,
.h3 {
  font-size: 24px;
}
h4,
.h4 {
  font-size: 18px;
}
h5,
.h5 {
  font-size: 16px;
}
h6,
.h6 {
  font-size: 14px;
}


#brhg2016-header .brhg2016-site-title, #brhg2016-header .menu-scroll-middle,
.navbar, h3.widget-title, #brhg2016-footer .menu-cherub-middle,
#front-info-boxes h4.widget-title, #front-page-headline-frames h4.widget-title,
.contact-details, .copyright{
    font-family: essays1743, serif;
    font-weight: normal;
}

.item-subtitle{
    font-size: 30px;
}

.single-item-main-content h2{
    font-size: 28px;
}

.single-item-main-content h3{
    font-size: 22px;
}

.entry-header h2{
    font-size: 26px;
}

.entry-header h3{
    font-size: 20px;
}

.project-linked-header, .project-linked-top {
    font-size: 20px;
}

h4.recent-item-title, .project-item-title, .project-show-button{
    font-size: 16px;
    font-weight: 700;
}

.project-item-read-more{
    font-weight: 700;
    font-size: 12px;
}


/*Links*/
/*Main link collour set in Bootstrap*/
.container a:link, 
.container a:visited,
.float-a-note a:link,
.float-a-note a:visited,
.event-programme-table a:link,
.event-programme-table a:visited
{
    /*color: #eda304;*/
	color: #ff0000;
}

.container a:hover,
.float-a-note a:hover
{
    /* color: #b27600; */
	color: #a40000;
}

.single-item-main-content a, 
.single-event_series .single-item-content a, 
 {
    text-decoration: underline;
	text-decoration-style: dotted;
}

.single-item-block-details a:link,
.single-item-block-details a:visited,
h2.item-title a:link,
h2.item-title a:visited{
    /* color: #a40000; */
    color: #ff0000;
}

.single-item-block-details a:hover,
h2.item-title a:hover {
    /* colour: #805a00; */
    /* color: #a40000; */
}

.top-link a {
    text-decoration: none !important;
}

/*White links*/

.container a.read-more-button {
	color: #ffffff;
	text-decoration: none;
}

/* Yellow Links */
{
    color: #FFBF33;
}


/* Hover */
{
    color: #805a00;
}

/* To match link*/
.project-show-button{
    color: #a40000;
}

::selection {
   background: #FF0000; /* Safari */
   color: #fff;
   }
::-moz-selection {
   background: #FF0000; /* Firefox */
      color: #fff;
}

/* Global Bootstrap resets
*************************************************************************************************/
.btn{
    border-radius: 40px;
}

/* This is a firefox hack to make the scrolling work for tables on smaller screens */
@-moz-document url-prefix() {
  fieldset { display: table-cell; }
}

/* Structure
*************************************************************************************************/
/* Centre odd number of columns */
@media (min-width: 768px) {
    /* centered columns styles */
    .row-centered-sm {
        text-align:center;
    }

    .col-centered-sm{
        display:inline-block;
        vertical-align: top;
        float:none;
        /* reset the text-align */
        text-align:left;
        /* inline-block space fix */
        margin-right:-4px;
    }
}

@media (min-width: 992px) {
    /* centered columns styles */
    .row-centered-md {
        text-align:center;
    }

    .col-centered-md{
        display:inline-block;
        vertical-align: top;
        float:none;
        /* reset the text-align */
        text-align:left;
        /* inline-block space fix */
        margin-right:-4px;
    }
}

@media (min-width: 1200px) {
        /* centered columns styles */
    .row-centered-lg {
        text-align:center;
    }

    .col-centered-lg{
        display:inline-block;
        vertical-align: top;
        float:none;
        /* reset the text-align */
        text-align:left;
        /* inline-block space fix */
        margin-right:-4px;
    }
}

/* Stop the footer rising up */
#page {
    min-height: calc(100vh - 500px);
}

/* Grantee that the main content and comment form are longer than the details side bar */
#single-item-container, .comments-wrap{
    min-height: 800px;
}

/* For .container-fluid constrained*/
.row.brhg2016-front-info{
    max-width: 1170px;
    margin: 0 auto;
}

#brhg2016-front-page-slider{
    max-width: 1700px;
    width: 0 auto;
} 

/* For .container-fluid unconstrained*/
#brhg2016-front-page-slider,
.row.brhg2016-front-info,
.row.recent-list-container,
.row.brhg2016-front-tag-cloud,
.row.headline-frames,
.related-posts-second-wrap {
    padding-left: 3%;
    padding-right: 3%;
}

.headline-frame {
    padding: 0;
}

#place-holder{
    margin: 0 0 0;
}

@media only screen and (min-width: 1200px) and (max-width: 1500px){

    .row.headline-frames{
        padding: 0;
        padding: 0;
    }

}

@media only screen and (max-width: 992px){



}

@media only screen and (max-width: 768px){
        #brhg2016-front-page-slider{
            margin-left: 7%;
            margin-right: 7%;
        }
}

@media only screen and (min-width: 550px) and (max-width: 768px){
    .row.brhg2016-front-info,
    .row.headline-frames,
    .row.brhg2016-front-tag-cloud,
    .related-posts-second-wrap{
        margin-left: 7%;
        margin-right: 7%;
    }
}

/* .container (not fluid) */
.row.page-header-wrap{

}

/* Hide for no js */
.no-js .open-filter-button-wrap,
.no-js .project-show-button,
.no-js #single-item-details-btn{
    display: none;
}

/* =WordPress Core
--------------------------------------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
    display: inline;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption, .gallery-item {
    background: #fff;
    border: 0px;
    max-width: 100%; /* Image does not overflow the content area */
    padding: 5px 0 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img, .gallery-item img{
    border: 1px solid #f0f0f0;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    padding: 3px;
    /*width: auto;*/
}

.wp-caption .wp-caption-text, .gallery-item .wp-caption-text{
    font-size: 14px;
    margin: 0;
    padding: 5px 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/*Modernizr
*******************************************************************************************************/
.svg .fallback {
    display: none;
}
.no-svg .fallback {

}

/*Header
*******************************************************************************************************/
#brhg2016-header{
    background: #a40000;
    height: 140px;
    margin: 0 0 0;
    position: relative;
    padding: 20px 0 0;
    text-align: center;
}

#brhg2016-header .title-wrap{
    position: relative;
    display: inline;
}

#brhg2016-header .brhg2016-site-title{
    text-align: center;
    margin: 0;
    display: inline-block;
    font-size: 56px;
    line-height: 1.1;
    overflow: hidden;
}

.brhg2016-site-title > a {
    display: inline-block;
}

#brhg2016-header .brhg2016-site-title a:link, #brhg2016-header .brhg2016-site-title a:active,
#brhg2016-header .brhg2016-site-title a:visited, #brgh2016-header .brhg2016-site-title a:hover{
        color: #fff;
}

.title-break{
    display: none;
}

#brhg2016-header .brhg2016-site-title:before, #brhg2016-header .brhg2016-site-title:after{
    height: 125px;
    position: absolute;
    top: -50px;
    content:'';
}

#brhg2016-header .brhg2016-site-title:before{
    /*angel aspect ratio: multiply height by 0.71*/
    width: 85px;
    left: -90px;
    /* background: url(fallback.png);*/
    background-image: url(images/originals/angel.svg), none;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

#brhg2016-header .brhg2016-site-title:after{
    /*skeleton aspect ratio: multiply height by 0.45*/
    width: 54px;
    right: -60px;
    /* background: url(fallback.png);*/
    background-image: url(images/originals/skeleton.svg), none;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

@media only screen and (max-width:875px){
    #brhg2016-header .brhg2016-site-title{
        font-size: 44px;
    }
    

}

@media only screen and (max-width:800px){
    #brhg2016-header .brhg2016-site-title:before,
    #brhg2016-header .brhg2016-site-title:after{
        /*display: none;*/
    }
}

@media only screen and (max-width:767px){
    .title-break{
        display: initial;
    }

    #brhg2016-header .brhg2016-site-title:before,
    #brhg2016-header .brhg2016-site-title:after{
        display: initial;
        top: -95px;
    }

    .menu-scroll{
        display: none;
    }
}

@media only screen and (max-width:465px){
    #brhg2016-header .brhg2016-site-title{
        font-size: 28px;
    }
    #brhg2016-header .brhg2016-site-title::before, #brhg2016-header .brhg2016-site-title::after {
        display: initial;
        top: -50px;
    }
}



/*menu scroll
*******************************************************************************************************/
#brhg2016-header .menu-scroll{
    vertical-align: top;
    margin-top: -5px;
}

#brhg2016-header .menu-scroll-left,
#brhg2016-header .menu-scroll-middle,
#brhg2016-header .menu-scroll-right{
    height: 50px;
    display: inline-block;
}

#brhg2016-header .menu-scroll-left{
    /*skroll-left aspect ratio: multiply height by 0.86*/
    /* background: url(fallback.png);*/
    background-image: url(images/originals/scroll-left.svg), none;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
    width: 43px;
    vertical-align: top;
}

#brhg2016-header .menu-scroll-middle{
    /*scroll-middle aspect ratio: multiply height by */
    /* background: url(fallback.png);*/
    background-image: url(images/originals/scroll-middle.svg), none;
    background-repeat: no-repeat;
    background-size: 100% 50px;
    margin: 0 -5px;
    font-size: 18px;
    padding: 9px 8px 0;
    font-weight: 700;
    letter-spacing: 1px;
    vertical-align: top;
    line-height: 1;
}

#brhg2016-header .menu-scroll-right{
    /*scroll-left aspect ratio: multiply height by 0.62*/
    /* background: url(fallback.png);*/
    background-image: url(images/originals/scroll-right.svg), none;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left center;
    width: 31px;
    vertical-align: top;
}

#brhg2016-header .menu-scroll ul, #brhg2016-header .menu-scroll ul{
    margin: 0;
    padding: 0;
    /* Fix for Safari*/
    -webkit-margin-before: -1px;
}

#brhg2016-header .menu-scroll ul li {
    display: inline;
    list-style: none;
}

#brhg2016-header .menu-scroll ul li:after{
    content: ' *';
}

#brhg2016-header .menu-scroll ul li:last-child:after{
    content: '';
}


/* lines
*******************************************************************************************************/

.wavy-line{
    background: url(fallback.png);
    background-color: #a40000;
    background-image: url(images/wavy-line.svg), none;
    background-repeat: no-repeat;
    background-size: 100% 4px;
    height: 4px;
    width: 100%;
    border: none;
    margin: 0;

}

.wavy-line-bottom{
    background-color: #fff;
    margin-top: 60px;
}

.oxo{
    background: url(fallback.png)  #a40000;
    background-image: url(images/originals/header-oxo.svg), none;
    background-repeat: repeat-x;
    background-size: auto 17px;
    height: 17px;
    width: 100%;
    border: none;
    margin: 0;
}

/*navbar
*******************************************************************************************************/

/*Nav bar height*/
.navbar .form-control, .navbar .search-trigger.btn,
.navbar .btn, .navbar .search-trigger.btn{
    height: 30px;
}

.navbar{
    font-size: 18px;
    border-radius: 0;
    padding-bottom: 5px;
    margin-bottom: 0;
}

.navbar .navbar-collapse{
    position: relative;
    z-index: 1;
}

.navbar ul.navbar-nav{
    position: absolute;
    z-index: 5;
}

.navbar .nav > li > a{
    padding: 5px 15px 4px;
}

.navbar-nav > li > .dropdown-menu {
    border-radius: 10px;
    border: 2px solid #464646;
    top: 105%;
}

.navbar .navbar-form, .navbar .navbar-form .btn{
    display:none;
}

.navbar .navbar-form{
    padding-top: 6px;
    position: relative;
    z-index: 10;
}

.navbar .form-control{
    padding: 2px 12px;
    border-radius: 20px;
    box-shadow: none;
}

.navbar .btn, .navbar .search-trigger.btn{
    border-radius: 20px;
    background-color: #a40000;
    border: none;
    color: #fff;
}

.navbar .search-trigger.btn{
    margin: 3px 5px -3px 0;
    /* background: url(fallback.png);*/
    background-image: url(images/originals/search.svg), none;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    background-position: center;
    width: 30px;
    border-radius: 26px;
}

.navbar button.navbar-toggle{
    border: none;
    float: none;
    padding: 9px 10px 5px;
}

.navbar .brhg-hamburger{
     /* background: url(fallback.png);*/
    background-image: url(images/originals/hamburger.svg), none;
    background-repeat: no-repeat;
    background-size: 26px 26px;
    background-position: center;
    height: 26px;
    width: 26px;
    display: inline-block;
    vertical-align: text-top;
}

.navbar .hamburger-text{
    color: #fff;
}

.menu-bottom-line{
    /* background: url(fallback.png);*/
    background-image: url(images/menu-bottom-line.svg), none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center top;
    width: 100%;
    height: 10px;
}

@media only screen and (max-width:992px){

    .navbar{
        font-size: 17px;
    }

    .navbar .navbar-collapse{
        padding-left: 0;
        padding-right: 0;
    }

    .navbar .nav > li > a {
        padding: 5px 10px 4px;
    }

    .caret{
        margin-left: 0;
    }

}

@media only screen and (max-width:767px){
    .navbar .navbar-collapse, .navbar ul.navbar-nav, .navbar .navbar-form{
        position: static;
    }

    .navbar .navbar-collapse{
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-header{
        text-align: center;
        padding: 7px 0 3px;
    }
    .navbar button.navbar-toggle{
       display: inline;
    }
}

/*footer
*******************************************************************************************************/
.brhg2016-footer{
    background-color: #a40000;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 18px;
}

.menu-cherub-left, .menu-cherub-middle, .menu-cherub-right{
    height: 252px;
    display: inline-block;
}

.menu-cherub-left{
    /*skroll-left aspect ratio: multiply height by 0.78*/
    /* background: url(fallback.png);*/
    background-image: url(images/cherub-left.svg), none;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right;
    width: 197px;
    vertical-align: top;
}

.menu-cherub-middle{
    /*scroll-middle aspect ratio: multiply height by */
    /* background: url(fallback.png);*/
    background-image: url(images/cherub-middle.svg), none;
    background-repeat: no-repeat;
    background-size: 100% 252px;
    margin: 0 -20px;
    overflow: hidden;
    vertical-align: top;
    padding: 85px 20px 0 0;
}

.menu-cherub-right{
    /*skroll-left aspect ratio: multiply height by 0.78*/
    /* background: url(fallback.png);*/
    background-image: url(images/cherub-right.svg), none;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left;
    width: 208px;
    vertical-align: top;
}

.menu-cherub ul {
    margin: 0;
    padding: 0;
}

#brhg2016-footer .menu-cherub ul li {
    display: inline;
    list-style: none;
}

#brhg2016-footer .menu-cherub ul li:after{
    content: ' *';
}

#brhg2016-footer .menu-cherub ul li:last-child:after{
    content: '';
}

.footer-site-info {
    padding-top: 10px;
    display: inline-block;
}

.cherub-menu-break{
    display: none;
}

.copyright{
    color: #fff;
    padding-bottom: 20px;
}

@media only screen and ( max-width:900px ) {

    .brhg2016-footer{
        font-size: 14px;
    }

    .menu-cherub-left, .menu-cherub-middle, .menu-cherub-right{
        height: 150px;
    }

    .menu-cherub-left{
        width: 120px;
    }

    .menu-cherub-right{
        width: 125px;
    }

    .menu-cherub-middle{
        background-size: 100% 150px;
        padding: 50px 15px 0 0;
    }

    .footer-site-info {
        padding-top: 0;
    }

}

@media only screen and ( max-width:624px ) {

   .menu-cherub-middle .menu{
        display: none;
    }
}

@media only screen and ( max-width:500px ) {

    .brhg2016-footer{
        letter-spacing: initial;
    }

   .cherub-menu-break{
        display: initial;
    }

    .cherub-menu-dash{
        display: none;
    }
}

@media only screen and ( max-width:318px ) {
    .menu-cherub-right, .menu-cherub-left{
        display: none;
    }

    .menu-cherub-middle{
        width: 100%;
    }
}



/*Slider
*******************************************************************************************************/
.front-page-slider-container{
    margin-top: 60px;
}

.row.brhg2016-slider {
    padding: 40px 20px 22px 1.75%;
    min-height: 300px;
}

.brhg2016-slider{
   /* background: url(fallback.png);*/
    background-image: url(images/originals/slider-frame-middle.svg), none;
    background-size: 100% 300px;
    background-repeat: no-repeat;
}

.slider-frame-top{
    /* background: url(fallback.png);*/
    background-image: url(images/originals/slider-frame-top.svg), none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 296px;
    height: 34px;
    margin: 0 auto -1px;
}

.slider-frame-bottom{
    /* background: url(fallback.png);*/
    background-image: url(images/originals/slider-frame-bottom.svg), none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 308px;
    height: 33px;
    margin: -2px auto 0
}

.brhg2016-slider a{
    display: block;
    position: relative;
}

.slider-caption {
    display: none;
    width: 143px;
    height: 200px;
    position: absolute;
    text-align: center;
}

.brhg2016-slider a:hover .slider-caption{
    display: initial;
    background-color: rgba(0, 0, 0, 0.5);
}

.slider-caption-center{
    padding: 5px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    color: #fff;
}

.brhg2016-slider img{
    border: 1px solid #202020;
}

.brhg2016-slider .owl-carousel{
    position: static !important;
}

.brhg2016-slider .owl-buttons{
    display: none;
}

.brhg2016-slider .owl-theme .owl-controls .owl-buttons div {
    background: #869791 none repeat scroll 0 0;
    border-radius: 50px;
    height: 40px;
    width: 40px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    opacity: 1;
    text-align: center;
}

.brhg2016-slider  .owl-prev, .brhg2016-slider .owl-next {
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 100px;
}

.brhg2016-slider .owl-theme .owl-controls .owl-buttons .owl-prev{
    left: -21px;
    background: url(essay-prev.png);
    background-image: url(images/originals/essay-prev.svg), none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.brhg2016-slider  .owl-theme .owl-controls .owl-buttons .owl-next {
    right: -23px;
    background: url(essay-next.png);
    background-image: url(images/originals/essay-next.svg), none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

@media only screen and ( max-width:540px ) {
    .brhg2016-slider .owl-pagination{
        display: none;
    }
    .brhg2016-slider .owl-buttons{
        display: initial;
    }
}

@media only screen and ( max-width:380px ) {
    .slider-frame-top, .slider-frame-bottom{
        width: 100%;
    }

    .row.brhg2016-slider {
        min-height: 300px;
        padding: 40px 10px 22px 1.75%;
    }

    #brhg2016-front-page-slider .owl-carousel .owl-wrapper-outer{
       transform: translate(45%, 0);
       width: 140px;
    }
}


/* Front Page Info Boxes
*******************************************************************************************************/


.brhg2016-front-info-container{
    margin: 60px  0 0;
    background: #f0f0f0 none repeat scroll 0 0;
    padding: 50px 0;
}

.brhg2016-front-info .widget{
    clear: both;
}

.brhg2016-front-info .widget h4{
    margin-top: 0;
}

.front-page-site-info-left{
    margin-right: 20px;
    overflow: hidden;
    text-align: justify;
}

.front-page-site-info-right{
    margin-left: 20px;
	margin-bottom: 20px;
    overflow: hidden;
    text-align: justify;
}

.front-page-site-info-right p{
    line-height: 1.4;
}

.edit-front-info-widget{
    text-align: center;
}

/*front page logos*/

#front-info-hfb-logo{
    width: 40%;
    height: auto;
}

#front-info-brhg-logo{
    width: 50%;
    height: auto;
}

#front-info-hfb-logo, #front-info-brhg-logo{
    margin: 0;
}

@media (max-width: 7680px){
    #brhg2016-front-info-left{
        margin-bottom: 30px;
    }
}

/*Headlines
*******************************************************************************************************/
.headline-frames-all-container{
    margin: 60px 0 0;
    width: 100%;
    padding: 0 50px 0;
    box-sizing: border-box;
}

.headline-frames-row::after{
    content: "";
    display: table;
    clear: both;
}

.headline-frames{
    margin-bottom: 50px;
    color: #fff;

}

.headline-frames{
    width: 33.333333333333333%;
    float: left;
    text-align: left;
    box-sizing: border-box;
    padding: 0 5px;
}

.headline-frame-top-scroll{
    /*background: url(essay-prev.png);*/
    background-image: url(images/headline-frame-top-scroll.svg), none;
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 87px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
}

/* preserveAspectRatio="none" */
.headline-frame-top{
    /* background: url(fallback.png);*/
    background-image: url(images/headline-frame-top.svg), none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    height: 20px;
    overflow: hidden;

}

/* preserveAspectRatio="none" */
.headline-frame-middle{
    /* background: url(fallback.png);*/
    background-image: url(images/headline-frame-middle.svg), none;
    background-size: 100% 100%;
    background-repeat: repeat-y;
    box-sizing: border-box;
    width:  100%;
    padding: 0 12% 0 7%;
    min-height: 600px;
    overflow: hidden;
}

/* preserveAspectRatio="none" */
.headline-frame-bottom{
    /* background: url(fallback.png);*/
    background-image: url(images/headline-frame-bottom.svg), none;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    width:  100%;
    height: 36px;
}

.headline-frame-bottom-scroll{
    /*background: url(essay-prev.png);*/
    background-image: url(images/headline-frame-bottom-scroll.svg), none;
    background-size: 100% auto;
    background-position: top;
    background-repeat: no-repeat;
    height: 74px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.headline-frames h4.widget-title{
    margin-top: 0;
    text-align: center;
}

.headline-frames ul{
    padding: 0;
}

.headline-frames li {
    /* background: url(fallback.png);*/
    background-image: url("images/q-white.svg");
    background-size: 0.7em auto;
    background-repeat: no-repeat;
    background-position: 0 2px;
    list-style: none;
    padding-left: 1.2em;
    margin-bottom: 1em;
    line-height: 1.1;
    color: #a0a0a0;
}

.front-page-headline-more{
    text-align: center;
}

.headline-frames a:link, .headline-frames a:active,
.headline-frames a:visited{
    color: #fff;
}

.headline-frames a:hover {
    color: #a40000;
}

@media only screen and (max-width: 1249px){
    .headline-frames-all-container{
        padding: 0 5px 0;
    }
}

@media only screen and (max-width: 999px){
    .headline-frames{
        width: 550px;
        float: none;
        margin: 0 auto 30px;
    }
}

@media only screen and (max-width: 599px){
    .headline-frames{
        width: 100%;
        float: none;
        margin: 0 auto 30px;
    }
}

/* Footnotes and References
************************************************************************************************************************************************/

ol.footnotes li {
    background: transparent !important;
    list-style: none;
    background-color: #eee;
    margin: 0.75em 0 !important;
    padding: 0 !important;
    font-size: 90%;
    color: #333333 !important;
    line-height: 1.6 !important;
    border: 0 !important;
}

.note-return{
    font-weight: bold;
}

.float-a-note {
    background-color: #efefef;
    border-color: #a40000 !important;
}


.float-a-note .footnote, .float-a-note .note {
    background: #efefef;
}

[id^="outerWindowTip"] {
    background-image: none !important;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #a40000;
    z-index: 10000;
}

.float-a-note .note-label {
    background-color: #efefef;
}

.float-a-note .note-label:first-child{
    display: none;
}

/* Recent Items
************************************************************************************************************************************************/

.front-all-recent-container.js-hide{
    display: none;
}

.front-all-recent-container{
    margin-top: 60px;
}

#front-page-recent .row.recent-list-container{
    margin-bottom: 30px;
}

.owl-recent-slider .owl-recent-item {
    margin: 0 20px 0 0;
}

h4.recent-item-title{
    height: 35px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
}

.owl-recent-slider .brhg2016-missing-recent-img{
    /* background: url(fallback.png);*/
    background-image: url(images/originals/brhg-missing.svg), none;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    width: 50px;
    height: 80px;
}

.owl-recent-slider img.recent-owl-thumb, .owl-recent-slider .brhg2016-missing-recent-img{
    float: left;
    margin: 0 5px 3px 0;
}

.owl-recent-slider p.recent-item-excerpt{
    margin-top: -3px;
    text-align: justify;
    font-size: 14px;
    line-height: 1.45
}

.owl-recent-slider .more-link{
    font-weight: 700;
}

.recent-list-container .owl-more-link{
    text-align: right;
    font-weight: 700;
}

/* Front Page Tag Cloud
*******************************************************************************************************/
.front-tag-cloud-container{
    margin: 60px 0 0;
}

.brhg2016-front-tag-cloud{
    text-align: justify;
}


/* all pages
*******************************************************************************************************/
.page-header {
    margin-top: 10px;
    margin-bottom: 25px;
}

.page-title{
    margin-top: 30px;
    margin-bottom: 30px
}

.page-header .page-title{
    text-align: center;
}

.item-meta-title, .item-meta-title{
    font-weight: 700;
}

.event-diary-details, .archive-item-meta-wrap {
    color: #999999;
    line-height: 1.3;
    margin-top: 10px;
}

/* Archive pages
*******************************************************************************************************/
.archive-intro{
    text-align: center;
}

.archive-intro p{
    text-align: left;
}

.archive-filter{
    margin: 20px 0;
}

.archive-filter .btn {
    padding-bottom: 2px;
    padding-top: 2px;
}

.archive-container{
    padding: 0;
}

.archive-pagination{
    text-align: right;
}

.archive-pagination .pagination{
    margin-top: 0;
}

.archive-item{
    clear: both;
    margin-bottom: 70px;
    overflow: hidden;
}

.archive-item .entry-header{
    margin-bottom: 15px ;
}

.archive-item h2{
    margin-bottom: 10px ;
}

.archive-item h3{
    margin: 0 0 10px;
}

.archive-item-excerpt{
    text-align: justify;
}

.archive-item-thumb-box img{
    width: 100%;
    height: auto;
    border: 1px solid #c0c0c0;
}

 .archive-item-thumb-wrap{
    width: 90%;
    margin-top: 5px;
 }

.archive-item-missing-thumb{
    background: #a40000;
    display: block;
    height: 100%;
    position: relative;
}

.archive-item-missing-thumb-text{
    color: #fff;
    display: block;
    left: 50%;
    margin: 0;
    padding: 5px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    vertical-align: top;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
}

.archive-read-more-button-wrap .btn{
    font-size: 10px;
    font-weight: 700;
}

.archive-container .type-contributors{
    position: relative;
}

.archive-container .type-contributors .archive-read-more-button-wrap,
.archive-container .type-venues .archive-read-more-button-wrap{
    width: initial;
    position: absolute;
    top: 30px;
    right: 0;
}

.archive-container .type-contributors footer{
    margin-top: 0;
}

.archive-item-footer{
    margin-top: 20px;
}

 .archive-item-meta-wrap{
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
 }

.archive-item-footer .archive-item-meta{
    font-size: 12px;
    font-weight: 700;
    padding: 1px 10px;
}

.archive-item-event-details-wrap {
    border-left: 1px solid #eee;
}

.archive-read-more-button-wrap{
    text-align: right;
}

.archive-item iframe{
    width: 100%;
    max-height: 400px;
}

.current-series{
    margin-bottom: 20px;
}

.current-series-link, .current-series-date{
    font-weight: bold;
}

@media only screen and ( max-width: 768px ){
    .archive-item-details-wrap{
        margin-top: 10px;
    }
    .archive-item-thumb-wrap{
        margin-bottom: 20px;
    }
    .archive-item-event-details-wrap {
    border-left: none;
    }

}

@media only screen and ( max-width: 768px ){
    .archive-item-details-wrap{
        margin-top: 10px;
    }
    .archive-item-thumb-wrap{
        margin-bottom: 20px;
    }
    .archive-item-event-details-wrap {
    border-left: none;
    }

}

/* Gallery archive item i.e. articles with galleries displayed on the archive page*/
.listing-thumb-only.archive-gallery-pics{
    width: 25%;
    margin-left: -4px;
    padding-left: 15px;
    float: left;
    background: none;
}

.listing-thumb-only.archive-gallery-pics a{
    padding-bottom: 0;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.archive-gallery-break{
    display: none;
}

@media only screen and ( max-width: 400px ){

    .archive-gallery-break{
        display: initial;
    }

    .listing-thumb-only.archive-gallery-pics{
        width: 50%;
    }

}


/* Thumb only listings
*******************************************************************************************************/
.thumbs-only-container{
    text-align: center;
}

.archive-page-sub-heading {
    margin-top: 60px;
}

.listing-thumb-only {
 width: 13.88571%; /* (100-(margin width*2*number of columns))/number of colums */
 margin: 0.2%;
float: left;
 position: relative;
 overflow: hidden;
 background: #000;
}


/* Keep width 100%, then set padding to desired aspect ratio */
.listing-thumb-only-img-link{
   padding-bottom: 141.5%;
   width: 100%;
   display: block;
    box-sizing: border-box;
    color: #fff;
}

.listing-thumb-only-img-link:hover .listing-thumb-only-title,
.listing-thumb-only .missing-thumb{
    display: block;
    color: #fff;
}

.listing-thumb-only .missing-thumb{
    font-size: 28px;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.listing-thumb-only-img{
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 1px solid #eee;
}

.listing-thumb-only-title {
  position: absolute;
  width:100% ;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 1000% 3%;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);  
  text-align: center;
  display: none;
  background: rgba(164, 0, 0, 0.5);
  font-size: 18px;
}

@media only screen and ( max-width:1399px ) {
    .listing-thumb-only {
        width: 16.2666666666666%; /* (100-(margin width*2*number of columns))/number of colums */
        margin: 0.2%;
    }
}

@media only screen and ( max-width:1149px ) {
    .listing-thumb-only {
        width: 19.6%; /* (100-(margin width*2*number of columns))/number of colums */
        margin: 0.2%;
    }
}

@media only screen and ( max-width:949px ) {
    .listing-thumb-only {
        width: 24.6%; /* (100-(margin width*2*number of columns))/number of colums */
        margin: 0.2%;
    }
}

@media only screen and ( max-width:749px ) {
    .listing-thumb-only {
        width: 32.93333333333333%; /* (100-(margin width*2*number of columns))/number of colums */
        margin: 0.2%;
    }
}

@media only screen and ( max-width:600px ) {
    .listing-thumb-only {
        width: 49.6%; /* (100-(margin width*2*number of columns))/number of colums */
        margin: 0.2%;
    }
}

@media only screen and ( max-width:400px ) {
    .listing-thumb-only {
        width: 99.6%; /* (100-(margin width*2*number of columns))/number of colums */
        margin: 0.2%;
    }
}

@media only screen and ( max-width:212px ){
  .listing-thumb-only-title{
    font-size: 10vw;
  }
}

/* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
.wordbreak{
  overflow-wrap: break-word;
  word-wrap: break-word;
/*  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;*/
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}


/* PAgination/Contrib alpha
*******************************************************************************************************/
.tag-index-tag-cloud-container{
    text-align: justify;
}

.pagination > li {
    font-weight: 700;
}

.pagination > li > a, .pagination > li > span{
    display: inline-block;
    width: 40px;
    height: 40px;
}

.pagination > li > span.alpha-contrib-link-empty{
    color: #333333;
}

.contrib-alpha-list{
    text-align: center;
}

@media only screen and (max-width: 1200px){
    .pagination > ul{
        text-align: center;
    }

    .pagination > li{
        display: inline-block;
    }
}

/* Search Pages
 **********************************************************************************************************/
#search-filter-form{
    margin-top: 30px;
}

.filter-button-wrap{
    margin: 0 auto 50px;
    text-align: center;
}

.archive-header-search{
    text-align: center;
    margin-bottom: 20px[];
}

.archive-header-search label, .archive-header-search input{
    vertical-align: top;
}

.open-filter-button-wrap{
    clear: both;
    text-align: center;
}

.filter-form-label{
    line-height: 1.0;
}

.search-filter-intructions{
    line-height: 1.0;
    font-weight: 400;
}

@media only screen and (max-width: 768px){

    #search-filter-form{
        padding-top: 30px;
    }

    .filter-button-wrap{
        text-align: right;
    }

}


/* Single Pages
 **********************************************************************************************************/
 
 #single-item-container{
    position: relative;
}

.single-page .col-sm-12{
    padding: 0;
}

@media only screen and (max-width: 768px){
    .filter-button-wrap {
        margin: 10px;
    }
}



.item-pre-title-meta{
    text-align: center;
}

.single-page .item-subtitle, 
.single-page .event-series-dates-single{
    text-align: center;
    margin-bottom: 20px;
}

.single-page .item-header-meta{
    text-align: center;
}

/*  Pamphlets and Buy Button */

.where-to-buy {
    font-weight: bold;
}

 .single-covers{
    text-align: center;
    margin-top: 30px;
 }
 
 span.single-pamphlet-covers{
    display: inline-block;
    margin-bottom: 10px;
}

 span.single-pamphlet-covers{
    margin-right: 20px;
 }
 
 #buy-book, .highlight-box {
    margin: 50px 0;
    background: #f0f0f0;
    padding: 20px;
    border: 1px solid #a40000;
    clear: both;
}


.wspsc_add_cart_submit {
    background: #a40000;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 20px;
    margin-bottom: 50px;
}

#buy-book img {
    margin-top: 30px;
}


/* Contributors */
 .single-contributor-list-title{
    font-weight: 700;
 }

 .single-contributor-list li, .single-event-series li, .q-list li{
    /* background: url(fallback.png);*/
    background-image: url("images/q.svg");
    background-size: 0.65em auto;
    background-repeat: no-repeat;
    background-position: 0 6px;
    list-style: none;
    padding-left: 1.2em;
}

@media only screen and (max-width: 992px){
    ul.single-contributor-list, .single-event-series ul{
        padding-left: 5px;
    }
}

/* Details sidebar */
.single-item-block-details-col{
    padding-left: 0;
}

.single-item-block-details{
    width: 250px;
    font-size: 14px;
}

.thinner-details .single-item-block-details{
    width: 220px;
}

.single-item-block-details.affix{
    position: fixed;
    top: 20px;
}

.single-item-content{
    font-size: 18px;
}

.single-item-block-details{
    color: #999999;
    padding: 0;
}

 .single-item-block-heading{
    font-size: 18px;
    margin-top: 0;
 }

#single-item-details-btn {
    font-size: 12px;
    padding: 0 16px;
}

 @media ( max-width: 1200px ) {
    .thinner-details .single-item-block-details{
        padding-right: 15px;
    }
 }

@media ( max-width: 992px ) {

    .single-item-block-details{
        position: initial;
        right: initial;
        width: initial;
    }

    .single-item-block-details.affix {
        top: initial;
        position: initial;
    }

    ..single-item-block-details-col{
        padding
    }

    .single-item-block-details-col .single-item-block-details{
        color: #999999;
        padding: 0 15px;
        text-align: center;
        width: 100%;
    }

    .single-item-block-extra-details{
        border-right: 1px solid #eeeeee;
    }

    .single-item-block-details div:first-of-type .single-item-block-2-up{
        padding-right: 20px;
    }

    .single-item-block-details div:last-of-type .single-item-block-2-up{
        padding-left: 20px;
    }

    .single-item-block-details .single-item-block-1-up{
        text-align: left;
        padding: 0;
    }

    .single-item-block-2-up {
        box-sizing: border-box;
        display: inline-block;
        text-align: left;
        vertical-align: top;
        width: calc( 50% - 5px );
   }

    #single-item-details-btn {
        display: none;
    }
}

@media only screen and (max-width: 768px){
    .single-item-block-details {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 525px){

    .single-item-block-details > div{
        display: block;
        border: none;
        width: 100%;
    }

}

/* Single page images and galleries
*****************************************************************************************************************************************************/
/* legacy */

.thumb-row {
    border-spacing: 5px;
    text-align: center;
    margin: 30px 0;
    overflow: hidden;
    display: table;
    width: 100%
}

.thumb-row .wp-caption, .thumb-row > a{
    margin-right: 10px;

}

.thumb-row > a{
    display: inline-block;
}

.thumb-row figure:last-of-type,  .thumb-row > div.wp-caption:last-of-type{
    margin-right: 0 !important;
}

.thumb-row figure, .thumb-row > div.wp-caption{
    display: table-cell;
    vertical-align: baseline;
    width: 33.3% !important;

}

.thumb-row figure img, .thumb-row > div.wp-caption img{
    margin: 0 auto;
}

.thumb-row .alignleft, .thumb-row .alignnone{
    margin-right: 10px;
}

.thumb-row .alignleft{
    float: none;
}

@media ( max-width: 1200px ) {
    .thumb-row{
        display: block;
    }

    .thumb-row figure:nth-of-type( 3n ), .thumb-row div:nth-of-type( 3n ){
        display: inline-block;
    }

    .thumb-row figure, .thumb-row > div.wp-caption {
       max-width: 95vw;
       width: 25%  !important;
   }
}

@media ( max-width: 600px ) {
    .thumb-row figure,  .thumb-row > div.wp-caption {
        display: block;
        width: 100% !important;
    }
}

/* New Gallery */
.gallery{
    margin-bottom: 80px;
    text-align: center;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.gallery-item{
    display: table-cell;
    vertical-align: text-top;
    padding: 0 5px;
}

.wp-caption{
    margin-bottom: 50px;
}

.gallery-columns-1 .gallery-item{
    width: 100%;
}

.gallery-columns-2 .gallery-item{
    width: 50%;
}

.gallery-columns-3 .gallery-item{
    width: 33.33%;
}

.gallery-columns-4 .gallery-item{
    width: 25%;
}

.gallery-item img{
    max-width: 100%;
}

.pic-border{
    border: 1px solid #f0f0f0;
}

.pic-full-height{
    max-height: 100vh;
    width: auto;
}

@media ( max-width: 1200px ) {

}

@media ( max-width: 600px ) {

    .gallery, .gallery-item{
        display: inline-block;
    }

    .gallery-columns-1 .gallery-item,
    .gallery-columns-2 .gallery-item,
    .gallery-columns-3 .gallery-item,
    .gallery-columns-4 .gallery-item{
        width: 100%;
    }
}

/* Google map */
#map {
    margin: 50px auto;
    max-width: 100%;
}

 /* Project page
 *****************************************************************************************************************************************************/
 .projected-post-type{
    margin-bottom: 50px;
 }

 .project-item{
    clear: both;
    margin-bottom: 20px;
    overflow: hidden;
 }

 .project-item-thumb {
    float: left;
    margin-right: 10px;
    background: #a40000;
    position: relative;
}

.project-item-thumb img{
    height: 100px;
    width: 70px;
}

.project-item .archive-item-missing-thumb-text{
    padding: 0;
    font-size: 10px;
}

.project-item .project-item-title{
    margin: 0;
}

.project-item-excerpt {
    line-height: 1.2;
}

.project-show-button{
    clear: both;
    text-align: center;
    margin: 30px 0 0;
    padding: 10px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
}

.project-tag{
    text-align: center;
}


/* School course material toggle list
******************************************************************************************************************************************************************/
.toggle-list {
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.toggle-list li:first-child {
  font-weight: bold;
  text-align: center;
  color: #a40000;
  padding: 10px 0;
  margin: 50px 0 20px 0;
  cursor: pointer;
  border: 1px solid #a40000;
  border-width: 1px 0 1px 0;
}

.toggle-list li:not(:first-child) {
  margin: 20px 0;
}

.toggle-list li:last-child {
   cursor: pointer;
   text-align: center;
   color: #a40000;
   font-weight: bold;
   border-bottom: 1px solid #a40000;
   margin-top: 40px;
}



/* Events Series
******************************************************************************************************************************************************************/

.event-programme-scroll {
	display: none;
}

/*Full width while inside a restricted width*/
.event-programme-outer-wrap {
    width: 98vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -49vw;
    margin-right: -49vw;
    margin-bottom: 100px;
}


/* .event-list-container {
  width: calc(100% - 10px);
  margin: 0 5px;
} */

.event-programme-table thead {
  background: #000;
  color: #fff;
}

.event-programme-table td {
	border: 1px solid #ddd;
}

.event-programme-table-title {
  text-align: center;
  font-weight: 700;
  width: 25%;
}

.event-programme-table-details {
  width: 25%;
}

.event-programme-table-date {}

.event-time-date-break {
  display: none;
}

.event-programme-table-time {}

.event-programme-table-speakers {}

.event-programme-table-link {
	display: none;
}

@media ( max-width: 1000px ) {
	
	.event-programme-scroll,
	.event-time-date-break	{
		display: initial;
	}
	
    .event-programme-table-wrapper{
        overflow-x: scroll;
        width: 100%;
    }

    .event-programme-table-wrapper .table {
        max-width: 1200px;
        width: 1200px !important;
    }
	
	.event-programme-table-time {
		width: 120px;
	}
}

/* Related posts
***********************************************************************************************************************************************************/
.related-posts-wrap{
    position: relative;
    background: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 80px;
    border-top: 1px solid #f0f0f0;
}

.related-posts-second-wrap{
    border-top: 3px solid #eee;
    border-bottom:  3px solid #eee;
    padding: 50px 0;
}

.related-posts-type > ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.related-posts-type li {
    display: inline-block;
    overflow: hidden;
    width: 30%;
    max-width: 212px
}

.related-posts-image-link{
    background: #eee none repeat scroll 0 0;
    display: inline-block;
    padding-bottom: 140%;
    position: relative;
    text-align: center;
    vertical-align: top;
    width: 100%;
    border: 1px solid #f0f0f0;
}

.related-posts-image-link img{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.related-posts-title-link{
    display: none;
}

/* Comments
***********************************************************************************************************************************************************/
.commentlist .comment{
    font-size: 28px;
    font-weight: 700;
}

.commentlist .comment .comment-body, .comment-notes{
    font-size: 16px;
    font-weight: 400;
}

.comment-body{
    margin-top: 50px;
}

.comment-author{
    margin-bottom: 20px;
}

.comment-author-title{
    margin-bottom: 0;
    margin-top: 0;
}

.comment-author img{
    vertical-align: text-top;
    margin-right: 10px;
    -webkit-margin-before: -15px;
}

.comment-info{
    display: inline-block;
    vertical-align: top;
}

.comment-reply-link{
    color: #fff;
}

.children{
    list-style: none;
    padding-left: 45px;
    border-left: 3px solid #eee;
}

.form-allowed-tags{
    font-size: 14px;
}

#comment{
    max-width: 100%;
    width: 100%;
}

.comment-reply-title{
    font-weight: 700;
    font-size: 21px;
}

.commentmetadata{
    font-weight: 700;
}

.comment-form-label {
    font-size: 18px;
}

@media only screen and ( max-width: 525px ){

    .children {
        padding-left: 5px;
    }

}

/* Contact and about Page
***********************************************************************************************************************************************************/

.contact-details{
    background-image: url("images/contact.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    font-size: 21px;
    height: 486px;
    margin: 0 auto;
    max-width: 100%;
    padding-top: 140px;
    text-align: center;
    width: 566px;
}

@media only screen and ( max-width: 590px ){

    .contact-details{
        background: none;
        border: 1px solid #eee;
        padding: 50px 0;
        width: initial;
        height: initial;
        margin: 0 5px 50px;
    }

}

#about-brhg-logo{
    max-width: 95%;
    margin: 0 auto;
}

@media ( min-width: 600px ){
    #about-brhg-logo{
    max-width: 600px;
}
}

/* Contact forms */

.wpcf7 {
    margin-bottom: 200px;
}


/* Error 404
*************************************************************************************************************************************************************/

.tag-404-cloud-container{
    margin-top: 50px;
    text-align: justify;
}

/* Shopping trolly
*************************************************************************************************************************************************************/

#floating-trolley{
    background: #eda304;
    position: relative;
    color: #fff;
    margin-top: 0;
    text-align: center;
}

#floating-trolley a{
    font-weight: bold;
    padding: 3px 0 0 30px;
    display: inline-block;
    background-image: url(images/trolley.svg), none;
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: 0 3px;
}

.trolley-items{
    background-color: #a40000;
    color: #eda304;
    display: inline-block;
    border-radius: 15px;
    text-align: center;
    width: 20px;
    height: 20px;
    font-size: 80%;
    position: relative;
    left: 0;
    top: -2px;
}

/* video
****************************************************************************************************/
.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
  margin: 20px 0;
}
.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}