/*!
 * b5st since v1.0 | Unicence
 */

body {
  display: flex;
  min-height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
  flex-direction: column;
  font-family: proxima-nova, sans-serif;
  font-weight:400;
  font-optical-sizing: auto;
  font-style: normal;
  color:var(--font-color);
  }
html{
	height: -webkit-fill-available;
}
main {
  flex: 1 0 auto; }
  
div, a, td {
  
  -webkit-transition: all .2s ease-in-out; 
	-moz-transition: all .2s ease-in-out; 
	-o-transition: all .2s ease-in-out; 
	transition: all .2s ease-in-out; 
}  
b, strong {
    font-weight: 700;
}
p {
	margin-bottom: 1.6rem;
}
ul {
	margin-bottom: 1.6rem;
}
ol {
	margin-bottom: 1.6rem;
}
ol>li{
	margin-bottom:1.2rem;
}
/* COLOURS */
:root { 
	--font-color:#323842;
	--main-color:#F15F5F;
	--main-color-hover:#FF4F4F;
	--brown:#AC4A4A;
	--blue:#328298;
	--blue-hover:#31a8c8;
	--green:#81bf84;
	--dark-green:#577a58;
	--light-green:#c3d4c4;
	--light-blue:#e8e9e9;
	--beige:#F7F1EC;
	
} 

.beige{
	background:var(--beige);
}
.light-blue{
	background:var(--light-blue);
}
.error404{
	background: var(--light-grey);
}

.error404-section{
	min-height:50dvh;
	align-content:center;
}
.alignleft {
  float: left; }

.alignright {
  float: right; }

.aligncenter {
  clear: both;
  display: block; }

p a {
	color:var(--blue);
	font-weight:700;
	text-decoration:none;
}
p a:hover,
p a:active,
p a:focus
 {
	color:var(--font-color);
	font-weight:700;
	text-decoration:none;
}	
h1, h2, h3, h4, h5, h6{
	font-weight:bold;
	margin-bottom:1.2rem;
}


img,
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  max-width: 100%;
  height: auto; }


.top-spacer{
	margin-top:30px;
	margin-bottom:50px;
}

.margin-bottom{
	margin-bottom:30px;
}
.mobile-margin-bottom{
	margin-bottom:30px;
}
.large-margin-bottom{
	margin-bottom:60px;
}
.div-bottom-margin{
	margin-bottom:var(--bs-gutter-x);
}
.sticky-top {
    top: var(--bs-gutter-x);
}


.page-title{

	margin-bottom:20px;
}
.page-title h1{
	font-weight:900;
	font-size:3rem;
}	
.section-header h2{
	font-weight:900;
}	

@media (min-width:767px){
	.page-title h1{
		font-weight:900;
		font-size:4rem;
	}	
	.top-spacer{
		margin-top:80px;
	}
	.mobile-margin-bottom{
		margin-bottom:0px;
	}
	.page-title{
		margin-bottom:50px;
	}
}

/* HEADER */
.navigation{
	height:100px;
	-webkit-box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
    box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
	display:flex;
}
.navigation-white{
	height:100px;
	display:flex;
	position: relative;
    z-index: 999;
}
.navigation-max-width {
	
	position:relative;
    max-width: 1520px;
    width: 100%;
    margin: 0 auto;
}


.navigation a:hover,
.navigation a:active,
.navigation a:focus{
    color: var(--font-color);
	text-decoration:none;
}

.header-logo{
	position:absolute;	
	display:inline;
	z-index:10000;
	
}
.header-logo-image{
		height:86px;
		margin-top:7px;	
		margin-left:15px;
	}
.header-menu{
	text-align:center;
	display:inline;
	justify-content: center;
	
	z-index:1;

}
.header-contact{
	text-align:right;
	position:absolute;	
	right:0;
	top:0;
	z-index:10000;
}

.header-contact-button{
	display:none;
	
}


@media (min-width:1079px){
	.header-contact-button{
		display:inline-block;
		margin:28px 15px 0 0;
		color:var(--font-color);
		font-size:.9rem;
		font-weight:700;
		text-align:center;
		padding:8px 20px;
		border-radius:30px;
		border:1px solid var(--font-color);
		text-decoration:none;
		
	}
	.header-contact-button:hover,
	.header-contact-button:focus,
	.header-contact-button:active
	{
		
		color:#fff!important;
		background:var(--font-color);
		
		border:1px solid var(--font-color);
		text-decoration:none;
	}
	.navigation-white .header-contact-button{
		display:inline-block;
		margin:28px 15px 0 0;
		color:#fff;
		font-size:.9rem;
		font-weight:700;
		text-align:center;
		padding:8px 20px;
		border-radius:30px;
		border:1px solid #fff;
		text-decoration:none;
		
	}
	.navigation-white .header-contact-button:hover,
	.navigation-white .header-contact-button:focus,
	.navigation-white .header-contact-button:active
	{
		color:var(--font-color)!important;
		background:#fff;
		border:1px solid #fff;
		text-decoration:none;
	}	
	
}

/* MEGA MENU */
#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-megamenu > ul.mega-sub-menu {
    z-index: 990;
    border-radius: 0;
    border: 0;
    position: absolute;
    width: 100%;
    max-width: none;
    left: 0;
    -webkit-box-shadow: 0px 10px 40px 0px rgb(0 53 124 / 15%);
    box-shadow: 0px 10px 40px 0px rgb(0 53 124 / 15%);
}
.mega-sub-menu{
	    -webkit-box-shadow: 0px 10px 40px 0px rgb(0 53 124 / 15%)!important;
    box-shadow: 0px 10px 40px 0px rgb(0 53 124 / 15%)!important;
}


#mega-menu-wrap-navbar div, a, td{
  
  -webkit-transition: all 0s ease-in-out!important; 
	-moz-transition: all 0s ease-in-out!important;
	-o-transition: all 0s ease-in-out!important;
	transition: all 0s ease-in-out!important; 
} 


.mega-toggle-on{
	z-index: 991;
}


#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item > a.mega-menu-link {
    line-height: 100px;
    height: 100px;
    padding: 0px 10px 0px 10px;
    vertical-align: baseline;
    width: auto;
    display: block;
    color: var(--font-color);
    text-transform: none;
    text-decoration: none;
    text-align: left;
    text-decoration: none;
    background: rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: normal;
    outline: none;
}

.navigation-white #mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item > a.mega-menu-link {
	color:#fff;
}
.navigation-white #mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item > a.mega-menu-link:hover {
	color:var(--font-color);
}
@media (min-width:1079px){
	#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item > a.mega-menu-link {
		padding: 0px 12px 0px 12px;
		font-size: 15px;
	}
}
@media (min-width:1200px){
	#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item > a.mega-menu-link {
		padding: 0px 25px 0px 25px;
		font-size: 16px;
	}
}
#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    background: #fff;
    color: var(--blue);
    font-weight: normal;
    text-decoration: none;
    border-color: #fff;
}


#mega-menu-5317-0-3 ul {
    list-style-type: none!important;
    padding-left: 0px!important;
	margin-bottom:0!important;
	margin-top:15px!important;
	display:inline-block!important;
}

