/*======================================
Theme Name: Wine Store Divi Child Theme
Theme URI: https://wine-store.duogeeks.com/
Description: Are you looking for a wine, vineyard, or alcohol WordPress Woocommerce store? The Wine Store Divi child theme is perfect for you.
Version: 1.0
Author: Divi Awesome
Author URI: https://wine-store.duogeeks.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

p {
	font-weight:400;
}


/**** This hides the sub menu items on mobile ****/
#page-container .mobile_nav li ul.hide {
    display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
    content: "\4c";
    display: block;
    color: #000;
    font-size: 16px;
    font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
    content: "\4d";
}
/* To make menu link look brighter */
.et-menu a:hover{
	opacity:1!important;
}

/* Mobile Menu */
.et_mobile_menu {
    position: absolute!important;
    left: 0;
    padding: 5%;
    background: #fff;
    width: 100%;
    visibility: visible;
    opacity: 1;
    display: none;
    z-index: 9999;
    border-top: 3px solid #065f333;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
}

/* Centering Button */
.center-position-button .et_pb_button_module_wrapper{
  display:inline-block;
  position:relative;
  left:50%;
  transform:translateX(-50%);
}
.text-highlight{
  color:var(--wine-red);
}
/* Contact Page Button Fullwidth */
.et_contact_bottom_container{
	width:100%;
}
/****************************
Header Menu 
****************************/
/* Settings for Sub Menus */

/* Making menu  fullwidth */
.nav li li{
  padding:5px!important;
  width:100%!important;
  transition:0.5s;
}
/* Making menu link fullwidth */
.et-menu li li a{
  width:100%!important;
  transition:0.5s;
}
.et-menu li li a:hover{
	background:none;
}
/* To Remove background when hover over  */
.nav li li:hover{
	background:none;
}

/***************************
Bottom CTA
***************************/
@media(min-width:500px){
	.wine-global-cta .et_pb_newsletter_field{
  padding:0!important;
}

.wine-global-cta .et_pb_newsletter_fields .et_pb_newsletter_button_wrap{
    position:absolute;
    right:1%;
    top:50%;
    transform:translateY(-50%);
}
}

/****************************
*****************************
Home 1
*****************************
****************************/
/****************************
Testimonial
****************************/
.et_pb_slider h4{
  font-family:Cormorant Garamond;
  color:#000!important;
  font-weight:700;
  font-size:25px;
  margin-top:20px;
  padding-bottom:0;
}
.et_pb_slider{
  display:flex;
  flex-wrap:wrap;
  margin-bottom:0!important;
}

.wine-h1-testimonial .et-pb-controllers{
  order:0;
  position:relative;
  bottom:0;
  margin-bottom:40px;
}
.wine-h1-testimonial .et_pb_slides{
  order:1;
}

/****************************
Blog
****************************/
.wine-h1-blog .post-content p{
  color:#333!important;
}
/*****************************
Product Category
*****************************/
/* color change of blurb on hover */
.wine-h1-wine-category:before{
  position:absolute;
  content:'';
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(202,91,118,0.30);
  opacity:0;
  z-index:50;
}
.wine-h1-wine-category:hover:before{
  opacity:1;
}
/* transition to image */
.wine-h1-wine-category .et_pb_image_wrap img{
  transition:0.4s;
}
/* image Rotate on hovrt */
.wine-h1-wine-category:hover .et_pb_image_wrap img{
  transform:rotate(20deg);
}
/* Title Visibility */
.wine-h1-wine-category .et_pb_module_header{
  opacity:0;
}
.wine-h1-wine-category:hover .et_pb_module_header{
  opacity:1;
}
/*******************************
********************************
WooCommerce Sidebar 
********************************
*******************************/
/* Sidebar Search Bar */
.wc-block-product-search__field, .wp-block-search__input{
    font-family:Roboto;
    color:#000!important;
    border:2px solid var(--wine-dark-shade)!important;
	border-radius:7px;
  }
  /* Sidebar Form Button */
  .wc-block-product-search__button, .wp-block-search__button{
    background:var(--wine-red)!important;
    color:#fff!important;
    text-transform:uppercase;
    border:2px solid var(--wine-red)!important;
	  border-radius:7px;
  }
  /* Categories */
.wc-block-product-categories-list{
	padding-left:0!important;
	padding-bottom:0!important;
}

/* List Design  */
  .wc-block-product-categories .wc-block-product-categories-list-item, .et_pb_widget ul li{
    font-family:Roboto!important;
    font-size:15px;
    font-weight:400;
    background:var(--wine-light);
    padding:10px;
    border-radius:8px;
    margin-bottom:0.5em;
	list-style:none!important;
	list-style-type: none!important;
  }
