/* Theme Name: archipel
   Theme URI: http://www.archipel.fr/
   Description: archipel
   Version: 1.1
   Author: A l'Encre bleue
   Author URI: https://alencrebleue.com
*/
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: local("Poppins Regular"), local("Poppins-Regular"), url("/wp-content/themes/archipel/assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: local("Poppins Medium"), local("Poppins-Medium"), url("/wp-content/themes/archipel/assets/fonts/Poppins-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: local("Poppins SemiBold"), local("Poppins-SemiBold"), url("/wp-content/themes/archipel/assets/fonts/Poppins-SemiBold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: local("Poppins Bold"), local("Poppins-Bold"), url("/wp-content/themes/archipel/assets/fonts/Poppins-Bold.woff2") format("woff2");
  font-display: swap;
}
:root {
    /* Couleurs */
    --color-primary:#000000;
    --color-secondary:#E3C472;
    /*--color-secondary:#E9CC71;*/
    --color-gray:#737373;
    --color-gray-dark:#4D4847;
    --color-gray-light:#F4F4F4;
    --color-white:#ffffff;
	--color-bleu:#0C4EE2;
	--color-rouge: #DA2109;
	--color-vert:#1B8282;
    /* Border-radius */
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-48: 48px;
    /* Fonts */
    --font-family: "Poppins", serif;
    /* TYPOGRAPHIE */
    --p-font-size: 16px;
    --small-font-size: 13px;
    --li-font-size: 16px;
    /* Desktop */
    --h1-desktop-font-size: 44px;
    --h2-desktop-font-size: 32px;
    --h3-desktop-font-size: 24px;
    --h4-desktop-font-size: 18px;
    /* Tablet */
    --h1-tablet-font-size: 40px;
    --h2-tablet-font-size: 32px;
    --h3-tablet-font-size: 22px;
    --h4-tablet-font-size: 16px;
    /* Mobile */
    --h1-mobile-font-size: 40px;
    --h2-mobile-font-size: 26px;
    --h3-mobile-font-size: 20px;
    --h4-mobile-font-size: 18px;
    /* Arrow et puce */
    --puce-menu: url('/wp-content/themes/archipel/images/puce-menu.svg');
    --puce-formule: url('/wp-content/themes/archipel/images/puce-formule.svg');
    --puce-liste: url('/wp-content/themes/archipel/images/puce-liste.svg');
    --puce-liste-white: url('/wp-content/themes/archipel/images/puce-liste-white.svg');
	--puce-duree: url('/wp-content/themes/archipel/images/puce-duree.svg');
	--puce-participants: url('/wp-content/themes/archipel/images/puce-participants.svg');
	--puce-niveau: url('/wp-content/themes/archipel/images/puce-niveau.svg');
	
    --link-external: url('/wp-content/themes/archipel/images/link-external.svg');
    --link-external-white: url('/wp-content/themes/archipel/images/link-external-white.svg');
	
    --pattern-classic: url('/wp-content/themes/archipel/images/pattern-classic.svg');
    --pattern-vector: url('/wp-content/themes/archipel/images/icon-vector-bg.svg');
    --pattern-vector-tabplus: url('/wp-content/themes/archipel/images/icon-vector-bg-tabplus.svg');
    --pattern-vector-tab: url('/wp-content/themes/archipel/images/icon-vector-bg-tab.svg');
    --pattern-vector-mob: url('/wp-content/themes/archipel/images/icon-vector-bg-mob.svg');
    --pattern-medical: url('/wp-content/themes/archipel/images/icon-activite.svg');
    --fleche-grise: url('/wp-content/themes/archipel/images/fleche-grise.svg');
    --icon-adv: url('/wp-content/themes/archipel/images/icon-adv.svg');
    --icon-adv2: url('/wp-content/themes/archipel/images/icon-adv2.svg');
	
    /* Picto coordonnées */
    --email: url('/wp-content/themes/archipel/images/mail_line.svg');
    --telephone: url('/wp-content/themes/archipel/images/phone_line.svg');
    --telephone-donateur: url('/wp-content/themes/archipel/images/phone-accueil.svg');
    --localisation: url('/wp-content/themes/archipel/images/map_line.svg');
    --social: url('/wp-content/themes/archipel/images/social.svg');
    --calendar: url('/wp-content/themes/archipel/images/calendar.svg');
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: var(--font-family), sans-serif;
  font-style: normal;
  color: var(--color-primary);
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
html{
    overflow-x: hidden;	
}
body {
	background: var(--color-gray-light);
	font-smooth: always;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;	
}
main {
    /*background: var(--color-secondary);
    background: var(--color-white);
    padding-top: 95px; */
}
/* Button */
input.gform_button, form input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
}
form textarea {
  border: none;
}
form .ginput_container_consent input {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  border-radius: initial;
}
/* Grid */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.container {
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
	background: #dcdcdc7a;	
	border-radius: 12px;	
	padding:30px 18px;
}
.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.row > * {
  float: left;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}
.row::after {
  content: "";
  display: block;
  clear: both;
}
@media screen and (min-width: 1280px) {
.container {
	max-width: 1200px;
}
}
@media screen and (min-width: 1200px) and (max-width: 1279px) {
.container {
	width: 95%;
}
} 
@media screen and (min-width: 1200px)  {
.container {
	padding:30px 18px;
}
} 
@media screen and (min-width: 481px) and (max-width: 1199px) {
.container {
	width: 90%;
}
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
.container {
	padding: 24px 12px;	
}
}
@media screen and (min-width: 801px) and (max-width: 1023px) {
.container {
	padding: 20px 12px;	
}
.row > * {
    padding-left: 8px;
    padding-right: 8px;
}
}
@media screen and (min-width: 481px) and (max-width: 800px) {
.container {
	padding: 24px;	
}
}
@media screen and (max-width:480px) {
.container {
    width: 95%;
    padding: 12px;
}
}	
@media screen and (max-width:800px) {
.row > * {
	padding-left: 0;
	padding-right: 0;
}
}
/* Main */
a { 
	color: var(--color-primary);
	text-decoration: none;
	cursor: pointer;
}
a:hover {
	color: var(--color-red);
}
a:focus {
	outline: 0;
}
a:hover, a:active {
	outline: 0;
}
input:focus {
	outline: 0;
}
:focus {
	outline: none;
}
img {
	height: auto;
	max-width: 100%;
}
.btn {
	color: var(--color-white);
    padding:12px 20px;
    font-weight: 700;
    font-size: 16px;
	line-height:1.3;
    border-radius: 8px;
    display: block;
    position: relative;
    width: 100%;	
    max-width: max-content;
    transition: background-color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 2px solid;
    cursor: pointer;
}
.btn-primary{
	border-color: var(--color-vert);
	background: var(--color-vert);
}
.btn-primary:hover{
	color: var(--color-white);
	background: var(--color-primary);
	border-color: var(--color-primary);
}
.btn-secondary{
	color: var(--color-white);
	background: var(--color-primary);
	border-color: var(--color-primary);
}
.btn-secondary:hover{
	color: var(--color-white);
	border-color: var(--color-vert);
	background: var(--color-vert);
}
.btn-third{
	color: var(--color-primary);
	border-color: var(--color-white);
	background: var(--color-white);
}
.btn-third:hover{
	color: var(--color-white);
	border-color: var(--color-primary);
	background: var(--color-primary);
}
.btn-fourth{
	color: var(--color-primary);
	border-color: transparent;
	background: transparent;
	padding-left:0;
	font-weight:400;
	padding-right:2em;
}
.btn-fourth span{
	position: relative;
	border-bottom: 1px solid;
}
.btn-fourth span:after{
	position: absolute;
	content: var(--link-external);
    top: 50%;
    right: -2em;
    transform: translate(0,-50%);
}
.btn-single{
	border:none;
	padding:12px 16px;
}
.btn-single:before{
	content:'';
	position: absolute;
    top: 50%;
    left: 2px;
    transform: translate(-50%,-50%);
	height: 100%;
	max-height: 21px;
	width: 4px;
	background: var(--color-primary);
}
.btn-single:hover:before{
	background: var(--color-secondary);
}
@media only screen and (min-width: 801px) {
.bloc-1 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
}
.bloc-2 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	max-width: 50%;
}
.bloc-3 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 33.3%;
	flex: 0 0 33.3%;
	max-width: 33.3%; 
}
.bloc-4 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	max-width: 25%;
}
.bloc-5 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 20%;
	flex: 0 0 20%;
	max-width: 20%;
}
.bloc-2-3 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 66.66%;
	flex: 0 0 66.66%;
	max-width: 66.66%;
}
.bloc-3-4 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 75%;
	flex: 0 0 75%;
	max-width: 75%;
}
.bloc-2-5 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 40%;
	flex: 0 0 40%;
	max-width: 40%;
}
.bloc-3-5 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 60%;
	flex: 0 0 60%;
	max-width: 60%;
}
.bloc-4-5 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 80%;
	flex: 0 0 80%;
	max-width: 80%;
}
}
hr {
  border: none;
}
@media only screen and (min-width: 1024px) {
hr.small {
	margin: 0.5em 0;
}
hr.medium {
	margin: 1em 0;
}
hr.large {
	margin: 2em 0;
}
}
@media only screen and (min-width: 481px) and (max-width: 1023px) {
hr.small {
	margin: 0.25em 0;
}
hr.medium {
	margin: .75em 0;
}
hr.large {
	margin: 1em 0;
}
}
@media only screen and (max-width: 480px) {
hr.small {
	margin: 0.125em 0;
}
hr.medium {
	margin: .5em 0;
}
hr.large {
	margin: .75em 0;
}
}
/* Misc */
::selection {
  background: #424242;
  color: var(--color-secondary);
  text-shadow: none;
}
::-webkit-selection {
  background: #424242;
  color: var(--color-secondary);
  text-shadow: none;
}
::-moz-selection {
  background: #424242;
  color: var(--color-secondary);
  text-shadow: none;
}
/* Typography */
h1 {
  font-weight: 600;
  line-height: 1.1;
}
h2 {
  font-weight: 600;
  line-height: 1.2;
}
h3 {
  font-weight: 600;
  line-height: 1.2;
}
h4 {
  font-weight: 600;
  line-height: 1.2;
}
p {
  font-weight: 400;
  line-height: 1.3;
  margin: .5em 0;
  font-size: var(--p-font-size);
}
p strong {
  font-weight:600;
}
small, small strong{
	font-size:14px;
	font-style: italic;
}
ul {
  list-style-type: disc;
  margin-left: 2em;
  margin-top: 1em;
  margin-bottom: 1em;
}
ol {
  margin-left: 2em;
  margin-top: 1em;
  margin-bottom: 1em;
}
li {
  font-size: var(--li-font-size);
  line-height: 1.4;
}
section {
  padding: 16px 0;
}
@media screen and (min-width: 1200px) {
h1 {
  font-size: var(--h1-desktop-font-size);
}
h2 {
  font-size: var(--h2-desktop-font-size);
}
h3 {
  font-size: var(--h3-desktop-font-size);
}
h4 {
  font-size: var(--h4-desktop-font-size);
}
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
h1 {
  font-size: var(--h1-tablet-font-size);
}
h2 {
  font-size: var(--h2-tablet-font-size);
}
h3 {
  font-size: var(--h3-tablet-font-size);
}
h4 {
  font-size: var(--h4-tablet-font-size);
}
}
@media screen and (min-width: 481px) and (max-width: 1023px) {
h1 {
  font-size: var(--h1-tablet-font-size);
}
h2 {
  font-size: var(--h2-tablet-font-size);
}
h3 {
  font-size: var(--h3-tablet-font-size);
}
h4 {
  font-size: var(--h4-tablet-font-size);
}
}
@media screen and (max-width: 480px) { 
h1 {
  font-size: var(--h1-mobile-font-size);
}
h2 {
  font-size: var(--h2-mobile-font-size);
}
h3 {
  font-size: var(--h3-mobile-font-size);
}
h4 {
  font-size: var(--h4-mobile-font-size);
}
section {
  padding: 10px 0;
}	
}
/* ============================
========= INTRO PAGE ==============
=============================*/
.text-intro-page img{
    width: 350px;
}
body:not(.home) .text-intro-page img {
    width: 280px;
}
/* footer */
footer {
    padding-top: 16px;
}
footer .container{
    border-radius: 12px;
	margin-bottom: 40px;
	padding-bottom: 12px;
}
footer *{
	color: var(--color-primary);
}
footer .row.newsglobe .newsletter{
	background: var(--color-gray-light);
	border-radius: 12px;
	padding:30px;
	display: flex;
	justify-content: space-between;	
	margin: 0 0 30px;
    align-items: center;	
	position: relative;
}
footer .row .newsletter > * {
    width: initial;
}
footer .row .newsletter .bloc-news h2{
	color: var(--color-vert);
}
footer .row .newsletter .bloc-news p{
	color: var(--color-primary);
    margin-top: 1em;	
}
footer .row .newsletter:after{
	content: var(--pattern-classic);
    position: absolute;
    right: 25px;
    bottom: 12px;
}
footer .row .newsletter .btn-news{
    position: relative;
    z-index: 1;
}
footer .row .newsletter .bloc-news{
    padding-left:0;
}
footer .row.footer{
	justify-content: space-between;	
}
footer .row.footer *{
	width: inherit;
}
footer .row.footer div > p:first-of-type{
	margin-top: 0;
}
footer .row.footer div > .btn{
	margin-top: 0.5em;
}
footer .bloc-logo img{
	max-width: 240px;
}
.mbp {
    text-align: center;
}
.mbp p,
.mbp a {
	color: var(--color-primary);
	font-size: 14px;
    margin: .5em 0 0;
}
.mbp a:hover {
  color: var(--color-gray);
}
/* POPUP NEWSLETTER */
.newsglobe .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}
.newsglobe .popup {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.newsglobe .close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newsglobe .content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.newsglobe .content .gform-footer{
    display: flex;
    justify-content: center;
}
#gform_submit_button_4{
	color: var(--color-white);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    border-radius: 8px;
    display: block;
    position: relative;
    width: 100%;
    max-width: max-content;
    transition: background-color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: 2px solid;
    cursor: pointer;
    border-color: var(--color-vert);
    background: var(--color-vert);	
}
#gform_submit_button_4:hover {
    color: var(--color-white);
    background: var(--color-primary);
    border-color: var(--color-primary);
}
#gform_4 .gfield_required{
	display: none;
}
body .fieldsobligatoire em {
    font-size: 12px;
}
#field_4_7{
	text-align: center;
}
.gform-theme--foundation #gform_4 .gform_fields {
    row-gap: 16px;
}
.gform-theme--foundation #gform_4 input {
	border-radius: 8px;
}
.gform-theme--foundation #gform_4{
	margin-top:2em;
}
/* Style pour le body quand il est figé */
body[style*="position: fixed"] {
    overflow-y: scroll; /* Évite le saut de la page */
}
/* FOOTER RESPONSIVE */
@media screen and (max-width: 1199px) {
footer .row .newsletter .btn-news {
    width: 100%;
    max-width: 300px;
}
}
@media screen and (min-width: 801px) and (max-width: 1199px) {
}
@media screen and (min-width: 1024px) {
footer .row.newsglobe{
    padding-left: 12px;
    padding-right: 12px;
}	
}	
@media screen and (min-width: 801px) and (max-width: 1023px) {
footer .row.newsglobe{
    padding-left: 8px;
    padding-right: 8px;
}	
footer .row.newsglobe .newsletter{
	padding:20px;
	margin:0 0 20px;
}
#blog .btn-primary {
    margin: 20px auto 0;
}
}	
@media screen and (min-width: 601px) and (max-width: 1023px) {
footer .row.footer > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
}	
@media screen and (min-width: 801px) {
footer .row .newsletter .bloc-news p {
    padding-right: 1em;
}	
}
@media screen and (max-width: 800px) {
footer .row.newsglobe .newsletter {
    flex-direction: column;
    text-align: center;
}	
footer .row .newsletter .bloc-news p {
    margin: .5em 0;
}
footer .row.newsglobe .newsletter {
    padding: 20px;
}
footer .row.newsglobe .btn-popup-newsletter .btn{
    margin:.5em auto 0;
}
}
@media screen and (min-width: 481px) and (max-width: 860px) {
footer .row.newsglobe .newsletter {
    padding: 30px 20px;
}	
}
@media screen and (min-width: 481px) and (max-width: 800px) {
}
@media screen and (max-width: 600px) {
.mbp p,
.mbp a {
    font-size: 12px;
    padding-bottom: 5px;
} 
footer .row .newsletter:after {
    content: '';
}
footer .row.footer {
    justify-content: center;
    display: flex;
    gap: 16px;
    align-content: center;
    align-items: center;
    flex-direction: column;
}
footer .row.footer * {
    text-align: center;
}	
footer .row.footer div > .btn {
    margin-top: 0;
}
footer .row.footer .menu-rs {
    margin-bottom: 0.5em;
    margin-top: .5em;
}
footer > div > div.row.footer > div.bloc-coordonnees > div > p:nth-child(2){
    margin: 0 auto;
}
footer .container {
    margin-bottom: 1em;
	padding:20px 12px 12px;
}
footer {
    padding-top: 10px;
}
}

