/**/
.ourtean-sec {
  width: 100%;
  padding: 80px 0;
  background: #ffffff;
}

.ourtean-sec .heading-row {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 20px;
}

/* Team cards */
.teambox-col {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  margin: 12px 0;
}

.teambox-col:before {
  content: "";
  background: transparent
    linear-gradient(
      179deg,
      #3e3e3e33 0%,
      #1c1c1c86 68%,
      #342f2f 100%
    )
    0% 0% no-repeat;
  opacity: 0.75;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  transition: all 0.5s;
}

.teambox-col > .img-fluid {
  display: block;
  width: 100%;
  height: 450px;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.teamname-dag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 15px 25px 25px;
  z-index: 2;
}

.teamname-dag h5 {
  font-size: 22px;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 5px;
}

.teamname-dag p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin: 0;
}

.team-hover {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  transform: translateY(-50px);
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}

.team-hover h6 {
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  display: inline-block;
}

.team-hover h6:hover {
  text-decoration: underline;
  text-underline-position: under;
}

.teambox-col:hover:before {
  opacity: 1;
}

.teambox-col:hover .team-hover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Modal */
.popupteam .modal-dialog {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 12px;
}

.popupteam .modal-content {
  width: 100%;
  box-shadow: 5px 15px 25px #00000033;
  border: 1px solid #707070;
  border-radius: 20px;
  overflow: hidden;
}

.popupteam .modal-body {
  width: 100%;
  padding: 40px 30px;
}

.teamodal-datarow {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin: 0;
  position: relative;
}

/* Fixed modal image column */
.teamimg-left {
  flex: 0 0 40%;
  width: 40%;
  padding: 0 20px;
  align-self: flex-start;
}

/* Fixed modal image size */
.teamimg-left .img-fluid {
  display: block;
  width: 100%;
  height: 450px;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
}

/* Biography column */
.teamdata-right {
  flex: 1 1 auto;
  width: 60%;
  min-width: 0;
  padding: 40px 20px 0;
}

.popupteam .btn-close {
  opacity: 1;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9;
  padding: 10px;
  box-shadow: none;
}

.teamname-row {
  margin: 0 0 30px;
  padding-right: 35px;
}

.teamname-row h2 {
  font-size: 32px;
  color: #1f1c1c;
  font-weight: 700;
  margin: 0 0 7px;
}

.teamname-row h5 {
  font-size: 22px;
  color: #1f1c1c;
  font-weight: 500;
  opacity: 0.7;
  margin: 0;
}

.teamname-details h3 {
  font-size: 25px;
  color: #1f1c1c;
  font-weight: 700;
  margin: 0 0 10px;
}

.teamname-details p {
  font-size: 18px;
  color: #4f4f4f;
  font-weight: 400;
  margin: 0 0 1em;
}

.teamname-details p:last-child {
  margin-bottom: 0;
}

.teamname-details div {
  max-width: 100%;
  width: 100%;
}

/* Biography WYSIWYG content */
.teamname-details {
  font-size: 18px;
  line-height: 1.6;
  color: #4f4f4f;
}

.teamname-details p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: 400;
  margin: 0 0 1em;
}

.teamname-details p:last-child {
  margin-bottom: 0;
}

/* Restore lists that the theme's global CSS may reset */
.popupteam .teamname-details ul,
.popupteam .teamname-details ol {
  display: block;
  margin: 0 0 1em !important;
  padding-left: 1.75em !important;
}

.popupteam .teamname-details ul {
  list-style: disc outside !important;
}

.popupteam .teamname-details ol {
  list-style: decimal outside !important;
}