#mega-menu-5317-0-3 ul li {
    padding-bottom: 8px!important;
	margin-bottom:7px!important;
    padding-left: 0px!important;
    vertical-align: middle!important;
	border-bottom:1px dotted #ccc!important;
	max-width:300px!important;
}
#mega-menu-5317-0-3 ul li::last-child {
    padding-bottom: 10px!important;
	margin-bottom:10px!important;
    padding-left: 0px!important;
    vertical-align: middle!important;
	border-bottom:0!important;
}
#mega-menu-5317-0-3 ul li a{
    padding-left: 0px!important;
	font-weight:400!important;
	color:var(--font-color)!important;
    transition: all .2s ease-in-out!important;
}
#mega-menu-5317-0-3 ul li a::before {
      font-family: "Font Awesome 5 Free"!important; 
	  font-weight: 900!important; 
	  content: "\f054"!important; 
	  color:var(--blue)!important;
	  padding-right:15px!important;
    transition: all .2s ease-in-out!important;
    }
#mega-menu-5317-0-3 ul li a:hover{
    padding-left: 0px!important;
	color:var(--blue-hover)!important;
    transition: all .2s ease-in-out!important;
}
#mega-menu-5317-0-3 ul li a:hover::before {
      font-family: "Font Awesome 5 Free"!important; 
	  font-weight: 900!important; 
	  content: "\f054"!important; 
	  color:var(--blue-hover)!important;
	  padding-right:20px!important;
    transition: all .2s ease-in-out!important;
}




.mega-block-title{
	margin-bottom:5p;
}

#mega-menu-wrap-navbar h3{
	font-size:1.1rem;
	margin-bottom:10px;
}
.menu-image{
	margin-bottom:16px;
}


.megamenu-links{
	padding-left:15px; 
	list-style:none; 
}
.megamenu-links li {
	margin-bottom:10px;
}
.megamenu-links li:before {    
    font: var(--fa-font-regular);
	font-size:.75rem;
	content: '\f054';
	color:var(--blue);
    margin:0 7px 0 -15px;
}
.mega-menu-item .custom-html-widget{
		
	
}
.mega-menu-item .custom-html-widget a{
	
	
	color:var(--blue);
	text-decoration:none;
}
.mega-menu-item .custom-html-widget a:hover,
.mega-menu-item .custom-html-widget a:active,
.mega-menu-item .custom-html-widget a:focus{
	color:var(--blue-hover);
	text-decoration:none;
}




/* MOBILE MENU */

.mobile-button{
	display:flex;
	align-items: center;
	margin-right:15px;
}
.mobile-button img{
	width:30px;
	height:18px;
}
@media only screen and (min-width: 1079px){
	.header-logo{
		height:90px;
		width:auto;
	}
	.mobile-button{
		display:none;
	}
}
.offcanvas-header {
    justify-content: end;
	padding: 2.35rem 1.85rem;
}
.btn-close{
	font-size:1.3rem;
	opacity:.7;
}
.offcanvas{
	background:#f4f4f4;
}
.mobile-menu{
	padding-left:0px;
}

.mobile-menu-main-link{
	color:var(--font-color);
	display:block;
	font-size:1.2rem;
	font-weight:900;
	text-decoration:none;
	border-top:1px solid var(--font-color);
	border-right:1px solid var(--font-color);
	border-bottom:0px ;
	border-left:1px solid var(--font-color);
	padding:12px 15px;
}
.mobile-menu-main-link:hover,
.mobile-menu-main-link:active,
.mobile-menu-main-link:focus
{
	color:var(--font-color);
	text-decoration:none;
}
.mobile-menu-main-link:last-of-type{
	border-bottom:1px solid var(--font-color);

}
.mobile-menu-main-link i{
	float:right;
	padding-top:4px;
}
.mobile-menu-dropdown{
	border-left:1px solid var(--font-color);
	border-right:1px solid var(--font-color);
	padding:0px 15px 0px 15px;
	overflow:auto;
}
.mobile-menu h3{
	font-weight:900;
	font-size:1.2rem;
	margin-bottom:4px;
}
.mobile-menu ul{
	list-style-type:none;
    padding:0px;
    margin:0px 0px 10px;
}
.mobile-menu ul li{
    padding-bottom:5px;
}
.mobile-menu ul a{
	color:var(--font-color);
	font-size:1rem;
	font-weight:500;
	text-decoration:none;
}



/*HOME*/

.home-banner{
	margin-top:-100px;
	position:relative;
	z-index:1;
    overflow: hidden;
	background:#333;
	color:#fff;
	height:95dvh;
	display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pseudo-elements to handle background transitions */
/* Black overlay */
.home-banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4); /* 40% black overlay */
	z-index: 2; /* Ensures it covers the images */
}

/* Background Layers */
.home-banner .bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	animation: fadeZoom 32s infinite;
	z-index: 1; /* Behind overlay */
}

.bg:nth-child(1) { animation-delay: 0s; }
.bg:nth-child(2) { animation-delay: 8s; }
.bg:nth-child(3) { animation-delay: 16s; }
.bg:nth-child(4) { animation-delay: 24s; }

@keyframes fadeZoom {
	0% { opacity: 0; transform: scale(1); }
	10% { opacity: 1; }
	40% { opacity: 1; transform: scale(1.1); }
	50% { opacity: 0; }
	100% { opacity: 0; }
}

/* Static Content */
.container-xl {
	position: relative;
   
	z-index: 3; /* Ensures content stays above everything */
}

.home-banner-title{
	font-size:2.6rem;
	font-weight:900;
	line-height:1;
	max-width:100%;
	margin-bottom:20px;
}
.home-banner-text{
	font-size:1rem;
	line-height:1.4;
	font-weight:400;
	max-width:100%;
	margin-bottom:30px;
}
.home-banner-logo{
	display:none;
}
.home-banner-logo-image{
	max-width:250px;
}
@media only screen and (min-width: 768px){
	.home-banner-title{
		font-size:4.5rem;
		
	}
	.home-banner-text{
		font-size:1.4rem;
		max-width:670px;
		line-height:1.4;
		
	}
}
@media only screen and (min-width: 1200px){

	.home-banner-logo{
		display:block;
	}
	.home-banner-logo-image{
		max-width:300px;
	}
}
.outline-white-button{
	display:inline-block;
	margin:0;
	color:#fff;
	font-size:.9rem;
	font-weight:700;
	text-align:center;
	padding:6px 20px;
	border-radius:8px;
	border:1px solid #fff;
	text-decoration:none;
	
}
.outline-white-button:hover,
.outline-white-button:focus,
.outline-white-button:active
{
	color:var(--font-color)!important;
	background:#fff;
	border:1px solid #fff;
	text-decoration:none;
}
.outline-white-button::after{
	font: var(--fa-font-regular);
	content: '\f061';
	  color:#fff;
	  padding-left:11px!important;
    transition: all .2s ease-in-out!important;
}
.outline-white-button:hover::after{
	padding-left:21px!important;
	color:var(--font-color);

}
.outline-black-button{
	display:inline-block;
	margin:0;
	color:var(--font-color);
	font-size:.8rem;
	font-weight:700;
	text-align:center;
	padding:6px 20px;
	border-radius:8px;
	border:1px solid var(--font-color);
	text-decoration:none;
	
}
.outline-black-button:hover,
.outline-black-button:focus,
.outline-black-button:active
{
	color:#fff!important;
	background:var(--font-color);
	border:1px solid var(--font-color);
	text-decoration:none;
}
.outline-black-button::after{
	font: var(--fa-font-regular);
	content: '\f061';
	  color:var(--font-color);
	  padding-left:11px!important;
    transition: all .2s ease-in-out!important;
}
.outline-black-button:hover::after{
	padding-left:21px!important;
	color:#fff;

}
.full-button{
	display:inline-block;
	margin:0;
	color:#fff;
	background:var(--main-color);
	font-size:.9rem;
	font-weight:700;
	text-align:center;
	padding:6px 20px;
	border-radius:8px;
	border:1px solid var(--main-color);
	text-decoration:none;
	
}
.full-button:hover,
.full-button:focus,
.full-button:active
{
	color:#fff!important;
	background:var(--main-color-hover);
	border:1px solid var(--main-color-hover);
	text-decoration:none;
}
.full-button::after{
	font: var(--fa-font-regular);
	content: '\f061';
	  color:#fff;
	  padding-left:11px!important;
    transition: all .2s ease-in-out!important;
}
.full-button:hover::after{
	padding-left:21px!important;
	color:#fff;

}
@media only screen and (min-width: 768px){
	.full-button{
		font-size:1rem;	
		padding:8px 25px;
	}
	.outline-black-button{
		font-size:1rem;	
		padding:8px 25px;
	}
	.outline-white-button{
		font-size:1rem;
		padding:8px 25px;
	}	
}

