/*
 Theme Name: YMHA-Pathways
 Description: Divi Child Theme
 Author: Ian Wallace
 Author URI: https://thecreativedojo.com.au/
 Template: Divi
 Version: 1.0.1
*/

/* -------------------------------------------------------
   Base page background
------------------------------------------------------- */

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: #8ad5ea!important;
  background-repeat: no-repeat;
  background-attachment: fixed;
	color:#0c1b2a;
}

#page,
#page-container,
.site,
.site-content,
.wp-site-blocks,
.et_pb_section {
  background: transparent !important;
}


/* -------------------------------------------------------
   Typography
------------------------------------------------------- */

h1 {
  font-size: 3rem !important;
  line-height: 1 !important;
  color: #0c1b2a !important;
}

p {
  color: #0c1b2a !important;
  font-size: 1em;
}

p a,
p a:link,
p a:visited,
p a:hover,
p a:focus {
  color: #0c1b2a !important;
	text-decoration:underline;
}


/* -------------------------------------------------------
   Header
------------------------------------------------------- */

#main-header,
#main-header.et-fixed-header {
  height: 90px !important;
  min-height: 90px !important;
  padding: 0 !important;
  transition: none !important;
}

#main-header .container,
#main-header.et-fixed-header .container {
  height: 90px !important;
  position: relative !important;
  display: block !important;
}

#main-header .logo_container {
  display: flex !important;
  align-items: center !important;
  height: 90px !important;
}

#main-header #logo,
.et-fixed-header #logo {
  max-height: 60px !important;
  width: auto !important;
  margin: 0 !important;
  transition: none !important;
}

#et-top-navigation,
.et-fixed-header #et-top-navigation {
  float: right !important;
  height: 90px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  transition: none !important;
}


/* -------------------------------------------------------
   Desktop menu
------------------------------------------------------- */

@media (min-width: 981px) {
  #top-menu,
  .et-fixed-header #top-menu {
    display: flex !important;
    align-items: center !important;
  }

  #top-menu > li > a,
  .et-fixed-header #top-menu > li > a {
    padding-bottom: 0 !important;
    line-height: 1.2 !important;
    transition: none !important;
    font-size: 1.1rem;
  }
}


/* -------------------------------------------------------
   Mobile menu
------------------------------------------------------- */

@media (max-width: 980px) {
  #top-menu-nav,
  #top-menu {
    display: none !important;
  }

  #et_mobile_nav_menu {
    display: flex !important;
    align-items: center !important;
    height: 90px !important;
    min-height: 90px !important;
  }

  .mobile_menu_bar {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .mobile_menu_bar::before {
    top: auto !important;
    line-height: 1 !important;
  }

  #main-header #logo,
  .et-fixed-header #logo {
    max-height: 72px !important;
  }
}


/* -------------------------------------------------------
   Weather buttons
------------------------------------------------------- */

.et_pb_button.weather-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 255px !important;
  min-height: 52px !important;
  margin-right: auto !important;
  margin-bottom: 1.25rem !important;
  margin-left: auto !important;
  padding: 0.75rem 1.25rem !important;
  box-sizing: border-box !important;

  border: 0 !important;
  border-radius: 999px !important;
  background: #ffd068 !important;
  color: #0c1b2a !important;

  font-size: 1.1rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;

  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.et_pb_button.weather-buttons:hover,
.et_pb_button.weather-buttons:focus {
  background: #ffe09a !important;
  color: #0c1b2a !important;
  text-decoration: none !important;
}

.et_pb_button.weather-buttons::after {
  display: none !important;
}

@media (max-width: 980px) {
  .et_pb_button.weather-buttons {
    width: 280px !important;
    max-width: calc(100vw - 3rem) !important;
  }
}


/* -------------------------------------------------------
   Weather links row
------------------------------------------------------- */

.weather-links-row {
  margin-top: 2rem !important;
}


/* -------------------------------------------------------
   Weather clickable tiles
------------------------------------------------------- */

