:root {
  --event-module-dark-color: #241236;
  --event-module-light-color: #bdb7c2;
}

/********** BLOCKS CSS ******************************/


.event-wrapper {
display: flex;
  flex-flow: row wrap;
  justify-content: center;
  justify-items: center;
  align-items: center;
  align-content: center;
}

.main-event-row {
  flex: 3 1 75%;
}

.sub-category-row {
  flex: 1 1 15%;
}


.block-items-holder:not(.no-style), .paginated-parent-block:not(.no-style) {
/*   background: #E6EAEE; */
  padding: 0;
}

.block-items-holder.y-overflow-scroll {
  max-height: 1500px;
  overflow-y: auto;
}
.block-items-holder.virtual-session-overflow-scroll {
  max-height: 525px;
  overflow-y: auto;
}
.block-item .title, .blocks-header .title{
  margin: 0;
  margin-bottom: 20px;
}

p.block-items-title {
  font-size: 21px;
  line-height: 25px;
}

.blocks-header {
position:relative;
margin:0;
}
.block-item:not(.line-list-block) {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #e1eaf0;
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 2px;
  position: relative;
  font-size: 0;
}
.block-item.line-list-block {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
/*     font-size: 0; */
  border-bottom:1px solid #ddd;
}

.program-block-items-holder .block-item {
  padding: 15px 0;
}

.block-item.line-list-block .short-description p:first-child {
  margin-top: 0;
}
@media (min-width: 501px) {
  .block-item.line-list-block .block-img {
      padding-bottom: 10px;
  }
}
.block-item .block-img {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  width: 25%;
  min-width: 100px;
}
.block-item .block-content {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top;
  /*font-size: 14px;*/
  font-size: 16px;
  display: inline-block;
  width: 75%;
  padding-left: 15px;
  max-width: calc(100% - 100px);
}

.blocks-footer {
text-align:right;
}

.view-all-btn {
position: absolute;
  right: 0;
  top:0;
  text-decoration: underline;
  color: rgba(40,40,40,0.9);
}
.view-more-btn {
  vertical-align: top;
  margin-top: 12px;
}
.view-more-btn > a{
  color: rgba(40,40,40,0.9);
  font-weight: 700;
  font-size: 18px;
}
.view-more-btn > a > span {
  font-size: 14px;
}

@media (max-width: 500px) {
  .block-item .block-img,.block-item .block-content {
      width: 100%;
      max-width: 100%;
  }
  .block-item .block-content {
      margin-top: 15px;
      padding-left: 0px;
  }

}
.block-item .block-content .title {
  margin: 0;
  margin-bottom: 5px;
  color: var(--event-module-dark-color);
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}
.block-item .block-content .title.week-event{
  color:#006b9f;
}
.block-item .block-content .sub-title {
  /*font-size: 1em;*/
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
/*     color: #93a0a5; */
  margin: 0;
}
.block-item .block-content .description p{
  margin: 5px 0;
  line-height: 18px;
}
.block-item .block-content .description a{
  word-break: break-word;
}
.block-item .block-content .description:not(.active) .long-description{
  display: none;
}
.block-item .block-content .description .read-more-link{
  /*font-size: 1em;*/
  font-size: 16px;
  color: var(--event-module-dark-color);
  font-weight: 600;
  text-transform: uppercase;
}
.block-item .block-content .moment p{
/*   font-weight: 600; */
  line-height : 18px;
/*   margin: 5px 0; */
}

.event-toggle-view-mobile {
text-align: right;
margin: 0 0 15px 0;
}

.event-toggle-view-desktop {
text-align: right;
margin: 0;
}

.event-toggle-view-mobile img, .event-toggle-view-desktop img {
width:30px;
cursor:pointer;
}

#no-event-block-found {
  display: none;
}

@media (max-width: 768px) {
.blocks-header {
  margin: 0 15px 15px 15px;
}

.event-toggle-view-mobile {
  margin: 0 15px 15px 15px;
}

}
@media (max-width: 575px) {
  .block-items-holder.show-one-on-mobile > .event-block-item ~ .event-block-item{
      display: none;
  }
}
/*------------- BLOCKS CSS --------------------------*/


/********** FILTERS CSS ******************************/
/*
.block-filters-holder {
margin:0 15px;
}
*/
.block-filters-holder.horizontal{
  margin:0;
  position: relative;
}
.cc-view-all-btn {
position: absolute;
  right: 0;
  top:0;
  text-decoration: underline;
  color: rgba(40,40,40,0.9);
}
.block-filters-holder .title{
  margin: 0;
  margin-bottom: 20px;
  font-weight: 800;
}
.block-filters-holder .filter{
  margin-bottom: 20px;
}
.bootstrap-select.form-control:not([class*="col-"]) {
width: 100%;
}
.block-filters-holder.horizontal .filter{
  width: 46%;
  display: inline-block;
}
.block-filters-holder.horizontal .filter:first-child{
  float: left;
}
.block-filters-holder.horizontal .filter:last-child{
  float: right;
}
.block-filters-holder label{
/*     text-transform: uppercase; */
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}
.btn-group > .dropdown-toggle {
  box-shadow: none;
}

.event-filter-dropdown-lists {
display:block;
clear:both;
}
div.hide {
  display: none;
}

h3.event-filter-heading-btn {
cursor:pointer;
}

h3.event-filter-heading-btn em {
vertical-align: middle;
transition: all .5s ease-in-out;
}

.caret-up {
transform: rotate(180deg);
}

