/**
 * WIBR2020 Layout Styles
 * Minimal CSS for wi.mit.edu wrapper layout
 * Extracted and cleaned from giving_assets_v2020/style.css
 */

/* ==========================================================================
   FONTS
   ========================================================================== */

@font-face {
    font-family: Graphik;
    font-weight: 400;
    font-style: normal;
    src: url(fonts/Graphik-Regular.otf) format("opentype")
}

@font-face {
    font-family: Graphik;
    font-weight: 400;
    font-style: italic;
    src: url(fonts/Graphik-RegularItalic.otf) format("opentype")
}

@font-face {
    font-family: Graphik;
    font-weight: 500;
    font-style: normal;
    src: url(fonts/Graphik-Medium.otf) format("opentype")
}

@font-face {
    font-family: Graphik;
    font-weight: 500;
    font-style: italic;
    src: url(fonts/Graphik-MediumItalic.otf) format("opentype")
}

@font-face {
    font-family: Canela;
    font-weight: 300;
    font-style: normal;
    src: url(fonts/Canela-Light.otf) format("opentype")
}

@font-face {
    font-family: Canela;
    font-weight: 300;
    font-style: italic;
    src: url(fonts/Canela-LightItalic.otf) format("opentype")
}

@font-face {
    font-family: Guardian Sans;
    font-weight: 400;
    src: url(fonts/Guardian-Text-Sans-Regular.otf) format("opentype")
}

/* ==========================================================================
   BASE / NORMALIZE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Graphik, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0;
    color: #111;
    background: #fff;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

a {
    text-decoration: none;
    color: #3704ff;
    background-color: transparent;
    transition: color .3s;
}

a:focus, a:hover {
    color: #2c03cc;
}

a:active, a:hover {
    outline: 0;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Canela, serif;
    margin-top: 0;
}

h1 {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: 0;
}

@media (min-width: 540px) {
    h1 {
        font-size: 60px;
        line-height: 1.25;
        font-weight: 300;
        letter-spacing: -.02em;
    }
}

@media (min-width: 800px) {
    h1 {
        font-size: 72px;
        line-height: 1.1;
        font-weight: 300;
        letter-spacing: -.02em;
    }
}

@media (min-width: 1440px) {
    h1 {
        font-size: 86px;
        line-height: 1.1;
        font-weight: 300;
        letter-spacing: -.02em;
    }
}

/* Hero section */
.hero-section {
    padding: 60px 0;
    text-align: center;
}

@media (min-width: 540px) {
    .hero-section {
        padding: 84px 0;
    }
}

@media (min-width: 800px) {
    .hero-section {
        padding: 96px 0;
    }
}

.hero-section-content {
    margin-right: auto;
    margin-left: auto;
}

.hero-section__title {
    margin-bottom: 16px;
}

.hero-section__title:last-child,
.hero-section__title h1 {
    margin-bottom: 0;
}

.hero-section__description {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-section__description:last-child {
    margin-bottom: 0;
}

@media (min-width: 540px) {
    .hero-section__description {
        font-size: 18px;
        line-height: 1.6;
    }
}

@media (min-width: 1040px) {
    .hero-section__description {
        font-size: 22px;
        line-height: 1.6;
    }
}

ol, p, table, ul {
    margin-top: 0;
    margin-bottom: 1.5em;
}

ol:last-child, p:last-child, table:last-child, ul:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.clearfix::after {
    display: table;
    clear: both;
    content: "";
}

.hidden {
    display: none;
}

.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    position: static !important;
    overflow: visible;
    clip: auto;
    width: auto;
    height: auto;
}

.invisible {
    visibility: hidden;
}

/* Skip link - visible on focus for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #3704ff;
    color: #fff;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    font-family: Graphik, sans-serif;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */

.layout-container {
    pointer-events: none;
}

.header {
    font-family: Graphik, sans-serif;
    z-index: 3;
    position: relative;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    transition: margin-bottom .3s;
    pointer-events: auto;
}

.header .header-container,
.header .region-header {
    display: flex;
}

.header .region-header {
    position: relative;
    z-index: 100;
    width: 100%;
    min-height: 57px;
    align-items: center;
}

.header .region-header .block-system-branding-block {
    margin-right: auto;
}

.header .region-header,
.header .region__header {
    pointer-events: auto;
}

#block-mobilemenuburger {
    pointer-events: auto;
    cursor: pointer;
}

.main {
    z-index: 2;
    position: relative;
    background: #fff;
    pointer-events: auto;
}

