/*
Theme Name:     ebApp Child
Theme URI:      https://clickpause.maparenthese-nantes.com
Description:    Digisante Webapp child theme.
Author:         Digisanté
Author URI:     https://www.digisante.fr
Template:       digisante
Version:        0.1.0
*/

/* Couleurs Ma Parenthèse :
Blanc : #ffffff 
Noir : #000000 
Rose : #D7347B 
Rose clair : #f7d6e5 
Gris : #1e1e33
Gris clair : #797676
Bleu : #213D70
Bleu clair : #f4f4f6
*/

/* FONT FAMILY */

@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Regular.ttf'); font-weight: 100; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Regular.ttf'); font-weight: 200; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Regular.ttf'); font-weight: 300; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Regular.ttf'); font-weight: 400; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Regular.ttf'); font-weight: normal; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Bold.ttf'); font-weight: 600; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Bold.ttf'); font-weight: 700; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Bold.ttf'); font-weight: 800; font-style: normal; }
@font-face { font-family: Spartan; src: url('inc/fonts/Spartan-Bold.ttf'); font-weight: 900; font-style: normal; }

body { font-family: Spartan, sans-serif; color: #1e1e33; font-size: 1em !important; } 

/* TITRES */
h1, h2, h3, h4, h5 { font-family: Spartan, sans-serif; font-weight: 700 !important; }
h1 { color: #213D70; }

/* H1, H2, H3 et H4 */
h1, .tribe-common h1 { font-size: 1.75rem !important; }
h2, .tribe-common h2 { font-size: 1.5rem !important; }
h3, .tribe-common h3, .tribe-events-c-breadcrumbs__list * { font-size: 1.25rem !important; }
h4, .tribe-common h4 { font-size: 1rem !important;  }

/* FONT COLORS */
.font-blanc, .font-blanc a, .font-hover-blanc:hover, .font-hover-blanc:hover > a, .placeholder-blanc::placeholder, .placeholder-blanc ::placeholder { color: #ffffff !important; }
.font-noir, .font-noir a, .font-hover-noir:hover, .font-hover-noir:hover > a, .placeholder-noir::placeholder, .placeholder-noir ::placeholder { color: #000000 !important; }
.font-rose, .font-rose a, .font-hover-rose:hover, .font-hover-rose:hover > a, .placeholder-rose::placeholder, .placeholder-rose ::placeholder { color: #D7347B !important; }
.font-roseclair, .font-roseclair a, .font-hover-roseclair:hover, .font-hover-roseclair:hover > a, .placeholder-roseclair::placeholder, .placeholder-roseclair ::placeholder { color: #f7d6e5 !important; }
.font-gris, .font-gris a, .font-hover-gris:hover, .font-hover-gris:hover > a, .placeholder-gris::placeholder, .placeholder-gris ::placeholder { color: #1e1e33 !important; }
.font-grisclair, .font-grisclair a, .font-hover-grisclair:hover, .font-hover-grisclair:hover > a, .placeholder-grisclair::placeholder, .placeholder-grisclair ::placeholder { color: #797676 !important; }
.font-bleu, .font-bleu a, .font-hover-bleu:hover, .font-hover-bleu:hover > a, .placeholder-bleu::placeholder, .placeholder-bleu ::placeholder { color: #213D70 !important; }
.font-bleuclair, .font-bleuclair a, .font-hover-bleuclair:hover, .font-hover-bleuclair:hover > a, .placeholder-bleuclair::placeholder, .placeholder-bleuclair ::placeholder { color: #f4f4f6 !important; }
@media (min-width: 992px) {
	.font-lg-blanc a { color: #ffffff !important; }
	.font-lg-noir a { color: #000000 !important; }
	.font-lg-rose a { color: #D7347B !important; }
	.font-lg-roseclair a { color: #f7d6e5 !important; }
	.font-lg-gris a { color: #1e1e33 !important; }
	.font-lg-grisclair a { color: #797676 !important; }
	.font-lg-bleu a { color: #213D70 !important; }
	.font-lg-bleuclair a { color: #f4f4f6 !important; }
}

/* LINKS COLORS */
.link-blanc a, .link-hover-blanc a, .link-blanc a:hover { color: #ffffff !important; text-decoration: underline ; }
.link-noir a, .link-hover-noir a, .link-noir a:hover { color: #000000 !important; text-decoration: underline ; }
.link-rose a, .link-hover-rose a, .link-rose a:hover { color: #D7347B !important; text-decoration: underline ; }
.link-roseclair a, .link-hover-roseclair a, .link-roseclair a:hover { color: #f7d6e5 !important; text-decoration: underline ; }
.link-gris a, .link-hover-gris a, .link-gris a:hover { color: #1e1e33 !important; text-decoration: underline ; }
.link-grisclair a, .link-hover-grisclair a, .link-grisclair a:hover { color: #797676 !important; text-decoration: underline ; }
.link-bleu a, .link-hover-bleu a, .link-bleu a:hover { color: #213D70 !important; text-decoration: underline ; }
.link-bleuclair a, .link-hover-bleuclair a, .link-bleuclair a:hover { color: #f4f4f6 !important; text-decoration: underline ; }

/* BACKGROUND COLORS */
.bg-blanc, .bg-hover-blanc:hover { background-color: #ffffff !important; }
.bg-noir, .bg-hover-noir:hover { background-color: #000000 !important; }
.bg-rose, .bg-hover-rose:hover { background-color: #D7347B !important; }
.bg-roseclair, .bg-hover-roseclair:hover { background-color: #f7d6e5 !important; }
.bg-gris, .bg-hover-gris:hover { background-color: #1e1e33 !important; }
.bg-grisclair, .bg-hover-grisclair:hover { background-color: #797676 !important; }
.bg-bleu, .bg-hover-bleu:hover { background-color: #213D70 !important; }
.bg-bleuclair, .bg-hover-bleuclair:hover { background-color: #f4f4f6 !important; }
@media (min-width: 992px) {
	.bg-lg-blanc { background-color: #ffffff !important; }
	.bg-lg-noir { background-color: #000000 !important; }
	.bg-lg-rose { background-color: #D7347B !important; }
	.bg-lg-roseclair { background-color: #f7d6e5 !important; }
	.bg-lg-gris { background-color: #1e1e33 !important; }
	.bg-lg-grisclair { background-color: #797676 !important; }
	.bg-lg-bleu { background-color: #213D70 !important; }
	.bg-lg-bleuclair { background-color: #f4f4f6 !important; }
}

/* BORDER COLORS */
.border-blanc, .border-hover-blanc:hover { border-color: #ffffff !important; }
.border-noir, .border-hover-noir:hover { border-color: #000000 !important; }
.border-rose, .border-hover-rose:hover { border-color: #D7347B !important; }
.border-roseclair, .border-hover-roseclair:hover { border-color: #f7d6e5 !important; }
.border-gris, .border-hover-gris:hover { border-color: #1e1e33 !important; }
.border-grisclair, .border-hover-grisclair:hover { border-color: #797676 !important; }
.border-bleu, .border-hover-bleu:hover { border-color: #213D70 !important; }
.border-bleuclair, .border-hover-bleuclair:hover { border-color: #f4f4f6 !important; }

/* PICTO COLORS (SVG) */
.picto-blanc, .picto-blanc path { fill: #ffffff !important; stroke: #ffffff !important; }
.picto-noir, .picto-noir path { fill: #000000 !important; }
.picto-rose, .picto-rose path { fill: #D7347B !important; }
.picto-roseclair, .picto-roseclair path { fill: #f7d6e5 !important; }
.picto-gris, .picto-gris path { fill: #1e1e33 !important; }
.picto-grisclair, .picto-grisclair path { fill: #797676 !important; }
.picto-bleu, .picto-bleu path { fill: #213D70 !important; }
.picto-bleuclair, .picto-bleuclair path { fill: #f4f4f6 !important; }

/* FOOTER: COOKIES */
.cli-tab-footer .cli-btn, .cli-switch input:checked + .cli-slider { background-color: #213D70 !important; }

/* PAGINATION */
ul.page-numbers li a, ul.page-numbers li span, a.page-numbers, span.page-numbers { border: 2px solid #213D70; color: #213D70; }
ul.page-numbers li a:hover, ul.page-numbers li span, span.page-numbers.current { color: #ffffff !important; background-color: #213D70!important; border-color: #213D70!important; }

/* FIX BOLD TO MEDUIM */
strong, b {font-weight: 600!important;}

/* FOOTER: ACCESSIBILITY */
#a42-ac-button {color: #D7347B;}

/* FIX POPUP ACCESSIBILITY */
#a42-ac { max-width: 100vw!important;}
#a42-ac h1 { color: #213D70 !important; }
#a42-ac legend { color: #1e1e33 !important; }
#a42-ac input[type="radio"] + label { color: #1e1e33 !important; }
#a42-ac fieldset { border-color: #213D70!important; background-color: #f4f4f6!important; }
#a42-ac input[type="radio"]:checked + label::before, #a42-ac input[type="radio"] + label::after { border-color: #213D70!important; }
#a42-ac input[type="radio"] + label::before { border-color: #1e1e33!important; background-color: #fff!important; }
#a42-ac input[type="radio"] + label::after { background-color: #213D70!important; }
#a42-ac-close::after {  content: '\f00d'!important;  font-family: "Font Awesome 5 Pro"!important;  background: white!important; color: #213D70!important; }

/* DISPLAY CONNEXION */
.logged-in .displaydisconnect { display: none!important; }
.logged-in .displayconnect { display: block!important; }

body:not(.logged-in) .displaydisconnect { display: block!important; }
body:not(.logged-in) .displayconnect { display: none!important; }

/*FIX PLUGIN ACCESSIBILITY*/
.a42-ac-inv-contrast,
.a42-ac-inv-contrast a,
.a42-ac-inv-contrast a:hover,
.a42-ac-inv-contrast *{
  background-color: #000080 !important;
  color: #FFFF00 !important;
}

.a42-ac-high-contrast,
.a42-ac-high-contrast a,
.a42-ac-high-contrast a:hover,
.a42-ac-high-contrast *{
  background-color: #343643 !important;
  color: white !important;
}