/* Category Link Design */
  .wc-block-product-categories ul li a, .et_pb_widget ul li a{
    color:#000!important;
	width: 90%!important;
    display: inline-block;
	 
  }

/* Category Icon */ 
.wc-block-product-categories a:before, .et_pb_widget ul li a:before{
      float: left;
      content: '\24';
      font-family: etmodules;
      color: #fff;
      margin-right: 7px;
      background: var(--wine-dark-shade);
      width: 23px;
      text-align: center;
      height: 22px;
      padding: 2px 0 3px 3px;
      border-radius: 50%;
      font-size: 18px;
      font-weight: 700;
      display: flex;
      align-items: center;
      transform: rotate(0deg);
      transition: .5s ease
  }
  /* Sidebar Titles */
  .widgettitle{
    font-family:Cormorant Garamond;
    font-size:20px!important;
    color:#fff;
    font-weight:500;
    background:var(--wine-dark-shade);
    padding:15px 20px;
    border-radius:7px;
    margin-bottom:10px;
  }

/***************************
 Filter By Price
***************************/
.woocommerce .widget_price_filter .price_slider_amount .button{
	background:var(--wine-red)!important;
    color:#fff!important;
    text-transform:uppercase;
	border-radius:5px;
	padding:5px 15px!important;
}
/* No padding on Hover */
.price_slider_wrapper .button:hover{
	padding-right: 15px!important;
}
/* Removing icon from button on hover */
.price_slider_wrapper .button:after{
	display:none!important;
}
/* Price Range Bar */
.ui-slider-range, .ui-slider-handle{
	background:var(--wine-red)!important;
}
.price_label{
	font-family:Roboto;
	font-size:15px;
	color:#000;
}

.et_pb_widget{
	padding:15px;
	box-shadow:0px 2px 18px 0px rgba(110, 130, 208, 0.17);
	border-radius:7px;
}

#block-11{
	margin-bottom:0!important;
}

/***************************
****************************
 WooCommerce 
****************************
****************************/
.woocommerce-message, .woocommerce-error, .woocommerce-info{
  background:#c9a575!important;
  font-family:Cormorant Garamond!important;
  font-weight:700!important;
  font-size:20px!important;
  line-height:1.4;
}

.woocommerce-error li{
	font-size:20px!important;
	margin-bottom:10px!important;
}
.wc-backward{
	color:var(--wine-red)!important;
}
/*****************************
 Thank You Page
*****************************/
.woocommerce-order{
	padding:30px!important;
}
/* Thank You Title */
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received{
	font-family:Cormorant Garamond!important;
	font-weight:900!important;
	font-size:35px!important;
	color:#000!important;
	text-align:center;
}
/* Position of Order Overview */
@media(max-width:550px){
	.woocommerce-order-overview li{
	border:none!important;
	}
	.woocommerce-order-overview{
		justify-content:flex-start!important;
	}
}

.woocommerce-order-overview{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:center;
}
.woocommerce-order-overview li{
	margin-top:20px;
}
/* Order Overview Design */
.woocommerce-order-overview li{
	font-family:Cormorant Garamond;
	font-weight:900!important;
	color:#000!important;
	font-size:15px!important;
	line-height:1.5!important;
}
.woocommerce-order-overview li strong{
	font-family:Roboto!important;
	font-weight:500!important;
	font-size:15px!important;
}

/* Pay on Delivery */
.woocommerce-order-overview p{
	font-family:Roboto;
	color:#000!important;
	font-size:15px;
}
/* Order Details Title and Billing Address Title */
.woocommerce-order-details__title, .woocommerce-customer-details h2{
	font-family:Cormorant Garamond;
	font-size:25px;
	color:#000;
	font-weight:900!important;
}
/* Order Details Table */
.woocommerce-table{
	border:1px solid #000!important;
}

/* Order Details Table Heading and left side */
.entry-content thead th{
	border-bottom:1px solid #000;
}
.entry-content thead th, .entry-content tr th{
	font-family:Roboto;
	font-weight:600!important;
	color:#000!important;
	font-size:16px!important;
}
/* Order Details Right Side */
.entry-content tr td{
	font-family:Roboto;
	font-weight:500!important;
	color:#000!important;
	font-size:15px!important;
}
/* Order Details Link */
.entry-content tr td a{
	color:var(--wine-red)!important;
}

.woocommerce .woocommerce-customer-details address{
	border:1px solid #000!important;
	font-family:Roboto;
	font-size:15px;
	color:#000;
	line-height:1.8;
}

 .woocommerce .woocommerce-customer-details .woocommerce-customer-details--email, .woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone{
	font-family:Roboto!important;
	font-size:15px!important;
	color:#000!important;
	 font-weight:600!important;
	 padding-bottom:0px;
}

