/* cmsms stylesheet: LISETeam modified: mercredi 10 mars 2021 11:50:33 */
.grid-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-gap: 0;
	margin: 40px auto;
	max-width: 1200px;
	margin: 40px auto; 
  }
  .grid-list__item {
	position: relative;
	z-index: 1;
  }

.mainContent {
	padding: 60px 0 80px 0;
}

/* Team 
================================================== */
.team-member {
	position: relative;
	transition: all ease-in 0.2s;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	padding: 30px; 
  }
  .team-member:after {
	content: "";
	position: absolute;
	z-index: 4;
	transition: all ease-in-out 0.2s;
	height: 58px;
	width: 58px;
	top: 40px;
	left: 0;
	opacity: 0;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 24px;
	line-height: 58px;
	content: "\f067";
	color: ;
	background-color: white;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	text-align: center;
  }
  .team-member:hover {
	box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.16);
	cursor: pointer;
	z-index: 2; 
  }
  .team-member:hover .team-member__name {
	color: ; 
  }
  .team-member:hover .member-image--hover {
	opacity: 1;
  }
  .team-member:hover:after {
	left: 40px;
	opacity: 1;
  }
  .team-member__click {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 6;
  }
  .team-member__image {
	position: relative;
	width: 100%;
	transition: all ease-in 0.2s;
	overflow: hidden;
	border-radius: 50%;
  }
  .team-member__image img {
	width: 100%;
	height: auto;
	display: block;
	transition: all ease-in 0.2s;
  }
  .team-member__image img.member-image--main {
	z-index: 1;
  }
  .team-member__image img.member-image--hover {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	opacity: 0;
  }
  .team-member__description {
	background-color: #fff;
	text-align: center;
	padding: 10px 0 10px;
  }
  .team-member__name {
	font-family: 'Raleway', Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 18px;
	margin-bottom: 0;
text-align: center;
  }
  .team-member__title {
	display: inline-block;
	padding-top: 8px;
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-size: 15px;
	opacity: 0.6;
  }
  .team-modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity ease-in-out 0.2s;
	z-index: 1001;
  }
  .team-modal:target {
	pointer-events: all;
	opacity: 1;
  }
  .team-modal.open {
	pointer-events: all;
	padding-right: 17px;
	overflow-x: hidden;
	overflow-y: auto;
	opacity: 1;
  }
  .team-modal:hover {
	cursor: pointer;
  }
  .team-modal__backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	transition: opacity ease-in-out 0.2s;
	background-color: white;
	opacity: .7;
	/*z-index: 1000;*/
	pointer-events: all;
	display: none;
  }
  .team-modal__inner {
	position: absolute;
	display: flex;
	flex-direction: row;
	width: 90%;
	max-width: 900px;
    max-height: 560px;
	height: 92vh;
	align-content: stretch;
	line-height: 1.8;  
	top: 50%;
	left: 50%;
	cursor: default;
	transform: translateX(-50%) translateY(-50%);
	box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.25);
	background: white;
  }
  .team-modal__image {
	width: 50%;
	text-align: center;
	background: #f2f2f2;
	margin: 0;
	overflow: hidden;
  }
  .team-modal__image img {
	height: auto;
	object-fit: initial;
  }
  .team-modal__text-content {
	width: 50%;
	padding: 40px;
	display: flex;
	flex-direction: column;
  }
  .team-modal__text-content .team-modal__header {
	flex-grow: 0;
	flex-shrink: 0;
	margin-bottom: 16px;
  }
  .team-modal__text-content .team-modal_body-text {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 160%;
	flex-grow: 1;
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 10px;
  }
  .team-modal__text-content .team-modal_body-text p {
	margin-bottom: 16px;
  }
  .team-modal__text-content .team-modal__name {
	font-family: 'Raleway', Arial, Helvetica, sans-serif;
	font-size: 26px;
	text-transform: none;
	line-height: 100%;
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: 700;
  }
  .team-modal__text-content .team-modal_title {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 140%;
	opacity: 0.6;
	margin: 0 0 10px 0;
  }
  .team-modal__text-content .team-modal_lang {
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 400;     
	opacity: 0.6;
	margin: 0;
  }
  .team-modal__close {
	position: absolute;
	text-decoration: none;
	height: 40px;
	width: 40px;
	border-radius: 50%;
	z-index: 2;
	top: 16px;
	right: 16px;
	background-color: rgba(0, 0, 0, 0.1);
	opacity: 0.6;
	transition: opacity ease-in-out 0.2s;
  }
  .team-modal__close .icon__close {
	display: block;
	height: 100%;
	width: 100%;
	background-image: url(http://aappie.fr/uploads/designs/tpl-buddy-011_mle_v1.1/icon__close.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	opacity: 0.4;
  }
  .team-modal__close:hover {
	opacity: 0.8; 
  }
  .team-modal__close:hover .icon__close {
	opacity: 0.6;
  }
  .team-modal__close:active {
	opacity: 1;
  }
  .team-modal__close:active .icon__close {
	opacity: 0.8; 
  }
  
  .team-modal__close-overlay {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #fff;
	opacity: 0.7;
	cursor: pointer;
	transition: opacity ease-in-out 0.2s; 
  }
  .team-modal__close-overlay:hover {
	opacity: 0.6; 
  }

/* Media Queries
================================================== */
@media screen and (max-width: 1280px) {
	.search-trigger { width: 66px; height: 86px; }
	header nav { margin-right: 16px; }
}

@media screen and (max-width: 1023px) {
	section { overflow: hidden;	}
	.wrapper { margin: 100px 0 0; }
	.search-input { margin-top: 0px; }
	header { height: 100px; }
	header nav { display: none; }
	header .mobile-nav-trigger {
		display: block;
		float: none;
		position: absolute;
		top: 0;
		left: 0;
		width: 66px;
		height: 74px;
		text-indent: -9999px;
		border-right: #e1e1e1 solid 1px;
		overflow: hidden;
	}
	header .mobile-nav-trigger span {
		position: relative;
		display: block;
	}
	header .mobile-nav-trigger span:before {
		content: "";
		position: absolute;
		left: 22px;
		top: 30px;
		width: 20px;
		height: 3px;
		background: #505050;
		box-shadow: 0 6px 0 0 #505050, 0 12px 0 0 #505050;
	}
	header .mobile-nav-trigger.active {
		background-color: #737475;
		border-right: none;
		height: 76px;
		}
		header .mobile-nav-trigger.active span:before {
			background: #fff;
			box-shadow: 0 6px 0 0 #fff, 0 12px 0 0 #fff;
		}
	header .container.mobile-header {
		width: 100%;
		height: 76px;
		margin: 0;
		padding: 0;
		}
		header .container.mobile-header .row {
			margin: 0;
			}
			header .container.mobile-header .col-sm-12 {
				float: none;
				padding: 0;
				}
	.logo a { 
		float: none; 
		text-align: center; 
		margin: 0; 
		position: absolute;
		left: 66px;
		right: 66px;
		top: 12px;
	}
	.search-trigger { 
		width: 66px; 
		height: 74px; 
		}
		.search-trigger i {
			margin-top: 26px;
		} 
	
	/* Mobile navigation */
	section.mobile-navigation {	
		position: fixed;
		padding: 0;
		top: 100px;
		bottom: 0;
		overflow-y: scroll;
		z-index: 10000;
		width: 100%;
	}
	.mobile-nav {
		display: block;
		list-style: none; 
		margin: 0;
		padding:10px 6px;
		background-color: #737475;
		width: 100%;
	}
	.mobile-nav li {
		margin: 0;
		padding: 0;
		float: none;
	}
	.mobile-nav li a {
		width: 100%;
		font-size: 14px;
		padding: 7px 10px;
		display: block;
		color: #fff;
		}
		.mobile-nav li a:hover {
			text-decoration: none;
			background-color: #444;
		}

	/* second level */
	.mobile-nav ul {
		list-style: none;
		margin: 0;
		padding: 0;
		}
		.mobile-nav ul li a {
			padding-left: 40px;
		}
	
	/* third level */
	.mobile-nav ul ul {
		list-style: none;
		}
		.mobile-nav ul ul li a {
			padding-left: 80px;
		}
}

@media screen and (max-width: 991px) {
	.portfolio .img:hover .image-overlay .overlay-icon {
		margin: 70px auto 0;
	}
	.portfolio-detail {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	.portfolio .img:hover .image-overlay .overlay-icon {
		margin: 40px auto 0;
	}
	.featureContent {
		margin-bottom: 50px;
	}
	.owl-item .img img {
		width: 100%;
	}
	.boxFeature {
		margin-bottom: 0px;
	}
	.search-input {
		font-size: 40px;
	}
	.show-search .search-input {
		height: 100px;
	}
	.search-input input {
		padding: 10px 0 0;
	}
	.grid-list {
		grid-gap: 20px;
		max-width: 90%;
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		margin: 0 auto;
	}
	/* Services */
	.services__item {
		flex-direction: column;
		margin-bottom: 60px;
	}
	.services__item:nth-child(even) {
		flex-direction: column;
	}
	.services__item:last-child {
		margin-bottom: 100px;
	}
	.services__item-content {
		flex-grow: 1;
		flex-shrink: 1;
		padding: 0;
	}
	.services__item-content h3 {
		text-align: center;
	}
	.services__media {
		min-height: 140px;
	}
	.services__icon {
		width: 108px;
		height: 108px;
		margin-bottom: 10px;
	}
	.services__icon i.fa {
		font-size: 42px;
		line-height: 94px;
	}
	/* Team */
	.team-modal__inner {
		flex-direction: column;
		width: 100%;
		max-height: none;
		height: 100vh;
	  }
	  .team-modal__image {
		max-height: 40vh;
		width: 100%;
	  }
	  .team-modal__image img {
		max-width: 100%;		
	  }
	  .team-modal__text-content {
		width: 100%;
		max-height: 60vh;
		padding: 30px 20px 20px 20px;
	  }
	  .team-modal__text-content .team-modal__name {
		font-size: 24px;
	  }
	  .team-modal__text-content .team-modal_title {
		font-size: 16px;
	  }
	/* Portfolio */
	.portfolio-grid {
		margin: 0;
		max-width: 100%;
	}
	.portfolio-grid__item {
		flex: 0 0 calc(50% - 12px);
		max-width: calc(50% - 12px);
		margin: 0 6px 12px 6px;
		padding: 0px;
	}
	.gallery-top {
		height: 300px;
	}
	.gallery-thumbs {
		height: 100px;
	}
}
@media screen and (max-width: 480px) {
	.portfolio-gallery .img .image-overlay .overlay-icon {
		display: none;
	}
	.logo a {
		margin: 8px 0 0;
	}
	.logo a img {
		max-width: 150px;
	}
	.slider-caption {
		width: 100%;
		padding: 20px;
	}
	.slider-caption h2 {
		font-size: 24px;
	}
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
	.logo a {
		margin: 24px 0 0;
	}
	.logo a img {
		max-width: 150px;
	}
}
@media screen and (min-width: 1024px) {
	header.smaller {
  	height: 60px;
	}	
	.smaller .logo a { 
		margin-top: 10px;
	}
   	.smaller .logo a img {
		max-width: 150px;
	}
	.smaller .search-trigger {
		height: 58px;
		}
		.smaller .search-trigger i {
			margin-top: 18px;
		}
	.smaller .lang-switch {
		margin-top: -24px;
	}
	.smaller .search-wrapper {
		top: 0;
	}
}
