/*!
Theme Name: Spectra Template Child
Author: Wineworks
Author URI: http://wineworks.co
Description: Custom child theme developed by Wine Works to be used with Commerce7 & WordPress
Template: wp-spectratheme
Version: 1.1.2.13
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Spectra Child
*/
.newsletter-signup form .c7-form__field:nth-of-type(1) {
    width: 47%;
    float: left;
    margin-right: 6%;
    overflow: hidden;
}
.newsletter-signup form .c7-form__field:nth-of-type(2) {
    width: 47%;
    float: left;
    overflow: hidden;
}
.newsletter-signup form .c7-form__field {
    float: left;
}
.newsletter-signup form .c7-form__buttons {
    clear: both;
}

.newsletter-signup .c7-form__help {
    margin-top: 2rem;
}

@media screen and (min-width: 51em) {
    .header__navigation {
        width: calc(100% - 250px);
    }
}
.timeline-navigation .c7t-content {
    text-align: center;
    border-bottom: 3px solid #ccc;
    padding-bottom: 1rem;
}
.timeline-navigation .c7t-content a {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 20px;
}
.c7-product-collection h1 {
    text-align: center;
}
.featured-collection-product .c7-product--featured {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 1;
    background: #eee;
    padding: 2rem 2rem;
    border-radius: 16px;
}
.featured-collection-product .c7-product__info {
    text-align: center;
}
.featured-collection-product .c7-product__info .c7-product__add-to-cart {
    margin: 0 auto;
}
.featured-collection-product .c7-product__info .c7-product__add-to-cart__form {
    justify-content: center;
}
.product-filters {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.product-filters > .c7-form__field {
    flex: none;
    width: 190px;
    margin-right: 20px;
}
.product-filters > .c7-form__field:last-child {
    margin-right: 0;
}
.product-video > div {
    text-align: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 600px;
}
.product-video > div::after {
    padding-top: 56.25%;
    display: block;
    content: "";
}
.product-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.main-search form {
    border-radius: 2px;
    padding: 0;
    position: relative;
    box-shadow: 0 0 20px #dfdfdf;
    width: 66%;
    float: right;
}
.main-search form::before {
    content: "";
    color: #dc4405;
    font-size: 20px;
    width: 114px;
    height: 41px;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    line-height: 41px;
    text-align: center;
}
.main-search {
    margin-top: 25px;
    padding: 0 15px;
    overflow: hidden;
}
#searchform input.field {
    width: 100%;
    padding: 10px 120px 10px 15px;
    border: 0;
    border: 1px solid #aaa;
}
#searchform input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    padding: 10px 15px;
    width: 114px !important;
    background: 0;
    border-left: 1px solid #444;
    background-color: #444;
    border-right: 0;
    border-radius: 0;
    cursor: pointer;
    border-top: 0;
    border-bottom: 0;
    color: #fff;
}
#searchform input[type="submit"]:hover,
#searchform input[type="submit"]:focus {
    background-color: #000;
}
#searchform input.field:focus {
    outline: none;
}

/* Blog settings */
@media only screen and (min-width: 640px) {
    .blog .blog-page__sidebar,
    .category .blog-page__sidebar {
        width: auto;
    }
    .blog .blog-page__posts,
    .category .blog-page__posts {
        width: auto;
        flex: 1;
    }
    body.blog .wp-pagenavi {
        width: 100%;
    }
}
@media only screen and (min-width: 767px) {
    .blog .blog-page--3 .blog-page__posts article {
        width: calc(50% - 2rem);
        margin: 1rem;
    }
}
@media only screen and (min-width: 64.0625em) {
    .blog .blog-page--3 .blog-page__posts article,
    .category .blog-page__posts article {
        width: calc(33.33% - 2rem);
    }
}
@media only screen and (max-width: 768px) {
    .blog .blog-page--3 .blog-page__posts article {
        width: 100%;
        margin: 0;
    }
}
@media only screen and (max-width: 640px) {
    .blog .blog-page {
        flex-direction: column;
    }
    .blog .blog-page__sidebar,
    .category .blog-page__sidebar {
        padding: 15px 25px;
    }
}