.page-content-wrap {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.page-content-wrap .footer {
    margin-top: auto;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
    width: 100%;
    max-width: 1800px;
}

@media (min-width: 540px) {
    .container {
        padding-right: 32px;
        padding-left: 32px;
    }
}

@media (min-width: 800px) {
    .container {
        padding-right: 36px;
        padding-left: 36px;
    }
}

@media (min-width: 1040px) {
    .container {
        padding-right: 44px;
        padding-left: 44px;
    }
}

@media (min-width: 1440px) {
    .container {
        padding-right: 60px;
        padding-left: 60px;
    }
}

/* ==========================================================================
   GRID SYSTEM
   ========================================================================== */

.row {
    margin-right: -8px;
    margin-left: -8px;
    display: flex;
    flex-wrap: wrap;
}

[class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

.col-1 { width: 8.33333%; }
.col-2 { width: 16.66667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33333%; }
.col-5 { width: 41.66667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33333%; }
.col-8 { width: 66.66667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.33333%; }
.col-11 { width: 91.66667%; }
.col-12 { width: 100%; }

@media (min-width: 540px) {
    .row-s {
        margin-right: -8px;
        margin-left: -8px;
        display: flex;
        flex-wrap: wrap;
    }

    .col-s-1 { width: 8.33333%; }
    .col-s-2 { width: 16.66667%; }
    .col-s-3 { width: 25%; }
    .col-s-4 { width: 33.33333%; }
    .col-s-5 { width: 41.66667%; }
    .col-s-6 { width: 50%; }
    .col-s-7 { width: 58.33333%; }
    .col-s-8 { width: 66.66667%; }
    .col-s-9 { width: 75%; }
    .col-s-10 { width: 83.33333%; }
    .col-s-11 { width: 91.66667%; }
    .col-s-12 { width: 100%; }
}

@media (min-width: 800px) {
    .row-m {
        margin-right: -10px;
        margin-left: -10px;
        display: flex;
        flex-wrap: wrap;
    }

    [class*="col-m-"] {
        padding-right: 10px;
        padding-left: 10px;
    }

    .col-m-1 { width: 8.33333%; }
    .col-m-2 { width: 16.66667%; }
    .col-m-3 { width: 25%; }
    .col-m-4 { width: 33.33333%; }
    .col-m-5 { width: 41.66667%; }
    .col-m-6 { width: 50%; }
    .col-m-7 { width: 58.33333%; }
    .col-m-8 { width: 66.66667%; }
    .col-m-9 { width: 75%; }
    .col-m-10 { width: 83.33333%; }
    .col-m-11 { width: 91.66667%; }
    .col-m-12 { width: 100%; }
}

@media (min-width: 1040px) {
    .row-l {
        margin-right: -12px;
        margin-left: -12px;
        display: flex;
        flex-wrap: wrap;
    }

    [class*="col-l-"] {
        padding-right: 12px;
        padding-left: 12px;
    }

    .col-l-1 { width: 8.33333%; }
    .col-l-2 { width: 16.66667%; }
    .col-l-3 { width: 25%; }
    .col-l-4 { width: 33.33333%; }
    .col-l-5 { width: 41.66667%; }
    .col-l-6 { width: 50%; }
    .col-l-7 { width: 58.33333%; }
    .col-l-8 { width: 66.66667%; }
    .col-l-9 { width: 75%; }
    .col-l-10 { width: 83.33333%; }
    .col-l-11 { width: 91.66667%; }
    .col-l-12 { width: 100%; }
}

/* ==========================================================================
   HEADER - BRANDING
   ========================================================================== */

.header .block-system-branding-block {
    position: relative;
    z-index: 1;
    width: 201px;
    height: 30px;
}

@media (min-width: 1040px) {
    .header .block-system-branding-block {
        width: 282px;
        height: 42px;
    }
}

.header .block-system-branding-block .site-name {
    height: 100%;
}

.header .block-system-branding-block a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0;
    text-indent: -9999px;
    background: url(images/logo.svg) no-repeat;
    background-size: contain;
}

/* ==========================================================================
   HEADER - MAIN NAVIGATION (Desktop)
   ========================================================================== */

.header .menu--main {
    display: none;
}

@media (min-width: 800px) {
    .header .menu--main {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        width: 100%;
        height: 100%;
    }
}

.header .menu--main .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .menu--main .menu-item {
    padding: 0;
}

@media (min-width: 800px) {
    .header .menu--main .menu-item {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
}

@media (min-width: 1040px) {
    .header .menu--main .menu-item {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (min-width: 1440px) {
    .header .menu--main .menu-item {
        font-size: 18px;
        line-height: 1.6;
    }
}

.header .menu--main .menu-item--expanded {
    list-style: none;
}

.header .menu--main .button--arrow-down {
    display: none;
}

.header .menu--main > .menu {
    position: relative;
}

@media (min-width: 800px) {
    .header .menu--main > .menu {
        margin-right: auto;
        margin-left: auto;
        display: inline-flex;
        height: 100%;
        justify-content: center;
    }
}

.header .menu--main > .menu:hover > .menu-item:not(:hover) > a,
.header .menu--main > .menu:hover > .menu-item:not(:hover) > span {
    color: #aaa;
}

.header .menu--main > .menu:hover > .menu-item:not(:hover) > a::after,
.header .menu--main > .menu:hover > .menu-item:not(:hover) > span::after {
    background: url(images/arrow-down-gray.svg) no-repeat;
}

@media (min-width: 800px) {
    .header .menu--main > .menu > .menu-item {
        position: relative;
        margin-bottom: 0;
        padding-right: 14px;
        padding-left: 14px;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 1040px) {
    .header .menu--main > .menu > .menu-item {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (min-width: 1440px) {
    .header .menu--main > .menu > .menu-item {
        padding-right: 24px;
        padding-left: 24px;
    }
}

/* Dropdown visibility on hover */
.header .menu--main > .menu > .menu-item:hover > .menu {
    z-index: 10;
    visibility: visible;
    opacity: 1;
}

/* Dropdown container */
.header .menu--main > .menu > .menu-item > .menu {
    position: absolute;
    z-index: -10;
    top: calc(100% + 1px);
    left: 0;
    padding: 20px 24px;
    visibility: hidden;
    width: 270px;
    opacity: 0;
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .15);
    transition: opacity .3s, visibility .3s;
}

@media (min-width: 1040px) {
    .header .menu--main > .menu > .menu-item > .menu {
        width: 320px;
    }
}

.header .menu--main > .menu > .menu-item > .menu:hover a:not(:hover) {
    color: #aaa;
}

.header .menu--main > .menu > .menu-item > .menu .menu {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.header .menu--main > .menu > .menu-item > .menu > .menu-item:last-child {
    margin-bottom: 0;
}

/* Dropdown arrow indicator */
.header .menu--main > .menu > .menu-item.menu-item--expanded > a,
.header .menu--main > .menu > .menu-item.menu-item--expanded > span {
    padding-right: 24px;
    transition: color .3s;
}

.header .menu--main > .menu > .menu-item.menu-item--expanded > a::after,
.header .menu--main > .menu > .menu-item.menu-item--expanded > span::after {
    position: absolute;
    top: 50%;
    right: 14px;
    display: block;
    width: 24px;
    height: 24px;
    content: "";
    background: url(images/arrow-down.svg) no-repeat;
    transition: all .3s;
    transform: translateY(-50%);
}

@media (min-width: 1040px) {
    .header .menu--main > .menu > .menu-item.menu-item--expanded > a::after,
    .header .menu--main > .menu > .menu-item.menu-item--expanded > span::after {
        right: 18px;
    }
}

@media (min-width: 1440px) {
    .header .menu--main > .menu > .menu-item.menu-item--expanded > a::after,
    .header .menu--main > .menu > .menu-item.menu-item--expanded > span::after {
        right: 24px;
    }
}

.header .menu--main > .menu > .menu-item.menu-item--expanded:hover > a::after,
.header .menu--main > .menu > .menu-item.menu-item--expanded:hover > span::after {
    transform: translateY(-50%) rotate(-180deg);
}

.header .menu--main > .menu > .menu-item > a.is-active,
.header .menu--main > .menu > .menu-item > span.is-active {
    color: #111;
}

.header .menu--main > .menu > .menu-item > a.is-active::before,
.header .menu--main > .menu > .menu-item > span.is-active::before {
    position: absolute;
    bottom: -1px;
    left: 0;
    padding-right: 14px;
    padding-left: 14px;
    display: block;
    width: 100%;
    height: 1px;
    content: "";
    background: #3704ff;
    background-clip: content-box;
}

@media (min-width: 1040px) {
    .header .menu--main > .menu > .menu-item > a.is-active::before,
    .header .menu--main > .menu > .menu-item > span.is-active::before {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (min-width: 1440px) {
    .header .menu--main > .menu > .menu-item > a.is-active::before,
    .header .menu--main > .menu > .menu-item > span.is-active::before {
        padding-right: 24px;
        padding-left: 24px;
    }
}

.header .menu--main a {
    display: block;
    color: #111;
}

.header .menu--main a.is-active {
    color: #111;
}

.block-simple-block {
  text-align: left;
}

/* ==========================================================================
   HEADER - MOBILE MENU BURGER (trigger button)
   ========================================================================== */

.header .block-simple-blockmobile-menu-burger {
    display: inline-block;
    color: #3704ff;
    border: 1px solid #e6e6e6;
    border-radius: 100%;
    transition: all .3s;
    padding: 0;
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url(images/hamburger.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: pointer;
}

.header .block-simple-blockmobile-menu-burger:focus,
.header .block-simple-blockmobile-menu-burger:hover {
    background-color: #3704ff;
    background-image: url(images/hamburger--white.svg);
    border-color: #3704ff;
}

@media (min-width: 800px) {
    .header .block-simple-blockmobile-menu-burger {
        display: none;
    }
}

.header .block-simple-blockmobile-menu-burger .mobile-menu-icon {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

/* Hide any text label in burger button */
.mobile-menu-icon {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

#block-mobilemenuburger {
    display: block;
}

@media (min-width: 800px) {
    #block-mobilemenuburger {
        display: none;
    }
}

#block-mobilemenublock {
    visibility: hidden;
    opacity: 0;
}

#block-mobilemenublock.active-mobile,
#block-mobilemenublock.is-active {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   HEADER - MOBILE MENU (overlay)
   ========================================================================== */

.header .block-wi-mobile-menu-block {
    font-size: 16px;
    line-height: 1.5;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    visibility: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100vh;
    opacity: 0;
    color: #111;
    background: #fff;
    transition: visibility .2s ease-out, opacity .2s ease-out;
}

@media (min-width: 540px) {
    .header .block-wi-mobile-menu-block {
        font-size: 18px;
        line-height: 1.6;
    }
}

@media (min-width: 1040px) {
    .header .block-wi-mobile-menu-block {
        font-size: 22px;
        line-height: 1.6;
    }
}

@media (min-width: 800px) {
    .header .block-wi-mobile-menu-block {
        display: none;
    }
}

.header .block-wi-mobile-menu-block.is-active {
    visibility: visible;
    opacity: 1;
}

.header .block-wi-mobile-menu-block .container {
    position: relative;
}

.header .block-wi-mobile-menu-block .mobile-menu-header {
    margin-bottom: 32px;
    display: flex;
    height: 57px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
}

@media (min-width: 540px) {
    .header .block-wi-mobile-menu-block .mobile-menu-header {
        margin-bottom: 60px;
    }
}

.header .block-wi-mobile-menu-block .mobile-menu-header .close-button {
    padding: 0;
    width: 40px;
    height: 40px;
    background-color: #fff;
    background-image: url(images/cross--blue.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    border: 1px solid #e6e6e6;
    border-radius: 100%;
    margin: 0;
}

.header .block-wi-mobile-menu-block .mobile-menu-header .close-button:focus,
.header .block-wi-mobile-menu-block .mobile-menu-header .close-button:hover {
    background-color: #3704ff;
    background-image: url(images/cross--white.svg);
    border-color: #3704ff;
}

.header .block-wi-mobile-menu-block .button--arrow-down {
    padding: 0;
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url(images/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: 50%;
    border: 1px solid #e6e6e6;
    border-radius: 100%;
    margin: 0 0 0 12px;
    display: inline-block;
    vertical-align: text-bottom;
}

/* Hide nested accordion buttons (e.g., button next to "Overview" within "About") */
.header .block-wi-mobile-menu-block .menu-item .menu-item .button--arrow-down {
    display: none;
}

.header .block-wi-mobile-menu-block .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .block-wi-mobile-menu-block .menu-item {
    padding-top: 0;
}

.header .block-wi-mobile-menu-block .menu-item--expanded {
    margin: 0;
    padding-top: 0;
    list-style: none;
}

.wi-common-header-search-form {
  display: none;
}

.header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item > .menu a {
  margin-bottom: 12px;
  display: block;
}
  
.header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item a {
    color: #111;
}

@media (min-width: 540px) {
    .header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item {
        margin-bottom: 0;
    }
}

.header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item > a,
.header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item > span {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 300;
    font-family: Canela, serif;
}

@media (min-width: 540px) {
    .header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item > a,
    .header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item > span {
        font-size: 60px;
        line-height: 1.25;
        letter-spacing: -.02em;
    }
}

.header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item > .menu {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 8px 0 20px;
    width: 100%;
    transition: transform .2s ease-out;
    transform: translateY(100%);
}

.header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item--expanded {
    position: relative;
    padding-bottom: 0;
    overflow: hidden;
    transition: padding .2s ease-out;
}

.header .block-wi-mobile-menu-block .mm-wrapper--main > .menu > .menu-item--expanded.is-open > .menu {
    transform: translateY(0);
}

.header .block-wi-mobile-menu-block .mm-wrapper--secondary a {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 300;
    font-family: Canela, serif;
    color: #3704ff;
}

@media (min-width: 540px) {
    .header .block-wi-mobile-menu-block .mm-wrapper--secondary a {
        font-size: 60px;
        line-height: 1.25;
        letter-spacing: -.02em;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    font-family: Graphik, sans-serif;
    color: #000;
    pointer-events: none;
}

.footer-wrap {
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    padding: 24px 0 32px;
    width: 100%;
    color: #fff;
    background: #3704ff;
    pointer-events: auto;
}

@media (min-width: 800px) {
    .footer-wrap {
        padding: 36px 0;
    }
}

.footer .layout-footer-top {
    display: flex;
    align-items: flex-end;
}

@media screen and (max-width: 539px) {
    .footer .layout-footer-top {
        display: none;
    }
}

/* Footer branding */
.footer .block-system-branding-block__logo {
    display: flex;
    align-items: center;
}

.footer .block-system-branding-block .site-logo {
    margin-right: 18px;
    display: block;
}

.footer .block-system-branding-block .site-name {
    font-family: Guardian Sans, sans-serif;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 5px;
}

@media (min-width: 1040px) {
    .footer .block-system-branding-block .site-name {
        font-size: 30px;
    }
}

.footer .block-system-branding-block .site-slogan {
    font-family: Guardian Sans, sans-serif;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .01em;
}

@media (min-width: 800px) {
    .footer .block-system-branding-block .site-slogan {
        font-size: 13px;
    }
}

/* Footer menu */
.footer .menu--footer .menu {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 1040px) {
    .footer .menu--footer .menu {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (min-width: 1440px) {
    .footer .menu--footer .menu {
        font-size: 18px;
        line-height: 1.6;
    }
}

.footer .menu--footer a {
    color: inherit;
}

.footer .menu--footer a:hover {
    border-bottom: 1px solid #fff;
}

.footer .block-simple-blockfooter-address,
.footer .menu--footer {
    margin-bottom: 32px;
}

@media (min-width: 540px) {
    .footer .block-simple-blockfooter-address,
    .footer .menu--footer {
        margin-bottom: 36px;
    }
}

@media (min-width: 1040px) {
    .footer .block-simple-blockfooter-address,
    .footer .menu--footer {
        margin-bottom: 40px;
    }
}

.footer .block-simple-blockfooter-address,
#block-footeraddress {
    padding-bottom: 17px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

@media (min-width: 800px) {
    .footer .block-simple-blockfooter-address {
        padding-bottom: 0;
    }
}

@media (min-width: 1040px) {
    .footer .block-simple-blockfooter-address,
    #block-footeraddress {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (min-width: 1440px) {
    .footer .block-simple-blockfooter-address,
    #block-footeraddress {
        font-size: 18px;
        line-height: 1.6;
    }
}

.footer .block-simple-blockfooter-address__content {
    position: relative;
}

@media (min-width: 800px) {
    .footer .block-simple-blockfooter-address__content {
        padding-left: 32px;
    }

    .footer .block-simple-blockfooter-address__content::before {
        position: absolute;
        top: 2px;
        left: 0;
        display: block;
        width: 24px;
        height: 24px;
        content: "";
        background: url(images/pin.svg) no-repeat;
    }
}

.footer .block-simple-blockfooter-address__content p {
    margin: 0;
}

.footer .block-simple-blockfooter-copyrights {
    font-size: 11px;
    line-height: 1.6;
    color: #fff;
    margin-top: -2em;
    margin-left: 0;
    margin-bottom: 1em;
}

@media (min-width: 540px) {
    .footer .block-simple-blockfooter-copyrights {
        margin-top: -53px;
    }
}

@media (min-width: 800px) {
    .footer .block-simple-blockfooter-copyrights {
        margin-top: 0;
        margin-left: 0;
    }
}

@media (min-width: 1040px) {
    .footer .block-simple-blockfooter-copyrights {
        font-size: 13px;
    }
}

/* Social media links */
.footer-social-media-links {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.footer-social-media-links a {
    font-size: 0;
    line-height: 0;
    color: transparent;
    margin-right: 20px;
    margin-bottom: 5px;
}

.footer-social-media-links .twitter {
    display: block;
    width: 24px;
    height: 24px;
    background: url(images/twitter-white.svg) no-repeat;
    transition: background .3s;
}

.footer-social-media-links .twitter:hover {
    background: url(images/twitter-gray.svg) no-repeat;
}

.footer-social-media-links .facebook {
    display: block;
    width: 24px;
    height: 24px;
    background: url(images/facebook-white.svg) no-repeat;
    transition: background .3s;
}

.footer-social-media-links .facebook:hover {
    background: url(images/facebook-gray.svg) no-repeat;
}

.footer-social-media-links .youtube {
    display: block;
    width: 24px;
    height: 24px;
    background: url(images/youtube-white.svg) no-repeat;
    transition: background .3s;
}

.footer-social-media-links .youtube:hover {
    background: url(images/youtube-gray.svg) no-repeat;
}

.footer-social-media-links .instagram {
    display: block;
    width: 24px;
    height: 24px;
    background: url(images/instagram-white.svg) no-repeat;
    transition: background .3s;
}

.footer-social-media-links .instagram:hover {
    background: url(images/instagram-gray.svg) no-repeat;
}

.footer-social-media-links .linkedin {
    display: block;
    width: 24px;
    height: 24px;
    background: url(images/linkedin-white.svg) no-repeat;
    transition: background .3s;
}

.footer-social-media-links .linkedin:hover {
    background: url(images/linkedin-gray.svg) no-repeat;
}

.footer-social-media-links .bluesky {
    display: block;
    width: 24px;
    height: 24px;
    background: url(images/bluesky-white.svg) no-repeat;
    transition: background .3s;
}

.footer-social-media-links .bluesky:hover {
    background: url(images/bluesky-gray.svg) no-repeat;
}

.menu-item {
  margin: 0;
  padding-top: 0.2em;
}

/* ==========================================================================
   GIVING FORM STYLES
   Imported from assets_v2020/assets/giving.css
   ========================================================================== */

html {
	font-size: 18px;
	line-height: 1.6;
	font-weight: 400;
	letter-spacing: 0;
}

/* Reset fieldset default styles for accessibility grouping */
fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

/* Accessible focus indicators for keyboard navigation */
#form-container input:focus-visible,
#form-container select:focus-visible,
#form-container textarea:focus-visible,
#form-container button:focus-visible,
#form-container a:focus-visible,
.next-step-btn:focus-visible {
	outline: 2px solid #210299;
	outline-offset: 2px;
}

/* Fallback for browsers that don't support :focus-visible */
#form-container input:focus,
#form-container select:focus,
#form-container textarea:focus {
	outline: 2px solid #210299;
	outline-offset: 2px;
}

/* Remove outline on mouse focus but keep for keyboard */
#form-container input:focus:not(:focus-visible),
#form-container select:focus:not(:focus-visible),
#form-container textarea:focus:not(:focus-visible) {
	outline: none;
}

#form-container label.block {
	display: block;
	font-size: 18px;
	margin-bottom: 20px;
}

.steps {
	color: #767676;
	font-size: 16px;
	line-height: 150%;
}

.steps.active {
	color: #3704ff;
}

.next-step {
	padding: 40px 0 120px;
	text-align: center;
}

.next-step-btn {
	padding: 12px 34px;
	border-radius: 60px;
	border: 1px solid #111111;
	background: none;
	font-size: 16px;
}

.next-step-btn:hover,
.next-step-btn:active{
	background-color: #210299!important;
}

.margin-top-35 {
	margin-top: 35px;
}


.margin-top-50{
	margin-top: 50px;
}

.margin-bottom-50 {
	margin-bottom: 50px;
}

.margin-bottom-20 {
	margin-bottom: 20px;
}

.padding-bottom-50 {
	padding-bottom: 50px;
}

.padding-bottom-35 {
	padding-bottom: 35px;
}

.margin-top-50{
	padding-top: 50px;
}

.padding-bottom-75 {
	padding-bottom: 90px;
}

.font-weight-500 {
	font-weight: 500;
}

#form-container .input50 {
	padding: 22px; font-size: 14px;
	letter-spacing: 0.7px;
	width: 47%;
	margin-right: 3%;
}

#form-container .form-input-ln {
	width: 49%;
	margin-right: 0;
}

#form-container .input50-cc {
	width: 49%;
	margin-right: 0;
	padding: 22px;
	font-size: 14px;
	letter-spacing: 0.7px;
}

.clearfix {
	clear: both;
}

#form-container .input100 {
	padding: 22px;
	font-size: 14px;
	letter-spacing: 0.7px;
	width: 99.7%;
	margin-right: 2%;
}

#form-container .input100-sel {
    font-size: 14px;
    letter-spacing: 0.7px;
    width: 96%;
    margin-right: 2%;
    padding: 11px 0 11px 11px;
    margin-top: 22px;
    border: 1px solid #ccc;
}

#form-container .input100-ex {
	width: 100%;
	padding: 22px;
	font-size: 14px;
	letter-spacing: 0.7px;
	margin-right: 2%;
	margin-bottom: 60px;
}

#form-container .inline {
	display: inline-block;
	float: right;
}

#form-container .padding-right-0 {
	padding-right: 0!important;
}


#form-container .padding-left-0 {
	padding-left: 0!important;
}

p span.underline {
	display: inline-flex;
	position: relative;
}

#form-container label.no-margin {
	margin: 30px 0 0!important;
}

.margin-top-22 {
	margin-top: 22px;
}

p span.underline:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 2px;
	background: #210299;
	bottom: -5px;
	right: auto;
	contain: content;
	left: 0;
}