/* Réseaux sociaux */
.menu-rs {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	list-style-type: none;
	margin-left:0;
	margin-top: 10px;
}
.menu-rs li {
	margin-left: 10px;
}
.menu-rs a{
    display: flex;
}
.menu-rs li:first-of-type {
	margin: 0;
}
footer .row.footer .sprites, .sprites, footer .row.footer .sprites:hover, .sprites:hover {
	width: 32px;
	height: 32px;
	display: inline-block;
}
.sprites {
	background: url(/wp-content/themes/archipel/images/sprites.svg) no-repeat center center;
}
.sprites:hover {
  background: url(/wp-content/themes/archipel/images/sprites-hover.svg) no-repeat center center;
}
.rs-linkedin,
.rs-linkedin:hover {
	background-position: 0 0;
}
.rs-facebook,
.rs-facebook:hover {
	background-position: -42px 0;
}
.rs-instagram,
.rs-instagram:hover {
	background-position: -84px 0;
}

/* Section Nos professionnels */
.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
}
#term-posts .row{
	background: var(--color-gray-light);
    border-radius: 12px;
    padding: 30px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    margin: 0 12px;	
}
#term-posts .card-activity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	padding: 0;
	row-gap: 24px;
}
#term-posts .card-activity .info-article a {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#term-posts.professionnels-preview .card-activity .info-article p {
    text-align: center;
}
#term-posts .card-activity .info-article p {
    margin: 0;
}
#term-posts .card-activity .bloc-4,
#term-posts .card-activity .presentation-term{
    padding-left: 12px;
    padding-right: 12px;
}
#term-posts .info-article{
    padding: 1em;
    background: #ffff;
    border-radius: 0 0 8px 8px;
}
#term-posts .professionnel .bloc-img {
    padding: 1em 1em 0;
    background: #ffff;
    border-radius: 8px 8px 0 0;
}
#term-posts .professionnel .bloc-article .image-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: auto;
	display: block
}
#term-posts .professionnel .bloc-article h4, #term-posts .professionnel .bloc-article p.specialite {
    text-align: center;
}
.pro-header h2, .pro-header p{
    text-align: center;
}
.pro-header p{
    max-width: 880px;
	margin-bottom: 0;
}
.pro-button .btn{
    margin:auto;
}
#term-posts.professionnels-preview .container {
    display: flex;
    gap: 24px;
    flex-direction: column;
}	


