.nav-secondary {
	margin-top: 0;
}

.nav-primary {
	background-color: #fff;
	margin-top: 0;
}
.menu-secondary {
	max-width: none !important;
	display: flex !important;
  justify-content: space-between;
	flex-direction: column;
}
.menu-secondary a {
	color: #fff !important;
  font-size: 2rem;
  line-height: 1em;
}

.site-header {
	position: relative;
}

.nav-wrap {
	width: 100%;
}

.nav-fixed {
	position: fixed;
	top: 0;
	z-index: 1;
}

@media (min-width: 480px) {
  .mobile-only {
	  display: none !important;
  }
	
  .menu-secondary { 
	  flex-direction: row;
	}
}
@media (min-width: 480px) and (max-width: 625px) {
	.menu-secondary a {
		font-size: 1.5rem;
		padding: 15px !important;
	}
	.site-header .genesis-nav-menu a {
		font-size: 1.5rem;
		padding: 2px 5px;
	}
}

.site-header .genesis-nav-menu.menu-primary {
	width: auto;
	display: flex;
  justify-content: flex-end;
	font-size: 2rem;
}

.site-header .genesis-nav-menu.menu-primary li {
  padding: 2rem;
}

.site-header .genesis-nav-menu.menu-primary a {
	color: #4B4E53;
	font-weight: bold;

}
.site-header .genesis-nav-menu.menu-primary li.current_page_item , .site-header .genesis-nav-menu.menu-primary li.current-menu-item  {
	border-bottom: 5px solid #4B4E53;
}

@media (min-width: 840px) and (max-width: 1140px) {
	.site-header .genesis-nav-menu.menu-primary {
    max-width: none;
	}
}
.search-form input[type=submit],
.search-form input[type=submit]:hover {
	background: #fcb040;
	border: none;
}
.site-header .widget_search {
	padding-right: 0;
	flex-basis: 100%;
}
@media (min-width: 425px) {
	.site-header .widget_search {
		flex-basis: auto;
	}
}

.site-header .widget_search .search-form {
	padding: 0;
	float: none;
	text-align: center;
} 

.site-header .widget_search .search-form input {
  margin-top: 0;
}


.site-header .widget .search-form {
	position: relative;
}

@media (min-width: 425px) {
  .site-header .widget .search-form {
	  max-width: 280px;
  }
}

.widget .search-form input {
	border: 1px solid #FCB040;
	padding: 10px 15px;
	padding-right: 55px;
	font-size: 14px;
	border-radius: 1.75em;
	background: #fff;
}

.widget .search-form button {
	position: absolute;
	height: 100%;
	right: 10%;
	top: 0;
	border: none;
	width: 50px;
	padding-top: 5px;
	color: #b7b7b7;
	background-color: transparent;
	cursor: pointer;
	-webkit-transform: rotateY(180deg);
	        transform: rotateY(180deg);
}

@media (min-width: 375px) {
	.widget .search-form button {
		 right: 18%;
	}
}
@media (min-width: 425px) {
	.widget .search-form button {
		 right: 1rem;
	}
}

.jetpack_widget_social_icons ul.size-medium a {
	height: 38px;
	width: 38px;
}
.jetpack_widget_social_icons svg {
	color: #FCB040;
}

#jetpack_widget_social_icons-2, #custom_html-2 {
	display: inline-block;
}

#custom_html-2 {
	padding-right: 0.5rem;
}

#show-popup:hover {
	text-decoration: none;
	cursor: pointer;
}

.mailing {
	padding-right: 0;
	display: flex;
}

.mailing img {
	height: 38px;
	min-width: 130px;
}

.mailing .dashicons{
	color: #FCB040;
	font-size: 1.6em;
	width: auto;
	height: auto;
}

.header-widget-area {
	display: flex;
	align-items:center;
}

#ez-home-container-wrap .ez-widget-area .leaflet-container a, #ez-home-container-wrap .ez-widget-area .leaflet-container a:visited {
	text-decoration: none;
	color: #000;
}

#ez-home-container-wrap .ez-widget-area .leaflet-pane a .title {
	font-weight: 900;
	font-size: 1.5rem;
}

#ez-home-middle-container,
#ez-home-bottom-container{
	display: none;
}

.site-header .widget-area {
  padding: 25px 0 10px;
	display: flex;
  flex-direction: row;
  justify-content: center;
	flex-wrap: wrap;
}
@media (min-width: 425px) {
	.site-header .widget-area {
		flex-wrap: nowrap;
	}
}
@media (min-width: 839px) {
	.site-header .widget-area {
	  padding: 100px 0 0;
  }
	
}

.leaflet-container { 
	font-family: inherit !important;
}

.jetpack_widget_social_icons ul {
    display: block;
    margin: 0;
    padding: 0;
}

.home-banner {
	margin-bottom:35px;
}

.home .ez-widget-area .widget-title {
	background: transparent;
	color: #000 !important;
	border-bottom: none !important;
	padding: 0;
	margin: 0;
}

#ez-home-top-1 .widget {
	padding: 1rem 0;
}

