@import url("fonts.css");
@import url("events.css");

/*#region variables */

/*
food HQ: #28B999
construction HQ: #D14A41
water HQ: #52ABD2
health HQ: #F7DA64
industry HQ: #D6D6D6
*/

:root {
	--brand-color: #52ABD2;
	--gray1: #95969a;
	--gray2: #e4e4e4;
	--gray3: #cecece;
	--gray4: #706f74;
	--gray5: #b7b7b7; 
	--margin-before-sections: 55px;
	--overlay-background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
	--narrow-margin: 35px;
}

/*#endregion */

/*#region reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	/*border: 0;*/
	font-size: 100%;
	font-family: exo_2medium; /*exo_2light Arial*/
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

/*#endregion */

/*#region bare elements */

a {
	transition: border-bottom-color 0.2s ease, color 0.2s ease;
	text-decoration: none;
	color: #D14A41;
}

	a:hover {
		/*color: #2a5135 !important;*/
		color: #D14A41 !important;
	}

h2 {
	text-align: center;
	font-size: 2em;
	color: #D14A41;
	padding: 23px 0;
}

input[type=text]::placeholder {
	color: #cecece;
}

input[type=submit] {
	padding: 12px 40px;
	color: white;
	border: none;
	background-color: #D14A41;
	display: block;
	margin: 20px auto;
	text-align: center;
	font-size: 1.1em;
	transition: all 0.2s ease;
}
	input[type=submit]:hover {
		color: #D14A41;
		background-color: #cecece;
	}

/*#endregion */

/*#region common */

.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.hide {
	display: none;
}

.outer-gray {
	background-color: #e4e4e4;
}
.outer-gray2 {
	background-color: #f5f5f5
}

a.button {
	color: white;
	width: 150px;
	line-height: 33px;
	background-color: #D14A41;
	display: inline-block;
	text-align: center;
	font-size: 1.1em;
}

	a.button:hover {
		color: #D14A41;
		background-color: #cecece;
	}
	
	.connect {
    background-color: #92342e !important;
    transition: all 0.3s ease;
}
	.connect:hover {
		background-color: #cecece !important;
	}                                                                                                                        

p.success-message {
	padding-left: 60px;
	background: no-repeat left 10px;
	background-size: 30px 30px;
	background-image: url(~/assets/contact-us-inqury.png);
	color: green;
	font-weight: bold;
}
p.error-message {
	color: red;
	font-weight: bold;
}
.validation-messages > * {
	display: block;
	color: red;
}

a.image {
	overflow: hidden;
}

	a.image img {
		-moz-transition: -moz-transform 0.2s ease;
		-webkit-transition: -webkit-transform 0.2s ease;
		-ms-transition: -ms-transform 0.2s ease;
		transition: transform 0.2s ease;
	}

	a.image:hover img {
		-moz-transform: scale(1.075);
		-webkit-transform: scale(1.075);
		-ms-transform: scale(1.075);
		transform: scale(1.075);
	}

.no-results {
	color: red;
	font-size: 1.3em;
	text-align: center;
}

	.no-results img.error {
		vertical-align: text-bottom;
		width: 30px;
		margin-right: 10px;
	}

/*#endregion */

/*#region header */

#header {
	margin-top: 20px;
}
	#header .inner {
		margin-top: 20px;
		position: relative;
	}

	#header img.logo {
		width: 17em;
	}

.social-icons {
	float: right;
	display: flex;
	align-items: center;
	height: 38px;
}

	.social-icons a {
		cursor: pointer;
	}
	/*.social-icons a:not(:first-child) {*/
	/*	margin-left: 4px;*/
	/*}*/

	/*.social-icons a img {*/
	/*	background-color: #cecece;*/
	/*}*/

	.social-icons a:hover img {
		background-color: #D14A41;
	}

	#header a.button {
		float: right;
		margin-right: 8px;
	}

	#header .links {
		margin-top: 30px;
		border-bottom: 1px solid #D14A41;
		text-align: justify;
		height: 2.6em;
	}

		#header .links a {
			color: #a9a9a9;
			padding: 0px 0.8em;
			padding-bottom: 16px;
			font-weight: normal;
			font-size: 1.1em;
			display: inline-block;
			zoom: 1;
		}

		#header .links a:hover, #header .links a.selected {
			color: #D14A41;
			border-bottom: 4px solid #D14A41;
		}

		#header .links span.stretch {
			width: 100%;
			display: inline-block;
			font-size: 0;
			line-height: 0;
		}

	/*#endregion */

