/*
 Theme Name:   Divi Child Plus
 Theme URI:    /divi-child-plus/
 Description:  A modified child theme of Divi
 Author:       Web Wizards
 Author URI:   https://webwizards.ca/
 Template:     Divi
 Version:      1.2.1
 Tags:         responsive-layout, accessibility-ready
 Text Domain:  divi-child-plus
*/

@import "modified.css";

/* Testing */




/* HEADER FOOTER */
html[lang="fr-CA"] .header-en,
html[lang="fr-CA"] .footer-en {
    display:none;
  } 
html[lang="en-CA"] .header-fr,
html[lang="en-CA"] .footer-fr {
    display:none;
  } 

/* Top Black Bar*/
@media (max-width: 980px) {
  .topbar .et_pb_menu__menu {
    display: flex;
  }

 .topbar .et_mobile_nav_menu {
    display: none;
  }
}

/* Donation Form*/
span.wpforms-image-choices-image {
    max-width: 170px!important;
}
html[lang="fr-CA"] #wpforms-26513-field_18 label, 
html[lang="fr-CA"] #wpforms-26513-field_83 label {
    font-size: 16px !important;
}
#wpforms-26513-field_18 .choice-1 label.wpforms-field-label-inline:after {
    content: "❤";
    padding-left: 10px;
    color: #E91E63;
}
#wpforms-26513-field_83 .choice-1 label.wpforms-field-label-inline:after {
    content: "❤";
    padding-left: 10px;
    color: #E91E63;
}
.wpforms-form button[type=submit], button.wpforms-page-button {
    background-color: #2f6f78 !important;
    border-color: #2f6f78 !important;
    color: #fff !important;
    transition: background 0.3s ease-in-out;
}
 
.wpforms-form button[type=submit]:hover, button.wpforms-page-button:hover {
    background-color: #2f6f78 !important;
}

div.wpforms-container-full input[type=checkbox]:checked:before, div.wpforms-container-full input[type=radio]:checked:before {
border-color: #2f6f78!important;
}
div.wpforms-container-full input[type=radio]:checked:after {
background-color: #2f6f78!important;

}
.et-db #et-boc .et-l .et_pb_module .wpforms-container .wpforms-page-indicator.circles {
    justify-content: space-around!important;
}
.wpforms-page-indicator-page {
    display: flex;
    flex-direction: column;
    align-items: center;
}
html[lang="fr-CA"] #wpforms-26513-field_3-container .wpforms-field-description:nth-of-type(2) {
	display:none;
}
html[lang="fr-CA"] .wpforms-page-indicator-page-1, 
html[lang="fr-CA"] .wpforms-page-indicator-page-2 {
    position: relative !important;
    width: 117px !important;
}
html[lang="fr-CA"]  .wpforms-page-indicator-page-3 {
    position: relative !important; 
	width: 290px !important;
}
html[lang="fr-CA"]  .wpforms-page-indicator-page-1 .wpforms-page-indicator-page-title::after {
    content: "Votre cadeau";
    position: absolute;
    background: #ffffff;
    left: 18%;
	font-size: 11px;
}
html[lang="fr-CA"] .wpforms-page-indicator-page-2 .wpforms-page-indicator-page-title::after {
    content: "Hommage";
    position: absolute;
    background: #ffffff;
    left: 23%;
	font-size: 11px;
}
html[lang="fr-CA"] .wpforms-page-indicator-page-3 .wpforms-page-indicator-page-title::after {
    content: "Informations sur les donateurs et paiement";
    position: absolute;
    background: #ffffff;
    left: 8%;
	font-size: 11px;
}
@media all and (max-width:1400px) {
	.et-db #et-boc .et-l .et_pb_module .wpforms-container .wpforms-page-indicator.circles .wpforms-page-indicator-page {
    margin: 0;
}
	.wpforms-page-indicator.circles {
    flex-direction: column;
    text-align: center;
}
	html[lang="fr-CA"] .wpforms-page-indicator-page-1, 
	html[lang="fr-CA"] .wpforms-page-indicator-page-2 {
    position: relative !important;
    width: 100% !important
}
html[lang="fr-CA"]  .wpforms-page-indicator-page-3 {
    position: relative !important; 
	width: 100% !important;
}
html[lang="fr-CA"]  .wpforms-page-indicator-page-1 .wpforms-page-indicator-page-title::after {
    content: "Votre cadeau";
    position: absolute;
    background: #ffffff;
	left:0;
    width: 100% !important;
}
html[lang="fr-CA"] .wpforms-page-indicator-page-2 .wpforms-page-indicator-page-title::after {
    content: "Hommage";
    position: absolute;
    background: #ffffff;
	left:0;
    width: 100% !important;
}
html[lang="fr-CA"] .wpforms-page-indicator-page-3 .wpforms-page-indicator-page-title::after {
    content: "Informations sur les donateurs et paiement";
    position: absolute;
    background: #ffffff;
	left:0;
    width: 100% !important;
}
}
@media all and (max-width:600px) {
.wpforms-page-indicator.circles {
    text-align: left;
}
html[lang="fr-CA"]  .wpforms-page-indicator-page-1 .wpforms-page-indicator-page-title::after {
    content: "Votre cadeau";
    position: relative;
    background: #ffffff;
	padding:0 10px;
	left:-57px;
    width: auto;
}
html[lang="fr-CA"] .wpforms-page-indicator-page-2 .wpforms-page-indicator-page-title::after {
    content: "Hommage";
    position: relative;
    background: #ffffff;
	padding:0 10px;
	left:-47px;
    width: auto;
}
html[lang="fr-CA"] .wpforms-page-indicator-page-3 .wpforms-page-indicator-page-title::after {
    content: "Informations sur les donateurs et paiement";
    position: absolute;
    background: #ffffff;
	padding:0 10px;
	left: 31px;
    width: auto;
}
}

