/**
 * @file
 *   Fund Drive styling.
 */

/**
 * Site-wide block.
 */
#block-funddrivesitewideblock1 {
  background-image: url(../images/SpringFundDrive_2025__BG.png); /* was SpringFundDrive_2024__BG.jpg */
  background-size: cover;
  background-repeat: no-repeat;
  height: 105px;
  margin-bottom: 60px;
}

.not-front #block-funddriveprogressmeter1 {
  padding-bottom: 0 !important;
}

#block-funddrivesitewideblock1 h2,
#block-funddriveprogressmeter1 h2 {
  font-family: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
  text-transform: uppercase;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

#block-funddrivesitewideblock1 .content {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}

.webathon_container {
  position: relative;
  height: 100%;
}

.webathon_logos {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.webathon_logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.anniversary_logo {
  width: 30%;
}

.webathon_buttons {
  position: absolute;
  top: 0;
  right: -50px;
  flex-direction: row;
  margin: 10px;
  width: 400px;
}

.webathon-helptext {
  display: flex;
  justify-content: center;
  margin-top: -3em;
  margin-bottom: 1em;
}

.webathon-helptext img {
  width: 70%;
}

a.donate_button {
  display: flex;
  justify-content: center;
}

.donate_button_wrapper .donate_button img {
  width: 200px;
  margin-right: 50px;
}

.donate_button {
  display: inline-block;
  transition-property: opacity;
  transition-duration: 0.3s;
  float: right;
}

.donate_button:hover,
.donate_button:active {
opacity: 0.85;
}

.donate_button img {
float: right;
}

/**
 * Progress meter block.
 */
#block-funddriveprogressmeter1 {
  margin: 0 auto;
  padding: 0 0 2em 0;
  max-width: 750px;
  width: 90%;
}

.progressmeter_wrapper {
  border-radius: 5px;
  height: 10px;
  background-color: #f3f3f3;
  margin: 1em 0;
}

.progressmeter {
  border-radius: 5px;
  background-color: #f68622;
  height: 10px;
}

/**
 * Media queries.
 */
@media all and (min-width: 525px) {
  #block-funddrivesitewideblock1 {
    background-image: url(../images/SpringFundDrive_2025__BG.png); /* was SpringFundDrive_2024__BG.jpg */
    height: 115px;
  }
}


@media all and (min-width: 600px) {
  #block-funddrivesitewideblock1 {
    background-image: url(../images/SpringFundDrive_2025__BG.png); /* was SpringFundDrive_2024__BG.jpg */
    height: 135px;
  }
}

@media all and (min-width: 750px) {
  #block-funddrivesitewideblock1 {
    height: 165px;
  }
  .webathon_buttons {
    position: absolute;
    top: 0;
    right: -50px;
    flex-direction: row;
    margin: 10px;
    width: 400px;
  }
  .donate_button_wrapper .donate_button img {
    width: 250px;
  }
  .webathon_logo img {
    max-height: 280px;
  }
}

@media all and (min-width: 960px) {
  #block-funddrivesitewideblock1 {
    height: 200px;
  }
  .webathon_logos {
    flex-direction: row;
    margin-bottom: 0;
  }
  .webathon_logo {
    max-height: 280px;
    justify-content: center;
    align-items: flex-end;
  }
  .webathon_logo img {
    max-height: 280px;
  }
  .anniversary_logo {
    width: 30%;
    margin-top: -150px;
  }
  .webathon_buttons {
    position: absolute;
    top: 0;
    right: -50px;
    flex-direction: row;
    margin: 10px;
    width: 400px;
  }
  .webathon-helptext {
    margin-top: 0;
    justify-content: left;
    background-color: transparent;
  }
  .webathon-helptext img {
    width: 70%;
  }
  .donate_button_wrapper .donate_button img {
    /*width: 100%;*/
  }
  #block-funddrivesitewideblock1 .content {
    height: 200px;
  }
  .webathon_container {
    position: relative;
  }
}

@media all and (min-width: 1250px) {
  #block-funddrivesitewideblock1 {
    background-image: url(../images/SpringFundDrive_2025__BG.png); /* was SpringFundDrive_2024__BG.jpg */
    background-size: cover;
    height: 200px;
  }
  .anniversary_logo {
    width: 20%;
  }
}
