/*!
Theme Name: Spectra Template Child
Author: Wineworks
Author URI: http://wineworks.co
GitHub Theme URI: https://github.com/wineworks/wp-spectratheme
Description: Custom child theme developed by Wine Works to be used with Commerce7 & WordPress
Template: wp-spectratheme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Spectra Child
*/

/* Website container width edit */
.c7t-half-text,
.c7t-content {
    max-width: 74rem;
}
@media only screen and (min-width: 48.0625em) {
	.c7t-text-block--2col .c7t-template-width>div+div {
	    padding: 0 1rem;
	}
	.c7t-text-block--2col .c7t-template-width>div+div,
	.c7t-text-block--2col .c7t-template-width>div {
	    margin-left: -0.75rem;
	    margin-right: -0.75rem;
	}
}

/* C7 customizations */
:root {
    --c7-primary-color: #003768;
}
header .right-nav-block {
    display: flex;
    align-items: center;
    padding: 0.5rem 0rem;
}
/*.header__navigation__menu .menu-header-container a {
    text-transform: uppercase;
}*/
.header__navigation-toggle {
    color: #000;
    border: 1px solid rgba(0,0,0,0) !important;
    background: rgba(0,0,0,0);
    transform: translateY(0px);
}
.header__navigation-toggle span,
.header__navigation-toggle span:before,
.header__navigation-toggle span:after {
    background: #000;
}
#c7-cart .c7-user-nav__cart__title svg {
    stroke: #000;
}
.c7-tools,
#c7-account .c7-user-nav__account__login {
  background: #fff;
  color: #000;
}
.c7-tools {
      padding: 0 0 0 22px;
  }
.c7-user-nav__account {
    position: relative;
    padding-right: 10px;
    padding-left: 20px;
    border-left: 2px solid #444;
}
@media screen and (min-width: 64rem) {
  .c7-tools {
      background: rgba(0,0,0,0);
      justify-content: flex-end;
      margin: 0;
      right: 0;
      top: 0;
      padding: 0 0 0 7px;
  }
}
@media screen and (max-width: 39.9375em) {
  .c7-tools, .header__navigation {
      background-color: transparent;
  }
  .header .c7t-template-width {
    flex-direction: column;
    align-items: stretch;
  }
  .header__logo {
    order: 2;
  }
  header .right-nav-block {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-left: -1rem;
    margin-right: -1rem;
    background-color: #0c3767;
    padding: 0 0 0 1rem;
  }
  .c7-tools {
    margin: 0;
    margin-right: 15px;
  }
  .header__navigation-toggle {
    color: #fff;
  }
  .header__navigation-toggle span,
  .header__navigation-toggle span:before,
  .header__navigation-toggle span:after {
    background: #fff;
  }
  .c7-tools, #c7-account .c7-user-nav__account__login {
    background: transparent;
    color: #fff;
    font-size: 16px;
  }
  .c7-user-nav__cart__count {
    background: #fff;
    color: #040404;
  }
  #c7-cart .c7-user-nav__cart__title svg {
    stroke: #fff;
  }
  .c7-user-nav__account {
    border-left: 0;
  }
  #header__navigation-toggle[aria-expanded^="true"] {

  }
}
.c7-product-collection .c7-product__add-to-cart__form__quantity {
  display: none;
}
.c7t-banner .c7t-template-width .c7t-banner__content {
    text-shadow: none;
}
/* C7 badges */
.c7-product-collection__product-list .c7-product {
  position: relative;
}
.c7-product-collection__product-list .product-status {
  right: auto;
  left: auto;
  text-align: center;
  display: inline-block;
  margin: 0 auto;
  left: 50%;
  transform: translate(-50%, 0);
  text-shadow: none;
  padding: 6px 15px 4px;
  font-family: DM Mono;
  letter-spacing: 1px;
  font-weight: 500;
}
.c7-product-collection__product-list .product-status.c7-badge--badge-orange {
  background-color: #f88819;
}
.c7-product-collection__product-list .product-status.c7-badge--badge-red {
  background-color: #c42a2d;
}
.c7-product-collection__product-list .product-status.c7-badge--badge-blue {
  background-color: #0b3360;
}
.c7-product-collection__product-list .product-status.c7-badge--badge-green {
  background-color: #13581b;
}

