/*------------------------------------*\
 # GLOBAL
\*------------------------------------*/



p > a {
	overflow-wrap: break-word;
	word-wrap: break-word;
}



/*------------------------------------*\
 # HEADER
\*------------------------------------*/



#header,
#header.header-small,
#header.text-dark {
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1d4278), color-stop(70%, #1b6cac));
	background-image: -webkit-linear-gradient(top, #1d4278 0, #1b6cac 70%);
	background-image: -o-linear-gradient(top, #1d4278 0, #1b6cac 70%);
	background-image: linear-gradient(180deg, #1d4278 0, #1b6cac 70%);
	background-color: #1b6cac;
	border-bottom: none;
	line-height: inherit;
	padding: 0;
}

#header .row,
#header .row * {
	-webkit-box-sizing: border-box;
					box-sizing: border-box;
}

#header .row {
	line-height: normal;
}

#header .row:first-child {
	-webkit-box-align: center;
		 -ms-flex-align: center;
				align-items: center;
	-webkit-box-shadow: 0 7px 12px rgba(0, 0, 0, 0.4);
					box-shadow: 0 7px 12px rgba(0, 0, 0, 0.4);
}

#header .row > div:first-of-type {
	-webkit-box-sizing: content-box;
					box-sizing: content-box;
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 96px;
}

@media (max-width: 1024px) {
	#header .row:first-child {
		display: block;
		padding-top: 30px;
	}

	#header .row:last-of-type > div:first-of-type {
		padding: 0;
	}
}

@media handheld, only screen and (max-width: 1024px) {
	#header.header-large,
	#header.header-small {
		background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1d4278), color-stop(70%, #1b6cac));
		background-image: -webkit-linear-gradient(top, #1d4278 0, #1b6cac 70%);
		background-image: -o-linear-gradient(top, #1d4278 0, #1b6cac 70%);
		background-image: linear-gradient(180deg, #1d4278 0, #1b6cac 70%);
		background-color: #1b6cac;
	}
}

@media only screen and (max-width: 767px) {
	#header .row > div:first-of-type {
		padding: 0 24px
	}
}

/**
 * Logo
 */

#header #logo-title,
#header.header-large #logo-title,
#header.header-small #logo-title {
	float: none;
	height: auto; /* Override parent theme */
	position: static;
}

#header #logo,
#wrap #header #logo {
	float: none;
	margin-left: 0;
	position: static;
	top: auto;
	-webkit-transform: none;
			-ms-transform: none;
					transform: none;
	white-space: nowrap;
	width: auto;
	height: 140px;
}

#header #masthead {
	float: none;
	margin: 0;
	padding: 0;
	position: static;
	top: auto;
	-webkit-transform: none;
			-ms-transform: none;
					transform: none;
}

span.logo_helper {
	display: inline-block;
	vertical-align: middle;
	width: 0;
	height: 100%;
}

#header #logo img {
	display: inline-block;
	float: none;
	margin: 0;
	max-width: 90%;
	max-height: 90%;
	position: static;
	top: auto;
	-webkit-transform: none;
			-ms-transform: none;
					transform: none;
	vertical-align: middle;
}

@media (max-width: 1024px) {
	.row .four {
		float: none;
	}

	#header #logo,
	#wrap #header #logo {
		height: 100px;
	}

	span.logo_helper {
		display: none;
	}
}

/**
 * Tagline
 */

#header #tagline {
	color: #fff;
	font-family: Georgia, serif;
	font-size: 2.125rem; /* 34px */
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1.1;
	margin-top: 3.5%;
	max-width: 60%;
	position: absolute;
	top: 0;
	right: 35px;
}

@media (max-width: 1024px) {
	#header #tagline {
		margin: 25px 0 30px;
		max-width: 1180px;
		padding: 0 96px;
		position: static;
	}
}

@media (max-width: 960px) {
	#header #tagline {
		font-size: 1.5rem; /* 24px */
	}
}

@media only screen and (max-width: 767px) {
	#header #tagline {
		padding: 0 24px
	}
}

/**
 * Top menu
 */

