/*
 *  Theme Name: Barsotti Wines 2019
 *  Theme URL: https://barsottiwines.com
 *  Description: Theme for 2019 website relaunch; child theme of Storefront.
 *  Author: Aaron Wilsford
 *  Template: storefront
 *  Version: 1.0.0
 *  Text Domain: barsottiwines-2019
 */

/*
COLOR LIST

Cream         : #f6e3cb   rgb(246,227,203)
Dark Purple   : #261a22   rgb(38,26,34)
Med Purple    : #593d50   rgb(89,61,80)
Light Purple  : #875b78   rgb(135,91,120)
Green         : #444f38   rgb(68,79,56)
Dark Green    : #37402d   rgb(55,64,45)
Light Green   : #cdebc5   rgb(205,235,197)
*/

@font-face { 
font-family: Font Awesome 5; 
src: url(lib/fonts/fontawesome/5.10.2/fa-brands-400.woff2) format(woff2),
  url(lib/fonts/fontawesome/5.10.2/fa-regular-400.woff2) format(woff2),
  url(lib/fonts/fontawesome/5.10.2/fa-solid-900.woff2) format(woff2);
}

html,
body{
  height: 100%;
}

body.tribaldawn .site-header,
body.tribaldawn .site-footer{
  background: transparent;
}

html{
  background-image: url('img/bw_logo_white.png');
  background-size: 0px 0px;
}

a:focus{
  outline: 0px !important;
}

#page{
  min-height: 100%;
  background: url('img/main_bg_lo.jpg') transparent top center no-repeat fixed;
  background-size: cover;
  padding-bottom: 300px;
}

header#masthead{
  z-index: 2;
}

#header-container{
  transition-property: width;
  transition-duration: 0.3s;
}

body.tribaldawn .site-header .site-branding{
  width: 542px;  
  height: 212px;
  position: relative;
  background: url('img/bw_logo_white.png') center center no-repeat;
  background-image: url('img/bw_logo.png');
  background-size: contain;
  overflow: hidden;
  clear: none;
  margin: 0px;
  transition-property: width, height, background-image, margin-top;
  transition-duration: 0.3s;
}

.site-branding .site-title a{
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  text-indent: -5000px;
  /*padding-top: 38.39%;*/
}

.site-branding .site-description{
  display: none;
}

body.tribaldawn #masthead.site-header{
  margin-bottom: 1em;
  border: 0px;
}

body.tribaldawn .site-header .storefront-primary-navigation{
  width: 900px;
  max-width: 100%;
  margin: 0px auto;
}

body.tribaldawn .site-header .storefront-primary-navigation > .col-full{
  width: 100%;
  margin: 0px;
  padding: 0px;
}

body.tribaldawn .site-header .main-navigation{
  clear: none;
}

.main-navigation ul.menu{
  margin-left: 0px;
  margin-top: 10px;
}

.main-navigation ul.menu > li > a{
  margin: 0px;
  padding-top: calc(3.236em - 15px);
  padding-bottom: 5px;
  transition: color;
  transition-duration: 1s;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li:hover > a{
  color: #593d50;
}

.main-navigation ul.menu ul.sub-menu{
  background: transparent;
}

.main-navigation ul.nav-menu ul li{
  margin: 1px 0px;
}

.main-navigation ul.nav-menu ul li a{
  background: rgba(38,26,34,0.97);
  color: #fff;
  border: 1px #261a22 solid;
}

.main-navigation ul.nav-menu ul li a:hover{
  background: rgba(38,26,34,0.99);
}

.site-header ul.menu li.current-menu-item > a{
  color: #444f38;
  font-weight: 600;
}

body.tribaldawn .site-header .site-search{
  clear: none;
  margin: 0px;
  padding-top: 1.8em;
}

body.tribaldawn .storefront-primary-navigation .menu-toggle{
  background: 
}



/*Sticky header*/
body.tribaldawn .site-header.sticky{
  height: 0px;
  overflow: visible;
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  z-index: 5;
  padding: 0px;
  border: 0px;
}

body.tribaldawn.admin-bar .site-header.sticky{
  top: 32px;
}

body.tribaldawn .site-header.sticky #header-container{
  width: 900px;
  max-width: 100%;
  height: 7.5vh;
  min-height: 60px;
  background: rgba(38,26,34,0.95);
  margin: 0px auto;
  padding: 0px 0.8em;
  box-sizing: display-box;
  border-bottom: 1px rgba(68,79,56,0.75) solid;
}