/*Home Quotation*/
.quotation{
	padding:30px 30px;
	color:#6c6a6a;
	background:var(--beige);
	background-image:url(../img/homepage/quote-marks.svg);
	background-size:auto 40%;
	background-repeat:no-repeat;
	background-position: top 20px left 20px;
	margin-top:-50px;
	margin-bottom:20px;
    position: relative;
    z-index: 100;
	border-radius:8px;
}
.quotation-text{
	font-size: 1.6rem;
    line-height: 1.3;
	font-family: "adobe-aldine", sans-serif;
	font-weight: 500;
	margin-bottom:10px;
}
.quotation-source{
	font-size:1rem;
	font-weight:700;
	text-align:right;
}
.text-spacer{
	margin-right:15px;
	display:inline-block;
}
@media only screen and (min-width: 768px){
	.quotation{
		padding:50px 100px 50px;
		background-size:auto 80%;
		margin-bottom:50px;
	}
	.quotation-text{
		font-size: 2.4rem;
		line-height: 1.3;
	}
	.text-spacer{
		display:none;
	}	
}
/*Home News Section*/
.home-news-events{
	margin-bottom:50px;
}
.home-news-events .title{
	font-size:2.2rem;
	font-weight:900;
	margin-bottom:40px;
	border-bottom:1px solid var(--font-color)
}
.home-news-section{
	
	padding:30px 0px;
	height:100%;
}

.home-news-image{

	height: auto;
	transition: all .2s ease-in-out; 
	aspect-ratio:16/9;
	position:relative;
	margin-bottom:15px; 
}

.home-news-image:hover{
	transform: scale(1.05);
}
@media only screen and (min-width: 768px){
	.home-news-image{
		margin-bottom:0px; 
	}
}


.home-news-box-large-content{

	font-size:1rem;
    text-wrap: balance;
	-webkit-text-wrap:balance;
}
.home-news-box-large-content h2{
	font-size:1.4rem;
	font-weight:700;
	margin-bottom:6px;

}
.home-news-box{
	margin-bottom:30px;
    text-wrap: balance;
}
.home-news-box h4{
	font-size:1.2rem;
	font-weight:700;
	margin-bottom:6px;
}
.home-news-date{
	font-style:italic;
	font-size:.8rem;
	padding-bottom:4px;
}
.more-button-container{
	padding-top:10px;
}
.more-button{
	display:inline-block;
	color:var(--font-color);
	font-weight:bold;
	text-decoration:none;
}
.more-button:hover,
.more-button:active,
.more-button:focus{
	color:var(--font-color);
}
.more-button::after{
	font: var(--fa-font-regular);
	font-size:.9rem;
	content: '\f061';
	color:var(--font-color);
	padding-left:5px!important;
    transition: all .2s ease-in-out!important;
}
.more-button:hover::after{
	padding-left:12px!important;
	color:var(--font-color);

}
/*Home Events Section*/
.home-events-section{
	background:var(--light-blue);
	padding:15px 15px 30px;
	border-radius:8px;
}
.home-events-section .row {
	--bs-gutter-x: 1rem;	
}
@media only screen and (min-width: 768px){
	.home-events-section{
		padding:30px 30px 30px;
	}
	.home-events-section .row {
		--bs-gutter-x: 1.5rem;	
	}
}
.home-events-section .title{
	margin-bottom:40px;
}
.home-event-image{

	height: auto;
	transition: all .2s ease-in-out; 
	aspect-ratio:3/4;
	position:relative;
}

.home-event-image:hover{
	transform: scale(1.05);
}
.home-event-box{
    text-wrap: balance;
}
.home-event-box h4{
	font-size:1.2rem;
	font-weight:700;
	margin-bottom:6px;
}

.home-event-date{
	font-size:.8rem;
	padding-bottom:4px;
}
.home-event-date i{
	color:var(--blue);
}
/*What is MG Section*/
.what-is-mg{
	min-height:70dvh;
	padding:50px 0;
	background:var(--beige);
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}
.mg-title{
	border-bottom:1px solid var(--font-color);
	padding-bottom:15px;
	margin-bottom:25px;
}
.mg-title-left{
	display:inline-block;
	padding-right:10px;
}
.mg-title-right{
	display:inline-block;
}
.mg-title-left h2,
.mg-title-right h2{
	font-size:2.2rem;
	font-weight:900;
	margin-bottom:5px;
}
.definition{
	font-weight:700;
	font-size:1.2rem;
	display:block;
}
.noun{
	font-size:.85rem;
}



@media only screen and (min-width: 768px){
	.what-is-mg{
		padding:100px 0;
	}	
	.mg-title-left h2,
	.mg-title-right h2{
		font-size:3.2rem;
	}
	.definition{
		font-weight:700;
		font-size:1.2rem;
		display:inline-block;
	}	

}

.who-we-are-logo{
	text-align:right;
	margin-top:20px;
}
.who-we-are-logo img{
	max-height:150px;
}


