/*
Theme Name: Responsive Child Theme - NRHS.com
Description: Responsive Child Theme - NRHS.com - DO NOT REMOVE the Parent Theme: DevDmBootstrap3
Author: Trishah at http://trishah.com
Template: devdmbootstrap3
Version: 1.0

License:  This theme is private licensed to one buyer, NRHS.com, and is not transferable or sold without written permission from Trishah.com
*/

@import "css/bootstrap.css";

/* Start Child Theme CSS */

body {
    background: #f3f5eb url(graphics/bg_top.jpg) no-repeat 50% 0 / 100% auto scroll;
    color: #555;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.42857;
    padding-bottom: 0;
    bottom:0;
}
/*.home body {
    background-image:none;
}*/
a {
    color: #db3d13;
    text-decoration: none;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -ms-transition: all .25s ease-in-out;
   -o-transition: all .25s ease-in-out;
    transition: all 0.25s ease-in-out 0s;
}
a:hover, a:active, a:focus {
    color: #3C9636;
    text-decoration: none;
    outline: 0;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: .02em;
    color: #293675;
    text-transform: uppercase;
    margin-top: 1em;
}
h1, .h1 {
    font-size: 42px;
    margin: 0 0 0.4em;
}
ul, ol {
    padding: 0 30px;
    margin-left: 0;
}
ol li, ul li {
    list-style-position: outside;
    padding: 0.3em 0;
}
p {
    font-size: 18px;
    line-height: 28px;
    margin: 0 0 12px;
}
blockquote {
    margin: 25px 1em 25px 1.5em;
    border-left: 4px solid #293675;
    padding: 0 0 0 20px;
}
blockquote p {
    font-size: 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    line-height: 1.3em;
    color: #293675;
}
.clear {
    clear: both;
}
input[type="text"], input[type="email"], input[type="submit"], input[type="password"], input[type="tel"] {
    background-color: #F7F7F8;
    border-color: #ADAEB0 #DFDFE0 #DFDFE0 #ADAEB0;
    border-style: solid;
    border-width: 1px;
    box-shadow: 1px 1px 3px #BEBEBE inset;
    color: #5f5f5f;
    max-height: 120px;
    max-width: 450px;
    padding: 4px;
    width: 100%;
    height: 40px;
}
input[type="text"]:hover, input[type="submit"]:hover, input[type="email"]:hover, input[type="password"]:hover, input[type="password"]:hover,
input[type="text"]:focus, input[type="email"]:focus, input[type="submit"]:focus, input[type="password"]:focus, input[type="password"]:focus {
    background-color: #fff;
    overflow: auto;
    height: 40px;
}
textarea {
    background-color: #F7F7F8;
    border-color: #ADAEB0 #DFDFE0 #DFDFE0 #ADAEB0;
    border-style: solid;
    border-width: 1px;
    box-shadow: 1px 1px 3px #BEBEBE inset;
    color: #5f5f5f;
    max-height: 120px;
    max-width: 450px;
    padding: 4px;
    width: 100%;
    height: 120px;
}
textarea:hover, textarea:focus {
    background-color: #fff;
    border-color: #A7A8AA #D5D5D7 #D5D5D7 #A7A8AA;
    height: 120px;
}
input[type="checkbox"] {
    max-width: 20px;
    max-height: 20px;
}
select, select:hover, select:focus, select:active  {
    width: auto;
    height: 40px;
}
.wpcf7-form-control.wpcf7-captchar {
    width: 60px;
}
label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 5px;
    max-width: 100%;
    width: 100%;
}
button, html input[type="button"], input[type="reset"], input[type="submit"], .btn, .comment-reply-link, .comment-respond #submit, #wp-calendar #prev a, #wp-calendar #next a, #searchform #searchsubmit {
    color: #fff;
    background-color: #3A4CA6;
    border-color: #293675;
    border-radius: .2rem;
    font-size: 18px;
    padding: 5px 20px;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -ms-transition: all .25s ease-in-out;
   -o-transition: all .25s ease-in-out;
    transition: all 0.25s ease-in-out 0s;
}
button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .btn:hover, .comment-reply-link:hover, .comment-respond #submit:hover, #wp-calendar #prev a:hover, #wp-calendar #next a:hover, #searchform #searchsubmit:hover,
button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .btn:focus, .comment-reply-link:focus, .comment-respond #submit:focus, #wp-calendar #prev a:focus, #wp-calendar #next a:focus, #searchform #searchsubmit:focus {
    color: #fff;
    background-color: #1DAF37;
    border-color: #18952F;
}
.but-next-prev {
	font-size:16px;
	font-weight:normal;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #d6d6d6;
	padding:5px 18px;
	text-decoration:none;
	background:-moz-linear-gradient( center top, #f5f5f5 25%, #e3e3e3 80% );
	background:-ms-linear-gradient( top, #f5f5f5 25%, #e3e3e3 80% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#e3e3e3');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(25%, #f5f5f5), color-stop(80%, #e3e3e3) );
	background-color:#f5f5f5;
	color:#777777;
	display:inline-block;
	text-shadow:1px 1px 0px #ffffff;
 	-webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	-moz-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	box-shadow:inset 1px 1px 0px 0px #ffffff;
}
.but-next-prev:hover {
	background:-moz-linear-gradient( center top, #e3e3e3 25%, #f5f5f5 80% );
	background:-ms-linear-gradient( top, #e3e3e3 25%, #f5f5f5 80% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e3e3e3', endColorstr='#f5f5f5');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(25%, #e3e3e3), color-stop(80%, #f5f5f5) );
	background-color:#e3e3e3;
	color:#777777;
}
.but-next-prev:active {
	color:#777777;
	position:relative;
	top:1px;
}
.read_more,
.page-template-page-individ-chapter #details .directions {
    color: #fff;
    background-color: #3A4CA6;
    border-color: #293675;
    border-radius: .2rem;
    font-size: 16px;
    padding: 3px 15px;
}
.page-template-page-individ-chapter #details .directions:hover,
.read_more:hover {
    color: #fff;
    background-color: #1DAF37;
    border-color: #18952F;
}
.searchform {
    text-align: center;
}
.screen-reader-text {
    display: none;
}
.col-md-9.dmbs-main::-moz-selection,
p::-moz-selection,
b::-moz-selection,
h1::-moz-selection,
h2::-moz-selection,
h3::-moz-selection,
h4::-moz-selection,
h5::-moz-selection,
h6::-moz-selection,
div::-moz-selection {
    background: #db3d13;
    color: #fff;
}
.col-md-9.dmbs-main::selection,
p::selection,
b::selection,
h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection,
h6::selection,
div::selection  {
    background: #db3d13;
    color: #fff;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td, #wp-calendar > thead > tr > th, #wp-calendar > tbody > tr > th, #wp-calendar > tfoot > tr > th, #wp-calendar > thead > tr > td, #wp-calendar > tbody > tr > td, #wp-calendar > tfoot > tr > td, table > thead > tr > th, table > tbody > tr > th, table > tfoot > tr > th, table > thead > tr > td, table > tbody > tr > td, table > tfoot > tr > td {
    border-top: 0 solid #DDDDDD;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}
a[href$=".PDF"], a[href$=".pdf"] {
	padding: 2px 2px 2px 26px;
	background: url("graphics/pdficon.png") no-repeat -12px 0 scroll transparent;
}
a.to_top, a.to_top:focus, a.to_top:focus:active {
    background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0 padding-box;
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-radius: 30px;
    bottom: 58px;
    color: #636363;
    cursor: pointer;
    display: none;
    font-size: 10px;
    line-height: 27px;
    position: fixed;
    right: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease 0s;
    vertical-align: middle;
    width: 27px;
    z-index: 999;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
i.far.fa-chevron-up {
    font-family: 'Font Awesome 5 Pro';
    color: #000;
    font-size: 14px;
}
.fad.fa-file-download {
    font-family: 'Font Awesome 5 Pro';
    color: #808080;
    font-size: 24px;
    font-style: normal;
    background-color: #fff;
}
.references > h3 {
    font-size: 16px;
    margin: 1em 0 0;
    padding: 2em 0 0.5em;
}
.references > p {
    font-size: 14px;
    padding-left: 1.5em;
    text-indent: -1.3em;
}


/* Header */

.dmbs-container.top {
    background-color: #293675;
    position: fixed;
    top: 0;
    margin-top: 0;
    width: 100%;
    z-index: 1000;
}
.dmbs-container.top.menu {
    background: none no-repeat scroll 100% 100% transparent;
    padding-bottom: 0;
    border: 0;
    box-shadow: 0 0 0 transparent;
}
.container.dmbs-container.top {
    margin: 0;
    width: 100%;
    min-height: 52px;
}
.dmbs-header {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    padding: 4px 0;
}
.col-md-4 {
    width: 25%;
    text-align: left;
}
.col-md-8 {
    width: 75%;
}
.col-md-4 img {
    height: auto;
    max-width: 260px;
    width: 100%;
}
.dmbs-header-text h1 {
    display: none;
}
.dmbs-header-text {
    margin: 20px auto 0;
    text-align: center;
    vertical-align: middle;
}
h4.custom-header-text-color, .h4.custom-header-text-color {
    background-color: #aaa;
    color: #FFFFFF;
    display: inline-block;
    font-size: 22px;
    letter-spacing: 0.05em;
    margin: 0 auto;
    padding: 0.5em 1.2em;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td, #wp-calendar > thead > tr > th, #wp-calendar > tbody > tr > th, #wp-calendar > tfoot > tr > th, #wp-calendar > thead > tr > td, #wp-calendar > tbody > tr > td, #wp-calendar > tfoot > tr > td, table > thead > tr > th, table > tbody > tr > th, table > tfoot > tr > th, table > thead > tr > td, table > tbody > tr > td, table > tfoot > tr > td {
    border-top: 0 solid #DDDDDD;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}


/* Navigation Menu*/

.navbar {
    background-color: #293675;
    border-right: 1px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid rgba(0, 0, 0, 0);
    border-left: 1px solid rgba(0, 0, 0, 0);
    margin: 0;
    min-height: 42px;
    position: relative;
}
.navbar-nav > li > a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 18px;
}
.navbar-inverse .navbar-nav > li {
    padding: 0;
    margin: 0 6px;
    border-bottom: thin solid transparent;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    margin: 0;
    padding: 5px 0 6px;
    text-align: center;
    background-color: transparent;
    border: thin solid transparent;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:active {
    border-bottom: thin solid #fff;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: transparent;
    border: thin solid #fff;
    padding: 5px 6px 6px;
}
.navbar-inverse .navbar-nav .current_page_parent.dropdown > a,
.navbar-inverse .navbar-nav .current-page-ancestor.dropdown > a {
    color: #fff;
    background-color: transparent;
    border: thin solid #fff;
    padding: 5px 6px 6px;
}
.dropdown-menu > li {
    margin: 0;
    padding: 0;
}
.dropdown-menu > li > a {
    color: #333;
    background-color: #fff;
    padding: 8px 12px;
    margin: 0 5px;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #293675;
    background-color: #eee;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.navbar-inverse .navbar-nav .dropdown .current-page-ancestor > a {
    color: #fff;
    background-color: #293675;
}



/* REDUCE ON SCROLL */


.col-md-4 img {
    height: auto;
    max-width: 260px;
    width: 100%;
}
header, header img, .dmbs-header-text {
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
}
header.larger .dmbs-header {
    padding: 5px 0;
}
header.smaller .dmbs-header {
    padding: 0;
}
header.larger img {
    width: auto;
    height: 80px;
}
header.smaller img {
    width: auto;
    height: 50px;
}
header.larger .dmbs-header-text {
    margin: 20px auto 0;
}
header.smaller .dmbs-header-text {
    margin: 2px auto 0;
}
.row.dmbs-top-menu {
    margin-top: 8px;
}
.navbar .container {
    max-width: 1170px;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: transparent;
    padding: 0;
}



/* Content */

.container.dmbs-container.bottom.inside_page {
    padding: 0;
    margin-top: 90px;
    background-color: #f3f5eb;
}
.home .container.dmbs-container.dmbs-container.bottom.inside_page {
    margin-top: 90px;
    margin-bottom: 20px;
    max-width: 1100px;
}

.container.dmbs-container.dmbs-container.bottom {
    background-color: #f3f5eb;
}
.col-md-9 {
    width: 75%;
    padding: 0 30px;
}
.col-md-9.full_width {
    width: 100%;
}
#breadcrumbs {
    margin: 5px 0 0;
    font-size: 14px;
    letter-spacing: .02em;
}
#breadcrumbs a,
#breadcrumbs span {
    color: #959c77;
    margin: 0 2px;
    font-weight: 100;
}
#breadcrumbs a:hover {
    text-decoration: underline;
}
.dmbs-content {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: inline-block;
    min-height: 500px;
    width: 100%;
}
.page-header {
    border-bottom: 0 none;
    color: #014A73;
    font-size: 42px; 
    display: inline-block;
    font-weight: 600;
    margin: 0.3em 0 0.7em;
    padding-bottom: 0;
    width: 100%;
}
.row.dmbs-content {
    padding-bottom: 2em;
    padding-bottom: 0;
}
#snippet-box {
    display: none;
}
.form-allowed-tags {
    display: none;
}
#comment_ifr {
    height: 120px !important;
}
.form-submit {
    margin-top: 0.7em;
    text-align: center;
}
.attachment-post-thumbnail {
    float: left;
    height: auto;
    margin: 0 10px;
    max-width: 200px;
}
.mce-widget button:hover {
    background-color: #DEDEDE;
}

/* Sidebar */

aside.widget {
    list-style: none;
    margin-bottom: 1em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    background-color: #fff;
    padding: 12px;
    outline: thin solid #e3e6d1;
}
.col-md-3 {
    padding-top: .5em;
}
.col-md-3 h3 {
    font-size: 22px;
    margin: 0 0 10px;
}
.col-md-9 ul,
.col-md-3 ul {
    margin-left: 20px;
}
.col-md-9 li,
.col-md-3 li li,
.col-md-3 #categories-2 li {
    list-style: none;
}
.col-md-9 ul li::before,
.col-md-3 ul li::before {
    font-family: 'Font Awesome 5 Pro';
    content: '\f101';
    margin: 0 5px 0 -27px;
    color: #db3d13;
    padding-right: 5px;
}
.col-md-9 .tml ul li.tml-error::before {
    content: '';
}
.tml .tml-error {
    border-left-color: #dc3232;
    padding-left: 30px;
}
.col-md-9 ul li.tml-message::before {
    content: '';
}
.col-md-9 ul li.tml-message {
    padding: .75em .75em .75em 2em;
}
.dmbs-widget {
    list-style: none;
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    background-color: #fff;
    padding: 12px;
    outline: thin solid #e3e6d1;
}
.dmbs-widget p {
    font-size: 15px;
    line-height: 24px;
    margin: 0 0 9px;
}
.col-md-3 #text-2,
.col-md-3 #text-3  {
    background: #fff url(graphics/train_on_tracks_01.jpg) no-repeat 50% 0 / 100% auto scroll;
}
.col-md-3 #text-2 h3,
.col-md-3 #text-3 h3 {
    margin: 76px 0 22px;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
}
.col-md-3 #text-2 a,
.col-md-3 #text-3 a,
.col-md-3 #text-4 a,
.col-md-3 #text-5 a  {
    background-color: #db3d13;
    color: #fff;
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 4px 0;
    padding: 7px 15px;
    text-align: center;
    width: 100%;
}
.col-md-3 #text-2 a:hover,
.col-md-3 #text-3 a:hover,
.col-md-3 #text-4 a:hover,
.col-md-3 #text-5 a:hover {
    background-color: #3C9636;
    padding: 7px 15px;
    margin: 4px 0;
    border:0;
}
.col-md-3 #text-4,
.col-md-3 #text-5  { /* #FDFCE8 */
    background: #fff url(graphics/conductor_bulletin.jpg) no-repeat 50% 0 / 100% auto scroll;
}
.col-md-3 #text-4 h3,
.col-md-3 #text-5 h3 {
    margin: 50px 0 26px;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
    width: 130px;
}
.textwidget h2 {
    font-size: 20px;
    margin: .5em;
}
.col-md-3 #enhancedtextwidget-7 .textwidget {
    border: thin solid #b9b9b9;
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 220px;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul {
    margin: 0;
    padding: 0 2px 0 4px;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li::before {
    content: '';
    margin: 0;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li li::before {
    padding: 4px;
    content: '\f0da';
    font-weight: 900;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li {
    padding: 0;
    margin: 0 0 10px;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li li{
    padding: 0 0 0 32px;
    margin: 0;
    text-indent: -20px;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li a {
    font-size: 15px;
    padding: 2px 4px;
    text-transform: uppercase;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li li a{
    border: thin solid transparent;
    background-color: transparent;
    padding: 4px 5px 0 0;
    text-transform: none;
}
.col-md-3 #nav_menu-5 .menu-programs-container ul,
.col-md-3 #categories-2 ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: none;
}
.col-md-3 #nav_menu-5 .menu-programs-container ul li::before,
.col-md-3 #categories-2 ul li::before {
    padding: 4px;
    content: '\f0da';
    font-weight: 900;
    vertical-align: top;
}
.col-md-3 #nav_menu-5 .menu-programs-container ul li,
.col-md-3 #categories-2 ul li {
    padding: 0;
    margin: 0 0 10px;
}
.col-md-3 #nav_menu-5 .menu-programs-container ul li,
.col-md-3 #categories-2 ul li {
    padding: 0 0 0 38px;
    margin: 0;
    text-indent: -22px;
}
.col-md-3 #nav_menu-5 .menu-programs-container ul li a,
.col-md-3 #categories-2 ul li a {
    font-size: 15px;
    padding: 2px 4px;
}
.col-md-3 #nav_menu-5 .menu-programs-container ul li a,
.col-md-3 #categories-2 ul li a {
    border: thin solid transparent;
    background-color: transparent;
    padding: 0 0 0 20px;
    width: 108%;
    display: inline-block;
}
.col-md-3 #nav_menu-5 .menu-programs-container ul li:hover::before,
.col-md-3 #categories-2 ul li:hover::before {
    color: #3C9636;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li.current_page_item::before,
