/*
Theme Name:     AZ Historical
Theme URI:      http://hammersmithdesigns.com
Description:    Child theme for devdmbootstrap3
Author:         Heather Locke
Author URI:     http://www.hammersmithdesigns.com
Template:       devdmbootstrap3
Version:        0.1.0
*/
@import url("../devdmbootstrap3/style.css");


.page-id-308 .nav.nav-tabs{
  display: flex;
}
.page-id-308 .nav-tabs > li{
  align-items: center;
  display: flex;
}
.page-id-308 .nav-tabs > li > a{
  height: 100%;
  flex-basis: 100%;
  display: flex;
  align-items: center;
}
.page-id-308 .tab-pane tr td:last-child a{
  display: block;
  margin-bottom: 3px;
}
.sidebar-search{
  border-top: 3px solid #b3aeae;
  border-bottom: 3px solid #b3aeae;
  padding: 20px 10px;
  margin: 25px 0 30px;
}
.sidebar-search h3{
  font-size: 14px;
  font-weight: 600;
  color: #4d4744;
  margin-top: 0;
}
.sidebar-search .searchform > div{
  display: flex;
  align-items: center;
}
.sidebar-search .searchform > div input[type=text]{
  flex-basis: 80%;
  border: 1px solid #4d4744 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}
.sidebar-search .searchform > div input[type=submit]{
  border-radius: 0 !important;
  flex-basis: 20%;
  background-color: #b3aeae !important;
  border-top: 1px solid #4d4744 !important;
  border-bottom: 1px solid #4d4744 !important;
  color: #fff !important;
  border-right: 1px solid #4d4744 !important;
  border-left: 0 !important;
  margin-top: 0 !important;
  min-width: 80px;
  text-transform: uppercase;
}
#cnss_widget-2 .cn-fa-instagram{
  position: relative;
  top: 0 !important;
}
footer.sign-up-newsletter{
  background: #c7895b;
}
footer.sign-up-newsletter .wrapper{
	margin-right: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}
footer.sign-up-newsletter > div {
	display: flex;
    justify-content: flex-end;
}
footer.sign-up-newsletter #gform_fields_12{
  display: flex;
}
footer.sign-up-newsletter .get-newsletter{
  color: #fff;
/*   display: inline-block; */
  margin-right: 15px;

}
footer.sign-up-newsletter #gform_wrapper_12{
/*   display: inline-block; */
  max-width: unset;
  margin-top: 0;
  margin-bottom: 0;
	flex: 1;