/* Donation Form Payment Type */

#wpforms-26513-field_18,
#wpforms-26513-field_83 {
	overflow:hidden;
}
#wpforms-26513-field_18 li,
#wpforms-26513-field_83 li {
	justify-content: center;
}

#wpforms-26513-field_18 label,
#wpforms-26513-field_83 label {
    display: block;
    font-weight: 700 !important;
    padding: 14px 0 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    box-shadow: inset 0 0 0 1px #A5A5A5;
    cursor: pointer;
    width: -webkit-fill-available!important;
    text-align: center!important;
}

#wpforms-26513-field_18 input[type="radio"],
#wpforms-26513-field_83 input[type="radio"] {
	display:flex;
}
#wpforms-26513-field_18 input[type="radio"]::before, 
#wpforms-26513-field_83 input[type="radio"]::before {
	display:none;
}
#wpforms-26513-field_18 input[type="radio"]::after,
#wpforms-26513-field_83 input[type="radio"]::after {
	display:none;
}

#wpforms-26513-field_18 input ~ label,
#wpforms-26513-field_83 input ~ label  {
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}
#wpforms-26513-field_18 input:checked ~ label,
#wpforms-26513-field_83 input:checked ~ label {
	background: #2f6f78 !important;
    color: #fff !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}

#wpforms-26513-field_19 {overflow:hidden;}
#wpforms-26513-field_19 li {justify-content: center;}

#wpforms-26513-field_19 label {
    display: block;
    font-weight: 700 !important;
    padding: 14px 0 !important;
    font-size: 20px !important;
    box-shadow: inset 0 0 0 1px #A5A5A5;
    cursor: pointer;
    width: -webkit-fill-available!important;
    text-align: center!important;
}
#wpforms-26513-field_19 label {
  font-size: 0!important;
}
#wpforms-26513-field_19 label span.wpforms-currency-symbol {
  font-size: 20px!important;
}
#wpforms-26513-field_19 li:last-child label {
  font-size: 18px!important;
}
#wpforms-26513-field_19 li:last-child label span.wpforms-currency-symbol {
  font-size: 0px!important;
}
#wpforms-26513-field_19 input[type="radio"]{
	display:flex;
}
#wpforms-26513-field_19 input[type="radio"]::before {
	display:none;
}
#wpforms-26513-field_19 input[type="radio"]::after {
	display:none;
}
#wpforms-26513-field_19 input ~ label {
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}
#wpforms-26513-field_19 input:checked ~ label {
	background: #2f6f78 !important;
    color: #fff !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}

