/*!
Theme Name:   Storefront Child
Theme URI:    https://woocommerce.com/storefront/
Author:       Automattic
Author URI:   https://woocommerce.com/
Description:  Storefront is the perfect theme for your next WooCommerce project. Designed and developed by WooCommerce Core developers, it features a bespoke integration with WooCommerce itself plus many of the most popular customer facing WooCommerce extensions. There are several layout & color options to personalise your shop, multiple widget regions, a responsive design and much more. Developers will love its lean and extensible codebase making it a joy to customize and extend. Looking for a WooCommerce theme? Look no further!
Version:      2.4.3
Template:     storefront
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  storefront
Tags:         e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style

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.

Storefront is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer https://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/

All sizing (typography, layout, padding/margins, etc) are inspired by a modular scale that uses 1em as a base size with a 1.618 ratio.
You can read more about the calculator we use in our Sass here: https://github.com/modularscale/modularscale-sass

FontAwesome License: SIL Open Font License - http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
Images License: GNU General Public License v2 or later
*/

header#masthead {
    background: rgb(126,211,33);
    background: -moz-linear-gradient(180deg, rgba(126,211,33,1) 0%, rgba(28,118,206,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(126,211,33,1) 0%, rgba(28,118,206,1) 100%);
    background: linear-gradient(180deg, rgba(126,211,33,1) 0%, rgba(28,118,206,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7ed321",endColorstr="#1c76ce",GradientType=1);
    border-bottom: none !important;
}

footer#colophon {
    background: rgb(28,118,206);
    background: -moz-linear-gradient(180deg, rgba(28,118,206,1) 0%, rgba(126,211,33,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(28,118,206,1) 0%, rgba(126,211,33,1) 100%);
    background: linear-gradient(180deg, rgba(28,118,206,1) 0%, rgba(126,211,33,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1c76ce",endColorstr="#7ed321",GradientType=1);
}

div#page {
    background-color: rgb(28,118,206);
}

footer#colophon div.col-full,
div#content>div.col-full {
    background-color: rgba(255, 255, 255, 0.75);
}

div.storefront-breadcrumb {
    margin-bottom: 0;
}

div.storefront-breadcrumb div.col-full {
    background-color: rgba(255, 255, 255, 0.75);
}

/** Header navigation **/
.site-header {
    padding-top: 0 !important;
}

.secondary-navigation, .site-search, .site-branding {
    margin-top: 15px;
}

button.menu-toggle {
    margin-top: 13px;
}

@media (min-width: 768px) {
    .storefront-secondary-navigation.woocommerce-active .site-header .site-branding {
        width: 26%;
        margin-right: 0;
    }

    .site-header .site-branding img {
        max-width: 470px;
    }
}

@media (max-width: 1023px) {
    .secondary-navigation, .site-search {
        margin-top: 15px;
        margin-bottom: 0;
    }

    .storefront-secondary-navigation.woocommerce-active .site-header .secondary-navigation {
        margin-right: 0;
        float: left;
    }

    .custom-logo-link, .site-branding, .site-header-cart, .site-logo-anchor, .site-logo-link {
        margin-bottom: 0.41575em;
        margin-top: 0.41575em;
    }
}

/** Homepage tweaks **/
.page-template-template-homepage .entry-content, .page-template-template-homepage .entry-header {
    max-width: none;
}

.page-template-template-homepage .type-page {
    padding-top: 0;
    padding-bottom: 0;
}

/** Twitch embed **/
.twitchWrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.twitchStream {
    position: relative;
    width: 60%;
    margin: 0 auto;
}

@media only screen and (min-width : 1024px) {
    .twitchWrapper {
        max-width: 71.734785833em;
        margin-bottom: 0.8em;
    }
}

@media only screen and (max-width : 768px) {
    .twitchStream {
        width: 100%;
    }
}

.twitchStream:before{
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 */
}

.twitchStream iframe, .twitchChat iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/** Social Media menu **/
ul#menu-social-media:before {
    content: "Follow me:";
}

ul#menu-social-media {
    background-color: rgba(255, 255, 255, 0.75);
    font-size: 0.969em;
    padding-left: 10px;
}

ul#menu-handheld-menu li[class*="menu-item-object-custom"] {
    float: left;
    padding: 0 25px 0 0;
}

/** Social Media icons styling **/
.secondary-navigation a[href*="facebook.com"],
.secondary-navigation a[href*="instagram.com"],
.secondary-navigation a[href*="twitter.com"],
.secondary-navigation a[href*="youtube.com"],
.secondary-navigation a[href*="twitch.tv"],
.secondary-navigation a[href*="discord.gg"],
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="facebook.com"],
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="instagram.com"],
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="twitter.com"],
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="youtube.com"],
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="twitch.tv"],
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="discord.gg"]
{
    text-indent: -9999px;
}

.secondary-navigation a[href*="facebook.com"]:after,
.secondary-navigation a[href*="instagram.com"]:after,
.secondary-navigation a[href*="twitter.com"]:after,
.secondary-navigation a[href*="youtube.com"]:after,
.secondary-navigation a[href*="twitch.tv"]:after,
.secondary-navigation a[href*="discord.gg"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="facebook.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="instagram.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="twitter.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="youtube.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="twitch.tv"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="discord.gg"]:after
{
    text-indent: 0;
    display: block;
    float: left;
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}

.secondary-navigation a[href*="twitch.tv"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="twitch.tv"]:after
{
    content: "\f1e8";
    color: #6441A5;
}
.secondary-navigation a[href*="youtube.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="youtube.com"]:after
{
    content: "\f167";
    color: #bb0000;
}
.secondary-navigation a[href*="twitter.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="twitter.com"]:after
{
    content: "\f099";
    color: #00aced;
}
.secondary-navigation a[href*="facebook.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="facebook.com"]:after
{
    content: "\f09a";
    color: #3b5998;
}
.secondary-navigation a[href*="instagram.com"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="instagram.com"]:after
{
    content: "\f16d";
    color: #517fa4;
}
.secondary-navigation a[href*="discord.gg"]:after,
ul#menu-handheld-menu .menu-item.menu-item-type-custom.menu-item-object-custom a[href*="discord.gg"]:after
{
    content: "\f392";
    color: #7289da;
}