/*   width: 100%; */
}
#gform_12 .top_label div.ginput_container{
  margin-top: 0
}
#gform_12 .gform_body input{
  margin-top: 0;
}
#gform_12{
  display: flex;
  flex-wrap: wrap;
}
#gform_12 .gfield_label{
  display: none;
}
#gform_12 .gform_body{
  flex: 1;
}
#gform_12 .gform_body input{
  text-transform: uppercase;
  padding: 4px 10px;
}
#gform_12 .gform_footer{
/*   flex-basis: 30%; */
  margin-top: 0;
}
#gform_12 .gform_footer input[type=submit]{
  background: #63694f;
  margin-right: 0;
  padding: 10px 35px;
  border-radius: 5px;
  position: relative;
  top: -3px;
  font-size: 12px;
}
#gform_12 .gform_footer {
	width: unset;
}
.page-id-27582 .sidebar-content #gform_12 {
	display: block;
}
.news-sidebar-newsletter {
	padding: 20px;
    border: 1px solid #c1c1c1;
}
.news-sidebar-newsletter #gform_fields_12 > li {
	padding-right: 0 !important;
}
.news-sidebar-newsletter .gform_footer input[type=submit] {
	width: 100% !important;
}
.news-sidebar-newsletter .gform_legacy_markup_wrapper {
	margin-bottom: 0 !important;
}
.dmbs-footer{
  margin-top: 0;
}
/* .page-id-26548 .sidebar .sidebar-content p, .page-id-26548 .sidebar .sidebar-content li{
  font-size: 16px;
}
.page-id-26548 .page-content h5, .page-id-26548 .page-content h5 strong, .page-id-26548 .page-content h5 b{
  font-size: 20px;
}
.page-id-26548 .page-content p, .page-id-26548 .page-content li, .page-id-26548 .page-content li strong, .page-id-26548 .page-content li b{
  font-size: 16px !important;
} */
.page-content ol li{
  font-size: 12px;
}
.museum-events .metas{
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  position: relative;
  width: calc(100% - 170px);
  margin-left: 170px;
}
.single-post .content-title{
  padding-left: 75px !important;
  position: relative;
  margin-bottom: 15px !important;
  display: flex;
}
.single-post .content-title a{
  position: absolute;
  top: 0;
  font-size: 16px;
  left: 0;
  padding: 5px;
  border: 1px solid;
  color: #fff;
  background: #c7895b;
}
.single-post .content-title span{
  padding-left: 10px;
  border-left: 1px solid;
  height: 100%;
}
#sp-ea-32286 .ea-body > ul ul, #sp-ea-32284 .ea-body > ul ul{
  height: 0; visibility: hidden; transition: height .5s; padding-bottom: 0; margin-left: 0; padding-left: 20px; margin-top: 0
}
#sp-ea-32286 .ea-body > ul li.open > ul, #sp-ea-32284 .ea-body > ul li.open > ul{
  height: auto; visibility: visible; padding-bottom: 10px;
  margin-top: 10px
}
#sp-ea-32286 .ea-body > ul > li, #sp-ea-32284 .ea-body > ul > li{
  font-style: normal; margin-bottom: 20px; font-weight: bold; cursor: pointer; padding-left: 20px
}
#sp-ea-32286 .ea-body > ul > li:before, #sp-ea-32284 .ea-body > ul > li:before{
  font-weight: bold;
  font-size: 18px;
  width: 18px;
  height: 18px;
  /* border: 1px solid;
  border-radius: 50%; */
  text-align: center;
  /* line-height: 3px; */
}
#sp-ea-32286 .ea-body > ul > li:not(.open):before, #sp-ea-32284 .ea-body > ul > li:not(.open):before{
  line-height: 18px;
  content: '•';
  top: -2px;
}
@media screen and (max-width: 800px){
  .page-id-308 .nav.nav-tabs{
    flex-wrap: wrap;
  }
  .page-id-308 .nav-tabs > li{
    margin-bottom: 10px;
    margin-right: 10px;
  }
  .page-id-308 .nav.nav-tabs{
    padding-left: 0;
  }
  .admin-bar button#responsive-menu-button{
    top: 105px !important;
  }
  .single-post .content-title span{
    display: block;
    border-left: 0;
    padding-left: 0;
  }
  .single-post .content-title a{
    position: static;
    display: block;
    margin-bottom: 10px;
  }
  .single-post .content-title{
    flex-wrap: wrap;
    padding-left: 0 !important;
  }
  .post_search form input{
    width: 100%;
  }
  .post_search form input[type="text"] {
    width: 100%;
    margin-bottom: 10px;
  }
}
/* .nav-tabs > li > a.active{
  border-radius: 0;
  background: #ddd;
} */
@media screen and (max-width: 425px){
  .page-id-308 .nav-tabs{
    border-bottom: 0;
  }
  .page-id-308 .nav-tabs > li{
    flex-basis: 100%;
  }
  .page-id-308 .nav-tabs > li > a{
    text-align: left;
  }
  .page-id-308 .nav-tabs > li.active > a{
    border-radius: 0;
    background: #ddd;
  }
  .tab-content table tr{
    border: 1px solid #ddd;
    margin-bottom: 15px;
    display: block;
    padding-top: 10px;
  }
  .tab-content table tr td:empty{
    display: none;
  }
  .tab-content table tr td{
    display: block;
    width: 100%;
    margin-bottom: 5px;
    padding: 5px 15px 0;
    border: 0;
  }
  .sign-up-newsletter .text-right{
    text-align: center;
    padding-top: 20px;
  }
  .sign-up-newsletter .wrapper{
    margin-right: 0;
    padding: 0 20px;
  }
  footer.sign-up-newsletter #gform_wrapper_12{
    max-width: 100%;
  }
  #gform_12{
    display: block;
  }
  #gform_12 .gform_body{
    margin-bottom: 0px;
  }
  #gform_12 .gform_body, #gform_12 .gform_footer{
    flex-basis: 100%;
  }
  #gform_12 .gform_footer input[type=submit]{
    width: 100%;
  }
}

@media screen and (min-width: 990px){
  .mobile-only{
    display: none;
  }
}
@media (max-width: 820px){
  footer.sign-up-newsletter .get-newsletter {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 20px;
  }
}
@media (max-width: 600px){
  footer.sign-up-newsletter #gform_fields_12, #gform_12{
    flex-wrap: wrap;
  }
  footer.sign-up-newsletter #gform_fields_12 > li, #gform_12 .gform_body, #gform_12 .gform_footer{
    flex-basis: 100%;
  }
  #gform_12{
    padding: 0 20px;
  }
}
