/*

Theme Name: Hémisphère Droit

Description: Thème du site Hémisphère Droit

Version: 1.0

Author: Nezumi

Author URI: https://www.nezumi.fr 

Template: hello-elementor

*/



.btn-custom .elementor-button {

	 position: relative;

}

 .btn-custom .elementor-button:after {

	 content: '';

	 position: absolute;

	 height: 1px;

	 width: 0;

	 background: #1A1923;

	 left: 0;

	 bottom: 0;

	 transition: all 0.5s;

}

 .btn-custom .elementor-button:hover svg {

	 margin: -4px 0 0 12px;

}

 .btn-custom .elementor-button:hover:after {

	 width: 100%;

	 left: 0;

}

 .btn-custom svg {

	 transition: all 0.5s;

	 font-size: 20px;

	 margin: -4px 0 0 6px;

}

 .btn-download svg {

	 font-size: 26px;

	 margin: -7px 0 -2px 6px;

}

 .swiper-slide {

	 width: fit-content !important;

}

 .elementor-pagination {

	 display: flex;

	 justify-content: space-between;

	 border-top: 1px solid #08223340;

	 padding: 50px 0 0;

}

 .elementor-pagination .page-numbers {

	 font-weight: 700;

}

 .elementor-pagination .page-numbers.prev, .elementor-pagination .page-numbers.next {

	 display: inline-flex;

	 align-items: center;

	 justify-content: center;

	 vertical-align: middle;

}

 .loop_grid_home .elementor-loop-container {

	 display: flex;

}

 .loop_grid_home .elementor-loop-container > div:nth-of-type(1) {

	 width: 50%;

}

 .loop_grid_home .elementor-loop-container > div:nth-of-type(1) img {

	 height: 380px;

}

 .loop_grid_home .elementor-loop-container > div:nth-of-type(1) .elementor-widget-theme-post-excerpt {

	 display: -webkit-box;

	 -webkit-line-clamp: 2;

	 -webkit-box-orient: vertical;

	 overflow: hidden;

	 text-overflow: ellipsis;

}

 .loop_grid_home .elementor-loop-container > div:nth-of-type(2), .loop_grid_home .elementor-loop-container > div:nth-of-type(3) {

	 width: 25%;

}

 .loop_grid_home .elementor-loop-container > div:nth-of-type(2) img, .loop_grid_home .elementor-loop-container > div:nth-of-type(3) img {

	 height: 180px;

}

 .loop_grid_home .elementor-loop-container > div:nth-of-type(2) .elementor-widget-theme-post-excerpt, .loop_grid_home .elementor-loop-container > div:nth-of-type(3) .elementor-widget-theme-post-excerpt {

	 display: -webkit-box;

	 -webkit-line-clamp: 3;

	 -webkit-box-orient: vertical;

	 overflow: hidden;

	 text-overflow: ellipsis;

}

 .card_team {

	 position: relative;

	 overflow: hidden;

	 cursor: pointer;

	 transition: all 0.4s ease;

}

 .card_team .card_team_description svg, .card_team .card_team_description .elementor-widget-text-editor {

	 opacity: 0;

	 transition: all 0.5s;

}

 .card_team .card_team_description h4.elementor-heading-title, .card_team .card_team_description span.elementor-heading-title {

	 transition: all 0.5s;

}

 .card_team:hover .card_team_description svg, .card_team:hover .card_team_description .elementor-widget-text-editor {

	 opacity: 1;

}

 .card_team:hover h4.elementor-heading-title, .card_team:hover span.elementor-heading-title {

	 color: #1a1923 !important;

}

 .card_team:hover .btn-linkedin-check svg {

	 opacity: 0 !important;

}

 .card_team:hover .btn-linkedin-check a.elementor-icon svg {

	 display: block;

	 opacity: 1 !important;

}

 .card-img-hover {

	 background-size: 100% !important;

	 transition: all 0.25s;

}

 .card-img-hover .btn-custom .elementor-button {

	 position: relative;

}

 .card-img-hover .btn-custom .elementor-button .elementor-button-text {

	 margin: 0 0 0 4px;

}

 .card-img-hover a {

	 border-radius: 8px;

	 overflow: hidden;

}

 .card-img-hover img {

	 transition: all 0.25s;

}

 .card-img-hover:hover {

	 background-size: 107% !important;

}

 .card-img-hover:hover img {

	 transform: scale(107%);

}

 .btn-radius-hover a:hover {

	 border-radius: 8px !important;

}

 .card-same-theme .btn-next .elementor-icon {

	 border: 1px solid white;

}

 .card-same-theme .btn-next .elementor-icon svg path {

	 stroke: white;

}

 .card-same-theme:hover .btn-next .elementor-icon {

	 border: 1px solid white;

	 background: white !important;

	 border-radius: 8px !important;

}

 .card-same-theme:hover .btn-next .elementor-icon svg path {

	 stroke: #082233;

}

body.single-etude .elementor-nav-menu--main li a.elementor-item,

body.elementor-page-570 .elementor-nav-menu--main li a.elementor-item,

body.page-id-564 .elementor-nav-menu--main li a.elementor-item {

	 color: #1a1923 !important;

}



.elementor-pagination span.page-numbers.prev {

    opacity: 0 !important;

}



.elementor-pagination span.page-numbers.next {

    opacity: 0 !important;

}



/** MAJ recettage **/