.col-md-3 #nav_menu-5 .menu-programs-container ul li.current_page_item::before,
.col-md-3 #categories-2 ul li.current-cat::before {
    color: #3C9636;
    float: left;
    position: absolute;
    padding-left: 17px;
    padding-top: 1px;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li.current_page_item > a,
.col-md-3 #nav_menu-5 .menu-programs-container ul li.current_page_item,
.col-md-3 #nav_menu-5 .menu-programs-container ul li.current_page_item a,
.col-md-3 #categories-2 ul li.current-cat,
.col-md-3 #categories-2 ul li.current-cat a {
    background-color: #F3F5EB;
    color: #3C9636;
    width: 100%;
    display: block;
    padding: 2px 8px 2px 18px;
    font-weight: 500;
    letter-spacing: .02em;
    text-indent: 0;
    margin-left: -15px;
    width: 108%;
}
.col-md-3 #enhancedtextwidget-7 .textwidget ul li.current_page_item > li,
.col-md-3 #enhancedtextwidget-7 .textwidget ul li.current_page_item li::before {
    background-color: transparent;
}
.widgettitle.dmbs-widget-title.dmbs-widget-right-title {
    margin: 0 0 10px;
}

/* HIDE SIDEBARS PER PAGE */

.page-chapters #nav_menu-5,
.page-template-page-state-chapters #nav_menu-5,
.page-programs #nav_menu-4,
.page-template-page-individ-program #nav_menu-4 {
    display: none;
}