.popupteam .teamname-details li {
  display: list-item !important;
  margin: 0 0 0.4em;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.popupteam .teamname-details ul > li {
  list-style-type: disc !important;
}

.popupteam .teamname-details ol > li {
  list-style-type: decimal !important;
}

.popupteam .teamname-details li::marker {
  color: #12733b;
  font-weight: 700;
}

.popupteam .teamname-details li:last-child {
  margin-bottom: 0;
}

/* Nested lists */
.popupteam .teamname-details ul ul {
  list-style-type: circle !important;
}

.popupteam .teamname-details ul ul ul {
  list-style-type: square !important;
}

.popupteam .teamname-details ol ol {
  list-style-type: lower-alpha !important;
}

.popupteam .teamname-details ul ul,
.popupteam .teamname-details ol ol,
.popupteam .teamname-details ul ol,
.popupteam .teamname-details ol ul {
  margin-top: 0.4em !important;
  margin-bottom: 0 !important;
}

/* Links inside biographies */
.teamname-details a {
  color: #12733b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teamname-details a:hover,
.teamname-details a:focus {
  color: #0b4f28;
}

/* Quotes added with the WYSIWYG Blockquote option */
.teamname-details blockquote {
	position: relative;
	margin: 1.5em 0;
	padding: 20px 24px 12px 30px;
	background: #f4f7f5;
	border-left: 4px solid #12733b;
	border-radius: 0 10px 10px 0;
	color: #343434;
	font-style: italic;
}

.teamname-details blockquote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 10px;
  color: #12733b;
  font-size: 34px;
  line-height: 1;
  font-family: Georgia, serif;
}

.teamname-details blockquote p {
  margin-bottom: 0;
  color: inherit;
}

.teamname-details blockquote p:last-child {
  margin-bottom: 0;
}

/* Optional citation entered inside a blockquote */
.teamname-details blockquote cite {
  display: block;
  margin-top: 10px;
  color: #666666;
  font-size: 0.85em;
  font-style: normal;
  font-weight: 600;
}

/* Inline quotations */
.teamname-details q {
  font-style: italic;
}

/*-------------------------------- Responsive Media Query --------------------------------*/

@media (min-width: 1600px) {
	.teamname-dag h5 {
		font-size: 25px;
	}
	
	.teamname-dag p {
		font-size: 18px;
	}
}

@media (max-width: 1199px) {
	.teambox-col > .img-fluid {
		height: 300px;
	}
	
	.team-hover h6 {
		font-size: 16px;
	}
	
	.teamimg-left .img-fluid {
		height: 400px;
	}
}

@media (max-width: 991px) {
	.popupteam .modal-body {
		padding: 20px;
	}
	
	.teamimg-left {
		flex-basis: 40%;
		width: 40%;
		padding: 0 20px 0 0;
	}
	
	.teamimg-left .img-fluid {
		height: 350px;
	}
	
	.teamdata-right {
		width: 60%;
		padding: 30px 20px 0 0;
	}
	
	.teamname-row h2 {
		font-size: 26px;
	}
	
	.teamname-row h5 {
		font-size: 18px;
	}
	
	.teamname-details h3 {
		font-size: 20px;
	}
	
	.teamname-details p {
		font-size: 16px;
	}
	
	.teamname-details {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.popupteam .modal-dialog {
		margin: 15px auto;
	}
	
	.popupteam .modal-body {
		padding: 20px;
	}
	
	.teamodal-datarow {
		flex-direction: column-reverse;
		flex-wrap: nowrap;
	}
	
	.teamimg-left {
		flex: none;
		width: 100%;
		max-width: 360px;
		padding: 0;
		margin: 0 auto;
	}
	
	.teamimg-left .img-fluid {
		width: 100%;
		height: 420px;
	}
	
	.teamdata-right {
		flex: none;
		width: 100%;
		padding: 0 0 25px;
	}
	
	.popupteam .btn-close {
		right: 0;
		top: 0;
	}
}

@media (max-width: 600px) {
	.teambox-col {
		width: calc(100% - 60px);
		margin-left: 30px;
		margin-right: 30px;
	}
	
	.teambox-col > .img-fluid {
		height: 450px;
	}
	
	.teamimg-left {
		max-width: 320px;
	}
	
	.teamimg-left .img-fluid {
		height: 400px;
	}
	
	.teamname-details blockquote {
		padding: 18px 18px 18px 26px;
	}
}