/*
 Theme Name:   GeneratePress Child Karpovich
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* IMG */

.product_list_widget img,
.karpovich-row .wp-block-image img,
.inside-right-sidebar img,
.woocommerce ul.products li.product a img,
.wc-block-grid__product .wc-block-grid__product-image img {
  border-radius: 5px;
}

/* UL */

.entry-content ul {
  list-style-type: circle;
}

.home .entry-content ul {
  list-style-type: none;
}

/* WAR IN UKRAINE */

.top-bar {
	background: none;
}

.inside-top-bar {
	background: #000;
	text-align: center;
}

/* HEADER */

.inside-header {
  padding-top: 20px;
  padding-bottom: 30px;
}

.header-widget {
  max-width: 90%;
  margin-top: 17px;
}

/* HEADER-WIDGET */

.header-widget .widget {
  padding: 0 0 20px;
  margin-bottom: 0;
  text-align: right;
  padding-bottom: 0;
  float: right;
  margin-left: 40px;
}

.header-widget .widget a {
  color: #222;
}

.header-widget .textwidget p:first-child {
  font-size: 15px;
  font-weight: bold;
  color: #222;
  text-align: right;
  margin: 0;
  margin-top: 3px;
}

.header-widget .widget:last-child p {
  line-height: 1.4em;
  margin-top: 0;
}

.header-widget .textwidget p:last-child {
  font-size: 14px;
  text-align: right;
  margin: 0;
}

/* MENU - CART */

.main-nav > .menu > .menu-item:last-child {
  float: right;
}

.main-nav > .menu > .menu-item:last-child > a::before {
  font-family: dashicons;
  display: inline-block;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 20px;
  height: 20px;
  font-size: 20px;
  vertical-align: top;
  margin-right: 5px;
  content: "\f174";
}

/* NAVIGATION */

.main-navigation .inside-navigation {
  padding: 0 40px;
  background: #fff;
}

.main-navigation.element-is-sticky .inside-navigation {
  box-shadow: 30px 0 0 #efefef, -30px 0 0 #efefef, 0 1px 1em rgba(0,0,0,.2);
}

.main-navigation ul ul {
  background: #fff;
}

.main-navigation .main-nav ul ul li > a {
  color: #222;
  background-color: #fff;
  font-weight: bold;
}

.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li:focus > a,
.main-navigation .main-nav ul ul li.sfHover > a {
  color: #ff4747;
  background-color: #fff;
}

.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
  background: #fff;
  box-shadow: inset 2px 0 0 #ff4747;
  color: #222;
}

.main-navigation .main-nav ul ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul ul li[class*="current-menu-"].sfHover > a {
  background: #fff;
  color: #ff4747;
}

.main-navigation .main-nav ul li {
  margin-right: 40px;
}

.main-navigation .main-nav ul li:last-child {
  margin-right: 0;
}

.main-navigation .main-nav > ul > li > a,
.main-navigation .main-nav > ul > li > a:visited,
.main-navigation .main-nav > ul > li > a:active,
.main-navigation .main-nav > ul > li > a:focus {
  font-weight: bold;
  padding: 0;
  background: #fff;
  color: #222;
}

.main-navigation .main-nav ul li a:hover {
  background: #fff;
  color: #ff4747;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  background: #fff;
  color: #222;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"].sfHover > a {
  background: #fff;
  color: #ff4747;
}

.menu-item-has-children .dropdown-menu-toggle {
  padding-right: 0;
}

/* MENU TOGGLE */

button.menu-toggle,
button.menu-toggle:hover,
button.menu-toggle:focus,
.main-navigation .mobile-bar-items a,
.main-navigation .mobile-bar-items a:hover,
.main-navigation .mobile-bar-items a:focus {
  color: #222;
}

/*  */

.term-description {
  color: #000;
  position: relative;
  padding-top: 30px;
}

.term-description::before {
  content: '';
  display: block;
  width: 150px;
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  background: #3a3a3a;
}