/* BLOG */

.text-right {
    color: #A6A6A6;
    font-size: 0.9em;
    letter-spacing: 0.03em;
    line-height: 1em;
    text-align: right;
}
.text-right > a {
    color: #A6A6A6;
    text-decoration: underline;
}
.text-right > a:hover {
    text-decoration: none;
}
.text-right > .btn.btn-success {
    color: #fff;
    text-decoration: none;
}
.blog .col-md-3,
.archive .col-md-3  {
    padding-top: 4.2em;
}
.single .col-md-3   {
    padding-top: 3.1em;
}

/* ARCHIVE CATEGORY */

.archive .container.dmbs-container.bottom.inside_page img,
.single .container.dmbs-container.bottom.inside_page img {
    display: none;
}
.blog .attachment-chapter_header.size-chapter_header.wp-post-image,
.archive .attachment-chapter_header.size-chapter_header.wp-post-image,
.single .attachment-chapter_header.size-chapter_header.wp-post-image {
    width: 100%;
    height: auto;
}
.cat_title {
    margin: 0 auto .7em;
    width: 100%;
}

/* Posts */

.blog .the_content,
.archive .the_content,
.single .the_content {
    padding: 2.25rem;
    background-color: #fff;
    outline: thin solid #e3e6d1;
}
.blog .page-header,
.blog .the_post_footer,
.archive .page-header,
.archive .the_post_footer,
.single .page-header,
.single .the_post_footer  {
    background-color: #ebedde;
    border-bottom: 1px solid #c5cc94;
    padding: 10px;
    margin-bottom: 0;
}
.blog .page-header .post_title,
.archive .page-header .single_title,
.single .page-header .post_title {
    margin: 0 0 20px;
    display: inline-block;
}
.blog .page-header h2,
.archive .page-header h2,
.single .page-header h2 {
    margin-top: 0;
}
.blog .page-header .the_meta,
.archive .page-header .the_meta,
.single .page-header .the_meta {
    font-size: 16px;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    margin-top: 15px;
    text-transform: none;
}
.blog .page-header .the_meta div,
.archive .page-header .the_meta div,
.single .page-header .the_meta div {
    letter-spacing: 0;
}
.blog .page-header .the_meta .date,
.blog .page-header .the_meta .author,
.archive .page-header .the_meta .date,
.archive .page-header .the_meta .author,
.single .page-header .the_meta .date,
.single .page-header .the_meta .author {
    float: left;
    padding-right: 10px;
}
.blog .page-header .the_meta .comments,
.archive .page-header .the_meta .comments ,
.single .page-header .the_meta .comments {
    float: right;
}
.blog .the_post_footer,
.archive .the_post_footer,
.single .the_post_footer {
    margin-bottom: 1.8em;
}

 /* COMMENTS */
