/* General styles */
.add-to-cal {
  display: inline-block;
  top:-2px;
  margin-left: 20px
}
.event-description {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 30px;
}
.main-events {
  margin-bottom: 30px;
}
.event-list {
  list-style: none;
}
.show-all {
  border: 1px solid #33bfbf;
  padding: 5px 15px;
  color: #0a9595;
}
i.ace-btn {
  display: inline-block;
  font-size: 12px;
  font-style: normal;
  font-weight: 100;
  padding: 3px 5px;
  margin-left: 4px;
  transition: .3s;
  color: #298181;
  border: 1px dotted #298181;
  cursor:pointer;
  text-transform: uppercase;
  margin-top: 0;
}
.event-tabs i.ace-btn {
  padding: 0px 5px;
}
i.ace-btn:hover {
  background: #f0ffff;
}
.ace_dd {
  display: none;
  border: 1px solid #aaa;
  position: absolute;
  background: white;
  z-index: 1000;
  color: #000000;
  min-width: 170px !important;
  top: auto !important;
}
a.ace_opt {
  padding: 5px 11px;
  display: block;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
a.ace_opt:hover {
  background-color: #f0f0f0;
  color: #0654ba;
  text-decoration: none;
}


/* Timer - Countdown */
#event-timer {
  padding: 10px;
  text-align: center;
  padding-top: 15px;
}
#event-timer .timer-wrapper {
  display: inline-block;
  width: 60px;
  height: 50px;
}
#event-timer .timer-wrapper .time {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
}
#event-timer .timer-wrapper .text {
  font-size: 12px;
  color: #2c5a5a;
}

/* Event List */
.event-tile {
  background-color: #e2f6f6;
  margin-bottom: 8px;
  border-radius: 10px;
  color: #000;
  -webkit-transition: .2s !important;
  -moz-transition: .2s !important;
  -ms-transition: .2s !important;
  -o-transition: .2s !important;
  transition: .2s !important;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  padding: 20px;
  border-left-width: 3px;
  border-left-style: solid;
  border-color: #6caaab;
  min-height: 63px;
  border-bottom: none;
  float: none;
  box-sizing: border-box;
}
.event-tile:hover {
  padding-left: 30px;
}
.event-tile:hover, .event-tile:focus {
  text-decoration: none;
  color: #6caaab;
}
.event-tile > span {
  padding: 0px;
  margin: 0px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}
.event-tile .event-time {
  max-width: 40px;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
.event-tile:hover .event-time{
  color: #2c5a5a;
}
.event-tile .event-time-day {
  display: block;
  line-height: 110%;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}
.event-tile .event-time-month {
  display: block;
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  text-align: center
}
.event-tile .event-name {
  text-transform: uppercase;
  font-size: 24px;
  line-height: 120%;
  padding-bottom: 8px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-overflow: ellipsis;
  color: #000;
  font-weight: bold;
}
.event-tile p {
  font-size: 14px;
  font-weight: 100;
  color: #000;
  margin-bottom: 10px;
}
.event-tile .event-info {
  margin-right: 10px;
}
.event-tile .event-link {
  color: #2c5a5a;
  font-size: 15px;
  font-weight: bold;
  
}
.event-tile .event-link span {
  text-decoration: underline;
}
.event-tile .event-link:hover span {
  color: #333
}
.event-tile .event-thumb {
  border-radius: 6px;
}

/* Event Page */
.event-card h1 {
  text-align: center;
}
.event-card-info {
  background-color: #e2f6f6;
  margin-bottom: 25px;
  border-radius: 10px;
  color: #2c5a5a;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  padding: 20px;
  min-height: 63px;
  float: none;
  box-sizing: border-box;
  text-align: center;
}
.event-card-info > div {
  padding: 0px;
  margin: 0px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-card-info .event-thumb {
  margin-left: 15px;
}
.event-card-info .event-thumb img{
  border-radius: 10px;
}
.event-card-info .text-countdown {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 100;
  font-size: 16px;
  line-height: 120%;
}
.event-card-info .event-time {
  font-size: 18px;
  display: block;
  margin-bottom: 30px;
}
.event-card .event-today {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  font-size: 22px;
  padding: 15px 30px;
  border-radius: 10px;
  background: #c0f99c;
  color: #1c9b89;
}
.event-card .event-products,
.event-card .related-events {
  margin-bottom: 30px;
}

/* Next Events Module */
.event-next {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 30px;
}
.event-next .event-item {
  font-weight: 100;
}
.event-next .event-item a {
  font-weight: bold;
}
.event-next .event-list {
  margin-bottom: 15px;
}

/* Categories Module */
.event-categories {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 30px;
}
.event-categories-list li {
  display: inline-block;
  float: left;
  margin: 0 10px 10px 0;
}
.event-categories-list li a {
  display: block;
  padding: 8px 20px;
  border: 1px solid #98DDDE;
  color: #1c9b89;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
.event-categories-list li a:hover {
  background-color: #98DDDE;
  color: #2c5a5a;
}
.event-categories-end {
  clear: both;
}

/* Event Calendar */
.event-cal {
  margin-bottom: 30px;
}
.event-cal .event-header {
    margin-bottom: 16px;
}
.event-cal .calendar-table {
  margin-top: -20px;
}
.event-cal .evo-calendar {
  -webkit-box-shadow: 0 10px 50px -20px #98DDDE;
  box-shadow: 0 10px 50px -20px #98DDDE;
}
.event-cal .calendar-sidebar {
  background-color: #98DDDE;
  color: #fff;
  -webkit-box-shadow: 5px 0 18px -3px #98DDDE;
  box-shadow: 5px 0 18px -3px #98DDDE;
}
.event-cal .calendar-sidebar > .month-list > .calendar-months > li.active-month {
  background-color: #56a7a7;
}
.event-cal .calendar-sidebar > .month-list > .calendar-months > li:hover {
  background-color: #56a7a7;
}
.event-cal .calendar-sidebar > span#sidebarToggler {
  background-color: #98DDDE;
  -webkit-box-shadow: 5px 0 18px -3px #98DDDE;
  box-shadow: 5px 0 18px -3px #98DDDE;
}
.event-cal #eventListToggler {
  background-color: #98DDDE;
  -webkit-box-shadow: 5px 0 18px -3px #98DDDE;
  box-shadow: 5px 0 18px -3px #98DDDE;
}
.event-cal tr.calendar-body .calendar-day .day.calendar-today {
  color: #fff;
  background-color: #98DDDE;
}
.event-cal tr.calendar-body .calendar-day .day.calendar-today:hover {
  color: #fff;
  background-color: #56a7a7;
}
.event-cal th[colspan="7"] {
  color: #56a7a7;
  line-height: 40px;
}
.event-cal th[colspan="7"]::after {
  display: none;
}
.event-cal .event-list > .event-empty {
  background-color: rgb(115 191 193 / 15%);
  border: 1px solid #56a7a7;
}
.event-cal #eventListToggler {
  background-color: #98DDDE;
  -webkit-box-shadow: 5px 0 18px -3px #98DDDE;
  box-shadow: 5px 0 18px -3px #98DDDE;
}
.event-cal .event-list > .event-empty > p,
.event-cal .evo-calendar .event-link {
  color: #56a7a7;
}
.event-cal .evo-calendar .event-link:hover,
.event-cal .evo-calendar .event-link:focus {
  color: #05837d;
}
.event-cal .calendar-inner::after {
    background-color: rgb(74 109 94 / 50%);
}