/*#region Search  */

.search-box {
	text-align: right;
}

	.search-box input[type=text] {
		height: 26px;
		margin-right: 5px;
	}

/*#endregion */


/*#region burger menu */

#btnBurger {
	transition: opacity 0.3s;
	position: fixed;
	top: 0;
}
a.burger-button-pressed {
	opacity: 0.6;
}

#burger-menu {
	display: none;
	background: white;
	border: 1px solid darkgray;
	border-radius: 3px;
	transition: all 0.5s;
	position: absolute;
	width: 100%;
	margin-left: -1000px;
	margin-top: 15px;
	z-index: 10000;
	height: 100%;
	overflow: scroll;
}

#burger-menu > a {
	display: block;
	color: #cecece;
	text-align: center;
	font-weight: bold;
	padding: 15px 0;
}
#burger-menu > a:not(:last-child) {
	border-bottom: 1px solid lightgray;
}
	#burger-menu > a.selected {
		color: #D14A41;		
	}

#burger-menu .button2 {
	display: block;
	color: #D14A41;
	background: #e4e4e4;
	width: 100%;
}
	#burger-menu .button2:hover {
		color: #e4e4e4 !important;
		background: #D14A41;
	}

	.burger-menu-opened {
	padding-left: 1000px;
}

#burger-menu .social-icons {
	width: calc(100% - 20px);
	float: none;
	display: block;
	text-align: justify;
	margin: 15px auto 0 auto;
}

	#burger-menu .social-icons a {
		width: 11%;		
		display: inline-block;
	}

		#burger-menu .social-icons a.stretch {
			width: 100%;
			display: inline-block;
			font-size: 0;
			line-height: 0;
		}

		#burger-menu .social-icons a img {
			width: 100%;
			text-align: center;
		}

#burger-menu .copyright {
	color: #95969a;
	display: block;
	text-align: center;	
}

/*#endregion */

/*#region Footer */

/*#region sister-publications */
.sister-publications {
	background-color: white;
	text-align: center;
	height: 400px;
}

	.sister-publications header {
		margin-top: 55px;
		margin-bottom: 20px;
	}

	.sister-publications article {
		float: left;
		text-align: center;
		width: 33.3%;
	}

	.sister-publications img {		
		max-width: 90%;
	}	

/*#endregion */

/*#region Subscribe */

.subscribe-newsletter {
	text-align: center;
	padding-bottom: 40px;
	margin-top: 55px;
}

	.subscribe-newsletter h2 {
		color: white;
		padding: 40px 0;
	}

	.subscribe-newsletter .email {
		width: 50%;
		height: 50px;
		border: none;
		font-size: 1.4em;
		padding: 0 5px;
		margin-right: 15px;
		vertical-align: middle;
	}

	.subscribe-newsletter .button {
		display: inline-block;
		width: auto;
		
		font-size: 1.4em;
		vertical-align: middle;
	}

/*#endregion */

/*#region bottom bar */

.footer-bar {
	padding: 40px 0;
}

	.footer-bar .copyright {
		color: #95969a;
		float: left;
	}

	.footer-bar .social-icons {
		display: block;
		text-align: right;
		vertical-align: middle;
		margin-top: -5px;
		width: 300px;
	}

	.footer-bar .footer-links {
		display: inline-block;
		text-transform: uppercase;
	}

		.footer-bar .footer-links a {
			color: #95969a;
			padding: 0 10px;
		}

	.footer-bar > .inner > div {
		text-align: center;
	}

/*#endregion */

/*#endregion */

/*#region articles */

/*#region common */

div.articles-group a {
	color: #95969a;
	text-decoration: none;
}

articles-group p {
	font-family: exo_2light;
}

.articles-group {
	margin-top: 55px;
}

.articles-group:first-child {
	margin-top: 0;
}

	.articles-group header {
		border-bottom: 2px solid #f8931d;
	}

		.articles-group header a {
			border: 1px solid #f8931d;
			border-bottom: none;
			background-color: #f8931d;
			padding: 10px 17px 7px 17px;
			color: white;
			font-weight: bold;
			font-size: 1.2em;
			text-transform: uppercase;
			display: inline-block;
			cursor: pointer;
		}

			div.articles-group header a:hover {
				color: #f8931d !important;
				border: 1px solid #f8931d;
				border-bottom: none;
				background-color: white;
			}

	.articles-group > section {
		margin: 0px;
		display: flex;
		flex-wrap: wrap;
		position: relative;
	}

	.articles-group a.image {
		width: 100%;
		margin: 0px;
	}
	.articles-group img {
		width: 100%;
		margin: 0px;
	}

