/*
Theme Name: Idaho State Historical Society
Theme URI: https://webmaster.idaho.gov
Description: custom theme for ISHS
Author: Access Idaho
Author URI: https://accessidaho.org
Template: webmaster-Classic
Version: 3.5.0
Text Domain: webmaster-bs4-ishs
*/


/* Base Styles */
@font-face {
  font-family: brandon_grotesqueregular;
  src: url("font/hvd_fonts_-_brandongrotesque-regular.otf") format("opentype");
}
@font-face {
  font-family: brandon_grotesquelight;
  src: url("font/hvd_fonts_-_brandongrotesque-light.otf") format("opentype");
}
@font-face {
  font-family: brandon_grotesquebold;
  src: url("font/hvd_fonts_-_brandongrotesque-bold-webfont.woff") format("opentype");
}
body {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
}
/*
.site-content, #main {
    font-family: 'Roboto', Arial, sans-serif;
}*/
.site-alert {
    background-color: #bbb275;
    min-height: 30px;
    text-align: center;
    padding: 5px;
    font-weight: normal;
}
.top-menu > li > a {
  color: #fff;
}
.top-menu > li > a:hover {
    background-color: #000;
    color: #fff !important;
}
.pagination .page-link,
a:hover,
.link,
a {
    color: #468a94;
}
a:hover {
    color: #000 !important;
    transition: .5s ease;
    text-decoration: underline !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
    color: #000 !important;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 500;
}
#main:focus {
    outline: none;
}
#main {
    padding-top: 0px;
}
.breadcrumb {
    margin-bottom: 0rem;
}
p#breadcrumbs {
  margin-top: .25rem;
  margin-bottom: .5rem;
}
.bg-light {
  background: #eee!important;
}




/* Footer Styles */
.versioning {
    background: #444546 !important;
}
.site-footer {
    background: #6d6e70;
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
}
.site-footer h3 {
    border-bottom: none !important;
    font-weight: bold;
    box-shadow: none !important;
    font-size: 19px;
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
}



/* Header Styles */
.top-navigation {
  background: #000;
  color: white;
}
.header-container {
    max-width: 100%;
}
.agency-logo {
    padding-top: 0;
}
#masthead {
    border-bottom: solid 2px #eee;
    background: #468a94;
}
#masthead .logo {
    padding-top: 0px;
    display: -webkit-inline-box;
    display: inline-flex;
    float: right;
}
#masthead>.site-branding {
    min-height: 530px;
}
.site-branding2 {
    min-height: 350px;
}
.site-branding2 .headerText {
    padding-top: 10% !important;
}
.agency-name {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
    font-weight: bold;
    color: #092845;
    font-size: 24px;
    margin-left: 20px;
}


/* Navigation Styles */
.navbar {
    left: -5px;
}
.nav-link {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif !important;
    font-weight: normal !important;
    color: #fff;
}
#top-navigation .nav-link {
    font-weight: normal !important;
}
.navbar .container #main-navigation {
    width: 1000px;
}
.fa-search {
    cursor: pointer;
}
.fa-search:hover {
    opacity: .7;
    transition: .5s ease;
}
a>img.img-fluid.logo:hover {
    opacity: .8;
    transition: .5s ease;
}
h1.entry-title {
  letter-spacing: 0;
}
.headerText {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
    font-weight: bold;
    font-size: 36px;
    padding-top: 15%;
    padding-left: 20%;
    padding-right: 20%;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}
.sub-headerText {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
    font-weight: 900;
    font-size: 50px;
    line-height: 1.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    position: absolute;
    width: 90%;
}
.sub-header-background {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 350px;
    position: relative;
}
#search-collapse {
    width: 40% !important;
    min-width: 100px;
    z-index: 10;
    position: absolute;
    right: 250px;
    background: #F8F9FA;
}
/* Mega Menu styling */
.mega-menu-wrap {
    display: contents !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
  font-weight: bold;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    font-weight: bold;
    color: #fff;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
    text-transform: none;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding: 0;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:focus {
    background: #ddd;
    color: #000 !important;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
    font-size: 16px;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 8px;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    padding: 10px;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
    background: #ccc;
    font-weight: bold;
    color: #000 !important;
    border-bottom: solid 2px #000;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link {
    background: #fff;
    font-weight: bold;
    color: #2f5740 !important;
    border-bottom: solid 2px #2f5740;
}
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
    background-color: #000;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  color: #000;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
  font-weight: bold;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 20px;
    padding-top: 10px;
}
#mega-menu-wrap-primary, #mega-menu-wrap-primary #mega-menu-primary, #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-row, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column, #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary span.mega-menu-badge {
  font-size: 16px !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
  color: #666;
}
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
  font-size: 16px !important;
}


