/* Hidden Inputs */
#custom-mobile-header-trigger,
#custom-mobile-search-trigger,
#custom-mobile-desktop-search-trigger,
.sub-menu-toggle,
#custom-mobile-menu input {
	display: none;
}

/* Desktop Search */
body > #custom-mobile-form-wrapper {
    z-index: 3001;
    text-align: center;
    padding: 30px 30px 30px;
    border: none;
    position: fixed;
    top: 70px;
}
body > #custom-mobile-form-wrapper form {
    margin: 0 auto;   
    border: none;
}

/* The overall wrapper */
#custom-mobile-header {
	width: 100%;
	z-index: 99;
	position: absolute;
	top: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: none;
	max-height: 50px;
}
#custom-mobile-header.mh-sticky-true {
	position: fixed;
	z-index: 3999;
}
body.admin-bar #custom-mobile-header.mh-sticky-true {
	top: 32px;
}
#custom-mobile-header-trigger:checked + #custom-mobile-header {
	max-height: none;
}
#custom-mobile-header.text-light ul li a {
	color: #fff;
}

/* Top Bar: logo, hamburger, search */
#custom-mobile-top-bar {
	padding: 10px;
	pointer-events: auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	border-bottom: 1px solid rgba(85,82,77,.1);
}
	#custom-mobile-top-bar.scroll {
	
	}
	
#custom-mobile-top-bar img,
#custom-mobile-hamburger-trigger,
#custom-mobile-hamburger,
#custom-mobile-search {
	height: 60px; /* Modify this to change logo size */
}	
#custom-mobile-hamburger {
	margin-left: auto;
}
#custom-mobile-top-bar img {
	height: 51px;
	width: auto;
	position: relative;
	top: -7px;
}
	#custom-mobile-top-bar.scroll img {
		
	}
#custom-mobile-top-bar {
	height: 60px;
}
#custom-mobile-hamburger,
#custom-mobile-search {
	width: 35px;
	cursor: pointer;
}
#custom-mobile-search {
	margin-right: 0px;
	position: relative;
}
#custom-mobile-search svg {
	width: 24px;
	position: absolute;
	top: 7px;
	right: 2px;
	transition: opacity 0.2s ease;
}
#custom-mobile-search svg + svg {
    top: 1px;
    right: 2px;
    width: 22px;
}
#custom-mobile-search svg + svg,
#custom-mobile-search-trigger:checked ~ #custom-mobile-header #custom-mobile-search svg {
	opacity: 0;
}
#custom-mobile-search-trigger:checked ~ #custom-mobile-header #custom-mobile-search svg + svg {
	opacity: 1;
}
#custom-mobile-form-wrapper {
	position: absolute;
	top: 60px;
	left: 0;
	pointer-events: none;
	z-index: 3399;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	width: 100%;
	background: inherit;
	transform: translateY(-30px);
	background-color: #f0f0f0;
}
#custom-mobile-top-bar form {
	width: 90%;
	max-width: 100%;
	margin: 5%;
	background-color: #ffffff;
}
#custom-mobile-top-bar form.search-form .search-submit {
	text-align: center;
	background-color: #ffffff !important;
	color: #3a3a37 !important
}
#custom-mobile-top-bar form.search-form .search-input {
	font-size: 19px;
	color: #666666;
}
#custom-mobile-top-bar form.search-form .search-input,
#custom-mobile-top-bar form.search-form .search-submit {
	height: 50px;
	line-height: 50px;
	border: none;
	background: inherit;
}
#custom-mobile-top-bar form.search-form .search-submit i {
	font-size: 20px;
	font-weight: normal;
}
#custom-mobile-top-bar form.search-form .search-input::-webkit-input-placeholder {
	color: #9e9e9e;
}
#custom-mobile-top-bar form.search-form .search-input::-moz-placeholder {
	color: #9e9e9e;
}
#custom-mobile-top-bar form.search-form .search-input:-ms-input-placeholder {
	color: #9e9e9e;
}
#custom-mobile-top-bar form.search-form .search-input:-moz-placeholder {
	color: #9e9e9e;
}

