/*
Theme Name: Perez Guide
Author: Tris informatique
Author URI: https://www.trisinformatique.com
Version: 7.1.1
Template: enfold
*/

/* -----------------------------------------------------
   Variables globales
------------------------------------------------------ */
:root {
	--main-color: var(--blue);
	--second-color: var(--dark-blue);
	--blue: #359eae;
	--dark-blue: #293273;
	--grey: #666666;
	--border-radius: 8px;
	--icon-social-size: 25px;
}

/* -----------------------------------------------------
   Header et Logo
------------------------------------------------------ */
#top .logo {
	padding: 10px;
}
#top .logo img {
	height: 100%;
}
@media only screen and (max-width: 767px) {
	.responsive .logo img,
	.responsive .logo svg {
		padding: 5px;
	}
}

/* -----------------------------------------------------
   Menu responsive
------------------------------------------------------ */
@media only screen and (max-width: 767px) {
	.responsive #top #wrap_all #header {
		position: fixed !important;
	}
	.responsive #top #main {
		padding-top: 117px !important;
	}
}

/* -----------------------------------------------------
   Réseaux sociaux (header)
------------------------------------------------------ */
#top .social_bookmarks li:hover a {
	background: transparent !important;
}
#top .social_bookmarks li {
	margin-right: 10px;
	border-right: none;
	width: auto;
	padding: 5px;
}
#top .social_bookmarks li a {
	width: var(--icon-social-size);
	min-height: var(--icon-social-size);
	height: var(--icon-social-size);
	line-height: var(--icon-social-size);
}
#top .social_bookmarks li a:before {
	background-color: var(--enfold-header-color-meta);
	background-repeat: no-repeat;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
}
#top .social_bookmarks li a:hover:before {
	background-color: var(--main-color);
}

/* Réseaux sociaux : masques SVG */
#top .social_bookmarks li.social_bookmarks_facebook a:before {
	-webkit-mask-image: url(/wp/wp-content/uploads/2025/07/facebook.svg);
	mask-image: url(/wp/wp-content/uploads/2025/07/facebook.svg);
}
#top .social_bookmarks li.social_bookmarks_instagram a:before {
	-webkit-mask-image: url(/wp/wp-content/uploads/2025/07/instagram.svg);
	mask-image: url(/wp/wp-content/uploads/2025/07/instagram.svg);
}
#top .social_bookmarks li.social_bookmarks_square-x-twitter a:before {
	-webkit-mask-image: url(/wp/wp-content/uploads/2025/07/X.svg);
	mask-image: url(/wp/wp-content/uploads/2025/07/X.svg);
}
#top .social_bookmarks li.social_bookmarks_linkedin a:before {
	-webkit-mask-image: url(/wp/wp-content/uploads/2025/07/linkedin.svg);
	mask-image: url(/wp/wp-content/uploads/2025/07/linkedin.svg);
}

/* Responsive réseaux sociaux */
@media only screen and (max-width: 479px),
only screen and (max-width: 767px) {
	.responsive #top #wrap_all #header .social_bookmarks {
		display: block;
	}
}
@media only screen and (max-width: 767px) {
	.responsive #header_meta .social_bookmarks li,
	.responsive #top #header_meta .social_bookmarks li:last-child {
		border: none;
	}
}

/* -----------------------------------------------------
   Liens
------------------------------------------------------ */
.avia_textblock p a,
.avia_textblock li a,
.iconbox_content_container a {
	text-decoration: underline !important;
}

/* -----------------------------------------------------
   Titres et citations
------------------------------------------------------ */
#top .trs-special-quote h2 {
	text-transform: none;
	letter-spacing: -1px;
	font-style: italic;
	font-weight: 700;
	line-height: 47px;
}

/* -----------------------------------------------------
   Bordure images spéciales
------------------------------------------------------ */
#top .trs-border-img img {
	border: 10px solid white;
}

/* -----------------------------------------------------
   Iconbox
------------------------------------------------------ */
#top .iconbox.iconbox_top.av-no-box .iconbox_icon {
	border: none;
}
#top .iconbox.iconbox_top.av-no-box .iconbox_icon svg:first-child {
	font-size: 70px;
	margin-top: 0;
}

/* -----------------------------------------------------
   Images & Lightbox
------------------------------------------------------ */
#top .mfp-title {
	display: none;
}
#top.page-id-33 .mfp-title {
	display: inline;
}

/* -----------------------------------------------------
   Page activités : titre lien "me contacter"
------------------------------------------------------ */
#top .link-titre a {
	color: var(--main-color);
	text-decoration: none;
}
#top .link-titre h3 {
	line-height: 1.6;
	font-weight: 400;
}

