/**
 * Main Navigation Styles
 */

.dropdown-toggle:after,
.dropdown-toggle.toggled-on:after,
.main-navigation .menu-item-has-children > a:after {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-size: 95%;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}

.site-header-menu {
	display: none;
}

.site-header-menu.toggled-on,
.no-js .site-header-menu {
	display: block;
}

.main-navigation {
	font-family: inherit;
}

.site-footer .main-navigation {
	margin-bottom: 1.75em;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	color: #1a1a1a;
	display: block;
	line-height: 1.3125;
	outline-offset: -1px;
	padding: 0.84375em 0;
}

.main-navigation a,
.main-navigation a:hover {
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: #000;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	color: #687179;
}

.main-navigation ul ul {
	display: none;
	margin-left: 0.875em;
}

.no-js .main-navigation ul ul {
	display: block;
}

.main-navigation ul .toggled-on {
	display: block;
}

.main-navigation .primary-menu {
	border-bottom: 1px solid #efefef;
}

.dropdown-toggle {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	color: #1a1a1a;
	content: "";
	height: 49px;
	padding: 0;
	position: absolute;
	right: 0;
	text-transform: none;
	top: 0;
	width: 48px;
}

.dropdown-toggle:after {
	border: 0 solid #efefef;
	border-left-width: 1px;
	content: "\f431";
	left: 1px;
	position: relative;
	width: 48px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background-color: transparent;
	color: #000;
}

.dropdown-toggle:focus {
	outline: thin dotted;
	outline-offset: -1px;
}

.dropdown-toggle:focus:after {
	border-color: transparent;
}

.dropdown-toggle.toggled-on:after {
	content: "\f432";
}

.wp-is-mobile .main-navigation ul ul li {
    background-color: transparent;
}


/**
 * <= 989px
 */

@media screen and (max-width: 989px) {

	.site-branding {
		margin-top: 20px;
	}

	.site-branding img {
		margin: 0 auto;
	}

	.site-header {
		padding: 0;
		padding-bottom: 50px;
	}
	
	.site-description {
		margin-top: 10px;
	}
	
	.site-title {
		font-size: 1.4em;
	}
	
	.site-description {
		font-size: 1em;
	}
	
	.site-title,
	.site-description {
		display: block;
		text-align: center;
	}
	
	.menu-toggle {
		margin: 20px auto 0;
		display: block;
		font-size: 16px;
		font-size: 1.0rem;
		padding: 0.12em 0.75em;
	}
	
	.menu-toggle {
		color: #2c2c2c;
		background-color: #f3f5f7;
	}

	.menu-toggle:hover,
	.menu-toggle:focus {
		color: #fff;
		background: #2c2c2c;
	}
	
	.menu-toggle.toggled-on {
		margin-bottom: 20px;
	}
	
	.menu-toggle:after {
		cursor: pointer;
    		font: normal 26px/1 'Genericons';
    		line-height: 1.5em;
    		display: inline-block;
    		content: "\f419";
	}
	
	button.dropdown-toggle{
		background-color: transparent;
	}
	
	.main-navigation a.search-icon {
		padding: 0.84375em 0;
	}

	.main-navigation li {
		    border-top: 1px solid rgba(222, 222, 222, 0.5);
	}
	
	.main-navigation ul ul li {
		background-color: transparent !important;
	}

}


/**
 * >= 980px
 */

@media screen and (min-width: 61.85em) {

	.site-header-main {
		-webkit-align-items: flex-start;
		-ms-flex-align: start;
		align-items: flex-start;
	}

	.wp-custom-logo .site-header-main {
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}

	.site-header-menu {
		display: block;
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
		    padding-top: 0.15em;
	}

	.main-navigation {
		margin: 0 -0.875em;
	}

	.main-navigation .primary-menu,
	.main-navigation .primary-menu > li {
		border: 0;
	}

	.main-navigation .primary-menu > li {
		float: left;
	}

	.main-navigation a {
		outline-offset: -8px;
		padding: 0.65625em 0.75em;
		white-space: nowrap;
	}

	.main-navigation li:hover > a,
	.main-navigation li.focus > a {
		color: currentColor;
	}

	.main-navigation ul ul {
		font-size: 16px;
		color: #fff;
		display: block;
		left: -999em;
    margin-top: .15em;
		position: absolute;
		width: 200px;
		z-index: 999;
	}

	.main-navigation ul ul ul {
		top: -1px;
	}

	.main-navigation ul ul ul:before,
	.main-navigation ul ul ul:after {
		border: 0;
	}

	.main-navigation ul ul li {
		background-color: #2c2c2c;
	}

	.main-navigation ul ul a {
		white-space: normal;
	}

	.main-navigation ul ul:before {
    		content: "";
    		position: absolute;
    		width: 0;
    		height: 0;
    		border-style: solid;
    		border-width: 0 8px 6px 8px;
    		border-color: transparent transparent #151a1f transparent;
    		bottom: 100%;
		left: 2em;
	}

	.main-navigation ul ul:after {
		border-color: #fff transparent;
		border-width: 0 8px 8px;
		right: 11px;
		top: -7px;
	}

	.main-navigation li:hover > ul,
	.main-navigation li.focus > ul {
		left: 0;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		left: auto;
		    margin: 0;
		right: 100%;
		    top: 0;
	}

	.menu-toggle,
	.dropdown-toggle,
	.main-navigation ul .dropdown-toggle.toggled-on,
	.site-header .social-navigation,
	.site-footer .main-navigation {
		display: none;
	}

	.main-navigation ul ul li > a {
	        	color: #f2f2f2;
	}

	.main-navigation ul ul li:hover > a {
	    	color: #fff;
	}

	.main-navigation .menu-item-has-children > a {
		    margin: 0;
		    padding-right: 1.85em;
	}

	.main-navigation .menu-item-has-children > a:after {
		    content: "\f431";
		    position: absolute;
		    right: .65rem;
		    top: 0.8125em;
	}

	.main-navigation ul ul .menu-item-has-children > a:after {
		right: 0.5625em;
		top: 0.75em;
		-webkit-transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		transform: rotate(90deg);
	}

	.main-navigation ul ul li.current-menu-ancestor > a,
	.main-navigation ul ul li.current-menu-item > a {
		color: #687179;
	}
	
	.flex-row {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
}




/**
 * >= 985px
 */

@media screen and (min-width: 61.5625em) {
}


/**
 * >= 1200px
 */

@media screen and (min-width: 75em) {
}