/*
Theme Name: Whitespace Child Bannock Youth Foundation
Theme URI: https://www.valice.com/
Author: Valice
Author URI: https://www.valice.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Template: whitespace
Text Domain: bannock-youth-foundation
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Whitespace is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

body {
    font-family: alternate-gothic-atf, sans-serif;
    font-weight: 400;
    font-size: 20px;
    font-style: normal;
    color: rgba(0,0,0,.65);
}

.page .site {
    margin: auto;
}

h2 {
    font-size: 30px;
}

a,
a:visited {
    color: #dc4d1f;
}

a:hover {
    color: #dc4d1f;
}

a.button,
.button {
    background: #fff;
    color: rgba(0,0,0,.64);
    border: 1px solid rgba(33,33,33,.64);
    text-align: center;
    padding: 5px 10px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
}

a.button:hover,
.button:hover {
    background: #a17c8c;
    color: #fff;
}

/* header */

.site-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 5px;
    max-width: 1060px;
    margin: 0 auto;
}

.site-header .main-navigation {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.site-header .site-branding img {
    margin: 0;
}

.site-header .main-navigation li a {
    padding: 0 10px;
    color: #000;
    font-size: 24px;
}

.site-header .main-navigation li a:hover {
    color: #dc4d1f;
}

.site-header .main-navigation li.menu-item.menu-button a {
    color: #dc4d1f;
    border: 1px solid;
    padding: 2px 10px 0 10px;
}

.site-header .main-navigation li.menu-item.menu-button a:hover {
    color: #fff;
    background-color: #dc4d1f;
}

.main-navigation ul {
    align-items: flex-end;
}

.main-navigation ul ul {
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

ul.menu > li.menu-item-has-children > a:after {
    content: "\f139";
    font-family: 'dashicons';
    position: absolute;
    bottom: 0;
}

.menu-toggle, .main-navigation.toggled ul {
    color: transparent;
    border:none;
    background: transparent;
    width: 100%;
}

.menu-toggle:after {
    content: "\f333";
    color: #000;
    font-family: 'dashicons';
    display: block;
    font-size: 30px;
}
.main-navigation.toggled ul.nav-menu {
    background: #f5f5f5;
}

li.menu-item-has-children {
    position: relative;
    padding-right: 15px;
}

li.menu-item-has-children > a:after {
    content: "\f347";
    font-family: 'dashicons';
    margin-left: 5px;
    position: absolute;
}

.main-navigation.toggled ul.nav-menu li.menu-item {
    padding: 8px;
}

.main-navigation ul ul {
    padding-top: 10px;
    flex-direction: column;
}

.main-navigation ul ul li {
    margin: 10px;
}

/* Home Page */

.home-page-header {
    background-repeat: no-repeat;
    background-size: cover, contain;
    background-position: center;
}

.home-page-header .home-page-header-image {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    height: 100%;
    align-content: center;
    align-items: center;
    position: absolute;
    top: 40px;
}

.home-page-header .image-bg {
    height: 450px;
    background-size: cover;
}

.home-page-header .image-bg .slide-inner {
    display: flex;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    padding: 10px;
}

.home-page-header .image-bg a {
    color: #fff;
    text-decoration: none;
}

.home-page-header .image-bg .slide-inner h2 {
    font-size: 70px;
    text-shadow: 1px 1px #333;
    max-width: 450px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.home-page-header .home-page-header-image img {
    margin-top: -30px;
    display: block;
    margin-left: 80px;
}

.home-page-header .home-page-header-image p {
    margin: 0;
    padding: 0;
}

.grey-section {
    display: flex;
    background-color: #f6f6f6;
    margin-top: 50px;
    justify-content: center;
}

.grey-section .left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grey-section .left-section img {
    width: 400px;
    margin-top: -15px;
    margin-right: 50px;
}

.grey-section .left-section a {
    background-color: #f6f6f6;
    font-size: 30px;
    letter-spacing: 1px;
}

.grey-section .left-section a, input[type="button"], input[type="reset"], input[type="submit"] {
    color: #dc4d1f;
    border: 1px solid #dc4d1f;
    text-transform: capitalize;
}

.grey-section .left-section a:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    color: #fff;
    background-color: #dc4d1f
}


.grey-section .right-section img {
    width: 200px;
    margin-top: -50px;
}

.lower-section {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.lower-section h2 {
    text-align: center;
    color: #dc4d1f;
}

.gform_footer {
    display: flex;
    justify-content: center;
}

input[type="button"], input[type="reset"], input[type="submit"] {
    text-align: center;
    background-color: #fff;
    font-family: alternate-gothic-atf,sans-serif;
    font-size: 20px;
}

/* Page Layouts */

.page-content {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.page-content h1 {
    text-transform: uppercase;
}

.page-content .content-area {
    padding: 20px;
    width: 100%;
}

.page-content.has-sidebar .content-area {
    width: 70%;
    margin-right: 50px;
}

.page-content .sidebar-content {
    background-color: #f6f6f6;
    padding: 20px;
    width: 260px;
    margin-bottom: 50px;
}

.page-content .content-area p {
    margin: 20px 0 0 0;
}

.page-content ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.page-content ul li {
    list-style-type: none;
}

.page-content ul.two-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.page-content ul.two-column li {
    display: block;
    width: 100%;
    max-width: 300px;
}

.page-content ul li::before {
    content: "\2022";
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.lower-image {
    display: flex;
    justify-content: center;
}

.lower-image img {
    width: 50%;
}

.wp-block-buttons {
    padding: 20px 0;
}

a.wp-block-button__link {
    border: 2px solid;
    border-radius: 0;
    padding: 10px 10px 6px 10px;
    text-transform: uppercase;
    background-color: transparent;
}

/* Colors */

.page-content.blue h2,
.page-content.blue h1,
.page-content.blue a,
.page-content.blue li:before {
    color: #30867d;
}

.page-header.blue {
    border-top: 20px solid #30867d;
}

.page-content.blue a.wp-block-button__link:hover {
    color: #fff;
    background: #30867d;
}

.page-content.red h2,
.page-content.red h1,
.page-content.red a,
.page-content.red li:before {
    color: #d50001;
}

.page-header.red {
    border-top: 20px solid #d50001;
}

.page-content.red a.wp-block-button__link:hover {
    color: #fff;
    background: #d50001;
}

.page-content.purple h2,
.page-content.purple h1,
.page-content.purple a,
.page-content.purple li:before {
    color: #8d114d;
}

.page-header.purple {
    border-top: 20px solid #8d114d;
}

.page-content.purple a.wp-block-button__link:hover {
    color: #fff;
    background: #8d114d;
}

.page-content.green h2,
.page-content.green h1,
.page-content.green a,
.page-content.green li:before {
    color: #53871c;
}

.page-header.green {
    border-top: 20px solid #53871c;
}

.page-content.green a.wp-block-button__link:hover {
    color: #fff;
    background: #53871c;
}

.page-content.orange h1,
.page-content.orange h2,
.page-content.orange a,
.page-content.orange li:before {
    color: #dc4d1f;
}

.page-header.orange {
    border-top: 20px solid #dc4d1f;
}

.page-content.orange a.wp-block-button__link:hover {
    color: #fff;
    background: #dc4d1f;
}

/* Featured Pages */

.featured-pages-wrapper {
    background: #f6f6f6;
    padding: 60px 10px;
}

.featured-pages {
    display: flex;
    justify-content: space-evenly;
    max-width: 1060px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.home .featured-page {
    margin-top: -40px;
}

.featured-page {
    height: 240px;
    background-position: center;
    background-size: cover;
    width: 240px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10px;
    position: relative;
}

a.featured-page-link {
    font-size: 30px;
    text-decoration: none;
    text-shadow: 5px -5px 13px #fff;
    line-height: 1;
    max-width: 150px;
    text-align: right;
    font-weight: bold;
}

.featured-page-link.blue {
    color: #30867d;
}

.featured-page-link.red {
    color: #d50001;
}

.featured-page-link.purple {
    color: #8d114d;
}

.featured-page-link.green {
    color: #53871c;
}

.featured-page .bottom-border {
    height: 20px;
    width: 100%;
    position: absolute;
    left: 0;
}

.featured-page .bottom-border:after {
    content: "\f139";
    font-family: 'dashicons';
    position: absolute;
    right: 0;
    top: -6px;
    color: #fff;
    text-shadow: none;
}

.featured-page .bottom-border.blue {
    background-color: #30867d;
}

.featured-page .bottom-border.red {
    background-color: #d50001;
}

.featured-page .bottom-border.purple {
    background-color: #8d114d;
}

.featured-page .bottom-border.green {
    background-color: #53871c;
}

.featured-page .bottom-border.blue:after {
    content: "\f139";
    font-family: 'dashicons';
}

/* Partners */
.partners-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.partners {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 50px;
    width: 50%;
}

.partner-text {
    padding: 0 50px 0 20px;
    line-height: 1.1;
}

.partner-text b {
    font-size: 22px;
}

.partner-text > a {
    color: rgba(0,0,0,.65) !important;
}

.partners img {
    width: 150px;
}

/* Footer */

.site-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f6f6f6;
    padding: 20px;
    border-top: 5px solid #dc4d1f;
}

.left-section {
    display: flex;
    align-items: center;
    width: 285px;
}

.footer-logo {
    margin-right: 20px;
}

.footer-logo img {
    width: 200px;
}

.footer-image img {
    width: 60px;
}

.footer-image {
    width: 285px;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons .dashicons,
.social-icons .dashicons-before::before {
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #dc4d1f;
    margin-top: 2px;
}

.header-right .social-icons .dashicons,
.header-right .social-icons .dashicons-before::before {
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #dc4d1f;
}

.site-footer .social-icons a {
    text-decoration: none;
    color: #000;
}

.header-right .social-icons,
.header-right .social-icons a {
    text-decoration: none;
    color: rgba(0,0,0,.65);
    margin: 5px;
}

.header-right .social-icons a.button {
    border: 2px solid #dc4d1f;
    color: #dc4d1f;
    line-height: 1;
    padding: 8px 5px 5px 5px;
}

.header-right .social-icons a.button:hover {
    background: #dc4d1f;
    color: #fff;
}

.header-right .social-icons {
    justify-content: flex-end;
    margin-bottom: 30px;
}


.footer-copyright {
    font-size: 14px;
    text-align: center;
}

@media only screen and (max-width: 970px) {
    .partners-items {
        flex-direction: column;
    }
    .partners {
        width: 100%;
    }

    .home .featured-page,
    .featured-page  {
        margin-top: 30px;
    }

    .site-header .main-navigation li a {
        font-size: 18px;
    }

    .home-page-header {
        height: 300px;
    }

    .home-page-header .home-page-header-image img {
        max-width: 300px;
        margin-left: auto;
    }
}

@media only screen and (max-width: 800px) {

    .site-header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .header-right {
        width: 100%;
        text-align: center;
    }

    .header-right .social-icons {
        justify-content: center;
        margin-bottom: 0;
    }

    .site-header .main-navigation {
        justify-content: center;
    }

}

@media only screen and (max-width: 750px) {
    .page-content {
        flex-direction: column;
    }

    .page-content.has-sidebar .sidebar-content,
    .page-content .content-area,
    .page-content.has-sidebar .content-area {
        width: 100%;
    }
}

@media only screen and (max-width: 670px) {
    .partners {
        flex-direction: column;
    }

    .partner-text {
        text-align: center;
        padding: 0;
    }

    .grey-section .left-section img {
       width: 200px;
       margin: -15px auto 0 auto;
    }
}

@media screen and (max-width: 37.5em) {

    .main-navigation.toggled {
        flex-direction: column;
    }

    .menu-primary-navigation-container {
        background: #f5f5f5;
    }

    .main-navigation ul ul {
        position: relative;
        box-shadow: none;
        left: auto;
    }

    .site-header .main-navigation li {
        text-align: left;
    }

    .main-navigation ul ul li {
        margin: 0;
    }

    ul.menu > li.menu-item-has-children > a::after {
        content: none;
    }

}

/* Toggles */

.toggleable .toggle-handle {
    cursor: pointer;
}

.toggleable .toggle-handle h2,
.toggleable h2.toggle-handle,
.toggleable h3.toggle-handle {
    position: relative;
    padding-right: 40px;
}

.toggleable .toggle-handle h2:after,
.toggleable h2.toggle-handle:after,
.toggleable h3.toggle-handle:after {
    content: '+';
    position: absolute;
    right: 0;
    margin-left: 20px;
}

.toggleable .wp-block-group__inner-container.open .toggle-handle h2:after,
.toggleable .wp-block-group__inner-container.open h3.toggle-handle:after,
.toggleable .wp-block-group__inner-container.open h2.toggle-handle:after {
    content: '-';
}

.toggleable .toggle-body {
    display: none;
 }
    
.toggleable.open .toggle-body {
    display: block;
}

/* Slider */

ul.home-slide {
    margin: 0;
    padding: 0;
    height: 450px;
  overflow: hidden;
  position: relative;
}

ul.home-slide li {
    list-style-type: none;
}

@media only screen and (max-width:1000px) {
    .home-page-header .image-bg .slide-inner h2 {
        font-size: 40px;
    }

    .home-page-header .image-bg .slide-inner img {
        max-width: 200px;
        height: auto;
    }
}