.articles-group article {
	margin: 1.5em 0px;
	color: #95969a;
	overflow: hidden; /* fixes img transitions */
}

/*#endregion*/

/*#region Promoted Article */

.promoted-article {
	display: block;
	position: relative;
	margin-bottom: 35px;
	min-height: 100px;
	color: white !important;
	max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

	.promoted-article > .captions {
		background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
		height: 100%;
		position: absolute;
		bottom: 0px;
		color: white;
		width: 100%;
	}

		.promoted-article > .captions > div {
			position: absolute;
			bottom: 0;
			padding-left: 25px;
			padding-bottom: 20px;
		}

		.promoted-article > .captions h2 {
			margin: 0;
			font-size: 3em;
			font-weight: normal;
			text-transform: uppercase;
			text-align: left;
			color: white;
		}

		.promoted-article > .captions h4 {
			margin: 5px 0 0 0;
			font-weight: normal;
			font-size: 2em;
		}

/*#endregion*/

div.articles-group article.style1 > .content {
	position: relative;
}

.articles-group .style1 > .content > .title {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px;
	width: calc(100% - 20px);
	height: 100%;
	color: white !important;
	background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
}

.articles-group .style1 h4 {
	font-family: exo_2light;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 1.2em;
	position: absolute;
	bottom: 10px;
	margin: 0;
}


.articles-group .style1 img.wide {
	display: block;
}

.articles-group .style1 img.normal {
	display: none;
}

div.articles-group article.style1,
div.articles-group article.style3 {
	width: 50%;
}
div.articles-group article.style2 {
	width: calc(25% - 1.5em);
	margin-left: 1.5em;
}
div.articles-group article.style2 h4 {
	margin-top: 0.4em;
}

div.articles-group article.style2:nth-child(5) h4,
div.articles-group article.style2:nth-child(6) h4 {
	margin-top: 0;
}



div.articles-group article.style3 img {
	width: 51%;
	float: left;
	margin-right: 0.75em;
}

div.articles-group h4 {
	margin-bottom: 0.5em;
	font-weight: bold;
	font-size: 1.1em;
}

.articles-group .excerpt {
	font-size: 1em;
	text-align: justify;
	height: 143px; /*150*/
	overflow: hidden;
	text-overflow: clip;
	position: relative;
}

	.articles-group .excerpt:before {
		pointer-events: none;
		content: '';
		width: 100%;
		height: 143px;
		position: absolute;
		left: 0;
		top: 0;
		background: linear-gradient(transparent 70px, white);
	}

div.articles-group article.style1 > .excerpt {
	margin-top: 20px;
}


/*#endregion */

/*#region ads */
#wrapper > .leaderboard > .inner {
	width: 100%;
	max-width: 34em;
	margin: 20px auto;
	padding: 0 2.5em;
}

.billboard {
	display: block;
	text-align: center;
	margin: 100px 0;
}
	.billboard img {
		max-height: 270px;
	}

.leaderboard img {
	width: 100%;
}

	.leaderboard img.normal {
		display: block;
	}

	.leaderboard img.mobile {
		display: none;
	}

.mpu a {
	width: 100%;
	height: 100%;
	display: inline-block;
}

/*#endregion */

/*#region Content Page  */

.content-page ul {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-left: 15px;
}

.content-page li {
	padding-left: 1em;
	text-indent: -15px;
	margin-bottom: 0px;
	color: #95969a;
}

	.content-page li::before {
		content: "• ";
		color: #D14A41;
		font-size: 30px;
	}

.content-page h1, strong {
	color: #D14A41;
}

.content-page h1 {
	font-size: 2em;
}

.content-page p {
	margin: 25px 0 5px 0;
	color: #95969a;
}

.content-page img {
	width: 100%;
}

.content-page .media-info-link {
	float: right;
	width: 250px;
	margin: 20px;
}

/*#endregion */