#wpforms-26513-field_20 {overflow:hidden;}
#wpforms-26513-field_20 li {justify-content: center;}

#wpforms-26513-field_20 label {
    display: block;
    font-weight: 700 !important;
    padding: 14px 0 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    box-shadow: inset 0 0 0 1px #A5A5A5;
    cursor: pointer;
    width: -webkit-fill-available!important;
    text-align: center!important;
}
#wpforms-26513-field_20 label {
  font-size: 0!important;
}
#wpforms-26513-field_20 label span.wpforms-currency-symbol {
  font-size: 20px!important;
}
#wpforms-26513-field_20 li:last-child label {
  font-size: 18px!important;
}
#wpforms-26513-field_20 li:last-child label span.wpforms-currency-symbol {
  font-size: 0px!important;
}

#wpforms-26513-field_20  input[type="radio"]{
	display:flex;
}
#wpforms-26513-field_20  input[type="radio"]::before {display:none;}
#wpforms-26513-field_20  input[type="radio"]::after {display:none;}
#wpforms-26513-field_20 input ~ label {
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}
#wpforms-26513-field_20 input:checked ~ label {
	background: #2f6f78 !important;
    color: #fff !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}
.wpforms-container .wpforms-page-indicator.circles .wpforms-page-indicator-page-number {
    margin: 0!important;
}


/* Donation Transition Form*/
#wpforms-29369 li.choice-2.depth-1 {
    display: none !important;
}
#wpforms-29369-field_18 {overflow:hidden;}
#wpforms-29369-field_18 li {justify-content: center;}

#wpforms-29369-field_18 label {
    display: block;
    font-weight: 700 !important;
    padding: 14px 0 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    box-shadow: inset 0 0 0 1px #A5A5A5;
    cursor: pointer;
    width: -webkit-fill-available!important;
    text-align: center!important;
}

#wpforms-29369-field_18  input[type="radio"]{
	display:flex;
}
#wpforms-29369-field_18  input[type="radio"]::before {display:none;}
#wpforms-29369-field_18  input[type="radio"]::after {display:none;}
#wpforms-29369-field_18 input ~ label {
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}
#wpforms-29369-field_18 input:checked ~ label {
	background: #2f6f78 !important;
    color: #fff !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}

#wpforms-29369-field_19 {overflow:hidden;}
#wpforms-29369-field_19 li {justify-content: center;}

#wpforms-29369-field_19 label {
    display: block;
    font-weight: 700 !important;
    padding: 14px 0 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    box-shadow: inset 0 0 0 1px #A5A5A5;
    cursor: pointer;
    width: -webkit-fill-available!important;
    text-align: center!important;
}
#wpforms-29369-field_19 label {
  font-size: 0!important;
}
#wpforms-29369-field_19 label span.wpforms-currency-symbol {
  font-size: 20px!important;
}
#wpforms-29369-field_19 li:last-child label {
  font-size: 20px!important;
}
#wpforms-29369-field_19 li:last-child label span.wpforms-currency-symbol {
  font-size: 0px!important;
}

#wpforms-29369-field_19  input[type="radio"]{
	display:flex;
}
#wpforms-29369-field_19  input[type="radio"]::before {display:none;}
#wpforms-29369-field_19  input[type="radio"]::after {display:none;}
#wpforms-29369-field_19 input ~ label {
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}
#wpforms-29369-field_19 input:checked ~ label {
	background: #2f6f78 !important;
    color: #fff !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}

