/*Content*/
#content { margin:0 auto; }
#content .spacing { padding:40px 0; }
#content h1 { padding:0 0 18px 0; color:#2b5e27; font-size:36px; line-height:54px; font-weight:800; }
#content h2 { padding:0 0 12px 0; color:#2b5e27; font-size:24px; line-height:36px; font-weight:800; }
#content h3 { padding:0 0 11px 0; color:#2b5e27; font-size:22px; line-height:33px; font-weight:800; }
#content h4 { padding:0 0 9px 0; color:#2b5e27; font-size:18px; line-height:27px; font-weight:600; }
#content h5 { padding:0 0 8px 0; color:#444; font-size:16px; line-height:24px; font-weight:600; }
#content h6 { padding:0 0 7px 0; color:#444; font-size:14px; line-height:21px; font-weight:600; }
#content form,
#content p { font-size:18px; line-height:30px; padding:0 0 20px 0; }
#content ul, #content ol { padding:0 0 0 20px; margin:0 0 20px 0; }
#content ul { list-style:square; }
#content li { padding:4px 0; }

/*Page Styles*/
#content .entry-header h1 { margin-left:auto; margin-right:auto; }
#content .entry-header.has-featured-image { background-position:center center; background-size:cover; }
#content .entry-header.has-featured-image h1 { color:#fff; padding:0; }
#content .entry-header.has-featured-image h1,
#default-page .container .entry-content { max-width:1200px; padding:30px; margin:0 auto; }

/* Alignment */
.alignleft { float: left; margin:6px 20px 14px 0; }
.alignright { float: right; margin:6px 0 14px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; padding:6px 0 14px 0; }