.term-description h2,
.term-description h3 {
  font-weight: 500;
}

.term-description p {
  font-size: 14px;
  margin-bottom: 20px;
}

.term-description ul,
.term-description ol {
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.term-description h2 {
  font-size: 19px;
  margin-bottom: 17.4px;
}

.term-description h3 {
  font-size: 16.4px;
  margin-bottom: 16.4px;
}

/* PRODUCT HOME */

.karpovich-row {
  margin-bottom: 1.5em;
}

.karpovich-row .wp-block-image {
  margin-bottom: 3px;
}

.karpovich-row p {
  margin-bottom: 0;
}

.product-variation-title {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  line-height: 1.4em;
}

.woocommerce div.product form.cart .variations td.value, .woocommerce div.product form.cart .variations th.value {
  padding-top: 0;
}

/* MARKER */

.single_plants_marker {
  float: left;
  margin-right: 5px;
}

/* RIGHT WIDGET */

.widget-title {
  font-weight: normal;
  /* text-transform: uppercase; */
  /* font-size: medium; */
  font-size: 17px;
  /* text-align: center; */
  margin-bottom: 10px;
}

.inside-left-sidebar .widget,
.inside-right-sidebar .widget {
  border-bottom: 1px solid darkgrey;
}

.inside-left-sidebar .widget:last-child,
.inside-right-sidebar .widget:last-child {
  border-bottom: none;
}

.widget-area .inside-right-sidebar .widget {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.inside-right-sidebar ul.product_list_widget li {
  margin-bottom: 20px;
  border-radius: 5px;
  text-align: center;
}

.inside-right-sidebar ul.product_list_widget li img {
  float: none;
  margin-left: 0px;
  width: 100%;
}

.inside-right-sidebar .product-title {
  font-size: 17px;
  font-weight: normal;
}

.inside-right-sidebar .widget_products {
  margin-top: 20px;
}

.woocommerce ul.product_list_widget li a {
  font-weight: normal;
}

/* LEFT SIDEBAR */

.widget-area .inside-left-sidebar .widget {
  padding: 10px 0 10px 0;
  margin: 0;
}

.inside-left-sidebar .widget_product_search {
  border-bottom: none;
  padding-top: 0 !important;
}

.inside-left-sidebar .widget_product_search input.search-field {
  border: none;
  background: #fff;
  border-bottom: 1px solid #aaa;
  padding-left: 0;
  padding-top: 0;
  outline: none;
}

.inside-left-sidebar .widget_product_search button {
  display: none;
}

.inside-left-sidebar .widget_text {
  text-align: center;
}

.inside-left-sidebar .widget_text p {
  margin-bottom: 10px;
}

.inside-left-sidebar .widget_text img {
  width: 150px;
}

.product-categories .cat-parent {
  /* padding-bottom: 15px; */
}

.product-categories .cat-parent ul {
  padding-top: 5px;
  padding-left: 20px;
  font-size: medium;
}

/* -------------- PRODUCTS --------------- */

/* PRODUCT */

.wc-block-grid__product,
.products .product {
  text-align: center;
}

/* PRODUCT-TITLE */

.wc-block-grid__product .wc-block-grid__product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 17px;
  font-weight: normal;
  padding: 0;
  margin-bottom: 5px;
}

/* PRODUCT-IMAGE */

.woocommerce ul.products li.product a img,
.wc-block-grid__product .wc-block-grid__product-image {
  margin-bottom: 8px;
}

/* PRODUCT-PRICE */

.wc-block-grid__product .wc-block-grid__product-price,
.woocommerce ul.products li.product .price {
  margin-bottom: 0;
  color: #77a464;
}

/* PRODUCT-BUTTON */

.wc-block-grid__product .wc-block-grid__product-add-to-cart .add_to_cart_button,
.woocommerce ul.products li.product .button {
  font-size: 100%;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: visible;
  padding: .618em 1em;
  font-weight: 700;
  border-radius: 3px;
  left: auto;
  color: #515151;
  background-color: #ebe9eb;
  border: 0;
  display: inline-block;
  background-image: none;
  box-shadow: none;
  text-shadow: none;
}

.wc-block-grid__product .wc-block-grid__product-add-to-cart .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
  background-color: #dfdcde;
  color: #515151;
}