/* Home Page Events */
.events-front {
  background: #468a94;
  padding: 30px 10px;
}
.carousel {
  max-height: 450px;
}
.carousel-item {
  height: 450px;
  background-position: center;
}
.carousel-caption {
  position: absolute;
  right: 0px;
  bottom: 0px;
  left: auto;
  z-index: 10;
  color: #000;
  text-align: left;
  background: white;
  padding: 20px 50px 20px 20px;
  max-width: 600px;
}
.carousel-caption {
  -webkit-filter: none;
  filter: none;
  box-shadow: none !important;
  text-shadow: none;
}
.carousel-caption > .animated {
  border-left: solid 3px black;
  padding-left: 10px;
}
.h4-responsive > a, .h4-responsive {
  font-size: 2.4rem;
  font-weight: bold;
  color: #000!important;
  line-height: 2.25rem;
}
.h4-responsive > a, .h4-responsive > a:hover {
  color: #468a94!important;
}
.pr-item {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
}

#pr.post-date {
    font-size: 1em !important;
}


/* Modern Events Styles */
.mec-event-grid-minimal .mec-event-article {
  background: #fff;
  display: block;
  padding: 10px;
}
.mec-color {
  color: #468a94!important;
}
.mec-border-color, .mec-border-color-hover:hover, .mec-wrap .mec-border-color, .mec-wrap .mec-border-color-hover:hover {
  border-color: #ccc;
}
.mec-bg-color, .mec-bg-color-hover:hover, .mec-wrap .mec-bg-color, .mec-wrap .mec-bg-color-hover:hover {
  background-color: #ccc;
}
.mec-event-grid-minimal .mec-event-detail, .mec-event-grid-minimal .mec-time-details {
  color: #666;
  font-weight: 400;
}
p.nocomments {display:none;}
.mec-wrap {
	font: 16px/25px sans-serif;
/* 	color: #000; */
/* 	font-family: 'brandon_grotesqueregular', Arial, sans-serif; */
}
.mec-wrap p {
    color: #000;
		font-size: 16px;align-content
}
.mec-container [class*=col-] img {
	  max-width: 50%;
    height: auto;
}
.mec-single-event .mec-event-meta .mec-events-address,
.mec-single-event .mec-event-meta .mec-events-event-categories a, .mec-single-event .mec-event-meta dd {
	color: #000;
}
.mec-wrap .mec-search-form .mec-dropdown-wrap .mec-dropdown-search select {
  margin-bottom: 10px;
}
.mec-wrap .mec-totalcal-box {
  margin: 0 0 0px;
}
.mec-event-list-minimal a.mec-detail-button:hover {
  color: #fff!important;
}
.mec-breadcrumbs {
  font-size: 14px;
  border:none;
  display: inline;
  position: relative;
  width: 100%;
}
.mec-breadcrumbs a {
  color:#2c5a8e;
}
.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li a:hover {
  color:#fff!important;
}



/* Home Page Styles */
.choose-area {
  background: #ccc;
  padding: 40px 20px;
}
.resource-area {
  background: #ccc;
  padding: 40px 20px;
  margin-top: 50px;
}
.tile {
    max-height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: -webkit-box;
    display: flex;
    display: -ms-flexbox;
    align-items: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-line-pack: center;
    -webkit-align-content: center;
    -ms-flex-pack: center;
    -ms-flex-align: center;
}
.title {
    font-family: 'brandon_grotesqueregular', Arial, sans-serif;
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 500;
}
.tile-text {
    font-size: 1.2rem;
    line-height: 1.2;
    padding: 20px 5px;
    text-align: center;
    position: absolute;
    display: block;
    max-width: 100%;
    bottom: 0;
    background: #468a94;
}
.fimg {
    display: block;
    width: auto;
    max-height: 200px;
}
.fimg-text {
    font-size: 1rem;
    line-height: 1.2;
    color: #000;
    width: 100%;
    height: 100%;
    padding: 15px;
}
.tile-image {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    overflow: hidden;
}
.tile-image>img {
    background-size: cover;
    width: 100%;
}
.overlay {
    height: 100%;
    width: 100%;
    position: relative;
}
a.overlay>.tile::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: .5s ease;
    z-index: 50;
}
a.overlay>.tile:hover::before {
    opacity: 0.5;
}
a.overlay>.tile:hover>.tile-text {
    color: #fff !important;
    background: #104a53;
    transition: .5s ease;
}
.pimg {
    max-height: 200px;
    overflow:hidden;
}
.sites-carousel {
    width:93%;
    align-items: center;
    height: 350px;
	margin:auto;
}
.carousel-cell {
    min-height: 352px;
    border: solid 1px #ccc;
    max-width: 240px;
    margin-right: 8px;
}
.carousel-cell>a {
    min-height: 352px;
}
.overlay-image {
    position: relative;
    max-width: 240px;
}
.overlay-image::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 180px;
    background: #fff;
    opacity: 0;
    transition: .5s ease;
}
.overlay-image:hover::before {
    opacity: 0.5;
}
.overlay-image:hover>a>.fimg-text {
    color: #468a94 !important;
}