/*Contact Forms*/
form [type="text"], 
form [type="tel"], 
form [type="email"],
form [type="url"], 
form [type="search"],
form select, 
form textarea,
form [type="submit"] { padding:8px 13px !important; height:auto !important; line-height:16px; background:#fff; border:1px solid #ccc; border-radius:3px; }
form [type="submit"] { text-align:center; cursor:pointer; }
form [type="submit"]:hover { background:#f9f9f9; }
.frm_style_formidable-style.with_frm_style .form-field { margin-bottom:10px !important; padding-bottom:5px !important; }
@media all and (max-width: 600px) {
    .frm_hidden_container label.frm_primary_label { display:none !important; }
}
@media all and (max-width: 600px) {
    .frm_forms .frm_form_field { width:100%; }
    .frm_forms .frm_submit input { width:100%; padding:0; font-size:16px; line-height:50px; }
}

/* Blog */
#primary { position:relative; }
#primary h1 { margin:0 0 30px 0; font-size:36px; line-height:46px; color:#222; }
#primary h2 { margin:0 0 25px 0; font-size:30px; line-height:40px; color:#222; }
#primary h3 { margin:25px 0 10px 0; font-size:26px; line-height:36px; color:#222; }
#primary h4 { margin:25px 0 5px 0; font-size:24px; line-height:34px; color:#222; }
#primary h5 { margin:25px 0 5px 0; font-size:22px; line-height:32px; color:#222; }
#primary h6 { margin:25px 0 5px 0; font-size:18px; line-height:28px; color:#222; }
#primary h1 a,
#primary h2 a { color:#222; text-decoration:none; }
#primary hr { border:none; background:none; margin:30px 0; border-bottom:1px solid #ccc; }
#primary form,
#primary p,
#primary li { margin:0 0 15px 0; font-size:18px; line-height:32px; color:#555; }
#primary li { margin:0 0 5px 0; }
#primary ul,
#primary ol { margin:0 0 15px 35px; }
#primary #main { max-width:1200px; padding:40px 30px; margin:0 auto; }
#primary .entry { margin-bottom:30px; min-height:400px; }
#primary .entry-footer,
#primary .entry-meta { font-size:14px; }
#primary .entry-footer > span,
#primary .entry-meta > span { display:inline-block; margin-right:10px; padding:5px 0; }
#primary .entry-footer span,
#primary .entry-meta span,
#primary .entry-footer a,
#primary .entry-meta a { color:#666; text-decoration:none; }
#primary .entry-footer i,
#primary .entry-meta i { margin-right:5px; }
#primary .blog-back-link { display:none; position:fixed; left:30px; bottom:30px; font-size:30px; width:54px; height:54px; color:#fff; background:#fff; border:3px solid #444; border-radius:30px; 
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	   -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#primary .blog-back-link i { width:54px; height:54px; text-align:center; line-height:54px; color:#444; }
#primary.blog article:hover {  }
#primary.blog article a { text-decoration:none; }
#primary.blog article p { color:#777; }
#primary.blog article img { display:block; width:100%; vertical-align:top; }
#primary.blog article i { margin-right:5px; font-size:14px; }
#primary.blog article .time { color:#999; }
#primary.blog article .time .fa-user-circle { vertical-align:bottom; }
#primary.blog article .time * { vertical-align:middle; }
#primary.blog article .time a { display:inline-block; color:#777; text-transform:uppercase; font-size:14px; line-height:14px; }
#primary.blog article .time a:hover { color:#444; }
#primary.blog article h2 { vertical-align:top; margin:10px 0;  }
#primary.blog article h2 a { display:block; padding:5px 0; margin:0; font-size:20px; line-height:24px; }
#primary.blog article .btn { padding:10px 15px; margin:0; background:#333; color:#fff; font-weight:bold; display:block; border-radius:2px; text-decoration:none; text-transform:uppercase; text-align:center; }
#primary.single a { color:#444; }
#primary.single a:hover { color:#666; }
#primary.single #main { max-width:800px; padding:40px 30px; }
#primary.single img { margin-bottom:15px; }
#primary.single h1 { margin:0; }
#primary.single .entry-meta-data { padding:15px 0; color:#999; text-transform:uppercase; }
#primary.single .entry-meta-data > span { margin-right:15px; display:inline-block; color:#777; text-transform:uppercase; font-size:14px; line-height:14px; }
#primary.single .entry-meta-data > span .fa-user-circle { vertical-align:bottom; }
#primary.single .entry-meta-data > span * { vertical-align:middle; }
#primary.single .entry-meta-data > span i { margin-right:1px; font-size:12px; }
#primary.single .entry-meta-data a { color:#777; text-decoration:none; }
#primary.single .entry-meta-data a:hover { color:#444; }
#primary.single .cat-links a,
#primary.single .tags-links a { margin:0 2px 2px 0; border:1px solid #ccc; padding:0 5px; font-size:11px; line-height:14px; border-radius:4px; }
#primary.single .widget { margin:0 0 15px 0; }
#primary.single .widget ul { list-style:none; margin:0 0 20px 0; }
#primary.single .widget li a { display:block; text-decoration:none; color:#777; font-size:15px; line-height:20px; font-weight:400; }
#primary.single .widget .screen-reader-text { display:none; }
#primary.single .widget h2 { margin:5px 0; font-size:20px; text-transform:uppercase; }
#primary.single .widget.widget_categories a { text-transform:uppercase; }
#primary.single .widget [type="search"] { margin-bottom:5px; }
#primary.single figcaption { font-size:12px; color:#999; margin:-15px 0 15px 0; }
@media all and (max-width: 1000px) {
  #primary .blog-back-link { left:10px; bottom:10px; }
}
@media all and (max-width: 600px) {
  figure { float:none !important; margin:0 !important; width:100% !important; max-width:none !important; }
  figure img { width:100%; }
}

/*Blog Search*/
#blog-search .wrapper { background:#fff; }
#blog-search .container { padding:30px 0 0 0; max-width:1200px; margin:0 auto; }
#blog-search .widget { float:left; width:50%; }
#blog-search .screen-reader-text { display:none; }
#blog-search h2 { margin-bottom:10px; }
#blog-search form { margin-top:15px; float:right; }
#blog-search form input { margin-top:2px; }
#blog-search ul { list-style:none; }
#blog-search li { display:inline-block; }
#blog-search a { color:#444; margin:0 5px 5px 0; border:1px solid #ccc; padding:0 10px; font-size:15px; line-height:18px; border-radius:4px; text-decoration:none; }
#blog-search a:hover { border-color:#aaa; }
@media all and (max-width: 1200px) {
  #blog-search .container { padding:30px 30px 0 30px; }
}
@media all and (max-width: 700px) {
  #blog-search .widget { width:100%; }
  #blog-search form { float:none; }
}

/*Popup*/
#popup { position:relative; z-index:99999; position:fixed; top:0; right:0; bottom:0; left:0; overflow:auto; }
#popup .overlay { position:fixed; top:0; right:0; bottom:0; left:0; background:rgba(0,0,0,.5); z-index:1; }
#popup .frame { margin:0 auto; top:100px; max-width:800px; width:90%; position:relative; background:#fff; border-radius:2px; padding:.1%; z-index:2; }
#popup .close { position:absolute; right:-10px; top:-10px; width:25px; height:25px; line-height:25px; font-size:15px; text-align:center; color:#333; background:#fff; border-radius:50%; cursor:pointer; }
@media all and (max-width: 770px) {
  #popup .frame { top:20px; }
}
#popup form { padding:25px; }

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin-bottom: calc(1.5 * 1rem);
}

.gallery-item {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 16px;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: calc((100% - 16px * 1) / 2);
}

.gallery-columns-2 .gallery-item:nth-of-type(2n+2) {
  margin-right: 0;
}

.gallery-columns-3 .gallery-item {
  max-width: calc((100% - 16px * 2) / 3);
}

.gallery-columns-3 .gallery-item:nth-of-type(3n+3) {
  margin-right: 0;
}

.gallery-columns-4 .gallery-item {
  max-width: calc((100% - 16px * 3) / 4);
}

.gallery-columns-4 .gallery-item:nth-of-type(4n+4) {
  margin-right: 0;
}

.gallery-columns-5 .gallery-item {
  max-width: calc((100% - 16px * 4) / 5);
}

.gallery-columns-5 .gallery-item:nth-of-type(5n+5) {
  margin-right: 0;
}

.gallery-columns-6 .gallery-item {
  max-width: calc((100% - 16px * 5) / 6);
}

.gallery-columns-6 .gallery-item:nth-of-type(6n+6) {
  margin-right: 0;
}

.gallery-columns-7 .gallery-item {
  max-width: calc((100% - 16px * 6) / 7);
}

.gallery-columns-7 .gallery-item:nth-of-type(7n+7) {
  margin-right: 0;
}

.gallery-columns-8 .gallery-item {
  max-width: calc((100% - 16px * 7) / 8);
}

.gallery-columns-8 .gallery-item:nth-of-type(8n+8) {
  margin-right: 0;
}

.gallery-columns-9 .gallery-item {
  max-width: calc((100% - 16px * 8) / 9);
}

.gallery-columns-9 .gallery-item:nth-of-type(9n+9) {
  margin-right: 0;
}

.gallery-item:last-of-type {
  padding-right: 0;
}

.gallery-caption {
  display: block;
  font-size: 0.71111em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0.5rem;
}

.gallery-item > div > a {
  display: block;
  line-height: 0;
  box-shadow: 0 0 0 0 transparent;
}

.gallery-item > div > a:focus {
  box-shadow: 0 0 0 2px #0073aa;
}