/* The menu itself */
#custom-mobile-menu-container,
#custom-mobile-menu-container .sub-menu {
	pointer-events: none;
	opacity: 0;
	transform: translateY(-30px);
	transition: transform 0.2s ease, opacity 0.2s ease, height 0.2s ease;
	height: 0;
	overflow: hidden;
	z-index: 3003;
}
#custom-mobile-header-trigger:checked + #custom-mobile-header #custom-mobile-menu-container,
#custom-mobile-menu-container input:checked ~ .sub-menu {
	pointer-events: auto;
	opacity: 1;
	transform: translateY(0);
	height: auto;
}
#custom-mobile-menu-container input:checked ~ .sub-menu {
	margin-bottom: 15px;
	border-bottom: none;
}
#custom-mobile-menu-container input:checked ~ .sub-menu ul {
	margin-bottom: 0;
}
#custom-mobile-menu-container input:checked ~ .sub-menu .sub-menu {
	margin-top: 0;
}
#custom-mobile-menu-container li {
	display: block;
	font-weight: bold;
	border-top: none !important;
	border-bottom: 1px solid rgba(85,82,77,.1);
	padding: 0;
	text-align: center;
	position: relative;
	
	font-family: "Jost", "Century Gothic", "Futura", "Gill Sans", "Optima", "Trebuchet MS", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: .15em;
	font-size: 15px;
	font-weight: bold;
}
.layout-left #custom-mobile-menu-container li {
	text-align: left;
}
#custom-mobile-menu-container li li,
.text-dark #custom-mobile-menu-container li li {
	padding: 0;
	font-size: 12px;
	border: none;
}
#custom-mobile-menu-container li a,
#custom-mobile-menu-container li label {
	text-decoration: none;
	padding: 12px 15px;
	display: inline-block;
	width: 100%;
	cursor: pointer;
}
#custom-mobile-menu-container li.menu-item-has-children a {
	width: auto;
}
#custom-mobile-menu-container li li a,
#custom-mobile-menu-container li li label {
	padding: 5px 15px;
	display: block;
}
#custom-mobile-menu-container li li li {
	display: inline-block;
	text-transform: none;
	letter-spacing: normal;
	font-weight: normal;
	margin-bottom: 10px;
}
	#custom-mobile-menu-container li li li a {
		font-size: 13px;
		margin: 0 2px 5px;
		padding: 3px 10px;
		font-family: Georgia, "Source Serif Pro", "Droid Serif", "Iowan Old Style", "Times New Roman", Times, serif;
		border: 1px solid rgba(85,82,77,.1);
	}
#custom-mobile-menu svg,
#custom-mobile-menu input:checked + svg {
	position: absolute;
	right: 10px;
	top: 10px;
	display: none;
	pointer-events: none;
}
#custom-mobile-menu li li svg,
#custom-mobile-menu li li input:checked + svg {
    top: 3px;   
}
#custom-mobile-menu input + svg,
#custom-mobile-menu input:checked + svg + svg {
	display: block;
}

/* Widgets */

.text-light #custom-mobile-widgets-area h5 {
	color: #fff;
}
#custom-mobile-widgets-area h5 {
	margin: 0 0 5px;
}
#custom-mobile-widgets-area center a {
    margin: 0 5px
}
#custom-mobile-widgets-area .social li,
.text-dark #custom-mobile-widgets-area .social li {
	display: inline-block;
	border: none;
}
#custom-mobile-widgets-area .social {
	margin-top: 0px
}
#custom-mobile-widgets-area .social a {
	font-size: 16px;
}
#custom-mobile-widgets-area .social a i.fa-inverse {
	color: #fff;
}
#custom-mobile-widgets-area .subscribe {
	background-color: #F9EBE9;
	padding: 15px 20px 20px;
}
#custom-mobile-widgets-area .subscribe .optin-content {
	background: none;
}
#custom-mobile-widgets-area .email-form {
   
}
#custom-mobile-widgets-area p {

}