@media (max-width: 768px) {
  .block-filters-holder.horizontal .filter{
      width: 100%;
      float: none;
  }
}
/*--------- FILTERS CSS -----------------------------*/



/********** MINI CALENDAR CSS ******************************/
.mini-cal{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  padding-bottom: 1.2em;
  background: #fff;
  color: #000;
}

#calTitle{
  display: flex;
  justify-content: space-between;
  -ms-align-items: center;
  align-items: center;
  /*font-size: 1.12em;*/
  font-size: 16px;
  text-align: center;
  //padding: 0.4em 0;
  padding: 0.4em;
  padding-top: 0.8em;
  text-transform: uppercase;
}

#calTitle button{
  outline: none;
  display: block;
  padding: 0 5px;
  /*font-size: 1em;*/
  font-size: 16px;
  text-transform: uppercase;
  border: 0.5px solid #e1eaf0;
  background: white;
  color: rgba(0, 0, 0, 0.847);
}

#calTitle button svg{
  width: 30px;
  height: 30px;
}

#calTitle button:hover{
  background: rgba(255,255,255,0.1);
}

#calThead, #calTbody{
  display: flex;
  flex-wrap: wrap;
}

#calThead{
  color: #000;
  margin-top: 0.4em;
  align-items: center;
  text-align: center;
  /*font-size: 0.88em;*/
  font-size: 16px;
  border-right: 0.5px solid #e1eaf0;
  background: #f8f8f8;
}

#calThead > div, #calTbody .a-date{
  box-sizing: border-box;
  flex: 1;
  min-width: calc(100% / 7);
  max-width: calc(100% / 7);
  width: calc(100% / 7);
  text-align: center;
  padding: 0;
}

#calThead > div{
  /*font-size: 1.1em;*/
  font-size: 16px;
  padding: 1em 0.2em;
  border-top: 0.5px solid #e1eaf0;
  border-left: 0.5px solid #e1eaf0;
}

#calTbody{
  color: #000;
  border-right: 0.5px solid #e1eaf0;
  border-bottom: 0.5px solid #e1eaf0;
}

#calTbody .a-date > span{
  display: block;
  /*font-size: 1em;*/
  font-size: 16px;
}

#calTbody .a-date{
  cursor: pointer;
  padding: 0;
  position: relative;
  background-color: transparent;
  color: inherit;
  padding: 1em;
  border-top: 0.5px solid #e1eaf0;
  border-left: 0.5px solid #e1eaf0;
  outline: none;
  /*font-size: 0.9em;*/
  font-size: 16px;
}

#calTbody .a-date.blurred{
  opacity: 0.5;
  pointer-events: none;
}

#calTbody .a-date.event::before{
  content: '';
  position: absolute;
  bottom: 0.5em;
  right: 0;
  left: 0;
  margin: auto;
  background-color: var(--event-module-dark-color);
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
}
#calTbody .a-date.event.hide-dot::before{
  display: none;
}
/*
#calTbody .a-date.current{
  border-color: var(--event-module-dark-color);
  outline: none;
  outline: 0;
}
*/

#calTbody .a-date.current{
  background-color: var(--event-module-light-color);
}

#calTbody .a-date.event.focused::before,
#calTbody .a-date.event:focus::before,
#calTbody .a-date.event:active::before{
  background: #fff;
}

#calTbody .a-date.focused ,
#calTbody .a-date:focus,
#calTbody .a-date:active{
  background: var(--event-module-dark-color);
  color: #fff;
}

#calTFooter{
  display: flex;
  justify-content: space-between;
  -ms-align-items: center;
  align-items: center;
  /*font-size: 1.1em;*/
  font-size: 16px;
  padding: 0 1em;
  margin-top: 0.5em;
}

#calTFooter #calLink{
  /*font-size: 0.8em;*/
  font-size: 16px;
  display: inline-block;
  padding: 0.6em 0.8em;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--event-module-dark-color);
}

#calTFooter #calLink:hover{
  background-color: #555;
}

#calTFooter #eventTitle{
  margin: 0;
  margin-right: 0.1em;
  font-weight: normal;
  /*font-size: 0.95em;*/
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
/*--------- MINI CALENDAR CSS -----------------------------*/



.switch {
position: relative;
display: inline-block;
width: 60px;
height: 28px;
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--event-module-light-color);
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 20px;
width: 20px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: var(--event-module-dark-color);
}


input:checked + .slider:before {
-webkit-transform: translateX(30px);
-ms-transform: translateX(30px);
transform: translateX(30px);
}

/* Rounded sliders */
.slider.round {
border-radius: 15px;
}

.slider.round:before {
border-radius: 50%;
}
.full-width-content-block {
  width: 100%!important;
  max-width: 100%!important;
  margin-top: 0px!important;
}
.unset-block-max-height {
  max-height: unset!important;
}
.sub-category-btn {
  border: none;
  outline: none;
  margin: 5px;
  background-color: white;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  min-height: 30px;
  position: relative;
  text-align: left;
  padding: 0;
  border: 1px solid #666;
    padding: 5px 15px;
    border-radius: 10px;
}
.sub-category-btn.active {
  color: #000;
  border: 1px solid #000;
  padding: 5px 15px 5px 25px;
  border-radius: 10px;
}
.sub-category-btn.active::after {
  content: '\2713';
  width: 100%;
  position: absolute;
  top: 0;
  height: 100%;
  bottom: 0;
  left: 5px;
  display: flex;
  align-items: center;
}
.sub-category-btn:focus {
  outline : none;
}
.block-item .custom-event-layout .block-content .block-img {
  width: 100%!important;
}
