/* Event Calendar */
.events h1 {
  text-align: center;
}
.category-right .sbHolder, .cal-nav .sbHolder {
    color: #fff;
    cursor: pointer;
    font-family: 'Montserrat-Medium';
    font-size: 32px;
    line-height: 55px;
    height: 55px;
    padding: 0;
    position: relative;
    z-index: 1;
}
.category-right .sbHolder a, .cal-nav .sbHolder a {
    color: #fff;
}
.category-right .sbSelector, .cal-nav .sbSelector {
    height: 55px;
    overflow: hidden;
    padding: 0 16px;
}
.category-right .sbToggle, .cal-nav .sbToggle {
    background: rgba(0, 0, 0, 0) url("../images/layout/category-arrow.png") no-repeat scroll center center;
    cursor: pointer;
    height: 55px;
    position: absolute;
    right: 0;
    width: 48px;
    
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition:    all 0.3s ease 0s;
	-ms-transition:     all 0.3s ease 0s;
	-o-transition:      all 0.3s ease 0s;
	transition:         all 0.3s ease 0s;
}
.cal-nav .sbToggle.sbToggleOpen {
	-webkit-transform: rotate(180deg);
	-moz-transform:    rotate(180deg);
	-ms-transform:     rotate(180deg);
	-o-transform:      rotate(180deg);
	transform:         rotate(180deg);
}
.category-right .sbOptions, .cal-nav .sbOptions {
    background: #838383 none repeat scroll 0 0;
    color: #fff;
    font-family: 'Montserrat-Regular';
    max-height: 322px !important;
    overflow-y: scroll;
    padding-bottom: 8px;
    border: 1px solid #838383;
}
.category-right .sbOptions li a, .cal-nav .sbOptions li a {
    color: #fff !important;
    display: block;
    font-size: 17px;
    line-height: 20px;
    padding: 8px 15px;
}
.category-right .sbOptions li a:hover, .category-right .sbOptions li a:focus, .cal-nav .sbOptions li a:hover, .cal-nav .sbOptions li a:focus {
    background: #FFF none repeat scroll 0 0;
    color: #000 !important;
}
div.cal-nav {
    border-bottom: 1px solid #231f20;
    border-top: 1px solid #231f20;
    height: 77px;
    margin: 22px auto 26px;
    max-width: 100%;
}
div.cal-nav > div {
    vertical-align: middle;
}
div.cal-nav div.selectBox {
    background: #838383 none repeat scroll 0 0;
}
div.calendar {
    display: block;
    font-size: 0;
    padding-bottom: 40px;
    width: 100%;
}
/* RESET LIST STYLES */
div.calendar > ul:not([class]) {
	margin-bottom: 0px;
}
div.calendar > ul:not([class]) > li {
	margin: 0;
}
div.calendar > ul:not([class]) > li:before {
	display: none;
}
/* END RESET */
div.calendar.list ul li.hide-empty {
	display: none;
}
div.calendar > ul {
    display: block;
    font-size: 0;
    list-style: outside none none;
    min-height: 200px;
    width: 100%;
    padding:0 !important;
    margin: 0 !important;
}
div.calendar.list ul {
	min-height: 0;
}
div.calendar > ul > li {
    box-sizing: border-box;
    color: #231f20;
    display: inline-block;
    font-family: 'Montserrat-Medium';
    padding: 5px;
    width: 14.2%;
}
div.calendar.list > ul > li {
    display: block;
    min-height: 200px;
    padding: 0;
    width: 100%;
}
div.calendar > ul > li.before, div.calendar > ul > li.after {
    color: #d2d2d2;
    font-size: 28px;
    line-height: 22px;
}
div.calendar.list > ul > li.before, div.calendar.list > ul > li.after {
    display: none !important;
}
div.calNum {
    border-bottom: 1px solid #c5c5c5;
    border-top: 6px solid #c5c5c5;
    font-size: 28px;
    line-height: 22px;
    padding: 10px 5px 15px;
}
.list div.calNum {
  padding: 10px 15px 15px ;
}
div.calendar > ul > li.before div.calNum, div.calendar > ul > li.after div.calNum {
    border-color: #d2d2d2;
}
div.calNum span {
    display: inline-block;
    font-size: 15px;
    line-height: 15px;
    padding: 0 0 0 4px;
    vertical-align: middle;
    font-family: 'Montserrat-Regular';
}
li.on div.calNum {
    border-top-color: #838383;
    color: #838383;
}
div.month {
    box-sizing: border-box;
    color: #00529b;
    font-family: 'Montserrat-Bold';
    font-size: 38px;
    line-height: 24px;
/*     padding: 0 30px; */
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
div.month a {
    box-sizing: border-box;
    color: #000;
    display: block;
    font-family: 'Montserrat-SemiBold';
    position: relative;
    width: 100%;
}
a.previous-month {
    padding-left: 10px;
    text-align: left;
}
a.next-month {
    padding-right: 10px;
    text-align: right;
}
a.previous-month::before, a.next-month::after {
    content: "";
    display: block;
    height: 43px;
    position: absolute;
    top: -6px;
    width: 44px;
}
a.previous-month::before {
    background: transparent url("../images/layout/cal-arrow-prev.png") no-repeat scroll left top;
    left: -24px;
}
a.next-month::after {
    background: transparent url("../images/layout/cal-arrow-next.png") no-repeat scroll left top;
    right: -24px;
}
.table.selector-options {
    margin-bottom: 26px;
    height: auto;
}
.table.selector-options p {
    padding: 0 !important;
}
.table.selector-options select {
    background: #e2e2e2 none repeat scroll 0 0;
    border: 1px solid #000000;
    margin-left: 6px;
    min-width: 215px;
    padding: 6px 20px 6px 2px;
}
.table.selector-options .select-day {
    padding-left: 15px;
}
.table.selector-options .select-day.hide {
    display: none;
}
#submit-date {
    border: 2px solid #838383;
    margin-left: 6px;
    padding: 7px 14px;
}
#submit-date:hover {
    background: #fff none repeat scroll 0 0;
    color: #000;
}
ul.selector {
    box-sizing: border-box;
    display: block;
    font-size: 0;
    list-style: outside none none;
    padding: 0 15px 0 0;
    text-align: right;
    width: 100%;
}
ul.selector li {
    display: inline-block;
    font-family: "Open Sans";
    text-align: left;
}
ul.selector li a {
    color: #838383;
    display: block;
    font-family: 'Montserrat-Medium';
    font-size: 18px;
    padding: 10px 0;
}
ul.selector li.off a {
    color: #c5c5c5 !important;
}
ul.selector li.off .grid-icon span,
ul.selector li.off .grid-icon span:before,
ul.selector li.off .grid-icon span:after,
ul.selector li.off .list-icon span,
ul.selector li.off .list-icon span:before,
ul.selector li.off .list-icon span:after {
	background-color: #c5c5c5 !important;
}
ul.selector li + li {
    padding-left: 15px;
}
/*
#grid::after {
    background: transparent url("../images/layout/grid_view.png") repeat-x scroll left top;
    content: "";
    display: inline-block;
    height: 30px;
    margin-left: 10px;
    vertical-align: middle;
    width: 30px;
}
#list::after {
    background: transparent url("../images/layout/list_view.png") repeat-x scroll left top;
    content: "";
    display: inline-block;
    height: 30px;
    margin-left: 10px;
    vertical-align: middle;
    width: 30px;
}
*/
ul.selector li.off #list::after {
    background: transparent url("../images/layout/list_view.png") repeat-x scroll left bottom;
}
ul.selector li.off #grid::after {
    background: transparent url("../images/layout/grid_view.png") repeat-x scroll left bottom;
}