/* -----------------------------------------------------
   Bouton "Retour aux actualités"
------------------------------------------------------ */
.back-to-blog-btn {
	text-align: left;
	margin-bottom: 1.5rem;
}
.back-to-blog-btn .retour-actualites-btn {
	display: inline-flex;
	align-items: center;
	background: var(--main-color);
	color: #fff;
	padding: 0.65em 1.3em 0.65em 1em;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(39,179,166,0.08);
	text-decoration: none;
	transition: background 0.17s, color 0.15s, opacity 0.15s;
	gap: 0.5em;
}
.back-to-blog-btn .retour-actualites-btn:hover {
	opacity: 0.8;
	color: #fff;
	text-decoration: none;
}
.back-to-blog-btn .retour-actualites-btn::before {
	content: '➜';
	transform: rotate(180deg);
}

/* -----------------------------------------------------
   Tableaux tarifs (pricing)
------------------------------------------------------ */
#top .trs-table.avia-table.avia_pricing_minimal th {
	padding: 10px 20px;
	color: #fff;
	font-size: 20px;
	font-weight: normal;
	text-transform: none;
	border-right: solid 2px #fff;
	background-color: var(--main-color);
}
#top .trs-table.avia-table.avia_pricing_minimal tr td {
	font-size: 18px;
	color: #212121;
	border-right: solid 2px #fff;
	border-bottom: solid 2px #fff;
}
#top .trs-table.avia-table.avia_pricing_minimal tr {
	background-color: #f2f2f2;
}
#top .trs-table.avia-table.avia_pricing_minimal tr:nth-child(2n+1) {
	background-color: #1fc4ff03;
}

/* -----------------------------------------------------
   Magazine (communes & actualités)
------------------------------------------------------ */
#top .av-magazine-entry-big,
#top .av-magazine-entry-small {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 32px 0 rgba(14,179,239,0.15);
	overflow: hidden;
	margin-bottom: 2.1rem;
	position: relative;
	transition: box-shadow .18s;
}
#top .av-magazine-entry-small {
	border-radius: 14px;
	box-shadow: 0 4px 18px 0 rgba(14,179,239,0.15);
	margin-bottom: 1.1rem;
	min-height: 100px;
	max-height: 150px;
}
#top .av-magazine,
#top .av-magazine-group {
	overflow: visible;
}
/* Miniatures */
#top .av-magazine-entry-big .av-magazine-thumbnail,
#top .av-magazine-entry-small .av-magazine-thumbnail {
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
#top .av-magazine-entry-big .av-magazine-thumbnail {
	flex: 0 0 340px;
	max-width: 340px;
	min-width: 180px;
}
#top .av-magazine-entry-small .av-magazine-thumbnail {
	flex: 0 0 200px;
	width: 200px;
	border-radius: 12px 0 0 12px;
}
#top .av-magazine-entry-big .av-magazine-thumbnail-link,
#top .av-magazine-entry-big .av-magazine-thumbnail img,
#top .av-magazine-entry-small .av-magazine-thumbnail-link,
#top .av-magazine-entry-small .av-magazine-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	min-height: 200px;
	transition: transform .2s;
}
#top .av-magazine-entry-small .av-magazine-thumbnail-link,
#top .av-magazine-entry-small .av-magazine-thumbnail img {
	min-height: unset;
}
#top .av-magazine-entry-big .av-magazine-thumbnail:hover img,
#top .av-magazine-entry-small:hover .av-magazine-thumbnail img {
	transform: scale(1.04);
}
/* Badge date visuel */
#top .av-magazine-entry-big .av-magazine-time,
#top .av-magazine-entry-small .av-magazine-time {
	display: none;
	background: var(--main-color, #0eb3ef);
	color: #fff;
	font-weight: 700;
	border-radius: 12px;
	text-align: center;
	letter-spacing: 0.04em;
	z-index: 2;
	margin: 0 0 10px 0;
	line-height: 1.11;
	box-shadow: 0 2px 8px rgba(43,50,111,0.11);
	min-width: 0;
	text-transform: uppercase;
	opacity: 0.97;
}
#top .av-magazine-entry-big .av-magazine-time {
	font-size: 1rem;
	padding: 8px 18px 7px 18px;
}
#top .av-magazine-entry-small .av-magazine-time {
	font-size: 0.92rem;
	padding: 5px 14px 4px 14px;
}
/* Content-wrap */
#top .av-magazine-entry-big .av-magazine-content-wrap,
#top .av-magazine-entry-small .av-magazine-content-wrap {
	flex: 1 1 0%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	background: transparent;
	box-shadow: none;
}
#top .av-magazine-entry-big .av-magazine-content-wrap {
	padding: 2.2rem 2.2rem 2rem 2.2rem;
}
#top .av-magazine-entry-small .av-magazine-content-wrap {
	padding: 0.7rem 1.3rem 0.6rem 1.1rem;
}
/* Titres */
#top .av-magazine-entry-big .av-magazine-title,
#top .av-magazine-entry-small .av-magazine-title {
	font-weight: 800;
	color: var(--second-color, #2b326f);
	margin-top: 0;
	line-height: 1.22;
}
#top .av-magazine-entry-big .av-magazine-title {
	font-size: 1.35rem;
	margin-bottom: 0.6em;
}
#top .av-magazine-entry-small .av-magazine-title {
	font-size: 1.09rem;
	margin-bottom: 0.25em;
}
#top .av-magazine-entry-big .av-magazine-title a,
#top .av-magazine-entry-small .av-magazine-title a {
	color: inherit;
	text-decoration: none;
	transition: color .18s;
}
#top .av-magazine-entry-big .av-magazine-title a:hover,
#top .av-magazine-entry-small .av-magazine-title a:hover {
	color: var(--main-color, #0eb3ef);
}
/* Extraits */
#top .av-magazine-entry-big .av-magazine-content,
#top .av-magazine-entry-small .av-magazine-content {
	color: #39506c;
	font-size: 1.09rem;
	line-height: 1.50;
	opacity: 0.98;
	margin-top: 0.13em;
}
#top .av-magazine-entry-big .av-magazine-content {
	margin-bottom: 0.6em;
}
#top .av-magazine-entry-small .av-magazine-content {
	font-size: 0.98rem;
	margin-bottom: 0.08em;
	margin-top: 0.08em;
	white-space: normal;
}

