/*
 Theme Name:   Mazzios
 Description:  Custom HTML5Blank Child Theme
 Author: AcrobatAnt
 Author URI: http://acrobatant.com
 Template:     html5blank-stable
 Version:      1.0.0
*/


@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Arvo:400,400i,700,700i');

/*--------------------------------------------------------------
## Global
--------------------------------------------------------------*/

body {
  font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: normal;
}

p {
  margin: 0 0 20px 0;
  line-height: 1.6;
}

a {
  color: #e6202d;
}

a:hover { 
  color: #a1121b; 
}

*:focus {
  outline: 1px solid #000 !important;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: #89080f;
  text-transform: uppercase;
}

h1, h2 {
  font-family: Rockwell, 'Arvo', 'Courier New', Courier, Georgia, Times, 'Times New Roman', serif;
}


h1 {
  font-size: 48px;
}

h2 {
  font-size: 44px;
}

h2:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 -50px;
  height: 50px;
  width: 50px;
  background-image: url('/wp-content/themes/mazzios-child/img/header-arrow.png');
  background-repeat: no-repeat;
}

h2.post-title:before {
  display: none;
}

h3 {
  font-size: 32px;
}

small {
  font-size: 75%;
}

hr {
  border: 5px solid #000;
  margin: 0 0 40px 0;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.header-wrapper {
  padding: 0;
  background-image: url('/wp-content/themes/mazzios-child/img/header-background.jpg');
  background-color: #880808;
  background-position: 0 0;
  background-size: cover;
  background-repeat-x: repeat;
  background-repeat-y: no-repeat;
}

.site-header {
  margin: 0 auto;
  padding: 20px;
  max-width: 1168px;
}

.header-logo {
  max-width: 200px;
}


/*--------------------------------------------------------------
## Main Nav + Utility Nav + Footer Nav
--------------------------------------------------------------*/

.main-nav,
.utility-nav,
.footer-nav {
  position: relative;
  display: block;
  text-align: center;
}

.main-nav,
.footer-nav {
  width: 100%;
}

.utility-nav {
  margin: 0 auto;
  padding: 40px 0;
  clear: both;
}

.footer-nav {
  padding: 20px 0;
}

.main-nav > ul,
.utility-nav ul,
.footer-nav > ul {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.main-nav ul > li,
.utility-nav ul > li,
.footer-nav ul > li {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
  text-align: center;
  padding: 0;
  margin: 0 10px;
}

@media (min-width: 1025px) {
  .main-nav ul > li {
    margin: 0 12px;
    font-size: 16px;
  }

  .footer-nav ul > li {
    margin: 0 5px;
    font-size: 12px;
  }

  .utility-nav ul > li {
    margin: 0 40px;
    font-size: 20px;
  }
}


@media (min-width: 1168px) {
  .main-nav ul > li {
    margin: 0 14px;
    font-size: 18px;
  }
  
  .footer-nav ul > li {
    margin: 0 8px;
    font-size: 12px;
  }
  
  .utility-nav ul > li {
    margin: 0 40px;
    font-size: 25px;
  }
}

.main-nav a,
.utility-nav a,
.footer-nav a {
  display: block;
  padding: 10px 0 0;
  font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a,
.footer-nav a {
  color: #fff;
}

.main-nav a {
  font-weight: bold;
}

.footer-nav a {
  font-weight: normal;
}

.utility-nav a {
  font-weight: bold;
  color: #e6202d;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: #fad542; 
}

.main-nav .current-menu-item > a,
.footer-nav .current-menu-item > a {
  color: #fad542;
}

.utility-nav a:hover,
.utility-nav .current-menu-item > a {
  color: #89080f;
}


.main-nav ul > li.home {
  display: inline-block;
  height: 200px;
  width: 300px;
  background-image: url('/wp-content/themes/mazzios-child/img/mazzios-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
}

.main-nav ul > li.home a {
  height: 100%;
}

.order-now a {
  color: #fad542; 
}

.order-now:before {
  content: '';
  position: absolute;
  top: -101px;
  left: 25px;
  display: block;
  width: 75px;
  height: 100px;
  background-image: url('/wp-content/themes/mazzios-child/img/order-now-arrow.png');
  background-repeat: no-repeat;
}

/*--------------------------------------------------------------
## Footer Nav Rollovers
--------------------------------------------------------------*/
.footer-nav ul ul {
  display: none;
  position: absolute;
  left: -20px;
  z-index: 999;
  padding: 0;
  text-align: left;
  background: #000;
}

.footer-nav ul ul li {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font-weight: normal;
}

.footer-nav ul ul a {
  display: block;
  width: 125px;
  padding: 5px;
  text-align: center;
}


.footer-nav ul li:hover > ul,
.footer-nav ul li a:focus + ul,
.footer-nav ul li.focus > ul {
  display: block;
  left: -20px;
}

.footer-nav ul ul li:hover > ul,
.footer-nav ul ul li a:focus + ul,
.footer-nav ul ul li.focus > ul {
  display: none;
  left: 0;
}


/*--------------------------------------------------------------
## Main
--------------------------------------------------------------*/

main {
  padding: 20px;
  margin: 0 auto;
  min-height: 400px;
  max-width: 1168px;
}

.page-template-template-home main,
.page-template-template-fullbleed main {
  padding: 0;
  max-width: none;
  min-height: none;
}

@media (min-width: 729px) {
  main {
    padding-top: 80px;
  }

  .page-template-template-home main,
  .page-template-template-fullbleed main {
    padding-top: 0;
  }
}

/*--------------------------------------------------------------
## Banner
--------------------------------------------------------------*/

.banner {
  background-image: url('/wp-content/themes/mazzios-child/img/banner-background.jpg');
  background-size: cover;
  background-position: 0 0;
}

.banner img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 1168px !important;
}

/*--------------------------------------------------------------
## Homepage
--------------------------------------------------------------*/

.more-offers img {
  margin-top: 30px;
  margin-bottom: -70px;
}

/*--------------------------------------------------------------
## Pages
--------------------------------------------------------------*/

.page-title h1 {
  margin-top: 140px;
  margin-left: -100px;
  font-size: 36px;
  text-align: right;
  text-transform: uppercase;
  transform: rotate(-90deg);
}

.page-title + .page {
  padding: 0 10px;
}

@media (min-width: 1025px) {
  .page-title {
    width: 20%;
    float: left;
  }
  .page-title + .page {
    width: 80%;
    float: right;
  }
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.footer-wrapper {
  background-image: url('/wp-content/themes/mazzios-child/img/footer-background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.site-footer {
  margin: 0 auto;
  padding: 10px 10px 40px 10px;
  max-width: 1168px;
  width: 100%;
  overflow-x: hidden;
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #fad542;
}

.copyright {
  text-align: center;
  display: block;
}

.footer-logo {
  max-width: 250px;
  padding: 0;
  margin: 0 auto;
}

.social-links {
  float: right;
  list-style: none;
  padding: 0;
}

.social-links li {
  display: inline-block;
}

.social-links img {
  height: 40px;
  width: 40px;
  vertical-align: middle;
}


@media (min-width: 1025px) {
  .footer-one,
  .footer-two,
  .footer-three {
    width: 33%;
    float: left;
    padding: 40px 0;
  }
}

/*--------------------------------------------------------------
## Forms and Buttons
--------------------------------------------------------------*/

input[type="submit"],
input[type="button"],
div.gmw-form-wrapper .gmw-submit, 
div.gmw-form-wrapper input[type=submit],
.button {
  padding: 10px 20px !important;
  background-color: #000 !important;
  border: 1px solid #fff;
  border-radius: 12px;
  font-family: 'Arvo', 'Courier New', Courier, Georgia, Times, 'Times New Roman', serif;
  color: #fecd2f !important;
  text-transform: uppercase;
  font-weight: 600;
  vertical-align: middle;
}

.required {
  color: #790000;
}

/*--------------------------------------------------------------
## Utility Classes
--------------------------------------------------------------*/

.wrapper {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.max-width-container {
  max-width: 1168px;
  margin: 0 auto !important;;
}

.accessibility {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.accessibility:focus {
  position: static;
  width: auto;
  height: auto;
}

.visually-hidden { 
  /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.clear {
  clear: both;
}

.light-on-dark-copy {
  color: #fff;
}

.light-on-dark-copy a {
  color: #fff;
  text-decoration: underline;
}

.extra-padding {
  padding: 20px;
}

.desktop-only {
  display: none;
}

@media (min-width: 1025px) {
  .desktop-only {
    display: block;
  }
}

.mobile-only {
  display: block;
}

@media (min-width: 1025px) {
  .mobile-only {
    display: none;
  }
}

/*--------------------------------------------------------------
## Fresh Text Signup
--------------------------------------------------------------*/

.fresh-text-signup {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.fresh-text-signup label {
  color: #fff;
}

.fresh-text-signup input {
  margin: 0 10px;
}

.fresh-text-signup input[type="text"],
.fresh-text-signup input[type="submit"] {
  display: block;
  margin: 20px;
}

@media (min-width: 1025px) {
  .fresh-text-signup {
    text-align: center;
  }

  .fresh-text-signup input[type="text"] {
    display: inline-block;
    margin: 0 10px;
  }
  
  .fresh-text-signup input[type="submit"] {
    margin: 0 10px;
    float: right;
  }

  .fresh-text-signup br {
    display: none;
  }
}

/*--------------------------------------------------------------
## E-Club Signup
--------------------------------------------------------------*/

.join-e-club table br {
  display: none;
}

/*--------------------------------------------------------------
## Mobile Menu Overrides
--------------------------------------------------------------*/
/* !important is needed here based on how WP loads stylesheets */

#responsive-menu {
  margin-top: 50px !important;
}

#responsive-menu {
  display: none;
}

.responsive-menu-open #responsive-menu {
  display: block;
}

/*--------------------------------------------------------------
## Gravity Forms Overrides
--------------------------------------------------------------*/
/* !important is needed here based on how WP loads stylesheets */

.gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
  margin-top: 0 !important;
}


/*--------------------------------------------------------------
## Geo My WP Overrides
--------------------------------------------------------------*/
/* !important is needed here based on how WP loads stylesheets */


div.gm-style-iw {
  border-radius: 0 !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  width: auto !important;
  top: 0 !important;
  left: 0 !important;
  background-color: #fff !important;
  border: 0 !important;
}

div.gmw-info-window-inner.standard a.gmw-get-directions {
  display: block;
  z-index: 9999 !important;
  position: absolute;
  left: 35%;
}


div.gmw-info-window-inner.standard span.distance {
  display: none;
}

span.gmw-terms-wrapper a,
.find-a-mazzios .post-title a {
  color: #444;
  cursor: default;
}

/*--------------------------------------------------------------
## Visual Composer + VC Kit Overrides
--------------------------------------------------------------*/
/* !important is needed here based on how WP loads stylesheets */

.banner.vc_row-has-fill > .vc_column_container > .vc_column-inner {
  padding-top: 0 !important;
}

@media only screen and (max-width: 767px) {
  .vckit-carousel {
    margin-bottom: 0 !important;
  }
}

.coupon-select-label {
  font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
  font-size: 24px;
  text-align: left;
  color: #fbcd05;
  font-weight: 700;
}

.coupon-select-header {
  width: 100%;
  height: auto;
}

.coupon-select {
  width: 100%;
  height: 30px;
}

.non-active {
  display: none;
}

.active {
  display: block !important;
}

.coupon {
  display: none;
}

.coupon-image {
  width: 248px;
  height: 440px;
  margin: 0 auto;
  display: block;
}

.coupon-image-container {
  width: 248px;
  height: 440px;
  position: relative;
  margin: 0 auto;
  
}

.coupon-image-container:hover {
  cursor: pointer;
}

.coupon-disclaimer {
  position: absolute;
  font-size: 6px;
  font-weight: 700;
  color: #000;
  bottom: 90px;
  width: 40%;
  left: 20px;
}

.coupon-spacing {
  margin: 20px auto;
}

.all-coupons-button {
  font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
  padding: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fbcd05;
  text-align: center;
  font-size: 18px;
  background-color: #870d0a;
  width: 160px;
  display: none;
  border-radius: 5px;
  box-shadow: 2px 4px 2px rgba(0,0,0,0.25);
}

.all-coupons-button:hover {
  cursor: pointer;
}

@media print {
  .header-wrapper, .test-footer, .filter-container, .utility-nav, .all-coupons-button, .footer-wrapper {
      display: none !important;
      background-color: blue;
    }
}

@media screen and (max-width: 767px){
  .coupon-select {
    height: 40px;
    font-size: 18px;
  }
}