* {font-family: Helvetica Neue,Helvetica}

.darker {
  color: black;
}

a {
  color: #007398;
	text-decoration: none;
}

/* unvisited link */
a:link {
  color: #007398;
}

/* visited link */
a:visited {
  color: #007398;
	text-decoration: none;
}

/* mouse over link */
a:hover {
  color: #007398;
}

/* selected link */
a:active {
  color: #007398;
}

.footer-navigation li a {
    display: inline-block;
    font-weight: bold;
		color: white;
}

h1
{color: #5c2b59}

.grid-wrapper .entry-title a {
		color: #003f53;
}

/*Accordion */
#accordion{
  margin: 20px auto;
}

#accordion li{
  list-style: none;
  width: 100%;
  margin-bottom: 20px;
  background: #FAFAFA;
  padding: 10px;
  border-radius: 4px;
}

#accordion li label{
	padding: 10px;
	align-items: center;
	font-size: 19px;
	font-weight: 500;
	cursor: pointer;
}


.flex-container{
	display: flex;
	align-items: center;
	
}

.align-right {
    text-align: center;
  }

#accordion input[type="radio"] {
	display: none;
}

#accordion .content{
	padding: 0 10px;
	line-height: 26px;
	height: 0;
	overflow: hidden;
	transition: max-height 0.5s;
}


#accordion input[type="radio"]:checked ~ label img.icon_sm { 
	transform: rotate(180deg);
}


#accordion input[type="radio"]:checked ~ .content { 
	height: auto;
}


/*Column */
.row {
	display: flex;
	margin: 50px 0px;
}

.left {
	width: 20%;
}

.right {
	width: 80%;
}


/*Table */
table, th, td {
  border:transparent;
}

td 
{
  vertical-align: middle;
	padding: 32px;
}

/*Image */
.icon_lg {
	width: 100px;
	height: 100px;
}

.icon_medium {
	width: 40px;
	height: 40px;
	margin-right: 20px;
}

.icon_sm {
	width: 24px;
	height: 24px;
	margin-left: 8px;
	transition: transform 0.3s;
}

.image_team {
	width: 120px;
	height: auto;
	margin-right: 32px;
}

/*Team Card */
.team-card-group {
	display: flex;
}

/*Team Card Popup*/
.teampopup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.teampopup .teampopupcontent {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.teampopup .teampopupcontent::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.teampopup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.teamcard {
	background: #FFFFFF;
	width: 25%;
	margin-right: 32px;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.1);
	border-radius: 8px;
  width: 100%; 
	max-width: 700px;
}


/* Add some padding inside the card container */
.team-container {
	width: 100%;
  padding: 2px 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.team-CTA {
	display: flex;
	justify-content: space-between;
	color: #666666;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}




/*Popup */
.overlay-contactform{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
	z-index: -1;
}

.overlay-contactform:target{
	visibility: visible;
  opacity: 1;
	z-index: 100;
}

.wrapper {
	margin: 70px auto;
	padding: 20px;
	background: white;
	border-radius: 4px;
	width: 50%;
	max-width: 460px;
	position: relative;
	transition: all 2s ease-in-out;
}

.wrapper .close{
	position: absolute;
  top: 10px;
	right: 30px;
	transition: all 200ms;
	font-size: 30px;
	font-weight: bold;
	text-decoration: none;
	color: #333;
}

.wrapper .content{
	max-height: 30%;
	overflow: auto;
}

/*WPForms Button */
.wpforms-form button[type=submit] {
    background-color: #924071 !important;
    border-color: #924071 !important;
    color: #fff !important;
	  font-weight: 400;
    transition: background 0.3s ease-in-out;
}
 
.wpforms-form button[type=submit]:hover {
    background-color: #994D7A !important;
}

.tech-call-section {
	display: flex;
	gap: 32px;
  align-items: center;
}
.tech-call-section > * {
	flex: 1;
}

/*Responsive design */

/*For mobile devices */
@media only screen and (max-width: 768px) {
	.tech-call-section {
    flex-direction: column;
  }
	.tech-call-section > * {
    width: 100%;
  }
	.tech-call-section-odd > *:first-child {
		order: 2;
	}
	.tech-call-section-odd > *:nth-child(2) {
		order: 1;
	}
	.wrapper {
		width: 80%;
	}
	
	.targeted-outreach-programme-banner {
		flex-direction: column;
		align-items: start;
		gap: 40px !important;
		width: 80% !important;
	}
	.homepage-widgets {
		margin-top: 439px !important;
	}
}

@media only screen and (max-width: 992px) and (min-width: 768px) {
	.homepage-widgets {
		margin-top: 386px !important;
	}
}
@media only screen and (max-width: 500px) {
	.homepage-widgets {
		margin-top: 525px !important;
	}
}
@media only screen and (max-width: 433px) {
	.homepage-widgets {
		margin-top: 583px !important;
	}
}
@media only screen and (max-width: 376px) {
	.homepage-widgets {
		margin-top: 639px !important;
	}
}

.homepage-widgets {
	margin-top: 300px;
}

/* Highlighted box */
.highlight-box {
	background: #FAFAFA; 
	border-radius: 8px; 
	padding: 20px;
	Margin: 20px 0px;
}
