/*

	Hope Kitchen - Main Stylesheet
	
	Author: CFRONT (SABN) 2019.
	
	Colours:

*/

html, body {
    background: none;
    padding: 0;
    min-height: 100%;
    height: 100%;
    margin: 0;
    font-family: futura-pt, sans-serif;
}

* {
    box-sizing:border-box;
}

#wrapper,
#page,
.application,
.inner{
    min-height:100%;
}

html {
    overflow-y: scroll;
}

html.hide_scroll {
    overflow-y: hidden;
}

body {
    color:#222222;
    font-size:19px;
}

h1, h2, h3, h4, h5 {
    margin:0;
    letter-spacing:1px;
    font-family: neue-kabel, sans-serif;
}

h1 {font-size:2.6rem;}
h2 {font-size:1.8rem;}
h3 {font-size:1.5rem;}
h4 {font-size:1.2rem;}
h5 {font-size:1rem;}

a {outline:none;color:#212121;transition:0.7s;}
a:hover {color:#CE4545;}

p { 
    line-height: 1.75rem;
    margin: 1.75rem 0;
}

header {
    display:flex;
    justify-content:space-between;
    position:fixed;
    box-sizing:border-box;
    top:0;
    left:0;
    width:100%;
    z-index:100;
    height: 100px;
}

header.fix {
    background:rgba(255,255,255,1);
    border-bottom:2px solid rgba(0,0,0,0.1);
}

.header-logo {
    display:block;
    width:200px;
    margin:0 1rem;
}
.header-logo img {
    display:block;
    width:100%;
    transition:0.7s;
    padding:1rem;
}
.home-page .header-logo img {
    display:none;
}
header.fix .header-logo img,
.home-page header.fix .header-logo img {
    display:block;
    height:100px;
    width:auto;
    padding:0.5rem;
}

nav {
    display:flex;
    align-items:center;
    margin:0 1rem;
}

nav a {
    display: block;
    text-decoration: none;
    font-family: neue-kabel, sans-serif;
    color: #4f4f4f;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

#navBars {
	box-sizing: border-box;
    height: 50px;
    transition: all ease 0.1s;
    padding: 5px 10px;
    position: absolute;
    right: 1rem;
    top: 26px;
	transition: all 0.7s;
    border-radius:5px;
    background:#ce4545;
    display:none;
    z-index:101;
}

.nav_bar {
    display: block;
    width: 33px;
    height: 4px;
    background: #FFFFFF;
    padding: 0;
    margin: 7px auto;
    position: relative;
    transition: all 0.7s;
}

#header.fix #navBars {
	top: 22px;
	transition: all 0.7s;
}

#header.fix #navBars .nav_bar {
	background: #FFFFFF;
}

#header.fix #navBars.popped .nav_bar {
	background:#FFFFFF;
}

#navBars.popped:hover,
#navBars:hover {
    background: #f5d63d;
    cursor: pointer;
	transition:all 0.7s;
}

#header.fix #navBars:hover .nav_bar {
	background:#FFFFFF;
}

#navBars.popped {
	padding: 3px 12px 3px 9px;
	z-index: 102;
    display:block;
    background:rgba(0,0,0,0.1);
}

#navBars.popped .nav_bar {
	transition:all 0.7s;
}

#navBars.popped .nav_bar.nb_2 {
	display:none;
}

#navBars.popped .nav_bar.nb_1 {
	-ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Safari */
    transform: rotate(45deg) translate(11px, 8px);
}

#navBars.popped .nav_bar.nb_3 {
	-ms-transform: rotate(315deg); /* IE 9 */
    -webkit-transform: rotate(315deg); /* Safari */
    transform: rotate(315deg) translate(0px, 3px);
}

#popupNav {
	position:fixed;
	top:0px;
	left:0;
	width:100%;
	z-index: 10;
	display:none;
	background:#ce4545;
	height:100vh;
    text-align: center;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    font-family: neue-haas-grotesk-display, sans-serif;
}