.homepage-membership{
	background:var(--font-color);
	background-image:url(../img/homepage/homepage-membership.jpg);
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	padding:100px 0;
	min-height:80vh;
	color:#fff;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}
.homepage-membership-content{
	max-width:700px;
	font-size:1rem;
}
.homepage-membership-content h1{
	font-size:3.2rem;
	line-height:1;
	font-weight:900;
}


@media only screen and (min-width: 768px){
	
	.who-we-are-logo{
		margin-top:0;
	}
	.who-we-are-logo img{
		max-height:250px;
	}
	.homepage-membership-content{
		max-width:700px;
		font-size:1.4rem;
	}
	.homepage-membership-content h1{
		font-size:4.2rem;
		font-weight:900;
	}	
}




/*Info Boxes*/

.info-box{
	position:relative;
	aspect-ratio: 4 / 3;
	background:var(--font-color);
	transition: all .2s ease-in-out; 
	border-radius:8px;
	-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	display: flex;
    align-items: flex-end;
    justify-content: space-between;
	margin-bottom:30px;

}
.info-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius:0px 0px 8px 8px;
	background: linear-gradient(0deg,rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, 0) 50%);
	z-index: 2; /* Ensures it covers the images */
}
.info-box:hover{
	transform: scale(1.05);
}
.info-box-content{
	color:#fff;
	margin:20px;
	position:relative;
	z-index: 3;
	
}
.info-box-content h2{
	margin-bottom:5px;
	
}
.info-box-link{
	color:#fff;
	text-decoration:none;
}
.arrow {
    background: var(--main-color);
    color: #fff;
    border-radius: 50px;
    height: 30px;
    width: 30px;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
	margin:0 20px 20px 0;
	position:relative;
	z-index: 3;
}

@media only screen and (min-width: 768px){
	.info-box{
		margin-bottom:0px;
	}
}

/*Events Page*/

.events-page{
	padding-bottom:30px;
}
@media only screen and (min-width: 768px){
	.events-page{
		padding-bottom:80px;
	}
}
.events-page .nav-tabs{
	border-bottom:0;
}

.events-page .nav-link{
	padding:0 15px 0 0;
	margin-right:15px;
	background:none;
	color:rgba(50, 56, 66, 0.6);
	border:0;
	font-size:1.2rem;
	border-right:1px solid var(--font-color);
	border-color:var(--font-color);
	    border-top-right-radius: 0;
}
@media only screen and (min-width: 768px){
	.events-page .nav-link{
		font-size:1.4rem;
	}
}
.events-page .nav-link:last-of-type{
	border-right:0px;
}
.events-page .nav-link:hover{
		
		color:rgba(50, 56, 66, 1);
	
}
.events-page .nav-link.active{
	font-weight:bold;
	background:none;
	color:rgba(50, 56, 66, 1);
	border-color:var(--font-color);
	    border-top-right-radius: 0;
}
.events-page-title{
	margin-bottom:10px;
}
.events-page-date {
    font-size: .8rem;
	border-top: 1px solid var(--blue);
	border-bottom: 1px solid var(--blue);
	padding:10px 0;
	margin:10px 0;
}
.events-page-webinar-date {
    font-size: .8rem;
	padding:10px 0;
}
.events-page-date i,
.events-page-webinar-date i{
	color:var(--blue);
}


.event-subheading{
	font-weight:bold;
}
.single-event-box{
	padding:30px 15px;
	background:#fff;
	-webkit-box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
    box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
	height:100%;
	border-radius: 8px;
	position:relative;
	
}
.single-event-box .row {
		--bs-gutter-x: 1rem;	
	}
@media only screen and (min-width: 767px){
	.single-event-box{
		padding:30px 30px;
		
	}	
	.single-event-box .row {
		--bs-gutter-x: 1.5rem;	
	}
}
.single-event-type{
	position:absolute;
	top:8px;
	right:8px;
	font-size:.65rem;
	background:#000;
	border-radius: 3px;
	color:var(--font-color);
	padding:0px 6px;
}
.conference{
	background:#bbe3e3;
}
.webinar{
	background:#e4cae4;
}


.event-excerpt{
	font-size:.8rem;
	
}


/*Single Event*/

.single-event-container{
	padding:15px;
	background:#fff;
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
}
@media only screen and (min-width: 767px){
	.single-event-container{
		padding:50px;
	}
}
.single-event-breadcrumbs{
	font-size:.7rem;
	margin-bottom:30px;
}
.single-event-breadcrumbs a{
	color:var(--font-color);
	text-decoration:none;
	font-weight:600;
}
.single-event-breadcrumbs a:hover,
.single-event-breadcrumbs a:focus,
.single-event-breadcrumbs a:active
{
	color:var(--main-color);
	text-decoration:none;
}
.single-event-content{
	margin-left:0px;
}
.flyer-display-desktop{
	display:none;
}
.flyer-display-mobile{
	display:block;
}
@media only screen and (min-width: 767px){
	.single-event-content{
		margin-left:20px;
	}
	.flyer-display-desktop{
		display:block;
	}
	.flyer-display-mobile{
		display:none;
	}	
}
.single-event-title{
	font-weight:900;
}
.single-event-subheading{
	font-weight:700;
	font-size:1.2rem;
}
.single-event-date{

	border-top: 1px solid var(--blue);
	border-bottom: 1px solid var(--blue);
	padding:20px 0;
	margin:30px 0;
}
.single-webinar-title{
	font-weight:700;
	margin-bottom:10px;
}
.single-webinar-subheading{
	font-weight:700;
	font-size:1rem;
}
.single-webinar-date{

	border-top: 1px solid var(--blue);
	border-bottom: 1px solid var(--blue);
	padding:10px 0;
	margin:20px 0;
}
.single-webinar-date i,
.single-event-date i{
	color:var(--blue);
}
.single-event-image{
	height: auto;
	aspect-ratio:16/9;
	position:relative;
}
@media only screen and (min-width: 767px){
	.single-event-image{
		aspect-ratio:3/4;
	}
}
.single-webinar-backup-image{
	aspect-ratio: 16 / 9;
}
.single-event-flyer{
	background:#fbf6e8;
	padding:30px 30px 40px 30px;
	text-align:center;
}
.single-event-flyer-title{
	text-align:left;
	font-weight:900;
	font-size:1.4rem;
	padding-bottom:20px;
}

.see-all-webinars{
	text-align:right;
	margin-top:30px;
	
}
.webinars-button{
	background:var(--green);
	border: 1px solid var(--green);
}
.webinars-button:hover,
.webinars-button:focus,
.webinars-button:active
{
	background:var(--green);
	border: 1px solid var(--green);
}
/*About IMGA*/


.iugs-section {
    background: var(--light-blue);
    padding: 100px 0;
    color: var(--font-color);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}
