/*
Theme Name: APT
Author: Clément MARTINEZ
Author URI: http://clementmartinez.fr/
Description: Thème pour APT
Text Domain: apt-theme
Version: 1.0
*/

.onephoto .overlay, .onephoto .text {
	display: none;
}
.onephoto img[data-id] {
	cursor: pointer;
}
.onephoto .overlay {
	position: fixed;
	z-index: 1000;
	background-color: rgba(255,255,255,0.95);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.onephoto .overlay::before {
    content: "\f00d";
    color: #34296b;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 20px;
    text-rendering: auto;
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
}
.onephoto .text {
	position: absolute;
	z-index: 1001;
	background-color: white;
	top: 50px;
	left: 25%;
	width: 50%;
	padding:30px;
	overflow-y: scroll;
	max-height: calc(100% - 100px);
}
.onephoto .text img {
	display: block;
	margin:0 auto;
}

@media screen and (max-width: 900px){
	.onephoto .text {
		left: 30px;
		width: calc(100% - 60px);
	}
}

.asso_cadre {
	border: 1px solid #ddd;
	margin-bottom: 20px;
}
.asso_cadre .title {
	padding: 10px 20px;
	font-weight: bold;
	background-color: #f2f2f2;
}
.asso_cadre .content {
	padding: 10px 20px;
	padding-bottom: 0;
}
.asso_cadre .content p {
	margin-bottom: 10px;
}

@media screen and (min-width: 1000px) {
	body.page .noimg, body.archive .noimg, body.single-tribe_events .noimg {
	    height: 210px;
	}
}


#float_rs a i.fa-facebook {
	position: relative;
	top: 2px;
}

header .search-form .search-submit,
#float_rs a,
#site-header .res_soc a,
#goto_en_un_clic,
#site-logo {
	-webkit-transition: opacity 0.2s ease-in;
	transition: opacity 0.2s ease-in;
}

header .search-form .search-submit:hover,
#float_rs a:hover,
#site-header .res_soc a:hover,
#goto_en_un_clic:hover,
#site-logo:hover {
	opacity: .8;
}

header .search-form-mob .search-form {
	display: none;
}
@media screen and (max-width: 550px) {
	header .search-form {
    	display: none;
	}
	header .search-form-mob .search-form {
    	display: block;
	}
}

body .cbp-spmenu li.menu-item-has-children::before {
    border-radius: 50px;
    font-size: 35px;
    line-height: 31px;
    width: 35px;
    height: 35px;
    top: 8px;
}
body .cbp-spmenu li.menu-item-has-children.open::before {
    line-height: 27px;
}
body .cbp-spmenu ul li a {
    padding-right: 65px;
}
body.cbp-spmenu-push-toright {
    left:0;
}

header .search-form-mob .search-form {
	position: relative;
	margin-left:auto;
	margin-right:auto;
	max-width: 100%;
	left: 0;
	bottom: 0;
}
.search-form-mob {
	padding-top: 25px;
}

body .gform_wrapper .validation_message {
    padding-top: 0 !important;
}
body .cbp-spmenu .sub-menu {
    font-size: .9em;
}

body #tothetop {
    position: fixed;
    right: 0;
    top: auto;
    width: 50px;
    height: 50px;
    bottom: 0;
	z-index: 10;
}


#oraison_slider .img_mob {
    display: none;
}
@media screen and (max-width: 700px) {
	#oraison_slider .img_mob {
	    display: block;
	}
	#oraison_slider .img_desk {
	    display: none;
	}
    body #oraison_slider .slick-slide section .columns .txt {
        display:block;
        padding-right: 75px;
    }
    body .slick-dots {
        opacity: 1;
        position: relative;
		top: 40px;
		right: 20px;
    }
}
@media screen and (max-width: 600px) {
	body #oraison_slider .slick-slide section .columns {
		position:absolute;
        bottom:50px;
        background-color:rgba(0,0,0,.7);
        padding-top: 10px;
        width:auto;
        height:auto;
        display: block;
	}
}

figure.wp-block-table {
    margin: 0;
}

body #site-main h3 {
    font-size: 1.2rem;
    color: black;
}

.paginate_links {
	text-align: center;
	margin-bottom: 40px;
	font-family: 'Montserrat',sans-serif;
	font-weight: bold;
	font-size: 1.4em;
}

div.mce_inline_error {
	display: none!important;
}

#site-header .res_soc {
	position: relative;
	z-index: 3;
}
.gform_body input[type="checkbox"],
.gform_body input[type="radio"] {
	margin: 0;
}

.page-template-template-tourisme #les_guides .list-guide > div a {
	height: 300px;
	width: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	color:transparent;
}

.page-template-template-resto #site-main {
	padding-bottom: 0!important;
	background-image: none!important;
}
.page-template-template-resto #site-main:before {
	display: none!important;
}

