/* CSS Document */
.team-grid-section {
  margin: 50px 0;
}
.team-grid-section .container {
  opacity: 0;
}
.team-grid-section.ready .container {
  opacity: 1;
  animation: fadeInUp 1.2s both;
}
.team-grid-section .grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.team-grid-section .grid .item {
  width: calc(25% - 23px);
}
@media (min-width: 1201px) {
	.team-grid-section .grid .item:nth-child(7n-2),
	.team-grid-section .grid .item:nth-child(7n-1),
	.team-grid-section .grid .item:nth-child(7n) {
	  flex: 0 0 25%; /* 3 por linha */
	}
}
.team-grid-section .grid .item .team-cta {
    text-decoration: none!important;
    \: left;
}
.team-grid-section .grid .item .team-cta .bnn {
  display: block;
  position: relative;
  padding-bottom: 117%;
  overflow: hidden;
  margin: 0 0 20px;
  border-radius: 8px;
  overflow: hidden;
}
.team-grid-section .grid .item .team-cta .bnn img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: all 1.3s ease;
}
.team-grid-section .grid .item .team-cta:hover .bnn img {
  transform: scale(1.1);
}
.team-grid-section .grid .item .team-cta h2 {
	color: #0677A1;
	text-align: left;
	font-family: Indivisible;
	font-size: 23px;
	font-style: normal;
	font-weight: 600;
	border-bottom: 1.5px solid #0677A1;
	line-height: normal;
	margin: 0 0 5px;
}
.team-grid-section .grid .item .team-cta p {
	color: var(--darker-text, #525252);
	text-align: center;
	font-family: Indivisible;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin: 0 0 5px;
}
.team-grid-section .grid .item .team-cta .company {
	color: black;
	font-family: Indivisible;
	font-size: 16px;
	font-style: normal;
	text-align: left;
	font-weight: 400;
	line-height: normal;
}
.team-grid-section .grid .item .member-info { display: none }
@media (max-width: 1200px) {
	.team-grid-section .grid .item {
	  width: calc(33.3333% - 54px);
	}
}
@media (max-width: 768px) {
	.team-grid-section .grid .item {
	  width: calc(50% - 40px);
	}
	.team-grid-section .grid .item .team-cta h2 {
		font-size: 23px;
		margin: 0 0 5px;
	}
}
@media (max-width: 540px) {
	.team-grid-section .grid .item {
	  width: 100%;
	}
}

body.modal-active {
	overflow: hidden;
}
.modal {
	display: block;
	z-index: 999999;
	position: fixed;
	overflow-y: scroll;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
	background: rgba(0, 0, 0, 0.80);
	transition: opacity .4s ease;
}
.modal:not(.active) {
	height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all .3s ease;
}
.modal .modal-content {
	max-width: 1140px;
	margin: 50px auto;
	padding: 0 20px;
	text-align: right;
}
.modal .modal-content .close-modal {
	display: inline-block;
	color: #FFF;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin: 28px 0;
	text-decoration: none!important;
	transition: all .3s ease;
}
.modal .modal-content .close-modal:hover {
	opacity: .6;
}
.modal .modal-content .modal-body {
	text-align: left;
	padding: 30px;
	border-radius: 8px;
	background: var(--gray, #EBE8E5);
}
/* Custom body */
.modal .modal-content .modal-body {
	display: flex;
	gap: 30px;
	justify-content: space-between;
}
.modal .modal-content .modal-body .photo {
	width: 100%;
	max-width: 300px;
}
.modal .modal-content .modal-body .photo img {
	border-radius: 8px;
}
.modal .modal-content .modal-body .bio {
	width: calc(100% - 330px);
}
.modal .modal-content .modal-body .bio p {
	color: var(--darker-text, #525252);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	margin: 0 0 22px;
}
.modal .modal-content .modal-body .bio h2 {
	color: var(--main, #0E385E);
	font-size: 30px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}
.modal .modal-content .modal-body .bio h2 + p {
	color: var(--darker-text, #525252);
	margin: 5px 0;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 3.2px;
	text-transform: uppercase;
}
.modal .modal-content .modal-body .bio .company {
	color: var(--darker-text, #525252);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin: 0 0 30px;
}

@media (max-width: 1200px) {}
@media (max-width: 991px) {}
@media (max-width: 768px) {
	.modal .modal-content .modal-body {
		flex-direction: column;
	}
	.modal .modal-content .modal-body .photo img,
	.modal .modal-content .modal-body .bio {
		width: auto;
		max-width: 100%;
	}
}

@media (min-width: 1920px) {
	.modal .modal-content {
		max-width: 1440px;
	}
	.team-grid-section .grid .item .team-cta h2,
	.modal .modal-content .modal-body .bio h2 {
		font-size: 29px;
	}
	.team-grid-section .grid .item .team-cta .company {
		font-size: 25px;
	}
	.team-grid-section .grid .item .team-cta p {
		font-size: 28px;
	}
	.modal .modal-content .modal-body .bio h2 + p,
	.modal .modal-content .modal-body .bio .company,
	.modal .modal-content .modal-body .bio p {
		font-size: 22px
	}
}