/*!
Theme Name: Bendigo Historical Society
Theme URI: http://underscores.me/
Author: Dave Hanson
Author URI: https://www.thrivewebdesign.com.au
Description: Custom Template
Version: 1.0.0
Text Domain: bendigohistory
 */


html {
	-webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%; 
    height:100%;
}

* {
   -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border:0px;
}
/*#main::-webkit-scrollbar { width: 0 !important }
.site-main-inner::-webkit-scrollbar { width: 0 !important }
.site-main-inner, #main { -ms-overflow-style: none; }
.site-main-inner, #main { overflow: -moz-scrollbars-none; }*/


body{
	margin:0px;
	font-family: 'poppinsregular', Sans-Serif;
	background-color: white;
	color:#595959;
	/*-webkit-overflow-scrolling: touch;*/
}
strong, b{
    font-family: 'poppinsbold';
    font-weight: normal;
}
h1, h2, h3, h4, h5{
    font-family: 'averageregular', Sans-Serif;
    font-weight: normal;
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignright {
    float: right;
    margin-left: 20px;
}
.entry-content img {
    max-width: 100%;
    height: auto;
}
.main-content-area h2 {
    font-size: 28px;
    border-bottom: 3px solid #8f8337;
    padding-bottom: 3px;
    margin-bottom: 50px;
    margin-top: 60px;
    border-image: linear-gradient(to right, #8f8337 0%,#fff 100%);
    border-image-slice: 1;
}
.search-results h2 {
    font-size: 28px;
    border-bottom: 3px solid #8f8337;
    padding-bottom: 3px;
    margin-bottom: 10px;
    border-image: linear-gradient(to right, #8f8337 0%,#fff 100%);
    border-image-slice: 1;
    margin-top: 1px;
}
.search-results h2 a{
    text-decoration: none;
}
a {
    color: #8f832a;
    text-decoration: none;
}
.sub-header {
    float: left;
    width: 100%;
    background: black;
    height: 38px;
}
.sub-header-inner {
    height: 100%;
    display: block;
    width: 100%;
    max-width: 1420px;
    margin-left: auto;
	margin-right: auto;
	color: #848484;
    text-align: right;
    margin-top: 5px;
    text-transform: uppercase;
}
.row {
    float: left;
    width: 100%;
    clear: both;
}
.big-padding{
    padding:80px 0px;
}

.medium-vert-padding{
    padding-bottom: 30px;
    padding-top: 30px;
}
.two-columns {
    float: left;
    width: 50%;
    padding: 0px 10px;
}
.page-banner img {
    max-width: 100%;
    height: auto;
}
.site-main {
    padding-bottom: 80px;
}
.main-content {
    width: 70%;
    float: right;
    display: block;
    background: white;
    position: absolute;
    left: 0px;
    transition: all .5s ease;
}

.main-content-inner {
    height: 100%;
    display: block;
    padding: 6%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.sidebar-right-inner {
    border-left: 3px solid #e8e5d5;
    padding-left: 15%;
}
h2.widget-title {
    border-bottom: unset;
}
h2.entry-title a {
    text-decoration: none;
    color: #595959;
}
h1.category-title {
    font-size: 42px;
    font-weight: bold;
}
.sidebar-right {
    float: left;
    width: 33.33%;
    padding-left: 5%;
}
.site-main.right-sidebar {
    width: 66.66%;
    padding-right: 5%;
    float: left;
}
.full-width-home-content {
    float: left;
    width: 100%;
}
.full-width-home-content-inner {
    max-width: 1920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.home-feature-banner {
    float: left;
    width: 100%;
}

.home-feature-banner-inner {
    height: 100%;
    display: block;
    width: 100%;
    max-width: 2250px;
    margin-left: auto;
    margin-right: auto;
}
.home-feature-banner-inner img{
    width:100%;
    height:auto;
}
.mobile-menu ul.sub-menu {
    position: relative;
    width: auto;
    visibility: visible;
    background-color: black;
    padding: 20px;
    transition: unset;
    -moz-transition: unset;
    -webkit-transition: unset;
    opacity: unset;
    margin-top: 10px;
    z-index: 100;
    text-align: left;
    list-style: none;
}
.mobile-menu ul.sub-menu li a{
    font-size: 16px;
    line-height: 18px;
}
.mobile-menu ul.sub-menu li {
    display: list-item;
    margin-bottom: 4px;
    padding-bottom: 10px;
}
#mobile-menu-button {
    background: #9f8847;
    color: white;
    display: none;
}
.mobile-menu-inner {
    width: 100%;
    height: 47px;
}
.mobile-menu-inner {
    width: 100%;
    height: 47px;
}
ul.mobile-menu {
    list-style: none;
}
ul.mobile-menu li {
    padding-bottom: 14px;
}
ul.mobile-menu li a {
    font-family: 'averageregular', Sans-Serif;
    font-weight: normal;
    font-size: 26px;
    color: white;
    text-decoration: none;
    line-height: normal;
    line-height: 25px;
}
.mobile-menu-inner span {
    font-family: 'averageregular', Sans-Serif;
    font-size: 28px;
    cursor: pointer;
    position: relative;
    right: 24px;
    float: right;
    top: 3px;
    line-height: 40px;
}
.sidenav .closebtn {
    position: absolute;
    top: 10px;
    display: block;
    font-size: 46px;
    /* margin-left: 50px; */
    left: 270px;
}
.sidenav {
    height: 100%;
    width: 320px;
    position: fixed;
    z-index: 999;
    top: 0;
    left: -320px;
    background-color: black;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 40px;
}
.nav-wrapper {
    float: left;
	width: 100%;
	background: #9f8847;
}

.nav-wrapper ul li {
    display: inline-block;
    margin-right: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}
.nav-wrapper ul li a{
    text-decoration: none;
    color:white;
   /* border: 2px solid transparent;*/
    padding: 4px 10px 2px 10px;
    display: inline-block;
    transition: all 1.5s ease;
}
.nav-wrapper ul li a:hover{
   /* border: 2px solid rgb(83, 83, 83);*/
    transition: all 0.5s ease;
	background: #f5f3e8;
	color:#9f8847;
}
nav#site-navigation {
    display: block;
    width: 100%;
    max-width: 1420px;
    margin-left: auto;
    margin-right: auto;
}
ul#primary-menu {
    margin-top: 6px;
    margin-bottom: 6px;
	text-align: center;
	font-family: 'averageregular', Sans-Serif;
    letter-spacing: 1px;
}
ul.sub-menu {
    position: absolute;
    width: auto;
    visibility: hidden;
    background-color: #9f8847;
    padding: 20px;
    transition: all .55s ease-in-out;
    -moz-transition: all .55s ease-in-out;
    -webkit-transition: all .55s ease-in-out;
    opacity: 0;
    margin-top: 20px;
    z-index: 100;
    text-align: left;
    list-style: none;
}
ul.sub-menu li {
    display: list-item;
    margin-bottom: 4px;
}
ul#primary-menu>li:hover>ul.sub-menu {
    visibility: visible;
    transition: all .55s ease-in-out;
    -moz-transition: all .55s ease-in-out;
    -webkit-transition: all .55s ease-in-out;
    opacity: 1;
    margin-top: 0;
}
form#searchform {
    display: inline-block;
    padding-right: 20px;
}
.sub-header-inner input#search {
    border: none;
    background: black;
    background-image: url(images/search.png);
    background-repeat: no-repeat;
    font-size: 20px;
    color: #969696;
    font-family: 'averageregular', Sans-Serif;
    background-size: contain;
    background-position: right;
    text-align: right;
    padding-right: 40px;
}
input#search::placeholder {
    color: #d0d0d0;
}
.main-content-area {
    float: left;
    width: 100%;
}
article .post-thumbnail {
    width: 100%;
    height: auto;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
}
.page-feature-banner {
    float: left;
    width: 100%;
    overflow: hidden;
}
.page-feature-banner .post-thumbnail {
    width: 100%;
    float: left;
    margin-left: 0%;
}
.nav-links {
    width: 100%;
    float: left;
}
.nav-previous a {
    padding-right: 20px;
}
.nav-previous {
    float: left;
    margin-right: 20px;
} 
.nav-previous:before {
    content: ' Previous Article ';
}
.nav-previous:after {
    content: '|';
}
.nav-previous a {
    padding-right: 20px;
}
.nav-next {
    float: left;
}
.nav-next:before {
    content: ' Next Article ';
}
header.site-header {
    float: left;
    width: 100%;
}
.home-top-banner {
    float: left;
    width: 100%;
    z-index: -1;
}
h1.entry-title {
    font-size: 42px;
    font-weight: bold;
}
.main-content-area-inner {
    max-width: 1120px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 20px 70px;
}
.entry-content {
    float: left;
    width: 100%;
    margin-bottom: 60px;
}
.sub-footer {
    width: 100%;
    float: left;
    background: #f5f4e0;

}
.sub-footer-inner {
    width: 100%;
    float: left;

    font-size: 12px;
    padding: 8px;
    text-align: center;
}
.sub-footer-inner a{
    text-decoration: none;
}
.full-width-home-content .entry-content {
 
    margin-bottom: 0px;
}
.entry-content h2:first-of-type {
    margin-top: 40px;
}
ul#menu-footer-menu {
    list-style: none;
    padding-left: 0px;
}
ul#menu-footer-menu li a{
	text-decoration: none;
	color:#595959;
}
footer.footer {
    float: left;
    width: 100%;
    background: black;
}
.footer-inner {
    max-width: 1120px;
    width: 100%;
    display: block;
    margin-left: auto;
	margin-right: auto;
	padding: 0px 20px 0px;
}
.footer-left {
    float: left;
    width: 50%;
    color: #d0d0d0;
}
ul#menu-footer-menu li a {
   color: #d0d0d0;
}
.footer-right {
    float: left;
    width: 50%;
    text-align: right;
    color: #d0d0d0;
}
.sub-footer {
    width: 100%;
    float: left;
    background: #f5f4e0;
}
/* temp  delete me */