#wpforms-29369-field_20 {overflow:hidden;}
#wpforms-29369-field_20 li {justify-content: center;}

#wpforms-29369-field_20 label {
    display: block;
    font-weight: 700 !important;
    padding: 14px 0 !important;
    font-size: 20px !important;
    line-height: 28px !important;
    box-shadow: inset 0 0 0 1px #A5A5A5;
    cursor: pointer;
    width: -webkit-fill-available!important;
    text-align: center!important;
}
#wpforms-29369-field_20 label {
  font-size: 0!important;
}
#wpforms-29369-field_20 label span.wpforms-currency-symbol {
  font-size: 20px!important;
}
#wpforms-29369-field_20 li:last-child label {
  font-size: 20px!important;
}
#wpforms-29369-field_20 li:last-child label span.wpforms-currency-symbol {
  font-size: 0px!important;
}

#wpforms-29369-field_20  input[type="radio"]{
	display:flex;
}
#wpforms-29369-field_20  input[type="radio"]::before {display:none;}
#wpforms-29369-field_20  input[type="radio"]::after {display:none;}
#wpforms-29369-field_20 input ~ label {
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}
#wpforms-29369-field_20 input:checked ~ label {
	background: #2f6f78 !important;
    color: #fff !important;
    padding: 20px !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}




:root {
  --link-arrow-big: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDIwIj4KICA8cGF0aCBpZD0iUGF0aF8xMTI4MyIgZGF0YS1uYW1lPSJQYXRoIDExMjgzIiAKICAgIGQ9Ik0xNCwyNmwxLjQxLTEuNDFMNy44MywxN0gyOFYxNUg3LjgzbDcuNTgtNy41OUwxNCw2LDQsMTZaIiAKICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI2IC01KSBzY2FsZSgtMSwxKSIgCiAgICBmaWxsPSIjMTYxNjE2IiAvPgo8L3N2Zz4=);
}


/* divi mega pro */
header .tippy-content.tippy-content-centered-horizontal {
  box-shadow: 0px 10px 10px #00000014;
}
header .tippy-popper-wide {
  max-width: clamp(1068px, 100%, 1920px) !important;
  margin: 0 auto;
}

.divimegapro-close-container .divimegapro-close {
  overflow: visible !important;
  margin: 1.25rem 2rem 0px 0px;
}

span.dmm-custom-btn {
  display: flex;
  flex-direction: row-reverse;
  gap: .5rem;
  font-weight: 400;
  font-size: 32px;
}

span.dmm-custom-btn::before {
  content: "Close";
  display: inline-flex;
  font-size: 15px;
}

.dmp-open .divimegapro-close:focus, .dmp-open .divimegapro-close:focus-visible { border: 0px !important; }


/* bento */
.bento-blurb {
  .et_pb_blurb_description {
    display: flex;
    align-items: center;
	text-wrap: pretty;
    gap: 24px;
  }

  .et_pb_blurb_description::after {
    content: var(--link-arrow-big);
    display: inline-block;
  }
}

.receipt-header-heading {
	color:#fff!important;
}
.details-row--progress {
	display:none;
}

.donate-icon #heart {
  transform-origin: 52px 52px;
  will-change: transform;
}
.donate-icon:hover #heart {
  animation: heartbeat 1.5s ease-in-out infinite both;
}

@keyframes heartbeat {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }
  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }
  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }
  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }
  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}