#popupNav img {
    width: 200px;
    margin: 1rem auto;
}

#popupNav.popped {
	
}

#popupNav ul {
	margin: 20px 60px 60px 60px;
    padding: 0;
    list-style-type: none;
    box-sizing: border-box;
    color:#FFFFFF;
}

#popupNav ul li {
    padding: 1rem 1rem 0 1rem;
    margin: 0rem 0 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}

#popupNav ul li:first-of-type {
    border:none;
}

#popupNav ul li span {
    display: block;
    margin: 5px 0 0 0;
    font-weight: 200;
    font-size: 15px;
}

#popupNav a, #popupNav ul li a {
	color:#FFFFFF;
	font-size:1.5rem;
	text-decoration:none;
	position:relative;
    letter-spacing:2px;
    font-weight:500;
}

#popupNav ul li a:after {
	content: "";
    height: 2px;
    width: 0;
    background: #FFFFFF;
    position: absolute;
    bottom: 0;
    left: 0;
}

#popupNav ul li a.link-button.lb-yellow::after {
    display:none;
}

#popupNav ul li.events_site span,
#popupNav ul li.events_site a {
    color: #5f74f1;
}

#popupNav ul li a:hover:after {
    width: 100%;
    transition: all ease 0.6s;
}

#popupNav .tel {
    font-size: 32px;
    color: #160524;
    margin: 0 auto;
}

#popupNav .logo {
    width: 300px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -150px;
}

#popupNav .logo img {
	display:block;
	width:100%;
}

.mask {
    z-index: 10001;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice {
    width: 960px;
    padding: 2rem;
    background: #F5D63D;
    position: relative;
    border-radius: 5px;
}

.notice .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.notice .close:hover {
    color: #1c222b;
    cursor: pointer;
}

.hide_scroll::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide_scroll,
.no-scrollbar {
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.flex-container {
    display:flex;
}

.hero {
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    height:90vh;
    font-family: neue-kabel, sans-serif;
}

.hero-text {
    text-align:center;
    width:100%;
    margin:0 auto;
    max-width:500px;
    background:rgba(255,255,255,0.6);
    position: relative;
    z-index: 2;
}

.hero-text p {
    font-size: 1.8rem;
    line-height: 2.5rem;
    font-weight: 500;
    margin: 0 0 2rem 0;
}

.hero-logo {
    display:block;
    width:320px;
    margin:0 auto;
}

.hero-scroll {
    position:absolute;
    bottom:2rem;
    left:50%;
    margin-left:-55px;
    text-align:center;
}
.hero-scroll:hover {cursor:pointer;}

.hero-scroll span {
    display:block;
}

.hero-images {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
}

.hero-images img {
    position:absolute;
    display:block;
    width:100%;
    max-width:240px;
    transition:0.5s;
}

.hero-images img:nth-of-type(1) { left:1%; top:8%;}
.hero-images img:nth-of-type(2) { left:21%; top:3%; }
.hero-images img:nth-of-type(3) { left:70%; top:12%; }
.hero-images img:nth-of-type(4) { left:5%; top:40%; }
.hero-images img:nth-of-type(5) { left:75%; top:42%; }
.hero-images img:nth-of-type(6) { left:1%; top:70%; }
.hero-images img:nth-of-type(7) { left:25%; top:75%; }
.hero-images img:nth-of-type(8) { left:70%; top:72%; }

.page-content {
    margin-top:140px;
}

.page-content h1 {
    
}

.about-us-page .page-content h1 {
    margin:2rem 0 0 0;
}

.inner {
    width: 95%;
    margin: 0 auto;
    max-width: 1280px;
}

.col-1-2,
.col-1-3 {
    box-sizing:border-box;
}

.col-1-2 {
    width:50%;
}
.col-2-3 { width:66.667%;}
.col-1-3 {
    width:33.333%;
}

.col-1-2 .fc-content {
    padding:4rem;
}

.blue-bg {
    background:#78C5D6;
    color:#FFFFFF;
}

a.link-button {
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    background: #EDEDED;
    color: #999999;
    font-size: 1rem;
    text-decoration:none;
    font-family: neue-kabel, sans-serif;
    transition:0.7s;
    display:inline-block;
}

a.lb-yellow {
    background:#F5D63D;
    color:#333333;
}

a.lb-blue {
    background:#78C5D6;
    color:#FFFFFF;
}

a.lb-orange {
    background:#f28b33;
    color:#FFF;
}

a.lb-orange:hover {
    background:#bf62a6;
}

a.lb-yellow:hover {
    background:#f28b33;
}

.donate-page .flex-container.fc-donations {
    justify-content:space-between;
    padding:0 0 3rem 0;
}

.donate-page .fc-donations .col-1-3 {
    width:30%;
    padding:2rem;
    background:#EDEDED;
    border-radius:5px;
    margin:1rem 0;
}

a.lb-blue:hover {
    background:#4683a5;
}

.centred-row {
    padding:2rem;
    text-align:center;
}
.centred-row h3 {
    margin: 1rem 0 0.5rem 0;
}

.centred-row h4 {
    margin:0 0 2rem 0;
}

a.lb-orange .fal {
    margin-right:0.5rem;
}

a.lb-trans-black-02 {
    background:rgba(0,0,0,0.2);
    color:#FFFFFF;
    font-weight:600;
    letter-spacing:1px;
}

a.lb-trans-black-02:hover {
    background:rgba(255,255,255,0.2);
}

#galleryList {
    display:-webkit-flex;
    display:-webkit-box;
    display:-moz-flex;
    display:-moz-box;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
}

#galleryList a {
    text-decoration:none;
    display:block;
	width: calc(100% / 3 * 1);
    padding:20px;
    transition:0.7s;
}