/* These are CSS icons now for better portability */
.grid-icon, .list-icon {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	height:32px;
	width:32px;
	
	font-size:0;
}
.grid-icon > span {
	display: block;
	width:8px;
	height:8px;
	margin-left:12px;
	margin-right:12px;
}

.grid-icon > span,
.grid-icon > span:before,
.grid-icon > span:after {
	position: relative;
	
	background-color:#838383;
	transition:background-color 0.3s ease 0s;
}

.grid-icon > span:before,
.grid-icon > span:after {
	content:"";
	display: inline-block;
	height:100%;
	width:100%;
	
	position: absolute;
	top:0;
}

.grid-icon > span:before {
	right:100%;
	margin-right:4px;
}

.grid-icon > span:after {
	left:100%;
	margin-left:4px;
}

.grid-icon > span:nth-child(2) {
	margin-top:4px;
	margin-bottom:4px;
}

.list-icon > span {
	position: relative;
	width:100%;
	height:8px;
	margin-top:12px;
	margin-bottom:12px;
}

.list-icon > span,
.list-icon > span:before,
.list-icon > span:after {
	display: block;
	background-color:#838383;
	transition:background-color 0.3s ease 0s;
}

.list-icon > span:before,
.list-icon > span:after {
	content:"";
	width:100%;
	height:100%;
	position: absolute;
	left:0;
}

