/*
========================================
           Dates & Calendar
========================================
*/

.marginal #dates-calendar {

}

.marginal #dates-calendar .container-content,
.marginal #dates-calendar #dates,
.marginal #dates-calendar #calendar {
  height: 285px;
  overflow-y: auto;
}

.marginal #dates-calendar #dates {
  display: none;
  padding-left: 20px;
}

.marginal #dates-calendar #calendar {
  display: none;
}

.marginal .container-content .active {
  display: block !important;
}

.marginal #dates .date-row {
  margin-bottom: 28px;
  margin-top: 10px;
}

.marginal #dates .date-row:last-child {
  margin-bottom: 10px;
}

.content .date-row p {
  font-size: 0.938rem;
  line-height: 1.41667em;
}

.content .date-row:hover span.event-name a {
  text-decoration: underline;
}

#dates-calendar .date-icon,
#dates-calendar .date-event,
.date-icon,
.date-event {
  display: block;
  float: left;
  margin-bottom: 0;
  width: 25px;
}

#dates-calendar .date-icon,
.date-icon {
  margin-top: -3px !important;
  text-transform: uppercase;
}

.date-icon a {
  color: #000000 !important;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1em;
}

.date-icon span {
  display: block;
  font-size: 0.813rem;
  font-weight: 300;
  margin-bottom: 0;
  padding-top: 3px;
  width: 25px;
  line-height: 1.375rem;
}

#dates-calendar .date-event,
.date-event {
  font-size: 1.083em;
  line-height: 1.1em;
  margin-left: 20px;
  width: 255px;
  margin-bottom: 0;
}

.content .date-event {
  width: 400px;
}

.marginal #calendar table td .date-event {
  font-size: 1em;
  font-weight: normal;
  margin-bottom: 10px;
  margin-left: 0;
}

.date-event a {
  color: #000000;
}

.date-event a:hover {
  text-decoration: underline;
}

.date-event span {
  display: block;
}

#dates .date-event span.date {
  display: none;
}
.date-event span.event-name,
.content .date-event span.event-name a {
  font-size: 0.813rem;
  font-weight: 300;
  line-height: 1.375rem;
  text-transform: uppercase;
}

.date-event span.location, .date-event span.location-date {
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.41667em;
}

#dates .date-event span.event-name {
  line-height: 1rem;
}

#dates .date-event span.location {
  font-size: 0.813rem;
  line-height: 1rem;
}

#dates .date-icon span {
  line-height: 1rem;
}

/*
========================================
                Calendar
========================================
*/

.marginal #calendar {
  position:relative;
}

.marginal #calendar .curMonth {
  color: #000000;
  display: inline-block;
  font-size: 1.25em;
  font-weight: 300;
  margin-top: 4px;
}

.marginal #calendar .paging {
  border-bottom: 1px solid #e5e5e5;
  font-weight: normal;
  height: 42px;
  line-height: 27px;
  text-align: center;
}

.marginal #calendar .prev a,
.marginal #calendar .next a {
  background: url(../Images/calendar_prev-next.png) -10px 10px no-repeat transparent;
  display: block;
  height:30px;
  text-indent:-1000px;
  width:30px;
}

.marginal #calendar .prev a {
  background-position:20px 10px;
  float: left;
}

.marginal #calendar .next a {
  background-position: -16px 10px;
  float: right;
}

.marginal #calendar .paging a {
  color: #000000;
}

.marginal #calendar table.month {
  border-collapse: separate ;
  border-spacing: 2px;
  margin: 0;
  position: relative;
  width: 100%;
}

.marginal #calendar table th {
  font-weight: normal;
  text-transform: uppercase;
}

.marginal #calendar table th,
.marginal #calendar table td {
  background: transparent;
  color: #000000;
  font-size: 1.083em;
  font-weight: 300;
  height: 21px;
  padding: 10px 3px 3px;
  text-align: center;
}

.marginal #calendar table td {
  font-weight: 500;
}

.marginal #calendar table td.hasInfo {
  cursor: pointer;
  background: #F4E600;
}

.marginal #calendar table td.hasInfo:hover {
  background: #F9F27F;
}

.marginal #calendar table td.hasInfo a {
  color: #000000;
  display: block;
}

.marginal #calendar td .info {
  cursor: auto;
  display: none;
  height: 0;
  overflow: hidden;
  position: absolute;
  text-align: left;
  width: 0;
}

.marginal #calendar td .info .close {
  cursor: pointer;
  display: block;
  padding: 4px;
  position: absolute;
  right: 6px;
  text-align: right;
  text-transform: lowercase;
  top: 0;
}

.marginal #calendar td .popup {
  background: #ffffff;
  border: 1px solid #cccccc;
  display: block;
  padding: 23px 0 5px 5px;
}

#calendar .bx-wrapper {
  padding-left: 35px;
  padding-right: 50px;
}

#calendar .bx-controls a {
  background: url(../Images/icn_arrows_prev-next.png) no-repeat -4px 0 #6f6f6f;
  top: 15px;
}

#calendar .bx-controls a.bx-next {
  background-position: -32px 0;
}

#calendar .bx-controls a:hover {
  background-color: #6f6f6f;
}

#wrapper-content #calendar .bx-controls .bx-prev {
  left: -5px;
}

.tx-ffbmevents-pi1 .export {
  margin-bottom: 80px;
  min-height: 30px;
}

.tx-ffbmevents-pi1 .export .excel-export {
  background: url(../Images/icn_xls-export.png) 0 0 no-repeat;
  padding-bottom: 2px;
  padding-left: 22px;
  padding-top: 4px;
}

.tx-ffbmevents-pi1 .tx-pagebrowse-pi1 .tx-pagebrowse li.tx-pagebrowse-prev {
  margin-left: 0;
}

.tx-ffbmevents-pi1 .tx-pagebrowse-pi1 .tx-pagebrowse li.tx-pagebrowse-next {
  margin-right: 0;
}


@media screen and (max-width: 779px) {
  .content .date-event {
    width: 230px;
  }

}