.well {
    background-color: rgba(0, 0, 0, 0);
    border: 0 none;
    padding: 0;
}
.form-allowed-tags {
    display: none;
}
code {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 4px 4px 4px 4px;
    color: #C7254E;
    font-size: 80%;
    padding: 2px 4px;
}
ul.commentlist,
ul.commentlist li {
    list-style: none;
}
ul.commentlist li {
    border-left: 2px solid #656565;
    padding-left: 20px;
}
ul.commentlist li:before {
    content: "";
    margin: 0;
    padding: 0;
}
.comment-author, .comment-edit-link, .comment-meta.commentmetadata {
    font-weight: bold;
    font-size: .8em;
}
.comment-meta.commentmetadata {
    margin-bottom: 1em;
}

/* Pagination */
.paged_nav {
    display: inline-block;
    text-align: center;
    width: 100%;
}
.pagination {
    clear:both;
    position:relative;
    font-size:18px;
    line-height:20px;
}
.pagination span {
    background-color: #fff;
    outline: 2px solid #b9b9b9;
    color: #969696;
    display: block;
    float: left;
    margin: 0 3px;
    padding: 8px 16px;
    text-decoration: none;
    width: auto;
    -webkit-transition: background .15s ease-in-out;
    -moz-transition: background .15s ease-in-out;
    -ms-transition: background .15s ease-in-out;
    -o-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}
.pagination a {
    background: #ffffff none repeat scroll 0 0;
    outline: 2px solid #db3d13;
    color: #db3d13;
    display: block;
    float: left;
    margin: 0 3px;
    padding: 8px 16px;
    text-decoration: none;
    width: auto;
    -webkit-transition: background .15s ease-in-out;
    -moz-transition: background .15s ease-in-out;
    -ms-transition: background .15s ease-in-out;
    -o-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}
.pagination a:hover{
    color: #3C9636;
    outline: 2px solid #3C9636;
}
.pagination .current{
    background-color: #ffffff;
}


/* Home Page HOMEPAGE*/

body.home {
    background: #f3f5eb none no-repeat 50% 0 / 100% auto scroll;
}
#home_hero {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    top: 0;
}
#home_hero img {
    width: 100%;
    height: auto;
}
#home_hero img.hero {
    position: relative;
    -moz-animation: hero 2s ease-in-out forwards;
    -webkit-animation: hero 2s ease-in-out forwards;
    -o-animation: hero 2s ease-in-out forwards;
    animation: hero 2s ease-in-out forwards;
    opacity:0;
}
@keyframes hero {
    0% { opacity:0;}
    100% { opacity:1;}
    from{opacity:0;}
    to{opacity:1;}
}
@-webkit-keyframes hero {
    0% { opacity:0;}
    100% { opacity:1;}
    from{opacity:0;}
    to{opacity:1;}
}
#home_hero img.fadein {
    position: absolute;
    width: 100%;
    max-width: 1000px;
    height: auto;
    max-height: 300px;
    z-index: 2;
    flex:1;
    -moz-animation: fadein 3s ease-in-out forwards;
    -webkit-animation: fadein 3s ease-in-out forwards;
    -o-animation: fadein 3s ease-in-out forwards;
    animation: fadein 3s ease-in-out forwards;
    animation-delay: 0s;
    -webkit-animation-delay: 1.3s;
    -moz-animation-delay: 1.3s;
    animation-delay: 1.3s;
    opacity:0;
    margin-top: 6em;
}
@keyframes fadein {
    0% { opacity:0; width: 0; height:0; }
    66% { opacity:0; }
    100% { opacity:1; width: 80%; height:auto; }
    from{opacity:0;}
    to{opacity:1;}
}
@-webkit-keyframes fadein {
    0% { opacity:0; width: 0; height:0; }
    66% { opacity:0; }
    100% { opacity:1; width: 80%; height:auto; }
    from{opacity:0;}
    to{opacity:1;}
}

#bs-carousel hgroup {
    position: relative;
    max-height: 550px;
    overflow: hidden;
}
#bs-carousel .photo {
    width: 100%;
    height: auto;
}
#bs-carousel .title {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    background-color: #0007;
    padding: 5px;
}
.carousel-fade .carousel-control {
  z-index: 2;
}
.carousel-indicators {
    margin-bottom: -15px;
}
.carousel-indicators li {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 5px;
    text-indent: -999px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    background-color: #000 \9;
    background-color: rgba(0, 0, 0, 0);
    opacity: .7;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -ms-transition: all .25s ease-in-out;
   -o-transition: all .25s ease-in-out;
    transition: all 0.25s ease-in-out 0s;
}
.carousel-indicators .active {
    margin: 5px;
    width: 21px;
    height: 21px;
    background-color: #fff;
    border-radius: 26px;
}
.carousel-indicators li:hover {
    opacity: 1;
}
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}


.home_content {
    background-color: #fff;
    outline: thin solid #e3e6d1;
    margin: .5em 0;
    padding: 12px 30px;
    font-size: 16px;
}
.home_content h2 {
    margin: .5em 0 .3em;
}
.home_content p {
    font-size: 16px;
    line-height: 1.5em;
}


.home_programs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em auto !important;
    text-align: left;
}
.home_programs .programs_title {
    margin: 1em auto 1.5em;
    width: 100%;
    height: auto;
    max-width: 720px
}
.home_programs .program {
    flex: 1 0 31%;
    margin: 0 1% 25px;
    max-width: 31%;
    background-color: #fff;
    outline: 1px solid #e3e6d1;
}
.home_programs .program h2 {
    margin: 10px 0;
    color: #db3d13;
    text-align: center;
    font-size: 1.5em;
    height: 2.5em;
    position: relative;
    display: table;
    width: 100%;
    padding: 0 10px;
}
.home_programs .program a:hover h2 {
    color: #3C9636;
}
.home_programs .program:hover {
    outline: 1px solid #3C9636;
}
.home_programs .program h2 div {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 100%;
}
.home_programs .program p {
    padding: 12px 20px;
    color: #333;
    font-size: 16px;
    line-height: 24px;
}
.home_programs .program img {
    width: 100%;
    height: auto;
}
.home_programs .program.Donation.Complete {
    display: none;
}