@media(min-width: 768px) {

	.menu-principal li.current_page_item {

	 position: relative;

	}

	 .menu-principal li.current_page_item:before {

		 content: '';

		 position: absolute;

		 bottom: 5px;

		 left: 37.5%;

		 width: 25%;

		 height: 2px;

		 background: #082233;

	}

}



 .card_team .lien-linkedin {

	 display: block;

	 z-index: 2;

	 width: 100%;

	 height: 360px;

}

 .card_team .lien-linkedin span {

	 display: block;

	 width: 100%;

	 height: 360px;

}

 .card_team .lien-linkedin span a {

	 display: block;

	 width: 100%;

	 height: 360px;

}

 .data-numbers {

	 display: grid !important;

	 gap: 30px !important;

	 width: 100% !important;

	 grid-template-columns: repeat(3,1fr) !important;

}

 .data-numbers > * {

	 width: 100% !important;

	 max-width: 100% !important;

	 margin: 0 !important;

}

 .data-numbers:has(> :nth-child(4)) {

	 grid-template-columns: repeat(2,1fr) !important;

}

 @media (max-width: 767px) {

	 .data-numbers {

		 grid-template-columns: 1fr !important;

	}

}

 @media (max-height: 900px) {

	 .btn-download {

		 opacity: 0;

		 transform: translateY(50px);

		 transition: all 0.5s;

		 animation: appear linear forwards;

		 animation-timeline: scroll();

		 animation-range: 20px 150px;

	}

	 @keyframes appear {

		 to {

			 opacity: 1;

			 transform: translateY(0);

		}

	}

}

 



/** Responsive Home **/



@media(max-width: 768px) {

    .carrousel .elementor-loop-container {

        display: flex !important;

        overflow-x: auto !important;

        scroll-snap-type: x mandatory !important;

        -webkit-overflow-scrolling: touch !important;

        row-gap: 20px !important;

        padding: 0 20px 10px 20px !important; 

        grid-column-gap: 20px !important; 

        .e-loop-item {

            flex: 0 0 75% !important;

            scroll-snap-align: center !important; 

            max-width: 75% !important;

            margin: 0 !important; 

            .elementor-widget-image img {

                width: 100% !important;

                height: 180px !important;

                object-fit: cover !important;

            }

        }

    }

    .carrousel .elementor-loop-container::-webkit-scrollbar {

        display: none;

    }

    .carrousel .loop_grid_home .elementor-loop-container > div .elementor-widget-theme-post-excerpt {

        -webkit-line-clamp: 2!important;

    }

}



/** Responsive A Propos **/



@media (max-width: 768px) {

	 .lien-linkedin {

		 display: none !important;

	}

}



/** Responsive Etudes **/



@media (max-width: 768px) {

	 .card-same-theme {

		 min-height: 225px !important;

		 background-size: cover !important;

	}

	 .card-same-theme:hover, .card-same-theme:focus {

		 background-size: cover !important;

	}

	 .card-same-theme .btn-next .elementor-icon {

		 padding: 8px !important;

	}

}

 

/** Responsive navigation **/



@media (max-width: 768px) {

	 .elementor-menu-toggle {

		 position: relative !important;

		 z-index: 9 !important;

	}

	 .elementor-nav-menu--dropdown {

		 position: absolute !important;

		 top: -50px !important;

		 margin: 0 !important;

		 padding: 140px 0 20px;

		 z-index: 1 !important;

	}

	 body main, body #page-content, body footer {

		 filter: blur(0);

		 transform: scale(1);

		 transition: filter 0.3s ease, transform 0.3s ease !important;

	}

	 body.menu-is-open main, body.menu-is-open #page-content, body.menu-is-open .type-etude, body.menu-is-open footer {

		 filter: blur(10px) !important;

		 transform: scale(1.09) !important;

		 pointer-events: none !important;

	}

}



/** Ajustement photo membre **/



.type_membre-conseil-scientifique > .elementor-element {

	 background-size: cover !important;

}



/** Fixe boucle des catégories sur une étude **/



 .list_categories_on_study .elementor-post-info__terms-list {

	 color: white;

}

 .list_categories_on_study .elementor-post-info__terms-list .elementor-post-info__terms-list-item {

	 color: #082233;

	 font-family: "Vilonti", Sans-serif;

	 font-size: 10px;

	 font-weight: 500;

	 padding: 9px 10px 8px 10px;

	 border: 1px solid #082233;

	 border-radius: 40px;

}



/** Fixe les études croisées **/



.section-dynamique-etudes:has(.elementor-widget-empty), .section-dynamique-etudes:not(:has(.elementor-loop-container)) {

	 display: none !important;

}



/** Liste à puce dans le contenu **/



 .elementor-widget-text-editor ul {

	 padding: 0 0 0 30px;

}

 .elementor-widget-text-editor ul li {

	 margin: 0 0 15px;

}

 .elementor-widget-text-editor ul li::marker {

	 color: #c67e30;

	 font-size: 20px;

}

 @media (max-width: 768px) {

	 .elementor-widget-text-editor ul {

		 padding: 0 0 0 25px;

	}

}



/** Gestion card team hauteur % **/



.card_team {

	 height: 100%;

	 background-size: cover !important;

     background-position: center!important;

}

 .card_team .card_team_description {

	 min-height: 100%;

}

 .card_team .lien-linkedin {

	 height: 100%;

}



/** COMING SOON **/



@media (max-width: 768px) {

	 body.page-id-1009 {

		 overflow-y: hidden !important;

	}

}



@media (max-width: 768px) {

	.titre-hyphens {
	     h1  {
	         overflow-wrap: break-word;
	         word-break: break-word;
	         -webkit-hyphens: auto;
	         -ms-hyphens: auto;
	         hyphens: auto;
	     }
	}

}