/* Remove Slicknav -- temporary */
.slicknav_menu {
	display: none !important;
}

body {
	position: relative;
}

/* The overall wrapper */
#cmh {
	width: 100%;
	z-index: 99;
	top: 0;
	position: fixed;
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: none;
}
#cmh.active {
	position: absolute;
}
#cmh.active.fixed {
	position: fixed;
}
.admin-bar #cmh {
	top: 32px;
}
#cmh.scroll-down {
	transform: translateY(-40px);
	opacity: 0;
}
#cmh.text-light ul li a {
	color: #fff;
}

/* Top Bar: logo, hamburger, search */
#cmtb {
	height: 50px;
	border-bottom: 1px solid #ececec;
}
#cmtb {
	padding: 0 10px 0;
	pointer-events: auto;
}
#cmtb:after {
	content: "";
	display: table;
	clear: both;
}
#cmtb img,
#mt,
#cmhb,
#cms {
	height: 20px; /* Modify this to change logo size */
}
	#cmtb img {
		height: 40px;
		position: relative;
		top: 5px;
	}
#custom-mobile-logo-link {
	float: left;
}
#cmhb,
#cms {
	float: right;
	width: 35px;
	cursor: pointer;
}
#cms {
	margin-right: 10px;
	position: relative;
}
#cms i {
	color: #fff;
	font-size: 21px;
	position: absolute;
	top: 0px;
	right: 2px;
	transition: opacity 0.2s ease;
}
#cms i + i,
#cms.active i {
	opacity: 0;
}
#cms.active i + i {
	opacity: 1;
}
#cms i.fal {
	font-size: 33px;
	top: -7px;
}
#cmfw {
	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);
	border-top: 1px solid rgba( 255, 255, 255, 0.15 );
}
#cmfw.active {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
#cmtb form {
	border: none;
	width: 100%;
}
#cmtb form.search-form .search-submit {
	text-align: right;
	padding-right: 12px;
}
#cmtb form.search-form .search-input {
	font-size: 16px;
}
#cmtb form.search-form .search-input,
#cmtb form.search-form .search-submit {
	height: 40px;
	line-height: 40px;
	border: none;
	background: inherit;
	color: #fff;
}
	#cmtb form.search-form .search-submit {
	width: 40px;}
#cmtb form.search-form .search-submit i {
	font-size: 22px;
}
#cmtb form.search-form .search-input::-webkit-input-placeholder {
	color: #fff;
}
#cmtb form.search-form .search-input::-moz-placeholder {
	color: #fff;
}
#cmtb form.search-form .search-input:-ms-input-placeholder {
	color: #fff;
}
#cmtb form.search-form .search-input:-moz-placeholder {
	color: #fff;
}


/* The menu itself */
#cmmc {
	pointer-events: none;
	opacity: 0;
	transform: translateY(-30px);
	transition: transform 0.2s ease, opacity 0.2s ease;
	border-top: 1px solid rgba( 255, 255, 255, 0.15 );
}
.active #cmmc {
	pointer-events: auto;
	opacity: 1;
	transform: translateY(0);
}
#cmmc .sub-menu {
	display: none;
}
#cmmc .active > .sub-menu {
	margin-top: 5px;
}
#cmmc .active > .sub-menu .sub-menu {
	margin-top: 0;
}
#cmmc li {
	font-family: proximanova;
	display: block;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.15 );
	padding: 9px 0;
	text-align: center;
	position: relative;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.1em;
}
.layout-left #cmmc li {
	text-align: left;
}
#cmmc li li,
.text-dark #cmmc li li {
	padding: 7px 0;
	text-transform: none;
	letter-spacing: none;
	border-bottom: none;
	font-weight: normal;
	letter-spacing: normal;
	font: 95% Georgia, "Times New Roman", Times, serif;
}
#cmmc li a {
	text-decoration: none;
	padding: 0 15px;
}
#cmmc li li ul {
	padding-top: 5px;
	padding-left: 20px;
}
#cmmc li li li {
	font-size: 85%;
	font-style: italic;
	padding: 0;
}
	#cmmc li li li a {
		font-style: italic;
	}