/* DISTRICTS PAGE */

.page-template-page-districts .district_group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em auto !important;
    text-align: center;
}
.page-template-page-districts .district_group .chapter {
    flex: 1;
    margin: 0 1% 1%;
    background-color: #fff;
    outline: thin solid #e3e6d1;
    position: relative;
    white-space: nowrap;
    max-width: 450px;
}
.page-template-page-districts .district_group .chapter a {
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 10px;
}
.page-template-page-districts .district_group .chapter:hover {
    outline: thin solid #3C9636;
}


/* ALL CHAPTERS PAGE */

.page-template-page-individ-chapter .container.dmbs-container.bottom.inside_page,
.page-template-page-individ-program .container.dmbs-container.bottom.inside_page,
.page-template-page-chapter-associated-groups .container.dmbs-container.bottom.inside_page {
    margin: 90px auto 15px;
    padding: 0;
    box-shadow: 6px 6px 10px #0006;
    z-index: 2;
    position: relative;
}
#all_chapters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em auto !important;
    text-align: left;
}
#all_chapters .states  a:hover {
    border:0;
}
#all_chapters .states {
    flex: 1 0 46%;
    margin: 0 2% 25px;
    max-width: 46%;
}
#all_chapters .states table {
    width: 100%
}
#all_chapters .states table tr {
    background-color: #fff;
    outline: thin solid #e3e6d1;
}
#all_chapters .states table tr td {
    padding: 4px 12px;
}
#all_chapters .states table tr td.title a {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    letter-spacing: .02em;
    font-weight: 400;
}
#all_chapters .states table tr td.website {
    text-align: right;
    vertical-align: middle;
}

/* ALL PROGRAMS PAGE */

.page-programs .page-header {
    width: 100%;
    text-align: center;
}
.page-programs .page-header img {
    width: 100%;
    height: auto;
    max-width: 720px;
}
#all_programs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em auto !important;
    text-align: left;
}
#all_programs .program  a:hover {
    border:0;
}
#all_programs .program {
    flex: 1 0 46%;
    margin: 0 2% 25px;
    max-width: 46%;
    background-color: #fff;
    outline: thin solid #e3e6d1;
}
#all_programs .program:hover {
    outline: thin solid #3C9636;
}
#all_programs .program a:hover h2 {
    color: #3C9636;
}
#all_programs .program img {
    width: 100%;
    height: auto;
}
#all_programs .program h2 {
    margin: 10px;
    color: #db3d13;
    text-align: center;
    font-size: 1.5em;
}
#all_programs .program p {
    padding: 12px 20px;
    color: #333;
    font-size: 16px;
    line-height: 24px;
}
.page-template-page-individ-chapter .container.dmbs-content-wrapper.top,
.page-template-page-individ-program .container.dmbs-content-wrapper.top {
    margin-top: 90px;
    padding: 0;
    box-shadow: 6px 6px 10px #0006;
    z-index: 2;
    position: relative;
}
.page-template-page-individ-chapter .container.dmbs-content-wrapper,
.page-template-page-individ-program .container.dmbs-content-wrapper {
    margin-top: 0;
    z-index: 1;
    position: relative;
}
#all_programs .program.Donation.Completepg- {
    display: none;
}


/* REGIONAL & STATE PAGES */

.page-template-page-state-chapters .col-md-9 {
    padding: 0 2.4em;
}
.page-template-page-state-chapters #state_chapters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em auto !important;
    text-align: center;
}
.page-template-page-state-chapters #state_chapters .chapter {
    flex: 1 0 46%;
    margin: 0 2% 25px;
    max-width: 46%;
    background-color: #fff;
    outline: thin solid #e3e6d1;
    position: relative;
}
.page-template-page-state-chapters #state_chapters .chapter img {
    width: 100%;
    height: auto;
}
.page-template-page-state-chapters #state_chapters .chapter img.spacer {
    position: relative;
    bottom: 0;
    z-index: 0;
    left: 0;
    visibility: hidden;
}
.page-template-page-state-chapters #state_chapters .chapter img.main {
    position: absolute;
    bottom: 0;
    z-index: 1;
}
.page-template-page-state-chapters #state_chapters .chapter h2 {
    margin: 10px;
    color: #db3d13;
}
.page-template-page-state-chapters #state_chapters .chapter a:hover h2 {
    color: #3C9636;
}
.child_page_nav {
    background-color: #e7eada;
    display: inline-block;
    padding: 1em;
    margin: 2em auto;
}
.child_page_nav h3 {
    margin: 0;
}
.col-md-9 ul.chapter_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: stretch;
    margin: 1em 0;
    padding: 0;
}
.col-md-9 ul.chapter_nav li:before {
    content: "";
    margin: 0;
    padding: 0;
}
.col-md-9 ul.chapter_nav li {
    flex: 1;
    margin: 3px;
    background-color: #fff;
    outline: 2px solid #e0e4d0;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
    max-width: 300px;
    padding: 0;
}
.col-md-9 ul.chapter_nav li.current_page_item,
.col-md-9 ul.chapter_nav li.current_page_parent {
    background-color: #F3F5EB;
    outline: 2px solid #e0e4d0;
    color: #e0e4d0;
}
.col-md-9 ul.chapter_nav li.current_page_item a,
.col-md-9 ul.chapter_nav li.current_page_parent a {
    color: #7d865a;
}
.col-md-9 ul.chapter_nav li:hover {
    outline-color: #3C9636;
}
.col-md-9 ul.chapter_nav li a {
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 4px 10px;
    overflow: hidden;
}
.col-md-9 ul.chapter_nav li:hover a {
    color: #3C9636;
}


/* INDIVIDUAL CHAPTERS */

.card-img-top.wp-post-image {
    width: 100%;
    height: auto;
}
.page-template-page-individ-chapter .dmbs-page-title {
    margin: 0 0 0.5em;
}
.page-template-page-individ-chapter .about_chapter {
    background-color: #fff;
    padding: 12px 20px;
    outline: thin solid #e3e6d1;
}
.page-template-page-individ-chapter .about_chapter h3 {
    font-size: 20px;
    margin: 0 0 10px;
}
.page-template-page-individ-chapter #details {
    margin: 1.5em 0 ;
}
.page-template-page-individ-chapter #details div {
    margin: 0 0 10px;
}
.page-template-page-individ-chapter #details div b {
    font-size: .85em;
    font-weight: 800;
    letter-spacing: .03em;
}
.page-template-page-individ-chapter #details div.fb,
.page-template-page-individ-chapter #details div.tw {
    font-size: 40px;
    display: inline-block;
    margin: 0 10px;
}
.page-template-page-individ-chapter #details div.fb a {
    color: #4267b2;
}
.page-template-page-individ-chapter #details div.tw a {
    color: #00aced;
}
.page-template-page-individ-chapter .contact_email .email {
    display: inline;
    padding: 0 12px;
}
.page-template-page-individ-chapter #details .chapter_mailing_address p,
.page-template-page-individ-chapter #details .meeting_address p {
    margin: 0 0 0 2em;
}
.page-template-page-individ-chapter #details .map_address p {
    margin: 8px 0 8px 2em;
}
.acf-map {
  width: 100%;
  height: 400px;
  border: #ccc solid 1px;
  margin: 20px 0;
}
.acf-map img {
  max-width: inherit !important;
}

