/* 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 {
    background-color: #eaf4f4;
    text-align: center;
    padding: 50px 0 30px;
}
body > #custom-mobile-form-wrapper form {
    margin: 0 auto;   
}

/* The overall wrapper */
#custom-mobile-header {
	width: 100%;
	z-index: 299;
	position: absolute;
	top: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: none;
	max-height: 50px;
}
#custom-mobile-header[data-sticky="true"] {
	position: fixed;
}
#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 {
	pointer-events: auto;
	border-bottom: 1px solid #EFEFEE;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
#custom-mobile-top-bar img,
#custom-mobile-hamburger-trigger,
#custom-mobile-hamburger,
#custom-mobile-search {
	height: 50px; /* Modify this to change logo size */
}	
#custom-mobile-hamburger {
	margin-left: auto;
}
#custom-mobile-top-bar img {
	height: 32px;
	width: auto;
	position: relative;
	top: 5px;
}
#custom-mobile-top-bar {
	height: 50px;
}
#custom-mobile-hamburger,
#custom-mobile-search {
	padding: 10px;
	width: 35px;
	cursor: pointer;
}
#custom-mobile-search {
	padding: 10px;
	margin-right: 0px;
	position: relative;
}
#custom-mobile-search svg {
	width: 24px;
	position: absolute;
	top: 11px;
	right: 10px;
	transition: opacity 0.2s ease;
}
#custom-mobile-search svg + svg {
    top: 6px;
	right: 10px;
    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: 50px;
	left: 0;
	pointer-events: none;
	z-index: 99;
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	width: 100%;
	background: inherit;
	transform: translateY(-30px);
	background-color: #eaf4f4;
}
#custom-mobile-top-bar form {
	width: 94%;
	max-width: 100%;
	margin: 4%;
	background-color: #ffffff;
}
#custom-mobile-top-bar form.search-form .search-submit {
	color: #ffffff !important;
	background-color:#1d7e86 !important;
	width: 90px;
}
#custom-mobile-top-bar form.search-form .search-input {
	font-size: 17px;
	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;
}
#custom-mobile-top-bar form.search-form .search-submit i {
	display: none;
}
#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;
	border-bottom: 1px solid #EFEFEE;
	height: 0;
}
#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: 5px;
}
#custom-mobile-menu-container input:checked ~ .sub-menu .sub-menu {
	margin-top: 0;
}
#custom-mobile-menu-container li {
	display: block;
	font-weight: bold;
	border-bottom: 1px solid #EFEFEE;
	padding: 0;
	text-align: center;
	position: relative;
	font-family: "kanyon", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: .15em;
	font-size: 15px;
}
.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: 13px;
	border: none;
}
#custom-mobile-menu-container li a,
#custom-mobile-menu-container li label {
	text-decoration: none;
	padding: 14px 15px 10px;
	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;
}
#custom-mobile-menu-container li li li {
	font-size: 12px;
	opacity: 0.7
}
#custom-mobile-menu svg,
#custom-mobile-menu input:checked + svg {
	position: absolute;
	right: 10px;
	top: 13px;
	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 */
#custom-mobile-widgets-area > div {
	text-align: center;
	padding: 30px 0 10px;
}
#custom-mobile-widgets-area > div + div {
	padding-top: 15px;
}
#custom-mobile-widgets-area > div:last-child {
    padding-bottom: 30px;
}
.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 .email-form {
    margin-left: 20px;
    margin-right: 20px;
}
#custom-mobile-widgets-area p {
	color: #ffffff;
	margin: 0 0 5px;
	font-size: 13px;
}

/* Animated Hamburger Toggle */
#custom-mobile-hamburger-trigger {
	position: relative;
	top: 5px;
	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: #4a4a4d;
}
.text-dark #custom-mobile-hamburger-trigger span,
.text-dark #custom-mobile-hamburger-trigger span:before,
.text-dark #custom-mobile-hamburger-trigger span:after {
	background: #4a4a4d;
}
.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: #aeaead;
}
.text-dark.active #custom-mobile-hamburger-trigger span {
	background: rgba(0, 0, 0, 0);
}
.text-dark #custom-mobile-form-wrapper {
	border-top: none;
	border-bottom: 1px solid #EFEFEE;
}
.text-dark #custom-mobile-menu-container li {
	border-bottom: 1px solid #EFEFEE;
}
.text-dark #custom-mobile-top-bar form.search-form .search-input::-webkit-input-placeholder {
	color: #4a4a4d;
}
.text-dark #custom-mobile-top-bar form.search-form .search-input::-moz-placeholder {
	color: #4a4a4d;
}
.text-dark #custom-mobile-top-bar form.search-form .search-input:-ms-input-placeholder {
	color: #4a4a4d;
}
.text-dark #custom-mobile-top-bar form.search-form .search-input:-moz-placeholder {
	color: #4a4a4d;
}

/* 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);
    	position: absolute;
		z-index: 1000;
		top: 120px;
		padding: 50px;
		width: 100%;
		margin: 0 auto;
		box-shadow: 0 0 5px rgba(0,0,0,.15);
    }
		#custom-mobile-desktop-search-trigger:checked ~ #custom-mobile-form-wrapper:before { 
			bottom: 100%; 
			right: 20%; 
			border: solid transparent; 
			content: " "; 
			height: 0; 
			width: 0; 
			position: absolute; 
			pointer-events: none; 
			border-color: rgba(222, 66, 111, 0); 
			border-bottom-color: #f7f6f3; 
			border-width: 10px; 
			margin-left: -10px; 
			display: none;
		}
    
	#custom-mobile-form-wrapper .search-form .search-field {
		height: 70px;
		line-height: 70px;
		font-size: 20px;
		padding-left: 20px;
	}
	#custom-mobile-form-wrapper .search-form .search-submit {
		height: 70px;
		line-height: 70px;
		z-index: 2002;
	}
}
@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);
    }
}
@media screen and (max-width: 600px){
	#wpadminbar {
		display: none;
	}
	html[lang] {
		margin-top: 0 !important;
	}
}

@media all and ( max-width: 380px ) {
	
}