div#content {
    float: left;
    max-width: 1240px;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}
.post-thumbnail {
    width: 20%;
    float: left;
    margin-left: 5%;
    }
.entry-summary{
    width: 75%;
    float: left;
}    
.search-results {
    float: left;
    width: 100%;
    padding-bottom: 0px;
}
.search-result {
    background: #f3f3ef;
    float: left;
    padding: 5%;
    margin-bottom: 40px;
}
.mobilesearch {
    float: left;
    padding-left: 40px;
    padding-bottom: 40px;
}

.mobilesearch input#search {
    width: 250px;
    padding: 6px;
    font-size: 14px;
    font-family: 'averageregular', Sans-Serif;
    border-radius: 5px;
}
.page-content input#search {
    font-size: 20px;
    color: #969696;
    font-family: 'averageregular', Sans-Serif;
    border: 2px solid #9f8847;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .sidebar-right-inner {
        border-left:unset;
        padding-left:0%;
    }
    .site-main.right-sidebar {
        width: 100%;
        padding-right: 0%;
        float: left;
    }
    .sidebar-right{
        width:100%;
        padding-left:0%;
        padding-bottom: 40px;
        border-top:3px solid #e8e5d5;
    }
	/*.main-heading-large{font-size: 36px!important; }
    .main-heading-small{font-size: 20px!important; }*/
    #mobile-menu-button {
        display: block;
    }
    header.site-header, .sub-header{ display:none; }
    
}

@media screen and (max-width: 500px) {
    .footer-left, .footer-right {
        float: left;
        width: 100%;
        text-align:left;
    }
    h1.entry-title {
        font-size: 32px;
        font-weight: normal;
    }
}	

@font-face {
    font-family: 'averageregular';
    src: url('fonts/average-regular-webfont.eot');
    src: url('fonts/average-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/average-regular-webfont.woff2') format('woff2'),
         url('fonts/average-regular-webfont.woff') format('woff'),
         url('fonts/average-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

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

}

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

}

@font-face {
    font-family: 'poppinsregular';
    src: url('fonts/poppins-regular-webfont.eot');
    src: url('fonts/poppins-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/poppins-regular-webfont.woff2') format('woff2'),
         url('fonts/poppins-regular-webfont.woff') format('woff'),
         url('fonts/poppins-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}