/*#region Promo Plans */
.promo-plans {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
}

	.promo-plans table {
		width: 100%;
		margin: 0px;
		text-align: center;
	}

		.promo-plans table:not(:first-child) {
			border-left: 5px solid white;
		}

		.promo-plans table thead {
			background-color: #D14A41;
			color: white;
			font-weight: normal;
			font-size: 1.4em;
		}

			.promo-plans table thead tr td {
				position: relative;
			}

			.promo-plans table thead tr:nth-child(2) td {
				padding-top: 80px;
				padding-bottom: 10px;
			}

			.promo-plans table thead tr:nth-child(3) td {
				padding-bottom: 5px;
			}

			.promo-plans table thead tr.title div {
				margin-top: 15px;
				height: 50px;
				line-height: 50px;
				vertical-align: middle;
				color: white;
				position: absolute;
				width: 100%;
			}

			/*.promo-plans table thead tr.title div:first-child { background: #2060a1; }*/
			.promo-plans table:nth-child(1) thead tr.title div:first-child {opacity: 0.3; }
			.promo-plans table:nth-child(2) thead tr.title div:first-child {opacity: 0.5; }
			.promo-plans table:nth-child(3) thead tr.title div:first-child {opacity: 0.7; }
			.promo-plans table:nth-child(4) thead tr.title div:first-child {opacity: 1; }

		.promo-plans table tbody {
			color: #95969a;
		}

			.promo-plans table tbody tr:nth-child(2n+1) {
				background-color: #fafafa;
			}

			.promo-plans table tbody tr:nth-child(2n) {
				background-color: #f0f0f0;
			}

			.promo-plans table tbody td {
				height: 60px;
				vertical-align: middle;
				font-size: 1.2em;
			}

		.promo-plans table td:empty {
			height: 60px;
		}

/*#endregion */



/*#region Share */
.share-content {
	font-weight: bold;
	width: 200px;
	color: #D14A41;
	font-size: 1em;
	line-height: 32px;
}

/*#endregion */

/*#region Large */
#wrapper > * > .inner {
	width: calc(100% - 40px);
	max-width: 1200px;
	margin: 0 auto;
}

#header .burger {
	display: none;
}

#header .burger img {
	width: 30px;
	height: 30px;	
}

/*#endregion */

/*#region Medium */

	@media screen and (max-width: 1200px) {
		#header .links a {
			padding-left: 0px;
			padding-right: 0px;
		}

		/*#region Promoted Article */

		.promoted-article > .captions h2 {
			font-size: 4vw;
			margin-bottom: -20px;
		}

		.promoted-article > .captions h4 {
			font-size: 3vw;
		}

		/*#endregion*/
	}

/*#endregion */

/*#region 2-Column */

@media screen and (max-width: 1000px) {

	/*#region 2-Column */

	div.articles-group article.style1,
	div.articles-group article.style3 {
		width: 100%;
	}

	div.articles-group article.style2 {
		width: calc(50% - 1em);
	}

	.articles-group article.style2:nth-child(2),
	.articles-group article.style2:nth-child(3) {
		display: none;
	}
	
	/*.articles-group article.style2:nth-child(2),*/
	.articles-group article.style2:nth-child(5) {
		margin-left: 0px;
	}

	/*.articles-group article.style2:nth-child(3),*/
	.articles-group article.style2:nth-child(6) {
		margin-left: 2em;
	}

	.articles-group article.style3 img {
		width: 43% !important;
	}
	.articles-group article.style2:nth-child(2),
	.articles-group article.style2:nth-child(3)
	{
		display: none;
	}

	/*#endregion */
	.articles-group .excerpt {
		max-height: 210px;
	}
	/*.articles-group .style3 .excerpt {
		height: 300px;
	}*/

	a.button {
		width: 100px;
	}

	/*#region Footer */

	.footer-bar {
		padding-bottom: 20px;
	}

	.footer-bar .copyright {
		margin-top: 23px;
		display: block;
		float: none;
		text-align: center;
	}

	.footer-bar > .inner > div {
		text-align: left;
	}

	/*#endregion */
}

/*#endregion */

/*#region Small */

