.bb {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.calendar-page {
  padding-bottom: 80px;
}

.calendar-page .content {
  padding: 30px 0 40px 20px;
}

.calendar-page .page-title {
  color: #48728b;
  font-family: 'Adelle', serif;
  font-size: 24px;
  text-transform: uppercase;
}

.loggedout {
  background: #f0f0f0;
  border: 1px solid #ddd;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 10px 15px;
}

.account-links {
  font-family: 'Adelle', serif;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 12px;
  margin-top: 30px;
}

.account-links a {
  display: inline-block;
  margin: 0 5px;
}

.cal-sidebar-header {
    font-family: 'Adelle', serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: #181818;
    font-weight: bold;
    line-height: 1.25;
}

/* ======================================
* Main Category
* ======================================*/
.main-category {
  background: none !important;
  color: #666 !important;
  display: inline-block;
  font-family: 'Adelle', serif;
  font-size: 11px !important;
  font-weight: bold;
  height: 16px;
  margin-bottom: 8px;
  margin-right: 8px !important;
  line-height: 16px;
  padding: 0 !important;
  text-transform: uppercase;
}
.main-category span {
  display: inline-block;
  height: 16px;
  margin-right: 5px;
  width: 16px;
  vertical-align: text-bottom;
}

/* ======================================
* Event List
* ======================================*/
.event-list {
  margin: 20px 0;
}
.event-list .event-item:first-child {
  border-top: 1px solid #D6D6D6;
}
.event-item {
  border-bottom: 1px solid #D6D6D6;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.event-item .add-to-cal {
  background: url(../images/icon-add-to-cal.png) no-repeat;
  display: block;
  height: 16px;
  position: absolute;
  right: 0;
  text-indent: -999em;
  top: 20px;
  width: 27px;
}
.event-item.can-cancel .cancel-event {
  background: url(../images/icon-cancel.png) no-repeat;
  display: block;
  position: absolute;
  right: 0;
  text-indent: -999em;
  top: 18px;
  height: 27px;
  width: 27px;
}
.event-item.can-cancel .add-to-cal {
  right: 45px;
  top: 23px;
}
.event-item .thumbnail {
  float: left;
  margin-right: 30px;
  max-width: 200px;
}
.event-item .details {
  font-size: 14px;
  overflow: hidden;
}
.event-item .event-title a {
  color: black;
  font-family: 'Adelle', serif;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}
.event-item .datetime {
  color: #1A71DB;
  font-weight: bold;
}
.event-item .datetime,
.event-item .summary,
.event-item .ages,
.event-item .attendee-info {
  line-height: 1.7;
}

.list-controls {
  font-family: 'Adelle', serif;
  font-weight: bold;
  margin-top: 20px;
  overflow: hidden;
}

.list-controls .per-page {
  float: left;
}
.list-controls .pagination {
  float: right;
}

.list-controls .per-page .type,
.list-controls .pagination .type {
  color: #666;
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  margin: 0;
}

.list-controls span,
.list-controls a {
  font-family: 'Adelle', serif;
  font-size: 14px;
  display: inline-block;
  margin: 0 5px;
}
.list-controls .active {
  color: #737373;
}

.list-controls .pagination .next,
.list-controls .pagination .prev {
  width: 8px;
  height: 12px;
  text-indent: -999em;
  position: relative;
  top: 4px;
}
.list-controls .pagination .next {
  background: url(../images/icon-page-arrow-next.png) no-repeat;
}
.list-controls .pagination .prev {
  background: url(../images/icon-page-arrow-prev.png) no-repeat;
}

.calendar-list-header {
  position: relative;
}
.calendar-list-header h1 .events-rss {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../images/icon-rss.png) no-repeat;
  text-indent: -999em;
  position: relative;
  left: 5px;
  top: 5px;
}

