/*
 Theme Name:   Twenty Thirteen Child
 Theme URI:    http://www.nationalhistorycenter.org/twenty-thirteen-child/
 Description:  Twenty Thirteen Child Theme
 Author:       David Rettenmaier
 Template:     twentythirteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-thirteen-child
*/

@import url("../twentythirteen/style.css");

html {font-size:85%;}

div#page {
  background: url('/wp-content/uploads/2015/06/bg-collage-new.png') 90% 0% / 55% no-repeat;
  max-width:1350px
}
@media only screen  and (min-width: 1224px) {
div#page {
    background: url('/wp-content/uploads/2015/06/bg-collage-new.png') 90% 0% / 50% no-repeat;
    max-width: 1350px;
}
}

.site-header {
z-index:-1;
}

/*header#masthead {
  background: url('/wp-content/uploads/2015/07/bg-texture.png') no-repeat scroll top;
  z-index:-1;
}

a.home-link {
  background: url('/wp-content/uploads/2015/07/logo_transparent.png') no-repeat left;
  background-size: 40%;
}

#masthead {
   background-size: cover;
}
*/

.logo-wrapper {
width: 40%;
max-width: 100%;
float: left;
position:relative;
}

div.logo-wrapper img {
   top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: table;
  margin: auto;
  width: 80%;
  position: absolute;
}

html, button, input, select, textarea {
  font-family: 'Open Sans', sans-serif;
}

.navbar .search-form {
	position: absolute;
	right: 20px;
	top: 1px;
}

.navbar .search-field {
	background-color: transparent;
	background-image: url(images/search-icon.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	border: none;
	cursor: pointer;
	height: 37px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 1px;
}

.navbar .search-field:focus {
	background-color: #fff;
	border: 2px solid #c3c0ab;
	cursor: text;
	outline: 0;
	width: 230px;
}

.sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta {
  max-width: 1040px;
  padding: 0 376px 0 0px;
}

@media (min-width: 1024px) {
.sidebar .site-footer .flexible-widget-area {
	max-width: 1040px;
	left: 0;
}

/* Flexible widget areas - number of widgets per row (1, 2, 3 or 4) changes depending on number of widgets used */
.flexible-widget-area .widget {
	margin: 20px 0;
	float: left;
	width: 100%;
	padding: 0 15px;
}
.flexible-widget-area.widget-count-1 .widget {
	padding: 0;
}
/* Two per row */
.flexible-widget-area.per-row-2 .widget {
    width: 50%;
}
.flexible-widget-area.per-row-2 .widget:nth-of-type(2n+1) {
	clear: left;
	padding-left: 0;
}
.flexible-widget-area.per-row-2 .widget:nth-of-type(2n) {
	padding-right: 0;
}
/* Three per row */
.flexible-widget-area.per-row-3 .widget {
    width: 33.33333%;
}
.flexible-widget-area.per-row-3 .widget:nth-of-type(3n+1) {
	clear: left;
	padding-left: 0;
}
.flexible-widget-area.per-row-3 .widget:nth-of-type(3n) {
	padding-right: 0;
}
/* Four per row */
.flexible-widget-area.per-row-4 .widget {
    width: 25%;
}
.flexible-widget-area.per-row-4 .widget:nth-of-type(4n+1) {
	clear: left;
	padding-left: 0;
}
.flexible-widget-area.per-row-4 .widget:nth-of-type(4n) {
	padding-right: 0;
}
}

.hentry {
  padding: 25px 0;
}

h1.site-title {
  display: none;
}

h2.site-description {
  display: none;
}

p {
  margin: 0 0 14px;
}

a:active,
a:hover {
	color: #447336;
	outline: 0;
}

a:visited {
	color: #447336;
}

.entry-title a:hover {
	color: #447336;
}

.entry-content a:hover,
.comment-content a:hover {
	color: #447336;
}

.entry-content a, .comment-content a {
    color: #447336;
}
.entry-content img.alignleft,.entry-content .wp-caption.alignleft {
    margin-left: 0px;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #447336;
}

.sidebar .post-navigation .nav-links {
    padding: 0 60px 0 60px;
}

.navigation a:hover {
	color: #447336;
	text-decoration: none;
}

.paging-navigation a:hover .meta-nav {
	background-color: #447336;
	text-decoration: none;
}

.comment-meta a:hover {
	color: #447336;
}

.widget a:hover {
	color: #A64725;
}

.navbar {
     background-color: rgba(234, 234, 234, 0.9);
}

.archive-header {
    background-color: rgb(166, 183, 155);
    padding: 0 25px;
}

.sidebar .archive-meta {
    padding-right: 0px;
}

.site-footer {
  background-color: white; 
  color: #099100;
  }

.site-footer .widget {
    border-right: 1px solid #484848;
    height: 600px;
}

.site-footer .widget:last-child {
    border-right: none;
}

.widget {
  background-color: #EDEDED;
  font-size: 14px;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  margin: 0 0 24px;
  padding: 0px 20px 20px;
  word-wrap: break-word;
}

.widget .widget-title {
  font-family: 'Lato', sans-serif;
  margin: 0 0 10px;
  font-weight: normal;
  padding-top: 10px;
}

.widget_nav_menu {
  padding-top: 10px;
}

.site-main .sidebar-container {
  top: 20px;
}

.site-footer .sidebar-container {
  background-color: #132F14;
}

.widget {
margin:0;
}

h1 {
  font-size: 30px;
}

h2 {
	font-size: 24px;
	margin: 25px 0;
}

h3 {
	font-size: 20px;
	margin: 22px 0;
}

h4 {
	font-size: 18px;
	margin: 25px 0;
}

h5 {
	font-size: 16px;
	margin: 30px 0;
}

h6 {
	font-size: 14px;
	margin: 36px 0;
}

.entry-meta a {
    color: #A64725;
}

.entry-meta a:hover {
    color: #A64725;
}
.entry-title a {
  color: #213000;
}

.widget .menu-item {
font-size: 15px;
}

.widget a {
  color: #A64725;
}

div.intro {
  /*margin-top: -4px;*/
  padding: 16px 20px 20px 20px;
  font-size: 1.1em;
  text-align: justify;
  color: white;
  background-color: rgb(68, 115, 54);
}

.paging-navigation .nav-previous .meta-nav {
  margin-right: 10px;
  padding: 10px 0 12px;
  width: 60px;
}

.paging-navigation {
  background-color: #E8E8E8;
  padding: 30px 0;
}

.paging-navigation .meta-nav {
    background-color: #5F5F5F;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-size: 20px;
  padding: 3px 0 8px;
  text-align: center;
  width: 50px;
}

.nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus {
  background-color: #213000;
  color: #fff;
}

.nav-menu .sub-menu, .nav-menu .children {
  background-color: #213000;
   border: none;
  border-top: 0;
  padding: 0;
  position: absolute;
   left: 0px; 
  z-index: 99999;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
	background-color: #79AD59;
}

.toggled-on .nav-menu > li a:hover,
	.toggled-on .nav-menu > ul a:hover {
		background-color: #447336;
		color: #fff;
	}

/* For the mailchimp sign up form */

#mc_embed_signup_scroll input, textarea {
  display: block;
  width: 100%;
}
input.email {
margin-bottom:5px;
}

