.modal {
  display: none;
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  max-width: 300px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.modal-close-btn {
    margin-left: 20px;
	cursor:pointer;
    background-color: #fff;
	font-size: 20px;}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);}

body.modal-active{overflow: hidden;}
.project__image {cursor:pointer;}

.modal_title h4{margin:0px;}
.modal_title {
padding:16px;
    border-bottom: 1px solid #dee2e6;
}
.modal_content > div strong{
	line-height:1.5em;
	font-size:24px;}
.modal_content > div {
    padding-right: 20px;
    overflow-y: scroll;
}
.modal_content {
    padding: 16px;
}
.modal.active {
    z-index: 10000000;
    max-width: 800px;
    top: 50%;
	padding:0 20px;
    left: 50%;
    transform: translate(-50%, -50%);}



.team-small-members img{max-width:240px;}
.team-small-members > div {
	margin:0 auto 0 0;
	max-width:300px;}
.team-small-members h3{margin-bottom:0px;}
.team-small-members small{
    display: block;
	margin-bottom:10px;}
.big-person-text {
    padding: 0 25px;
	height:100%;}


.team-person-about-list {
	padding:25px;
	border:2px dashed #e8e8e8;
	box-sizing:border-box;}

.occupation-wrap p{margin:0 !important;}

.team-person-about-list a {
	background: -webkit-linear-gradient(-50deg, rgba(179,142,96,1) 0%, rgba(140,107,66,1) 28%, rgba(253,196,128,1) 63%, rgba(140,107,66,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;}

.single-team-gradient h1,
.single-team-gradient p{color: var(--default-color);}

	@media 
		only screen and(max-device-width: 999px) and ( min-device-pixel-ratio: 1),
		(max-width: 999px){
			.modal.active{width: calc(100% - 120px);}
			.modal_content > div strong{
				line-height:1.5em;
				font-size:20px;}
		}
		
		
	@media 
		only screen and(min-device-height: 750px) and ( min-device-pixel-ratio: 1),
		(min-height: 750px){
			.modal_content > div {
				max-height: 550px;
			}
		}

	@media 
		only screen and(max-device-height: 749px) and ( min-device-pixel-ratio: 1),
		(max-height: 749px){
			
			.modal_content > div {max-height: 400px}
		}
		

	@media 
		only screen and(max-device-height:600px) and ( min-device-pixel-ratio: 1),
		(max-height: 600px){
			
			.modal.active {
				transform: translatex(-50%);
				top: 50px;}
			.modal_content > div {max-height: 280px}
		}
		
	@media 
		only screen and(max-device-width:550px) and ( min-device-pixel-ratio: 1),
		(max-width: 550px){
			/* .small-members-wrap { */
				/* justify-content:center; */
				/* text-align:center;} */
			.team-small-members > div {max-width:initial;}
		}
			@media 
		only screen and(max-device-height:450px) and ( min-device-pixel-ratio: 1),
		(max-height: 450px){
			
			.modal.active {
				transform: translatex(-50%);
				top: 50px;}
			.modal_content > div {max-height: 130px;}
		}