/* Custom Page content elements */
  .c7t-git-block {
    background: #fff;
  }
  .c7t-git-block.newsletter {
    background: #003767;
  }
  .c7t-git-block.newsletter .c7-form__group {
    flex-direction: column;
   }
  .c7t-git-block > .container {
    margin: 0 auto;
    max-width: 74rem;
    padding: 4rem 1rem;
    position: relative;
    color: #232324;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
  }
  .c7t-git-block.newsletter > .container {
    color: #fff;   
  }
  .c7t-git-block > .container > div {
    padding: 0 20px;
    flex: 1;
  }
  .c7t-git-block .heading {
    font-size: 21px;
    color: #232324;
    font-family: DM Sans;
    margin: 0;
  }
  .c7t-git-block.newsletter .heading,
  .c7t-git-block.newsletter h3 {
    color: #fff;
  }
  .c7t-git-block h3 {
    font-size: 25px;
    color: #232324;
    margin: 0 0 40px;
  }
  .c7t-git-block > .container > div:first-child {
    margin-left: -20px;
  }
  .c7t-git-block > .container > div:last-child {
    margin-right: -20px;
  }
  .c7t-git-block .form-block {
    background: #003767;
    color: #fff;
    padding: 20px 25px 25px;
  }
  .c7t-git-block.newsletter .form-block {
    background: #F5F1EE;
    color: #003767;
  }
  
  .c7t-git-block .form-block h2 {
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
    padding: 0 0 0 2px;
  }
  .c7t-git-block form {
    margin: 0;
  }
  .c7t-git-block form .c7-form__field label {
    padding: 0;
  }
  .c7t-git-block .c7-form__field {
    margin-bottom: 10px;
  }
  .c7t-git-block .c7-form__field input,
  .c7t-git-block .c7-form__field select,
  .c7t-git-block .c7-form__field textarea {
    background: transparent;
    color: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #fff;
    padding-top: 0;
    padding-bottom: 0;
    height: 30px;
  }
  .c7t-git-block.newsletter .c7-form__field input,
  .c7t-git-block.newsletter .c7-form__field select,
  .c7t-git-block.newsletter .c7-form__field textarea {
    border-bottom: 1px solid #00386f;
    color: #00386f;
  }
  .c7t-git-block .c7-form__field textarea {
    height: 50px;
  }
  .c7t-git-block button.c7-btn {
    background: #F5F1EE;
    color: #003767;
    border-radius: 0;
    width: 100%;
  }
  .c7t-git-block.newsletter button.c7-btn {
    background: #003767;
    color: #f6f1eb;
    margin-left: 0;
    margin-top: 10px !important;
}
  .c7t-git-block .c7-form__buttons {
    margin: 20px 0 0;
  }
  .c7t-git-block button.c7-btn:hover,
  .c7t-git-block button.c7-btn:active,
  .c7t-git-block button.c7-btn:focus {
    color: #F5F1EE;
    background: #111111;
  }
  .c7t-git-block .c7-form input:active:not([disabled]),
  .c7t-git-block .c7-form input:focus:not([disabled]),
  .c7t-git-block .c7-form select:active:not([disabled]),
  .c7t-git-block .c7-form select:focus:not([disabled]),
  .c7t-git-block .c7-form textarea:active:not([disabled]),
  .c7t-git-block .c7-form textarea:focus:not([disabled]) {
    box-shadow: none;
    outline: 0;
  }
  .c7t-git-block .c7-form__error,
  .c7t-git-block .c7-block__error,
  .c7t-git-block .c7-required::after {
    color: #ec8854;
  }
  .c7t-git-block .c7-message--alert-error {
    background: #ec8854;
  }
  .c7t-git-block.newsletter .c7-form__error,
  .c7t-git-block.newsletter .c7-block__error,
  .c7t-git-block.newsletter .c7-required::after {
    color: #CD2026;
  }
  .c7t-git-block.newsletter .c7-message--alert-error {
    background: #CD2026;
    color: #fff;
  }
	.c7t-git-block.newsletter .c7-message--alert-error svg {
		stroke: #fff;
	}

  @media (max-width: 768px) {
    .c7t-git-block > .container {
      flex-direction: column;
      padding: 3rem 1rem;
    }
    .c7t-git-block > .container > div:first-child {
      margin-left: 0;
      text-align: center;
      margin-bottom: 10px;
  }
    .c7t-git-block > .container > div:last-child {
      margin-right: 0;
      padding: 0;
    }
    .c7t-git-block .form-block {
      max-width: 450px;
      margin: 0 auto;
    }
  }