.row-0 {
    margin-right: 0;
    margin-left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


#form-container .col-l-12,
#form-container .col-s-12,
#form-container .col-m-12 {
	padding-right: 0;
	padding-left: 0;
}

#form-container .col-l-12.left-padding,
#form-container .col-m-12.left-padding,
#form-container .col-s-12.left-padding{
	padding-left: 6px;
}

#form-container .col-l-12.right-padding,
#form-container .col-m-12.right-padding,
#form-container .col-s-12.right-padding{
	padding-right: 6px;
}

#form-container .col-l-6.left-padding{
	padding-left: 6px;
}


#form-container .col-l-6.right-padding{
	padding-right: 6px;
}


#form-container .col-l-6.left-padding-0{
	padding-left: 0;
}

#form-container label {
	font-size: 18px;
	/*margin-right: 33px;*/
}

#form-container label i {
	font-size: 16px;
	margin-right: 33px;
}

#form-container label span.error {
	color: red;
}

#form-container input[type="checkbox"] {
	border: 1px solid #AAAAAA;
	box-sizing: border-box;
	border-radius: 2px;
	margin-right: 10px;
}

#form-container button#edit {
	padding: 12px 34px;
	border-radius: 60px;
	border: 1px solid #E6E6E6;
	background: none;
	font-size: 16px;
	color: #767676;
}

