/*
Theme Name:     Digisante-child
Theme URI:
Description:    Digisante child theme.
Author:         Digisanté
Author URI:     https://www.digisante.fr
Template:       digisante
Version:        0.1.0
*/

/* Couleurs CPTS des Vallées de l'Anjou Bleu :
Blanc : #ffffff 
Bleu noir : #000026 
Bleu : #32B0BE 
Bleu transparent : #D6EFF2 
Bleu cobalt : #262A5A
Rose : #E41649
*/

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

@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: #000026; font-size: 1em !important; }
.font-bold  { font-weight: 700 !important; }

/* TITRES */
h1, h2, h3, h4, h5 { font-family: Quicksand, sans-serif; font-weight: 700 !important; }

/* H1, H2, H3 et H4 */
h1 { font-size: 2.5rem !important; }
h2 { font-size: 1.9rem !important; }
h3 { font-size: 1.5rem !important; }
h4 { font-size: 1rem !important;  }
.titrehome { font-size: 1.9rem !important;  }
.btn { font-weight: 700 !important; }
#menu-menu-principal li a { 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-bleunoir, .font-bleunoir a, .font-hover-bleunoir:hover, .font-hover-bleunoir:hover > a, .placeholder-bleunoir::placeholder, .placeholder-bleunoir ::placeholder { color: #000026 !important; }
.font-bleu, .font-bleu a, .font-hover-bleu:hover, .font-hover-bleu:hover > a, .placeholder-bleu::placeholder, .placeholder-bleu ::placeholder { color: #32B0BE !important; }
.font-bleutransparent, .font-bleutransparent a, .font-hover-bleutransparent:hover, .font-hover-bleutransparent:hover > a, .placeholder-bleutransparent::placeholder, .placeholder-bleutransparent ::placeholder { color: #D6EFF2 !important; }
.font-bleucobalt, .font-bleucobalt a, .font-hover-bleucobalt:hover, .font-hover-bleucobalt:hover > a, .placeholder-bleucobalt::placeholder, .placeholder-bleucobalt ::placeholder { color: #262A5A !important; }
.font-rose, .font-rose a, .font-hover-rose:hover, .font-hover-rose:hover > a, .placeholder-rose::placeholder, .placeholder-rose ::placeholder { color: #E41649 !important; }
@media (min-width: 992px) {
	.font-lg-blanc a { color: #ffffff !important; }
	.font-lg-bleunoir a { color: #000026 !important; }
	.font-lg-bleu a { color: #32B0BE !important; }
	.font-lg-bleutransparent a { color: #D6EFF2 !important; }
	.font-lg-bleucobalt a { color: #262A5A !important; }
	.font-lg-rose a { color: #E41649 !important; }
}

/* LINKS COLORS */
.link-blanc a, .link-hover-blanc a, .link-blanc a:hover { color: #ffffff !important; text-decoration: underline ; }
.link-bleunoir a, .link-hover-bleunoir a, .link-bleunoir a:hover { color: #000026 !important; text-decoration: underline ; }
.link-bleu a, .link-hover-bleu a, .link-bleu a:hover { color: #32B0BE !important; text-decoration: underline ; }
.link-bleutransparent a, .link-hover-bleutransparent a, .link-bleutransparent a:hover { color: #D6EFF2 !important; text-decoration: underline ; }
.link-bleucobalt a, .link-hover-bleucobalt a, .link-bleucobalt a:hover { color: #262A5A !important; text-decoration: underline ; }
.link-rose a, .link-hover-rose a, .link-rose a:hover { color: #E41649 !important; text-decoration: underline ; }

/* BACKGROUND COLORS */
.bg-blanc, .bg-hover-blanc:hover { background-color: #ffffff !important; }
.bg-bleunoir, .bg-hover-bleunoir:hover { background-color: #000026 !important; }
.bg-bleu, .bg-hover-bleu:hover { background-color: #32B0BE !important; }
.bg-bleutransparent, .bg-hover-bleutransparent:hover { background-color: #D6EFF2 !important; }
.bg-bleucobalt, .bg-hover-bleucobalt:hover { background-color: #262A5A !important; }
.bg-rose, .bg-hover-rose:hover { background-color: #E41649 !important; }
@media (min-width: 992px) {
	.bg-lg-blanc { background-color: #ffffff !important; }
	.bg-lg-bleunoir { background-color: #000026 !important; }
	.bg-lg-bleu { background-color: #32B0BE !important; }
	.bg-lg-bleutransparent { background-color: #D6EFF2 !important; }
	.bg-lg-bleucobalt { background-color: #262A5A !important; }
	.bg-lg-rose { background-color: #E41649 !important; }
}

/* BORDER COLORS */
.border-blanc, .border-hover-blanc:hover { border-color: #ffffff !important; }
.border-bleunoir, .border-hover-bleunoir:hover { border-color: #000026 !important; }
.border-bleu, .border-hover-bleu:hover { border-color: #32B0BE !important; }
.border-bleutransparent, .border-hover-bleutransparent:hover { border-color: #D6EFF2 !important; }
.border-bleucobalt, .border-hover-bleucobalt:hover { border-color: #262A5A !important; }
.border-rose, .border-hover-rose:hover { border-color: #E41649 !important; }

/* PICTO COLORS (SVG) */
.picto-blanc, .picto-blanc path { fill: #ffffff !important; stroke: #ffffff !important; }
.picto-bleunoir, .picto-bleunoir path { fill: #000026 !important; }
.picto-bleu, .picto-bleu path { fill: #32B0BE !important; }
.picto-bleutransparent, .picto-bleutransparent path { fill: #D6EFF2 !important; }
.picto-bleucobalt, .picto-bleucobalt path { fill: #262A5A !important; }
.picto-rose, .picto-rose path { fill: #E41649 !important; }

/* FOOTER: COOKIES */
.cli-tab-footer .cli-btn, .cli-switch input:checked + .cli-slider { background-color: #E41649 !important; }
#cookie-law-info-again {box-shadow: transparent 0px 0px 0px 0px;}

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

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

/* FOOTER: ACCESSIBILITY */
#a42-ac-button {color: #fff; text-decoration: underline;}

/* BORDER SIZE */
.border-0 { border:0px solid !important; }
.border-1 { border:1px solid !important; }
.border-2 { border:2px solid !important; }
.border-3 { border:3px solid !important; }
.border-4 { border:4px solid !important; }
.border-5 { border:5px solid !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; }

/* PROFILE BUILDER */
#pms_login p input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
#wppb-loginform input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
#wppb-edit-user input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
#wppb-register-user input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
#wppb-recover-password input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
#wppb-loginform select,
#wppb-edit-user select,
#wppb-register-user select,
#wppb-recover-password select,
#wppb-loginform textarea,
#wppb-edit-user textarea,
#wppb-register-user textarea,
#wppb-recover-password textarea, input#bp-messages-send
{
	float: none !important;
	-webkit-appearance: none;
	border: none !important;
	resize: none;
	padding: 1rem 1.5rem !important;
	background-color: #d6eff2 !important;
	color: #000026!important;
}
.wppb-form-field.wppb-subscription-plans, .pms-field-section {
  display: flex;
  flex-wrap: wrap;
}

#wppb_register_pre_form_message {text-align: center;}
/* Row */
#pms_recover_password_form,
#pms_login {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
#wppb-loginform,
.login-submit,
.form-submit {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
#pms_login a,
#pms_login p[class^="login-"] {
  position: relative;
  padding-right: 15px;
  padding-left: 15px;
}
#pms_username_email,
#pms_new_password_form input,
#pms_edit-profile-form input:not([type="checkbox"]):not([type="submit"]),
#pms-paygates-wrapper select,
#pms_edit-profile-form select,
#pms_login p[class^="login-"] input:not([type="checkbox"]):not([type="submit"]) {
  float: none !important;
  -webkit-appearance: none;
  border: none;
  background: white;
  padding: 1rem 1.5rem 1rem 1rem;
  resize: none;
}
.pms-form-fields-wrapper li:not(.pms-field-type-heading),
#pms_login a,
#pms_login p.login-username,
#pms_login p.login-password {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .pms-form-fields-wrapper li,
  #pms_login p.login-username,
  #pms_login p.login-password {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

.login-submit,
#wppb-loginform,
#wppb-login-wrap,
#wppb-recover-password li,
.pms-form-fields-wrapper,
#pms_login p.login-remember,
#pms_login p.login-submit {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}
.wppb-alert,
#pms_login a,
#pms_login p.login-submit {
  text-align: center;
}
#pms_login a {
  text-decoration: underline;
}
.pms-form-fields-wrapper li {
  margin-left: auto;
  margin-right: auto;
}
.pms-field label {display: none;}
#pms-renew-subscription-form .chosen-container-single .chosen-single { border-radius: 0px; padding: 1rem !important; height: auto! important; background: #d6eff2 !important; border: none !important; color: #000026!important; text-decoration: none !important;
}
#wppb-register-user .chosen-container-single .chosen-single { padding: 1rem !important; height: auto! important; background:#d6eff2 !important; border: none !important; color: #000026!important; text-decoration: none !important;	
}
#pms-paygates-inner { text-align: center; }
.chosen-container-single .chosen-single div { top: 25% !important; }
.chosen-container { font-size: unset !important; }
.chosen-container .chosen-results li.active-result {width: 100% !important}

/* Cache le bouton de validation de paiement */
#pms-paypal-express-confirmation-form input[type="submit"], .pms-field-type-select_state, .login-remember {
    display: none!important;
}

#pms-renew-subscription-form input[type="text"]{
    float: none !important;
    -webkit-appearance: none!important;
    border: none !important;
    resize: none!important;
    padding: 1rem 1.5rem !important;
    background-color: #d6eff2 !important;
    color: #000026!important;
    box-shadow: 0 rgba(0,0,0,0)!important;
}

.ff-item .ff-img-holder img {
    max-width: 100%;
}

/*Carto*/
.marker-cluster-small div {
    background-color: rgba(50, 176, 190, 0.6)!important;
}
.marker-cluster-small {
    background-color: rgba(50, 176, 190, 0.3)!important;
}



@media (max-width: 1600px) {
    .section_forme { 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;
}