/**
 * Front end specific CSS
 */
@import 'abstracts/mixins';

/**
* Shortcode layout divi default styling  - Divi
 */
section.wfea.divi article .booknow {
  margin-bottom: 1em;
  margin-top: 1em;
}

@media (min-width: 1024px) {
  section.wfea.divi article .booknow .submit {
    width: 100%;
    margin-top: 0;
  }
}

/* divi */
#content-area .wfea.divi .fc table tr, #content-area .wfea.divi .fc table td, #content-area .wfea.divi .fc table th {
  padding: 0 .587em;
}

/* rows */

section.wfea.rows {
  .row {
    display: flex;
    flex-flow: row wrap;

    .tag {
      width: 100px;
    }

    .content {
      width: 100%;
    }

    .img {
      width: 100px;
    }

    .cta {
      width: 120px;
    }
  }
}

/* <fs_premium_only> */

/* cal tag */
.wfea-calendar-tag {
  top: 0;
  left: 1em;
  padding-top: 5px;
  width: 80px;
  background: #ededef;
  background: -webkit-gradient(linear, left top, left bottom, from(#ededef), to(#ccc));
  background: -moz-linear-gradient(top, #ededef, #ccc);
  font: bold 30px/60px "Lucida Sans Unicode", "Arial Black", Arial, Helvetica, sans-serif;
  text-align: center;
  color: #000;
  text-shadow: #fff 0 1px 0;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  position: absolute;
  -moz-box-shadow: 0 2px 2px #888;
  -webkit-box-shadow: 0 2px 2px #888;
  box-shadow: 0 2px 2px #888;

  em {
    display: block;
    font: 12px/30px "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
    color: #fff;
    text-shadow: #00365a 0 -1px 0;
    background: #04599a;
    background: -webkit-gradient(linear, left top, left bottom, from(#04599a), to(#00365a));
    background: -moz-linear-gradient(top, #04599a, #00365a);
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-top: 1px solid #00365a;

    &:before {
      content: '';
      float: left;
      position: absolute;
      top: -5px;
      width: 4px;
      height: 14px;
      background: #dadada;
      background: -webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#aaa));
      background: -moz-linear-gradient(top, #f1f1f1, #aaa);
      z-index: 2;
      -moz-border-radius: 2px;
      -webkit-border-radius: 2px;
      border-radius: 2px;
      left: 13px;
    }

    &:after {
      content: '';
      float: left;
      position: absolute;
      top: -5px;
      width: 4px;
      height: 14px;
      background: #dadada;
      background: -webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#aaa));
      background: -moz-linear-gradient(top, #f1f1f1, #aaa);
      z-index: 2;
      -moz-border-radius: 2px;
      -webkit-border-radius: 2px;
      border-radius: 2px;
      right: 13px;
    }
  }

  &:before {
    content: '';
    float: left;
    position: absolute;
    top: 5px;
    width: 8px;
    height: 8px;
    background: #111;
    z-index: 1;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 1px 1px #fff;
    -webkit-box-shadow: 0 1px 1px #fff;
    box-shadow: 0 1px 1px #fff;
    left: 11px;
  }

  &:after {
    content: '';
    float: left;
    position: absolute;
    top: 5px;
    width: 8px;
    height: 8px;
    background: #111;
    z-index: 1;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 1px 1px #fff;
    -webkit-box-shadow: 0 1px 1px #fff;
    box-shadow: 0 1px 1px #fff;
    right: 11px;
  }
}

/* qtip  */
.wfea-tip {
  padding: 0 0 0.5em 0;
  margin: 0;
}

.wfea-tip-title {
  font-size: 1.3em;
  padding: 0;
  margin: 0;
}
.wfea-help-tip {
  z-index: 999999;
  visibility: hidden;  /* hide it initially */
  opacity: 0;
  transition: visibility 0s, opacity 0.2s linear;   /* set duration and type of transition */
  text-align: left;
  padding: 0px;
  min-width: 220px;
  max-width: 330px;
  position: absolute;
  border-radius: 3px;
  box-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
  right: -200px;

  font-size: 16px;
  line-height: 1.4;
  border-width: 1px;
  border-style: solid;
  background-color: #E5F6FE;
  border-color: #ADD9ED;
  color: #5E99BD;
  .wfea-help-tip-titlebar {
    background-color: #D0E9F5;
    padding: 5px;
    font-weight: bold;
  }
  .wfea-help-tip-content {
    padding: 5px;
    font-size: 14px;
  }
}
.fc-list-item-title {
  position: relative;
}
.fc-event-container:hover, .fc-list-item-title:hover {
  .wfea-help-tip {
    visibility: visible;  /* make it visible */
    opacity: 1;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
  }
}
.fc-scroller {
  overflow: visible visible!important;
}



/* search box */
.wfea-search__wrap {
  padding-bottom: 1rem;
  padding-top: 1rem;
  max-width:100%;
  .wfea-search__form {
    display: flex;
    .wfea-search__input  {
      max-width: 85%;
      margin: 0;
      border: 1px solid #ced4da;
    }
    .wfea-search__submit  {
      border: 1px solid #ced4da;
      margin: 0;
    }
  }
  
  /* Calendar Search Specific Styles */
  .wfea-search__form-calendar {
    .wfea-search_cal__submit {
      background-color: #3788d8;
      color: #fff;
      border-color: #3788d8;
      cursor: pointer;
      transition: background-color 0.3s ease;
      
      &:hover {
        background-color: #2c6db2;
      }
    }
    
    .wfea-search__input {
      border-color: #ddd;
      padding: 8px 12px;
      transition: border-color 0.3s ease;
      
      &:focus {
        border-color: #3788d8;
        outline: none;
      }
    }
  }
}
.wfea button.wfea-modal-view-details {
  margin: 0;
  padding:0;
  border: none;
  background: transparent;
  color:inherit;
  font-weight: inherit;
  float: right;
  text-decoration: underline;
  text-align: right;
}
.wfea button.wfea-modal-view-details:hover {
  background: transparent;
  text-decoration: none;
}
.wfea_eb_content.local_style {
   > div {
     font-size: 16px;
   }
   > div:first-child {
     font-size: 20px;
     margin-bottom: 16px;
   }
}

// set iframe wrapper to 100% and to 16:9 aspect ratio using padding hack
.wfea_eb_content_iframe_container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* </fs_premium_only> */
@import 'layouts/layout_widget__free';
@import 'layouts/layout_card__free';
/* <fs_premium_only> */
@import 'layouts/layout_1__premium_only';
@import 'layouts/layout_grid__premium_only';
@import 'layouts/layout_venue__premium_only';
@import 'layouts/layout_slider__premium_only';
@import 'layouts/layout_cal__premium_only';
@import 'layouts/layout_cal_list__premium_only';
@import 'layouts/layout_short_date__premium_only';
@import 'layouts/layout_social_modal__premium_only';
@import 'layouts/layout_event_modal__premium_only';
@import 'layouts/layout_accordion__premium_only';
/* </fs_premium_only> */
@import 'abstracts/theme-colors';
@import 'abstracts/variables';