.grey-bg {
	background: #F7F7F7;
	padding: 20px 20px;
}

.border-grey {
    border-top: 1px solid #e6e6e6;
    width: 100%;
}

#form-container input.hide {
	display: none;
}


#form-container input.show {
	display: inline-flex;
}

#form-container button {
	display: inline-flex;
    background: #3704ff;
	color: white;
	flex-direction: row;
	padding: 12px 34px;
	border-radius: 60px;
	border: 0 none;
	margin-right: 5px;
	font-size: 16px;
	margin-bottom: 13px;
}

#form-container button.active {
	background: #210299;
}

#form-container label.block {
	display: block;
	font-size: 18px;
	margin-bottom: 20px;
}

#form-container {
	padding-bottom: 32px;
}

#form-container .form-row {
	margin: 40px 0;
}



#form-container .padding-top-20 {
	padding-top: 20px;
}

#form-container .text-field {
	background: #FFFFFF;
	border: 1px solid #CCCCCC;
	box-sizing: border-box;
	border-radius: 2px;
	padding: 10px;
	margin-top: 15px;
	width: 54%;
}

/* #form-container #gift_frequency input { */
/* 	margin: 10px 10px 0 12px; */
/* } */

#form-container .min-height-100 {
	min-height: 100px;
}

#form-container .min-height-130 {
	min-height: 130px;
}