.iugs-logo{
	text-align:right;
}
.iugs-logo img{
	max-width:400px;
}
.iugs-section-content{
	
}
.iugs-section-content h1{
	font-size:3rem;
	font-weight:900;
}
@media only screen and (min-width: 768px){
	.iugs-section-content h1{
		font-size:3.8rem;
	}
}
.history-section{
	background:var(--font-color);
	background-image:url(../img/about/history-section-bg.jpg);
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	padding:100px 0;
	min-height:80vh;
	color:#fff;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}
.history-section-content {
    font-size: 1.3rem;
    line-height: 1.5;
}
.history-section-content h1{
	font-size:3rem;
	font-weight:900;
}
@media only screen and (min-width: 768px){
	.history-section-content h1{
		font-size:4rem;
	}
}
.history-section-content p a{
    color:#fff;
	font-weight:bold;
}
.history-section-content p a:hover,
.history-section-content p a:active,
.history-section-content p a:focus
{
    color:#fff;
	font-weight:bold;
	text-decoration:underline;
}


.where-are-we{
	background:var(--green);
	background-image:url(../img/about/where-are-we-bg.svg);
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	padding:100px  15px;
	min-height:70vh;
	height:100%;
	color:#fff;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.where-are-we-content {
	max-width:530px;
    font-size: 1.3rem;
    line-height: 1.5;
}
.where-are-we-content h1{
	font-size:3rem;
	font-weight:900;
	line-height:1;
}
@media only screen and (min-width: 768px){
	.where-are-we-content h1{
		font-size:4rem;
	}
}
.where-are-we-content p a{
    color:#fff;
	font-weight:bold;
}

.governance-structure{
	background:var(--beige);
	background-image:url(../img/about/governance-bg.jpg);
	background-size:cover;
	background-position:bottom right;
	background-repeat:no-repeat;
	padding:100px 15px;
	min-height:70vh;
	height:100%;
	color:var(--brown);
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.governance-structure-content {
	max-width:530px;
    font-size: 1.3rem;
    line-height: 1.5;
}
.governance-structure-content h1{
	font-size:3rem;
	font-weight:900;
	line-height:1;
}
@media only screen and (min-width: 768px){
	.governance-structure-content h1{
		font-size:4rem;
	}
}
.governance-structure-content p a{
    color:#fff;
	font-weight:bold;
}

.governance-structure .full-button{
	background:var(--brown);
	border: 1px solid var(--brown);
}



.founding-fathers-section{
	background:var(--light-blue);
	padding:100px 0;
	color:var(--font-color);
	min-height:80vh;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}
.founding-fathers-section-content {
    font-size: 1.3rem;
    line-height: 1.5;
	margin-bottom:30px;
}
.founding-fathers-section-content h1{
	font-size:3rem;
	font-weight:900;
}
@media only screen and (min-width: 768px){
	.founding-fathers-section-content h1{
		font-size:4rem;
	}
}
.founding-fathers-section-content p a{
    color:#fff;
	font-weight:bold;
}
.founding-fathers-section-content p a:hover,
.founding-fathers-section-content p a:active,
.founding-fathers-section-content p a:focus
{
    color:#fff;
	font-weight:bold;
	text-decoration:underline;
}
.founding-fathers-video{
	margin-bottom:10px;
}
.founding-fathers-video-title{
	font-weight:900;
	font-size:1.3rem;
}






/*Team Page*/
.team-box{
	position:relative;
	background:#fff;
	height:100%;
	transition: all .2s ease-in-out; 
	border-radius:8px;
	-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	
	
}
.team-box:hover{
	transform: scale(1.05);
}
.team-box-link{
	color:var(--font-color);
	text-decoration:none;
}
.team-box-link:hover,
.team-box-link:active,
.team-box-link:focus{
	color:var(--font-color);
}


.team-box-image img{ 
	border-radius:8px 8px 0px 0px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.team-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-box-content{
	padding:15px;
	font-size:1rem;
}
.team-box-title{
	font-size:1.2rem;
	font-weight:700;
	line-height:1;
	margin-bottom:10px;
}
.team-box-role{
	line-height:1;
	margin-bottom:10px;
	
}
.team-box-location{
	margin-top:5px;
	font-size:.75rem;
}
.team-box-circle-arrow-container{
	font-size:1.25rem;
	
}
.team-box-circle-arrow{
	width:25px;
	height:25px;
		
}
@media only screen and (min-width: 767px){
	.team-box-content{
	padding:20px;
	}
	.team-box-title{
		font-size:1.5rem;
	}
	.team-box-role{
		margin-bottom:15px;
		
	}
}


.team-box-expand{
	margin-top:30px;
	 word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  
}
.team-box-expand p{
	font-size:.9rem;
	margin-bottom:20px;
}


.single-member-container{
	padding:15px;
	background:#fff;
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
}

.single-member-container a{
	color:var(--dark-green);
	text-decoration:none;
	
}
.single-member-container a:hover,
.single-member-container a:active,
.single-member-container a:focus
{
	color:var(--dark-green);
	text-decoration:underline;
	
}
@media only screen and (min-width: 767px){
	.single-member-container{
		padding:50px;
	}
}

.single-member-title h1{
	font-size:2.4rem;
	font-weight:900;
}
.single-member-image-mobile{
	display:block;
	margin-bottom:20px;
}
.single-member-image-desktop{
	display:none;
}
.single-member-image-desktop img{
	width:100%;
}
.single-member-role{
	font-size:1.2rem;
	font-weight:700;
	margin-bottom:20px;
}
.single-member-metadata{
	padding:20px 20px;
	background:#ecf5ef;
	border-radius:4px;
}
.single-member-position{
	font-weight:700;
	margin-bottom:20px;
}
.single-member-phone{
	
}
.single-member-email,
.single-member-phone,
.single-member-website{
	padding-top:10px;
}


.single-member-container i{
	width:20px;
	text-align:center;
	margin-right:10px;
}
.single-member-research{
	margin-top:20px;
	padding:20px 20px;
	background:var(--beige);
	border-radius:4px;
	font-size:.85rem;
}
.single-member-content{
	margin-top:30px;
}

@media only screen and (min-width: 767px){
	.single-member-image-mobile{
		display:none;
	}
	.single-member-image-desktop{
		display:block;
	}
}


.single-team-box{
	position:relative;
	background:#fff;
	height:100%;
	transition: all .2s ease-in-out; 
	border-radius:8px;
	-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	
	
}
.single-team-box:hover{
	transform: scale(1.05);
}
.single-team-box-link{
	color:var(--font-color);
	text-decoration:none;
}
.single-team-box-link:hover,
.single-team-box-link:active,
.single-team-box-link:focus{
	color:var(--font-color);
}


.single-team-box-image img{ 
	border-radius:8px 0px 0px 8px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.single-team-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-team-box-content{
	padding:15px;
	font-size:1rem;
}
.single-team-box-title{
	font-size:1rem;
	font-weight:700;
	line-height:1;
	margin-bottom:10px;
}
.single-team-box-role{
	font-size:.85rem;
	line-height:1;
	margin-bottom:15px;
	
}




/*Chapters*/
.chapters-map{
	margin-top:30px;
		padding-top:30px;
	border-top:1px solid var(--font-color);
}


.world-map-svg {
  width: 100%;

  max-width: 100%;
  display: block;
}

/* Modal styles */
.chapter-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.chapter-modal-box {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.chapter-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
}

/* Map styling */
.clickable-country {
  fill: #81bf84;
  cursor: pointer;
  transition: fill 0.3s ease;
}

.clickable-country:hover {
  fill: #e36970;
}

/* Tooltip */
#country-tooltip {
  position: absolute;
  padding: 6px 10px;
  background: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  z-index: 10000;
  display: none;
}


.chapter-country-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.chapter-country-list li {
  margin: 0;
  margin-right:15px; 
  margin-bottom:15px;
}

.chapter-country-list a {
	padding:7px 15px;
	background:#fff;
	border-radius:3px;
	display:inline-block;
  text-decoration: none;
  color: var(--font-color);
  font-weight: 600;
  font-size:1rem;
  transition: color 0.2s ease;
}

.chapter-country-list a:hover,
.chapter-country-list a.active {
  background:#e36970;
  
}

/* Highlight for <g> groups */
.highlight-country path {
  fill: #e36970 !important;
}

/* Highlight for standalone <path> directly */
path.highlight-country {
  fill: #e36970 !important;
}


/*Modal*/

.modal-content {
    border-radius: 0;
}

.modal-header{
	padding:30px 40px;
	border-bottom:0;
	background:#dee9df;
}
.modal-title{
	font-weight:900;
}
.modal-body{
	padding:30px 40px 40px;
}
.modal-body p:last-of-type{
	margin-bottom:0;
}

/*History*/

.year-container{
	
	 background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 1px 100%;
  background-repeat: no-repeat;
  background-position: center center;
	display: flex;
	align-items: flex-start;
	justify-content: space-evenly;
	height:100%;
	width:100px;
}
.year-circle{
	display: inline-block;
	border-radius:50%;
	line-height:0;
	color:#fff;
	background:var(--light-blue);
	border: 1px solid var(--blue);
}
.year-text{
	display: inline-block;
    padding-top: 50%;
    padding-bottom: 50%;
	font-size:1.6rem;
	font-weight:900;
	margin-right:20px;
	margin-left:20px;
	color:var(--font-color);
}	
.year-content{
	
	padding-top:36px;
	padding-bottom:80px;
}

/*News Page*/
.news-page-box{
	padding:15px;
	background:#fff;
	-webkit-box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
    box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
	height:100%;
	border-radius: 8px;
	position:relative;
	
}
.news-page-image{

	height: auto;
	aspect-ratio:16/9;
	position:relative;
	margin-bottom:15px; 
}

.news-page-box{
	margin-bottom:0px;
    text-wrap: balance;
}
.news-page-box h4{
	font-size:1.2rem;
	font-weight:700;
	margin-bottom:6px;
}
.news-page-date {
    font-style: italic;
    font-size: .8rem;
    padding-bottom: 4px;
}
@media only screen and (min-width: 767px){
	.news-page-box{
		padding:15px;
		
	}	
}
/* Single News Post */
.single-post{
	background: var(--light-pink);
}

.single-post .nav-item-24 .nav-link{
	opacity:1;	
}
.single-news-breadcrumbs{
	font-size:.7rem;
	padding-bottom:10px;
	border-bottom:1px solid var(--font-color);
	margin-bottom:30px;
}
.single-news-breadcrumbs a{
	color:var(--font-color);
	text-decoration:none;
	font-weight:600;
}
.single-news-breadcrumbs a:hover,
.single-news-breadcrumbs a:focus,
.single-news-breadcrumbs a:active
{
	color:var(--main-color);
	text-decoration:none;
}
.single-news-title h1{
	
	font-weight:900;
}
.single-news-date{
	margin:10px 0px;
	font-size:.85rem;
}

.press-release-button{
	margin:10px 0px 30px;
	text-align:left;
	font-size:.85rem;
}
.press-release-button a{
	color:var(--font-color);
	text-decoration:none;
}
.press-release-button a:hover,
.press-release-button a:active,
.press-release-button a:focus
{
	color:#fff;
	text-decoration:none;
}
.single-news-image{
	margin-bottom:30px
}
.single-news-logo{
	border-top:1.5px solid var(--font-color);
	border-bottom:1.5px solid var(--font-color);
	margin-bottom:40px;
	text-align:center;
}
.single-news-logo img{
	margin:35px auto;
	max-width:200px;
	max-height:80px;
}
.caption-text{
	font-size:.65rem;
	padding-top:4px;
	text-align:right;
	margin-bottom:30px;
}
.single-news-content{
	
}
.news-list{
	font-size:.85rem;
	padding-left:0px;
}
.news-list-header{
	font-size:.7rem;
	padding-bottom:10px;
	
}

.news-list-box {
    margin-bottom: 20px;
    border-top:1px solid var(--font-color);
    padding-top: 20px;
}


.news-list-link{
	color:var(--font-color);
	text-decoration:none;
	-webkit-transition: all .2sease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2sease-in-out;
}
.news-list-link:hover,
.news-list-link:active,
.news-list-link:focus
{
	color:#fff;
	text-decoration:none;
}
.news-list-title{
	font-weight:600;
	line-height:1.3;
}
.news-list-date{
	font-size:.7rem;
}

@media only screen and (min-width: 767px){
	.news-list{
		padding-left:30px;
	}
	.single-news-date{
		margin:10px 0px 20px;
		padding:7px 0;
		font-size:.85rem;
		border-top:1px solid var(--font-color);
		border-bottom:1px solid var(--font-color);
	}
	.press-release-button{
		margin:30px 0px 30px;
		text-align:right;
		font-size:.85rem;
	}
	.single-news-logo img{
		margin:50px auto;
		max-width:300px;
		max-height:120px;
	}

}	



.pagination-container {
    text-align: center;
    margin: 40px 0;
}

.pagination-container ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-container li {
    display: inline;
}

.pagination-container li a,
.pagination-container li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.pagination-container li a:hover {
    background: #f9f9f9;
    color: var(--font-color);
    border-color: var(--blue);
}

.pagination-container li .current {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    font-weight: bold;
}


/*PAGES*/

.page-banner {
    margin-top: -100px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #333;
    color: #fff;
    height: 80dvh;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 40% black */
    z-index: 2; /* Sit above background but below content */
}

/* Ensure text/content is above overlay */
.page-banner > * {
    position: relative;
    z-index: 3;
}

.page-banner-title {
	border-bottom: 1px solid #fff;
	font-size:4rem;
	line-height:1;
	font-weight:900;
	padding-top:2px;
	padding-bottom: 20px;
	margin: 0px auto 40px;
	width: 100%;
	position: relative;
}

.page-banner-title::after {
	content: "";
	width: 6px;
	height: 6px;
	background: #fff;
	border-radius: 5px;
	position: absolute;
	bottom: -3px;
	right: 0;
}
@media only screen and (min-width: 768px){
	.page-banner-title {
		border-bottom: 1px solid #fff;
		font-size:6rem;
		line-height:1;
		font-weight:900;
		padding-top:2px;
		padding-bottom: 20px;
		margin: 0px auto 120px;
		width: 100%;
		position: relative;
	}
}


.beige-section{
	background:var(--beige);
	padding:100px 0;
}
.blue-section{
	background:var(--light-blue);
	padding:100px 0;
	
}
.large-brown-text{
	color:var(--brown);
	font-size:1.5rem;
}
.large-brown-text a{
	
	color:var(--brown);
}
.large-brown-text h1{
	font-weight:900;
	font-size:3rem;
	margin-bottom:30px;
}
@media only screen and (min-width: 768px){
	.large-brown-text h1{
		font-weight:900;
		font-size:4rem;
		margin-bottom:30px;
	}
}
.blue-section-text{
	font-size:1rem;
}
.blue-section-text h1{
	font-weight:900;
	font-size:3rem;
	margin-bottom:30px;
}
@media only screen and (min-width: 768px){
	.blue-section-text{
		font-size:1.2rem;
	}
	.blue-section-text h1{
		font-weight:900;
		font-size:4rem;
		margin-bottom:30px;
	}
}
.large-text-intro{
	
	font-size:1.5rem;
	margin-bottom:50px;
}


.brown-line-graphic {
	border-top: 1px solid var(--brown);
	padding-top:2px;
	padding-bottom: 2px;
	margin: 0px auto 0;
	width: 100%;
	position: relative;
		display:none;
}

.brown-line-graphic::after {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--brown);
	border-radius: 5px;
	position: absolute;
	top: -3px;
	right: 0;
}

.bottom-link{
	margin-top:20px;
}
.bottom-link a{
	color:var(--brown);
	font-size:.85rem;
}
@media only screen and (min-width: 768px){
	.brown-line-graphic {
		border-top: 1px solid var(--brown);
		padding-top:2px;
		padding-bottom: 2px;
		margin: 0px auto 0;
		width: 100%;
		position: relative;
		display:block;
	}
}
/*Medical Geology*/


.five-goals-text{
	font-size:2.2rem;
	font-weight:900;
	line-height:1.2;
}
.five-goals-number{
	font-weight:900;
	font-size:4rem;
	margin-bottom:0px;
	line-height:1.2;
	margin-left:-50px;
}

.five-goals-left{
	display:block;
	align-items: center;
	justify-content: flex-start;
	
}
.five-goals-left .five-goals-panel{
	margin-left:0px;
	border-radius: 0px 0px 24px 0px;
}
.five-goals-right{
	display:block;
	align-items: center;
	justify-content: flex-end;
	
}
.five-goals-right .five-goals-panel{
	margin-right:0px;
	border-radius: 24px 0px 0px 0px;
}
.five-goals-panel{
	padding:30px 40px 40px 80px;
	font-size:1.3rem;
	line-height:1.3;
	max-width:450px;
	height:fit-content;
	position:relative;
	z-index:2;
}

.five-goals-image {
    aspect-ratio: 6 / 4;
    overflow: hidden;
    position: relative;
    z-index: 1;
    max-width: 100%;
	display:block;
}

.five-goals-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or contain, depending on what you want */
    display: block;
}
@media only screen and (min-width: 768px){
	.five-goals-left{
		display:flex;
		align-items: center;
		justify-content: flex-start;
		
	}
	.five-goals-right{
		display:flex;
		align-items: center;
		justify-content: flex-end;
		
	}
	.five-goals-text{
		font-size:2.6rem;
		font-weight:900;
		line-height:1.2;
	}
	.five-goals-number{
		font-weight:900;
		font-size:5rem;
		margin-bottom:0px;
		line-height:1.2;
		margin-left:-50px;
	}	
	.five-goals-panel{
		padding:30px 40px 40px 80px;
		font-size:1.3rem;
		line-height:1.3;
		max-width:450px;
		height:fit-content;
		position:relative;
		z-index:2;
	}
	.five-goals-left .five-goals-panel{
		margin-left:-80px;
		border-radius: 0px 24px 0px 0px;
	}
	.five-goals-right .five-goals-panel{
		margin-right:-80px;
		border-radius: 24px 0px 0px 0px;
	}
	.five-goals-image {
		aspect-ratio: 6 / 4;
		overflow: hidden;
		position: relative;
		z-index: 1;
		max-width: 60%;
		display:block;
	}
}
.five-goals-green{
	background:#EFF6E5;
}
.five-goals-green .five-goals-number{
	color:#59782C;
}
.five-goals-beige{
	background:var(--beige);
}
.five-goals-beige .five-goals-number{
	color:var(--brown);
}
.five-goals-blue{
	background:var(--light-blue);
}
.five-goals-blue .five-goals-number{
	color:var(--blue);
}
.final-content-section{
	background:var(--font-color);
	background-image:url(../img/medical-geology/mg-final-content.jpg);
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	padding:100px 0;
	min-height:90vh;
	color:#fff;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}
.final-content{
	font-size:1.3rem;
	line-height:1.5;
}

.final-content ul{
	list-style:none;
	padding-left:30px;
}	
.final-content ul>li{
	padding-bottom:1rem;
}
.final-content ul>li:last-of-type{
	padding-bottom:0rem;
}
.final-content ul>li:before{	
	font: var(--fa-font-regular);
    content: '\f054';
    color: var(--main-color);
    margin: 0 16px 0 -30px;
}
.final-content-reference{
	text-align:right;
	float:right;
	font-size:.85rem;
	border-top: 1px solid #fff;
	padding-top:20px;
	width: fit-content;
	position: relative;
}

/*Resources*/

.resources-box{
    padding: 20px;
    background: #fff;
    -webkit-box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
    box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
    height: 100%;
    border-radius: 8px;
}
.resources-box img{
	margin-bottom:20px;
}
@media only screen and (min-width: 768px){
	.resources-box{
		padding: 50px;
		background: #fff;
		-webkit-box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
		box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
		height: 100%;
		border-radius: 8px;
	}
	.resources-box img{
		margin-bottom:0px;
	}	
}
.resources-box-content h1{
	font-weight:900;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--font-color);
}

.publication-box{
	padding:20px;
	background:#fff;
	-webkit-box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
    box-shadow: 0px 10px 30px 0px rgb(0 53 124 / 10%);
	height:100%;
	border-radius: 8px;
	position:relative;
}


.publication-info h3{
	margin-bottom:0px;
}
.article-title{
	font-size:1.3rem;
	font-weight:bold;
	line-height:1.4;
}
.publication-subheading{
	font-size:1.1rem;
	font-weight:bold;
}
.publication-text{
	margin-top:20px;
}
.publication-image{

	height: auto;
	aspect-ratio:3/4;
	position:relative;

}
@media only screen and (min-width: 768px){
	.publication-box{
		padding:30px;
	}
}



.pdf-button{
	display:inline-block;
	margin:0;
	color:#fff;
	background:var(--main-color);
	font-size:.85rem;
	font-weight:700;
	text-align:center;
	padding:7px 20px;
	border-radius:5px;
	border:1px solid var(--main-color);
	text-decoration:none;
	
}
.pdf-button:hover,
.pdf-button:focus,
.pdf-button:active
{
	color:#fff!important;
	background:var(--main-color-hover);
	border:1px solid var(--main-color-hover);
	text-decoration:none;
}

.small-button{
	font-size:.85rem;
	padding:7px 20px;
	border-radius:5px;
	
}

.article-type{
	position:absolute;
	top:6px;
	right:10px;
}
.article-type-article{
	font-size:.8rem;
	background:#ffde00;
	padding:0px 8px;
	display:inline-block;
	border-radius:3px;
}
.article-type-review{
	font-size:.8rem;
	background:#86d18d;
	padding:0px 8px;
	display:inline-block;
	border-radius:3px;
}
.article-type-interview{
	font-size:.8rem;
	background:#9bd2eb;
	padding:0px 8px;
	display:inline-block;
	border-radius:3px;
}

/*Membership*/
.membership-form-group .forminator-label{
	font-size:18px!important;
	padding:12px 0px;
}

.membership-benefits{
	padding:30px 20px 20px;
	margin-bottom:30px;
	background:#fff;
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
}
@media only screen and (min-width: 768px){
	.membership-benefits{
		padding:50px 50px 50px 50px;
	margin-bottom:0px;
		background:#fff;
		border-radius:8px;
			-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
		box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	}	
}
.membership-benefits h4{
	margin-bottom:5px;
	display:inline;
}
.membership-benefits ul{
	list-style:none;
	padding-left:35px;
}	
.membership-benefits ul>li{
	padding-bottom:1rem;
}
.membership-benefits ul>li:last-of-type{
	padding-bottom:0rem;
}
.membership-benefits ul>li:before {
    font: var(--fa-font-regular);
    content: '\f00c';
	font-size:1.2rem;
    color: var(--green);
    margin: 0 14px 0 -35px;
}

.join-box{
	padding:30px;
	color:#fff;
	background:var(--green);
	margin-bottom:30px;
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	transition: all .2s ease-in-out; 
	position:relative;
}

.join-box:hover{
	transform: scale(1.05);
}
.join-box-link{
	color:#fff;
	text-decoration:none;
}

.join-box h2{
	margin-bottom:10px;
}

.join-box-members{
	background:var(--blue);

}



.membership-dues{
	padding:30px 20px 20px;
	background:#fff;
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	margin-bottom:30px;
} 
.page-id-3135 .membership-dues{
	padding:30px 30px 30px;
	font-size:.85rem!important;
} 
.membership-extra-info{
	padding:30px 20px;
	background:#fff;
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
} 
@media only screen and (min-width: 768px){
	.membership-benefits{
		padding:50px 50px 50px 50px;
	margin-bottom:0px;
		background:#fff;
		border-radius:8px;
			-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
		box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	margin-bottom:0px;
	}	
	.membership-dues{
	padding:50px 50px 50px;

} 
	.membership-extra-info{
		padding:30px 30px;
		background:#fff;
		border-radius:8px;
			-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
		box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	} 
}
.membership-dues table{
	width:100%;
	font-size:.9rem;
	
}
.membership-dues table th{
	border-bottom:1px solid var(--font-color);
	padding-top:25px;
	padding-bottom:10px;
	font-size:1rem;
	vertical-align: bottom;
	
}
.membership-dues table td{
	padding:8px 0px;
	
}
.membership-dues .td1, 
.membership-dues .th1{
	width:60%;
	vertical-align: bottom;
}
.membership-dues .td2,
.membership-dues .th2{
	width:20%;
	vertical-align: bottom;
}
.membership-dues .td3,
.membership-dues .th3{
	width:20%;
	vertical-align: bottom;
}
@media only screen and (min-width: 768px){
	.membership-dues table{
		width:100%;
		font-size:1rem;
		
	}
	.membership-dues table th{
		border-bottom:1px solid var(--font-color);
		padding-top:25px;
		padding-bottom:10px;
		font-size:1.2rem;
		
	}	
	.page-id-3133 .membership-dues table,
	.page-id-3135 .membership-dues table{
		width:100%;
		font-size:.85rem!important;
			
	}
	.page-id-3133 .membership-dues table th,
	.page-id-3135 .membership-dues table th{
		border-bottom:1px solid var(--font-color);
		padding-top:25px;
		padding-bottom:10px;
		font-size:1rem;
		
	}	
}
.page-id-3133 .membership-dues,
.page-id-3135 .membership-dues{
	padding:30px 30px 30px;
	
} 
.page-id-3133 .membership-extra-info .full-button,
.page-id-3135 .membership-extra-info .full-button{
	display:none;
}

/*Working Groups*/
.working-group-content{
	padding:30px 20px 10px 20px;
	background:#fff;
	font-size:1rem;
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	margin-bottom:30px;
}

.working-group-summary{
	padding:30px 20px 10px 20px;
	background:var(--beige);
	font-size:1rem;
	font-family: "adobe-aldine", sans-serif;
	color:var(--brown);
	border-radius:8px;
		-webkit-box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
    box-shadow: 0px 20px 40px 0px rgb(0 0 0 / 15%);
	margin-bottom:30px;
}
@media only screen and (min-width: 768px){
	.working-group-content{
		padding:50px 50px 30px 50px;
	margin-bottom:0px;
	font-size:1.2rem;
	}

	.working-group-summary{
		padding:50px 50px 30px 50px;
	margin-bottom:0px;
	font-size:1.6rem;
		
	}
}
/*Footer*/
#site-footer{
	margin-top:30px;
	padding-bottom:30px;
}

