/*
 Theme Name:   Artisanat
 Theme URI:    https://crafti.axiomthemes.com/
 Description:  Crafti Child Theme
 Author:       AxiomThemes
 Author URI:   http://axiomthemes.com/
 Template:     crafti
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  crafti
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

.section-hover a, .section-hover a:hover {
	color:white !important;
}

.section-hover:hover .elementor-widget-button .elementor-widget-container {
	--e-transform-translateX: 10px;
}
.jet-listing-grid__item .section-hover {
	transition:all 0.3s;
}
.jet-listing-grid__item .section-hover:hover {
	opacity:0.9;
}
.section-hover .image-button  {
	position:relative;
}
.section-hover .image-button .elementor-widget-container{
	    transition: all 0.3s;
    position: relative;
    display: block;
    left: 0;
}
.section-hover:hover .image-button .elementor-widget-container{
	left:10px;
}

.section-hover:hover .elementor-background-overlay {
    opacity: 0.1 !important;
}

.max-lines a, .max-lines .jet-listing {
	overflow: hidden;
   	display: -webkit-box;
   	-webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   	-webkit-box-orient: vertical;
	text-overflow:ellipsis;
}

.btn-menu a {
	font-family: "Raleway", Sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: var(--e-global-color-secondary) !important;
    background-color: #AA272700 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: var(--e-global-color-secondary) !important;
    border-radius: 0px 0px 0px 0px !important;
    padding: 10px 17px 10px 17px !important;
}

.sc_hotspot_item_symbol_image {
	box-shadow:0 0 white !important;
}

.sc_hotspot_item_symbol_image .sc_hotspot_item_icon_type_images {
	max-width:100% !important;
	max-height:100% !important;
	width:100% !important;
	height:100% !important;
}
.sc_hotspot_item_symbol_image .sc_hotspot_item_icon_type_images .sc_icon_as_image {
	max-width:100% !important;
	max-height:100% !important;
}

.iles-du-vent {
	width: 13.29%;
    height: 16.74%;
	z-index:3;
}

.popup-ok .iles-du-vent {
	left: 24% !important;
    top: 40.4% !important;
}

.iles-sous-le-vent {
	width: 19.66%;
    height: 25.83%;
	z-index:2;
}

.popup-ok .iles-sous-le-vent {
	left: 8.7% !important;
    top: 27.8% !important;
}

.archipel-des-tuamotu {
	width:58.66%;
	height:78%;
	z-index:1;
}

.popup-ok .archipel-des-tuamotu {
	left: 24.9% !important;
    top: 5.3% !important;
}

.archipel-des-gambiers {
	width:19.11%;
	height:26.85%;
	z-index:2;
}

.popup-ok .archipel-des-gambiers {
	left: 71% !important;
    top: 62.9% !important;
}

.archipel-des-marquises {
	width:24.25%;
	height:48.54%;
	z-index:2;
}

.popup-ok .archipel-des-marquises {
	left: 64% !important;
    top: -3.8% !important;
}

.archipel-des-australes {
	width:39.82%;
	height:46.06%;
}


.colonne-map > .elementor-widget-wrap {
	display:flex;
	flex-direction:row;
	flex-wrap:nowrap;
}

#popup_map {
	width:30%;
	transition:all 0.3s;
}

.sc_hotspot_active {
	opacity:1 !important;
}

.sc_hotspot_item_opened > .sc_hotspot_item_popup {
	display:none !important;
}


#popup_map > .elementor-widget-container, .popup_map > .elementor-widget-container {
	background:#AA2727;
	padding:3rem 2rem 3.1rem 2rem;
	position:relative;
}

#popup_map:not(.popup-map-ok), #popup_map:not(.popup-map-ok) > .elementor-widget-container{
	width:0%;
	padding:0;
}

#popup_map > .elementor-widget-container .sc_hotspot_item_title, .popup_map .elementor-widget-container .sc_hotspot_item_title {
	font-family:var( --e-global-typography-ab53ad7-font-family ), Sans-serif;
	font-size:40px;
	color:white;
	font-weight:500;
	text-transform:uppercase;
	line-height:1em;
	border-bottom:1px solid white;
	padding-bottom:1rem;
}

#popup_map .sc_hotspot_item_popup_close, #popup_map .sc_hotspot_item_popup_close .trx_addons_button_close_icon:before {
	border-color: white !important;
    color: white !important;
}

#popup_map .categories-matieres, .popup_map .categories-matieres {
	list-style:none;
	padding:0;
	margin-bottom:0rem;
	padding-bottom: 1rem;
    margin-top: 0;
    border-bottom: 1px solid white;
}

#popup_map .categories-matieres li, .popup_map .categories-matieres li {
	color:white;
	cursor:pointer;
	font-family:var( --e-global-typography-ab53ad7-font-family ), Sans-serif;
	font-weight:500;
	font-size:20px;
	padding: 0.2rem 0;
	padding-right:20px;
	position:relative;
	transition:all 0.3s;
}

#popup_map .categories-matieres li:hover, .popup_map .categories-matieres li:hover {
	color:#D88E81;
}

#popup_map .categories-matieres li:after, .popup_map .categories-matieres li:after {
	content:"";
	display:block;
	width:17px;
	height:8px;
	position:absolute;
	top:50%;
	right:0;
	transform:translate(0,-50%);
	background:url("/wp-content/uploads/2023/12/petit_fleche.svg") no-repeat;
	background-size:contain;
	background-position:center;
	filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(33deg) brightness(104%) contrast(104%);
}

#popup_map .ecran-matieres, .popup_map .ecran-matieres {
	position: absolute;
    top: 0;
    width: 100%;
    left: -100%;
	transition:all 0.3s;
    min-height: 100%;
	background:#D88E81;
	padding:3rem 2rem 2rem 2rem;
	opacity:0;
	z-index:9;
}

#popup_map .ecran-matieres.matiere-active, .popup_map .ecran-matieres.matiere-active {
	opacity:1;
	left:0;
}

#popup_map .ecran-matieres .sc_hotspot_item_title, .popup_map .ecran-matieres .sc_hotspot_item_title {
	color:#AA2727;
}

#popup_map .ecran-matieres .matieres-premieres, .popup_map .ecran-matieres .matieres-premieres {
	list-style: none;
    padding: 0;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid white;
}

#popup_map .ecran-matieres .btn-return, .popup_map .ecran-matieres .btn-return {
	color:white;
	text-transform:uppercase;
	font-family:"Raleway",sans-serif;
	cursor:pointer;
	padding-left:25px;
	transition:all 0.3s;
	position:relative;
}

#popup_map .ecran-matieres .btn-return:before, .popup_map .ecran-matieres .btn-return:before {
	content: "";
    display: block;
    width: 17px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0,-50%) rotate(180deg);
    background: url(/wp-content/uploads/2023/12/petit_fleche.svg) no-repeat;
    background-size: contain;
    background-position: center;
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(33deg) brightness(104%) contrast(104%);
}
#popup_map .ecran-matieres .btn-return:hover, .popup_map .ecran-matieres .btn-return:hover {
	color:#AA2727;
}
#popup_map .ecran-matieres .btn-return:hover:before, .popup_map .ecran-matieres .btn-return:hover:before {
	filter: invert(26%) sepia(47%) saturate(1806%) hue-rotate(330deg) brightness(94%) contrast(103%);
}

#popup_map .ecran-matieres .matieres-premieres li, .popup_map .ecran-matieres .matieres-premieres li {
	color:#AA2727;
	cursor:pointer;
	font-family:var( --e-global-typography-ab53ad7-font-family ), Sans-serif;
	font-weight:500;
	font-size:20px;
	padding: 0.2rem 0;
	padding-right:20px;
	position:relative;
	transition:all 0.3s;
}

#popup_map .ecran-matieres .matieres-premieres li a, .popup_map .ecran-matieres .matieres-premieres li a {
	color:#AA2727;
	transition:all 0.3s;
}

#popup_map .ecran-matieres .matieres-premieres li a:hover, .popup_map .ecran-matieres .matieres-premieres li a:hover {
	text-decoration:underline;
}

#popup_map .count_artisans, .popup_map .count_artisans {
	text-align:center;
	border-bottom:1px solid white;
	color:white;
	font-family: var(--e-global-typography-ab53ad7-font-family), Sans-serif;
	font-size:20px;
	font-weight:500;
	padding-bottom:1rem;
}

#popup_map .count_artisans .counter, .popup_map .count_artisans .counter {
	font-size:50px;
	line-height: 35px;
    margin-bottom: 1.2rem;
}

 #popup_map .sc_hotspot_item_link,  .popup_map .sc_hotspot_item_link{
	margin-top: 1rem;
    width: 100%;
	transition:all 0.3s;
    background-color: transparent;
    text-align: center;
    display: block;
	font-family:"Raleway", sans-serif;
	text-transform:uppercase;
	font-weight:600;
	font-size:15px;
	padding:1rem;
	position:absolute;
	left:0;
	bottom:0;
	z-index:3;
}

#popup_map .btn-more, .popup_map .btn-more {
	width: 100%;
	transition:all 0.3s;
    background-color: transparent;
    text-align: center;
    display: block;
	font-family:"Raleway", sans-serif;
	text-transform:uppercase;
	font-weight:600;
	font-size:15px;
	color:white;
	padding:1rem;
	position:absolute;
	left:0;
	bottom:0;
	z-index:3;
}

#popup_map .btn-more:hover, .popup_map .btn-more:hover  {
	background-color:#AA2727;
}

#popup_map .sc_hotspot_item_link:hover, .popup_map .sc_hotspot_item_link:hover {
	background-color:#D88E81;
}

#popup_map .categories-matieres li:hover:after, .popup_map .categories-matieres li:hover:after{
	filter: invert(68%) sepia(29%) saturate(870%) hue-rotate(318deg) brightness(97%) contrast(74%);
}

p:last-child {
	margin-bottom:0;
	padding-bottom:0;
}

.page_content_wrap, #page_preloader, .custom-background .content_wrap > .content, .background_banner_wrap ~ .content_wrap > .content {
	background:white !important;
}

#agrees, #experts-agrees {
	display:none;
}

.labels-container {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	min-height:273px;
	text-align:right;
}


.labels-artisan {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.labels-artisan-right {
	position:absolute;
	top:0;
	right:0;
	width:100%;
	height:20px;
	text-align:right;
}

.labels {
	z-index:99;
	position:relative;
}

.labels.labellise {
	position:absolute;
	bottom:10px;
	left:10px;
	width:25px;
	height:25px;
	background:url("/wp-content/uploads/2024/01/picto_lab.svg") no-repeat;
	background-size: cover;
    background-position: center;
}

.labels.rima, .labels.maohi {
    display: inline-block;
    padding: 3px 10px;
    background: #D88E81;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
	letter-spacing:0;
    font-size: 0.8em;
    margin-left: 2px;
}

.artisan_specialite .jet-listing-dynamic-field__content > div {
	overflow: hidden;
	display: -webkit-box;
	line-height:18px;
}

.artisan_specialite .jet-listing-dynamic-field__content > div.close{
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}

.artisan_specialite .jet-listing-dynamic-field__content > div.open {
	-webkit-line-clamp: 9999; /* number of lines to show */
           line-clamp: 9999; 
   -webkit-box-orient: vertical;
}

.artisan_specialite .seemore {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.7em;
    letter-spacing: 0;
}