:root {
  --border: #d1d1d1;
  --link: #71bda9;
  --dark-grey: #2a2b33;
  --light-green: #0e8a69;
  --green: #006f51;
}

* {
	margin: 0;
	padding: 0;
}

html { height: 100%; }

body {
	background-color: #f7f8f8;
	box-sizing: border-box;
	font: 300 16px 'Roboto', sans-serif;
	min-height: 100%;
	padding-bottom: 433px !important;
	position: relative;
}

h2 {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 1em;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 1em 0 0.8em;
}

h3:first-child { margin-top: 0; }

h4 {
	font-size: 20px;
	font-weight: 400;
	margin: 1.2em 0 1em;
}

h5 {
	font-size: 18px;
	font-weight: 400;
	margin: 1.2em 0 1em;
}

iframe {
	border: 1px solid var(--border);
	max-width: 100%;
}

strong { font-weight: 400; }

img { vertical-align: middle; }

a { transition: 300ms; }

p {
  line-height: 1.5em;
  margin: 1em 0;
}

p:first-of-type { margin-top: 0; }

p:last-of-type { margin-bottom: 0; }

p.smaller { font-size: 12px; }

.pull-left {
	float: left;
	margin: 0 2em 1em 0;
}

.pull-right {
	float: right;
	margin: 0 0 1em 2em;
}

.button {
	background-color: var(--green);
	border-radius: 5px;
	color: #fff !important;
	display: inline-block;
	font-weight: 400;
	padding: 10px 20px;
	text-decoration: none;
}

.button:hover { background-color: var(--light-green); }

/* ==========================================================================
   Header
   ========================================================================== */

.header-wrapper {
	background-color: #fff;
	position: relative;
	z-index: 100;
}

.header {
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
	padding: 20px;
  place-items: center end;
}

.header a {
  display: block;
  text-decoration: none;
}

.logo img { max-width: 100%; }

.social {
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
}

.social .fa-brands {
	background-color: #3b5998;
	border-radius: 5px;
	color: #fff;
	padding: 9px;
	text-align: center;
	width: 16px;
}

.social .fa-brands.fa-x-twitter { background-color: #000; }

.social .fa-brands.fa-linkedin-in { background-color: #007bb6; }

/* ==========================================================================
   Main Menu
   ========================================================================== */

.main-menu ul { list-style: none; }

.main-menu a {
  display: block;
  text-decoration: none;
}

#menu-main-menu {
  display: flex;
  flex-flow: row wrap;
  font-weight: 400;
	justify-content: center;
}

#menu-main-menu > li > a {
  color: var(--dark-grey);
	font-size: 18px;
  padding: 10px 15px;
}

#menu-main-menu > li:hover > .sub-menu { display: block; }

#menu-main-menu > li:hover > a {
	background-color: var(--dark-grey);
	color: #fff;
}

#menu-main-menu .sub-menu {
	background-color: var(--green);
  display: none;
	padding: 15px;
	position: absolute;
}

#menu-main-menu .sub-menu a {
	color: #fff;
	padding: 7px 10px;
}

#menu-main-menu .sub-menu a:hover { background-color: var(--light-green); }

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

#mainMenu {
	background-color: var(--dark-grey);
	height: 100vh;
	overflow-x: hidden;
	position: fixed;
		top: 0;
		right: 0;
	transition: 1s;
	width: 0;
	z-index: 998;
}

#mainMenu.show { width: 100%; }

#mainMenu ul { list-style: none; }

#mainMenu .mobile-menu { margin: 30px; }

.mobile-menu li ul {
	display: none;
	margin-bottom: 15px;
}

.mobile-menu a {
	color: #fff;
	display: block;
	font-size: 18px;
	font-weight: 400;
	margin: 20px 0;
	text-decoration: none;
	white-space: nowrap;
}

/* ==========================================================================
		Mobile Menu Toggle
   ========================================================================== */
	
#openMenu {
	background-color: var(--dark-grey);
	display: none;
	padding: 20px 15px;
	position: fixed;
		top: 0;
		right: 0;
	transition: .5s;
	width: 41px;
	z-index: 999;
}

#openMenu.open {
	background-color: var(--dark-grey);
	color: #fff;
}

#menuTitle {
	position: relative;
	text-align: center;
	transition: .5s;
}
	
/* ==========================================================================
		Mobile Menu Icon Transition Effect
   ========================================================================== */
	