/* Responsive magazine */
@media (max-width: 1100px) {
	#top .av-magazine-entry-small {
		max-height: 250px;
	}
}
@media (max-width: 800px) {
	#top .av-magazine-entry-big {
		flex-direction: column;
		max-width: 99vw;
	}
	#top .av-magazine-entry-big .av-magazine-thumbnail,
	#top .av-magazine-entry-big .av-magazine-content-wrap {
		max-width: 100%;
		width: 100%;
		min-width: 0;
		padding: 0;
	}
	#top .av-magazine-entry-big .av-magazine-content-wrap {
		padding: 1.2rem 1rem 1.2rem 1rem;
	}
	#top .av-magazine-entry-big .av-magazine-time {
		font-size: .95rem;
		padding: 6px 12px 6px 12px;
	}
}
@media only screen and (max-width: 600px) {
	#top .av-magazine-entry-small {
		flex-direction: column;
		min-height: 0;
		border-radius: 12px;
		max-height: none;
	}
	#top .av-magazine-entry-small .av-magazine-thumbnail {
		width: 100%;
		height: 170px;
		border-radius: 12px 12px 0 0;
	}
	#top .av-magazine-entry-small .av-magazine-content-wrap {
		padding: 0.75rem 0.9rem 0.7rem 0.9rem;
	}
	#top .av-magazine-entry-small .av-magazine-time {
		font-size: .88rem;
		padding: 5px 11px 5px 11px;
	}
}

/* -----------------------------------------------------
   Section full-width et headers spéciaux
------------------------------------------------------ */
#top .full-width-section .container {
	max-width: 100% !important;
}
#top .image-container-trs .container .content {
	vertical-align: top;
}
#top .image-container-trs .avia-image-container {
	display: flex;
	justify-content: center;
	align-items: center;
}
#top .image-container-trs .avia-image-container-inner {
	max-width: 700px;
}

/* Header page */
#top .trs-title .av-special-heading-tag {
	text-shadow: 0 0 10px black;
}
#top .trs-title .av-subheading {
	text-shadow:
		0 1px 0 var(--grey), 1px 0 0 var(--grey), 0 -1px 0 var(--grey), -1px 0 0 var(--grey),
		1px 1px 0 var(--grey), -1px -1px 0 var(--grey), 1px -1px 0 var(--grey), -1px 1px 0 var(--grey),
		2px 0 0 var(--grey), -2px 0 0 var(--grey), 0 2px 0 var(--grey), 0 -2px 0 var(--grey),
		2px 2px 0 var(--grey), -2px -2px 0 var(--grey), 2px -2px 0 var(--grey), -2px 2px 0 var(--grey);
}

/* -----------------------------------------------------
   Masonry (page activités)
------------------------------------------------------ */
#top .trs-masonry .av-inner-masonry-content-pos-content {
	font-size: 18px;
}
#top .trs-masonry .av-inner-masonry-content-pos-content .av-masonry-entry-content.entry-content {
	font-size: 15px;
}