@media screen and (min-width: 1140px) {	
#term-posts.composant-pro .card-activity .bloc-4:last-of-type{
	display: none;
}
#term-posts.composant-pro .card-activity .bloc-4 .bloc-article{
    height: 100%;
    background: #fff;
    border-radius: 8px;
}	
}
@media screen and (max-width: 1139px) {	
#term-posts.composant-pro .card-activity .bloc-4 .bloc-article{
    height: 100%;
    background: #fff;
    border-radius: 8px;
}	
} 
@media screen and (min-width: 1024px) and (max-width: 1199px) {	
#term-posts .row {
    padding: 24px 12px;
    margin: 0 12px;
}
} 
@media screen and (min-width: 801px) and (max-width: 1023px) {	
#term-posts.professionnels-preview .container {
    gap: 16px;
}	
#term-posts .card-activity {
    row-gap: 16px;
}	
#term-posts .card-activity .bloc-4, #term-posts .card-activity .presentation-term {
    padding-left: 8px;
    padding-right: 8px; 
}
#term-posts .row {
    padding: 20px 10px;
    margin: 0 8px;
}
} 
@media screen and (min-width: 700px) and (max-width: 1139px) {	
#term-posts.composant-pro .card-activity .bloc-4{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}
} 
@media screen and (max-width: 699px) {	
#term-posts.composant-pro .card-activity .bloc-4{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
} 
@media screen and (max-width: 800px) {	
#term-posts .row {
    padding: 24px 12px;
    margin: 0;
}
} 
@media screen and (max-width: 480px) {	
.section-header {
    padding: 0 12px;
}	
#term-posts .info-article {
    padding: .5em;
}
#term-posts .professionnel .bloc-img{
        padding: .5em .5em 0;
}	
#term-posts .card-activity .bloc-4, #term-posts .card-activity .presentation-term {
    padding-left: 6px;
    padding-right: 6px;
}	
#term-posts .row {
    padding: 16px 6px;
}	
#term-posts.professionnels-preview .container {
    gap: 16px;
	padding:20px 12px;
}	
#term-posts .card-activity {
    row-gap: 12px;
}	
} 
@media only screen and (min-width: 360px) and (max-width: 432px) {
#term-posts .professionnel .bloc-article h4 {
    font-size: 16px;
}	
#term-posts .professionnel .bloc-article p.specialite {
    font-size: 13px;
}		
}
@media only screen and (max-width: 432px) {
#term-posts .professionnel .bloc-article h4 {
    height: 38px;
    display: flex;
    align-items: center;
	justify-content: center;
}
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    gap: 10px;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    border: none;
}
.pagination .page-numbers:hover {
    background-color: #000;
    color: #ffffff;
}
.pagination .page-numbers.current {
    background-color: #000;
    color: #ffffff;
}
.pagination a.disabled {
    pointer-events: none;
    opacity: 0.5;
}
.pagination .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #000;
    font-weight: bold;
}
/* Pagination AJAX */
.ajax-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    gap: 10px;
	width:100%;
}
.ajax-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    background: none;
    cursor: pointer;
    padding: 0;
}
.ajax-pagination .prev,
.ajax-pagination .next {
    border: none;
}
.ajax-pagination .page-numbers:hover {
    background-color: #000;
    color: #ffffff;
}
.ajax-pagination .page-numbers.current {
    background-color: #000;
    color: #ffffff;
}
.ajax-pagination button:disabled {
    pointer-events: none;
    opacity: 0.5;
}