#btn {
	cursor: pointer;
	display: block;
	height: 30px;
	position: relative;
	transition: .5s;
	z-index: 200;
}

#btn .icon,
#btn .icon::before,
#btn .icon::after {
	background: #fff;
	content: '';
	display: block;
	height: 2px;
	position: absolute;
	transition: top ease .5s .5s, transform ease .5s;
	width: 41px;
}

#btn .icon {
	top: 14px;
	left: 2px;
}

#btn .icon::before { top: -8px; }

#btn .icon::after { top: 8px; }

#btn.active .icon { background: transparent; }

#btn.active .icon::before { transform: rotate(45deg); }

#btn.active .icon::after { transform: rotate(-45deg); }

#btn.active .icon::before,
#btn.active .icon::after {
	background-color: #fff;
	top: 0;
	transition: top ease .5s, transform ease .5s .5s;
}

/* ==========================================================================
   Banner
   ========================================================================== */

.banner {
  overflow-x: hidden;
	position: relative;
	z-index: 0;
}

.banner .logo {
  align-items: center;
	box-sizing: border-box;
  display: flex;
  height: 100%;
	padding: 20px;
  position: absolute;
    right: 5vw;
}

.banner .logo img {
	max-height: 100%;
	width: auto;
}

.banner img { width: 100%; }

/* ==========================================================================
   Section 1
   ========================================================================== */

.section1-wrapper {
  background-color: var(--green);
  position: relative;
  z-index: 100;
}

.section1 {
  align-items: center;
  color: #fff;
  display: grid;
  gap: 80px;
  grid-template-columns: auto 1fr;
	margin: 0 auto;
	max-width: 1280px;
	padding: 40px 20px;
}

.section1 .form-group {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 10px;
}

.section1 .form-group label {
  margin: 5px 20px 5px 0;
  width: 250px;
}

.section1 input {
  border: none;
  padding: 5px;
  width: 300px;
}

.section1 img { max-width: 100%; }

.section1 p { margin: 1em 0; }

.section1 a {
  color: var(--link);
  display: block;
  margin-top: 5px;
}

.section1 .btn {
  background-color: var(--dark-grey);
  border: none;
  color: #fff;
  cursor: pointer;
  font: 400 16px 'Roboto', sans-serif;
  padding: 15px 20px;
  transition: 300ms;
}

