html, 
body { color: #000; font-family: "Roboto", sans-serif; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { padding: 0; width: 100%; }

/* Links */
a { transition: background-color .2s, color .2s; padding: 4px 0; }
a:hover { text-decoration: none; }
a:focus { text-decoration: none; }
button { background: #666; border: 0; color: #fff; margin: 6px 0 6px; padding: 8px 14px 6px; transition: background .2s, color .2s; }
button:hover { background: #999; }

/* Headers */
h1 { font-size: 1.4em; margin: 0; }
h2 { font-size: 1.9em; font-weight: 700; margin: 26px 0; }
h3 { font-size: 1.6em; margin: 46px 0 22px; }
h4 { font-size: 1.6em; margin: 46px 0 12px; }
h5 { font-size: 1.4em; margin: 46px 0 12px; }
h6 { font-size: 1.2em; margin: 46px 0 12px; }

/* Paragraphs & Lists */
p { line-height: 1.6em; margin: 26px 0; }
ul, 
ol { margin: 20px 0; }
li { line-height: 1.6em; margin: 12px 0; }
img { max-width: 100%; }

/* Header */
header { background-color: #1C5689; color: #fff; display: flex; height: 78px; justify-content: space-between; padding: 0 1.5%; position: fixed; width: 100%; z-index: 1; }
header > div { align-items: center; display: flex; gap: 24px; height: 100%; }
header img[src*="giampo"] { height: 50px; }
header nav { height: 100%; }
header nav ul { height: 100%; list-style: none; margin: 0 0 0 10px; padding: 0; }
header nav li { display: inline-block; height: 100%; margin: 0; vertical-align: middle; }
header nav li:before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
header nav li a { color: #fff; font-size: 1.1em; padding: 0 26px; }
header nav li a:hover,
header nav li a:focus { color: #DA691B; }
header nav li.showing { background: #da691b; }
header nav li.showing a:hover,
header nav li.showing a:focus{ color: #fff; }

#contact-links a { border-radius: 50%; display: inline-block; margin-left: 12px; padding: 0; }
#contact-links a:hover { background: #113f68; }
#contact-links img { height: 42px; }

#translation-widget { margin: 0; }
#translation-widget label { left: -9999px; position: absolute; }
#translation-widget select { background: #1C5689; border: 0; color: #fff; cursor: pointer; padding: 3px 8px 3px 4px; }
#google_translate_element { display: none; }

#skiptocontent { background-color: #fff; border-radius: 8px; box-shadow: 2px 2px 8px 0 #000; font-size: 1.3em; left: -9999px; padding: 6px 12px; position: absolute; top: -9999px; }
#skiptocontent:focus { left: 8px; top: 8px; }

#mobile-menu { background: transparent; border: 0; display: none; margin: 0; padding: 0 4px; }
#mobile-menu .line { background: #fff; display: block; height: 3px; left: 0; margin: 0 0 6px; position: relative; top: 0; transition: .3s; width: 26px; }
#mobile-menu .line.btm { margin: 0; }

.on-intro header { background: transparent; bottom: 0; display: block; height: auto; left: 0; padding: 34px;  position: fixed; width: auto; z-index: 1000; }
.on-intro header img { height: 90px;  }
.on-intro header #contact-links { display: none; }
.on-intro header nav { display: none; }
.on-intro header > div { display: block; }
.on-intro #translation-widget { margin: 12px 0; }

@media screen and (max-height: 560px) {
    .on-intro header { bottom: 0; display: block; position: absolute; }
}

.ada-element { left: -9999px; position: absolute; }

/* General Formatting */
#content > section { padding: 48px 8% 60px; }

.row { display: flex; gap: 5%; justify-content: space-between; margin: 0; }
.row:before,
.row:after { display: none; }
#content .row > div { padding: 0; }

/* Footer */
footer { background-color: #333; color: #fff; padding: 8px 3%; }

/* Homepage */

html,
body,
.container,
#content { height: 100%; }

@keyframes bg-move {
    0% { background-position: top left; }
    50% { background-position: bottom right; }
    100% { background-position: top left; }
}

#intro { animation-name: bg-move; animation-duration: 50s; animation-iteration-count: infinite; animation-timing-function:linear; background: #1C5689; background-image: url("../images/intro-bg.jpg"); background-size: cover; background-position: center; height: 100%; left: -9999px; opacity: 0; overflow: auto; padding: 0 0 40px !important; position: fixed; top: -100%; transition: .8s, left 0s ease-in-out .6s; width: 100%; z-index: 100; }
.on-intro #intro { left: 0; opacity: 1; top: 0; }
#title { align-items: flex-start; display: flex; gap: 30px; padding: 60px 5%; }
#title h1 > span { display: block; font-size: 1.4em; }
#title h1 strong { font-size: 1.4em; }
#title h1 > span > * { background: rgba(12,59,101,.75); color: #fff; display: inline-block; margin-top: 16px; padding: 16px 18px; }
#title p { background: rgba(12,59,101,.75); color: #fff; font-size: 1.1em; margin: 16px 0 0; padding: 14px 18px; }
#intro > a { background: #DA691B; border-radius: 80px 0 0 80px; bottom: 54px; color: #fff; font-size: 1.3em; font-weight: 700; padding: 14px 40px 14px 34px; position: absolute; right: 0; transition: .3s; }
#intro > a img { margin: -2px 6px 0 0; }
#intro > a:hover,
#intro > a:focus { background: #c1570e; padding-right: 56px; }

@keyframes cycle {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

#talk-cycle { flex-shrink: 0; position: relative; width: 250px; }
#talk-cycle img[src*="nocycle"] { width: 100%; }
#talk-cycle img[src*="/cycle"] { animation-name: cycle; animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: linear; left: 116px; position: absolute; top: 96px; }

@media screen and (max-height: 560px) {
    #intro > a { bottom: 0; display: block; position: relative; float: right; }
}

#funding-selection { background-image: url("../images/select-bg.jpg"); background-position: bottom; background-size: cover; min-height: 100%; padding: 128px 12% 60px !important; text-align: center; }
.on-intro #funding-selection { display: none; }
#funding-selection p { color: #032640; font-size: 1.3em; margin-bottom: 64px; position: relative; }
#funding-selection p span { position: relative;  }
#funding-selection p:before { background: rgba(255,255,255,.8); box-shadow: 0 0 26px 82px rgba(255,255,255,.8); content: ""; height: 8px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 90%; }
#funding-selection a { background: #1C5689; border-radius: 50%; color: #fff; display: inline-block; font-size: 1.6em; height: 260px; line-height: 1.2em; margin: 0 26px; padding: 40px 36px 0; position: relative; text-align: center; vertical-align: top; width: 260px; }
#funding-selection a:hover,
#funding-selection a:focus { background: #0e3f6a; }
#funding-selection a img { display: block; height: 90px; margin: 0 auto 14px; position: relative; }
#funding-selection a span { position: relative; }

@keyframes pulse {
    0% { height: 100%; opacity: .5; width: 100%; }
    50% { height: 110%; opacity: 1; width: 110%; }
    100% { height: 120%; opacity: 0; width: 120%; }
}

#funding-selection a:before { animation-name: pulse; animation-duration: 1.1s; animation-iteration-count: infinite; animation-timing-function: linear; background: rgba(28,86,137,.4); border-radius: 50%; content: ""; display: none; height: 100%; left: 50%; position: absolute; top: 50%; transform: translateY(-50%) translateX(-50%); width: 100%;}
#funding-selection a:hover:before { display: block; }

.funding-section { display: none; min-height: 100%; overflow-x: hidden; padding: 78px 0 0 !important; }
.funding-section > div { min-height: 100%; width: 50%; }
.funding-section > div:first-of-type { background-image: url("../images/select-bg.jpg"); position: relative; }
.funding-section > div:first-of-type * { position: relative; }
.funding-section > div:first-of-type:before { background-image: linear-gradient(to bottom right, #fff, rgba(255,255,255,.6)); content: ""; height: 100%; position: absolute; width: 100%; }
.funding-section > div { left: -10%; opacity: 0; position: relative; }
.funding-section > div:last-of-type { background: #1C5689; background-image: url("../images/rank-bg.jpg"); background-size: cover; background-position: center; color: #fff; left: 100%; padding: 32px 3% 44px !important; }
.funding-section > div:last-of-type { left: 10%; opacity: 0; }
.funding-section h2 { background-color: #1c5689; height: 290px; margin: 0; }
.funding-section h2 img { height: 100%; object-fit: cover; object-position: center; position: absolute !important; width: 100%; }
.funding-section h2 span { background: #D4F0F8; border-radius: 0 10px 10px 0; color: #1c5689; display: inline-block; margin-top: 44px; max-width: 90%; padding: 14px 24px; }

.submit-projects { background: #DA691B; border-radius: 70px; display: none; font-size: 1.2em; margin-top: 24px; padding: 10px 24px; }
.submit-projects :hover { background: #b5500b; }

.actively-funding #funding-selection { display: none; }
.funding-section.active { display: flex; }
.funding-section.animate > div { left: 0; opacity: 1; transition: .8s; }

.project-section { display: none; opacity: 0; padding: 0 !important; }
.project-section.showing { display: block; }
.project-section.animate { opacity: 1; transition: opacity .4s; }

.project-info { align-items: flex-start; display: flex; gap: 3%; padding: 44px 6% !important; }
.project-info h3 { color: #1C5689; font-weight: 700; margin: 0; }
.project-info p { font-size: 1.1em; margin: 18px 0; }
.subdetails { background: #D4F0F8; border-radius: 10px; flex-shrink: 0; padding: 22px 32px; width: 36%; }
.subdetails hr { border-color: #C5D1E3; }
.subdetails a { color: #1C5689; font-size: 1.1em; font-weight: 700; }
.subdetails a:hover { color: #093459; }
.subdetails a img { margin-right: 4px; }

.project-traversal { bottom: 44px; display: flex; justify-content: space-between; margin-top: 34px; padding: 0 6%; position: absolute !important; width: 100%;}
.project-traversal button { background: #1C5689; border-radius: 24px; color: #fff; font-size: 1.2em; padding: 10px 20px; }
.project-traversal button img { margin-left: 8px; }
.project-traversal button:hover { background: #11416c; }
.project-traversal .prev { background: #4B6276; }
.project-traversal .prev:hover { background: #394d5f; }
.project-traversal .prev img { transform: rotate(180deg); margin: 0 8px 0 0; }

.budget-info { align-items: center; display: flex; flex-wrap: wrap; font-size: 1.4em; font-weight: 700; justify-content: space-between; }
.budget-info > div { margin: 6px; }
.total-budget { background: #D4F0F8; border-radius: 10px; color: #1C5689; padding: 5px 10px; }
.your-budget span { background: #DA691B; border-radius: 10px; color: #fff; margin-left: 8px; padding: 5px 10px; }

.drag-box,
.projects { border-radius: 10px; list-style: none; min-height: 54px; padding: 0; }
.drag-box { border: 2px dotted #fff; padding: 0 12px; }
.projects { margin-bottom: 0; }
.project { background: #52606D; border-radius: 10px; color: #868E95; cursor: pointer; display: flex; font-size: 1.2em; font-weight: 700; justify-content: space-between; margin: 12px 0; padding: 0; user-select: none; -webkit-user-select: none; -ms-user-select: none; }
.project strong { padding: 8px 18px 8px 54px; position: relative; }
.project div { background: #868E95; border-radius: 10px; color: #476D8E; content: "1"; display: inline-block; height: 32px; left: 9px; line-height: 32px; margin-right: 14px; padding: 0 5px; position: absolute; text-align: center; width: 32px; }
.project > span { background: #68797E; border-radius: 0 10px 10px 0; color: #566570; flex-shrink: 0; padding: 8px 14px; right: 0; top: 0; }
.project button { background: transparent;  line-height: 0;margin: 0 5px; opacity: .4; padding: 0; }
.project .see-info { border-radius: 50%; }
.project .see-info:before { border: 2px solid #fff; border-radius: 50%; content: "i"; display: inline-block; font-size: .9em; font-weight: 400; height: 26px; line-height: 26px; text-align: center; width: 26px; }
.project .move img { height: 24px; }

.projects.empty { border: 2px dotted #fff; }

.project.details .see-info { background: #02172a; border-radius: 50%; }

.drag-box .project { background: #1C5689; color: #fff; }
.drag-box .project div { background: #fff; color: #1c5689; }
.drag-box .project > span { background: #D4F0F8; color: #1c5689; }
.drag-box .project button { opacity: 1; }

.response-thanks { display: none; font-size: 1.2em; font-weight: 700; padding: 0 14px; }

/* Modal Window */
.hdr-modal-showing { overflow: hidden; }
.hdr-launch-modal { display: none; }
.has-hdr-modals .hdr-launch-modal { display: block; }

.hdr-close-modal { display: none; }
.hdr-modal-window .hdr-close-modal span { left: -9999px; position: absolute; }
.hdr-modal-window > .hdr-close-modal { background-color: rgba(0,0,0,.75); border: 0; cursor: pointer; display: block; height: 100%; left: 0; margin: 0; position: absolute; top: 0; width: 100%; }
.hdr-modal-window > div .hdr-close-modal { background: transparent; border: 0; color: #fff; font-size: 3em; line-height: .6em; padding: 0 5px 3px; position: fixed; right: 10px; top: 12px; transition: color .2s; }
.hdr-modal-window > div .hdr-close-modal:hover { color: #bbb; }

.hdr-modal-window { display: none; height: 100%; left: 0; position: fixed; top: -100%; transition: 0; width: 100%; z-index: 1000; }
.hdr-modal-window.showing { top: 0; transition: top 1s; }
.hdr-modal-window > div > div { background-color: #fff; box-shadow: 4px 13px 28px 0 #111; left: 50%; max-height: 82%; overflow: auto; padding: 42px 0; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 84%; }
.hdr-modal-window > div img { width: 100%; }
.hdr-modal-window .hdr-modal-title { margin: 36px 28px 6px 0; }
.hdr-modal-window :focus { border-radius: 2px; outline: 2px groove #eee; }

@media screen and (max-width: 790px) {
    .hdr-modal-window .hdr-modal-title { margin: 24px 20px 0 0; }
    .hdr-modal-window > div { max-height: 82%; overflow: auto; padding: 44px 24px; width: 84%; }
    .hdr-modal-window > div img { max-width: 8800%; width: 790px; }
    .hdr-modal-window > div .hdr-close-modal { font-size: 2em; }
}

/************ Responsive ****************************************************************************************/

@media screen and (min-width: 2030px) {
    html,body { font-size: 19px; }
    p { line-height: 1.8em; margin: 32px 0; }

    #funding-selection a { height: 300px; margin: 0 38px; width: 300px;  }
}

@media screen and (max-width: 1300px) {
    #content > section { padding: 32px 6%; }

    header img[src*="giampo"] { height: 44px; }
    .on-intro header img[src*="giampo"] { height: 64px; }
    header nav li a { font-size: 1em; padding: 0 18px; }
    #contact-links img { height: 34px; }

    #talk-cycle { width: 180px; }
    #talk-cycle img[src*="/cycle"] { left: 88px; top: 74px; width: 44px; }

    #funding-selection { padding: 118px 9% 60px !important; }
    #funding-selection a { font-size: 1.3em; height: 216px; margin: 0 16px; padding: 36px 32px 0; width: 216px; }
    #funding-selection a img { height: 74px; }

    .funding-section h2 { font-size: 1.6em; }
    .project-info h3 { font-size: 1.3em; }
    .project-info p { font-size: 1em; }
    .funding-section > div:last-of-type button { font-size: 1em; }
    .subdetails a { font-size: 1em; }
    .budget-info { font-size: 1.2em; }
    .subdetails { padding: 18px; }
    .project { font-size: 1.1em; }
    .project-traversal a { font-size: 1em; }

    footer { padding: 1px 3%; }
}

@media screen and (max-width: 992px) {
    h1 { font-size: 1.2em; }
    h2 { font-size: 1.8em; margin: 16px 0; }
    h3 { font-size: 1.6em; margin: 24px 0 0; }
    h4 { font-size: 1.4em; margin: 24px 0 0; }
    h5 { font-size: 1.2em; margin: 24px 0 0; }
    h6 { font-size: 1.1em; margin: 24px 0 0; }
    p, li { font-size: .9em; line-height: 1.4em; }
    button { font-size: .9em; padding: 4px 10px; }

    #content > section { padding: 22px 6%; }
    .row { display: block; }

    #title { padding: 30px 4%; }

    /* Header */
    #mobile-menu { display: block; }
    .menu-opened #mobile-menu .line.top { top: 8px; transform: rotate(45deg); }
    .menu-opened #mobile-menu .line.mid { opacity: 0; transform: rotate(90deg); }
    .menu-opened #mobile-menu .line.btm { top: -10px; transform: rotate(-45deg); }
    
    header { height: 64px; padding: 12px 16px; }
    header nav { height: auto; position: relative; }
    header nav ul { background-color: #1C5689; box-shadow: 2px 4px 8px -4px #000; height: auto; left: -9999px; margin-top: 18px; opacity: 0; position: absolute; top: 100%; width: 200px; z-index: 1; }
    header nav li { border-top: 1px solid #fff; display: block; height: auto; margin: 0; padding: 8px 4px; text-align: center; width: 100%; }
    .menu-opened header nav ul { left: -18px; opacity: 1; transition: right 0s, opacity .2s; }

    #translation-widget { font-size: .9em; }
    
    #funding-selection { padding: 90px 6% 46px !important; }
    #funding-selection p { font-size: 1.2em; margin-bottom: 36px; }
    #funding-selection p:before { box-shadow: 0 0 26px 62px rgba(255,255,255,.8); }
    #funding-selection a { font-size: 1.2em; height: 186px; margin: 0 12px; padding: 26px 32px 0; width: 186px; }
    #funding-selection a img { height: 64px; }

    .funding-section { flex-wrap: wrap; padding-top: 64px !important; }
    .funding-section > div { width: 100%; }
    .funding-section h2 { font-size: 1.4em; height: auto; }
    .funding-section h2 span { margin: 34px 0; }
    .project-info { padding-top: 24px !important; padding-bottom: 18px !important; }
    .funding-section > div:first-of-type > div { padding: 0 3%; }

    .funding-section h2 { font-size: 1.6em; }
    .project-info h3 { font-size: 1.1em; }
    .project-info p { font-size: 1em; }
    .funding-section > div:last-of-type button { font-size: 1em; }
    .subdetails a { font-size: 1em; }
    .budget-info { font-size: 1em; }
    .project strong { padding-bottom: 12px; }
    .project span { padding-top: 12px;  }
    .project-traversal { margin: 4px 0 20px; position: static !important; }
    .project-traversal a { font-size: .9em; }
    .project-traversal a img { height: 16px; }
}

@media screen and (max-width: 768px) {
    #content > section { padding: 16px 8%; }

    header { padding: 6px 10px; }
    header > div:last-of-type { display: block; text-align: right; }
    #contact-links a { margin-left: 4px; }
    #contact-links img { height: 28px; }
           
    #title img { width: 120px; }            
    #title h1 { font-size: 1em; }
    #title h1 > span { font-size: 1.1em; }
    #title p { font-size: .9em; }
    #intro { padding-top: 40px !important; }
    #intro > a { bottom: 0; display: block; font-size: .9em; position: relative; float: right; }
    .on-intro header { align-items: center; background: #1C5689; bottom: auto; display: flex; padding: 8px;  top: 0; width: 100%; }
    .on-intro header img[src*="giampo"] { height: 34px; }
    .on-intro #translation-widget { margin: 0; }

    #funding-selection { padding: 68px 7% 36px !important; }
    #funding-selection p { font-size: 1em; }
    #funding-selection a { margin-bottom: 18px; }

    .funding-section > div:first-of-type { font-size: .9em; }
    .project-info { display: block; }
    .subdetails { width: 100%; }
    .subdetails h3 { display: inline-block; margin: 0; }
    .subdetails p { display: inline-block; margin: 0; }
    .subdetails hr { margin: 14px 0 14px; }
    .subdetails a img { height: 20px; }
    .project-traversal { flex-wrap: wrap; margin: 20px 0; }
    .project-traversal a { margin: 4px 0; }
    .project { font-size: .9em; }

    footer { text-align: center; }
}

@media screen and (max-width: 480px) {
    header { display: block; height: 122px; padding: 8px 10px; position: static; }
    header > div { display: flex; height: auto; justify-content: space-between; margin-bottom: 8px; width: 100%; }
    header > div:last-of-type { text-align: center; }
    header nav ul { left: auto; right: 9999px; }
    .menu-opened header nav ul { left: auto; right: 0; }
    #contact-links { margin-bottom: 4px; }
    
    .on-intro header { height: auto; padding: 8px; }
    .on-intro header > div { margin: 0; }
    .on-intro #translation-widget { font-size: .8em; }
    
    #funding-selection { padding: 8px 7% 30px !important; }
    
    #title { display: block; }
    #talk-cycle { width: 120px; }
    #talk-cycle img[src*="/cycle"] { left: 57px; top: 46px; width: 32px; }
        
    .funding-section { padding-top: 0 !important; }
    .funding-section h2 { font-size: 1.4em; }
    .funding-section > div:first-of-type > div { padding: 0 7%;  }
    .funding-section > div:last-of-type { padding: 18px 7% !important; }
    .project-info p { font-size: .9em; }
    .budget-info { font-size: .85em; }
    .project { display: block; }
    .project strong { display: block;  padding: 8px 12px 12px 54px; }
    .project strong:before { height: 24px; left: 6px; line-height: 24px; top: 6px; width: 24px; }
    .project > span { border-radius: 0 0 10px 10px; display: block; padding: 2px 6px; }
    .project-traversal a { margin: 4px auto; }
    .project button { margin: 4px; }
    .project .see-info:before { height: 22px; line-height: 22px; width: 22px;  }
    .project .move img { height: 18px; }
}