/* 
Theme Name: Russian River Brewing Company
Description: Russian River Brewing Company is a child theme of Hello Elementor.
Author: Russian River Brewing Company
Author URI: https://www.russianriverbrewing.com
Template: hello-elementor
Version: 1.0.0
Text Domain: russian-river-brewing-company
*/


/* Fonts */

@font-face {
  font-family: 'Talk to the hand';
  src: url('fonts/Talktothehand.woff2') format('woff2'),
    url('fonts/Talktothehand.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


/* Helpers */

.rrbc-hidden {
  display: none;
}


/* Main Menu */

@media screen and (min-width: 1025px) {
  .rrbc-header-menu .elementor-nav-menu > li:nth-child(1) {
    order: 3;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(2) {
    order: 1;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(3) {
    order: 2;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(4) {
    order: 4;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(5) {
    order: 5;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(6) {
    order: 6;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(7) {
    order: 7;
  }

  .rrbc-header-menu .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li:nth-child(1) > a {
    margin-inline-start: var(--e-nav-menu-horizontal-menu-item-margin);
  }

  .rrbc-header-menu .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li:nth-child(2) > a {
    margin-inline-start: 0;
  }

  .rrbc-header-menu .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li:nth-child(2) > ul {
    left: 0 !important;
  }

  .rrbc-header-menu .elementor-nav-menu > li > a > .sub-arrow {
    display: none;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(1) {
    width: 124px;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(1) a {
    display: block;
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url('./img/RRBC-logo-favicon.png');
    background-size: 100px;
    text-indent: -99999em;
    overflow: hidden;
  }

  .rrbc-header-menu .elementor-nav-menu > li:nth-child(1) .elementor-item:after {
    height: 0;
  }

  .rrbc-header-menu ul.elementor-nav-menu--dropdown a,
  .rrbc-header-menu ul.elementor-nav-menu--dropdown a:focus,
  .rrbc-header-menu ul.elementor-nav-menu--dropdown a:hover {
    border-inline-start-width: 0;
  }
}

.rrbc-header-menu .elementor-nav-menu--dropdown .elementor-item.elementor-item-active .sub-arrow path,
.rrbc-header-menu .elementor-nav-menu--dropdown .elementor-item.highlighted .sub-arrow path,
.rrbc-header-menu .elementor-nav-menu--dropdown .elementor-item:focus .sub-arrow path,
.rrbc-header-menu .elementor-nav-menu--dropdown .elementor-item:hover .sub-arrow path,
.rrbc-header-menu .elementor-sub-item.elementor-item-active .sub-arrow path,
.rrbc-header-menu .elementor-sub-item.highlighted .sub-arrow path,
.rrbc-header-menu .elementor-sub-item:focus .sub-arrow path,
.rrbc-header-menu .elementor-sub-item:hover .sub-arrow path {
  fill: #fff;
}


/* Carousel Section */

.rrbc-section--carousel .glide__arrows {
  display: none;
}

@media screen and (min-width: 768px) {
  .rrbc-section--carousel .glide__arrows {
    display: block;
  }
}

.rrbc-section--carousel .glide__arrows svg {
  display: block;
  width: 40px;
  height: 80px;
}

.rrbc-section--carousel .glide__arrow {
  border-width: 0;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

.rrbc-section--carousel .glide__bullet {
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  line-height: 0;
}

@media screen and (min-width: 768px) {
  .rrbc-section--carousel .glide__bullets {
    display: none;
  }
}

.rrbc-section--carousel .glide__bullet--active {
  background-color: #fff;
}


/* Slide */

.rrbc-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 4.5625rem 2rem;
}

.rrbc-slide__details {
  order: 2;
  color: #fff;
  text-align: center;
}

.rrbc-slide__intro {
  margin-bottom: 1rem;
  color: #fab822;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
}

.rrbc-slide__title {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.125;
  font-weight: bold;
  text-transform: uppercase;
}

.rrbc-slide__description {
  margin-bottom: 2rem;
}

.rrbc-slide__media {
  order: 1;
  width: 16rem;
  height: 16rem;
}

.rrbc-slide__media img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.rrbc-slide__media iframe {
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 576px) {
  .rrbc-slide__title {
    font-size: 3rem;
  }

  .rrbc-slide__media {
    width: 24rem;
    height: 24rem;
  }
}

@media screen and (min-width: 768px) {
  .rrbc-slide {
    padding-left: 6.75rem;
    padding-right: 6.75rem;
  }
}

@media screen and (min-width: 992px) {
  .rrbc-slide {
    flex-direction: row;
  }

  .rrbc-slide__details {
    order: 1;
    width: 50%;
    text-align: left;
  }

  .rrbc-slide__media {
    order: 2;
    width: 50%;
  }
}



/* Buttons */

.rrbc-btn a {
  display: inline-block;
  padding: 12px 24px;
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: var( --e-global-color-accent );
}


/* Background Image */

.rrbc-background-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Elementor Widget: Text Editor */

.elementor-widget-text-editor p:last-child {
  margin-block-end: 0;
}

.elementor-widget-text-editor ul {
  margin-block-end: 0.9rem;
}


/* ASL Store Locator Height */

body #asl-storelocator.asl-p-cont #asl-map-canv,
body #asl-storelocator.asl-cont #asl-map-canv {height: 894px !important}


/* Events Calendar Listing */

.tribe-common.tribe-common--breakpoint-medium .tribe-events-c-top-bar__datepicker-button {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px;
}

.tribe-common .tribe-common-c-btn-border-small, .tribe-common a.tribe-common-c-btn-border-small {
    color: black !important;
    border: 1px solid #666 !important;
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
    border: none !important;
    border-radius: 0 !important;
}

.tribe-events-calendar-list__event-title a {
    text-transform: uppercase;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-weekday, .tribe-events-calendar-list__event-date-tag-daynum {
    color: black;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
    padding-top: 3px;
    border-top: 2px solid black;
    border-left: 2px solid black;
    border-right: 2px solid black;
}

.tribe-events .tribe-events-calendar-list__event-date-tag-daynum {
    border-bottom: 2px solid black;
    border-left: 2px solid black;
    border-right: 2px solid black;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-cost {
    display: none;
}

.tribe-events .datepicker .month.current {
    background: hsl(0deg 0% 50.2% / 20%) !important;
    color: #141827 !important;
}

.tribe-events-calendar-month__day--current {
  border: 2px solid #ffbc13 !important;
}

#tribe-events-pg-template {
  max-width: none;
  padding: 0;
}


/* Beer Menus */

#tv-box {
  background-size: 100% 100%;
  display: flex;
  font-family: 'Talk to the hand';
  height: 100vh;
  width: 100vw;
}
#tv-box a {
  font-family: 'Talk to the hand';
  font-size: 0.9rem;
}
#tv-box table {
  width: auto;
  font-size: 0.9rem;
}
#tv-box p {
  font-size: 0.9rem;
}
#tv-box table td,
#tv-box table th {
  padding: 0;
  vertical-align: middle;
  border-width: 0;
}
#tv-box table tbody > tr:nth-child(odd) > td,
#tv-box table tbody > tr:nth-child(odd) > th {
  background-color: transparent;
}
  #tv-box .item {
    flex-basis: 0;
    flex-grow: 1;
    position: relative;
  }
    #tv-box .item .table-box {
      margin: 50px 50px 0 50px;
    }
      #tv-box .item .table-box table {
        width: 100%;
      }
        @media (min-width: 1401px){
          #tv-box .item .table-box table tbody tr td,
          #tv-box .item .table-box table tbody tr td a {
            font-size: 1.1rem;
          }
        }
        #tv-box .item .table-box table thead tr td,
        #tv-box .item .table-box table thead tr td a {
          color: #fff;
          font-size: 2rem;
        }
    #tv-box .item .table-box-2 {
      bottom: 0;
      padding: 0 50px 50px 50px;
      position: absolute;
      width: 100%;
    }
      #tv-box .item .table-box-2 .happy-hour {
        bottom: 50px;
        color: #04823e;
        font-size: 30px;
        line-height: 30px;
        position: absolute;
        right: 50px;
        text-align: center;
      }
      #tv-box .item .table-box-2 .happy-hour a {
        color: #04823e;
        font-size: 30px;
        line-height: 30px;
      }
      #tv-box .item .table-box-2 .na-title {
        color: #a9404a;
        display: flex;
        font-size: 30px;
        line-height: 30px;
      }
      #tv-box .item .table-box-2 .na-title a {
        color: #a9404a;
        font-size: 30px;
        line-height: 30px;
      }
        #tv-box .item .table-box-2 .na-title .item {
          flex-basis: 0;
          flex-grow: 1;
        }
          #tv-box .item .table-box-2 .na-title .item img {
            width: 200px;
          }
      #tv-box .item .table-box-2 table,
      #tv-box .item .table-box-2 table a {
        color: #1783c7;
      }
        #tv-box .item .table-box-2 table img {
          height: 150px;
        }
        #tv-box .item .table-box-2 table .text-1,
        #tv-box .item .table-box-2 table .text-1 a {
          font-size: 30px !important;
          line-height: 30px;
        }
        @media (min-width: 1401px){
          #tv-box .item .table-box-2 table .text-2,
          #tv-box .item .table-box-2 table .text-2 a {
            font-size: 1.1rem;
          }
        }
          #tv-box .item .table-box-2 table .text-2 p {
            margin-bottom: unset;
          }
      #tv-box .item .table-box-2 .table-2 {
        width: 100%;
      }
        #tv-box .item .table-box-2 .table-2 tbody tr td,
        #tv-box .item .table-box-2 .table-2 tbody tr td a {
          font-size: 1.1rem;
        }
