/* Encorp Pacific (Canada) 2021 Enhancements - Sidebar Ads CSS */
/* Last Updated: 2024.09.30 ET */

a.ad,
a.ad:visited {
	text-decoration: none;
}

a.ad[href^="http"]::after {
	display: none;
}

.ad.layout {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 24px 32px;
}

.ad.layout h1 {
	font-size: 2.1333rem; /* 32px */
	line-height: 1;
	margin-bottom: 1.0666rem; /* 16px */}

.ad.layout h2 {
	font-size: 1.6rem; /* 24px */
	line-height: 1;
}

.ad.layout p {
	line-height: 1.3;
	margin: 0.7em auto;
}

.ad.layout *:first-child {
	margin-top: 0;
}

.ad.layout *:last-child {
	margin-bottom: 0;
}

.ad.layout span[style*="background-color"] {
	display: block;
	padding: 16px 32px;
	margin: 16px -32px;
}

.ad.layout *:first-child > span[style*="background-color"] {
	margin-top: -24px;
	padding-top: 24px;
}

.ad.layout *:last-child > span[style*="background-color"] {
	margin-bottom: -24px;
	padding-bottom: 24px;
}

.ad.layout > div {
	padding: 0;
	margin: -16px -32px;
}

.corp-orange {
	background-color: rgb(255,163,0) !important;
	color: rgb(14,44,109) !important;
}

.corp-blue {
	background-color: rgb(0,51,160) !important;
	color: white !important;
}

.dark-blue {
	background-color: rgb(14,44,109) !important;
	color: white !important;
}

.eole-green {
	background-color: rgb(80,161,71) !important;
	color: white !important;
}

.dark-blue > *,
.corp-blue > *,
.eole-greeen > * {
	color: white !important;
}

.marr-blue {
	background-color: rgb(186,206,236) !important;
	color: rgb(32,46,88) !important;
}

.milk-blue {
	background-color: rgb(108,171,231) !important;
	color: white !important;
}

.express-orange {
	background-color: rgb(255,163,0) !important;
	color: rgb(14,44,109) !important;
}

.express-blue {
	background-color: rgb(0,51,160) !important;
	color: white !important;
}

.white {
	background-color: white !important;
	color: rgb(36,36,36) !important;
}

.no-shadow {
	border-radius: 0 !important;
	background-color: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
}

@media (max-width: 1200px) {
	.ad.layout {
		padding: 16px;
	}
}

@media (max-width: 1000px) {
	.ad.layout img.floatright,
	.ad.layout img.floatleft {
		display: none;
	}
}