div[id^="ppms_cm"] {
	display: none!important;
}
.footer-coordonnees-newsletter .footer-coordonnees-right img {
	width: 200px!important;
}

/* Retours octobre 2025 */
body #site-main > .elementor .bloc-a-noter .bloc-a-noter__contenu {
	padding-bottom: 15px;
}
body #site-main > .elementor .bloc-a-noter .bloc-a-noter__titre {
	font-size: 24px;
}
body #site-main > .elementor h2::before {
	height: 3px;
	bottom: 25px;
}
body #site-main > .elementor h2 {
	/* padding-bottom: 45px; */
	/* margin-bottom: -25px; */
}

body.post-type-archive-kiosque .archive-title {
	color:#A68FBD!important;
}
.publi_posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
}
@media screen and (max-width:700px) {
	.publi_posts {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}
@media screen and (max-width:450px) {
	.publi_posts {
		grid-template-columns: repeat(1, 1fr);
	}
}
.publi_posts .onepubli * {
	text-transform: uppercase;
}
.publi_posts .onepubli .link span {
	text-transform: none;
}
.publi_posts .onepubli h2 {
	margin-top: 20px;
	margin-bottom: 5px;
	line-height: 1.2;
	color:black!important;
}
.publi_posts .onepubli .date {
	font-weight: bold;
	font-size: 1.2em;
	line-height: 1.2;
	padding-bottom: 15px;
	margin-bottom: 10px;
	border-bottom: 2px solid #606c75;
}
.publi_posts .onepubli .link a {
	display: block;
	text-decoration: none!important;
	margin-bottom: 15px;
	padding-left: 25px;
	background-image: url(./img/icon-dl.png);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 18px;
	font-weight: 500;
}

/* le maire et ses élus */
.page-id-12 #site-main .elementor-widget-heading h1 {
	margin-bottom: 50px;
}
.page-id-12 #site-main > .elementor .elementor-widget-text-editor,
.page-id-12 #site-main > .elementor .elementor-widget-heading h2,
.page-id-12 #site-main > .elementor .elementor-widget-heading h3,
.page-id-12 #site-main > .elementor .elementor-widget-heading h4,
.page-id-12 #site-main > .elementor .elementor-widget-heading h5,
.page-id-12 #site-main > .elementor .elementor-widget-heading h6 {
	padding-left: 0;
}
.page-id-12 .elementor-widget-spacer {
	display: none;
}
.page-id-12 .e-grid .e-child {
	gap: 10px!important;
}
.page-id-12 .e-grid .e-child p {
	margin-bottom: 5px!important;
}

.gform_submission_error {
	font-size: 16px!important;
	color:red!important;
}

.noimg {
  height: 0 !important;
}

.tax-categorie-association #site-main .cats,
.single-fuv_association #site-main .cats,
.post-type-archive-fuv_association #site-main .cats,
.tax-categorie-association #site-main .post-thumbnail-txt h2,
.post-type-archive-fuv_association #site-main .post-thumbnail-txt h2 {
	font-size: 1.2em;	
	color: #93b396;
	font-weight: bold;
}
.tax-categorie-association #site-main .cats,
.single-fuv_association #site-main .cats,
.post-type-archive-fuv_association #site-main .cats {
	font-size: 30px;
}
.tax-categorie-association #site-main .cats a,
.single-fuv_association #site-main .cats a,
.post-type-archive-fuv_association #site-main .cats a {
	font-size: 30px;
	color: #93b396;
}

.single-fuv_association #site-main h1 {
	color: black;
}
.single-fuv_association #site-main .cats a,
.single-fuv_association #site-main .cats {
	font-size: 1.2em;
	color: black;
}
.single-fuv_association .goback {
	font-weight: normal;
	padding: 5px;
	display: inline-block;
	border: 1px solid black;
	text-decoration: none!important;
}

@media screen and (min-width: 700px) {
  .tax-categorie-association .part-content .post-thumbnail-txt,
  .post-type-archive-fuv_association .part-content .post-thumbnail-txt {
    width: 100%;
  }
}

#site-main > .elementor h2.elementor-heading-title {
	font-size: 30px;
	color: #93b396;
}

body.search .archive-title,
body.blog .archive-title,
body.post-type-archive-fuv_association .archive-title {
	margin-top: 0!important;
	color: #e0c278!important;
}

/* quick fix H2 */
.sup_parent_11 .elementor-widget-heading h2,
.sup_parent_20 .elementor-widget-heading h2,
.sup_parent_325 .elementor-widget-heading h2 {
	margin-bottom: -25px!important;
}

/* sondage */
.gform_wrapper .gfield--type-choice {
	margin-bottom: 20px!important;
}
.gform_wrapper .gfield--type-choice .gfield_label {
	margin-bottom: 10px !important;
  	display: inline-block;
}

#nouveau {
	padding-top: 0;
}