/*
Theme Name: SCP Celice
Theme URI: http://www.optilian.com
Author: Morgan THOMAS / Optilian
Author URI: http://www.optilian.com
Description: Thème du site SCP Celice Texidor Perier
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scp-celice
Tags: 
*/

.alignwide {
  margin-left: -50px;
  margin-right: -50px;
}

.alignfull {
	margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100%;  /* Pour la scrollbar de Windows */
}


.logo-tagline {
	margin-bottom: 0 !important;
}
.logo-tagline a {
	text-decoration: none;
}



h1 {
	margin-bottom: 40px !important;
	font-size: 3em;
}
h2 {
	margin-bottom: 40px !important;
	font-size: 2.6em;
}
h1, h2 {
	color: #003B71;
}
h1:after,
h2:after {
	content: "";
	position: relative;
	top: 24px;
	display: block;
	width: 40px;
	height: 6px;
	background-image: url(assets/images/ctp_theme_dots_blue.png);
	background-position: 50% 50%;
	background-repeat: no-repeat;
}
.is-content-justification-center h1:after,
.is-content-justification-center h2:after {
	margin: 0 auto;
}



.wp-block-group p {
	margin: 0 0 20px 0;
}


/* body.home .pg-hdr {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	color: #ffffff;
} */

#pg-hdr {
	position: fixed;
	top: 0;
	z-index: 999999;
	width: 100%;
	background: rgba(255, 255, 255, 0);
	/*background: -moz-linear-gradient(180deg, rgba(0,59,113,0) 0%, rgba(0,59,113,0) 100%);
	background: -webkit-linear-gradient(180deg, rgba(0,59,113,0) 0%, rgba(0,59,113,0) 100%);
	background: linear-gradient(180deg, rgba(0,59,113,0) 0%, rgba(0,59,113,0) 100%);*/
	transition: all 0.25s ease-out;
}
.pg-hdr .pg-hdr-brand {
	position: relative;
	z-index: 999999;
}
#pg-hdr .wp-block-site-logo img {
	transition: all 0.25s ease-out;
}
.pg-hdr .pg-hdr-brand .logo-tagline {
	opacity: 1;
	transition: opacity 0.125s ease-out;
}
html.has-modal-open .pg-hdr .pg-hdr-brand .logo-tagline {
	opacity: 0;
}
#pg-hdr.is-over-content {
	background: rgba(0,59,113,0.9);
	/*background: -moz-linear-gradient(180deg, rgba(0,59,113,1) 0%, rgba(0,59,113,0.8) 100%);
	background: -webkit-linear-gradient(180deg, rgba(0,59,113,1) 0%, rgba(0,59,113,0.8) 100%);
	background: linear-gradient(180deg, rgba(0,59,113,1) 0%, rgba(0,59,113,0.8) 100%);*/
	color: #ffffff;
}
#pg-hdr.is-over-content > .wp-block-group {
	//padding-left: 10px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
#pg-hdr.is-over-content .wp-block-site-logo img {
	width: 50px;
}
#pg-hdr.is-over-content .pg-hdr-brand .logo-tagline {
	opacity: 0;
}


.pg-hdr .wp-block-navigation__responsive-container.is-menu-open {
	padding: 20px;
}
.pg-hdr .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
	margin-top: 44px;
}
#pg-hdr.is-over-content .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
	margin-top: 4px;
}



body.home #pg-hdr {
	transition: color 0.125s ease-out;
	color: #ffffff;
}
body.home #pg-hdr.is-over-content {
	//color: #000000;
}







main {
	margin-block-start: 0;
	padding-top: 150px;
	font-size: 1rem;
}
body.home main {
	padding-top: 0;
}
main + footer {
	margin-block-start: 0;
}

.pg-ftr {
	background-image: url(assets/images/ctp_theme_dots_blue_large.png);
	background-position: 50% 0;
	background-repeat: no-repeat;
}
.pg-ftr .brand a {
	text-decoration: none;
}
.pg-ftr .ftr-directions {
	gap: 10px;
}
.pg-ftr .ftr-copyright {
	font-size: 0.85em;
}



main .wp-block-group {
	//padding: 140px 20px 160px 20px;
}


body.home main .wp-block-group p,
body.home main .wp-block-list {
	font-size: 1.2em;
}
body.home main .wp-block-list li {
	position: relative;
	list-style-type: none;
}
body.home main .wp-block-list li:before {
	position: absolute;
	top: 12px;
	left: -24px;
	content: "";
	width: 5px;
	height: 5px;
	background: #003B71;
}


