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

/********** BLOCKS CSS ******************************/
.block-items-holder:not(.no-style), .paginated-parent-block:not(.no-style) {
    /* background: #E6EAEE; */
    padding:0;
}
.block-items-holder .upcoming-events-holder, .block-items-holder .past-events-holder{
    max-height: 1000px;
    overflow-y: auto;
}
.block-items-holder.paginated .news-block-item{
    display: none;
}
.hide-blocks-on-load .news-block-item{
    display: none;
}
.block-item .title, .blocks-header .title{
    margin: 0;
    margin-bottom: 10px;
}

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; */
    border: unset !important;
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 2px;
    position: relative;
    font-size: 0;
}
.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;
}
.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;
    }

    p.block-items-title {
      width: 100% !important;
    }

    .view-more-btn {
      display:block !important;
      margin-top:0;
  }

}
.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 .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: 10px 0;
    line-height: 20px;
}
.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-news-block-found {
    display: none;
}

.blocks-items-background-remover {
    padding: 0 !important;
    background: none !important;
}

@media (max-width: 768px) {
  .event-toggle-view-mobile {
    margin: 0 15px 15px 15px;
  }

}

.featured-block-item.block-item .block-img, .featured-block-item.block-item .block-content {
    width: 100%;
    max-width: 100%;
}
.featured-block-item.block-item .block-content {
    margin-top: 15px;
    padding-left: 0px;
}
@media (max-width: 575px) {
    .block-items-holder.show-one-on-mobile > .news-block-item ~ .news-block-item{
        display: none;
    }
}
/*------------- BLOCKS 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-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 -----------------------------*/

.checkbox-btn {
    opacity: 0;
    position: absolute;
}
.checkbox-btn + label {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #6f6e6e;
    border-radius: 10px;
    white-space: nowrap;
    margin: 3px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
    padding: 2px 10px;
    cursor: pointer;
}
.checkbox-btn:checked + label {
    border-color: #187CA0;
    background: #187CA0;
    color: #fff;
}

.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%;
}

.blocks-article-view-class .news-block-item {
  padding-top: 0px;
  padding-bottom: 0px;
  height: 100%;
}
.blocks-article-view-class .col-lg-4 {
  margin-bottom: 16px;
  margin-top: 16px;
}
.blocks-article-view-class .news-block-item .block-img {
  width: 100%!important;
}
.blocks-article-view-class .news-block-item .block-content {
  padding: 16px 16px 0px 16px!important;
  margin-top: 0px!important;
  max-width: 100%!important;
  width: 100%!important;
}
.blocks-article-view-class .news-block-item .block-content .title {
  font-size: 24px;
  line-height: 28px;
}
.blocks-article-view-class .news-block-item .block-content .date {
  color: #646A90;
  font-weight: bold;
  margin: 10px 0px!important;
}
.blocks-article-view-class .news-block-item .block-content .description p{
  color: #282828e6!important;
}