/* ASSOCIATED ORGANIZATIONS */

.page-template-page-chapter-associated-groups .group {
    background-color: #fff;
    padding: 12px 30px;
    outline: thin solid #e3e6d1;
    margin: 1em auto;
}
.page-template-page-chapter-associated-groups .group h2 {
    margin-top: 0;
}
.page-template-page-chapter-associated-groups .logo {
    float: left;
    margin: 0 25px 10px 0;
    padding: 0;
    text-align: center;
}
.page-template-page-chapter-associated-groups .logo li:before {
    margin:0;
    padding: 0;
    content: "";
}
.page-template-page-chapter-associated-groups .logo img {
    width: 300px;
    height: auto;
}

/* Giving Page */

.page-giving .btn.btn-primary {
    width: 100%;
    margin: 1em auto;
}
.page-giving .btn.btn-primary p {
    margin: 0;
}
.page-giving .card.card-body {
    background: #fff;
    padding: 20px 34px;
}


/* Contact US */

.page-contact-us .col-md-9 ul li.fb::before {
    font-family: 'Font Awesome 5 Brands';
    content: '\f082';
    margin: 0 5px 0 -27px;
    color: #3A76C9;
    padding-right: 5px;
    font-size: 26px;
}
.page-contact-us .col-md-9 ul li.fl::before {
    font-family: 'Font Awesome 5 Brands';
    content: '\f16e';
    margin: 0 5px 0 -27px;
    color: #fff;
    padding-right: 5px;
    font-size: 26px;
    background: url(graphics/fl.png) no-repeat 50% 50% / 100% auto scroll transparent;
}
.page-contact-us .col-md-9 ul li {
    padding-right: 5px;
}


/* WooCommerce Shop */

.woocommerce #sidebar {
    display: none;
}
.woocommerce .woocommerce-breadcrumb {
    display: none;
}
.container.dmbs-container.wooshop {
    max-width: 1170px;
    width: 100%;
}
.woocommerce .products ul, .woocommerce ul.products {
    display: flex;
}
.woocommerce .product {
    background-color: #fff;
    outline: thin solid #e3e6d1;
    text-align: center;
    flex:1;
}
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce ul.products li.product .button {
    margin: 1em;
    color: #fff;
    background-color: #3A4CA6;
    border-color: #293675;
    border-radius: .2rem;
    font-size: 18px;
    padding: 12px 20px;
}
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce ul.products li.product .button:hover {
    color: #fff;
    background-color: #1DAF37;
    border-color: #18952F;
}
.woocommerce .woocommerce-ordering {
    margin: 0 1em 1em;
}
.woocommerce select {
    background-color: #fff;
    font-size: 14px;
 }
.woocommerce div.product div.summary {
    margin-bottom: 2em;
    padding: 20px;
    text-align: left;
}
.woocommerce-tabs.wc-tabs-wrapper {
    text-align: left;
}
.woocommerce div.product .woocommerce-tabs .panel {
    margin: 0 0 2em;
    padding: 0 30px 20px;
}
.woocommerce .cart_totals h2 {
    text-align: center;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals,
.woocommerce .woocommerce-cart-form,
.woocommerce-error, .woocommerce-info, .woocommerce-message,
.woocommerce #order_review {
    background-color: #fff;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    padding: .5em;
}
.woocommerce .products ul, .woocommerce ul.products {
    margin: 1em;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    max-width: 25%;
}

/* Membership Renewal Page */

.col-md-9 .box,
.col-md-9 .box1 {
    display: none;
}
.col-md-9 .box ul li:before,
.col-md-9 .box1 ul li:before {
    display: none;
}
.col-md-9 .box ul li.member,
.col-md-9 .box1 ul li.member {
    font-weight: 700;
}
.col-md-9 .box ul li input[type="text"],
.col-md-9 .box1 ul li input[type="text"] {
    width: auto;
}
.pp_btn {
    margin: 0 auto;
    display: block;
    overflow: hidden;
    border: 2px solid #d9e1b7;
    padding: 10px 20px;
    border-radius: 7px;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -ms-transition: all .25s ease-in-out;
   -o-transition: all .25s ease-in-out;
    transition: all 0.25s ease-in-out 0s;
}
.pp_btn:hover {
    border: 2px solid #C4D090;
    background-color: #EFF1E4;
}
a#form {
    display: block;
    position: relative;
    top: -70px;
    visibility: hidden;
}

/* NRHS Gallery */