.home .ez-widget-area .latest-tweets .widget-title {
  padding-left: 2rem;
}

.latest-tweets {
	background-color:rgba(233,246,254,0.5);
	margin: 5rem 0;
}

.latest-tweets .textwidget {
	padding:0 2rem 2rem 2rem;
}

.latest-tweets .textwidget>p {
	padding-top: 0;
}

.latest-tweets .textwidget>p>a {
	color: #000 !important;
	font-size: 1.2rem;
}

.ctf-tweets {
	display: flex;
	flex-direction: column;
}

.ctf-item {
	font-size: 1.6rem;
	flex:1;
	border-top: none !important;
	box-shadow: 0 2px 8px -4px #000;
	margin: 1rem 0.1rem;
}

a.ctf-tweet-text-link {
	color: #000 !important;
	text-decoration: none !important;
}

#ctf .ctf-quoted-tweet {
	font-size: 1.4rem;
	border-left: none;
  border-right: none;
	border-radius: 0;
}

a.ctf-quoted-tweet {
  text-decoration: none !important;	
}

a.ctf-quoted-tweet .ctf-quoted-author-screenname {
  text-decoration: underline !important;	
}

@media (min-width: 767px) {
	.ctf-tweets {
		flex-direction: row;
	}
	
	.ctf-item {
		margin: 1rem;
	}
}

.soliloquy-theme-base .soliloquy-caption-bottom .soliloquy-caption-inside {
	padding-bottom: 10px !important; 
}

.soliloquy-container a {
	text-decoration: underline !important;
}
@media (max-width: 767px) {
  .soliloquy-container .soliloquy-prev, .soliloquy-container .soliloquy-next {
	  top: 15% !important;
	  width: 26px !important;
	  height: 26px !important;
  }
}
@media (max-width: 600px) {
  .soliloquy-container .soliloquy-caption .soliloquy-caption-inside {
	  font-size: 0.6em !important;
  }
}

.page-how-to-guides .printfriendly {
	display: none;
}

.entry-content ul.caf-filter-container li {
	margin: 0.5rem 0;
}

.entry-content .caf-post-title h2 {
  border-bottom: none;	
}

.entry-content ul.caf-filter-container li:first-child {
	display: block;
} 

.caf-filter-layout1 a {
	margin: 0 5px;
	padding: 0.75rem 1.5rem;
}

#caf-filter-layout1 li a:hover {
	background-color: #000 !important;
}
#caf-filter-layout1 li a.active {
	color: #fff !important;
}

.caf-mb-4 {
	margin-bottom: 10px !important;
}

.caf-meta-content,
.caf-meta-content-cats {
	display: none !important;
}

.caf-meta-content .date {
	color: #fff !important;
	font-weight: bold;
}

#caf-post-layout3, .gallery-item {
  box-shadow: 0 2px 6px -4px #000;
}

#caf-post-layout3 #manage-post-area {
    /* background-image: linear-gradient(to right,#000000f0 ,#ccccccf0); */
  /*background: rgba(0,0,0,0.8);*/
	background: #fff;
	position: relative;
	height: 100%;
}

#caf-post-layout3 .caf-featured-img-box:hover {
	transform: none;
}

#caf-post-layout3 .caf-featured-img-box:hover::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 350px;
    background-color: rgba(119,  136, 17, 0.3);
}

#caf-post-layout3 .caf-post-title {
	padding: 0;
}

#caf-post-layout1 .wrap-layout {
	background-color: #778811;
	height: 100%;
}
#caf-post-layout1 .manage-layout1:hover {
	opacity: 0.7;
}

#caf-post-layout1 .caf-post-title {
	background: #fff !important;
}
#caf-post-layout1 .manage-layout1 {
	display: flex;
	flex-direction:column;
	height: 100%;
}

#caf-post-layout1 .manage-layout1 #manage-post-area {
  order: -1;	
	height: 100%;
}

#caf-post-layout1 .manage-layout1 .caf-content-read-more, 
#caf-post-layout1 .manage-layout1 .caf-content {
	display: none;
}

.related-gallery .gallery-item {
	margin: 1%;
}

.related-gallery img {
  border: none !important;
}

.related-gallery img {
	width: 100%;
	height:auto;
}

.related-gallery .gallery-caption {
	font-weight: 600;
	padding: 0.75rem;
}

.gallery-item a {
	color: #333;
}

.gallery-item a:hover {
	text-decoration: none;
	color: #778811;
}

.sidebar-primary .gallery-item a {
	text-decoration: none;
}

.contentbottom .related-gallery {
	display: flex;
	flex-direction: column;
}
.contentbottom .related-gallery .gallery-item {
	width: 100% !important;
}

.single-case_study .entry-footer .entry-meta,
.single-how_to_guide .entry-footer .entry-meta {
	display: none;
}

.content-sidebar .content {
    width: 650px;
}

@media (min-width: 768px) {
	.sidebar-primary {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
  .contentbottom .related-gallery {
    flex-direction: row;
	}
	
	.contentbottom .related-gallery img {
		height: 200px;
	}
	
}