.list-icon > span:before {
	bottom:100%;
	margin-bottom:4px;
}
.list-icon > span:after {
	top:100%;
	margin-top:4px;
}
#list .list-icon,
#grid .grid-icon {
	margin-left:10px;
}

.calendar > ul > li {
  vertical-align: top;
}

.calendar > ul ul {
  font-size: 14px;
}

.calendar ul ul li {
  padding: 15px 0px !important;
  position: relative;
}

.calendar ul ul li:before {
  border-top: 2px solid #838383;
  content: "";
  display: block;
  height: 1px;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
.calendar .event-times {
	display: block;
	font-size: 12px;
	padding-top: 3px;
}
.calendar ul ul li:first-child:before{
  display: none;
}

.calendar > ul ul li > a {
  display: block;
}

.calendar li figure {
  display: none;
}

.calendar.list ul ul li {
  border-top: 1px solid #c5c5c5;
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: left;
}

.calendar.list ul ul li:before {
  display: none;
}

.calendar.list ul ul li:first-child {
  border-top: none;
}
.calendar.list .event-time {
	display: none;
}

.calendar .no-list {
  font-size: 13px;
  color: #f4793e !important;
  font-weight: bold;
}

.calendar .no-list span {
  font-size: 10px;
  display: block;
  padding-bottom: 2px;
  font-weight: normal;
  text-transform: uppercase;
  color: #282828;
}

.calendar .no-list:hover {
  color: #fdb728 !important;
}

.calendar .no-list,
.calendar.list .list-only {
  display: block;
}

.calendar .list-only,
.calendar.list .no-list {
  display: none;
}

.calendar.list figure img,
.calendar.list figure figcaption {
  display: inline-block;
  vertical-align: top;
}

.calendar.list figure img {
  width: 20%;
}

.calendar.list figure figcaption {
  width: 75%;
  margin-left: 2%;
}

#inner-page-content .calendar figure h3 {
  margin-bottom: 0px;
}

.calendar.list ul ul li > a.list-only {
  color: #282828;
  padding-top: 10px;
  padding-bottom: 10px;
}

.calendar.list figure p {
  padding-top: 10px;
  padding-bottom: 0;
}

.calendar.list .read-more {
	display: block;
  white-space: nowrap;
  color: #838383;
  transition: all 0.4s linear 0s;
}
.calendar.list .read-more::after {
    content: "\f105";
    display: inline-block;
    margin: -2px 0 0 6px;
    vertical-align: middle;
    font: 16px/20px Font Awesome\ 5 Pro;
    font-weight: bold;
}

.calendar.list ul ul li > a.list-only:hover .read-more {
  color: #000 !important;
}

/* Event Details */
.event-details-modal {
  background-color: #FFF;
  height: 100%;
  border: none;
}

.event-details-modal .event-details-page a {
  color: #d4a34c;
}

#event-display {
  height: auto;
  border: none;
}

.event-details-page {
  background: #FFFFFF;
  padding: 8px;
  max-width: 700px;
  height: 100%;
  display: block;
  border: none;
}

.event-details-page figure {
  width: 100%;
  border: none;
}

.event-details-page figure img {
  width: 100%;
  border: none;
}

.event-details-page h2 {
  margin-bottom: 0;
}

.event-details-page .event-desc {
  margin-top: 1em;
  font-size: 14px;
  line-height: 20px;
}

.event-details-page .event-website {
  font-weight: bold;
  margin-top: 1em;
}