.weather-tile {
  position: relative;
  padding: 1.25rem 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 1.5rem !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: visible !important;

  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.weather-tile:hover,
.weather-tile:focus-within {
  border-color: rgba(255, 255, 255, 0.38) !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}


/* -------------------------------------------------------
   Weather icon hover animation
------------------------------------------------------- */

.weather-symbol .et_pb_image_wrap,
.weather-tile .weather-symbol .et_pb_image_wrap {
  display: inline-block;
  transform: translateY(0) scale(1) rotate(0deg);
  transform-origin: center;

  transition:
    transform 260ms ease,
    filter 260ms ease;

  will-change: transform;
}

.weather-symbol:hover .et_pb_image_wrap,
.weather-symbol:focus-within .et_pb_image_wrap,
.weather-tile:hover .weather-symbol .et_pb_image_wrap,
.weather-tile:focus-within .weather-symbol .et_pb_image_wrap {
  transform: translateY(-6px) scale(1.04) rotate(1.5deg);
  filter: brightness(1.05);
}


/* -------------------------------------------------------
   Weather labels
------------------------------------------------------- */

.weather-symbol + .et_pb_text h3,
.weather-symbol + .et_pb_text h3 a,
.weather-tile .et_pb_text h3,
.weather-tile .et_pb_text h3 a,
.weather-tile .et_pb_text h3 a:visited,
.weather-tile .et_pb_text h3 a:hover,
.weather-tile .et_pb_text h3 a:focus {
  display: inline-block;
  color: #0c1b2a !important;

  text-decoration-line: underline;
  text-decoration-color: #0c1b2a !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.32em;
  text-decoration-skip-ink: auto;
}

.weather-tile .et_pb_text h3::after,
.weather-tile .et_pb_text h3 a::after {
  content: none !important;
}


/* -------------------------------------------------------
   Footer full-width image
------------------------------------------------------- */

.et-l--footer .et_pb_fullwidth_image {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
}

.et-l--footer .et_pb_fullwidth_image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
}


/* -------------------------------------------------------
   Footer logos

   Divi classes required:
   Row: footer-logo-row
   Left image module: footer-logo footer-logo-left
   Right image module: footer-logo footer-logo-right
------------------------------------------------------- */

.footer-logo-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.footer-logo-row .et_pb_column {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}

.footer-logo-row .et_pb_column:first-child {
  justify-content: flex-start !important;
}

.footer-logo-row .et_pb_column:last-child {
  justify-content: flex-end !important;
}

.footer-logo {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.footer-logo .et_pb_image_wrap {
  display: block !important;
  max-width: 100% !important;
}

.footer-logo img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.footer-logo-left {
  text-align: left !important;
}

.footer-logo-right {
  text-align: right !important;
}


/* Desktop footer logo sizes */
@media (min-width: 981px) {
  .footer-logo-left {
    width: 150px !important;
    max-width: 150px !important;
  }

  .footer-logo-right {
    width: 150px !important;
    max-width: 150px !important;
  }
}


/* Mobile footer logo layout and sizes */
@media (max-width: 980px) {
  .footer-logo-row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 94% !important;
    max-width: 94% !important;
    margin: 0 auto !important;
    padding: 1.25rem 0 !important;
  }

  .footer-logo-row .et_pb_column {
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .footer-logo-left {
    width: 120px !important;
    max-width: 120px !important;
  }

  .footer-logo-right {
    width: 120px !important;
    max-width: 120px !important;
  }
}


/* -------------------------------------------------------
   Accessibility
------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .weather-tile,
  .weather-tile *,
  .weather-symbol,
  .weather-symbol .et_pb_image_wrap,
  .weather-symbol:hover .et_pb_image_wrap,
  .weather-symbol:focus-within .et_pb_image_wrap {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

.yellowLink a:link {color:#000000; text-decoration:underline;}

/* -------------------------------------------------------
   Weather buttons - stop Divi hover padding transition
------------------------------------------------------- */

body #page-container .et_pb_section .et_pb_button.weather-buttons,
body #page-container .et_pb_section .et_pb_button.weather-buttons:hover,
body #page-container .et_pb_section .et_pb_button.weather-buttons:focus,
body #page-container .et_pb_section .et_pb_button.weather-buttons:active {
  padding: 0.75rem 1.25rem !important;
  border-radius: 999px !important;
  transform: none !important;
  transition:
    background-color 220ms ease,
    color 220ms ease !important;
}

/* Kill Divi-generated padding animation on individual button modules */
.et_pb_button_0_wrapper .et_pb_button_0,
.et_pb_button_0_wrapper .et_pb_button_0:hover,
.et_pb_button_1_wrapper .et_pb_button_1,
.et_pb_button_1_wrapper .et_pb_button_1:hover,
.et_pb_button_2_wrapper .et_pb_button_2,
.et_pb_button_2_wrapper .et_pb_button_2:hover,
.et_pb_button_3_wrapper .et_pb_button_3,
.et_pb_button_3_wrapper .et_pb_button_3:hover {
  padding: 0.75rem 1.25rem !important;
  transition:
    background-color 220ms ease,
    color 220ms ease !important;
}