/*******************************
  GLOBAL STYLES
*******************************/

/************/

html {
  scroll-behavior: smooth;
}

body {
  color: #3C3735;
  background-color: #ececec;
}

body, input, button, select, textarea {
  font-family: "Poppins", sans-serif;
}

.wrapper-sm,
.wrapper-md,
.wrapper-lg {
  width: 90%;
  margin: 0 auto;
  text-align: center;    
}

.wrapper-sm {
  max-width: 600px;
}

.wrapper-md {
  max-width: 900px;
}

.wrapper-lg {
  max-width: 1200px;
}

.text24 {
  font-size: 24px;
}

.text22 {
  font-size: 22px;
}

.text20 {
  font-size: 20px;
}

.text18 {
  font-size: 18px;
}

.text-black {
  color: #000 !important;
}

.text-orange {
  color: #c64e29;
}

.text-dark-green {
  color: #959C44;
}

.text-highlight {
  font-size: 130%;
  font-weight: bold;
}

.text-underline {
  border-bottom: 1px solid white;
}

a {
  color: #6A3465;
}

a:hover {
  text-transform: underline;
  color: #6A3465;
}

a.anchor {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
}

.col-bg-img {
  background-image: url('images/fall-campaign-2024-gt-banner.jpg');
}

body.fr .col-bg-img {
  background-image: url('images/fall-campaign-2024-gt-banner.jpg');
}

a.lang-link {
  position: absolute;
  top: -80px;
  right: 15px;
}

.btn.btn-primary {
  color: #fff;
  background-color: #699138;
  border-color: #699138;
  box-shadow: none;
}

.btn.btn-primary.half {
  width: calc(50% - 5px);
  display: inline-block;
}

.btn-outline-primary {
  color: #699138;
  border-color: #699138;
}

