/*
Theme Name: Asso des Maires pour le Civisme
Author: Corentin Stemler
Author URI: https://cos-web.fr
Description: Le thème du site de l'asso des Maires pour le Civisme
Version: 1.0
Text Domain: civisme
*/


/*
*****
Fonts
*****
*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,400;0,700;1,400&display=swap');


/*
*****
Styles de base
*****
*/

html
{
	height: 100%;
}

body
{
	padding: 0;
	margin: 0;
	height: 100%;
   	font-family: 'Libre Baskerville', sans-serif;
   	background: white;
   	color: #4E4E4E;
}

a
{
	color: inherit;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

iframe
{
	max-width: 100%;
}

p
{
	font-size: 15px;
	line-height: 23px;
}

img
{
	display: block;
}


/*
*****
Class courantes
*****
*/

.clear
{
	clear: both;
}

.center
{
	text-align: center!important;
}

img.alignleft
{
	float: left;
	margin: 0 20px 20px 0;
}

img.alignright
{
	float: right;
	margin: 0 0 20px 20px;
}

a[rel="tag"], a[rel="tag"]:hover
{
	cursor: default!important;
	text-decoration: none!important;
}

h1, h2, h3, h4, h5,
.button,
.more
{
	font-family: Montserrat;
}

.page_size
{
	width: 1080px;
	margin: auto;
	box-sizing: border-box;
	max-width: 1400px;
}

.page
{
	padding-top: 90px;
	padding-bottom: 70px;
	box-sizing: border-box;
}

.page h1
{
	color: #1C3F5B;
	text-align: center;
	margin: 30px auto 50px auto;
}

.page_content p
{
	line-height: 30px;
    font-size: 16px;
    max-width: 70%;
    margin: auto;
}

.button,
.woocommerce .account_buttons a.button
{
	display: inline-block;
	padding: 10px;
	font-size: 15px;
	transition: 0.3s;
	cursor: pointer;
	font-weight: bold;
	background-color: white;
	color: #1C3F5B;
	border: 1px solid rgba(255,255,255,0);
}

.button.button_secondary
{
	background: #1C3F5B;
	color: white;
}

.button.button_disabled
{
	cursor: inherit;
	color: #1C3F5B73;
}

.button.button_disabled:hover
{
	color: #1C3F5B73;
	background-color: white;
}

.button.button_video
{
	padding-right: 40px;
	background-image: url('img/icon/play.svg');
	background-repeat: no-repeat;
	background-position: center right 8px;
	background-size: 25px;
}

.button:hover
{
	background-color: #1C3F5B;
	color: white;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,1);
}

.button.button_secondary:hover
{
	background-color: white;
	color: #1C3F5B;
}

.button.button_video:hover
{
	background-image: url('img/icon/play_white.svg');
}

.more,
input[type="submit"],
button[type="submit"],
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce-page ul.products li.product a.button.add_to_cart_button,
.page_content .woocommerce button[type="submit"]
{
	font-size: 15px;
	padding: 12px 20px;
	background: white;
	font-weight: bold;
	color: #1C3F5B;
	cursor: pointer;
	border: 1px solid #1C3F5B;
	transition: 0.3s;
}


.more:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.woocommerce ul.products li.product a.button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product a.button.add_to_cart_button:hover,
.page_content .woocommerce button[type="submit"]:hover
{
	background: #1C3F5B;
	color: white;
	border: 1px solid white;
}

.woocommerce ul.products li.product a img
{
	box-sizing: border-box;
}