.wc-block-grid__product .wc-block-grid__product-add-to-cart,
.woocommerce ul.products li.product .button {
  margin-top: 10px;
}

/* PRODUCT - STAR */

.products .product .star-rating,
.inside-right-sidebar .woocommerce .star-rating {
  width: 100%;
}

.products .product .star-rating::before,
.inside-right-sidebar .woocommerce .star-rating::before {
  width: 100%;
}

.products .product .star-rating span,
.inside-right-sidebar .woocommerce .star-rating span {
  width: 100%;
}

.products .product .star-rating span::before,
.inside-right-sidebar .woocommerce .star-rating span::before {
  width: 100%;
  /* color: #ffe234; */
}

/* PRODUCT_PAGE-QUANTITY */

.quantity input[type="number"], textarea, select {
  padding: 5.6px 10px;
}

/* PRODUCT_PAGE DETAILS */

.woocommerce table.shop_attributes th {
  font-weight: normal;
}

.woocommerce table.shop_attributes td {
  padding-left: 10px;
}

.home .entry-content {
  margin-top: 0;
}

/* TO TOP BUTTON */

.generate-back-to-top, .generate-back-to-top:visited {
  bottom: 50px;  
}

/* FOOTER */

footer {
  background: #fff !important;
}

/* .footer-widgets {
  background-color: #f4f3f5;
  padding-top: 20px;
  padding-bottom: 30px;
}

.footer-widgets .textwidget a {
  color: #333;
}

.footer-widgets .textwidget a:hover {
  text-decoration: underline;
} */

.footer-bottom {
	width: 100%;
  color: #222;
  font-size: medium;
}
.footer-bottom-column {
	display: inline-block;
    text-align: center;
}
.footer-bottom-column1 {
	width: 33%;
	float: left;
}
.footer-bottom-column2 {
	width: 33%;
}
.footer-bottom-column3 {
	width: 33%;
	float: right;
}
.footer-column-times {
	display: none;
}

/* SITE INFO */

.site-info {
  color: #3a3a3a;
  padding: 0 20px 40px 20px;
}

/* SITE-INFO -> FOOTER MIDDLE */

.footer-middle {
  font-size: 17px;
  margin-bottom: 30px;
}

.site-info a.site-info--link {
  margin-left: 5px;
  font-weight: bold;
  font-size: 14px;
  color: #1e73be;
}

.site-info a.site-info--link-email {
  color: #1e73be;
}

@media (max-width: 660px) {

  .main-navigation.element-is-sticky .inside-navigation {
    box-shadow: 0 1px 1em rgba(0,0,0,.2);
  }

  .main-nav > .menu > .menu-item:last-child {
    float: none;
  }

  .header-widget {
    margin-top: 0;
  }

  .header-widget .widget {
    text-align: center;
    width: 100%;
    margin-left: 0;
  }

  .header-widget .widget:first-child {
    margin-bottom: 10px;
  }

  .header-widget .textwidget p:nth-child(n) {
    text-align: center;
  }

  .karpovich-row {
    flex-wrap: nowrap;
  }

  .karpovich-row .wp-block-column:first-child {
    padding-right: 10px;
  }

  .karpovich-row .wp-block-column:last-child {
    padding-left: 10px;
  }

  .inside-right-sidebar {
    display: none;
  }

	/* Footer */
	.site-info {
    padding: 0 20px 20px 20px;
	}

	.footer-bottom {
		padding-top: 15px;
	}
	.footer-bottom-column1,
  .footer-bottom-column3 {
		width: 100%;
	}
	.footer-bottom-column2 {
		display: none;
	}
	.footer-column-times {
    display: block;
		width: 100%;
		text-align: center;
		margin-bottom: 15px;
	}
}
