@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
	font-family: "Merriweather", serif;
	font-size: 14px !important;
	line-height: 20px !important;
	color: #333 !important;
	background-color: #fff !important;
}
a {
	color: #00523E;
	text-decoration: none !important;
}
a:hover, a:focus {
	color: #005580;
	text-decoration: underline;
}
a:hover, a:active {
	outline: 0;
}
h1, h2, h3, h4, h5, h6, .lead {
	color: #00523E;
}
h1, h2, h3, h4, h5, h6 {
	margin: 10px 0;
	font-family: inherit;
	text-rendering: optimizelegibility;
}
h3 {
	font-size: 24.5px;
}
h1, h2, h3 {
	line-height: 40px;
}
.container-header .grid-child {
	background: #00402a;
	/* background: #fff; */
	padding: 0;
}
.grid-child {
	max-width: none;
}
.container-header .navbar-brand {
	margin: 0 auto;
}
.container-header .container-nav {
	background: #002314;
}
.container-header nav {
	margin: 0 auto;
}
.container-header .container-nav {
	padding: 10px;
}
.container-header .mod-menu>li>a,
.container-header .mod-menu>li>span {
	color: #cecba4;
}
.footer {
	color: inherit;
	background-color: #fff;
	background-image: none;
	border-top: 1px solid #00523E;
}
.footer .grid-child {
	padding: 1.5rem 7.5em;
}
blockquote {
	padding: 0 0 0 15px;
	margin: 0 0 20px;
	border-left: 5px solid #eee;
}
blockquote p {
	margin-bottom: 0;
	font-size: 17.5px;
	font-weight: 300;
	line-height: 1.25;
}
.lead {
	margin-bottom: 20px;
	font-size: 21px;
	font-weight: 200;
	line-height: 30px;
}
.text-error {
	color: #b94a48;
}
.theme-blackwhite {
	margin: 0 auto;
}
.container-header .container-nav {
	padding: 1px;
}
#jux_megamenu124 .megamenu-wrapper ul.level0>li.megacss.active>a.megacss {
	background: #cecba4;
	color: #03442e !important;
}
.theme-blackwhite.mod_jux_megamenu .megamenu-wrapper ul.level0 > li.megacss span.megacss,
.theme-blackwhite.mod_jux_megamenu .megamenu-wrapper ul.level0 > li.megacss a.megacss {
	color: #cecba4 !important;
}
.mod_jux_megamenu .megamenu-wrapper .megacol {
	background: #002314;
}

/* CONTENT FIXES */

.alignleft {
	float: left;
	padding-right: 10px;
}
.alignright {
	float: right;
	padding-left: 10px;
}

.aligncenter{
	display: block;
	margin: 0 auto;
}

.content h3{
	margin-bottom: 20px;
	font-size: 21px;
	font-weight: 200;
	line-height: 30px;
}

/* CONTENT COLUMNS */

main {
	z-index: 1;
	padding: 25px 0;
	display: block;
	flex: 1;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.row,
.row-wide,
.row-narrow {
	margin-right: auto;
	margin-left: auto;
	max-width: 1300px;
}

.row-narrow {
	max-width: calc(var(--width-narrow) + var(--gutter-size) * 2);
}

.row-wide {
	max-width: calc(var(--width-wide) + var(--gutter-size) * 2);
}

.row:after {
	clear: both;
}

.row:not(.main-inner):before,
.row:not(.main-inner):after {
	display: table;
	flex-basis: 0;
	order: 1;
	content: ' ';
}

.row.main-inner:before,
.row.main-inner:after {
	display: none;
}

.sidebar{
	height: fit-content;
	height: -moz-fit-content;
}

.sidebar img{
	width: 100%;
}

@media screen and (min-width: 768px) {
	.main-inner {
			display: flex;
	}

	.content {
			margin-bottom: 0;
			padding-right: 14px;
			width: 75%;
	}

	.content.full-width {
			padding-right: var(--gutter-size);
			width: 100%;
	}

	.sidebar {
			padding-left: 0;
			width: 25%;
			border: 1px solid #dfe3e7;
			border-radius: 4px;
			padding: 16px;
	}
}

/* MENU CODE */

#desktop-navigation{
	background-color: #002314;
}

.main-navigation-menu {
	margin: 0;
	display: flex;
	justify-content: center;
	padding: 0;
	background-color: #002314;
}

.main-navigation-menu li {
	padding: 0;
	position: relative;
	display: block;
}

.main-navigation-menu > li {
	/* margin-right: 15px; */
	padding: 0;
	border-left: 1px solid #a5a5a5;
}

.main-navigation-menu > li.current_page_item a{
	background: #cecba4;
	color: #03442e;
}

.main-navigation-menu > li:last-of-type {
	margin-right: 0;
}

.main-navigation-menu > li:last-of-type > a {
	margin-right: 0;
}

.main-navigation-menu .sub-menu {
	margin: 0;
	position: absolute;
	top: 100%;
	display: none;
	width: max-content;
	background-color: #002314;
	max-width: 200px;
	padding: 0;
	-webkit-box-shadow: 0px 2px 7px #848484a6;
	box-shadow: 0px 2px 7px #848484a6;
}