#form-container #gift_purpose input {
	margin: 10px 0 0 10px;
}

#form-container .gift_details input[type="radio"] {
	margin: -2px 10px 0 0;
}

#form-container .pay_details input[type="radio"] {
	margin: 10px 10px 0 12px;
}

.gift_card_details input[type="text"] {
	margin-bottom: 13px;
}

.gift_address input[type="text"] {
	margin-bottom: 13px;
}

.gift_card_details .ccard {
	background: url(images/locked.svg) scroll center right no-repeat;
	background-size: 33px;
}

.desktop-50{
    width: 43.8888%;
    display: inline-block;
    margin-left: 30px;
}


.desktop-50 h4{
    padding-bottom: 10px;
    margin: 0;
}

/* Note: #F66A17 has 2.89:1 contrast ratio on white, which doesn't meet WCAG AA (4.5:1).
   Consider darkening to #c74c00 for 4.59:1 contrast if visual change is acceptable. */
.desktop-50 p{
	color: #F66A17;
	margin-bottom: 40px;
}

#info-window{
    display: block;
    height: 40px;
}

#info-window button{
    float: right;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid #F66A17;
    background: transparent;
    color: #F66A17;
}

.content-wrap{
	height: fit-content;
}



@media screen and (max-width: 799px){
	.mobile-100{
		width: 99.9998%;
	}

	.desktop-50{
		margin-left: 0px;
		margin-bottom: 50px;
	}

	.level_details {
		overflow: auto;
	}
}