#galleryList a:hover {
    opacity:0.8;
}

.flex-container.fc-home-news {
        flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.flex-container.fc-home-news > * {
	width:calc(33.333% - 1rem);
	margin:0.5rem
}

.news-label {
    margin-right:1rem;
}

.news-label h3 {
    font-weight:300;
}

.cr-news {
    background:#f5d63d;
}

#galleryList a img {
    display:block;
    width:100%;
}

footer {
    background:#CE4545;
    color:#FFFFFF;
    position: relative;
    z-index: 2;
}

.footer-nav {
    list-style-type:none;
    margin:0;
    padding:0;
}

.footer-nav li {

}

footer .flex-container {
    align-items:center;
}

footer .flex-container .col-1-3 > div {
    padding:2rem;
}

.footer-logo {
    text-align:center;
}

.footer-logo img {
    display:block;
    margin:0 auto 1rem auto;
    width: 260px;
}

.footer-address {
    text-align:right;
    font-size:1rem;
}

.footer-nav li a {
    text-decoration:none;
    color:#FFFFFF;
    padding:0.5rem 0;
    transition:0.7s;
}

.footer-nav li a:hover {text-decoration:underline;}
.footer-base {
    padding:1rem;
    border-top:1px solid rgba(255,255,255,0.2);
}
.footer-base a {
    text-decoration:none;
    color:#FFFFFF;
}

.footer-base .legal a {
    margin-left:1rem;
}
.credit {text-align:right;}

.supporter-row .flex-container {
    justify-content: space-around;
    padding: 3rem;
}

.stories-row .flex-container {flex-wrap:wrap;}

.supporter-row a {
    display:block;
    max-height:80px;
}

.supporter-row img {
    display:block;
    margin:0 auto;
    height:100%;
    max-height:80px;
}

.stories-row {
    background: #bf62a6;
    color: #FFFFFF;
}

.stories-row h2 {
    display:block;
    padding:2rem;
    text-align:center;
}

.photo-gallery {
    padding:2rem 0;
}