.landing-hero {
}
.landing-hero > .wp-block-cover {
	position: relative;
	padding: 0;
}
@media (max-width: 720px) and (min-aspect-ratio: 4/3) {
	.landing-hero > .wp-block-cover {
		min-height: 150vh !important;
	}
}
@media (max-width: 1024px) and (min-aspect-ratio: 16/9) {
	.landing-hero > .wp-block-cover {
		min-height: 175vh !important;
	}
}
.landing-hero > .wp-block-cover .wp-block-cover__inner-container {
	display:flex;
	justify-content:center;
	align-items:flex-end;
	min-height:inherit;
}

.landing-hero-visual-sky {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	width: 100%;
	height: 50%;
	background-image: url(assets/images/ctp_theme_landing_hero_sky.png);
	background-position: 50% 0;
	background-size: cover;
	background-repeat: no-repeat;
}
.landing-hero-visual-ground {
	position: absolute;
	top: 52%;
	left: 0;
	right: 0;
	z-index: 1;
	width: 100%;
	height: 50%;
	background-image: url(assets/images/ctp_theme_landing_hero_ground.png);
	background-position: 50% 0;
	background-size: 100vw;
	background-repeat: no-repeat;
}
.landing-hero-visual-building-left,
.landing-hero-visual-building-right {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 2;
	margin-block-start: 0;
	width: 50%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
}
.landing-hero-visual-building-left {
	left: 0;
	background-image: url(assets/images/ctp_theme_landing_hero_building-left.png);
	background-position: 0 50%;
}
.landing-hero-visual-building-right {
	right: 0;
	background-image: url(assets/images/ctp_theme_landing_hero_building-right.png);
	background-position: 100% 50%;
}
.landing-hero-content-wrapper {
	z-index: 9;
	background: radial-gradient(ellipse farthest-side at bottom, #C3E9DF, #C3E9DF, transparent);
}
.landing-hero-content {
	position: relative;
	z-index: 10;
	gap: 0;
	padding: 40px 20px 10px 20px;
	text-shadow: #C3E9DF 0 0 5px, #C3E9DF 0 0 5px, #C3E9DF 0 1px 2px;
}
.landing-hero-title {
	margin-bottom: 24px !important;
	text-align: center;
	line-height: 1.125em;
	letter-spacing: 0.075em;
	font-size: 1.8em;
}
.landing-hero-title:after {
	top: 10px;
	background-image: url(assets/images/ctp_theme_dots_darkblue.png);
}
.landing-hero-text {
	margin-bottom: 10px !important;
	text-align: justify;
}

@media (min-width: 768px) {
	.landing-hero-content {
		padding-left: 40px;
		padding-right: 40px;
	}
	.landing-hero-title {
		margin-bottom: 30px !important;
		font-size: 2.6em;
	}
	.landing-hero-title:after {
		top: 12px;
	}
	.landing-hero-text {
		margin-bottom: 40px !important;
		font-size: 1.2em;
	}
}
@media (min-width: 1280px) {
	.landing-hero-content {
		padding-left: 50px;
		padding-right: 50px;
	}
	.landing-hero-title {
		margin-bottom: 40px !important;
		font-size: 3em;
	}
	.landing-hero-title:after {
		top: 14px;
	}	
	.landing-hero-text {
		margin-bottom: 60px !important;
		font-size: 1.4em;
	}
}
@media (min-width: 1921px) and (min-aspect-ratio: 16/9) {
	.landing-hero-text {
		margin-bottom: 100px !important;
	}
}
@media (orientation: portrait) and (min-aspect-ratio: 1/3) {
	.landing-hero-text {
		margin-bottom: 20px !important;
	}
}
/*@media (orientation: portrait) and (min-aspect-ratio: 9/16) {
	.landing-hero-text {
		margin-bottom: 60px !important;
	}
}*/
@media (orientation: landscape) and (min-aspect-ratio: 4/3) {
	.landing-hero-text {
		margin-bottom: 10px !important;
	}
}
@media (orientation: landscape) and (min-aspect-ratio: 16/10) {
	.landing-hero-visual-building-left,
	.landing-hero-visual-building-right {
			width: 40%;
	}
	.landing-hero-text {
		margin-bottom: 10px !important;
	}
}
@media (min-width: 1921px) and (orientation: landscape) and (min-aspect-ratio: 16/9) {
	.landing-hero-text {
		margin-bottom: 100px !important;
	}
}
@media (min-height: 900px) and (orientation: portrait) and (min-aspect-ratio: 1/3) {
	.landing-hero-text {
		margin-bottom: 50px !important;
	}
}

@media (min-height: 1025px) and (orientation: portrait) and (min-aspect-ratio: 1/3) {
	.landing-hero-text {
		margin-bottom: 100px !important;
	}
}





body.intro.curtain {
	-webkit-animation: introCurtain ease-in 1;
	-moz-animation: introCurtain ease-in 1;
	animation: introCurtain ease-in 1;
	-webkit-animation-fill-mode:forwards;
	-moz-animation-fill-mode:forwards;
	animation-fill-mode:forwards;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	animation-duration: 1s;
}
body.intro.loaded .landing-hero-visual-sky {
	animation: introSky ease-out 1;
	-webkit-animation-fill-mode:forwards;
	-moz-animation-fill-mode:forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	animation-duration: 2s;
}
body.intro .landing-hero-visual-building-left {
	animation: introBuildingLeft ease-out 1;
	-webkit-animation-fill-mode:forwards;
	-moz-animation-fill-mode:forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	animation-duration: 2s;
}
body.intro .landing-hero-visual-building-right {
	animation: introBuildingRight ease-out 1;
	-webkit-animation-fill-mode:forwards;
	-moz-animation-fill-mode:forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	animation-duration: 2s;
}
body.intro .landing-hero-visual-ground {
	animation: introGround ease-out 1;
	-webkit-animation-fill-mode:forwards;
	-moz-animation-fill-mode:forwards;
	animation-fill-mode: forwards;
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	animation-duration: 2s;
}

@-webkit-keyframes introCurtain {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}
@-moz-keyframes introCurtain {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}
@-ms-keyframes introCurtain {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}
@keyframes introCurtain {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes introSky {
  from {
    transform: scale(1.25);
    transform-origin: 50% 50%;
    left: 0;
    right: 0;
  }
  to {
    transform: scale(1);
    left: 0;
    right: 0;
  }
}
@-moz-keyframes introSky {
  from {
    transform: scale(1.25);
    transform-origin: 50% 50%;
    left: 0;
    right: 0;
  }
  to {
    transform: scale(1);
    left: 0;
    right: 0;
  }
}
@-ms-keyframes introSky {
  from {
    transform: scale(1.25);
    transform-origin: 50% 50%;
    left: 0;
    right: 0;
  }
  to {
    transform: scale(1);
    left: 0;
    right: 0;
  }
}
@keyframes introSky {
  from {
    transform: scale(1.25);
    transform-origin: 50% 50%;
    left: 0;
    right: 0;
  }
  to {
    transform: scale(1);
    left: 0;
    right: 0;
  }
}
/* */
@-webkit-keyframes introBuildingLeft {
  from {
    transform: scale(1.5);
    transform-origin: 200% 50%;
  }
  to {
    transform: scale(1);
  }
}
@-moz-keyframes introBuildingLeft {
  from {
    transform: scale(1.5);
    transform-origin: 200% 50%;
  }
  to {
    transform: scale(1);
  }
}
@-ms-keyframes introBuildingLeft {
  from {
    transform: scale(1.5);
    transform-origin: 200% 50%;
  }
  to {
    transform: scale(1);
  }
}
@keyframes introBuildingLeft {
  from {
    transform: scale(1.5);
    transform-origin: 200% 50%;
  }
  to {
    transform: scale(1);
  }
}
/* */
@-webkit-keyframes introBuildingRight {
  from {
    transform: scale(1.5);
    transform-origin: -200% 50%;
  }
  to {
    transform: scale(1);
  }
}
@-moz-keyframes introBuildingRight {
  from {
    transform: scale(1.5);
    transform-origin: -200% 50%;
  }
  to {
    transform: scale(1);
  }
}
@-ms-keyframes introBuildingRight {
  from {
    transform: scale(1.5);
    transform-origin: -200% 50%;
  }
  to {
    transform: scale(1);
  }
}
@keyframes introBuildingRight {
  from {
    transform: scale(1.5);
    transform-origin: -200% 50%;
  }
  to {
    transform: scale(1);
  }
}
/* */
@-webkit-keyframes introGround {
  from {
		opacity: 0;
    transform: scale(1.25);
    transform-origin: 50% -200%;
    left: 0;
    right: 0;
  }
  to {
		opacity: 1;
    transform: scale(1);
    left: 0;
    right: 0;
  }
}
@-moz-keyframes introGround {
  from {
		opacity: 0;
    transform: scale(1.25);
    transform-origin: 50% -200%;
    left: 0;
    right: 0;
  }
  to {
		opacity: 1;
    transform: scale(1);
    left: 0;
    right: 0;
  }
}
@-ms-keyframes introGround {
  from {
		opacity: 0;
    transform: scale(1.25);
    transform-origin: 50% -200%;
    left: 0;
    right: 0;
  }
  to {
		opacity: 1;
    transform: scale(1);
    left: 0;
    right: 0;
  }
}
@keyframes introGround {
  from {
		opacity: 0;
    transform: scale(1.25);
    transform-origin: 50% -200%;
    left: 0;
    right: 0;
  }
  to {
		opacity: 1;
    transform: scale(1);
    left: 0;
    right: 0;
  }
}


.landing-representation-list {
	position: relative;
}
.landing-representation-list .wp-block-column {
	position: relative;
	margin-bottom: 40px;
}
.landing-representation-list .wp-block-column:after {
	z-index: 1;
	position: absolute;
	bottom: -28px;
	left: 50%;
	right: 50%;
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	background: #5BBFF7;
}
.landing-representation-list .wp-block-column:last-child:after {
	display: none;
}
.landing-representation-list .wp-block-column h3 {
	margin-block-start: 10px;
	margin-bottom: 5px;
	font-size: 1.4em;
}
.landing-representation-list .wp-block-column p {
	font-size: 1em !important;
}
.landing-representation-list .wp-block-column .wp-block-image img {
	//width: 100%;
}

@media (min-width: 768px) {
	.landing-representation-list {
		gap: 40px;
	}
	.landing-representation-list .wp-block-column:after {
		top: calc(100px - 3px);
		bottom: auto;
		left: auto;
		right: -24px;
	}
}


.landing-servicesAndClients {

}
.landing-servicesAndClients .wp-block-columns .wp-block-column:first-child {
	margin-bottom: 60px;
}
.landing-servicesAndClients h2 {
	margin-bottom: 60px !important;
}
@media (min-width: 768px) {
	.landing-servicesAndClients .wp-block-columns .wp-block-column:first-child {
		margin-bottom: 0;
	}	
}



.landing-domains {

}
.landing-domains h2:after{
	background-image: url(assets/images/ctp_theme_dots_darkblue.png);
}




.landing-team {

}
.landing-team-intro p {
	text-align: justify;
}
.landing-team-associates .wp-block-columns {

}
.landing-team-associates .wp-block-columns .wp-block-column {
	
}
.landing-team-associates .wp-block-columns .wp-block-column h3 {
	font-size: 1.8em;
}
.landing-team-associates .wp-block-columns .wp-block-column p {
	font-size: 1em;
}
.landing-team .wp-block-button__link:hover {
	border-color: #003B71;
	background-color: #003B71 !important;
	color: #ffffff;
}




.landing-news {

}
.landing-news .wp-block-post {
	margin-bottom: 40px;
}
.landing-news .wp-block-post .wp-block-post-title {
	font-size: 1.8em;
	color: #003B71;
}
.landing-news .wp-block-post .wp-block-post-excerpt {
	margin-block-start: 10px;
	color: #111111;
}
.landing-news .wp-block-post .wp-block-post-excerpt p {
	margin-bottom: 10px;
}
.landing-news .wp-block-post .wp-block-read-more {
	position: relative;
	margin-block-start: 0;
	padding-left: 15px;
}
.landing-news .wp-block-post .wp-block-read-more:before {
	position: absolute;
	top: 6px;
	left: 0;
	content: "";
	width: 5px;
	height: 5px;
	background: #5bbff7;
}

.landing-news .wp-block-button__link {
	background-color: rgba(#ffffff,0.5) !important;
}
.landing-news .wp-block-button__link:hover {
	border-color: #003B71;
	background-color: #003B71 !important;
	color: #ffffff;
}









.team-introduction {

}

.team-associates {
	h2 {
		color: #ffffff;
	}
	h3 {
		margin: 0 0 20px 0;
		font-size: 2em;
	}
	p {
		font-size: 1.2em;
	}
	.wp-block-columns {
		margin-bottom: 20px;
	}
}

.team-employees h2 {
	font-size: 2em;
}
.team-employees h2:after {
	top: 16px !important;
}
.team-employees ul li {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	justify-content: space-between;
}
.team-employees ul li figure {
	margin: 0 0 10px 0;
}
.team-employees ul li h3 {
	position: relative;
	margin: 0;
	padding: 0 0 0 14px;
	font-size: 1.25em;
}
.team-employees ul li h3:before{
	position: absolute;
	left: 0;
	top: calc(50% - 2px);
	content:"";
	display: block;
	width: 4px;
	height: 4px;
	background: #5BBFF7;		
}
.team-subteam {
	margin-bottom: 80px;
	gap: 0;
}





.wp-block-query {

}
.wp-block-query .wp-block-post {

}




.single article {

}
.single article .entry-content {
	font-size: 1.125em;
}
.single-meta {

}
.single-meta .wp-block-post-terms {
	padding: 40px 0;
}
.single-meta .wp-block-post-terms a {
	text-decoration: none;
	color: #003b71;
}






.news .wp-block-post {
	margin-bottom: 60px;
}
.news .wp-block-post .wp-block-post-title {
	margin-bottom: 10px !important;
	font-size: 1.8em;
}
.news .wp-block-post .wp-block-post-title:after {
	display: none;
}
.news .wp-block-post .wp-block-post-title a {
	color: #003B71;
}
.news .wp-block-post .wp-block-post-excerpt {
	margin-block-start: 10px;
	color: #111111;
}
.news .wp-block-post .wp-block-post-excerpt p {
	margin-bottom: 10px;
	font-size: 1.125em;
}
.news .wp-block-post .wp-block-post-excerpt__more-text {
	position: relative;
	margin-block-start: 0;
	padding-left: 15px;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 1em !important;
}
.news .wp-block-post .wp-block-post-excerpt__more-text:before {
	position: absolute;
	top: 6px;
	left: 0;
	content: "";
	width: 5px;
	height: 5px;
	background: #5bbff7;
}
.news .wp-block-post .wp-block-post-excerpt__more-text a {
	text-decoration: none;
	color: #5bbff7;
}





.single-pagination,
.wp-block-query-pagination {
	position: relative;
	display: block !important;
	padding-top: 60px;
	padding-bottom: 40px;
}
.single-pagination:before,
.wp-block-query-pagination:before {
	content: "";
	position: absolute;
	left: calc(50% - 20px);
	top: 16px;
	display: block;
	margin: 0 auto;
	width: 40px;
	height: 6px;
	background-image: url(assets/images/ctp_theme_dots_mint.png);
	background-position: 50% 50%;
	background-repeat: no-repeat;
}
.single-pagination:after,
.wp-block-query-pagination:after {
	content: '';
	display: block;
	clear: both;
}
.single-pagination .wp-block-post-navigation-link,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	color: #003b71;
}
.single-pagination .wp-block-post-navigation-link a,
.wp-block-query-pagination a {
	text-decoration: none;
}


.wp-block-query-pagination-numbers {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	//gap: 10px;
	margin-top: 60px !important;
	text-align: center;
}
.wp-block-query-pagination-numbers .page-numbers {
	min-width: 1.25em;
	height: 1.25em;
	border: 1px solid #fff;
	padding: 9px;
	background: #ffffff;
	font-family: monospace;
	line-height: 20px;
}
.wp-block-query-pagination .page-numbers.current {
	border-color: #E2F4EF;
	background: #E2F4EF;
	color: #000000;
}

.post-navigation-link-previous,
.post-navigation-link-next,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	display: flex;
	flex-direction: row;
	align-items: center;
	position: absolute;
	top: 60px;
	padding: 12px 0;
	width: calc(50% - 20px);
	line-height: 20px;
}
.post-navigation-link-previous a,
.post-navigation-link-next a,
.wp-block-query-pagination-previous a,
.wp-block-query-pagination-next a {
	display: inline-block;
	overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
	width: calc(100% - 20px);
}
.post-navigation-link-previous,
.wp-block-query-pagination-previous {
	left: 0;
	text-align: left;
	justify-content: flex-start;
}
.post-navigation-link-next,
.wp-block-query-pagination-next {
	right: 0;
	text-align: right;
	justify-content: flex-end;
}

@media (min-width: 640px) {
	.wp-block-query-pagination-numbers {
		margin-top: 0 !important;
		width: 100%;
	}
	.post-navigation-link-previous,
	.post-navigation-link-next,
	.wp-block-query-pagination-previous,
	.wp-block-query-pagination-next {
	}
	.post-navigation-link-previous,
	.wp-block-query-pagination-previous {
		justify-content: flex-start;
	}
	.post-navigation-link-next,
	.wp-block-query-pagination-next {
		justify-content: flex-end;
	}	

}

.btn-back-to-news {
	//margin-top: 60px !important;
}