  /*!
Theme Name: Âé¶¹ÊÓÆµ
Theme URI: http://philippines-schools-project.org/
Author: Ian Holden
Author URI: http://ianholden.co.uk/
Description: A theme designed for the Âé¶¹ÊÓÆµ charity.
Version: 1.0
*/

/*
 * COLOUR VARIABLES
 */

:root {
  --primary-color: #36a967;
  --primary-color-light: #77dd77;
  --secondary-color: #efba01;
  --secondary-color-light: #ff0;
  --white-color: #ffffff;
  --black-color: #000000;
}

body a {
  color: var(--primary-color);
}

body a:hover {
  color: var(--primary-color-light);
  text-decoration: none;
}

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

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

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

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

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

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

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: var(--secondary-color-light);
  color: var(--black-color);
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 2em 0;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  /* 1 */
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

#carousel {
  position: relative;
}

#carousel img {
  width: 100%;
  max-width: 1800px;
  display: block;
  margin: auto;
}

#carousel #carousel-container {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
}

#carousel #carousel-container .carousel-content {
  max-width: 475px;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  color: white;
}

#carousel #carousel-container .carousel-content h2 {
  margin-top: 0;
}

#carousel #carousel-container .carousel-content p {
  padding-bottom: 20px;
}

#featuredImage {
  max-height: 185px;
  overflow: hidden;
}

nav.navbar {
  border-radius: 0;
  border: 0;
  margin-bottom: 0;
  padding: 20px 0;
  background-color: var(--primary-color);
}

nav .navbar-brand {
  font-size: 16px;
  font-weight: bold;
}

nav .navbar-brand img {
  display: inline;
  height: 100%;
}

nav .navbar-toggle {
  border: 1px solid var(--white-color);
  border-radius: 0;
}

nav .navbar-toggle .icon-bar {
  background: var(--white-color);
}

nav .navbar-toggle:hover {
  border: 1px solid var(--primary-color);
  background-color: var(--white-color);
}

nav .navbar-toggle:hover span {
  background-color: var(--primary-color-light);
}

nav div#navItems.navbar-collapse {
  border-top: 0;
}

nav div#navItems ul li.open > a {
  background: none;
}

nav div#navItems ul li a:hover,
nav div#navItems ul li a:focus {
  background: none;
}

nav div#navItems ul li ul.dropdown-menu {
  background-color: var(--primary-color);
  font-size: inherit;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: 0 0 0 0;
  box-shadow: 0 0 0 0;
}

nav div#navItems ul li ul.dropdown-menu li a {
  color: var(--white-color);
  padding: 10px 20px;
}

nav div#navItems ul li ul.dropdown-menu li a:hover {
  color: var(--primary-color-light);
}

nav a {
  color: var(--white-color);
}

nav #donateBtn {
  margin-top: 8px;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > a:hover {
  background-color: var(--secondary-color);
  color: #515151;
}

body {
  background-color: #d1d1d1;
}

#body {
  background-color: var(--white-color);
  padding-bottom: 40px;
}

blockquote {
  border-left: none;
  margin: 0 0 20px;
  padding: 15px 55px;
  display: block;
  position: relative;
  line-height: 1.2;
  text-align: justify;
}

blockquote:before {
  content: open-quote;
  margin-right: 0.1em;
  left: 10px;
  top: 0px;
}

blockquote:after {
  content: close-quote;
  right: 10px;
  bottom: -40px;
}

blockquote:before,
blockquote:after {
  color: var(--primary-color-light);
  font-size: 5em;
  position: absolute;
}

.attachment-post-thumbnail {
  max-width: 100%;
  height: auto;
  margin: 10px 0 20px 0;
}

.childPage {
  border: 1px solid var(--primary-color-light);
  margin-bottom: 20px;
  border-radius: 2px;
}

.childPage h3,
.childPage p {
  padding: 0 20px;
}

#introText .brand {
  text-align: center;
}

#introText .brand h1 {
  margin-bottom: 20px;
  margin-top: 90px;
  font-size: 2.6em;
  color: var(--primary-color);
}

#introText .brand h2 {
  margin-top: 20px;
  margin-bottom: 20px;
}

#introText .brand a.btn.donate {
  margin-bottom: 50px;
  font-size: 18px;
  padding: 7px 25px;
  max-width: 100%;
}

#introText #charityDescription {
  margin-top: 40px;
  margin-bottom: 40px;
}

#introText #charityDescription p {
  font-size: 1.2em;
  color: #515151;
}

#pleaStatement {
  margin-top: 50px;
  margin-bottom: -30px;
  background-color: var(--secondary-color);
  text-align: center;
  padding: 20px 0;
  font-size: 2em;
}

#pleaStatement p {
  margin: 0;
}

#howToHelp {
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(10, 34, 20, 0.9)),
      to(rgba(10, 34, 20, 0.9))
    ),
    url("/wp-content/themes/charity/img/giving.jpg");
  background-image: linear-gradient(
      rgba(10, 34, 20, 0.9),
      rgba(10, 34, 20, 0.9)
    ),
    url("/wp-content/themes/charity/img/giving.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white-color);
}

#howToHelp div.container {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top: 80px;
  padding-bottom: 30px;
}

#howToHelp div.container h2 {
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
}

#howToHelp div.container div.method {
  margin: 20px 0;
  text-align: center;
}

#howToHelp div.container div.method div.icon {
  margin: 10px auto;
  font-size: 38px;
  display: block;
  width: 100%;
}

#howToHelp div.container div.method div.info {
  margin: 10px 0 20px 0;
}