#contactFormContainer label {font-family: neue-kabel, sans-serif; font-size:1rem;display:block;}

.form-row {margin:1rem 0;}

#contactFormContainer input,
#contactFormContainer textarea {
    font-family: neue-kabel, sans-serif;
    font-size:1.2rem;
    padding:0.5rem 1rem;
    background:#EDEDED;
    margin:0.5rem 0;
    border:0;
    width:90%;
    transition:0.7s;
    border-bottom:2px solid transparent;
    outline:none;
    border-radius:3px;
}

#contactFormContainer textarea {
    height:80px;
}

#contactFormContainer input:focus,
#contactFormContainer textarea:focus {
    background:#f1f1f1;
    border-bottom:2px solid #212121;
}

#contactFormContainer input[type=submit] {
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    background: #CE4545;
    color: #FFFFFF;
    font-size: 1rem;
    text-decoration: none;
    font-family: neue-kabel, sans-serif;
    transition: 0.7s;
    display: inline-block;
    cursor:pointer;
    width:200px;
}

#contactFormContainer input[type=submit]:hover {
    background:#78C5D6;
    color:#FFFFFF;
}

.contact-marker {
    display: inline-block;
    border: 2px solid #212121;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    color: #212121;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: center;
    margin-right: 0.5rem;
}

.contact-marker i {
    position:relative;
    top:-1px;
}

.contact-us .col-1-2:nth-of-type(1){
    padding:2rem;
}
.contact-us .col-1-2:nth-of-type(2){
    padding-left:2rem;
}

.contact-us h1 {
    letter-spacing: 1px;
}

.feature-image img {
    width:100%;
    display:block;
}

.feature-image {
    right: 0;
    position:relative;
}

.feature-image h1 {
    position:absolute;
    bottom: -70px;
    left: 1rem;
}

.fc-sections {
    align-items:center;
}

.about-us-page .flex-container .col-1-2 {
    padding:2rem;
}
.about-us-page .flex-container .col-1-2.text-content {display:flex;justify-content:center; }
.about-us-page .flex-container .col-1-2.text-content > div {
    width:80%;
}

.about-us-page .page-content .flex-container:nth-of-type(2n+1) {
    flex-direction:row-reverse;
}

.flip-row {
    flex-direction:row-reverse;
}

.timeline {
    align-items: center;
    position:relative;
}

.timeline-point {
    background: #ededed;
    border-radius: 80px;
    width: 130px;
    padding: 50px 10px;
    box-sizing: border-box;
    margin: 0 35px;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    z-index:1;
}

.timeline-1 .timeline-point {
    background:#f28b33;
    color:#FFFFFF;
}

.timeline-2 .timeline-point {
    background:#78c267;
    color:#FFFFFF;
}

.timeline-3 .timeline-point {
    background:#ce4545;
    color:#FFFFFF;
}

.timeline .col-1-2 {
    width: calc(50% - 100px);
    padding: 2rem;
 }

 .timeline::after {
    content:"";
    display:block;
    width:5px;
    background:#EDEDED;
    height:150%;
    position:absolute;
    left:50%;
    top:50%;
    margin-left:-3px;
 }

 .timeline-1.timeline::after {
    background: rgb(242,139,51);
    background: linear-gradient(180deg, rgba(242,139,51,1) 0%, rgba(120,194,103,1) 100%);
}

.timeline-2.timeline::after {
    background: rgb(120,194,103);
    background: linear-gradient(180deg, rgba(120,194,103,1) 0%, rgba(206,69,69,1) 100%);
}

.timeline-3.timeline::after{
    background: rgb(206,69,69);
    background: linear-gradient(180deg, rgba(206,69,69,1) 0%, rgba(237,237,237,1) 100%);
}

 .timeline-final .timeline-point {
     display:none;
     position: relative;
     z-index:2;
 }
.timeline-final {
    position: relative;
     z-index:2;
}
 .timeline-final .col-1-2 {
    width:60%;
    margin:2rem auto;
    position: relative;
     z-index:2;
     text-align:center;
}