div#top-menu {
	background-color: rgba(255, 255, 255, 0.6);
	border-radius: 0;
	border-bottom-right-radius: 15px;
	border-bottom-left-radius: 15px;
	font-size: 12px;
	height: 25px;
	padding: 3px 20px 0;
	position: absolute;
	top: 0;
	right: 35px;
	z-index: 100;
}

#header #menu-top-menu {
	font-weight: 600;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}

.top-menu li {
	display: inline-block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.top-menu li:last-child {
	margin-right: 0;
}

.top-menu li a {
	color: #1b6cac;
	text-decoration: none;
}

/**
 * Primary menu
 */

#navigation {
	float: none;
	font-family: Georgia, serif;
	padding: 0;
	width: 100%;
}

.menu {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.menu li {
	 -webkit-box-flex: 1;
	-ms-flex-positive: 1;
				 	flex-grow: 1;
}

#header .menu a,
#header .menu a:link,
#header .menu a:visited {
	-webkit-transition: opacity 0.25s;
			 -o-transition: opacity 0.25s;
			 		transition: opacity 0.25s;
}

#header.header-large #navigation .menu > li > a,
#header.header-small #navigation .menu > li > a {
	line-height: normal;
	margin: 0;
	padding: 18px 25px;
}

#header.header-large #navigation .menu > li:first-child > a,
#header.header-small #navigation .menu > li:first-child > a {
	padding-left: 0;
}

#header.header-large #navigation .menu > li:last-child > a,
#header.header-small #navigation .menu > li:last-child > a {
	padding-right: 0;
}

#header.text-dark .site-title a,
#header.text-dark .menu a,
#header.text-dark .menu a:link,
#header.text-dark .menu a:visited,
#header.text-dark .menu-toggle,
#header.text-dark .menu-toggle:before {
	color: #fff;
}

#header.text-dark .menu a:hover,
#header.text-dark .menu a:link:hover {
	opacity: 0.8;
}

/**
 * Dropdown
 */

.menu ul.sub-menu,
.menu ul.children {
	border-radius: 0;
}

.header-large .menu li:hover ul,
.header-large .menu li.sfHover ul {
	margin-top: 0;
}

#wrap .menu li li a,
#wrap .menu li li a:link,
#wrap .menu li li a:visited {
	color: #fff !important;
}

/**
 * Mobile menu
 */

#wrap #header .menu-toggle:before {
	color: #fff;
}

@media (max-width: 1024px) {
	.mobile-menu a {
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		color: #fff !important;
		font-size: 1rem;
		padding: 8px 0;
	}

	.mobile-menu li li a:before {
		content: none;
	}

	.mobile-menu a:hover {
		color: #fff !important;
		opacity: 0.7px;
	}
}



/*------------------------------------*\
 # POSTS
\*------------------------------------*/



.blog-holder,
.archive-holder {
	background: #dcf3f9;
}

.blog-holder .wp-caption,
.archive-holder .wp-caption {
	background: rgba(255, 255, 255, 0.7);
}



/*------------------------------------*\
 # SIDEBAR
\*------------------------------------*/



.sidebar.left li.ajdg_grpwidgets {
	list-style: none;
}



/*------------------------------------*\
 # INPUT
\*------------------------------------*/



#subscribe-email input {
	background: #fff;
	border: 2px solid rgba(0, 0, 0, 0.4);
	border-radius: 24px;	color: #999;
	height: 36px;
	line-height: 36px;
	margin: 0;
	padding: 0 8px !important;
	width: 100% !important;
}

#subscribe-submit input[type='submit'] {
	-webkit-appearance: none;
		 -moz-appearance: none;
					appearance: none;
	background: none;
	background-color: transparent;
	border: 2px solid rgba(0, 0, 0, 0.4);
	border-radius: 24px;
	color: #999;
	cursor: pointer;
	font-family: 'Montserrat';
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.8;
	margin: 0;
	padding: 6px 24px;
	text-transform: uppercase;
}

.container form input[type='submit']:hover {
	border: 2px solid #333;
	color: #333 !important;
	text-decoration: none;
}