/****************************
*****************************
My Account
*****************************
****************************/
button.woocommerce-Button.button:hover, .woocommerce button.button:hover{
    padding: 10px 40px;
    background: var(--wine-red);
}
/* Padding for Downloads Button */
.woocommerce .woocommerce-MyAccount-content a.woocommerce-Button, .woocommerce-page button.button{
  padding:10px 40px;
}
/* Button in Orders Tab and Downloads Tab*/
.woocommerce .woocommerce-MyAccount-content a.woocommerce-button, .woocommerce .woocommerce-MyAccount-content a.woocommerce-Button, .woocommerce button.button, .woocommerce-page button.button{
  position:relative!important;
  font-family:Cormorant Garamond;
  font-size:15px!important;
  text-transform:uppercase;
  font-weight:600;
  color:#fff!important;
  background:var(--wine-red);
  border-color:var(--wine-red);
  border-left:5px solid var(--wine-dark-maroon)!important;
}
.woocommerce .woocommerce-MyAccount-content a.woocommerce-button:after, .woocommerce .woocommerce-MyAccount-content a.woocommerce-Button:after, .woocommerce-page button.button:after{
  content:'\24'!important;
  font-size:15px!important;
  margin-left:0;
  top:50%;
  right:10%;
  transform:translateY(-50%);
  opacity:1!important;
}
/* Color Of All Links in My Account */
.woocommerce .woocommerce-MyAccount-content a, .woocommerce .u-columns .woocommerce-LostPassword a, .woocommerce .woocommerce-privacy-policy-text a, .woocommerce .woocommerce-message .restore-item{
  color:var(--wine-red);
}

/******************************
Left Sidebar of My Account
******************************/
.woocommerce .woocommerce-MyAccount-navigation ul li{
  list-style:none;
  font-family:Cormorant Garamond;
  font-size:20px;
  font-weight:700;
  background:var(--wine-dark-shade);
  margin-bottom:10px;
  border-radius:3px;
}
.woocommerce .woocommerce-MyAccount-navigation ul li a{
  position:relative;
  color:#fff;
  width:100%!important;
  display:block!important;
  padding:10px 20px;
  z-index:0;
}

.woocommerce .woocommerce-MyAccount-navigation ul li a:before{
	position:absolute;
  content:'';
  top:0;
  left:0;
  width:0;
  height:100%;
  background:#fff;
  border:1px solid #c9a575;
  transition:0.5s;
  opacity:0;
  z-index:-1;
  border-radius:3px;
}
.woocommerce .woocommerce-MyAccount-navigation ul li a:hover:before{
  width:100%;
  opacity:1;
}
.woocommerce .woocommerce-MyAccount-navigation ul li a:hover{
  color:#c9a575!important;
}

/***************************
****************************
Blogs
****************************
***************************/

/***************************
Grid With Sidebar 
***************************/
.wine-grid-blog .et_pb_post{
  margin-top:20px;
}

.wine-grid-blog .et_pb_post .more-link:after{
  position:relative;
  content:'\24';
  font-family:ETmodules!important;
  margin-left:5px;
}

/********************************
FullWidth Blog 
********************************/

.wine-fullwidth-blog .et_pb_post .more-link:after{
  position:relative;
  content:'\24';
  font-family:ETmodules!important;
  margin-left:5px;
}
/* Pagination For Blogs */
.wp-pagenavi{
	text-align:center;
	font-family:Roboto!important;
	font-size:16px!important;
	font-weight:700!important;
	line-height:1.8em!important;
	color:#000!important;
	padding-top:30px!important;
}
/* To Remove Lines above Pagination */
.wp-pagenavi {
    border-top: none!important;
}
.pages{
  border:none!important;
	display:block!important;
	width:100%!important;
	margin-bottom:20px!important;
}
.wp-pagenavi a, .wp-pagenavi span {
    border: none!important;
    margin-right: 5px!important;
      padding: 10px 16px!important;
	border-radius:50%;
	font-weight:700!important;
	color:#000!important;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
    background: var(--wine-dark-shade);
    border-radius: 50%;
  	color:#fff!important;
	font-weight:700!important;
}

/***************************
****************************
Projects
****************************
***************************/
.wine-projects .et_pb_portfolio_item{
  position:relative;
  display:flex;
  flex-direction:column-reverse;
}
.wine-projects .et_pb_portfolio_item .et_pb_module_header{
  order:0;
  width:100%;
  margin-left:20px;
  margin-right:20px;
  margin-bottom:10px;
}
.wine-projects .et_pb_portfolio_item .post-meta{
  order:1;
  width:100%;
  margin-left:20px;
}

.wine-projects .et_portfolio_image {
	order:2;  
}
/* Change The Size Of Image */
.wine-projects .et_portfolio_image img {
  height:250px;
  object-fit:cover;
}