.section1 .btn:hover { background-color: #3d3f47; }

/* ==========================================================================
   Section 2
   ========================================================================== */

.section2 {
	margin: 80px auto;
	max-width: 1600px;
  padding: 0 20px;
}

.section2 .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.section2 h3 {
	background-color: var(--green);
	color: #fff;
	font-weight: 400;
	margin-bottom: 0;
	padding: 10px;
	text-align: center;
}

.section2 img { max-width: 100%; }

.section2 a {
	color: #fff;
  display: block;
	text-decoration: none;
}

.section2 .grid-item:last-child { grid-column: 2; }

/* ==========================================================================
   Section 3
   ========================================================================== */

.section3 {
  margin: 80px auto;
  max-width: 1600px;
  overflow: hidden;
  padding: 0 20px;
}

#advisor_stream_embed { margin: 0 -5px; }

.section3 h2 {
  background-color: var(--green);
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

.section3 h3 { margin-bottom: 0.4em; }

.section3 h3 a {
  color: #000;
	font-weight: inherit;
  text-decoration: none;
}

.section3 h3 a:hover { color: var(--green); }

.section3 h3 + p {
  font-style: italic;
	font-weight: 400;
  margin-top: 0;
}

.section3 a {
  color: var(--green);
  font-weight: 400;
}

/* ==========================================================================
   Posts
   ========================================================================== */

.post {
	border-bottom: 1px solid var(--border);
	display: grid;
	gap: 30px 40px;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	grid-template-columns: auto;
	margin-bottom: 40px;
	padding-bottom: 40px;
}

.post:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.post .image img {
	height: auto;
	width: 300px;
}

/* ==========================================================================
   Frontpage
   ========================================================================== */

.frontpage {
  margin: 80px auto;
  max-width: 1600px;
  padding: 0 20px;
}

.frontpage h2 {
  background-color: var(--green);
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

.frontpage a { color: var(--green); }


.frontpage ul,
.frontpage ol {
	line-height: 1.5em;
	margin: 1em 0;
	overflow: hidden;
}

.frontpage ul.no-bullet { list-style: none; }

.frontpage ul:not(.no-bullet) li { margin-left: 1em; }

.frontpage ul ul { margin: 0.25em 0; }

.frontpage li:last-child ul { margin-bottom: 0; }

/* ==========================================================================
   Content
   ========================================================================== */

.content {
	margin: 80px auto;
	max-width: 1600px;
	padding: 0 20px;
}

.content a { color: var(--green); }

.content ul,
.content ol {
	line-height: 1.5em;
	margin: 1em 0;
	overflow: hidden;
}

.content ul.no-bullet { list-style: none; }

.content ul:not(.no-bullet) li { margin-left: 1em; }

.content ul ul { margin: 0.25em 0; }

.content li:last-child ul { margin-bottom: 0; }

.content hr {
	background-color: var(--border);
	border: none;
	height: 1px;
	margin: 2em 0;
}

.content .side-menu-wrapper {
	align-items: start;
	display: grid;
	gap: 30px 60px;
	grid-template-columns: auto 1fr;
}

.content .side-menu {
	background-color: var(--green);
	color: #fff;
	padding: 30px;
}

.content .side-menu ul {
	list-style: none;
	margin: 0;
}

.content .side-menu ul li { margin: 0.5em 0; }

.content .side-menu ul li:first-child { margin-top: 0; }

.content .side-menu ul li:last-child { margin-bottom: 0; }

.content .side-menu a {
	color: #fff;
	text-decoration: none;
}

.content iframe { border: none; }

.content iframe[data-tec-events-ece-iframe="true"] {
  height: 1080px;
  width: 1260px;
}

/* ==========================================================================
   Accordion Menu
   ========================================================================== */

.lightweight-accordion { border: 1px solid var(--border); }

.lightweight-accordion:first-of-type { margin-top: 1em; }

.lightweight-accordion + br { display: none; }

.lightweight-accordion,
.lightweight-accordion .lightweight-accordion-title {
    background-color: #fff !important;
    transition: 300ms;
}

.lightweight-accordion details[open] .lightweight-accordion-title,
.lightweight-accordion .lightweight-accordion-title:hover { background-color: var(--link) !important; }

.lightweight-accordion .lightweight-accordion-body {
    border-top: 1px solid var(--border);
    padding: 20px !important;
}

.lightweight-accordion .lightweight-accordion-body > :first-child { margin-top: 0; }

.lightweight-accordion .lightweight-accordion-body > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-wrapper {
	background-color: var(--dark-grey);
	color: #a4a4a4;
	position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
}

.footer {
	margin: 0 auto;
	max-width: 1600px;
	padding: 40px 20px;
	text-align: center;
}

.footer a {
	color: #c1c1c1;
	font-weight: 400;
	text-decoration: none;
}

.footer a:hover { color: var(--link); }

#menu-bottom-menu {
	display: flex;
	flex-flow: row wrap;
	gap: 20px 30px;
	justify-content: center;
	list-style: none;
	margin-bottom: 30px;
}

.footer .logo { margin: 30px 0; }

.disclaimer p { font-size: 10pt; }

.copyright {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 20px;
	text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

.header {
	grid-template-columns: repeat(2, max-content);
	justify-content: center;
	justify-items: center;
}

.logo { grid-column: 1 / span 2; }

.section1 { gap: 20px 40px; }

}

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

body { padding-bottom: 0 !important; }
	
.pull-left,
.pull-right {
	float: none;
	margin: 2em 0;
}
	
.header { grid-template-columns: auto; }

.logo { grid-column: auto; }

#menu-main-menu > li > a {
	font-size: 16px;
	padding: 10px;
}

.section1 {
	grid-template-columns: auto;
	justify-items: center;
}

.post {
	grid-auto-flow: row;
	justify-items: center;
}
	
.content .side-menu-wrapper { gap: 30px; }
	
.content .side-menu { padding: 20px; }
	
.footer-wrapper { position: relative; }
	
.section2 .grid-item:last-child { grid-column: auto; }

}

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

h1, h2 { font-size: 30px; }

h3 { font-size: 20px; }

#openMenu { display: block; }

.header .logo { margin-right: 71px; }

.main-menu { display: none; }

.banner .image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.banner img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.section2 .grid { grid-template-columns: auto; }
	
.content .side-menu-wrapper { grid-template-columns: auto; }
	
.content .side-menu { padding: 30px; }

}