body.tribaldawn .site-header.sticky .site-branding{
  background-image: url('img/bw_logo_white.png');
  width: 125px;
  height: 48px;
  margin-top: 7px;
}

body.tribaldawn .site-header.sticky #header-container > .col-full{
  width: 125px;
  float: left;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body.tribaldawn .site-header.sticky .storefront-primary-navigation{
  width: calc(100% - 125px);
  float: left;
  clear: none;
  margin: 0px;
  box-sizing: border-box;
}

body.tribaldawn .site-header.sticky .storefront-primary-navigation > .col-full{
  width: auto;
  padding-left: 2.61792em;
}

body.tribaldawn .site-header.sticky #site-navigation.main-navigation{
  width: 85%;
  margin: 0px;
}

body.tribaldawn .site-header.sticky .main-navigation ul.menu > li > a{
  max-height: 60px;
  color: #fff;
  margin-top: 0px;
  padding-top: 1.618em;
  padding-bottom: 1.618em;
}

.site-header.sticky ~ #content{
  margin-top: 10vh;
}

body.tribaldawn .site-header.sticky .site-search{
  width: 15%;
  clear: none;
  margin: 0px;
  padding-top: 0.809em;
}



/*Content*/
#content{
  max-width: 900px;
  background: rgba(68,79,56,0.75);
  margin: 0px auto;
  padding-top: 2.29068em;
}

#content,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content p{
  color: #fff;
}

#content a{
  color: #cdebc5;
}



/*Home*/
body.home .featured-events-title{
  font-size: 2.4em;
  text-align: center;
}
.home-events-list{
  display: flex;
  flex-wrap: wrap;
  margin: 0px;
  list-style: none;
}

.featured-events-list{
  align-items: center;
  justify-content: center; 
}

.home-events-list > li{
  width: calc(25% - 4px);
  margin: 2px;
  padding: 1em;
  border: 1px #fff solid;
}

.home-events-list > li::before{
  float: left;
  padding-top: 100%;
  content:"";
}

.hentry .entry-content .home-events-list > li a.title{
  display: block;
  text-align: center;
  font-size: 120%;
  font-wieight: bold;
  text-decoration: none;
}



/*Woocommerce*/
ul.products li.product .price{
  color: #f6e3cb;
}



/*Events Page*/
#tribe-bar-form,
body.tribaldawn .tribe-events-calendar th{
  background: rgba(38,26,34,0.95);
}

#tribe-bar-form input[type='text'],
#tribe-bar-views-toggle{
  color: #fff;
}

.tribe-bar-views-inner{
  background: rgba(38,26,34,0.95);
}

#tribe-bar-views .tribe-bar-views-list{
  background: #f6e3cb;
}

#tribe-bar-views .tribe-bar-views-option.tribe-bar-active{
  background: rgba(135,91,120,0.2);
}

#tribe-bar-views .tribe-icon-list,
#tribe-bar-views .tribe-icon-day,
#tribe-bar-views .tribe-icon-month{
  min-height: 0px;
  background: none;
  padding: 0px;
}

#tribe-bar-views .tribe-icon-list::before,
#tribe-bar-views .tribe-icon-day::before,
#tribe-bar-views .tribe-icon-month::before{
  text-vertical-align: middle;
  font-family: "Font Awesome 5 Free";
  font-size: 16px;
  padding-right: 1em;
}

#tribe-bar-views .tribe-icon-list::before{
  content: "\f03a";  
}

#tribe-bar-views .tribe-icon-day::before{
  content: "\f783";  
}

#tribe-bar-views .tribe-icon-month::before{
  content: "\f073";  
}

#tribe-bar-views-toggle:hover{
  background: rgba(135,91,120,0.5)
}

#tribe-bar-views-toggle:focus{
  background: rgba(135,91,120,0.75);
}

#tribe-events-content .tribe-events-calendar th{
  border-color: rgba(38,26,34,0.5);
}

#tribe-events-content .tribe-events-calendar td{
  background: rgba(246,227,203,0.65);
  border-color: rgba(38,26,34,0.5);
}

