/*
Theme Name: WHCA
Text Domain: WHCA
Theme URI: 
Author: M Stroosnijder
Author URI: https://bluechili.nl/
Description: WHCA custom theme
Version: 1.0
Tags: 
*/

/* #Font-Face
================================================== */
@import url('../fonts/calibri/stylesheet.css');

/* #Site Styles
================================================== */
:root {
	--font-size-base: 17px;
	--font-weight-base: 300;
	--font-family-base: 'Calibri', sans-serif;
	--line-height-base: 1.3;
	--width-base: 1215px;
	--gutter-base: 15px;
	--color-black: #000;
	--color-white: #fff;
	--color-red: #e4251f;
	--color-gray: #f5f5f5;
	--color-blue: #078ecc;
	--color-skyblue: #b5ddf0;
	--color-green: #7bc6c0;
	--color-dark-green: #35afa6;
	--font-family-icon: 'icomoon';
	--font-size-h1: 40px;
	--font-size-h2: 40px;
	--font-size-h3: 30px;
	--font-size-h4: 22px;
	--font-size-h5: 20px;
	--font-size-h6: 18px;
	--line-height-heading: 1;
	--base-duration: 0.25s;
}

/* ### general ### */
* { margin: 0; padding: 0; box-sizing: border-box; }
html,
body { font-family: var(--font-family-base); font-size: var(--font-size-base); font-weight: var(--font-weight-base); line-height: var(--line-height-base); color: var(--color-black); }
body { background: var(--color-white); }
img { display: block; max-width: 100%; border: 0; }
ul,
li { list-style: none; }
:focus { outline: none; }
p { margin-bottom: 20px; }
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 { margin-bottom: 20px; font-family: var(--font-family-base); font-weight: 700; line-height: var(--line-height-heading); }
h1,
.h1 { font-size: var(--font-size-h1); }
h2,
.h2 { font-size: var(--font-size-h2); }
h3,
.h3 { font-size: var(--font-size-h3); }
h4,
.h4 { font-size: var(--font-size-h4); }
h5,
.h5 { font-size: var(--font-size-h5); }
h6,
.h6 { font-size: var(--font-size-h6); }

a[name] {
  display: block;
    position: relative;
    top: -121px;
    visibility: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-bottom: 20px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ### global classes ### */
.clear { visibility: hidden; clear: both; height: 0; line-height: 0; }
.centered { padding-right: var(--gutter-base); padding-left: var(--gutter-base); }
.button { padding: 15px 43px 13px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-family-base); font-size: var(--font-size-base); font-weight: 700; text-align: center; text-transform: uppercase; text-decoration: none !important; color: var(--color-black) !important; border: 0; border-radius: 0 35px 35px; background-color: var(--color-green); transition: var(--base-duration); }
.button:focus,
.button:hover { color: var(--color-black); background-color: var(--color-dark-green); }
.backbtn { text-decoration: none; color: var(--color-blue); display: block; padding-bottom: 25px;  }
.pdf {width: 100%;aspect-ratio: 4 / 3;}

/* ### wrapper ### */
#wrapper { padding-top: 85px; position: relative; display: block; width: 100%; min-height: 100%; overflow: clip; }

/* ### header ### */
.header { padding-top: 10px; padding-bottom: 10px; position: fixed; top: 0; z-index: 9; width: 100%; background-color: var(--color-white); transition: var(--base-duration); }
.header:before { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; background-color: var(--color-white); content: ''; }
.header-logo { position: relative; z-index: 2; display: inline-flex; width: 150px; }
.header.sticky { box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1); }

/* ### header-menu ### */
.header-menu { padding: 120px 20px 50px; position: fixed; top: 0; left: 0; opacity: 0; visibility: hidden; width: 100%; height: 100vh; background-color: var(--color-white); transition: var(--base-duration); overflow-y: scroll; }
.header-menu li { margin-bottom: 10px; }
.header-menu li:last-of-type { margin-bottom: 0; }
.header-menu li > a { font-size: 20px; font-weight: 700; text-decoration: none; color: var(--color-black); transition: var(--base-duration); }
.header-menu li > a:focus,
.header-menu li > a:hover { color: var(--color-blue); }
.header-menu .active { opacity: 1; visibility: visible; color: var(--color-blue); }