/* header */
header {
  .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li {
    padding: 0px;
    margin: 0 24px;
    
    a { border-bottom: 4px solid transparent; padding: 0px 0px .8rem; align-items: flex-end; }
    &:hover a, a[aria-current="page"] { border-bottom: 4px solid #FD3866; }
  }


  .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:after {
    top: auto !important;
    -webkit-transform: translateY(-0%);
    transform: translateY(-0%);
  }

  .et_pb_menu__search-button:after {
    transform: rotate(-90deg);
    font-size: 28px;
  }

  .et_pb_menu__search-button { margin-left: 1rem; }

  .et_pb_menu .et_pb_menu__icon {
    align-items: flex-end;
    padding-bottom: .8rem;
    @media (width <= 980px) { padding-bottom: 0rem; }
  }
}


button#popupbtn, button.popupbtn, .js-open-ecard {
    padding: 10px 20px !important;
    display: block;
    background: #0079c1 !important;
    cursor: pointer;
    border-radius: 5px !important;
    color: #fff;
}

  /* eCard Preview Start hidden */
  #ecardpreview { display: none; }
 .logged-in.admin-bar .et-fb-iframe-ancestor #ecardpreview { display: block;opacity:0.5; }

  /* Modal container (uses the section itself) */
  #ecardpreview.modal-ready {
    position: fixed;
    inset: 0;
    z-index: 999999;           /* Above Divi header/menus */
    display: none;             /* toggled by .is-open */
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.6);
    padding: 2rem;
  }

  #ecardpreview.is-open { display: flex; }

  /* Inner panel (place your content in the first row/module) */
  #ecardpreview .ecard-modal__panel {
    background: #fff;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 24px;
  }

  /* Close button (add a Button or Text module with this class) */
  .js-close-ecard {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }

  /* Optional: prevent body scroll when open */
  body.ecardpreview-open { overflow: hidden; }

.bcol-1 {
	display: inline-flex;
	flex: 0 0 380px;
	flex-direction: column;
}
@media screen and (max-width: 2020px) and (min-width: 981px) { 
	.bcol-2{
		display: block!important;
	}
	.hearts-that-care .et_pb_blurb_content{
		max-width:100%;
	}
}
@media screen and (max-width: 980px) { 
	.bcol-1{
		margin-left: 0px; 
	}
}

/* Blog List Style */
.column.size-1of3 h2.entry-title {
    min-height: 60px;
}
.column.size-1of3 a.more-link {
    margin-top: 20px;
    display: inline-block;
    text-decoration: none !important;
    border-bottom: 2px solid #E91E63;
}
a.more-link {
    text-transform: uppercase;
}

figure.wp-block-image.alignleft.size-medium {
    padding-right: 20px;
}
sup {
    font-size: small;
    bottom: 5px!important;
}
@media all and (min-width:768px){
html[lang="fr-CA"] .et_pb_blog_grid article.et_pb_post {
    min-height: 575px;
}
}
/* SearchWP*/
#searchwp-form-1 .swp-input, 
#searchwp-form-1 .swp-select,
#searchwp-form-2 .swp-input, 
#searchwp-form-2 .swp-select,
#searchwp-form-3 .swp-input, 
#searchwp-form-3 .swp-select,
#searchwp-form-4 .swp-input, 
#searchwp-form-4 .swp-select {
    padding: 10px;
    border-radius: 8px!important;
    border: 1px solid #ccc!important;
}
#searchwp-form-1 input[type=submit],
#searchwp-form-2 input[type=submit],
#searchwp-form-3 input[type=submit],
#searchwp-form-4 input[type=submit]{
    font-size: 18px;
    border: 1px solid #ccc!important;
    background: #00808b!important;
    color: #fff!important;
    padding: 10px 30px!important;
    border-radius: 8px!important;
}
#searchwp-form-1 input[type=submit]:hover,
#searchwp-form-2 input[type=submit]:hover,
#searchwp-form-3 input[type=submit]:hover,
#searchwp-form-4 input[type=submit]:hover{
    background: #fd3866!important;

}

/* Circle of Compassion */
.ccc-item {
	padding:15px 0;
}
.ccc-title {
    font-size: 36px;
    margin-bottom: 8px;
}
.ccc-blurb {
    font-size: 18px;
    line-height: 1.7;
}
.ccc-readmore a {
    color: #fff;
    display: inline-block;
    background: #2f6f78;
    border-radius: 3px;
    padding: 10px 15px;
    margin-top: 10px;
    margin-bottom: 8px;
}
.ccc-readmore a:hover {
    background: #0097a7;
}