/* CSS Document */
.team-grid-section {
  /* margin: 80px 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: 43px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.team-grid-section .grid .item {
  width: calc(22% - 35px);
  pointer-events: none;
}

.item {}
@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 10px;
  border-radius: 8px;
  overflow: hidden;
}
.team-grid-section .grid .item .team-cta .bnn img {
  position: absolute;
  width: 100%;
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  pointer-events: none;
  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 {
	margin: 0 0 5px;
	text-align: left;
	 /* 133.333% */
	color: var(--main, #004F62);
	font-family: Barlow;
	font-size: 22px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}
.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;
}
.item .team-cta button.btn-layout.green.hollow {
    margin-top: 20px;
    display: flex;
    justify-self: center;
}
h2.teamTitle {
    padding-bottom: 80px;
    padding-top: 80px;
    color: var(--dark, #424242);
    text-align: center;

/* h1-letterspace */
    font-family: Barlow;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.grid.mgmt {
    gap: 30px;
}
.team-grid-section .grid .item .team-cta .company {
	text-align: left;
	 /* 171.429% */
	color: var(--dark, #424242);
	font-family: Barlow;
	font-size: 18px;
	font-style: normal;
	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%;
	}
}