.filtered-header {
  font-size: 12px;
  color: #242424;
}
.filtered-header span {
  font-family: 'Adelle', serif;
  text-transform: uppercase;
  font-size: 11px;
  display: inline-block;
  margin-right: 5px;
}
.filtered-header .clear-filters {
  margin-top: 5px;
  display: inline-block;
  font-family: 'Adelle', serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.calendar-toggle {
  color: #687878;
  font-family: 'Adelle', serif;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
}
.calendar-toggle a,
.calendar-toggle > span,
.calendar-toggle > div {
  display: inline-block;
  margin: 0 5px;
}

.calendar-toggle a:focus {
    outline: #aaa dashed;
}

/* ======================================
* Event Page
* ======================================*/
.event-page .content {
  overflow: hidden;
  padding: 20px 0;
}
.event-page .event-photo {
  border: 10px solid #dbe2e6;
}
.event-page .event-photo img {
  border: 3px solid white;
  display: block;
  width: 100%;
}
.event-page h1 {
  color: black;
  font-family: 'Adelle', serif;
  font-size: 36px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.event-page .event-details,
.event-page .event-details p {
  font-size: 14px;
  line-height: 1.5;
}

.event-page .datetime {
  color: #1A71DB;
  font-weight: bold;
  font-size: 14px;
}

.event-page dl {
  font-size: 14px;
  margin: 0 0 40px;
  overflow: hidden;
}
.event-page dl dt {
  color: #333;
  font-weight: bold;
  margin-right: 5px;
}
.event-page dl dd+dt,
.event-page dl dd+dd {
  clear: left;
}
.event-page dl dt,
.event-page dl dd {
  float: left;
  margin-bottom: 5px;
}

.event-page dl dd.canceled {
  text-transform: uppercase;
  color: red;
  font-weight: bold;
}

.event-page .session-opened {
  color: green;
}
.event-page .session-closed {
  color: red;
}

.event-page .controls {
  margin: 20px 0 30px;
}
.event-page .controls a {
  color: #333;
  display: inline-block;
  font-size: 11px;
  margin-right: 15px;
}
.event-page .add-to-cal {
  background: url(../images/icon-add-to-cal.png) no-repeat left center;
  padding-left: 35px;
}
.event-page .print {
  background: url(../images/icon-print.png) no-repeat left center;
  padding-left: 23px;
}

.event-page .share {
  line-height: 35px;
  margin-bottom: 40px;
  min-height: 45px;
}
.event-page .share > span {
  color: #333;
  display: inline-block;
  font-weight: bold;
  margin-right: 10px;
  vertical-align: top;
}
.event-page .addthis_sharing_toolbox {
  display: inline-block;
}

.event-page .return-link {
  background: url(../images/icon-return-arrow.png) no-repeat left center;
  color: #1A71DB;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  line-height: 17px;
  margin: 50px 0;
  padding-left: 40px;
}

/* ======================================
* Event Registration
* ======================================*/
.event-page .registration h2 {
  margin-bottom: 20px;
}
.event-page .registration p {
  font-size: 14px;
}

.event-page .registration-note {
  background: #f0f0f0;
  border: 1px solid #ddd;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 10px 15px;
  text-align: center;
}

.event-page .additional-sessions li {
  background: none;
  margin: 5px 0;
  padding: 0;
}
.event-page .additional-sessions input {
  float: none;
  margin: 0 5px 0 0;
  padding: 0;
  width: auto;
}
.event-page .additional-sessions label {
  display: inline;
  float: none;
}
.event-page .additional-sessions .session-closed {
  color: #999;
  font-weight: normal;
}

.event-page .additional-sessions.require-all li span {
  opacity: 0.7;
}

.event-page .custom.checkbox {
  top: 3px;
  margin-right: 5px;
}

.event-page .custom.checkbox.checked {
  background: url(../images/icon-check.png) no-repeat center center #1A71DB !important;
  border: 1px solid #1A71DB;
}

.event-page .calendar-form .Actions {
  margin: 20px 0;
}

.event-page .account-fields {
  margin-top: 20px;
}

.event-page form #Age {
  max-width: 110px;
}

/* ======================================
* Calendar Widget
* ======================================*/
.ui-datepicker td {
  background: white;
  padding: 5px;
}
.ui-datepicker td a {
  text-align: center;
}
.ui-datepicker .ui-datepicker-header {
  background: white;
  font-weight: bold;
}

.calendar-widget {
  margin-bottom: 30px;
  padding-top: 15px;
}
.calendar-widget .ui-datepicker {
  width: 100%;
}
.calendar-widget table {
  border: none;
  border-spacing: 3px;
  width: 100%;
  margin: 0;
  table-layout: fixed;
  border-collapse: initial;
}
.calendar-widget th,
.calendar-widget td {
  background: #E8E8E8;
  text-align: center;
  padding: 0;
  font-size: 12px;
}
.calendar-widget th {
  background: none;
  color: #666666;
  font-weight: normal;
}
.calendar-widget tbody td span,
.calendar-widget tbody td a {
  font-size: 12px;
  display: block;
  padding: 5px;
  color: #050505;
  text-align: center;
}
.calendar-widget .ui-datepicker-today {
  background: #1A71DB;
  color: white;
}
.calendar-widget tbody .has-event a {
  background: #48728b;
  text-decoration: underline;
  color: white;
}
td.ui-datepicker-week-end.ui-datepicker-other-month.has-event .ui-state-default,
td.ui-datepicker-other-month.has-event .ui-state-default {
 background: #eaeef0;
 color:#cccccc;
}
.calendar-widget .ui-datepicker-today a,
.calendar-widget .ui-datepicker-today span {
  background: #1A71DB !important;
  color: white;
}
.calendar-widget .ui-datepicker-other-month {
  background: #f9f9f9;
}
.calendar-widget .ui-datepicker-other-month a {
  color: #abb0ae;
}

.calendar-widget .ui-datepicker-title {
  font-family: 'Adelle', serif;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  top: -2px;
  z-index: 1;
  color: #444;
}
.calendar-widget .ui-datepicker-header {
  background: transparent;
  position: relative;
  margin: 0;
}
.calendar-widget .ui-datepicker-header a:hover {
  cursor: pointer;
}
.calendar-widget .ui-datepicker-header a {
  top: 0 !important;
}
.ui-datepicker-prev {
  background: url(../images/icon-arrow-left.png) no-repeat center center;
  left: 0 !important;
}
.ui-datepicker-next {
  background: url(../images/icon-arrow-right.png) no-repeat center center;
  right: 0 !important;
}

/* ======================================
* Calendar Filter
* ======================================*/
.filter-section {
  margin-bottom: 25px;
}
.filter-section h4 {
  font-family: 'Adelle', serif;
  font-size: 20px;
  margin-bottom: 15px;
}

.filter-dates .fields {
  margin: 0 -5px;
  overflow: hidden;
}
.filter-dates .fields > div {
  float: left;
  width: 50%;
  padding: 0 5px;
}
.filter-dates input {
  background: url(../images/icon-filter-cal.png) no-repeat 95% center;
  font-size: 10px;
  padding: 6px 8px;
  height: auto;
  margin: 0;
  outline: 0;
}

.filter-categories ul li:first-child {
  margin-top: 0;
}
.filter-categories .custom.checkbox {
  background-image: none;
  border: none;
  height: 17px;
  margin-right: 4px;
  width: 17px;
}
.filter-categories .custom.checkbox.checked {
  background-image: url(../images/icon-check.png);
  background-repeat: no-repeat;
  background-position: center center !important;
}
.filter-categories label {
  display: inline-block;
  font-family: 'Adelle', serif;
  font-size: 12px;
  font-weight: bold;
  position: relative;
  text-transform: uppercase;
  top: -2px;
}