#globe.sitemap .container{
	border-radius: 0;
}
#globe.sitemap #other_page .container{
	border-radius: 0 0 12px 12px;
}
@media screen and (max-width:800px) {
.ajax-pagination {
    margin: 10px auto 0;
}
}

/* BACK TO TOP */
#backtop {
    display: inline-block;
    background-color:var(--color-primary);
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 0;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index:98;
	border-radius: 8px;
    box-shadow: -1px 1px 5px #00000029;
}
#backtop svg {
    position: absolute;
    top: 50%;
    right: -50%; 
    width: 100%;
    height: 50%;
    transform: translate(-50%,-50%);
}
#backtop:hover {
	cursor: pointer;
	background-color: var(--color-secondary);
}
#backtop:active {
	background-color: #555;
}
#backtop.show {
	opacity: 1;
	visibility: visible;
}
@media (min-width: 1200px) {
#backtop {
	margin: 30px;
}
}
@media (min-width: 1025px) {
#backtop {
    width: 50px;
    height: 50px;
}
#backtop::after {
	font-size: 2em;
	line-height: 50px;
}
}
@media (max-width: 1024px) {
#backtop {
    width: 40px;
    height: 40px;
}
#backtop::after {
	font-size: 1.5em;
	line-height: 40px;
}
}
@media (max-width: 480px) {
#backtop {
    bottom: 1em;
    right: 1em;
}
}