.about-us-page .sub-section {
    margin:2rem 0;
}

.story-page .page-content {
    margin-bottom:2rem;    
}

.yellow-row {
    background: #f5d63d;
    color: #212121;
}

.orange-row {
    background: #f28c33;
    color: #FFFFFF;
}

.green-row {
    background: #79c267;
    color: #FFFFFF;
}

.blue-row {
    background: #4683a5;
    color: #FFFFFF;
}

.purple-row {
    background: #bf62a6;
    color: #FFFFFF;
}

.grey-row {
    background: #ededed;
}

.coloured-page-header {
    padding:2rem 0;
    position:relative;
}

.coloured-page-header::after {
    content:"";
    width:60px;
    height:4px;
    position:absolute;
    bottom:0;
    background:#ededed;
    left:0;
}

.coloured-page-header.cph-blue::after {
    background:#4683a5;
}
.coloured-page-header.cph-green::after {
    background:#79c267;
}
.coloured-page-header.cph-purple::after {
    background:#bf62a6;
}
.coloured-page-header.cph-orange::after {
    background:#f28c33;
}

.links-container {
    margin-top:2rem;
}

.about-additional {
    padding:2rem;
    background:#78c5d6;
    color:#FFFFFF;
    margin:2rem 0;
}

.about-additional h2 {margin: 0 0 1rem 0;}
.about-additional .link-button {margin:1rem 0 0 0;}

.about-additional > div {margin:0.5rem 0;}

.page-content .blue-row h1 {
    margin:0;
}

.pc-story {
    text-align:left;
}

.pc-story > .inner {
    margin-bottom:4rem;
}

.pc-story h1 span {
    display:block;
}

.center-img {
    display:block;
    width:60%;
    margin:2rem auto;
}

.left-img {
    display:block;
    width:30%;
    max-width:300px;
    float:left;
    margin:0 2rem 0 0;
}

.right-img {
    display:block;
    width:30%;
    max-width:300px;
    float:right;
    margin:0 0 0 2rem;
}

.flex-container {
    flex-wrap:wrap;
}

.story-page .fc-5 {
    margin: 2rem auto;
    width: calc(95% - 2rem);
}

article .article-date {
    display:block;
    margin-bottom:2rem;
}

article {
    margin:4rem 0;
}

article h1 {
    padding:2rem 0 0 0;
}

article img {
    display:block;
    width:100%;
    margin:2rem auto;
}

.fc-5 > div {
    width:calc(25% - 1rem);
    margin:0.5rem;
    box-sizing:border-box;
    align-items:center;
    display:flex;
    background:#ededed;
    border-radius:3px;
}

.home-map {
    min-height:400px;
}

.info_content {
    padding:16px;
    max-width:300px;
}

.info_content h2 {
    font-size:20px;
    margin:6px 0;
}

.info_content h3 {
    color:#666666;
    font-size:18px;
    margin:6px 0;
}

.gm-style-iw-chr {
    position: absolute;
    top: 0;
    right: 0;
}

.stories-row .fc-5 > div {
    background:rgba(0,0,0,0.1);
    color:#FFFFFF;
}

.row-controls {
    text-align:center;
    padding:2rem;
}

.fc-5 > div > a {
    padding: 1rem;
    display: block;
    text-decoration: none;
    transition: 0.4s;
    width: 100%;
    height: 100%;
}

.fc-5 > div > a:hover {
    background:#bf62a6;
    color:#FFFFFF;
}

.stories-row .fc-5 > div > a:hover, 
.stories-row .fc-5 > div:hover {
    background:rgba(255,255,255,0.1);
}

.author {
    font-style:italic;
    font-size:1rem;
    color:#999999;
    transition: 0.4s;
}

.fc-5 > div > a:hover .author {
    color:#FFFFFF;
}