/* Footer custom */
footer.footer {
	background-color: #F5F1EE;
	padding: 0;
}
footer.footer .c7t-template-width,
.footer-bottom .c7t-template-width {
    padding: 3rem 1rem;
    max-width: 74rem;
}
footer.footer>.c7t-template-width>div {
    display: flex;
    justify-content: space-between;
}
.footer-bottom .c7t-template-width {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.footer--1 .footer__social-media {
	margin: 0;
    width: auto;
    float: none;
}
.footer-bottom {
	background-color: #003767;
	color: #FFFFFF;
}
.footer-bottom a {
	color: #FFFFFF;
}
.footer__copyright, .footer__optional-text {
    margin: 0;
    text-align:  right;
}
.footer__address {
    text-align: left;
    width: auto;
    margin-bottom: 0;
}
.footer__address .footer__address__break {
    margin: 0;
}
.footer__logo {
	/*width: 50%;*/
}
.footer__logo img {
	width: 20px;
}
footer.footer hr {
    margin: 1rem 0 2rem;
}
footer .c7-subscribe .c7-btn.c7-btn--primary span:after {
	content: '>';
	display: inline-block;
    vertical-align: middle;
    margin-left: 7px;
}
.footer-cta>.c7-subscribe {
	flex: 1 0;
	max-width: 450px;
}
.footer-cta>.c7-subscribe .c7-form input[type='email'] {
    display: block;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid #b2b2b1;
}
.footer-cta>.c7-subscribe .c7-form .c7-form__field,
.footer-cta>.c7-subscribe .c7-form .c7-btn {
    margin-bottom: 0;
}
.footer-cta>.c7-subscribe .c7-form .c7-btn {
    margin: 0 0 10px 10px;
    align-self: flex-end;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: flex-end;
    font-weight: 600;
}
.footer-cta>.c7-subscribe .c7-form input:active:not([disabled]),
.footer-cta>.c7-subscribe .c7-form input:focus:not([disabled]),
.footer-cta>.c7-subscribe .c7-form input[aria-invalid='true']:active,
.footer-cta>.c7-subscribe .c7-form input[aria-invalid='true']:focus {
    box-shadow: none;
}
.footer-cta>.c7-subscribe .c7-form input[aria-invalid='true'],
.footer-cta>.c7-subscribe .c7-form input[aria-invalid='true']:active,
.footer-cta>.c7-subscribe .c7-form input[aria-invalid='true']:focus {
    border-bottom: 1px solid red;
}
.footer-cta .footer__menu {
    width: auto;
}
.footer-cta .footer_nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.footer-cta .footer_nav nav {
    width: auto;
    padding-left: 50px;
}
.footer-cta .footer_nav nav ul {
    text-align: left;
}
.footer-cta .footer_nav nav ul li {
    display: block;
    margin-right: 0;
}
.footer-cta .c7-form__field .c7-form__error {
    color: red;
    position: absolute;
}
@media only screen and (min-width: 40.0625em) {
	.footer .c7t-template-width {
	    display: block;
	}
}
@media only screen and (max-width: 768px) {
	footer.footer>.c7t-template-width>div,
	.footer-cta .footer_nav {
	    display: block;
	}
	.footer-cta .footer_nav {
	    display: block;
	    margin-top: 50px;
	}
	.footer-cta .footer_nav nav {
	    padding-left: 0;
	}
	.footer-bottom .c7t-template-width {
	    display: block;
	}
	.footer-bottom .c7t-template-width>div {
	    margin-bottom: 7px;
	}
	.footer-bottom .c7t-template-width>div ,
	.footer__copyright {
	    margin: 0;
	    text-align: center;
	}
	.footer-bottom .footer__address__break {
		margin: 0;
	}
	.footer-cta>.c7-subscribe {
	    max-width: 500px;
	    text-align: center;
	    margin: 0 auto;
	}
	.footer-cta>.c7-subscribe .c7-form__group {
	    flex-direction: row;
	}
	.footer-cta .footer_nav nav ul {
	    text-align: center;
	}
}