/* Animated Hamburger Toggle */
#custom-mobile-hamburger-trigger {
	position: relative;
	top: 10px;
	cursor: pointer;
	width: 30px;
	height: 20px;
}
#custom-mobile-hamburger-trigger span,
#custom-mobile-hamburger-trigger span:before,
#custom-mobile-hamburger-trigger span:after {
	cursor: pointer;
	border-radius: 1px;
	height: 2px;
	width: 30px;
	background: #fff;
	position: absolute;
	top: 8px;
	display: block;
	content: '';
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}
#custom-mobile-hamburger-trigger span:before {
	top: -8px;
}
#custom-mobile-header-trigger:checked + #custom-mobile-header #custom-mobile-hamburger-trigger span {
	background: rgba(0, 0, 0, 0);
}
#custom-mobile-header-trigger:checked + #custom-mobile-header #custom-mobile-hamburger-trigger span:after,
#custom-mobile-header-trigger:checked + #custom-mobile-header #custom-mobile-hamburger-trigger span:before {
	top: 0;
}
#custom-mobile-header-trigger:checked + #custom-mobile-header #custom-mobile-hamburger-trigger span:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#custom-mobile-header-trigger:checked + #custom-mobile-header #custom-mobile-hamburger-trigger span:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* Middle Layout */
.layout-middle {
	text-align: center;
}
.layout-middle #custom-mobile-hamburger {
	margin-left: inherit;
	order: 0;
}
.layout-middle #custom-mobile-logo-link {
	order: 1;
}
.layout-middle #custom-mobile-search {
	order: 2;
}

/* Text Dark */
#custom-mobile-header.text-dark ul li a {
	color: #3a3a37;
}
.text-dark #custom-mobile-hamburger-trigger span,
.text-dark #custom-mobile-hamburger-trigger span:before,
.text-dark #custom-mobile-hamburger-trigger span:after {
	background: #3a3a37;
}
.text-dark #custom-mobile-search i,
.text-dark #custom-mobile-menu-container .menu-item-has-children:before,
.text-dark #custom-mobile-search i,
.text-dark #custom-mobile-top-bar form.search-form .search-input,
.text-dark #custom-mobile-top-bar form.search-form .search-submit {
	color: #3a3a37;
}
.text-dark.active #custom-mobile-hamburger-trigger span {
	background: rgba(0, 0, 0, 0);
}
.text-dark #custom-mobile-form-wrapper {
	border-top: none;
}
.text-dark #custom-mobile-menu-container li {
	border-top: 1px solid rgba(85,82,77,.1);
}
.text-dark #custom-mobile-top-bar form.search-form .search-input::-webkit-input-placeholder {
	color: #3a3a37;
}
.text-dark #custom-mobile-top-bar form.search-form .search-input::-moz-placeholder {
	color: #3a3a37;
}
.text-dark #custom-mobile-top-bar form.search-form .search-input:-ms-input-placeholder {
	color: #3a3a37;
}
.text-dark #custom-mobile-top-bar form.search-form .search-input:-moz-placeholder {
	color: #3a3a37;
}

/* Media Queries */
@media all and ( min-width: 800px ){
	#custom-mobile-header {
		display: none;
	}
	#custom-mobile-desktop-search-trigger:checked ~ #custom-mobile-form-wrapper {
    	opacity: 1;
    	pointer-events: auto;
    	transform: translateY(0);
    }
}
@media all and ( max-width: 799px ){
    #custom-mobile-search-trigger:checked ~ #custom-mobile-header #custom-mobile-form-wrapper {
    	opacity: 1;
    	pointer-events: auto;
    	transform: translateY(0);
    }
    body.admin-bar #custom-mobile-header[data-sticky="true"] {
		top: 46px;
	}
}
@media screen and (max-width: 600px){
	
	html[lang] {
		margin-top: 0 !important;
	}
	
}
@media screen and (max-width: 350px){
	
}