/* -----------------------------------------------------
   Ninja Forms
------------------------------------------------------ */
#top .nf-field-description {
	z-index: 100;
}
#top #nf-form-3-cont .nf-multi-cell .nf-cell {
	padding: 0 40px;
}
@media only screen and (max-width: 989px) {
	#top #nf-form-3-cont .nf-multi-cell .nf-cell {
		padding: 0 5px;
	}
}
.checkbox-container.label-right .checkbox-wrap {
	flex-direction: column;
}
#top #ninja_forms_required_items,
.nf-field-container {
	margin-bottom: 5px !important;
}
#top .nf-field-element input[type="text"],
#top .nf-field-element input[type="email"],
#top .nf-field-element input[type="tel"] {
	margin-bottom: 5px !important;
}
#top .nf-field-element input,
#top .nf-field-element textarea,
.nf-error.field-wrap .nf-field-element::after {
	border-radius: var(--border-radius);
	font-size: 1.2em;
}
#top .nf-field-element .btn,
#top .nf-form-fields .nf-element[type="submit"] {
	background: var(--main-color);
	color: #fff;
	border: none;
	border-bottom: 1px solid var(--main-color);
	border-radius: 999px;
	padding: 0.8em 2.4em;
	box-shadow: 0 2px 8px rgba(39,179,166,0.06);
}
input[type="button"],
button {
	cursor: pointer;
}
#top .nf-field-element {
	overflow: hidden;
}
/* Fin Ninja Forms */

/* -----------------------------------------------------
   Footer
------------------------------------------------------ */
#footer {
	padding: 0px;
}
#top #footer h3.widgettitle {
	font-size: 1.5em;
	font-weight: normal;
	text-decoration-line: underline;
}
/* Colonnes du footer */
#footer div .av_one_fourth:nth-child(1) {
	width: 15.5%;
}
#footer div .av_one_fourth:nth-child(3) {
	width: 30.5%;
}
#footer div .av_one_fourth:nth-child(4) {
	width: 15.5%;
}
@media only screen and (max-width: 767px) {
	#footer .widget {
		margin: 0;
		margin-top: 10px;
	}
	.responsive #top #wrap_all #footer .av_one_fourth:nth-child(1) {
		width: 30%;
		margin-right: 3%;
	}
	.responsive #top #wrap_all #footer .av_one_fourth:nth-child(2) {
		width: 67%;
	}
	.responsive #top #wrap_all #footer .av_one_fourth:nth-child(3) {
		width: 70%;
		clear: left;
	}
	.responsive #top #wrap_all #footer .av_one_fourth:nth-child(4) {
		width: 30%;
		display: flex;
		justify-content: right;
	}
}
#footer p {
	margin: 0;
}
/* Liste portfolio dans le footer */
#top #footer .news-wrap {
	columns: 2;
	-webkit-columns: 2;
	-moz-columns: 2;
}
#top #footer .news-content {
	padding: 0;
}
#top #footer .news-content .news-headline {
	font-weight: normal;
}
#top #footer .news-thumb {
	display: none;
}

/* Social footer (grille) */
#footer ul.social_bookmarks {
	display: grid;
	grid-template-columns: repeat(2, 50px);
	grid-template-rows: repeat(2, 50px);
	gap: 28px;
	padding: 16px;
	width: fit-content;
	height: fit-content;
	margin-top: 70px;
}
@media only screen and (max-width: 767px) {
	#footer ul.social_bookmarks {
		gap: 0px;
		margin-top: 0px;
		grid-template-columns: repeat(1, 50px);
		grid-template-rows: repeat(4, 50px);
	}
}
#footer ul.social_bookmarks li {
	margin-right: 0;
}
#footer ul.social_bookmarks li a {
	width: 100%;
	height: 100%;
	min-height: 100%;
}
#top #footer .social_bookmarks li a:before {
	background-color: white;
}
#top #footer .social_bookmarks li a:hover:before {
	background-color: var(--main-color);
}

/* Contact infos dans le footer */
.contact-item {
	display: flex;
	align-items: start;
}
.contact-item .av-icon-char {
	margin-right: 12px;
	flex-shrink: 0;
}
.contact-item .av-icon-char svg {
	width: 26px;
	height: 32px;
	fill: white;
}
#footer #contact-name {
	margin-bottom: 10px;
}
.contact-item .contact-detail {
	flex-grow: 1;
}
.contact-item strong {
	display: block;
	font-weight: 600;
}

/* Socket copyright */
#socket .copyright {
	width: 100%;
}