.btn.btn-primary:hover,
.btn.btn-outline-primary:hover,
.btn.btn-primary:not(:disabled):not(.disabled):active,
.btn.btn-outline-primary:not(:disabled):not(.disabled):active {
  background-color: #f0b52b;
  border-color: #f0b52b;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, 
.btn-primary:not(:disabled):not(.disabled):active:focus, 
.show>.btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

.cardbtn {
    padding: 0.3rem 0.75rem 0.5rem;
}

.cardbtn div:last-child {
  position: absolute;
  bottom: 1px;
  left: 60px;
  font-size: 10px;
}

/*******************************
  SECTION STYLES
*******************************/

.sec-brand nav {
  margin-top: -30px;
  font-size: .9rem;
}

.sec-brand img {
  max-width: 150px;
  height: auto;
}

.content-inner {
  margin-left: 0;
  margin-right: 0;
  min-height: 100vh;
  background-color: #ececec;
}

.col-form {
  max-width: 600px;
  margin: 30px auto 0;
}

footer nav a {
  font-size: 0.9rem;
  position: relative;
}

footer nav a:after {
  content: "|";
  position: absolute;
  right: -5px;
}

footer nav a:last-child:after {
  content: "";
}

/*******************************
  FORM STYLES
*******************************/

.floating-label {
  color: #898989;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: .9rem;
  transition: .3s ease all;
  will-change: left,top,contents;
}

.is-focused .floating-label,
.is-filled .floating-label {
  font-size: .6875rem;
  font-weight: 600;
  left: 14px;
  top: -.7rem;
}

.form-control {
  font-size: 1rem;
  background: no-repeat center bottom,center calc(100% - 1px);
  background-image: linear-gradient(to top,#6c757d 2px,rgba(244,67,54,0) 2px),linear-gradient(to top,#d2d2d2 1px,rgba(210,210,210,0) 1px);
  background-size: 0 100%,100% 100%;
  border: 0;
  border-radius: 0;
  height: 36px;
  padding-left: 0;
  padding-right: 0;
  transition: background 0s ease-out;
}

.form-control:focus {
  box-shadow: none;
}

.is-focused .form-control,
.form-control:focus,
.is-filled .form-control {
  background-size: 100% 100%,100% 100%;
  transition-duration: .3s;
}

/* 
 - Form Field is Focused and/or Filled 
 - Form has error but is focused, i.e. user is fixing error
*/

.is-focused .form-control,
.is-filled .form-control,
.is-focused.is-filled .form-control.has-error { 
  background-image: linear-gradient(to top,#f0b52b 2px,rgba(178,176,0,0) 2px),linear-gradient(to top,#d2d2d2 1px,rgba(210,210,210,0) 1px);
}

/* Form field has error */

.form-control.has-error {
  background-image: linear-gradient(to top,#f44336 2px,rgba(244,67,54,0) 2px),linear-gradient(to top,#d2d2d2 1px,rgba(210,210,210,0) 1px);
}

/* Form field is filled correctly */

.is-filled .form-control:not(.has-error) {
  background-image: linear-gradient(to top,#2c712f 2px,rgba(233,30,99,0) 2px),linear-gradient(to top,#4caf50 1px,rgba(210,210,210,0) 1px);
}

.cftc-select {
  position: relative;
}

.cftc-select-inner {
  background: #fff;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #d2d2d2;
  color: #898989;
  font-size: 1rem;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  cursor: pointer;
}

.cftc-select::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid #898989;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  position: absolute;
  top: 16px;
  right: 28px;
}

.form-check-label {
  font-size: 0.9rem;
}

.custom-control label {
  color: #898989;
  font-size: 1rem;
  font-weight: 400;
}

.custom-control-input:checked~.custom-control-label::before {
  border-color: #f0b52b;
  background-color: #f0b52b;
}

textarea.form-control {
  border: 1px solid #d2d2d2;
  background-image: none;
}

.is-focused textarea.form-control {
  background: none;
  border: 1px solid #4caf50;
}

#dt-corp + label {
  color: #898989;
  font-size: .875rem;
  font-weight: 400;
}

label[for="supportCardMessage"] {
  left: 24px;
}

label[for="amount"] {
  top: .6rem;
  font-size: .95rem;
  font-weight: 500;
}

.is-focused label[for="amount"], 
.is-filled label[for="amount"] {
  left: -2px;
}

/* Error Messages */

.message .error-msg {
  position: relative;
  width: 100%;
  margin-top: -7px;
  font-size: 80%;
  color: #fff;
  line-height: 1.5;
  background: #3C3735;
  padding: .5rem .7rem;
  border-radius: 5px;
}

.message .error-msg:after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: 0;
  border-right: .8em solid transparent;
  border-bottom: .8em solid #3C3735;
  border-left: .8em solid transparent;
  position: absolute;
  top: -9px;
  left: calc(50% - 1.6em);
}


/****************************
  OTHER ELEMENTS
****************************/

.card {
  border: none;
}

.card,
.donation-selector {
  max-width: 390px;
  margin: 0 auto;
}

/* Remove donation selector while monthly form is being built 

.donation-selector {
  display: none;
}*/

.card-header {
  background-color: #3C3735; 
  border: 1px solid #3C3735;
  color: #fff;
  padding: 10px 24px;
}

.amt-icon {
  position: absolute;
  top: 4px;
  left: 20px;
  color: #898989;
}

.payment-selector {
  cursor: pointer;
}

.payment-selector .active {
  border-bottom-color: #f0b52b !important;
  border-bottom-width: 2px !important;
}

.payment-selector .active span {
  color: #f0b52b;
}

.payment-selector .active:after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .4em solid #f0b52b;
  border-right: .4em solid transparent;
  border-bottom: 0;
  border-left: .4em solid transparent;
  position: absolute;
  top: 42px;
  left: calc(50% - .2em);
}

.pay-pp-details {
  min-height: 150px;
}

.previous {
  color: #6A3465;
}

.previous:hover {
  text-decoration: underline;
  cursor: pointer;
}

.partner-logos {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  margin: 10px 0;
  filter: grayscale(100%);
}

.imagine-canada-logo,
.top10-logo,
.bbb-logo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.imagine-canada-logo {
  width: 175px;
  height: 62px;
  /*background-image: url("images/trustmarks/imagine_canada.png");*/
  background-image: url("https://kinvia.ca/wp-content/uploads/2026/04/2026-trustmark-imagine-canada-black-185.png");
}

.top10-logo {
  width: 210px;
  height: 75px;
  /*background-image: url("images/trustmarks/2024_Top_100_Black-280.png");*/
  background-image: url("https://kinvia.ca/wp-content/uploads/2026/04/2026-trustmark-kinvia-black-285.png");
}

.bbb-logo {
  width: 63px;
  height: 109px;
  background-image: url("images/trustmarks/bbb.png");
}

.security-text p {
  color: #898989;
  font-size: .8rem;
  font-weight: 400;
  max-width: 300px;
  margin: 1.4rem auto 0;
}

.photo-desc {
  color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 50vw;
  background: #000;
  opacity: 0.6;
  padding: 1.5rem 1.5rem 0;
}

.photo-desc p {
  font-size: 1rem;
  text-align: center;
}

input.cc-valid {
  background-image: linear-gradient(to top,#2c712f 2px,rgba(233,30,99,0) 2px),linear-gradient(to top,#4caf50 1px,rgba(210,210,210,0) 1px) !important;
}

input.cc-invalid {
  background-image: linear-gradient(to top,#f44336 2px,rgba(244,67,54,0) 2px),linear-gradient(to top,#d2d2d2 1px,rgba(210,210,210,0) 1px) !important;
}

.partner-logos div {
  margin-left: 5px;
  margin-right: 5px;
}

p.funds-disclaimer {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  font-size: 80%;
}

.worldline-input {
  border-bottom: 1px solid #d2d2d2;
}

.worldline-input.bad {
  border-bottom: 2px solid #f44336;
}

.worldline-input.okay {
  border-bottom: 2px solid #2c712f;
}

/****************************
  MEDIA QUERIES
****************************/

@media(min-width: 768px) {

  .sec-brand img {
    max-width: 200px;
  }

  footer {
    width: 100%;
    margin: 3rem auto 0;
  }

}

@media(min-width: 1200px) {

  .sec-brand {
    position: absolute;
    left: 47vw ;
    background-color: transparent;
    z-index: 1000;
  }

  a.lang-link {
    top: 0;
  }

  .default-template .col-bg-img {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #4a5e26;
    background-size: cover;
    background-position: left -200px top -100px;
  }

  .col-form .col {
    max-width: 470px;
    margin: 40px auto 0;
  }

  .card, .donation-selector {
    max-width: 360px;
  }

}

@media(min-width: 1300px) {

  .default-template .col-bg-img {
    background-size: 50vw;
    background-position: left center;
  }

}

@media(min-width: 1400px) {

  .card, .donation-selector {
    max-width: 390px;
  }

}

@media(min-width: 1600px) {

  .sec-brand {
    left: 50vw;
  }


}

@media(min-height: 890px) {

  .col-bg-img {
    background-position: left top;
  }

}

@media(min-height: 1000px) {

  .col-bg-img {
    background-position: left center;
  }

}

@media(max-height: 700px) {
  
  .col-bg-img {
    background-position: left center;
  }
  
}

@media (min-height: 701px) and (max-height: 900px) {

  .col-bg-img {
    background-position: left top;
    background-size: contain;
  }

}

/****************************
  Hide PayPal - Not Required
***************************

#card-1 button:not(.cardbtn) {
    display: none !important;
}

.btn.btn-primary.half {
  width: 80% !important;
}

.cardbtn div:last-child {
  left: 150px;
}

*/
body.fr .col-bg-img {
  background-image: url('images/-banner-f.jpg');
}