.archive.zm_gallery,
body.page-template-page-gallery,
body.single-zm_gallery,
.page-gallery-blank-search,
.post-type-archive-zm_gallery  {
    background: #f3f5eb none no-repeat 50% 0 / 100% auto scroll;
}
.archive.zm_gallery .col-md-9,
.page-template-page-gallery .col-md-9,
.single-zm_gallery .col-md-9,
.page-gallery-blank-search .col-md-9,
.post-type-archive-zm_gallery .col-md-9,
.archive.tax-engines .col-md-9,
.archive.tax-era .col-md-9,
.archive.tax-circas .col-md-9,
.archive.tax-other-rolling-stock .col-md-9,
.archive.tax-passenger-trains .col-md-9,
.archive.tax-buildings .col-md-9,
.archive.tax-locations .col-md-9,
.archive.tax-other .col-md-9  {
    width: 100%;
    padding: 0 30px;
}
.archive.zm_gallery .row.dmbs-content,
.page-template-page-gallery .row.dmbs-content,
.single-zm_gallery .row.dmbs-content,
.page-gallery-blank-search .row.dmbs-content,
.post-type-archive-zm_gallery .row.dmbs-content  {
    margin: auto;
}
.archive.zm_gallery .page-header,
.page-template-page-gallery .page-header,
.single.single-zm_gallery .page-header,
.page-gallery-blank-search .page-header,
.post-type-archive-zm_gallery .page-header {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    margin: 0 auto;
    font-family: 'Merriweather', serif;
    text-transform: capitalize;
    font-size: 24px;
    text-align: center;
    background: #e5e7dd;
    padding: 10px 20px;
}
.zm_gallery .the_photo {
    margin: 0 auto;
}
.archive.zm_gallery .gallery_logo,
.page-template-page-gallery .gallery_logo,
.single-zm_gallery .gallery_logo,
.page-gallery-blank-search .gallery_logo,
.post-type-archive-zm_gallery .gallery_logo,
.archive.tax-engines .gallery_logo,
.archive.tax-era .gallery_logo,
.archive.tax-circas  .gallery_logo,
.archive.tax-other-rolling-stock .gallery_logo,
.archive.tax-passenger-trains .gallery_logo,
.archive.tax-buildings .gallery_logo,
.archive.tax-locations .gallery_logo,
.archive.tax-other .gallery_logo {
    text-align: center;
    margin: 1em auto;
}
.archive.zm_gallery h1,
.page-template-page-gallery h1,
.single-zm_gallery h1,
.page-gallery-blank-search h1,
.post-type-archive-zm_gallery h1,
.archive.tax-engines h1,
.archive.tax-era  h1,
.archive.tax-circas h1,
.archive.tax-other-rolling-stock h1,
.archive.tax-passenger-trains h1,
.archive.tax-buildings h1,
.archive.tax-locations h1,
.archive.tax-other h1 {
    text-align: center;
}
.archive.zm_gallery .gallery_logo img,
.page-template-page-gallery .gallery_logo img,
.single-zm_gallery .gallery_logo img,
.page-gallery-blank-search .gallery_logo img,
.post-type-archive-zm_gallery .gallery_logo img {
    width: 100%;
    height: auto;
    max-width: 600px;
}
.archive.zm_gallery .the_post_footer,
.page-template-page-gallery .the_post_footer,
.single.single-zm_gallery .the_post_footer,
.page-gallery-blank-search .the_post_footer,
.post-type-archive-zm_gallery .the_post_footer  {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    padding: 1px 20px 20px;
    margin: 20px auto;
}
.archive.zm_gallery #gallery_frame .gallery_thumb img,
.page-template-page-gallery #gallery_frame .gallery_thumb img,
.single-zm_gallery .the_photo img,
.page-gallery-blank-search .the_photo img,
.post-type-archive-zm_gallery .the_photo img {
    width: 100%;
    height: auto;
}
#gallery_frame {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.archive.zm_gallery #gallery_frame .gallery_thumb,
.page-template-page-gallery #gallery_frame .gallery_thumb,
.page-gallery-blank-search #gallery_frame .gallery_thumb,
.post-type-archive-zm_gallery #gallery_frame .gallery_thumb  {
    max-width: 33%;
    margin: 4px;
    text-align: center;
    background-color: #e7eada;
    border: 2px solid #D7DCC1;
    background-color: #0000000f;
    border: 2px solid transparent;
   -webkit-transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -ms-transition: all .25s ease-in-out;
   -o-transition: all .25s ease-in-out;
    transition: all 0.25s ease-in-out 0s;
    flex: 1;
    min-width: 250px;
}
.archive.zm_gallery #gallery_frame .gallery_thumb a p,
.page-template-page-gallery #gallery_frame .gallery_thumb a p,
.page-gallery-blank-search #gallery_frame .gallery_thumb a p,
.post-type-archive-zm_gallery #gallery_frame .gallery_thumb a p  {
    font-size: 0.8em;
    line-height: 1.3;
    padding: 12px 6px 6px;
    margin: 0;
}
.archive.zm_gallery #gallery_frame .gallery_thumb a,
.page-template-page-gallery #gallery_frame .gallery_thumb a,
.page-gallery-blank-search #gallery_frame .gallery_thumb a,
.post-type-archive-zm_gallery #gallery_frame .gallery_thumb a  {
    color: #000;
}
.archive.zm_gallery #gallery_frame .gallery_thumb:hover,
.page-template-page-gallery #gallery_frame .gallery_thumb:hover,
.page-gallery-blank-search #gallery_frame .gallery_thumb:hover,
.post-type-archive-zm_gallery #gallery_frame .gallery_thumb:hover  {
    border-color: #000;
}


.page-gallery-blank-search #blank_search {
    text-align: center;
    margin: 1em;
    color: #e06643;
}
.zm_gallery h1 {
    text-align: center;
    margin: 0.5em 0;
    font-size: 30px;
}
.searchandfilter ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0.5em auto !important;
}
.searchandfilter > ul > li {
    flex: 1 0 24%;
    width: 24%;
    max-height: 180px;
    max-width: 250px;
    overflow: hidden;
    overflow-y: auto;
    margin: 4px;
    padding: 0 6px;
    border: 1px solid #c3c8a9;
    scrollbar-color: #d8dcc4 #ecefe1;
    background-color: #f3f5eb;
}
.searchandfilter > ul > li.sf-field-search {
    border: 0 solid #c3c8a9;
    background-color: #fff;
}
.searchandfilter input.sf-input-text {
    background-color: #f3f5eb;
    border: 1px solid #c3c8a9;
}
.searchandfilter > ul > li.sf-field-submit {
    flex: unset;
    width: 300px;
    overflow: hidden;
    overflow-y: hidden;
    margin: 4px;
    padding: 32px 6px 0;
    border: 0;
    background-color: transparent;
}
.searchandfilter ul li ul {
    display: inline-block;
    padding: 4px;
}
.searchandfilter ul li ul li {
    flex: 0;
    width: 100%;
    vertical-align: top;
    display: inline-block;
    position: relative;
    font-size: 15px;
    line-height: 1.2em;
    padding: 1px 0;
}
.searchandfilter ul li ul li label {
    max-width: 92%;
    padding-left: 16px;
    top: 2px;
    display: inline;
}
.searchandfilter ul li ul li input[type="checkbox"] {
    margin-top: 2px;
    vertical-align: top;
}


#collapse_search input[type='checkbox']#collapsible.toggle  {
    display: none;
}
#collapse_search .wrap-collabsible {
    margin: 1.2rem 0;
}
#collapse_search .lbl-toggle {
    display: block;
    font-weight: bold;
    font-family: monospace;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
    color: #fff;
    background: #3A4CA6;
    border: thin solid #293675;
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.25s ease-out;
    margin: 0;
}
#collapse_search .lbl-toggle:hover {
    color: #FFF;
}
#collapse_search .lbl-toggle::before {
    content: ' ';
    display: inline-block;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid currentColor;
    vertical-align: middle; margin-right: .7rem;
    transform: translateY(-2px);
    transition: transform .2s ease-out;
    float: left;
    margin-left: 5px;
}
#collapse_search .toggle:checked+.lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}
#collapse_search .collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
}
#collapse_search .toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 1000px;
}
#collapse_search .toggle:checked+.lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
#collapse_search .collapsible-content .content-inner {
    background: rgba(255, 255, 255, 1);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: .5rem 1rem 1.5rem;
}
#collapse_search .collapsible-content p {
    margin-bottom: 0;
}
#gallery_frame .no_results {
    text-align: center;
    margin-top: 1em;
}
h3.result_terms {
    text-align: center;
    font-weight: 400;
    font-family: 'Merriweather', serif;
    text-transform: capitalize;
    margin: 0 auto 2em;
    font-size: 20px;
}
.result_terms span {
    background: #e5e7dd;
    padding: 3px 8px;
    margin: 0 3px;
}
#gallery_frame .go_back{
    margin: 2em auto;
}
#gallery_contact_form {
    text-align: center;
    margin-top: 3em;
}
#gallery_contact_form .wpcf7-form-control.wpcf7-submit {
    margin: auto;
    float: ;
    display: block;
}