/* Button Styles */
.btn-dark:hover {
  color: #468a94 !important;
}
.btn-primary {
  background: #468a94;
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: #104a53;
  color: #fff !important;
}






/* Tablepress styling */
.tablepress {
  border: 1px solid #ddd !important;
}
.tablepress td, .tablepress th {
  border: 1px solid #ddd !important;
}




@media all and (max-width: 1535px) {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        font-size: 14px;
    }
}

@media all and (max-width: 1391px) {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        padding: 0px 5px 0px 5px;
    }
}


@media all and (max-width: 1200px) {
    .headerText {
        font-size: 28px;
        padding-top: 20%;
    }
    #main {
        padding: 0;
    }
    .tile-text {
        font-size: 1.2rem;
    }
}

@media only screen and (min-width: 992px) {
    #mega-menu-wrap-primary {
        background: #fff;
    }
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:hover,
    menu-primary>li.mega-menu-item>a.mega-menu-link:focus {
        background: #fff;
        font-weight: bold;
        color: #2f5740 !important;
        border-bottom: solid 2px #2f5740;
        text-decoration: none !important;
    }
}

@media all and (max-width: 991px) {
    #toggle {
        margin-right: 0 !important;
        margin-top: -25px;
    }
    a.overlay>.tile::before {
        max-width: 100%;
    }
    .agency-name {
        margin-bottom: 0px;
    }
    #masthead>.site-branding {
        max-height: 450px;
        min-height: 450px;
    }
    .site-branding2 {
        max-height: 350px;
        min-height: 250px;
    }
    .top-menu {
        font-size: 14px;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
      color: #000 !important;
    }
    p#breadcrumbs {
      margin-left:10px;
    }
    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
      left: 15px !important;
      width: 100% !important;
    }
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
      background-color: #666;
    }
}

@media all and (max-width: 858px) {
    .tile-text {
        font-size: 1.2rem;
    }
}


@media all and (max-width: 768px) {
    #masthead>.site-branding {
        min-height: 250px;
    }
  .site-branding2 {
        min-height: 150px;
    }
    #masthead .logo {
        padding-left: 10px;
    }
    .headerText {
        font-size: 1.4rem;
        padding-top: 15%;
    }
    .tile {
      margin-top: 15px;
    }
    .tile-image {
        margin: 0px !important;
        max-height: 200px !important;
    }
    .agency-name {
        font-size: 1em;
        margin-left: 0;
    }
    .tile-text {
        font-size: 1.2rem;
    }
    .sub-header-background {
        height: 175px;
    }
    .sub-headerText {
        font-size: 30px;
    }
    .footer-widget {
        text-align: center;
    }
    .social-area {
        text-align: center;
    }
    #colophon {
        padding-top: 0px;
        margin-top: -25px;
    }
    .social-area {
        padding-top: 20px;
    }
    .title-header {
        text-align: center;
    }
    .h4-responsive > a, .h4-responsive {
      font-size: 1.7rem;
      line-height: 1.5rem;
    }
    .footer-navigation {
      padding-top: 35px;
    }
}


/* IE10+ CSS styles go here */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .tile-text {
        margin-top: -50px;
    }
    .fimg {
        display: block;
        height: auto;
    }
    .fimg-text {
        height: auto;
        padding: 65px 35px;
    }
    .align-items-center {
        padding-top: 0px;
    }
}