/*
Theme Name: Puca
Theme URI: https://demo.thembay.com/puca/
Author: Thembay
Author URI: https://thembay.com
Description: Best Optimized Mobile WooCommerce Theme
Version: 1.3.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: puca

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.
*/

/**
 * Table of Contents
 *
 * 1.0 - Reset
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigations
 *   6.1 - Links
 *   6.2 - Menus
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Header
 * 11.0 - Widgets
 * 12.0 - Content
 *    12.1 - Posts and pages
 *    12.2 - Post Formats
 *    12.3 - Comments
 * 13.0 - Footer
 * 14.0 - Media
 *    14.1 - Captions
 *    14.2 - Galleries
 * 15.0 - Multisite
 * 16.0 - Media Queries
 *    16.1 - Mobile Large
 *    16.2 - Tablet Small
 *    16.3 - Tablet Large
 *    16.4 - Desktop Small
 *    16.5 - Desktop Medium
 *    16.6 - Desktop Large
 *    16.7 - Desktop X-Large
 * 17.0 - Print
 */

/**
 * 1.0 - Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint.
 */
img {
  max-width: 100%;
  height: auto;
}

.sticky {
  background: #ffffff;
}
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  color: #333;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px !important;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption,
.bypostauthor {
  font-style: italic;
  font-size: 12px;
  color: #757575;
}

/**
 *  Gallery
 * -----------------------------------------------------------------------------
 */
#tbay-main-content .single-post .gallery {
  padding-top: 30px;
  margin-right: -25px;
}
.gallery .gallery-item a {
  margin: 0;
}
.gallery .gallery-item {
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
  width: auto;
}

.gallery-columns-2 .gallery-item {
  max-width: 48%;
  max-width: -webkit-calc(50% - 14px);
  max-width: calc(50% - 14px);
  width: auto;
}

.gallery-columns-3 .gallery-item {
  max-width: 32%;
  max-width: -webkit-calc(33.3% - 11px);
  max-width: calc(33.3% - 11px);
  width: auto;
}

.gallery-columns-4 .gallery-item {
  max-width: 23%;
  max-width: -webkit-calc(25% - 9px);
  max-width: calc(25% - 9px);
  width: auto;
}

.gallery-columns-5 .gallery-item {
  max-width: 19%;
  max-width: -webkit-calc(20% - 8px);
  max-width: calc(20% - 8px);
  width: auto;
}

.gallery-columns-6 .gallery-item {
  max-width: 15%;
  max-width: -webkit-calc(16.7% - 7px);
  max-width: calc(16.7% - 7px);
  width: auto;
}

.gallery-columns-7 .gallery-item {
  max-width: 13%;
  max-width: -webkit-calc(14.28% - 7px);
  max-width: calc(14.28% - 7px);
  width: auto;
}

.gallery-columns-8 .gallery-item {
  max-width: 11%;
  max-width: -webkit-calc(12.5% - 6px);
  max-width: calc(12.5% - 6px);
  width: auto;
}

.gallery-columns-9 .gallery-item {
  max-width: 9%;
  max-width: -webkit-calc(11.1% - 6px);
  max-width: calc(11.1% - 6px);
  width: auto;
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
  margin-right: 0;
}

.gallery .gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-height: 50%;
  opacity: 0;
  padding: 6px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  width: 100%;
}

.gallery .gallery-caption:before {
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

.gallery-columns-2 .gallery-item:nth-child(odd),
.gallery-columns-3 .gallery-item:nth-child(3n + 1),
.gallery-columns-4 .gallery-item:nth-child(4n + 1),
.gallery-columns-5 .gallery-item:nth-child(5n + 1),
.gallery-columns-6 .gallery-item:nth-child(6n + 1),
.gallery-columns-7 .gallery-item:nth-child(7n + 1),
.gallery-columns-8 .gallery-item:nth-child(8n + 1),
.gallery-columns-9 .gallery-item:nth-child(9n + 1) {
  clear: both;
}

/* CUSTOM */

#back-to-top {
  display: none;
}

.tbay-to-top a {
  width: 64px;
  height: 64px;
  background: #ffffff;
}

.tbay-to-top a i {
  line-height: 62px;
  color: #0aa54a;
}

.tbay-to-top a.mini-cart i {
  font-size: 26px;
}

.wpcf7-form input.required,
.wpcf7-form textarea.required {
  color: #555;
}

.wpcf7-form .required {
  color: #232323;
}

.topbar-mobile .tbay-topcart {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto;
  width: auto;
}

header .top-cart,
.topbar-mobile .top-cart {
  position: fixed;
  pointer-events: all;
  right: 41px;
  top: 140px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: #ffffff;
  border: 1px solid #eee;
  text-align: center;
  transition: 0.3s;
}

header .top-cart .mini-cart .mini-cart-items,
.topbar-mobile .top-cart .mini-cart .mini-cart-items {
  position: absolute !important;
  top: -25px !important;
  width: 18px !important;
  right: 6px !important;
  font-size: 11px !important;
  border: 2px solid #fff !important;
  line-height: 14px !important;
  border-radius: 50% !important;
  height: 19px !important;
  font-weight: bold !important;
  text-align: center !important;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.12) !important;
}

header .top-cart:hover,
.topbar-mobile .top-cart:hover {
  background: #30c1d9 !important;
  border-color: #30c1d9 !important;
}