#tribe-events-content .tribe-events-calendar td:hover{
  background-color: rgba(246,227,203,0.99);
}

#tribe-events-content .tribe-events-calendar td.tribe-events-past{
  background: rgba(246,227,203,0.5);
}

#tribe-events-content .tribe-events-calendar td.tribe-events-has-events{
  background: rgba(246,227,203,0.75);
}

#tribe-events-content .tribe-events-calendar td.tribe-events-present{
  background: rgba(246,227,203,0.95);
}

#tribe-events-content .tribe-events-calendar div[id*="tribe-events-daynum-"]{
  background: rgba(38,26,34,0.7);
  color: #ccc;
}

#tribe-events-content .tribe-events-calendar td.tribe-events-has-events div[id*="tribe-events-daynum-"],
#tribe-events-content .tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"]{
  background: rgba(135,91,120,0.75);
}

#tribe-events-content .tribe-events-calendar td.tribe-events-past div[id*="tribe-events-daynum-"]{
  border-color: rgba(246,227,203,0.25);
}

#tribe-events-content .tribe-events-calendar td div[id*="tribe-events-daynum-"] > a{
  background: transparent;
  color: #fff;
}

#tribe-events-content .tribe-events-calendar td.tribe-events-othermonth{
  background: transparent;
}

#tribe-events-content .tribe-events-month-event-title > a{
  color: #000;
}

.tribe-events-notices{
  background: rgba(135,91,120,0.5);
  color: #f6e3cb;
  font-weight: 100;  
  border: 0px;
  border-radius: 0px;
  text-shadow: none;
}

.tribe-events-calendar .tribe-events-tooltip{
  background: #37402d;
  color: #f6e3cb;
  padding: 9px 12px;
}

.tribe-events-tooltip .tribe-events-arrow{
	top: 100%;
	left: 50%;
  background: none;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(55, 64, 45, 0);
	border-top-color: #37402d;
	border-width: 20px;
	margin-left: -20px;
}



/*Datepicker*/
.datepicker.dropdown-menu,
.datepicker table tr td{
  background: #f6e3cb;
}

.datepicker table tr td span.active{
  background: rgba(38,26,34,0.95) !important;
}

.datepicker table thead tr th.datepicker-switch,
.datepicker table thead tr th.prev,
.datepicker table thead tr th.next{
  background: rgba(135,91,120,0.75);
}






/*Handheld*/
.storefront-handheld-footer-bar{
  background: transparent;
  border: 0px;
}

.storefront-handheld-footer-bar ul li > a{
  background: rgba(38,26,34,0.95);
}

.site-footer .storefront-handheld-footer-bar a:not(.button):not(.components-button),
.storefront-handheld-footer-bar ul li.search .site-search form::before,
.storefront-handheld-footer-bar ul li.search .site-search input[type='search']::placeholder{
  color: #fff;  
}

.storefront-handheld-footer-bar ul li.search .site-search{
  background: rgba(38,26,34,0.95);  
  bottom: -100%;
}

.storefront-handheld-footer-bar ul li.search .site-search input[type='search']{
  background: rgba(255,255,255,0.3);
  color: #fff;
}

@media (max-width: 1200px){
  .site-header:not(.sticky) .main-navigation ul.menu > li > a{
/*    text-shadow:
      2px 0px 2px rgba(246,227,203,0.25),  
      0px 2px 2px rgba(246,227,203,0.25),
      -2px 0px 2px rgba(246,227,203,0.25),
      0px -2px 2px rgba(246,227,203,0.25);
  }*/
  background: rgba(246,227,203,0.1);
}

@media (max-width: 900px){  
  .home-events-list > li{
    width: calc(33% - 4px);
  }
}

@media (max-width: 800px){
  body.tribaldawn .site-header.sticky .storefront-primary-navigation{
    margin-top: 5px;
  }
}

@media (max-width: 782px){
  body.tribaldawn.admin-bar .site-header.sticky{
    top: 46px;
  }
}

@media (max-width: 768px){
}

@media (max-width: 680px){
  .home-events-list > li{
    width: calc(50% - 4px);
  }
}

@media (max-width: 600px){
  body.tribaldawn.admin-bar .site-header.sticky{
    top: 0px;
  }
  
}