/* Login */

ul.tml-user-links,
ul.tml-action-links {
    line-height: 1em;
    list-style: none outside none;
}
ul.tml-user-links > li:before,
ul.tml-action-links > li:before {
    content: "\279b ";
    padding-right: 4px;
    display: inline;
    float: left;
}
.tml-action-links a {
    display: inline !important;
    float: left;
    margin-left: 7px !important;
}
#your-profile span {
    clear: both;
    display: block;
}

/* Search Page */

.search-results .date {
    font-size: 18px;
}
.search-results .author {
    display: none;
}

/* 404 */
.quote_404 {
    margin: 0 auto;
    min-width: 300px;
    text-align: left;
    width: 80%;
}
.error404 .col-md-9.dmbs-main {
    display: block;
    margin: 3em auto;
    text-align: center;
    width: 75%;
}
.error404 h1 {
    display: inline-block;
    font-size: 34px;
    margin-bottom: 25px;
}
.custom-header-text-color {
    color: #000000;
    display: none;
}
.error404 .error_links {
    margin: 3em auto;
    max-width: 250px;
    min-width: 250px;
    text-align: center;
    width: auto;
}


/* Footer */

.dmbs-footer {
    background-color: #293675;
    color: #bdbdbd;
    display: inline-block;
    font-size: 12px;
    margin-top: 5em;
    margin-bottom: -1em;
    min-height: 100px;
    padding: 1.25em 1.25em 3.25em;
    width: 100%;
}
.footer p {
    color: #d5d5d5;
    font-size: 16px;
    line-height: 22px;
}
.dmbs-footer .footer {
    display: block;
    margin: 1em auto;
    max-width: 1200px;
    width: 100%;
}
.dmbs-footer .footer a {
    color: #fff;
    font-weight: 400;
}
.dmbs-footer .footer a:hover {
    color: #eee;
}

    /* FOOTER SIDEBARS */

#footer_sidebars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em auto !important;
    text-align: left;
}
#footer_sidebars .widget {
    flex: 1 0 21%;
    margin: 1em 2%;
    max-width: 21%;
    min-width: 230px
}
#footer_sidebars .widget .widgettitle {
    color: #d9e1b7;
    font-size: 24px;
}
#footer_sidebars .widget h2.title {
    font-size: 18px;
    margin: .5em 0;
    color: #d9e1b7;
}
#footer_sidebars .widget ul {
    margin-left: 0;
}
#footer_sidebars .widget ul li {
    list-style: none;
    font-size: 16px;
}

#footer_sidebars .widget ul li.fb::before,
ul li.fb::before {
    font-family: 'Font Awesome 5 Brands';
    content: '\f082';
    margin: 0 5px 0 -27px;
    color: #fff;
    padding-right: 5px;
    font-size: 26px;
}
#footer_sidebars .widget ul li.fl::before {
    font-family: 'Font Awesome 5 Brands';
    content: '\f16e';
    margin: 0 5px 0 -27px;
    color: #fff;
    padding-right: 5px;
    font-size: 26px;
    background: url(graphics/fl.png) no-repeat 50% 50% / 100% auto scroll transparent;
}
#footer_sidebars .widget2 ul li::before {
    font-family: 'Font Awesome 5 Pro';
    content: '\f0da';
    margin: 0 -2px 0 -27px;
    color: #fff;
    padding-right: 5px;
    font-weight: 600;
}
#footer_sidebars .widget3 a.admin::before {
    font-family: 'Font Awesome 5 Pro';
    content: '\f30d';
    margin: 0 2px 0 -27px;
    padding-left: 30px;
    color: #db3d13;
    padding-right: 5px;
    font-size: 1.1em;
}
#footer_sidebars .widget4 ul li .donate::before {
    font-family: 'Font Awesome 5 Pro';
    content: '\f4b9';
    margin: 0 2px 0 -27px;
    color: #db3d13;
    padding-right: 5px;
    font-size: 1.1em;
}
#footer_sidebars .widget4 ul li .join::before {
    font-family: 'Font Awesome 5 Pro';
    content: '\f0c0';
    margin: 0 2px 0 -27px;
    color: #db3d13;
    padding-right: 5px;
    font-size: 1.1em;
}


    /* FOOTER MENU */

    /* FOOTER MENU */
.footer #menu-footer-menu {
    list-style: none;
    text-align: center;
}
.footer #menu-footer-menu li {
    display: inline-block;
    padding: 5px 10px;
}
.footer .copyright {
    text-align: left;
}
.footer .powered {
    display: inline-block;
    float: right;
}
.footer .powered a {
    color: #8c8c8c;
}
.footer .powered a:hover {
    color: #ddd;
}


/* --------------     Responsive Design    -------------------------------------------------------------- */

/*  1600  */
@media screen and (min-width:1600px){
h4.custom-header-text-color, .h4.custom-header-text-color {
    margin: 0 ;
}
.dmbs-header-text {
    text-align: left;
}
}/*  end 1600  */

/*  1200  */
@media screen and (min-width:1200px){
h4.custom-header-text-color, .h4.custom-header-text-color {
    margin: 0 ;
}
.dmbs-header-text {
    text-align: left;
}
}/*  end 1200  */

/*  1000  */
@media screen and (max-width: 990px) {
h4.custom-header-text-color, .h4.custom-header-text-color {
    margin: -10px 0 0;
}

}/*  end 1000  */

/* New Main Menu Breakpoint */

@media (max-width: 990px) {

/* Change breakpoint Begin */
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
    .container {
    width: auto;
}
/* Change breakpoint end */
body {
    background: #f3f5eb none no-repeat 50% 0 / 100% auto scroll;
}
.dmbs-header-text {
    transition: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
}
header.larger .dmbs-header-text,
header.smaller .dmbs-header-text {
    margin: 0;
    float: right;
    top: 0;
    position: absolute;
    right: 0;
    height: 50px;
    max-height: 50px;
}
.col-md-8.dmbs-header-text {
    z-index: 1;
}
.col-md-4 {
    z-index: 2;
}
header.larger img {
    width: auto;
    height: 50px;
}
.nav.navbar-nav {
    background-color: #293675;
    padding: 0;
}
.navbar-collapse.navbar-1-collapse.collapse.in {
    background-color: #293675;
}
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #e3e3e3;
}
.col-md-9 {
    width: 75%;
    padding-left: 15px;
    float: left;
}
.col-md-3 {
    width: 25%;
    float: left;
}

}

/*  775  */
@media screen and (max-width: 767px) {
.col-md-9 {
    width: 100%;
    float: left;
}
.col-md-3 {
    width: 50%;
    float: none;
    margin: auto;
}

}/* end 775  */



/*  480  */
@media screen and (max-width: 482px) {
.col-md-9 {
    width: 100%;
    float: left;
}
.col-md-3 {
    width: 100%;
    float: left;
}

}/* end 480 */


/*  320  */
@media screen and (max-width: 325px) {


}/* end 320 */


/*  240  */
@media screen and (max-width: 245px) {

}/* end 240 */