header .top-cart:hover .icon-bag,
.topbar-mobile .top-cart:hover .icon-bag {
  color: #fff !important;
}

header .top-cart .mini-cart,
.topbar-mobile .top-cart .mini-cart {
  margin-left: 0 !important;
}

header .top-cart .icon-bag,
.topbar-mobile .top-cart .icon-bag {
  width: 62px;
  font-size: 26px;
  color: #30c1d9;
  line-height: 62px;
  transition: 0.3s;
}

header .top-cart .dropdown-menu .view-cart .icon-bag,
.topbar-mobile .top-cart .dropdown-menu .view-cart .icon-bag {
  width: auto;
  font-size: 12px;
  line-height: 18px;
  color: #fff;
}

header .top-cart .dropdown-menu .view-cart:hover .icon-bag,
.topbar-mobile .top-cart .dropdown-menu .view-cart:hover .icon-bag {
  color: #005691 !important;
}

header .top-cart .qty,
.topbar-mobile .top-cart .qty {
  display: none !important;
}

header .top-cart .cart-dropdown.cart-popup.open .dropdown-menu,
.topbar-mobile .top-cart .cart-dropdown.cart-popup.open .dropdown-menu {
  /* 		transform: translateY(-111%); */
}

.woocommerce .cart-dropdown.cart-popup .dropdown-menu ul,
.cart-dropdown.cart-popup .dropdown-menu ul {
  max-height: 400px;
}

.topbar-mobile .logo-tablet {
  position: static;
}

.topbar-mobile .logo-tablet a img {
  position: absolute;
  top: 5px;
  max-width: 90px;
}

.topbar-mobile .top-cart .dropdown-menu {
  left: auto;
  right: 0;
}

.topbar-device-mobile .mobile-logo a img {
  padding-top: 0;
  padding-bottom: 0;
  max-width: 65px;
  top: 5px;
}

@media screen and (max-width: 767px) {
  .wrapper-container {
    padding-top: 50px;
  }
}

@media screen and (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: left;
  }
}

@media screen and (max-width: 992px) and (min-width: 768px) {
  .wrapper-container {
    padding-top: 71px;
  }
}

@media screen and (min-width: 992px) {
  .menu_holder.sticky_container .menu_inner {
    width: auto !important;
  }

  #tbay-header {
    margin: 0;
  }

  #tbay-header .header-main {
    padding-top: 4px;
  }

  /* .header-left {
    align-self: flex-start;
  }

  .logo-in-theme {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
  } */

  .site-header .logo img {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 110px;
  }

  #tbay-header.header-v6 .navbar-nav.megamenu > li > a {
    padding: 26px 15px 24px;
  }

  #tbay-header .header-main,
  #tbay-header .header-mainmenu,
  #tbay-header .container-full {
    z-index: 999;
  }

  .mega_main_menu.direction-horizontal > .menu_holder.sticky_container {
    position: relative !important;
    left: inherit !important;
    top: inherit !important;
  }

  .admin-bar
    .mega_main_menu.direction-horizontal
    > .menu_holder.sticky_container {
    top: inherit !important;
  }

  .mega_main_menu.primary.icons-top
    > .menu_holder.sticky_container
    > .menu_inner
    > ul
    > li
    > .item_link
    > .link_content {
    padding-bottom: 12.166666666667px !important;
  }

  .mega_main_menu.primary.icons-top
    > .menu_holder.sticky_container
    > .menu_inner
    > ul
    > li
    > .item_link
    > i,
  .mega_main_menu.primary.icons-top
    > .menu_holder.sticky_container
    > .menu_inner
    > ul
    > li
    > .item_link
    > .link_content {
    height: 36.5px !important;
    line-height: 24.333333333333px !important;
  }

  #tbay-header .header-right.col-md-2 {
    text-align: center !important;
  }

  .top-bar .menu {
    text-align: center;
  }

  .top-bar .menu li {
    display: inline-block;
    padding: 6px 50px;
  }

  .top-bar .col-md-1 {
    padding-top: 10px;
  }

  .top-bar .col-md-1 .tbay-login {
    float: right;
  }

  .sticky-header1 .top-bar {
    display: none;
  }

  .main-sticky-header .top-bar {
    background-color: #f4f9fc;
  }

  .sticky-header1 .top-bar {
    background-color: #fff;
  }
}

@media screen and (max-width: 1244px) {
  .header-right.col-md-2 .top-contact-wrapper .widget {
    display: none;
  }
}

.tbay-to-top {
  display: none !important;
}

.phones_mobile_block {
  padding: 12px 20px 0 0;
}
.popup_phones_mobile {
  background-color: #fff;
  opacity: 0;
  top: 50px;
  bottom: auto;
  position: absolute;
  transition: 0.5s;
  width: 50%;
  right: 0;
  padding: 10px 20px 10px 30px;
  z-index: 999;
}
.popup_phones_mobile.active {
  opacity: 1;
}
.topbar-mobile .btn.account-button {
  padding-top: 5px;
}

.woocommerce-cart-form .cart .update {
  display: none !important;
}

.mm-menu .mm-searchfield__btn.mm-btn_clear {
  right: 35px;
}

.mm-menu .mm-searchfield__btn.mm-btn_search {
  padding-top: 10px;
}

.menu-categories .row {
  display: flex;
  justify-content: center;
}

.tbay-login {
  display: none;
}