.footer-email{
	font-size:1.2rem;
}
.footer-email a{
	text-decoration:none;
	color:var(--font-color);
}
.footer-email a i{
	text-decoration:none;
	color:var(--blue);
}
.footer-social{
	text-align:right;
}
.footer-social a{
	font-size:1.2rem;
	display:inline-block;
	border-radius: 50%;
    height: 44px;
    width: 44px;
    line-height: 40px;
    text-align: center;
	color:var(--font-color);
	border:2px solid var(--font-color);
}
.footer-divider{
	border-top:1px solid var(--blue-hover);
	margin-bottom:30px;
	margin-top:20px;
}
.footer-logo{
	max-width:100px;
	margin-bottom:30px;
}
@media only screen and (min-width: 768px){
	.footer-email{
		font-size:1.6rem;
	}
	.footer-logo{
	max-width:160px;
	margin-bottom:0px;
}
}



#site-footer h3{
	font-size:1.3rem;
	margin-bottom:12px;
}

.footer-menu ul{
	padding-left:0;
	list-style-type:none;
}
.footer-menu a{
	color:var(--font-color);
	font-size:.9rem;
	font-weight:400;
	line-height:1.4;
	text-decoration:none;
}
.footer-menu a:hover,
.footer-menu a:focus,
.footer-menu a:active
{
	color:var(--blue);
	text-decoration:none;
}