@media screen and (min-width: 799px) and (max-width: 1200px){
	.level_details {
		width: 80%!important;
	}

	.row-76 {
		margin-right: -8px;
		margin-left: -8px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: 51%;
	}
}


@media screen and (min-width: 799px) and (max-width: 1040px){
	.row-76 {
		margin-right: -8px;
		margin-left: -8px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: 76%;
	}
}

@media screen and (min-width: 541px) and (max-width: 799px){
	.level_details {
		width: 80%!important;
	}


}

@media screen and (max-width: 540px){
	.level_details{
		width: 100%!important;
	}

	#info-window button {
		padding: 0;
		line-height: 0;
	}
}

.level_details {
background: #ffffff;
    padding: 37px;
    width: 50%;
    position: fixed;
    z-index: 999;
    box-shadow: 1px 2px 18px #ccc;
    right: 0;
    top: 0;
    height: 100%;
}

#grey-bg-light{
    width: 100%;
    height: 100%;
    position: fixed;
    background: #ccc;
    opacity: 0.7;
    display: inline-flex;
    z-index: 9;
}


.level_details ul li {
	line-height: 1.6;
}

/* Visually hide checkbox but keep it accessible to screen readers */
label.checkbox input[type="checkbox"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Focus indicator for custom checkbox when input is focused */
label.checkbox input[type="checkbox"]:focus + span {
	outline: 2px solid #210299;
	outline-offset: 2px;
}

label.checkbox span {
	display: inline-block;
	border: 1px solid #BBB;
	width: 20px;
	height: 20px;
	background: white;
	vertical-align: middle;
	margin: 3px;
	position: relative;
	transition: width 0.1s, height 0.1s, margin 0.1s;
}

label.checkbox :checked+span {
	background: #210299;
	width: 24px;
	height: 24px;
	margin: 2px;
}

label.checkbox :checked+span:after {
	content: '\2714';
	font-size: 14px;
	position: absolute;
	top: 1px;
	left: 5px;
	color: white;
	box-shadow: 0 0 16px #210299;
}

@media screen and (max-width: 1200px) {
	.header .block-system-branding-block a {
		font-size: 22px;
	}
	#form-container .input50-cc {
		width: 49%;
	}
}

