/* CSS */

.element-invisible {position: absolute !important;clip: rect(1px 1px 1px 1px);clip: rect(1px,1px,1px,1px);}

.separator {padding: 0 5px;}

.clearboth {clear: both;}

.floatLeft {float: left;}
.floatRight {float: right;}

.naw .itemWrapper {display: block;}

.facebook_page_container.responsive_width .fb-page,
.facebook_page_container.responsive_width .fb-page span,
.facebook_page_container.responsive_width .fb-page span iframe {background: #f6f7f8; display: block; overflow: hidden; width: 100% !important; box-sizing: border-box !important;}

img.no-style {margin: 0; padding: 0; border: 0; float: none; border-radius: 0;}

.gallery .gallery-item {text-align: center; margin-top: 1em;}
.gallery .gallery-item dd {margin: 0 1em;}
.gallery-columns-2  .gallery-item {float: left; width: 50%;}
.gallery-columns-3  .gallery-item {float: left; width: 33.3333%;}
.gallery-columns-4  .gallery-item {float: left; width: 25%;}
.gallery-columns-5  .gallery-item {float: left; width: 20%;}
.gallery-columns-6  .gallery-item {float: left; width: 16.6666%;}
.gallery-columns-7  .gallery-item {float: left; width: 14.2857%;}
.gallery-columns-8  .gallery-item {float: left; width: 12.5%;}
.gallery-columns-9  .gallery-item {float: left; width: 11.1111%;}
.gallery-columns-10 .gallery-item {float: left; width: 10%;}

.gallery .gallery-item, .gallery .gallery-item img {box-sizing: border-box;}
.gallery .gallery-item {padding: 2px;}
.gallery .gallery-item img {padding: 2px;}

.entry-post-items .one-per-row {width: 100%;}
.entry-post-items .two-per-row {width: 50%;}
.entry-post-items .three-per-row {width: 33.3333333333%;}
.entry-post-items .four-per-row {width: 25%;}
.entry-post-items .five-per-row {width: 20%;}
.entry-post-items .six-per-row {width: 16.6666666666%;}

.entry-post-items .item {display: inline-block; vertical-align: top;}
.entry-post-items .item .inner {padding: 5px; margin: 5px;}
.entry-post-items .item.one-per-row .inner {margin: 5px 0;}
.entry-post-items.list .item {display: block;}

.entry-images .items .item {float: left; list-style: none;}
.entry-images .items.gallery .item {margin: 0 1em 1em 0;}

div.gform_wrapper ul li.gfield.one-half,
div.gform_wrapper ul li.gfield.one-third,
div.gform_wrapper ul li.gfield.one-fourth,
div.gform_wrapper ul li.gfield.one-fifth,
div.gform_wrapper ul li.gfield.one-sixth,
div.gform_wrapper ul li.gfield.two-thirds,
div.gform_wrapper ul li.gfield.two-fifths {margin-bottom: 20px; clear: none; float: left; margin-left: 2.564102564102564% !important;}

div.gform_wrapper ul li.gfield.one-half.first,
div.gform_wrapper ul li.gfield.one-third.first,
div.gform_wrapper ul li.gfield.one-fourth.first,
div.gform_wrapper ul li.gfield.one-fifth.first,
div.gform_wrapper ul li.gfield.one-sixth.first,
div.gform_wrapper ul li.gfield.two-thirds.first,
div.gform_wrapper ul li.gfield.two-fifths.first {clear: both; margin-left: 0 !important;}

div.gform_wrapper ul li.gfield.one-half.right,
div.gform_wrapper ul li.gfield.one-third.right,
div.gform_wrapper ul li.gfield.one-fourth.right,
div.gform_wrapper ul li.gfield.one-fifth.right,
div.gform_wrapper ul li.gfield.one-sixth.right,
div.gform_wrapper ul li.gfield.two-thirds.right,
div.gform_wrapper ul li.gfield.two-fifths.right {float: right;}

.widget.no-styles {background: transparent !important; border: 0 !important; padding: 0 !important;}

iframe {max-width: 100% !important;}
.adsbygoogle iframe {max-height: none !important;}

@media only screen and (max-height:1000px) {
	iframe {max-height: 750px;}
}
@media only screen and (max-height:850px) {
	iframe {max-height: 500px;}
}
/*@media only screen and (max-width: 767px) {	
	.one-fifth {margin: 0; width: 100%;}
}*/
@media only screen and (max-height:650px) {
	iframe {max-height: 400px;}
}
@media only screen and (max-height:500px) {
	iframe {max-height: 350px;}
}
@media only screen and (max-height:400px) {
	iframe {max-height: 300px;}
}

@media only screen and (min-width:480px) and (max-width:839px) {
	.entry-post-items .three-per-row {width: 33.3333333333%;}
	.entry-post-items .four-per-row {width: 50%;}
	.entry-post-items .five-per-row {width: 50%;}
	.entry-post-items .six-per-row {width: 33.3333333333%;}
}

@media only screen and (max-width:480px) {
	.entry-post-items .two-per-row {width: 100%;}
	.entry-post-items .three-per-row {width: 100%;}
	.entry-post-items .four-per-row {width: 50%;}
	.entry-post-items .five-per-row {width: 50%;}
	.entry-post-items .six-per-row {width: 33.3333333333%;}
}

/* submenu toggle */
nav.toggle-sub-menu {clear: both;}
nav.toggle-sub-menu .sub-menu-toggle,
nav.toggle-sub-menu .menu-toggle {
	display: none;
	visibility: hidden;
	margin: 0 auto;
	overflow: hidden;
	text-align: center;
	box-shadow: none;
	text-transform: none;
	border: 0;
}
nav.toggle-sub-menu button.menu-toggle,
nav.toggle-sub-menu button.sub-menu-toggle {background-color: transparent;}
nav.toggle-sub-menu .menu-toggle:after,
nav.toggle-sub-menu .sub-menu-toggle:after {display: none;}
nav.toggle-sub-menu .menu-toggle:before,
nav.toggle-sub-menu .sub-menu-toggle:before {font-family: "dashicons"; font-weight: normal;}
nav.toggle-sub-menu .sub-menu-toggle {
	padding: 10px 18px;
	line-height: 25px;
	font-size: 26px;
	position: absolute;
	right: 0;
	top: 0;
}
nav.toggle-sub-menu .menu-toggle:before {
	/*position: absolute;*/
	font-size: 25px;
	content: "\f333";
	float: right;
	padding-left: 25px;
}
nav.toggle-sub-menu .menu-toggle.activated:before {/*content: "\2191";*/}
nav.toggle-sub-menu .sub-menu-toggle:before {content: "\f140";}
nav.toggle-sub-menu .sub-menu-toggle.activated:before {content: "\f142";}
nav.toggle-sub-menu .menu {position: relative;}
/*nav.toggle-sub-menu .genesis-nav-menu .menu-item {display: block; position: relative; text-align: left;} 
nav.toggle-sub-menu .genesis-nav-menu .menu-item:hover {position: relative;}
nav.toggle-sub-menu .genesis-nav-menu .sub-menu {clear: both; display: none; opacity: 1; position: static; width: 100%;}
nav.toggle-sub-menu .genesis-nav-menu .sub-menu a {border-left: 0; position: relative; width: auto;}*/
  
/* Facebook in Text widget fixes */
/*.fb_iframe_widget,
.fb_iframe_widget span {display: block; width: auto !important; max-width: 100%; position: relative;}
.fb_iframe_widget iframe {position: static !important; display: block; width: auto !important; max-width: 100%;}*/