@media screen and (min-width:640px){
	.main-navigation-menu > a:hover + .sub-menu,
	.main-navigation-menu > a:focus + .sub-menu,
	.main-navigation-menu > li.active > .sub-menu {
		display: block;
		-webkit-animation: menuslidedown 200ms both;
		animation: menuSlideDown 200ms both;
	}
}


.main-navigation-menu a:focus,
.main-navigation-menu a:hover,
.main-navigation-menu li:hover > a {
	color: var(--color-secondary);
}

.main-navigation-menu > li > a {
	font-size: 0.813rem;
	position: relative;
	display: block;
	height: 100%;
	font-weight: 600;
	line-height: 1;
	color: #cecba4;
	text-transform: uppercase;
	padding: 15px 15px;
}

.main-navigation-menu > li > a:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-secondary);
	transition: all 0.3s ease-in-out;
	opacity: 0;
	visibility: hidden;
}


.main-navigation-menu > li.active > a,
.main-navigation-menu > li > a:hover {
	background-color: #0d0b0b;
	color: #cecba4;
}


.main-navigation-menu > li.active > a:after,
.main-navigation-menu > li > a:hover:after {
	width: 100%;
	opacity: 1;
	visibility: visible;
}

@media screen and (min-width: 1180px) {
	.main-navigation-menu > li {
		/* margin-right: 34px; */
	}
}

/* MENUS > Main Nav Dropdowns (Level 2) */
#desktop-navigation .sub-menu li {
	position: relative;
	cursor: pointer;
}

#desktop-navigation .sub-menu li a {
	padding: 10px 30px 10px 15px;
	display: block;
	font-size: 0.875rem;
	line-height: 1;
	font-weight: 600;
	text-decoration: none;
	color: #cecba4;
	min-width: 200px;
}

#desktop-navigation .sub-menu li.menu-item-has-children > a{
	background: url(/wp-content/themes/paperstreet/images/arrow.png) no-repeat 95% center;
}

#desktop-navigation .sub-menu .menu-item-has-children ul {
	position: absolute;
	top: 0;
	left: 100%;
}

#desktop-navigation .sub-menu .sub-menu .sub-menu {
	display: none !important;
}

.mobile_toggle_container{
	display: none;
}

@media screen and (min-width:640px){
	#desktop-navigation .sub-menu .menu-item-has-children:hover ul,
	.menu-item-has-children.active > .sub-menu {
		display: block;
		-webkit-animation: menuslideright 200ms both;
		animation: menuSlideRight 200ms both;
	}
}

/* MENUS > Mobile Menu */
@media screen and (max-width:640px){
	.mobile_toggle_container{
		display: block;
		background-color: #002314;
	}

	.main-navigation-menu{
		flex-direction: column;
		margin: 0 auto;
		/* width: fit-content;
		width: -moz-fit-content; */
	}

	.main-navigation-menu .sub-menu,
	#desktop-navigation .sub-menu .menu-item-has-children ul{
		position: initial;
		box-shadow: none;
	}

	#desktop-navigation .sub-menu li a{
		padding-left: 20px;
	}

	.main-navigation-menu li.menu-item-has-children{
		position: relative;
	}

	.submenu-toggle {
		position: absolute;
		right: 0;
		top: 0;
		font-size: 1.5rem;
		line-height: 1;
		color: #cecba4;
		cursor: pointer;
		z-index: 2;
		height: 100%;
		max-height: 43px;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		align-items: center;
		padding: 0 5px;
	}
	.submenu-toggle::before {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    color: #cecba4;
}
	.submenu-toggle.open::before{
		content: '-';
	}

	#desktop-navigation .sub-menu li.menu-item-has-children > a{
		background: none;
	}

	#desktop-navigation .sub-menu .sub-menu a{
		padding-left: 25px;
	}

	.menu_toggle {
		display: inline-block;
		cursor: pointer;
		background: none;
		border: none;
		padding: 10px;
		width: 100%;
	}
	
	.menu_toggle span {
		display: block;
		width: 25px;
		height: 3px;
		margin: 5px auto;
		background: #fff;
		transition: all 0.3s ease;
	}

	#desktop-navigation{
		display: none;
	}

	.main-navigation-menu .sub-menu{
		width: 100%;
		max-width: 100%;
	}
}

/* CONTACT FORM */

.gfield{
	margin-bottom: 15px;
}

.gfield input{
	height: 45px;
	width: 100%;
	margin-top: 10px;
}

.gfield textarea{
	width: 100%;
	margin-top: 10px;
}

input[type=submit] {
	padding: 10px 16px;
	background-color: #112855;
	color: #fff;
	font-size: 16px;
	border-radius: 4px;
}

.gform_required_legend{
	display: none;
}

@media screen and (min-width:640px){
	 .gfield{
		display: grid;
		grid-template-columns: 1fr 3fr;
		width: 100%;
	}

	.gform_footer{
		padding-left: 25%;
	}

	.sidebar .gfield{
		display: block;
	}

	.sidebar .gform_footer{
		padding-left: 0;
	}
}