/*
Theme Name: The Hat Culture
Theme URI: https://thehatculture.com/
Description: Customisations for The Hat Culture Website
Author: Blue Sequence
Author URI: https://bluesequence.com
Template: Divi
Version: 0.1.0
*/
/*-------------------[GENERAL]--------------------*/
.thc-paragraph {
	margin-bottom:1rem !important;
}
 .thc-contact-error-message .et-pb-contact-message  {
	 color: #ffffff !important;}

.thc-white-text {
	color: #ffffff
}

/*this sets the height of the image module*/
.thc-full-height-image-column{
height:100%}

/*this sets the height of the image container*/
.thc-full-height-image-column .et_pb_image_wrap{
height:100%}

/*this sets the height and fit of the actual image*/
.thc-full-height-image-column img{
  object-fit:cover;
  height:100%
}

.list-none-style {list-style:none;}
.thc-custom-padding .woocommerce h2{
padding-left:0.625rem !important}

.thc-custom-padding .woocommerce .price{
padding-left:0.625rem}

.thc-custom-padding .woocommerce ul.products li.product{
	margin-bottom: 1em !important;
}
/* Add extra space left of cart icon in desktop menu
.et_pb_menu_icon.et_pb_menu_cart-button {
   margin-left:1em !important;
}*/
/* Display cart quantity in circle in menu
.et_pb_menu__cart-count {
	background-color: rgba(207,32,39, 0.5);
	border-radius: 50%;
	min-width: 18px !important;
	height: 18px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: -24px !important;
	margin-bottom: -17px !important;
	z-index:9;
} */
/** Stylying the search icon**/
.thc-search-icon::after {
    content: '\55' !important;
    font-family: ETModules;
    font-size: 1.5rem;
	font-weight:bold;
    color: #000000;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%) scaleX(-1);
    pointer-events: none;
    z-index: 9;
}

.thc-search-icon .et_pb_searchsubmit {
    z-index: 10;
}

/** styling divi default effects arrow for items with a drop down menu**/
.et-menu .menu-item-has-children > a:first-child:after {
content: "\0043" !important;
font-family: ETModules;
	padding-top: 0.188rem;
    font-size: 14px;
    color: #FA5237;
}

/**override the default menu item padding**/
.thc-menu-without-logo .et-menu>li {
	padding-left: 0px !important;
	padding-right: 2em !important;
}

.thc-menu-without-logo .et-menu>li:last-child {
	padding-right: 0px !important;
}

.thc-menu-without-logo .et-menu-nav li.mega-menu>ul>li>a:first-child {
    padding-top: 0 !important;
    font-weight: 600;
    border-bottom: 0px solid rgba(0, 0, 0, 0);
}

/* ### Mega menu container ### */
.et_pb_menu li.mega-menu > ul {
  border-top: none !important;
  border-bottom: 2px red;
  transition-delay: 1s;
  box-shadow: 9px rgba(0, 0, 0, 0.5); /* Shadow of mega menu */
  padding: 1.5625rem !important; /* Space around mega menu */
  margin-top:1em;
	 }
/*.et_pb_menu_0_tb_header.et_pb_menu .nav li ul {   
}
.et_pb_menu_0_tb_header.et_pb_menu ul{ 
}*/

/*edit the Divi megamenu submenu list items*/
 .et_pb_menu li.mega-menu ul{	 
 }
/*edit the Divi mega menu submenu first row on hover*/
.et_pb_menu li.mega-menu > ul > li > a:first-child:hover {
 /*color: #e04787 !important;*/
}
.et_pb_menu li.mega-menu li li {
	
	}

/* ### Mega menu sub items ### */
.et_pb_menu li.mega-menu li li a {
 /* font-size: 14px; /* Sub item font size */
   /*padding: 0px; /* Space around sub items */
   /*font-weight: 400; /* Sub item font weight */
  /*color: #d32662 !important;*/

}
 

/*edit the Divi submenu list items on hover*/
.et_pb_menu li.mega-menu li li a:hover {
  background-color: rgba(0,0,0,0);
  /*color: #e04787 !important;*/
}

/*add a rounded border to the image in the mega-menu*/
.thc-mega-menu-image img {
/*border-radius: 10px;*/
	
}
/*remove padding around image*/
.thc-mega-menu-image a {
  /*padding: 0 0.625rem 0 0 !important;*/
	padding: 0;
}
.thc-mega-menu-image a:last-child {
	/*padding-right: 0px !important;*/
}

/*remove semitransparent hover effect*/
.thc-mega-menu-image a:hover {
  opacity: 1 !important;
}
.et-menu-nav li.mega-menu>ul {
   /* padding: 30px 20px;
    position: absolute !important;
    width: 100%;
    left: 0 !important;*/
}
.thc-menu-without-logo .mega-menu li{
		
	}
.thc-menu-without-logo .et-menu-nav li.mega-menu>ul>li{
	/*width:25% !important;
	 display: flex;
	flex-wrap:nowrap;*/
 }
.thc-menu-without-logo .et-menu-nav li.mega-menu li >a{
	/*width:200px !important;
	display: flex;
	flex-wrap:nowrap;*/
}
/*.thc-menu-without-logo .et-menu-nav li.mega-menu li > li> li> a {
	display: block;
 	width:200px !important;
	}*/

/* Styling the footer link*/
.about-us-widget-container a:link{
		color: #c5ba9b !important;
	line-height: 2.2rem;
	}
.about-us-widget-container a:visited{
		color: #c5ba9b !important;
		}
.about-us-widget-container a:hover{
	border-bottom: 1px dotted;
}

/* Styling the footer copywrite*/
.about-copy a:link{
		color: #c5ba9b !important;
	}
.about-copy a:visited{
		color: #c5ba9b !important;
		}
.about-copy a:hover{
	border-bottom: 1px dotted;
}

/*----Product Filter section----*/
  .widget-title-viewed {
	font-size: 18px !important;
    line-height: 2.4rem !important;
    font-weight: 600 !important;
	/*padding-top: 2%;*/
}
 .recently-viewed-section .woocommerce ul.product_list_widget {
     margin: 0;
    padding: 0;
	list-style: none outside;
    clear: both;
}

.recently-viewed-section .woocommerce ul.product_list_widget li{
  display:inline-block;
   vertical-align: top;
   width:22.6%;
  margin-right: 0.625rem;
   padding: 0 0 2% 0 !important;
}
 
.recently-viewed-section .woocommerce ul.product_list_widget li a {
	 display:block;
	margin-right: 0.625rem;
	
}
.recently-viewed-section .woocommerce ul.product_list_widget li:last-child{
	margin-right: 0;
}
.recently-viewed-section .woocommerce ul.product_list_widget li img {
  float: none;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  height: auto; 
  display:block;
 }
/*----Slide title----*/

.thc-slide-text {
	display:flex;
	justify-content:flex-end;
}
/*----Styling my accounts page----*/
.woocommerce-MyAccount-navigation {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}
/*----Styling woocommerce breadcrumbs----*/
.woocommerce-breadcrumb {
  font-weight: bold;
}
.woocommerce .woocommerce-breadcrumb a {
  color: #976327;
  font-weight: 600;
}
.orderby {
  background-color: #ffffff;
  border-radius: 5px;
  color: #976327 !important;
  font-size: 12px;
}
p.woocommerce-result-count {
  font-weight: 600;
  font-size: 12px;
  color: #2d2f22;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #bae5d8;
  color: #2d2f22;
}
.woocommerce nav.woocommerce-pagination ul li span {
  font-size: 1em;
  font-weight: 500;
  padding: .3em;
}
.woocommerce nav.woocommerce-pagination ul li a {
  background: #ffffff;
  font-weight: 500;
  padding: .3em;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: #bae5d8;
}
.thc-menu-myaccount-secondary a {
    font-family: "Font Awesome 7 Free";
	font-weight: 900;
    font-size: 1em !important;
}
/*----Styling woocommerce product active thumbnail----*/
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
   border: solid 5px #bec5a4;
}
/*----Styling the table cart image thumbnail----*/
#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img{
width:50%}
/*----Styling woocommerce basket form----*/
.thc-basket-totals .et_pb_wc_cart_totals_0 table.shop_table{ 
margin:0 !important; 	
}
/*Remove Global Overlay Background Colour on Product Images*/
.et_overlay {
 background: rgba(0, 0, 0, 0) !important;
}
/*Remove Global Overlay Icon  Colour on Product Images*/
.et_overlay::before {
  color: rgba(0, 0, 0, 0) !important;
}
/*Styling woocommerce error message text*/
.woocommerce-message a, .woocommerce-error a, .woocommerce-info a {
  color: #f2ebdb !important;
}
@media only screen and (min-width: 981px) and (max-width: 1024px) {
  /* Styles to apply when the viewport width is between 981px and 1024px (inclusive) */
	.thc-custom-break-point{
		display:none;
	}
}

@media (max-width: 980px) {
	/*show desktop menu on phone*/
	.thc-open-mobile-menu .et_pb_menu__menu {
		display: flex!important;
	}
.thc-open-mobile-menu .et_mobile_nav_menu {
		display: none !important;
	}
	.recently-viewed-section .woocommerce ul.product_list_widget li{
     width: 30.67%;
 }

.thc-search-icon::after {
    font-size: 1rem;
}
}
@media only screen and (min-width: 767px) and (max-width: 860px) {
  /* Styles to apply when the viewport width is between 981px and 1024px (inclusive) */
	.thc-custom-break-point-a{
		display:none;
	}
}
@media only screen and (max-width:767px) {

  .recently-viewed-section .woocommerce ul.product_list_widget li{
      width: 45.5%;
   }
	.thc-search-icon::after {
    font-size: 0.875rem;
}
}
/*360px  - 479x*/
@media (max-width: 29.9375em){

.recently-viewed-section .woocommerce ul.product_list_widget li {
      width: 45.5%;
       }
}