/* Tabs Module */
.event-tabs {
  font-size: 16px;
  line-height: 2.5;
  color: #000;
  background-color: #e2f6f6;
  padding: 20px;
  margin-bottom: 30px;
}
.event-tabs h3 {
  margin-top: 0;
}
.event-tabs .event-tabs-description {
  margin-bottom: 25px;
}
.event-tabs .nav-tabs {
  border-bottom: 0;
  margin-bottom: 15px;
}
.event-tabs .nav-tabs>li>a {
  color: #000;
  border: 0;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  margin-right: 0;
  padding: 8px 12px;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
.event-tabs .nav-tabs>li>a:focus,
.event-tabs .nav-tabs>li>a:hover {
  background-color: #fff !important;
}
.event-tabs .nav-tabs>li>a.active,
.event-tabs .nav-tabs>li>a.active:focus,
.event-tabs .nav-tabs>li>a.active:hover {
  border: 0;
  border-bottom: 2px solid #000;
  background-color: #fff !important;
}
.event-tabs .tab-content {
  margin-bottom: 15px;
}
.event-tabs .add-to-cal {
    top: 0px;
    margin-left: 8px;
}
#product-product .event-tabs {
  margin-top: 30px;
}

/* Mobile */
@media screen and (max-width: 767px) {
  .event-card-info .event-thumb {
    display: none;
  }
  i.ace-btn {
    padding: 0px 8px;
    border: 0;
  }
  i.ace-btn .far {
    font-size: 18px;
    line-height: 30px;
  }
  i.ace-btn span {
    display: none;
  }
}
@media screen and (max-width: 430px) {
  .event-tabs {
    font-size: 14px;
    line-height: 2;
  }
  .event-tabs .nav-tabs>li>a {
    padding: 7px 5px;
    line-height: 40px;
  }
  .event-cal .calendar-sidebar > .calendar-year {
    background-color: #56a7a7;
    -webkit-box-shadow: 0 3px 8px -3px #98DDDE;
    box-shadow: 0 3px 8px -3px #98DDDE;
  }
  .event-cal .calendar-sidebar > .month-list {
    background-color: #98DDDE;
  }
  /*.event-cal #eventListToggler {
    display: none;
  }*/
  .event-cal .calendar-events {
    height: 370px;
  }
  .event-cal #eventListToggler {
    top: calc(100% - 370px);
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
  }
  .event-cal .event-hide #eventListToggler {
    top: auto;
    bottom: 0;
  }
  .event-cal th[colspan="7"] {
    top: 8px;
  }
  .event-products,
  .related-events {
    margin-bottom: 30px !important;
  }
  .add-to-cal {
    margin-left: 0;
  }
}