/**
*
* Custom styles to extend The Events Calendar
*
**/

body{
  background: #ebe9e9!important;
}

#tribe-events-pg-template{
  max-width: 75rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  padding-top: 2em;
  padding-bottom: 2em;
  /* font-family: Garamond, Georgia, Times, Serif; */
  color: #6e7680;
  font-weight: normal;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  text-rendering: optimizeLegibility;
}

.events-list .tribe-events-loop,
.single-tribe_organizer .tribe-events-loop,
.single-tribe_venue .tribe-events-loop,
.tribe-events-day .tribe-events-loop{
  max-width: 75rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  padding-top: 2em;
  padding-bottom: 2em;
}

#tribe-events-content a{
  color: #78ab64;
}

#tribe-events-content a.tribe-events-read-more{
  display: block;
}

#tribe-events-content a.tribe-events-button{
  color: #fff!important;
}

#tribe-events-content a.tribe-events-ical{
  margin-right: 1.25em;
}

#tribe-events-content h1,
#tribe-events-content h2,
#tribe-events-content h3,
#tribe-events-content h4,
#tribe-events-content h5 {
  color: #166936!important;
  font-weight: normal;
}

.tribe-events-notices {
  background: #ff9966;
  color: #222;
  margin: 10px 0 18px;
  padding: 8px 35px 8px 14px;
  text-shadow: none;
  border: none;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

#tribe-events .tribe-events-button,
#tribe-events .tribe-events-button:hover,
#tribe_events_filters_wrapper input[type=submit],
.tribe-events-button,
.tribe-events-button.tribe-active:hover,
.tribe-events-button.tribe-inactive,
.tribe-events-button:hover,
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-]>a{
  background-color: #166936;
}

.tribe-events-adv-list-widget .tribe-events-widget-link a,
.tribe-events-back a,
.tribe-events-list-widget .tribe-events-widget-link a,
ul.tribe-events-sub-nav a{
  font-size: 1.2rem;
  font-weight: normal;
}

.tribe-events-meta-group .tribe-events-single-section-title {
  font-size: 1.5rem;
  font-weight: normal;
}

td#tribe-events-widget-nav{
  background: #78ab64;
  color: #ccc;
}

td#tribe-events-widget-nav a{
  color: #fff;
}

/* .tribe-events-event-meta address.tribe-events-address, */
.tribe-events-loop .tribe-events-event-meta{
  font-size: 1rem;
}

#tribe-events-content .vevent abbr{
  font-weight: normal;
}

#tribe-events-content .summary{
  font-weight: normal!important;
}

/* -- Events List View -- */

#tribe-bar-form{
  background-clip: border-box;
  background-color: #78ab64;
  background-origin: padding-box;
  background-size: auto;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

div.tribe-bar-geoloc-filter{
  display: none;
}

#tribe-bar-form label{
  color: #fff;
  font-weight: normal;
}

#tribe-bar-form input[type=text]{
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  box-sizing: border-box;
  transition: box-shadow 0.45s,border-color 0.45s ease-in-out;
  padding: 6px;
  font-weight: normal;
}

#tribe-bar-form .tribe-bar-submit input[type=submit] {
  background-clip: border-box;
  background-color: #166936;
  background-origin: padding-box;
  background-size: auto;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-weight: normal;
}

#tribe-bar-form .tribe-bar-views-inner{
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 15px 2px 47px;
  background: #E0E0E0;
  margin: 0;
}

#tribe-bar-form .tribe-bar-views-inner label{
  color: rgba(0,0,0,0.75);
  font-weight: 700;
}

#tribe-bar-collapse-toggle{
  background: #78ab64;
  color: #fff;
  font-weight: normal;
}

.tribe-events-list-separator-month span{
  color: #fff;
  background: #78ab64;
  font-weight: normal;
  font-family: Garamond, Georgia, Times, Serif;
  padding: .5% 7.5%;
}

/* -- Events Month (Grid) View -- */

.tribe-events-calendar thead th {
  background: #86776f;
  border-left: 1px solid #86776f;
  border-right: 1px solid #86776f;
}

#tribe-events-daynum-1 a,
#tribe-events-daynum-2 a,
#tribe-events-daynum-3 a,
#tribe-events-daynum-4 a,
#tribe-events-daynum-5 a,
#tribe-events-daynum-6 a,
#tribe-events-daynum-7 a,
#tribe-events-daynum-8 a,
#tribe-events-daynum-9 a,
#tribe-events-daynum-10 a,
#tribe-events-daynum-11 a,
#tribe-events-daynum-12 a,
#tribe-events-daynum-13 a,
#tribe-events-daynum-14 a,
#tribe-events-daynum-15 a,
#tribe-events-daynum-16 a,
#tribe-events-daynum-17 a,
#tribe-events-daynum-18 a,
#tribe-events-daynum-19 a,
#tribe-events-daynum-20 a,
#tribe-events-daynum-21 a,
#tribe-events-daynum-22 a,
#tribe-events-daynum-23 a,
#tribe-events-daynum-24 a,
#tribe-events-daynum-25 a,
#tribe-events-daynum-26 a,
#tribe-events-daynum-27 a,
#tribe-events-daynum-28 a,
#tribe-events-daynum-29 a,
#tribe-events-daynum-30 a,
#tribe-events-daynum-31 a{
  color: #166936;
}

td.tribe-events-present div[id*=tribe-events-daynum-] a{
  color: #fff!important;
}

/* -- Various Media Query / Breakpoint Changes -- */

#tribe-events-content .tribe-events-calendar td.tribe-events-present.mobile-active:hover,
.tribe-events-calendar td.tribe-events-present.mobile-active,
.tribe-events-calendar td.tribe-events-present.mobile-active div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-present.mobile-active div[id*=tribe-events-daynum-] a{
  background: #166936;
}

@media (max-width: 768px){
  .tribe-events-sub-nav li a{
    background: #e0e0e0;
  }
}

/**
*
* Styles for the Event List widget
*
**/

table.hfeed.vcalendar{
  width: 100%;
  margin: 0;
  margin-bottom: 15px;
  padding: 0;
  border-collapse: collapse;
}

table.hfeed.vcalendar tr:before{
  content: none;
}

table.hfeed.vcalendar tr:after{
  content: none;
}

table.hfeed.vcalendar td{
  border-bottom: solid 1px #ddd;
  line-height: 1rem;
  color: #6e7680;
}

table.hfeed.vcalendar td span.time{
  font-weight: bold;
}

table.hfeed.vcalendar td span.venue{
  display: block;
  line-height: 1.5rem;
}

table.hfeed.vcalendar td.tribe-events-widget-link{
  font-weight: bold;
}

tr.tribe-events-list-widget-events td.entry-title.summary{
  max-width: 450px;
}