@media only screen and (min-width: 40.0625em){
     .single-blog-page h1 {
        font-size:  3rem;
    }

    .single-blog-page h2 {
        font-size:  2rem;
    }
}


.footer__extra-text {
    display: flex;
    text-align: left;
    width: 100%;
}
.footer__extra-text > p {
    flex: 1;
}
.footer__extra-text .drink-responsibly {
    padding-left: 1rem;
    text-align: right;
}
.footer__extra-text .drink-responsibly img {
    float: left;
    margin: 0 0 0 10px;
}
.popup {
  background: rgba(0, 0, 0, 0.8);
}
.popup * {
    box-sizing: border-box;
}
.popup .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    z-index: 29;
    transition: all 0.5s ease-out;
}
.popup .popup-wrapper {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    text-align: center;
    transition: all 0.5s ease-out;
    max-height: 90vh;
    background: #fff;
    max-width: 550px;
    text-align: center;
    width: 100%;
    overflow-y: auto;
    color: #000;
}
.popup .popup-wrapper-content {
    position: relative;
    padding: 3rem 2rem;
}
.popup--active {
    z-index: 50;
}
.popup--active .overlay {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-out;
}
.popup--active .popup-wrapper {
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-out;
}
.popup .v65-podImage {
    margin-bottom: 1rem;
}
.popup .v65-podImage img {
    width: 100%;
    max-width: 125px !important;
}
.popup .v65-customForm {
    max-width: none;
    width: 100%;
}
.popup .v65-form {
    width: 100%;
}
.popup .v65-form div {
    margin-bottom: 0;
}
.popup .v65-form fieldset {
    padding: 0;
    border: 0;
    margin: 0;
}
.popup .v65-form input[type="text"] {
    width: 100%;
    background-color: #fff;
    border-width: 1px;
    padding: 0.5rem;
}
.popup .v65-form .defaultBtn {
    background-color: #000;
    margin-top: 1rem;
}
.popup legend {
    display: none;
}
.popup h2 {
    font-size: 26px;
    padding: 0 20px;
    color: #000;
}
.popup img {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 147px;
}
.popup p {
    padding: 0 20px;
    font-size: 1rem;
}
.popup p:last-of-type {
    margin-bottom: 0;
}
.popup label {
    font-size: 14px;
}
.popup .icon-email {
    padding: 0 6px 0 0;
    float: left;
    font-size: 1em;
}
.popup .close-popup {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    color: #000;
    cursor: pointer;
    padding: 8px;
    font-size: 20px;
    font-weight: 700;
    text-align: right;
    z-index: 100;
}
.popup .c7-subscribe {
    margin-top: 3rem;
}
.popup .c7-form__button-row {
    justify-content: center;
}
.popup .first-name,
.popup .last-name {
    width: 50%;
    float: left;
    box-sizing: border-box;
}
.popup .first-name {
    padding-right: 0.25rem !important;
}
.popup .last-name {
    padding-left: 0.25rem !important;
}
.popup .email-input {
    clear: both;
}
.popup .popup-footer {
    margin-top: 20px;
}
.popup .popup-footer p {
    margin-bottom: 5px;
}
.popup p:empty {
    display: none;
}
@media screen and (max-width: 1024px) {
    .footer__extra-text {
        display: block;
        text-align: center;
    }
    .footer__extra-text .drink-responsibly img {
        float: none;
        display: block;
        margin: 8px auto 0 auto;
    }
    .main-search form {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .product-filters {
        flex-wrap: wrap;
        flex-direction: column;
        align-content: space-around;
    }
    .product-filters > .c7-form__field {
        flex: none;
        width: 49%;
        margin-bottom: 7px;
        margin-right: 0;
    }
    .product-filters > .c7-form__field select {
        height: 31px;
    }
}
@media screen and (max-width: 650px) {
    .main-search {
        padding: 0;
    }
    .popup--active {
      display: none;
    }
}
@media screen and (max-width: 470px) {
    .product-filters > .c7-form__field {
        width: 100%;
    }
}