#howToHelp div.container div.method div.info h5 {
  margin: 10px 0 20px 0;
}

#howToHelp div.container div.method div.info p {
  margin: 10px 0;
}

#howToHelp div.container div.cta {
  text-align: center;
  margin: 40px 0 60px 0;
}

.latestNews .article {
  margin: 30px 0;
}

.latestNews .listImage {
  height: 200px;
  overflow: hidden;
  border: 1px solid #d1d1d1;
}

.latestNews .listImage img {
  width: 100%;
  margin: auto;
}

.friendsLogos {
  margin: 0px;
}

.friendsLogos .wp-block-columns {
  margin-bottom: 0px;
}

.friendsLogos .wp-block-column {
  margin-left: 20px;
}

.friendsLogos figure {
  margin: 10px 0;
  padding: 20px;
  border: 1px solid #d1d1d1;
  height: 200px;
  overflow: hidden;
  display: flex;
}

.friendsLogos figure.black {
  background-color: var(--black-color);
}

.friendsLogos figure.dark {
  background-color: #d1d1d1;
}

.friendsLogos figure img {
  max-height: 130px;
  display: block;
  margin: auto;
  height: auto;
}

.storyPictureBook {
  margin: 25px 0;
}

.storyPictureBook h3 {
  margin-bottom: 10px;
}

.storyPictureBooks ul.rig.columns-3 {
  padding: 0 !important;
}

.storyPictureBooks ul.rig.columns-3 li {
  width: 100% !important;
  max-width: 330px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.storyPictureBooks ul.rig.columns-3 li img {
  padding-left: 10px !important;
}

.storyPictureBooks ul.rig.columns-3 li img:hover {
  -webkit-transition: 0.3s opacity;
  transition: 0.3s opacity;
  opacity: 0.5;
}

footer {
  padding: 20px 0;
  background-color: #d1d1d1;
  color: #111111;
}

#footer-socials {
  text-align: right;
}

#footer-site-made-by {
  text-align: right;
}

#footer-socials .social-icons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
}

#social-youtube-icon > img,
#social-facebook-icon > img {
  width: 30px;
  height: 30px;
}

.btn {
  border: 2px solid #d1d1d1;
  border-radius: 0;
  letter-spacing: 2px;
}

.btn.btn-primary {
  border: none;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn.btn-primary:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
}

.btn.btn-secondary {
  border: none;
  background-color: #d2be9b;
  border: 2px solid #d2be9b;
}

.btn.btn-secondary:hover {
  background-color: var(--secondary-color);
}

.btn.btn-default:hover {
  background-color: #d1d1d1;
}

div.wpcf7 {
  margin: 20px 0;
}

div.wpcf7 input,
div.wpcf7 textarea {
  border-radius: 10px;
  margin: 5px 0 0 0;
}

div.wpcf7 label {
  width: 100%;
}

div.wpcf7 label#name {
  float: left;
  width: 38%;
  margin-right: 2%;
}

div.wpcf7 label#email {
  float: left;
  width: 58%;
  margin-left: 2%;
}

div.wpcf7 #subject {
  width: 100%;
}

div.wpcf7 #message {
  width: 100%;
}

div.wpcf7-validation-errors {
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  background-color: #fff0bd;
}

#breadcrumbs p#breadcrumbs {
  padding: 20px 0;
  border-bottom: 1px solid #bfbfbf;
}

body {
  font-size: 16px;
  font-family: "Lato", sans-serif;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1.1em;
}

h6 {
  font-size: 1em;
}

h1,
h3,
h5 {
  text-transform: uppercase;
}

h1 {
  color: var(--primary-color-light);
  font-family: "Lustria", serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
}

h3 {
  letter-spacing: 1px;
}

h5 {
  letter-spacing: 3px;
}

#donationWidget {
  padding: 20px;
  background-color: var(--secondary-color);
  text-align: right;
  color: #111111;
}

#donationWidget h3 {
  margin-top: 0;
  text-align: left;
}

#donationWidget p {
  text-align: left;
}

#donationWidget p.secondStatement {
  font-size: 1.2em;
}

.widget {
  margin-bottom: 20px;
}

/*
@media only screen and (min-width:320px) {}
@media only screen and (min-width:480px) {}
*/

/* Large devices (large desktops, 1200px and down) */

.panel-grid {
  margin-bottom: 30px;
}

/* Medium devices (desktops, 992px and down) */
@media only screen and (max-width: 992px) {
  footer .email {
    text-align: left;
  }

  footer .madeBy {
    text-align: left;
  }
}

/* Small Devices (tablets 768px and down) */
@media only screen and (max-width: 768px) {
  #carousel .metaslider .caption-wrap {
    display: none;
  }

  .navbar-nav {
    margin: 0;
  }

  nav li {
    padding: 5px 0;
  }

  #carousel-container {
    display: none;
  }

  #introText .brand #logo {
    position: static;
    margin-top: 20px;
    padding: 0;
    border-radius: 0;
  }

  #introText .brand h1 {
    margin-top: 20px;
    font-size: 2.2em;
  }

  #introText .brand h2 {
    font-size: 1.6em;
  }

  #introText .brand a.btn.donate {
    margin: 20px 0 60px 0;
  }

  #introText #charityDescription p {
    font-size: 1.5em;
  }

  #pleaStatement {
    font-size: 1.6em;
  }

  #footer-socials,
  #footer-site-made-by {
    text-align: left;
  }

  #footer-socials .social-icons {
    justify-content: flex-start;
  }
}