#cmmc .menu-item-has-children {
	cursor: pointer;
}
#cmmc .menu-item-has-children:before {
   content: '\f105';
   font-family: Font Awesome\ 5 Pro;
   font-weight: normal;
   font-style: normal;
   margin: 0 20px 0 0;
   text-decoration: none;
   color: #fff;
   position: absolute;
   right: 0;
}
#cmmc .menu-item-has-children.active:before {
	content: '\f107';
}

/* Widgets */
#cmwa .subscribe {
	border: none;
}
#cmwa > div {
	text-align: center;
	padding: 30px 0 10px;
}
#cmwa > div + div {
	padding-top: 15px;
}
#cmwa > div:last-child {
    padding-bottom: 30px;
    border-bottom: 1px solid #ececec;
}
.text-light #cmwa h5 {
	color: #fff;
}
#cmwa h5 {
	margin: 0 0 5px;
	color: #121212;
}
#cmwa center a {
    margin: 0 5px;
}
#cmwa .social li,
.text-dark #cmwa .social li {
	display: inline-block;
	border: none;
}
	#cmwa .social a {
		color: #ffffff !important;
		font-size: 18px;
		text-decoration: none !important;
		padding: 0 3px;
	}
	.text-dark #cmwa .social a {
		color: #121212 !important;
		font-size: 13px;
	}
#cmwa form {
    margin-left: 15px;
    margin-right: 15px;
}

/* Animated Hamburger Toggle */
#mt {
	position: relative;
	top: 1px;
	cursor: pointer;
	width: 30px;
	height: 20px;
}
#mt span,
#mt span:before,
#mt 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;
}
#mt span:before {
	top: -8px;
}
.active #mt span {
	background: rgba(0, 0, 0, 0);
}
.active #mt span:after,
.active #mt span:before {
	top: 0;
}
.active #mt span:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.active #mt span:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* Middle Layout */
.layout-middle #custom-mobile-logo-link {
	display: block;
	text-align: center;
	float: none;
}
.layout-middle #custom-mobile-logo-link img {
	margin: 0 auto;
}
.layout-middle #cmhb,
.layout-middle #cms {
	float: none;
}
.layout-middle #cmhb,
.layout-middle #cms {
	position: absolute;
	top: 12px;
	right: 13px;
	margin-right: 0;
}
.layout-middle #cms {
	text-align: right;
}
.layout-middle #cmhb {
	right: auto;
	top: 13px;
	left: 12px;
}

.layout-left #cmhb,
.layout-left #cms {
	position: relative;
	top: 15px;
}

.layout-left #cmhb {
	top: 15px;
	margin-left: 10px;
}

/* Text Dark */
#cmh.text-dark ul li a {
	color: #4d4d4d;
}
.text-dark #mt span,
.text-dark #mt span:before,
.text-dark #mt span:after {
	background: #000;
}
.text-dark #cms i,
.text-dark #cmmc .menu-item-has-children:before,
.text-dark #cms i,
.text-dark #cmtb form.search-form .search-input,
.text-dark #cmtb form.search-form .search-submit {
	color: #000;
}
.text-dark.active #mt span {
	background: rgba(0, 0, 0, 0);
}
.text-dark #cmfw {
	border-bottom: 1px solid #ececec;
}
.text-dark #cmmc li {
	border-bottom: 1px solid #ececec;
}
.text-dark #cmtb form.search-form .search-input::-webkit-input-placeholder {
	color: #929292;
}
.text-dark #cmtb form.search-form .search-input::-moz-placeholder {
	color: #929292;
}
.text-dark #cmtb form.search-form .search-input:-ms-input-placeholder {
	color: #929292;
}
.text-dark #cmtb form.search-form .search-input:-moz-placeholder {
	color: #929292;
}

/* Media Queries */
@media all and ( min-width: 800px ){
	#cmh {
		display: none;
	}
}
@media screen and (max-width: 782px){
	.admin-bar #cmh {
		top: 46px;
	}
}
@media screen and (max-width: 600px){
	.admin-bar #cmh {
		top: 0px;
		z-index: 99999999;
	}
	body {
		position: static;
	}
	#wpadminbar {
		display: none;
	}
}