@media screen and (max-width: 776px) {

	.sister-publications {
		height: auto;
	}

		.sister-publications article {
			float: none;
			display: block;
			text-align: center;
			width: 100%;
		}

	/* make ad full width */
	#wrapper > .leaderboard > .inner {
		width: calc(100% - 40px);
		max-width: none;
		margin: 15px auto;
		padding: 0;
	}

	/*#region header */

	#header {
		text-align: center;
		margin-top: 15px;
	}

		#header .links {
			display: none;
		}

		#header img.logo {
			width: 60%;
			height: auto;
		}

		.social-icons a, #header .subscribe, #header .advertise {
			display: none;
		}

	.social-icons {
		float: right;
	}

	#header .big-button img {
		width: 100%;
		height: 100%;
	}

	#header .big-button {
		display: block;
		position: absolute;
		top: 50%;
		transform: translate(0, -50%);
	}

	#header .burger {
		left: 0;
		width: 37px;
		height: 37px;
	}

	#burger-menu {
		display: block;
	}

	#burger-menu .social-icons a {
		width: 7%;
	}

	.social-icons a.search {
		right: 0;
		width: 40px;
	}

	.search-box {		
		position: absolute;
		background: white;
		right: 0;
		top: 100%;
		padding: 10px;
		border: 1px solid gray;		
	}

		.search-box a.button {
			width:70px;
		}

		/*#endregion */
	
	/*#region Footer */

	.footer-bar {
		padding-top: 20px;
		padding-bottom: 10px;
	}

.footer-bar > .inner > div {
	text-align: center;
}

	.footer-bar .footer-links {
		display: block;
		margin: 10px 0;
	}

.footer-bar .social-icons {
	float: none;
	display: block;
	text-align: center;
	margin: 0 auto;
}

	.footer-bar .copyright {
		display: block;
		text-align: center;
		margin: 0;
	}

.footer-bar .social-icons a {
	display: inline-block;
}

/*#endregion */

	/*#region Newsletter */

	.subscribe-newsletter .email {
		width: 100%;
		padding: 0;
		margin-right: 0px;
	}

	.subscribe-newsletter .button {
		width: 100%;
	}

	/*#endregion */

	.share-content {
		margin-bottom: 50px;
	}

		.share-content .social-icons a {
			display: inline-block;
		}
}

/*#endregion */

/*#region Extra Small */

@media screen and (max-width: 450px) {

	:root {
		--margin-before-sections: 10px;
	}

	#wrapper > * > .inner {
		width: calc(100% - 70px);
	}

	#wrapper > .leaderboard > .inner {
		width: 100%;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.leaderboard img.normal {
		display: none;
	}

	.leaderboard img.mobile {
		display: block;
	}

	/*#region header */

	#header {
		padding-left: 10px;
		padding-right: 10px;
	}

	#header .burger {
		width: 25px;
		height: 25px;
	}

	#burger-menu .social-icons a {
		width: 11%;
	}

	.social-icons a.search {
		width: 30px;
		height: 30px;
	}


	/*#endregion */

	.search-box input[type=text] {
		width: calc(100% - 100px);
	}

	/*#region Footer */
	#wrapper > .footer-bar > .inner {
		width: 100%;
	}

		.footer-bar  {
			padding: 0;
		}
	
		.footer-bar .footer-links a {
			display: block;
			border-top: 1px solid #e4e4e4;
			padding: 15px 0;
		}
		.footer-bar .footer-links a:last-child {
			border-bottom: 1px solid #e4e4e4;
		}

		.footer-bar .copyright {
			margin: 15px 0;
		}

			.footer-bar .social-icons {
				margin: 30px auto -5px auto;
				width: calc(100% - 20px);
				text-align: justify;
			}
				.footer-bar .social-icons a  {
					width: 13%;
				}

					.footer-bar .social-icons a.stretch {
						width: 100%;
						display: inline-block;
						font-size: 0;
						line-height: 0;
					}

	.footer-bar .social-icons a img {
		width: 100%;
		text-align: center;
	}
			
	/*#endregion */

	/*#region Articles */

	.articles-group article.style2:nth-child(2),
	.articles-group article.style2:nth-child(3) {
		display: block;
	}

	.articles-group header a {
		text-align: center;
		padding: 15px 0;
		border: none !important;
		width: calc(100% + 35px * 2);
		margin: 0 calc(35px * -1);
	}

	.articles-group header {
		border: none !important;
	}

	/* only 3 articles per section */
	.articles-group > section > article:nth-child(1n+4) {
		display: none;
	}

	div.articles-group article.style1,
	div.articles-group article.style2,
	div.articles-group article.style3 {
		width: calc(100%);
		margin-left: 0px;
		margin-right: 0px;
	}

		div.articles-group article.style3 img {
			width: 100%;
		}

	div .articles-group h4 {
	}

	div.articles-group p {
		display: none;
	}

	.articles-group .style1 h4 {
		font-size: 1em;
	}

	.articles-group .style1 img.wide {
		display: none;
	}

	.articles-group .style1 img.normal {
		display: block;
	}
	/*#endregion */

	.content-page .media-info-link {
		width: 50%;
	}
}

/*#endregion */