/* We don't need to remind folks that the asterisk means "indicates required", esp. when there is only on field to fill out. */
#mc_embed_signup_scroll .indicates-required {
    display: none;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	background: #A64725; /* Old browsers */
	background: -webkit-linear-gradient(top, #A64725 0%, #B73F14 100%); /* Chrome 10+, Safari 5.1+ */
	background:   linear-gradient(to bottom, #A64725 0%, #B73F14 100%); /* W3C */
	border: none;
	border-bottom: 3px solid #B73F14;
	border-radius: 2px;
	color: #fff;
	display: inline-block;
	padding: 11px 24px 10px;
	text-decoration: none;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
	background: #B73F14; /* Old browsers */
	background: -webkit-linear-gradient(top, #B73F14 0%, #BD2F00 100%); /* Chrome 10+, Safari 5.1+ */
	background:   linear-gradient(to bottom, #B73F14 0%, #BD2F00 100%); /* W3C */
	outline: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	background: #B73F14; /* Old browsers */
	background: -webkit-linear-gradient(top, #B73F14 0%, #A64725 100%); /* Chrome 10+, Safari 5.1+ */
	background:   linear-gradient(to bottom, #B73F14 0%, #A64725 100%); /* W3C */
	border: none;
	border-top: 3px solid #b93207;
	padding: 10px 24px 11px;
}

button, input[type="submit"], input[type="button"], input[type="reset"] {
  padding: 7px 24px 6px;
}

/* Below prevents the right sidebar from overlapping the footer when page content is brief */
.sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta {
padding: 0px 20px 0px 20px;
max-width: 100%;
}

.sidebar .site-footer .widget-area {
max-width: 1040px;
left: 0px;
}

.hentry {
padding: 20px 0px;
}

@media (min-width: 999px) {

#main {
 /* background-image: url(/wp-content/uploads/2015/10/shadow-bottom-thin.png);
    background-repeat: no-repeat;
    background-position: center top;
   height: 18px; 
    padding: 0; */
overflow: hidden;
    margin: 0px 30px;
    max-width: none;
}

#primary.content-area {
width: 68%;
float: left;
}

.site-main .sidebar-container {
position: static;
float: right;
width: 30%;
height: auto;
}

.sidebar-inner .widget-area {
    border: 2px solid #E8E8E8;
}
.site-main .widget-area {
margin-top: 20px;
margin-right: 20px;
}

.site-main .widget-area {
    float: right;
    width: initial;
}

}

/* Collapse oversized image and pulled images after iPad breakpoint. */
@media (max-width: 767px) {
	.site-header .home-link {
		min-height: 52px;
	}
	}

#tribe-events-content .tribe-events-calendar div[id*="tribe-events-event-"] h3.tribe-events-month-event-title {
    font-size: 10px;
}

.single-tribe_events .tribe-events-before-html {
display:none;
}

.tribe-events-before-html {
background:whitesmoke;
margin-bottom:20px;
padding:7px;
}