/* ### mobileMenu ### */
.mobileMenu { position: absolute; top: 50%; right: 15px; z-index: 15; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; transform: translateY(-50%); }
.mobileMenu span { position: relative; display: block; width: 26px; height: 4px; border-radius: 5px; background: var(--color-black); transition: var(--base-duration); }
.mobileMenu span:before,
.mobileMenu span:after { position: absolute; left: 0; width: 100%; height: 4px; border-radius: 5px; background-color: var(--color-black); transition: var(--base-duration); content: ''; }
.mobileMenu span:before { top: -9px; }
.mobileMenu span:after { bottom: -9px; }
.mobileMenu.active span { background: none; }
.mobileMenu.active span:before { top: auto; transform: rotate(45deg); }
.mobileMenu.active span:after { bottom: auto; transform: rotate(-45deg); }

/* ### main ### */
main { width: 100%; }

/* ### hero ### */
.hero { padding-top: 100px; padding-bottom: 46px; position: relative; overflow: hidden; }
.hero:before { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(25, 42, 49, 0.18) 0%, rgba(0, 0, 0, 0) 100%); content: ''; pointer-events: none; }
.hero-text { position: relative; z-index: 2; max-width: 800px; color: var(--color-white); }
.hero-text h1 { color: inherit; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-shape { position: absolute; bottom: -155px; left: -148px; z-index: 1; opacity: 0.5; width: 300px; pointer-events: none; }
.hero-shape.shape-top { top: -146px; right: -151px; bottom: auto; left: auto; width: 350px; }
.hero-shape img { width: 100%; }

/* ### banner ### */
.banner { position: relative; overflow: hidden; height: 300px; }
.banner-bg { width: 100%; height: 100%; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-shape { position: absolute; bottom: -155px; left: -148px; z-index: 1; opacity: 0.5; width: 300px; pointer-events: none; }
.banner-shape.shape-top { top: -146px; right: -151px; bottom: auto; left: auto; width: 350px; }
.banner-shape img { width: 100%; }

/* ### action ### */
.action { padding-top: 70px; padding-bottom: 70px; position: relative; background-color: var(--color-gray); overflow: hidden; }
.action-holder { position: relative; z-index: 1;}
.action-left { margin-bottom: 30px; }
.action-text { margin-bottom: 40px; }
.action-shape { position: absolute; bottom: -164px; left: -152px; width: 400px; pointer-events: none; opacity: 0.5; }
.action-shape img { width: 100%; }
.action-text a { text-decoration: none; color: #078ECC }
.action-text a:hover { text-decoration: underline }
.action-text ul { margin-bottom: 25px; margin-top: 25px; padding-left: 10px; }
.action-text li { list-style: disc; margin-left: 25px; }

/* ### card-action ### */
.card-action { margin-bottom: 30px; display: block; text-decoration: none; color: var(--color-black); background-color: var(--color-white); box-shadow: 0 4px 8px 0 rgba(123, 198, 192, 0.2); }
.card-action:hover { transform: translate(2px, -2px); box-shadow: 0 6px 10px 0 rgba(123, 198, 192, 0.3);  }
.card-action-image img { width: 100%; }
.card-action-text { padding: 20px; }
.card-action-text p:last-of-type { margin-bottom: 0; }
.card-action-text p strong { font-size: 18px; font-weight: 700; color: var(--color-red); }

/* ### article ### */
.article { padding-top: 50px; padding-bottom: 2px; padding-left: 20px; background-color: var(--color-white); }

/* ### card-article ### */
.card-article { margin-bottom: 12px; display: block; text-decoration: none; color: var(--color-black); background-color: var(--color-white); }
.card-article-image img { width: 100%; }
.card-article-text { padding: 28px 20px 28px 0; font-weight: 700; }
.card-article-text p:last-of-type { margin-bottom: 0; }
.card-article-text p strong { font-size: 18px; text-transform: uppercase; color: var(--color-red); }

/* ### card-help ### */
.card-help { margin-bottom: 30px; }
.card-help-image { margin-bottom: 20px; }
.card-help-image img { width: 100%; }
.action-text blockquote { font-size: 24px; font-weight: 700; font-style: italic; color: var(--color-black); }
/*.card-help-text { font-size: 24px; font-weight: 700; font-style: italic; color: var(--color-blue); }*/

/* ### card-partner ### */
.card-partner { margin-bottom: 32px; padding: 25px; background-color: var(--color-white); }
.card-partner-logo { margin-bottom: 25px; }
/*.card-partner-text h3 { text-transform: uppercase; }*/
.card-partner-text li > a { font-weight: 700; text-decoration: none; color: var(--color-blue); transition: var(--base-duration); }
.card-partner-text li > a:focus,
.card-partner-text li > a:hover { color: var(--color-black); }

/* ### card-countries ### */
.card-countries h2 { margin-bottom: 25px; position:relative;}

.card-countries-image img { width: 100%; }
.card-countries-text { padding-top: 25px; padding-bottom: 25px; }
.card-countries-text p:last-of-type { margin-bottom: 0; }
.card-countries a { text-decoration: none; color: #078ECC }
.card-countries a:hover { text-decoration: underline }
.card-countries ul { margin-bottom: 25px; margin-top: 25px; padding-left: 10px; }
.card-countries li { list-style: disc; margin-left: 25px; }

/* ### faq ### */
.faq { margin-bottom: 32px; padding-top: 6px; }
.faq h3 { margin-bottom: 21px; font-size: 28px; }
.faq-item { margin-bottom: 16px; }
.faq-title { padding: 16px 27px 13px; display: block; width: 100%; font-family: var(--font-family-base); font-size: var(--font-size-base); font-weight: 700; text-align: left; color: var(--color-white); border: 0; border-radius: 0 35px 35px; background-color: var(--color-blue); cursor: pointer; }
.faq-content { margin: 0 30px; padding: 20px; background-color: var(--color-white); }
.faq-content p:last-of-type { margin-bottom: 0; }
.faq.inner .faq-title { background-color: var(--color-green); }
.faq-content a { text-decoration: none; color: #078ECC }
.faq-content a:hover { text-decoration: underline }

/* ### card-resource ### */
.card-resource { text-decoration: none; color: var(--color-black); margin-bottom: 36px; padding: 25px; background-color: var(--color-white); box-shadow: 0 4px 8px 0 rgba(123, 198, 192, 0.3); }
.card-resource:hover { transform: translate(2px, -2px); box-shadow: 0 6px 10px 0 rgba(123, 198, 192, 0.3); }
.card-resource-row { margin-bottom: 15px; }
.card-resource-row:last-of-type { margin-bottom: 0; }
.card-resource-image { margin-bottom: 25px; }
.card-resource-image img { width: 100%; }
.card-resource-text h4 { margin-bottom: 2px; font-size: 28px; }
.card-resource-text em { margin-bottom: 19px; display: block; font-size: 15px; }
.card-resource-text p:last-of-type { margin-bottom: 0; }
.card-resource.inner { margin-bottom: 20px; }
.card-resource.inner .card-resource-text h4 { font-size: 17px; }
.card-resource.inner .card-resource-text em { margin-bottom: 14px; }

.card-resource-f { text-decoration: none; color: var(--color-black); margin-bottom: 36px; padding: 25px; background-color: var(--color-white); box-shadow: 0 4px 8px 0 rgba(123, 198, 192, 0.3); }
.card-resource-f:hover { text-decoration: none; color: var(--color-black); margin-bottom: 36px; padding: 25px; background-color: var(--color-white);}

/* ### partners ### */
.partners { padding-top: 25px; padding-bottom: 25px; display: grid; gap: 15px; align-items: center; grid-template-columns: repeat(2, 2fr); }
.partners img { margin: 0 auto; }

/* ### funded ### */
.funded { padding-bottom: 1px; display: flex; align-items: center; background-color: var(--color-gray); }
.funded h4 { margin-bottom: 2px; flex: 0 0 auto; width: 90px; font-size: 20px; }
.funded-logo { margin-left: 5px; }

/* ### footer ### */
.footer { padding-top: 60px; padding-bottom: 17px; position: relative; background-color: var(--color-skyblue); overflow: hidden; }
.footer-holder { margin-bottom: 30px; position: relative; z-index: 2; }
.footer-left { margin-bottom: 30px; }
.footer-title { margin-bottom: 20px; font-size: 24px; font-weight: 700; line-height: var(--line-height-heading); }
.footer-sub { margin-bottom: 19px; font-weight: 700; }
.footer-right a { margin-bottom: 22px; display: inline-flex; font-weight: 700; text-decoration: none; color: var(--color-black); transition: var(--base-duration); }
.footer-right a:focus,
.footer-right a:hover { color: var(--color-blue); }
.footer address { margin-bottom: 20px; font-style: normal; }
.footer-social-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; font-size: 29px; text-decoration: none; color: var(--color-black); border: 2px solid var(--color-black); border-radius: 50px; transition: var(--base-duration); }
.footer-social-icon:focus,
.footer-social-icon:hover { color: var(--color-white); border: 2px solid var(--color-blue); background-color: var(--color-blue); }
.footer-shape { position: absolute; top: -164px; right: -137px; opacity: 0.15; width: 500px; pointer-events: none; }
.footer-shape img { width: 100%; }

/* ### copyright ### */
.copyright { position: relative; z-index: 2; font-size: 15px; text-align: center; }
.copyright p { margin-bottom: 10px; }
.copyright ul { display: flex; justify-content: center; }
.copyright li:after { margin: 0 10px; display: inline-block; width: 1px; height: 13px; vertical-align: middle; background-color: var(--color-black); content: ''; }
.copyright li:last-of-type:after { display: none; }
.copyright li > a { text-decoration: none; color: var(--color-black); transition: var(--base-duration); }
.copyright li > a:focus,
.copyright li > a:hover { color: var(--color-blue); }

/* #Media Queries
================================================== */
@media only screen and (min-width: 480px) {
	.card-resource-image img { width: auto; }
}

@media only screen and (min-width: 768px) {
	:root {
		--font-size-h1: 52px;
		--font-size-h2: 52px;
		--font-size-h3: 38px;
		--font-size-h4: 24px;
		--line-height-heading: 0.92;
	}
	#wrapper { padding-top: 98px; }
	.mobileMenu { display: none; }
	.header { padding-top: 18px; padding-bottom: 22px; }
	.header-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
	.header-menu { padding: 0; position: relative; top: auto; left: auto; z-index: 2; opacity: 1; visibility: visible; width: auto; height: auto; background-color: transparent; overflow-y: unset; }
	.header-menu ul { display: flex; }
	.header-menu ul > li { margin-right: 30px; margin-bottom: 0; }
	.header-menu ul > li:last-of-type { margin-right: 0; }
	.header-menu li > a { font-size: 18px; }
	.hero { padding-top: 180px; }
	.banner-shape,
	.hero-shape { width: 400px; }
	.banner-shape.shape-top,
	.hero-shape.shape-top { width: 550px; }
	.banner { height: 390px; }
	.action { padding-top: 0; padding-bottom: 133px; }
	.action-holder { display: flex; flex-wrap: wrap; }
	.action-left { margin-bottom: 0; padding-top: 103px; width: 66%; }
	.action-right { padding-left: 30px; width: 34%; }
	.action-text { margin-bottom: 98px; }
	.action-text h2 { margin-bottom: 27px; }
	.action-text p { margin-bottom: 21px; }
	.action-text .button { margin-top: 20px; }
	.action-shape { bottom: -130px; left: -175px; width: 670px; }
	.action-partner { padding-top: 30px; }
	.action-partner .h4 { margin-bottom: 34px; }
	.action.inner .action-text { margin-bottom: 62px; }
	.card-action { margin-bottom: 47px; }
	.card-action-text { padding: 39px 32px 52px; }
	.card-action-text h3 { margin-bottom: 23px; }
	.article { padding-top: 113px; padding-left: 32px; }
	.article h3 { margin-bottom: 36px; }
	.card-help { margin-bottom: 53px; display: flex; flex-wrap: wrap; align-items: center; }
	.card-help-image { margin-bottom: 0; width: 44%; }
	.action-text blockquote { padding-left: 21px; }
	/*.card-help-text { padding-left: 21px; width: 56%; }*/
	.card-partner { padding: 44px 17px 40px; display: flex; }
	.card-partner-logo { margin-bottom: 0; flex: 0 0 auto; width: 210px; }
	.card-partner-logo img { margin: 0 auto; }
	.card-partner-text { padding-left: 20px; }
	.card-countries h2 { margin-bottom: 30px; }
	.card-countries-text { padding-top: 35px; padding-bottom: 35px; }
	.faq.inner { margin-bottom: 49px; }
	.faq-content { margin-right: 21px; margin-left: 40px; padding: 17px 32px 39px; }
	.card-resource { padding: 43px 33px; }
	.card-resource h3 { margin-bottom: 41px; }
	.card-resource-row { display: flex; }
	.card-resource-image { margin-bottom: 0; flex: 0 0 auto; width: 210px; }
	.card-resource-text { padding: 4px 0 0 37px; }
	.card-resource.inner .card-resource-image { width: 90px; }
	.card-resource.inner .card-resource-text { padding-left: 20px; }
	.partners { padding-top: 55px; padding-bottom: 53px; grid-template-columns: repeat(3, 3fr); }
	.funded { padding-top: 0; text-align: left; }
	.funded h4 { width: 96px; font-size: 22px; }
	.wp-block-group { padding-bottom: 35px; padding-top: 15px;}
	.footer { padding-top: 86px; }
	.footer-holder { margin-bottom: 50px; display: flex; flex-wrap: wrap; }
	.footer-left { margin-bottom: 0; padding-right: 30px; width: 50%; }
	.footer-left p { margin-bottom: 48px; max-width: 431px; }
	.footer-right { margin-left: auto; width: 50%; max-width: 384px; }
	.footer-title { margin-bottom: 24px; font-size: 28px; }
	.footer address { margin-bottom: 51px; }
	.footer-shape { right: -350px; width: 894px; }
	.copyright { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.copyright p { margin-bottom: 0; }
}

@media only screen and (min-width: 1025px) {
	#wrapper { padding-top: 120px; }
	.header-menu { transform: translateY(6px); }
	.header-menu ul > li { margin-right: 59px; }
	.header-menu li > a { font-size: 20px; }
	.header-logo { width: auto; }
	.hero { padding-top: 291px; }
	.banner-shape,
	.hero-shape { width: auto; }
	.banner { height: 500px; }
	.action-shape { bottom: -164px; left: -152px; width: 700px; }
	.action-text blockquote { font-size: 28px; }
	/*.card-help-text { font-size: 28px; }*/
	.card-partner-text { padding-top: 6px; padding-left: 57px; }
	.partners { grid-template-columns: repeat(6, 6fr); }
	.footer-holder { margin-bottom: 68px; }
}

@media only screen and (min-width: 1200px) {
	.action-right { padding-left: 62px; }
	.footer-shape { margin-left: 95px; top: -164px; right: auto; left: 50%; }
}

@media only screen and (min-width: 1245px) {
	.centered { padding-right: calc((100% - var(--width-base)) / 2); padding-left: calc((100% - var(--width-base)) / 2); }
}