@media screen and (min-width: 1041px) and (max-width: 1090px) {
	#form-container .input50-cc {
		width: 48%;
	}
}

@media screen and (max-width: 1040px) {
	.font-weight-500 {
		margin-bottom: 30px;
	}
	.margin-bottom-30 {
		margin-bottom: 30px;
	}
	.menu_giving {
		display: none!important;
	}
	.header .menu--main>.menu>.menu-item {
		padding-right: 11px;
		padding-left: 11px;
	}
	.header .block-system-branding-block a {
		font-family: Guardian Sans, sans-serif;
		font-size: 18px;
	}
	.header .menu--main>.menu {
		margin-right: 0;
	}
	#form-container p.line-height-14 {
		line-height: 1.4!important;
	}

	.footer{
	    height: 663px!important;
	}
}

@media screen and (min-width: 541px) and (max-width: 799px) {

	#form-container div.col,#form-container>div>input{
		width: 100%!important;
		padding-left: 0!important;
		padding-right: 0!important;

	}

	input[name="meta[contact][first_name]"],
	input[name="xdate"]{
		margin-bottom: 12px;
	}

	input[name="meta[contact][city]"],
	input[name="meta[contact][phone]"]{
		margin-bottom: 25px;
	}


	#form-container .padding-bottom-75.min-height-100{
		padding-bottom: 0;
	}


	#form-container .inline {
		display: block;
		float: none;
	}
}

