  /*-------------------------------*/
  /*      Events-Calendar.html     */
  /*-------------------------------*/

  /*  calendar tabs */
  .ba-em-calendar-tabs-wrap{
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
	font-family:'Oswald';
  }
  .ba-em-calendar-tabs-wrap .nav-tabs{border-bottom: 0;}
  .ba-em-calendar-tabs-wrap .nav-tabs>li{margin-bottom: 0;}
  .ba-em-calendar-tabs-wrap .nav-tabs>li+li{margin-left: -1px;}
  .ba-em-calendar-tabs-wrap .nav-tabs>li>a{
    border:0;
    background-color: #e7e8eb;
    color: #51566d;
    font-size: 1.125rem;
    font-weight: bold;
    margin-right: 0;
    padding: 1.25rem 7.5rem;
	text-decoration:none;
  }

  .ba-em-calendar-tabs-wrap .nav-tabs>li.active>a, .ba-em-calendar-tabs-wrap .nav-tabs>li.active>a:hover, .ba-em-calendar-tabs-wrap.nav-tabs>li.active>a:focus{
    color: #000;
    background-color: #fff;
	border:0;
  }
  .ba-em-calendar-tabs-wrap .nav-tabs>li>a:hover, .ba-em-calendar-tabs-wrap .nav-tabs>li>a:focus{
    color:#d80001;
  }

  .ba-em-calendar-filter{
    width: 25%;
    position: absolute;
    top: 0;
    z-index: 100;
  }


  /* calendar header  */
  .fc-toolbar > * > :not(:first-child){margin-left: 1.5rem;}
  .ba-em-main-calendar .fc-center{
    display: flex;
    align-items: center;
  }
  .ba-em-main-calendar .fc-left{
    flex: 0 1 25%;
    height: 4rem; /*equal .SumoSelect > .CaptionCont*/
  }
  .ba-em-main-calendar .fc-toolbar.fc-header-toolbar{margin-bottom: 1.5rem;}
  .ba-em-main-calendar .fc-button-group:not(:first-child){margin-left: 2rem;}
   .ba-em-main-calendar .fc-toolbar .fc-button-group .fc-button+.fc-button{margin-left:1px;}

  /* override calendar buttons  */
  .ba-em-main-calendar .fc-button { /*.btn*/
    padding: 0.8rem 1.5rem;
	line-height:1.2;
	border-radius:1.88rem;
	height:3.12rem;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    box-shadow: none;
	font-family:'Oswald';
	text-transform:capitalize;
  }

  .ba-em-main-calendar .fc-button-primary{ /*.btn-default*/
    color:#000;
    border-color:#fff;
    background: #fff;
  }
  .ba-em-main-calendar .fc-button-primary:disabled{ /*.btn-default:disabled*/
    color:#000;
    border-color:#ccc;
    background: #ccc;
  }
  .ba-em-main-calendar .fc-button-primary:not(:disabled):hover, .ba-em-main-calendar .fc-button-primary:not(:disabled):focus{ /*.btn-default:hover*/
    color:white;
    border-color:#d80001;
    background: #d80001;
    box-shadow: none;
  }
  .ba-em-main-calendar .fc-button-primary:not(:disabled):active, .ba-em-main-calendar .fc-button-primary:not(:disabled).fc-button-active{ /*.btn-default:active*/
    color: #fff;
    background-color: #212122;
    border-color: #212122;
    box-shadow: none;
  }

  /* next-prev buttons  */
  .ba-em-main-calendar .fc-prev-button, .ba-em-main-calendar .fc-next-button{
    background: none;
    border: none;
    color: #303030;
    height: 2.5rem;
    width: 2.5rem;
    padding: 0;
  }
   .ba-em-main-calendar .fc-button .fc-icon{ font-size:2rem;}

  .ba-em-main-calendar .fc-prev-button:not(:disabled):hover, .ba-em-main-calendar .fc-prev-button:not(:disabled):focus, .ba-em-main-calendar .fc-next-button:not(:disabled):hover, .ba-em-main-calendar .fc-next-button:not(:disabled):focus{
    background: none;
    border: none;
    color: #d80001;
  }
  
  /*.ba-em-main-calendar .fc-toolbar h2{font-size:2.5rem;}*/
	
	.ba-em-main-calendar .fc-view-container{ background-color:#fff;}
	
  /* calendar week header */
  .ba-em-main-calendar th,
  .ba-em-main-calendar td,
  .ba-em-main-calendar thead,
  .ba-em-main-calendar tbody,
  .ba-em-main-calendar .fc-divider,
  .ba-em-main-calendar .fc-row,
  .ba-em-main-calendar .fc-content,
  .ba-em-main-calendar .fc-popover,
  .ba-em-main-calendar .fc-list-view,
  .ba-em-main-calendar .fc-list-heading td {
    border-color: #dcdee1;
  }

  .ba-em-main-calendar .fc-day-header{
    background: #e7e8eb;
    color: #51566d;
    font-size: 1.125rem;
    padding: 1rem 0;
  }


  /* calendar day */
  .ba-em-main-calendar .fc-day-number{
    font-size: 1.125rem;
    color: #000;
    font-weight: bold;
    padding: 1rem;
    padding-bottom: 0.25rem;
  }

  .ba-em-main-calendar td.fc-today {}

  /* calendar event*/
  .ba-em-main-calendar .fc-event{
    border-radius: 0px;
  }
  .ba-em-main-calendar .fc-title{
    font-weight: bold;
    color: #000;
  }

  .ba-em-main-calendar .fc-day-grid-event{
    margin: 4px 2px 0;
    padding: 0 2px;
  }


  /* override qTip tooltip */
  .qtip{font-size: 1rem; line-height: 1.5;}

  .qtip-default{
    background-color: #e7e8eb;
    border: 1px solid #dcdee1;
    color:#000;
  }
  .qtip-content{padding: 1.5rem;}



  /*-------------------------------*/
  /*      Events-Listing.html      */
  /*-------------------------------*/


  /* events listing */
  .ba-em-group-title {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ba-em-group-title h5{flex: 0 0 auto; margin: 0 1rem;}

  .ba-em-group-title .sep{
    background-color: #edeef0;
    flex: 1 0 auto;
    height: 1px;
  }

  .ba-em-events-listing .ba-em-item{
    display: flex;
    align-items: flex-start;
  }

  .ba-em-events-listing .ba-em-image-block{margin-right: 1.5rem; flex: 0 0 30%; -ms-flex: 0 0 37.5%;}
  .ba-em-events-listing .ba-em-image-block img{width: 100%;}

  .ba-em-events-listing .ba-em-date{
    background-color: #e7e8eb;
    align-items: center;
    padding: 1.5rem 4rem;
    text-align: center;
    margin: 2rem 2.5rem 0;
	font-family:'Oswald';
  }
  .ba-em-events-listing .ba-em-image-block img+.ba-em-date{margin: -4.5rem 2.5rem 0;}

  .ba-em-events-listing .ba-em-month{
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
  }
  .ba-em-events-listing .ba-em-day{
    font-size: 3.12rem;
    color: #d80001;
    line-height: 1;
    font-weight: 500;
  }

  .ba-em-events-listing .ba-em-time{
    font-weight: bold;
    color: #51566d;
  }
  
  .ba-em-events-listing .ba-em-time span{margin-right:1.5rem;}

  .ba-em-tag{
    display: inline-block;
    font-weight: bold;
    color: #d80001;
    border-radius: 2px;
	text-decoration:none;
  }
  .ba-em-tag:hover{
	text-decoration: underline;
  }

  .ba-em-tag-group1{background-color: #ffefc6}
  .ba-em-tag-group2{background-color: #c6ffd8}
  .ba-em-tag-group3{background-color: #fdd7ff}
  .ba-em-tag-group4{background-color: #d3eeff}

  .ba-em-item-past-event{opacity: 0.6;}
  .ba-em-item-past-event h3+.ba-em-time,
  .ba-em-item-past-event .ba-em-time span:first-child,
  .ba-em-item-past-event .ba-em-month,
  .ba-em-item-past-event .ba-em-day, .sold-out .fc-title {
    text-decoration: line-through;
    color: #a7a9b3;
  }


  /* small calendar */

  .ba-em-small-calendar{
    display: flex;
    flex-direction: column-reverse;
    border:0;
    align-items: center;
  }
  .ba-em-small-calendar .date-picker-wrapper{
    position: relative;
    top: auto!important;
    left: auto!important;
    border: none;
    background: none;
    box-shadow: none;
    padding: 0;
    color: #212122;
    border-bottom: 0;
    width: 100%;
	z-index: 5;
  }
  .ba-em-small-calendar .date-picker-wrapper .month-wrapper{
    border-radius: 0;
    border: none;
    padding: 0;
  }

  .ba-em-small-calendar .date-picker-wrapper table .caption{
    height: 3.75rem;
  }

  .ba-em-small-calendar .date-picker-wrapper .month-element{
    font-size: 1.125rem;
    color: #212122;
    font-weight: bold;
    text-transform: capitalize;
  }

  .ba-em-small-calendar .date-picker-wrapper table .caption .next,
  .ba-em-small-calendar .date-picker-wrapper table .caption .prev {
    font-size: 1rem;
    color: #212122;
    background: none;
  }
  .date-picker-wrapper table .caption .next:hover,
  .date-picker-wrapper table .caption .prev:hover{
    color: #d80001;
    background: none;
  }

  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table .week-name{
    background-color: #e7e8eb;
    color: #51566d;
    font-size: 1rem;
    font-weight: 500;
    height: 2.3rem;
    text-transform: capitalize;
  }

  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table{
    width: 100%;
    table-layout: fixed;
  }
  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table td{
    width: 100%;
  }
  .ba-em-small-calendar  .date-picker-wrapper .month-wrapper table .day{
    padding: 0.95rem 0;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table div.day.lastMonth,
  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table div.day.nextMonth{
    color: #a7a9b3;
  }

  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table .day.real-today{
    color: #d80001;
    background:none;
  }

  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table .day.toMonth.hovering{
    background-color: #f6f7ff;
    color: #212122;
  }
  .ba-em-small-calendar .date-picker-wrapper .month-wrapper table .day.real-today.hovering{
    background-color: #f6f7ff;
    color: #d80001;
  }

  .date-picker-wrapper .first-date-selected, .date-picker-wrapper .last-date-selected{
    background-color: #d80001!important;
    color: #fff!important;
  }

  .date-picker-wrapper table .caption>th:first-of-type, .date-picker-wrapper table .caption>th:last-of-type{width: auto;}

  .ba-em-small-calendar .ba-em-link-wrapper{
    padding: 0.625rem;
    text-align: center;
	background-color:#fff;
	width:100%;
  }

  .ba-em-events-filter{
    border:0;
	background-color:#e7e8eb;
    padding: 1.5rem;
  }
  
  .ba-em-events-filter .sp-link:after{ display:none;}
   .ba-em-events-filter h5{ font-family:'Muli'; font-weight:700;}

  .ba-em-icon-input .form-control{padding-right: 3rem;}
  .ba-em-icon-input .fa {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5rem 1rem;
    z-index: 5;
    color: #a7a9b3;
  }

  /*-------------------------------*/
  /*      Events-details.html      */
  /*-------------------------------*/

  /* event info */
  .ba-em-info-title{
    color: #a7a9b3;
    margin-bottom: 0.25rem;
  }
  .ba-em-info-text{font-weight: bold;}

  .ba-em-social-link{font-weight: bold;}
  .ba-em-social-link .fa{
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
    background-color: #0072bc;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    border-radius: 100%;
  }

  .ba-em-event-image img{width: 100%;}
  .ba-em-event-image figcaption {
    background-color: #fff;
    color: #d80001;
    padding: 1.5rem;
    font-weight: bold;
    font-size: 1.125rem;
    margin-top: -2.5rem;
    margin-left: 6.25rem;
    box-shadow: 0 2px 6px 0 rgba(125, 125, 125, 0.13);
  }
  
  .add-to-calendar{color:#000; margin-left:3rem; font-weight:700; text-decoration:underline;}
  .add-to-calendar .fa{margin-left:-3rem; margin-right:1rem; color:#d80001;}

  /* registration */
  .ba-em-registration-section{
    background-color: #f7f7f8;
  }

  /* history-nav */
  .ba-em-event-nav .inner-wrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding:3rem 2rem;
  }
  .ba-em-event-nav .item{width:50%; line-height: 1.2;}
  .ba-em-event-nav .item+.item{border-left: 1px solid #edeef0;}

  .ba-em-event-nav .item.prev a:before,
  .ba-em-event-nav .item.next a:after {
    content: '';
    font-family: FontAwesome;
    font-size: 3rem;
    position: absolute;
    top: 0;
    margin-top: -1.6rem;
    font-weight: 400;
  }
  .ba-em-event-nav .post-title a, .ba-em-event-nav .post-title a:hover, .ba-em-event-nav .post-title a:focus{ text-decoration:none;}
  .ba-em-event-nav .item.prev a:before{ content: '\f104'; left:-2rem;}

  .ba-em-event-nav .item.next{ text-align: right; margin-left:auto;}
  .ba-em-event-nav .item.next .post-title a:after{ content: '\f105'; right:-2rem;}

  .ba-em-loading-overlay {background-color: rgba(50,50,50,0.6); position:absolute !important; width:100%; top:0px; left:0px; bottom:0px; z-index:999}
  .ba-em-loading-overlay span {color:#fff; font-size:5rem;  position: absolute !important; top: 5rem; left: 50%; margin-left:-2.5rem;}

  /*-------------------------------*/
  /*           Responsive          */
  /*-------------------------------*/

  @media (max-width: 1199px) {
    .ba-em-events-listing .ba-em-date{
        padding: 1.5rem 2rem;
        margin: 2rem 1rem 0;
    }

    .ba-em-events-listing .ba-em-image-block img+.ba-em-date{
      margin: -4.5rem 1rem 0;
    }
	
	.ba-em-main-calendar :not(:first-child).fc-button-group{margin-left:0.5rem;}
	
	.fc-toolbar > * > :not(:first-child){margin-left:1rem;}
	
	.ba-em-main-calendar .fc-button{padding-left:1rem; padding-right:1rem;}
	
	.ba-em-main-calendar .fc-prev-button, .ba-em-main-calendar .fc-next-button{padding:0;}
  }

  @media (max-width: 991px) {
    .ba-em-small-calendar{border: none; display: block;}
    .ba-em-small-calendar .date-picker-wrapper{
      position: absolute;
      top: -1px;
    }
    .ba-em-small-calendar .date-picker-wrapper .month-wrapper{
      border:1px solid #edeef0;
      box-shadow: 0 2px 6px 0 rgba(125, 125, 125, 0.13);
    }
	
	.ba-em-main-calendar .fc-prev-button, .ba-em-main-calendar .fc-next-button{width:2rem;}
	
	.fc-toolbar > * > :not(:first-child){margin-left:0.5rem;}
  }

  @media (max-width: 767px) {

    .ba-em-main-calendar .fc-toolbar.fc-header-toolbar{margin-bottom: 1rem;}

    .ba-em-main-calendar .fc-left{
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex: 1 0 auto;
      height: auto;
    }

    .ba-em-calendar-tabs-wrap{margin-bottom: 3rem;}
    .ba-em-calendar-tabs-wrap .nav-tabs{
      width: 100%;
      display: flex;
    }
    .ba-em-calendar-tabs-wrap .nav-tabs>li {
      width: 100%;
      text-align: center;
      display: flex;
    }
    .ba-em-calendar-tabs-wrap .nav-tabs>li>a {
      padding: 1rem;
      align-items: center;
      display: flex;
      width: 100%;
      justify-content: center;
    }

    .ba-em-calendar-filter{position: relative; width: 100%; margin-bottom: 1.5rem;}

    .ba-em-events-listing .ba-em-image-block{max-width: 30%; -ms-flex: 0 0 30%;}
    .ba-em-events-listing .ba-em-date{padding: 1rem;margin: 1rem 1.5rem 0;}
    .ba-em-events-listing .ba-em-image-block img+.ba-em-date{margin: -3rem 1.5rem 0;}
    .ba-em-events-listing .ba-em-day{font-size: 3rem;}

    .ba-em-event-nav .inner-wrap {padding:2rem 2rem;}
	
	

  }

  @media (max-width: 479px) {
    .ba-em-main-calendar .fc-toolbar > * > :not(:first-child) {
        margin-left: 1rem;
    }
    .ba-em-main-calendar .fc-prev-button, .ba-em-main-calendar .fc-next-button{
      width: 1.5rem;
    }

    .ba-em-events-listing .ba-em-item{
      display: block;
    }
    .ba-em-events-listing .ba-em-image-block{
      margin-right: 0;
      margin-bottom: 1rem;
      max-width: none;
    }
    .ba-em-events-listing .ba-em-date{margin: 0;}
    .ba-em-events-listing .ba-em-image-block img+.ba-em-date{margin: -4rem 2rem 0;}

    .ba-em-event-nav > .container > .inner-wrap{ display:block; padding:0;}
    .ba-em-event-nav .item{width:auto; text-align:center; padding: 1rem 0;}
    .ba-em-event-nav .item.next{ text-align:center;}
    .ba-em-event-nav .item+.item{border-left:none; border-top: 1px solid #edeef0;}
    .ba-em-event-nav .post-title a{display:inline;}

    .ba-em-event-nav .item.prev .post-title a:before{left:0; padding-right:1rem; position: relative; font-size: 1rem;}
    .ba-em-event-nav .item.next .post-title a:after{right:0; padding-left:1rem; position: relative; font-size: 1rem;}

    .ba-em-event-image figcaption {margin-left: 2rem;}
	
	.ba-em-main-calendar .fc-toolbar h2{font-size:1.3rem;}
  }