.stories-row .fc-5 > div > a h5 {color:#FFFFFF;}
.stories-row .fc-5 > div > a .author {color:#EDEDED;}

.links-page .link-item {
    opacity:0.8;
}
.links-page .link-item:hover {
    opacity:1;
    transition:0.7s;
}

.links-page .link-item a {
    align-items:center;
    margin:0.5rem 0;
    text-decoration:none;
    text-align: center;
    width: 100%;
}

.link-item {
    width: 25%;
    display: flex;
    align-items: center;
    border: 1px solid #ededed;
}

.link-item a {
    display:block;
}

.link-item a:hover {
    color:#212121;
}

.link-item h4 {
    margin:0;
}

.link-item p {
    margin:0 0 1rem 0;
}

.link-item a .supporter-logo {
    width:200px;
    margin: 0 auto;
}

.link-item a > div {
    padding:1rem;
}

.link-item a .supporter-logo img {
    display:block;
    width:100%;
}

.grid {
    display:grid;
    gap:36px;
}

.grid > div {
    padding:2rem 0;
}

.fg-2-1 {
    grid-template-columns:2fr 1fr;
}

.fg-1-2 {
    grid-template-columns:1fr 2fr;
}

.sub-sections > div > div > div {
    grid-template-columns:2fr 1fr;
}

.sub-sections > div:nth-of-type(2n+1) > div > div {
    grid-template-columns:1fr 2fr;
}

.sub-sections > div:nth-of-type(2n+1) > div > div .feature-image {
    order:-1;
}

.fg-switch-1-2 {

}

@media screen and (max-width: 1024px) {
    
    .sub-sections > div:nth-of-type(2n+1) > div > div,
    .sub-sections > div > div > div,
    .fg-2-1,
    .fg-1-2 {
        grid-template-columns:1fr;
    }

    #navBars {    
        display:block
    }

    nav {
        display:none;
    }

    .link-item {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {

    .street-table thead,
    .street-table tr:first-of-type {
        display:none;
    }

    .street-table tr {
        display:flex;
        flex-wrap:wrap;
        border-top:1px solid #CCCCCC;
        padding:6px 0;
    }

    .flex-container.fc-home-news > *,
    .street-table td {
        width:100%;
    }

    .street-table td p {
        margin:2px 0;
    }

    .mask {
        align-items: flex-start;
    }

    .notice {
        height: 100%;
        overflow-y: scroll;
    }

    .flex-container.fc-home-news,
    .flex-container {
        flex-wrap:wrap;
    }

    .hero-images img {
        transform:scale(0.8);
    }

    .donate-page .fc-donations .col-1-3,
    .col-1-2,
    .col-1-3,
    .col-2-3 {
        width:100%;
    }

    .hero {
        height: 100vh;
    }
    .hero-scroll {
        bottom: 0.5rem;
    }

    .hero-images {display:none;}

    .fc-5 > div {
            width: calc(50% - 1rem);
    }

    .supporter-row .supporter-item,
    #galleryList a {
        display:none;
    }

    .supporter-row .supporter-item:nth-of-type(1),
    #galleryList a:nth-of-type(1) {
        display:block;
    }

    #galleryList a {
            width: calc(100% / 1 * 1);
    }

    .footer-nav,
    .footer-address,
    .credit,
    .legal {
        text-align:center;
    }
    footer .flex-container .col-1-3 > div.footer-logo {padding:0 2rem;}
    .legal {margin-bottom:0.5rem;}
    .footer-base {
        font-size:0.8rem;
    }

    .timeline .col-1-2 {
        width:100%;
        order:2;
    }

    .timeline-point {
        order:1;
        margin: 2rem auto 0 auto;
    }

    .timeline::after {
        top:162px;
        height:3rem;
    }

}

@media all and (max-height: 700px) {
    .mask {
        align-items: flex-start;
    }

    .notice {
        height: 100%;
        overflow-y: scroll;
    }
}

@media screen and (max-width: 440px) {
    .link-item {
        width: 100%;
    }
}