@media screen and (max-width: 540px) {
	html {
		font-size: 18px;
		line-height: 2.6;
		font-weight: 400;
		letter-spacing: 0;
	}

	.footer{
	    height: 563px!important;
	}
	.row {
		margin-right: 0;
		margin-left: 0;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	input[type="text"], input[type="email"]{
		width: 100%!important;
	}


	#form-container div.col,#form-container>div>input{
		width: 100%!important;
		padding-left: 0!important;
		padding-right: 0!important;

	}


	#form-container .input100-sel {
		padding: 11px 0 3px 11px;
	}


	html p {
		line-height: 1.6;
	}

	input[name="meta[contact][first_name]"],
	input[name="xdate"]{
		margin-bottom: 12px;
	}

	input[name="meta[contact][city]"],
	input[name="meta[contact][phone]"]{
		margin-bottom: 25px;
	}


	#form-container .padding-bottom-75.min-height-100{
		padding-bottom: 0;
	}


	#form-container .inline {
		display: block;
		float: none;
	}

	label.checkbox :checked+span:after {
		content: '\2714';
		font-size: 14px;
		position: absolute;
		top: -6px;
		left: 5px;
		color: white;
		box-shadow: none;
	}

	label.checkbox i {
		display: inline-block;
		max-width: 72%;
		margin-left: 9px;
		line-height: 18px;
		position: relative!important;
		top: -10px!important;
		contain: content!important;
	}

	label.checkbox input[type="checkbox"] + span,
	label.checkbox :checked+span{
		margin-top: -57px;
	}
}