.footer-copyright{
	font-size:.8rem;
}
.footer-affilliation{
	font-size:.8rem;
	text-align:left;
	margin-top:20px;
}
.footer-affilliation a{
	color:var(--blue);
	text-decoration:none;
}
.footer-affilliation a:hover,
.footer-affilliation a:focus,
.footer-affilliation a:active
{
	color:var(--blue);
	text-decoration:underline;
}

@media only screen and (min-width: 768px){
	.footer-affilliation{
		font-size:.8rem;
		text-align:right;
		margin-top:0px;
	}
}



.timeline-wrapper {
      position: relative;
      width: 100%;
      max-width: 1200px;
      overflow: hidden;
    }
.timeline-wrapper a{
	color:#fff;
	text-decoration:none;
}
    .timeline-container {
      display: flex;
      white-space: nowrap;
      overflow-x: hidden;
      padding: 1rem 0 0;
	  border-bottom:1px solid #fff;

      /* CSS mask for fade effect */
      mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
      mask-size: 100% 100%;
      -webkit-mask-size: 100% 100%;
      mask-repeat: no-repeat;
      -webkit-mask-repeat: no-repeat;
    }

    .year {
      flex: 0 0 auto;
      padding: 0.5rem 1rem;
      margin: 0 0.5rem;
      background: transparent;
position: relative;
      cursor: pointer;
    }
.year::after {
  content: "";
  position: absolute;
  bottom: 0px; /* Adjust as needed for spacing */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 10px;
background-color: #fff; /* or any color you prefer */
}