address
{
	box-sizing: border-box;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea
{
	border-radius: 0;
	border: 0;
	padding: 10px;
	font-size: 16px;
	padding-left: 35px;
	font-family: inherit;
	width: 100%;
	max-width: 100%;
	min-width: 100%;
}

input[type="email"]
{
	background: url('img/icon/email.svg') center left 7px no-repeat, white;
	background-size: 20px;
}

input[type="tel"]
{
	background: url('img/icon/tel.svg') center left 7px no-repeat, white;
	background-size: 20px;
}

input[type="password"]
{
	background: url('img/icon/key.svg') center left 7px no-repeat, white;
	background-size: 20px;
}

select
{
	padding: 10px;
	font-family: inherit;
	font-size: 18px;
}

.wp-block-image img
{
	height: auto!important;
}

#thealert
{
	position: fixed;
	max-width: 200px;
	bottom: 20px;
	right: 20px;
	z-index: 999;
	border: 1px solid white;
	text-align: center;
	display: none;
}

.big_card
{
	background: #1C3F5B;
	color: white;
	padding: 15px;
	border-radius: 15px;
	text-align: center;
}

.big_card_shop
{
	background: white;
	color: #1C3F5B;
	max-width: 75% !important;
	margin-bottom: 10px !important;
}


/*
*****
Header
*****
*/


#header
{
	padding: 5px 0 20px 0;
	text-align: center;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 990;
	position: fixed;
	background: linear-gradient(to bottom, #1C3F5B 0%, rgba(28,63,91,0) 100%);
}

#header #logo
{
	width: 180px;
	padding: 10px;
}

#header #logo img
{
	max-width: 11%;
	float: left;
	margin-top: 10px;
}

#header ul
{
	padding-left: 0;
	text-align: center;
	display: flex;
	align-items: center;
	width: 89%;
	margin: 20px auto;
	justify-content: space-between;
	/* padding-right: 35px; */
    box-sizing: border-box;
}

#header ul li
{
	list-style: none;
	flex: 1;
}

#header ul li a
{
	font-size: 13px;
	text-decoration: none;
	font-family: Montserrat;
	color: white;
	padding: 3px 0;
	line-height: 20px;
	text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

#header ul li.nav_big a
{
	color: white;
	padding: 6px 4px 6px 25px;
}

#header ul li.nav_users a
{
	background: url('img/icon/user.svg') center left 5px no-repeat, #1C3F5B;
	background-size: 13px;
}

#header ul li.nav_shop a
{
	background: url('img/icon/shop.svg') center left 7px no-repeat, #1C3F5B;
	background-size: 15px;
}

#header ul li.nav_contact a
{
	background: url('img/icon/email_white.svg') center left 7px no-repeat, #1C3F5B;
	background-size: 15px;
}

#header ul li a:hover,
#header ul li.current_page_item a,
#header ul li.current-menu-item a
{
	border-bottom: 3px solid white;
}

#header ul li.nav_big a:hover,
#header ul li.current_page_item.nav_big a,
#header ul li.current-menu-item.nav_big a
{
	border-bottom: 3px solid white;
}

#header .social
{
	position: absolute;
	top: 40%;
	right: 10px;
}

#header_mobile
{
	display: none;
	position: relative;
	z-index: 900;
}

#header_mobile #mobile_logo
{
	height: 80px;
	padding: 10px;
	display: inline-block;
}

#header_mobile #mobile_logo img
{
	height: 100%;
}

#header_mobile .social
{
	position: absolute;
	top: 100px;
    right: 19px;
}

#burger
{
	position: absolute;
	top: 50px;
	right: 20px;
	display: none;
	cursor: pointer;
	width: 35px;
}

#close
{
	position: absolute;
	top: 50px;
	right: 20px;
	display: none;
	cursor: pointer;
	width: 35px;
}


/*
*****
Footer
*****
*/

#footer
{
	padding: 50px 10px;
	background-color: #1C3F5B;
	color: white;
	text-align: center;
}

#footer_social,
#footer_newsletter
{
	display: inline-block;
	vertical-align: top;
	width: 50%;
	padding: 30px;
	box-sizing: border-box;
}

.social a
{
	display: inline-block;
	padding: 0 5px;
	margin: 5px;
}

.social_little a
{
	margin: 5px;
	padding: 0;
	display: block;
	position: relative;
	z-index: 900;
	background: white;
	border-radius: 50%;
}

.social a img
{
	width: 45px;
}

.social_little a img
{
	width: 25px;
	border-radius: 50%;
    border: 1px solid white;
}

#footer_newsletter input[type="email"],
#footer_newsletter input[type="submit"]
{
	display: inline-block;
	min-width: 0;
}

#footer_newsletter input[type="email"]
{
	width: 50%;
	border: 1px solid #4E4E4E;
}

#footer ul
{
	list-style: none;
	padding: 0;
	margin: 50px auto;
	text-align: center;
}

#footer ul li
{
	display: inline-block;
}

#footer ul li a
{
	padding: 15px;
	font-family: Montserrat;
	display: inline-block;
}


/*
*****
Full section
*****
*/

.full_section
{
	background-position: center;
	background-size: cover;
	color: white;
  	position: relative;
  	min-height: 100vh;
  	box-sizing: border-box;
}

.both_cont
{
  	display: flex;
}

.both_cont .full_section_img img
{
	height: 100%;
	width: auto;
}

.not_full
{
	min-height: 0;
}

.not_full .full_section_img img
{
	height: 100%;
}

.full_section.page
{
   	color: #4E4E4E;
   	text-align: justify;
}

.full_section.page p
{
	max-width: 70%;
	margin: auto;
}

.full_section_caption
{
	position: relative;
	top: 50vh;
	font-family: Montserrat;
  	transform: translateY(-50%);
}

.full_section_caption h1
{
	font-size: 40px;
	margin-bottom: 10px;
	font-weight: normal;
	margin-bottom: 30px;
}

#main_logo
{
	width: 250px;
	margin: auto;
}

.full_section h2
{
	font-size: 27px;
	line-height: 35px;
}

.full_section_caption strong
{
	font-weight: normal;
	margin-top: 10px;
	font-size: 25px;
}

.full_video video
{
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
  	transition: 1s opacity;
}

.full_section_iframe
{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

.full_section_iframe iframe
{
	height: 100%;
}

.full_section_iframe .close_player
{
	position: absolute;
	top: 70px;
	right: 15px;
	cursor: pointer;
	width: 30px;
}

.full_section .full_section_img,
.full_section .full_section_content
{
	display: inline-block;
	vertical-align: middle;
	width: 50%;
	min-height: 100%;
	box-sizing: border-box;
}

.full_section .full_section_content.content_no_padding
{
	padding: 0;
}

.full_section .full_section_img
{
	overflow: hidden;
	height: auto;
	position: relative;
}

.full_section_img::before
{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*background: rgba(240, 239, 223, 0.4);*/
	z-index: 100;
}

.full_section_img.no_over::before
{
	display: none;
}

.full_section_img img
{
	width: auto;
	height: 100vh;
	position: relative;
	left: 50%;
  	transform: translateX(-50%);
}

.full_section.silhouettes
{
	background: url('img/silhouettes2.png') top center no-repeat;
	background-size: contain;
	background-attachment: fixed;
}

.full_section .full_section_content
{
	font-size: 14px;
	line-height: 25px;
	padding: 10%;
}

.full_single
{
	padding: 60px 0;
}

.little_single
{
	padding: 20px 0;
}

.full_texte .full_section_content
{
	text-align: justify;
	padding: 5%;
}

.full_texte_court
{
	max-width: 100%;
	width: 450px;
	margin: auto;
	text-align: justify;
}

.full_mobile
{
	display: none!important;
}


/*
*****
Color
*****
*/

.color_beige
{
	background-color: #F0EFDF!important;
}

.color_jaune
{
	background-color: #eadc5d!important;
}

.color_bleu
{
	background-color: #d02121!important;
}

.color_beige .full_section_content,
.color_beige .partenaire_defini_texte,
.color_jaune .full_section_content,
.color_jaune .partenaire_defini_texte,
.color_jaune .full_texte_court
{
	color: #4E4E4E;
}

.color_beige h1,
.color_beige h2,
.color_beige h3,
.color_jaune h1,
.color_jaune h2,
.color_jaune h3
{
	color: #1C3F5B;
}

.color_bleu,
.color_bleu h1
{
	color: white;
}



/*
*****
Actualités
*****
*/

.actualite
{
	padding: 20px 0;
}

.actualite img
{
	width: 350px;
	max-width: 40%;
	padding: 0 5%;
	display: inline-block;
	vertical-align: middle;
}

.actualite .actualite_content
{
	width: 400px;
	max-width: 55%;
	padding: 0 5% 0 0;
	display: inline-block;
	vertical-align: middle;
	text-align: justify;
}



/*
*****
Témoignages
*****
*/

#temoignages
{
	display: flex;
	flex-wrap: wrap;
	color: white;
}

.temoignage
{
	display: block;
	flex: 25%;
	max-width: 25%;
	position: relative;
	min-height: 250px;
}

.temoignage_image
{
	top: 0;
	left: 0;
}

.temoignage_image img
{
	width: 100%;
  	margin: auto;
}

.temoignage .temoignage_texte h3
{
	color: white;
}

.temoignage_texte
{
	display: none;
	padding: 8px;
	font-size: 14px;
}


/*
*****
Fondamentaux
*****
*/

#fondamentaux
{
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: space-between;
}

.fonda_unit
{
	flex: 25%;
	max-width: 25%;
	padding: 15px 40px;
	box-sizing: border-box;
}

.fonda_unit h3
{
	border-top: 4px solid white;
	border-bottom: 4px solid white;
	padding: 5px 0;
	font-weight: normal;
	transition: .3s;
	cursor: default;
}

.fonda_unit h3 strong
{
	font-weight: bold;
}

.fonda_unit a
{
	display: block;
}

.fonda_unit a:hover
{
	text-decoration: none;
}

.fonda_unit h3:hover
{
	color: #1C3F5B;
	background: white;
}

.fonda_image img
{
	width: 100%;
}



/*
*****
Partenaires
*****
*/

#partenaires
{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.partenaire,
#partenaires h3
{
	flex: 120px;
	padding: 40px;
}

.partenaire img
{
	max-width: 100%;
	max-height: 80px;
	margin: auto;
}



/*
*****
Medias
*****


#medias
{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.media
{
	display: block;
	flex: 30%;
	margin: 50px 15px;
	padding: 15px;
	box-sizing: border-box;
	background: white;
   	color: #4E4E4E;
}

.media_image
{
	min-height: 120px;
	text-align: center;
}

.media img
{
	width: 80%;
	position: relative;
  	transform: translateY(-50%);
  	margin: auto;
}

.media p
{
	margin-top: -50px;
}

.media .button
{
	margin-top: 20px;
}*/



/*
*****
Carte
*****
*/

.pre_legende,
.legende_carte
{
	min-height: 40vh;
	padding: 30px 30px 30px;
	box-sizing: border-box;
	margin: 0;
	position: relative;
}

.legende_carte
{
	background: #E06262;
	min-height: 60vh;
}

.picto_carte
{
	position: absolute!important;
	width: 10px!important;
    height: auto!important;
    cursor: pointer;
    padding: 2px;
    border: 1px solid white;
    border-radius: 20px;
	transition: 0.3s;
	background: #1C3F5B;
  	transform: translateX(-50%) translateY(-50%)!important;
}

.picto_carte:hover,
.picto_carte.active
{
	background: #E06262;
}

.commune_carte,
.dep_carte
{
	display: none;
}

.commune_carte img
{
	width: 90px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.commune_maire
{
    display: inline-block;
    vertical-align: middle;
}

.lien_commune
{
	cursor: pointer;
	text-decoration: underline;
	cursor: pointer;
	transition: 0.2s;
	padding: 2px;
}

.lien_commune:hover
{
	color: #1C3F5B;
}

.commune_back
{
	display: inline-block;
	cursor: pointer;
	padding: 5px;
	padding-left: 30px;
	background-image: url('img/icon/left.svg');
	background-repeat: no-repeat;
	background-position: left 6px;
    background-size: 22px;
    opacity: 0.8;
}

#carte_france_cont #the_carte
{
	width: 100%!important;
	height: auto!important;
}

#flux_video .unit_video
{
	display: inline-block;
	width: 48%;
	box-sizing: border-box;
	margin-bottom: 44px;
}

#flux_video .unit_video:nth-child(2n+3)
{
	margin-left: 4%;
}

#flux_video .unit_video iframe
{
	width: 100%;
}

#flux_video .unit_video:first-child
{
	display: block;
	margin-left: 0;
	width: 100%;
}


/*
*****
Portraits
*****
*/

.portraits
{
	display: flex;
	flex-wrap: wrap;
	background-color: #1C3F5B!important;
	color: white;
	justify-content: space-evenly;
}

.portrait
{
	display: block;
	flex: 33.333333%;
	max-width: 33.3333%;
	position: relative;
	min-height: 55vh;
}

.portraits_little .portrait
{
	min-height: 36vh;
}

.portraits_little .portrait
{
	flex: 14.28%;
	max-width: 14.28%;
}

.portrait_image
{
	width: 100%;
	height: 55vh;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
}

.portraits_little .portrait_image
{
	height: 45vh;
}

.portrait_image img
{
	width: 100%;
	position: relative;
	left: 50%;
  	transform: translateX(-50%);
  	margin: auto;
}

.portrait .portrait_texte h3
{
	color: white;
}

.portrait_texte
{
	display: none;
	padding: 8px;
	font-size: 14px;
}

.portraits_little .portrait_texte *
{
	font-size: 12px;
}


/*
*****
Petites images
*****
*/

.petites_images
{
	display: flex;
	flex-wrap: wrap;
}

.petite_image
{
	display: block;
	flex: 20%;
	max-width: 20%;
	overflow: hidden;
}

.petite_image img
{
	width: 100%;
	height: 100%;
	position: relative;
	left: 50%;
  	transform: translateX(-50%);
  	margin: auto;
  	object-fit: cover;
}


/*
*****
Fichiers
*****
*/

#fichiers
{
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: space-between;
}

.fichier_unit
{
	flex-basis: 33.333333%;
	/*flex: 23%;
	max-width: 23%;
	padding: 15px;*/
	box-sizing: border-box;
	text-align: center;	
}

.fichier_unit h3
{
	padding: 5px 0;
	min-height: 50px;
	text-align: center;
}

.fichier_unit a
{
	display: block;
	text-align: center;
}

.fichier_unit a:hover
{
	text-decoration: none;
}

.fichier_unit .fichier_unit_illustration
{
	position: relative;
	cursor: pointer;
}

.fichier_unit .fichier_unit_illustration::before
{
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
}

.fichier_unit .fichier_unit_illustration:hover::before
{
	background: rgba(255,255,255,0.3);
}

.fichier_unit .fichier_unit_illustration_img
{
	width: 100%;
	height: auto!important;
}

.fichier_unit_illustration .fichier_unit_icon
{
	position: absolute;
	top: 50%;
	right: 10%;
  	/* transform: translateY(-50%); */
	width: 35px!important;
	background-color: #eadb67;
}

.fichier_unit .fichier_unit_icon
{
	width: 50px;
	margin: 10px auto;
	transition: 0.3s;
	border-radius: 50%;
	cursor: pointer;
}

.fichier_unit a:hover .fichier_unit_icon
{
	background: #eadc5d;
	transform: rotate(-30deg);
}

/*
*****
Passeports
*****
*/

#passeports
{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.passeport
{
	display: block;
	flex: 25%;
	max-width: 18%;
	margin: 50px auto;
	padding: 10px 20px;
	box-sizing: border-box;
	background: white;
   	transition: .3s;
}

.passeport:hover
{
	background: #1C3F5B;
}

.passeport:hover h3
{
	color: white;
}

.passeport a:hover
{
	text-decoration: none;
}

.passeport_image
{
	text-align: center;
}

.passeport_image img
{
	width: 100%;
	height: auto;
}

.passeport h3
{
	text-align: center;
}


/*
*****
BOUTIQUE
*****
*/

.product .woocommerce-product-gallery,
.product .summary
{
	display: inline-block;
	width: 45%;
	vertical-align: top;
	padding: 20px;
	box-sizing: border-box;
	margin-top: 40px;
	text-align: center;
}

.product .woocommerce-product-gallery
{
	background: white;
	border-radius: 15px;
	padding: 15px;
}

.product .woocommerce-product-gallery figure img
{
	width: auto!important;
	height: auto!important;
	max-width: 100%;
	max-height: 300px;
	margin: auto;
	display: block;
}

.product .summary p.price
{
	text-align: center;
}

.product .summary .quantity
{
	display: inline-block;
}

.product .summary input[type="number"]
{
	width: 60px;
	min-width: 0;
	font-size: 18px;
}

.product .summary .product_meta .posted_in
{
	display: none;
}

.product .tagged_as
{
	margin: 15px auto;
	display: inline-block;
	font-style: italic;
}

.product .price
{
	font-size: 20px;
    font-weight: bold;
}

.product_price
{
	text-align: center;
}

.related ul
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.related ul li
{
	flex: 1 0 33%;
	max-width: 28%;
	text-align: center;
	box-sizing: border-box;
}

.related ul li h2
{
	font-size: 15px;
}

.related ul li img
{
	width: 100%!important;
	height: auto!important;
	background: white;
	padding: 20px 10px;
	border-radius: 10px;
}

.related ul li .price
{
	display: block;
}

/* Woocomerce */
.woocommerce-breadcrumb
{
	position: absolute;
	top: 15px;
	left: 30px;
}

.woocommerce-products-header
{
	margin-bottom: 40px;
}

.woocommerce-result-count,
.woocommerce-ordering
{
	display: none;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt
{
	background: #1C3F5B!important;
}

.woocommerce-message
{
	border-top-color: #1C3F5B!important;
}

.woocommerce-message::before
{
	color: #1C3F5B!important;
}

mark
{
	background-color: #1C3F5B!important;
	color: white;
	padding: 2px;
}

.woocommerce-tabs ul.tabs
{
	display: none;
}

a.added_to_cart
{
	display: block;
	text-align: center;
	padding: 8px 12px;
    color: white;
    background: #2d3436;
    border: 0;	
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
}

.wc_payment_method input[type="radio"],
.wc_payment_method label
{
	display: inline-block;
	vertical-align: middle;
}

.about_paypal
{
	margin-left: 10px;
}

.order_profil
{
	padding: 15px;
	background: #eee;
	display: inline-block;
}

.order_profil a
{
	margin-left: 15px;
}

.woocommerce-MyAccount-navigation
{
	display: none;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price
{
	color: #1C3F5B!important;
}

.woocommerce div.product form.cart
{
	text-align: center;
	padding-top: 15px;
}

.woocommerce div.product form.cart div.quantity,
.woocommerce div.product form.cart .button,
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary
{
	float: none!important;
}

.woocommerce ul.products li.product a img
{
	padding: 15px;
    background: white;
    border-radius: 10px;
}

.woocommerce ul.products,
.woocommerce-page ul.products
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product
{
	float: none!important;
	flex: 1 0 25%;
	max-width: 20%;
	text-align: center;
	box-sizing: border-box;
}

.woocommerce-cart-form,
.cart_totals .shop_table,
#order_review,
.woocommerce-table,
.woocommerce-customer-details address
{
	background: white;
}

.woocommerce #coupon_code,
.woocommerce #coupon_code:active
{
	width: 150px;
	min-width: 0;
	border-radius: 5px;
    border: 1px solid #ccc;
}

.woocommerce #order_comments
{
	min-height: 250px;
}

.woocommerce #add_payment_method #payment div.payment_box,
.woocommerce .woocommerce-cart #payment div.payment_box,
.woocommerce .woocommerce-checkout #payment div.payment_box
{
	background-color: #1C3F5B;
    color: white;
    border-radius: 15px;
}

#stripe-card-element
{
	max-width: 350px;
    margin: auto;
    color: black;
}

.wc_payment_method img
{
	display: inline-block;
}

#wc-stripe-cc-form
{
	text-align: center;
}

.woocommerce-SavedPaymentMethods-saveNew
{
	margin: 20px auto!important;
}

.woocommerce p.woocommerce-thankyou-order-received
{
	margin: 20px auto;
	text-align: center;
	font-weight: bold;
}

.woocommerce-order-overview
{
	background: white;
	padding: 15px;
	text-align: center;
	border-radius: 10px;
}

.pswp__bg
{
	background: rgba(0,0,0,.5)!important;
	transition: .3s;
}

.pswp__img
{
	border-radius: 15px;
	padding: 15px;
    background: white;
}

.account_buttons
{
	text-align: center;
}

.account_buttons p
{
	padding: 20px 5px;
}

.medias_sorting
{
	padding: 10px;
	text-align: center;
}

.medias_sorting h2
{
    font-size: 20px;
    text-align: center;
}

.media_sorting_unit
{
	display: inline-block;
}

.media_sorting_unit h3
{
    background: white;
    display: inline-block;
    padding: 5px 8px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 13px;
    margin: 10px 2px;
    transition: .3s;
}

.media_sorting_unit.active h3,
.media_sorting_unit h3:hover
{
    background: #d02121;
    color: white;
}

.media_cat
{
	display: none;
}

.media_cat_first
{
	background: #eadb67!important;
}

.media_cat h3
{
	text-align: center;
}

.media_cat_action
{
	background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.media_cat_action h4
{
	margin-top: 0;
	background: url(img/icon/flag_white.svg) center left 7px no-repeat, #1C3F5B;
	background-size: 20px;
    color: white;
    display: inline-block;
    padding: 6px 8px 6px 40px;
}

.media_cat_action_fichier_cont
{
	display: flex;
	flex-wrap: wrap;
}

.media_cat_action_fichier h5
{
	min-height: 30px;
}

.woocommerce table.my_account_orders
{
	background: white;
}

.buttons_account a.button
{
	padding: 2px 10px;
	margin-bottom: 5px;
}


/*
*****
BPPRESS
*****
*/

.bbpress-wrapper .bbp-breadcrumb
{
	float: none;
	display: inline-block;
    width: 70%;
}

.bbpress-wrapper .bbp-breadcrumb p
{
	font-size: 12px!important;
}

.bbpress-wrapper div.bbp-template-notice.info
{
	border: 1px solid #1C3F5B;
}

.bbpress-wrapper .bbp-topic-description
{
	display: none;
}

.bbp-breadcrumb + .bbp-pagination,
.bbp-template-notice + .bbp-pagination
{
	display: none;
}

.bbpress-wrapper #favorite-toggle
{
	display: none;
}

.bbp-the-content-wrapper + p
{
	display: none;
}

.bbpress-wrapper .div.bbp-submit-wrapper
{
	margin-top: 0;
}

.bbpress-wrapper .bbp-topic-revision-log
{
	display: none;
}

#new_topic_form
{
	display: none;
}

#registerform label[for="user_login"],
#registerform #user_login
{
	display: none;
}

.bbp-search-form
{
	width: 280px;
}

.bbp-search-form #bbp_search,
.bbp-search-form #bbp_search_submit
{
	padding: 5px;
	padding-left: 5px;
	font-size: 13px;
}

.bbp-search-form #bbp_search
{
	min-width: 0;
	max-width: 60%;
	font-size: 13px;
}


/* Partenaires section */

.partenaire_section_logo
{
	max-width: 40%;
	max-height: 70px;
	float: right;
	margin: 20px;
}

.partenaire_defini
{
	display: flex;
	min-height: 45vh;
}

.partenaire_defini:first-child .partenaire_defini_texte
{
	/* padding: 80px 20px; */
}

.partenaire_defini_img
{
	width: 40%;
	background-size: cover;
	background-position: center;
}

.partenaire_defini_texte
{
	width: 60%;
	text-align: justify;
	padding: 20px;
	position: relative;
}

/*
.partenaire_defini_texte img
{
	position: absolute;
	bottom: 15px;
	right: 0;
}
*/

.partenaire_defini_texte h2
{
	text-align: left;
}

.partenaire_defini_texte p
{
	text-align: justify;
}

.ui-autocomplete {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	float: left;
	display: none;
	min-width: 160px;
	padding: 4px 0;
	margin: 0 0 10px 25px;
	list-style: none;
	background-color: #ffffff;
	border-color: #ccc;
	border-color: rgba(0, 0, 0, 0.2);
	border-style: solid;
	border-width: 1px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding;
	background-clip: padding-box;
	*border-right-width: 2px;
	*border-bottom-width: 2px;
	height: 200px;
	overflow-y: scroll;
	overflow-x: hidden;
	font-family: Montserrat;
}

.ui-menu-item {
	padding-left: 17px;
	font-size: 14px;
}

.ui-menu-item-match {
	font-size: 15px;
	font-weight: bold;
}

.ui-menu-item > a.ui-corner-all {
  display: block;
  padding: 3px 15px;
  clear: both;
  font-weight: normal;
  line-height: 18px;
  color: #555555;
  white-space: nowrap;
  text-decoration: none;
}

.ui-state-hover, .ui-state-active {
  color: #ffffff;
  text-decoration: none;
  background-color: #0088cc;
  border-radius: 0px;
	cursor: pointer;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  background-image: none;
	text-decoration: none !important;
}

#search_commune, #search_commune_mobile {
  box-sizing: border-box;
	font-family: Montserrat;
	font-size: 14px;
	height: 36px;
	padding-left: 30px;
	border-radius: 3px;
	border: 2px solid rgb(225, 225, 230);
	width: 100%;
}

.svgWrapper {
  position: absolute;
  top: 8px;
  left: 10px;
	color: #000;
}

.search {
  position: relative;
  top:21px;
  left:15px;
}

.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 10px !important;
}