.event-details-text {
  padding: 14px;
  display: block;
}


.highslide-wrapper {
  height: auto !important;
}


.event-website a {
  color: #BF1920;
}

.event-listing,
.event-listing li {
  list-style: none;
  margin: 0px !important;
  padding: 4px !important;
}
.event-listing strong {
  margin-top: 5px;
}

/********************
   Filter Styles
********************/

.filters {
  margin:11px 0px 22px;
}

.filters h4 {
  display: inline-block;
  margin:0px;
  padding: 0px;
  vertical-align: middle;
}

.filters .cell.title {
  width: 120px;
  vertical-align: middle;
  padding: 0px;
}

#filter-options {
  width: auto;
  height: auto;
  margin: 0 auto;
}

#filter-cal {
  display: inline-block;
  vertical-align: middle;
}

#filter-cal div {
  display: inline-block;
  vertical-align: middle;
}

#filter-cal p {
  display: inline-block;
  margin: 5px 10px 5px 0px;
  vertical-align: middle;
  padding: 0px;
}

#filter-cal p .btn {
  padding: 4px 20px;
  border: 2px solid #BCD73F;
  text-transform: uppercase;
  display: block;
  border-bottom-width: 4px;
  font-size: 14px;
}

#filter-cal input[type="checkbox"] {
  display: none;
}

#clear-cal-filters {
  display: block;
  font-size: 90%;
  margin: 0 15px 0 0;
  min-width: auto;
}

#filter-cal p [class*="btn-cat"] {
  border: 2px solid #838383;
  color: #1f1f1f;
  background-color: transparent;
  border-bottom-width: 4px;
}

#filter-cal .filter-btn {
  display: inline-block;
  width: 18%;
}
#filter-cal .filter-btn > a {
  padding: 12px 7px;
  display: block;
}

.cal-back-btn {
	margin-top: 25px;	
}
.full-cal-details {
	background-color: #F7F7F7;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	padding: 15px 17px;
}
.full-cal-details h2 {
	margin-bottom: 0;
}
.full-cal-details h4 {
	margin-top: 18px
}

@media (max-width:1000px) {
  div.cal-nav {
    position: relative;
    height: 135px !important;
    display: block;
    box-sizing: border-box;
    padding: 10px 20px;
  }

  .cal-nav .cell {
    display: inline-block !important;
    width: 100%;
  }

  .cal-nav div.month {
    bottom: 18px;
    height: auto !important;
    left: 0;
    margin: 0 auto;
    position: absolute;
    width: 50%;
  }

  .cal-nav div.month:last-child {
    left: auto;
    right: 0px;
  }

  .calendar.list + .cal-nav {
    height: 55px !important;
  }

  ul.selector {
    display: none;
  }

  .select-day {
    display: block !important;
    width: 100%;
    text-align: center;
  }

  .select-day + .cell {
    display: none;
  }

  .calendar.list + .cal-nav {
    height: 69px !important;
  }

  .calendar.list figure figcaption {
    width: 90%;
  }

  #filter-options > .cell {
    display: block;
    text-align: center;
    width: 100%;
  }

  #filter-options .title {
    padding: 10px 0px;
  }
}

@media (max-width:800px) {
  #filter-cal .filter-btn {
    width: 46% !important;
  }
}

@media (max-width:680px) {
	div.cal-nav {
		height: 77px !important;
	}
	div.month a {
		display: none;
	}
}

@media (max-width:500px) {

  #event-display {
    min-height: 425px;
  }

  .select-day label {
    display: block;
    text-align: center;
    padding-bottom: 11px;
  }

  #cal-find {
    display: block;
    width: 100%;
    margin: 0px 0px 12px 0px;
  }

  #submit-date {
    display: inline-block;
    padding: 7px 26px;
  }

  #page-content #inner-page-content {
    padding: 0px;
  }

  #filter-cal p {
    margin: 5px 0px;
  }
}

@media (max-width:450px) {
  .cal-nav .sbHolder {
    font-size: 24px;
  }
  
  #filter-cal .filter-btn {
    width: 100% !important;
    max-width: 300px;
    margin: 5px 0px 0;
  }
}
