:root {
  --sb-news-tiles-imageHeight: 200px;
  --sb-news-tiles-per-row: --var(--sb-news-tiles-per-row-xs);
}
@media (min-width: 768px) {
  :root {
    --sb-news-tiles-per-row: var(--sb-news-tiles-per-row-sm);
  }
}
@media (min-width: 992px) {
  :root {
    --sb-news-tiles-per-row: var(--sb-news-tiles-per-row-md);
  }
}
@media (min-width: 1200px) {
  :root {
    --sb-news-tiles-per-row: var(--sb-news-tiles-per-row-lg);
  }
}
/* Tiles view - SBTWO-9183 */
.news-tiles {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-content: stretch;
  margin-right: -20px;
}
.news-tiles .news-tile {
  position: relative;
  padding-right: 20px;
  padding-bottom: 20px;
}
.news-tiles .news-tile .panel {
  height: 100%;
}
.news-tiles .news-tile .news-tile-image-and-date {
  position: relative;
  overflow: hidden;
  margin: -15px -15px 20px -15px;
  background-size: cover;
  background-position: center;
}
.news-tiles .news-tile .news-tile-image-and-date a {
  display: block;
  height: 100%;
}
.news-tiles .news-tile .news-tile-image-and-date .news-tile-date {
  position: absolute;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  bottom: 0;
  left: 15px;
  font-weight: bold;
}
.news-tiles .news-tile .news-tile-image-and-date img.news-tile-image {
  width: 100%;
  height: var(--sb-news-tiles-imageHeight);
  object-fit: cover;
}
.news-tiles .news-tile .news-tile-admin {
  position: absolute;
  bottom: 30px;
  right: 40px;
}
.news-tiles .news-tile .news-tile-abstract {
  overflow: hidden;
}
.news-tiles .news-tile .news-tile-event-details {
  margin-bottom: 10px;
}
.news-tile {
  flex: 0 0 calc(100% / var(--sb-news-tiles-per-row));
  max-width: calc(100% / var(--sb-news-tiles-per-row));
}
.horizontal-scroller-item > .news-tiles {
  height: 100%;
}
.horizontal-scroller-item > .news-tiles > .news-tile {
  flex: 1 1 100%;
  max-width: 100%;
  display: flex;
}
.horizontal-scroller-item > .news-tiles > .news-tile .panel {
  width: 100%;
}
/* Agenda / Daily View */
table#occurrences {
  border-collapse: collapse;
  width: 100%;
  clear: both;
}
table#occurrences td {
  vertical-align: top;
}
tr.rowColour1 {
  background: white;
}
tr.rowColour2 {
  background: #f9f9f9;
}
.occurrenceTags a {
  text-decoration: none;
}
td.occurrenceDetails {
  word-break: break-word;
}
td.occurrenceDateTime {
  white-space: nowrap;
  width: 10%;
}
.occurrenceTime span.time {
  white-space: nowrap;
}
.calendarItemFooter {
  font-size: 90%;
}
/* General stuff for all of calendarland */
.calendar {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  clear: both;
}
@media (max-width: 767px) {
  .calendarContainer {
    margin: 0px -20px 20px -20px;
    border-bottom: 1px solid #777777;
  }
}
@media (min-width: 768px) {
  .calendar {
    border-top: 1px solid #777777;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
  }
  .calendarContainer {
    margin: 0px;
  }
}
.calendar th {
  /* Days/dates across the top */
  border-top: 1px solid #777777 !important;
  /* To stop it looking wonky */
  color: white;
}
.calendar th:first-child {
  border-left: 1px solid #777777;
}
.calendar th:last-child {
  border-right: 1px solid #777777;
}
.calendar td {
  min-height: 10px;
  padding: 0px !important;
  border-right: 1px solid #dddddd;
}
.calendar td.rowSpan {
  height: 100%;
}
.calendar topRow {
  border-top: 1px solid #777777;
  background: #f9f9f9;
}
.calendar topRow td {
  height: 20px;
}
.calendar .bottomRow td {
  height: 10px;
}
.calendar .middleRow td {
  height: 1em;
}
/* ID7 SBTWO-7056 */
.id7-main-content-area .id7-main-content table.calendar > tbody > tr:not(.topRow) td {
  border-top: none;
}
.id7-main-content-area .id7-main-content table.calendar .eventPopup a {
  text-decoration: none;
}
/* Dates and week numbers... */
.calendar .date {
  float: right;
  margin-right: 2px;
}
.calendar .date a {
  color: #383838;
  /* Normal link colour fails contrast check, so changed */
  text-decoration: none;
}
.calendar .date a:hover {
  text-decoration: underline;
}
.calendar .weekNumber {
  float: left;
  margin-left: 2px;
}
/* Buttons for new item creation */
.calendar .createNewItem a,
#layoutTable .calendar .createNewItem a {
  text-decoration: none;
}
.calendar .createNewItem {
  float: right;
  display: inline;
  visibility: hidden;
  margin-right: 2px;
}
.calendar .createNewItemHover {
  visibility: visible;
}
/* Actual events on calendars - for colours and more general event css see categories.css */
.calendar .event {
  margin: 2px;
  max-width: 100%;
}
/* Extra styling for tag editing view - undoes some unwanted bootstrap defaults - SBTWO-8395 */
#colourPicker {
  margin-bottom: 10px;
}
#colourPicker .event {
  margin: 0px 10px 10px 0px;
  min-width: 50px;
}
#colourPicker .btn-group > .btn:first-child {
  border-radius: 0px 0px 0px 0px;
}
#colourPicker .btn-group > .btn:last-child {
  border-radius: 0px 0px 0px 0px;
}
#exampleEvent {
  margin-bottom: 20px;
}
/* Monthly specific */
.calendar.monthly tr td.notThisMonth {
  background: #eee;
}
.calendar.monthly tr.topRow td.notThisMonth {
  background: #ddd;
}
.calendar tr td.today {
  background: #ffe7ad;
}
.calendar tr.topRow td.today {
  background: #FFC233;
}
.calendar tr td {
  vertical-align: top;
}
/* four day calendar specific */
.calendar.fourDayCalendar td {
  height: 400px;
}
/* Mini views */
.calendar.mini a,
#layoutTable .calendar.mini a {
  text-decoration: none;
  display: block;
}
.calendar.mini {
  border-collapse: collapse;
  border: 1px solid #777777;
  width: auto;
}
.calendar.mini td {
  height: 20px;
  line-height: 25px;
  text-align: center;
  width: 25px;
}
.calendar.mini th {
  background-color: #f0f0f6;
}
/* Calendar tool bar */
#calendarToolbarButtons {
  display: inline-block;
  float: left;
  margin-right: 20px;
}
#calendarAddContainer {
  float: left;
}
.newsViewList {
  float: left;
}
/* Floaty popups */
.calendar .popover-content {
  overflow: hidden;
}
.calendar .tagsOnThisItem {
  margin-left: -2px;
}
.calendar .event {
  display: block;
}
.calendar .eventPopoverName {
  margin-bottom: 5px;
}
.calendar .popover-title {
  overflow: hidden;
  min-width: 200px;
  /* To stop buttons breaking */
  width: 100%;
  /* To stop close button weirdness */
}
.calendar button.close {
  margin-right: 4px;
}
.triggerPopover {
  cursor: pointer;
}
.eventActions {
  display: inline-block;
}
.clickMeHint {
  font-weight: bold;
  background-color: #FFFFCC;
}
.calendarItemFooter {
  clear: both;
}
/* Quick Add event preview */
#quickAddForm {
  margin-right: 20px;
}
#quickAddPreview {
  position: absolute;
  top: 4em;
  left: 0px;
  z-index: 100;
  width: 30em;
  font-size: 11px;
  line-height: 130%;
}
#quickAddPreview .attribute {
  font-weight: bold;
  width: 5em;
  float: left;
  clear: left;
}
#quickAddPreview .location {
  font-style: normal;
}
#quickAddPreview .recurrence,
#quickAddPreview .tags {
  display: block;
}
#quickAddPreview .invalid {
  background: #fee;
  padding: 2px;
}
#quickAddPreview .error {
  color: crimson;
}
/* Aggregation buttons - RSS and all that */
#calendarAggregationButtons a {
  text-decoration: none;
}
/* TinyMCE text areas on edit screen */
.formw .textarea {
  width: 700px;
  height: 200px;
}
/*Turn off toolbar, buttons, and calendar-specific links for printing*/
@media print {
  #calendarToolbar,
  #calendarAggregationButtons {
    display: none;
  }
  .title a[href*="warwick.ac.uk"]:after,
  .date a[href*="warwick.ac.uk"]:after,
  .time abbr[title]:after {
    content: "";
  }
}
/* IE11/misc potato browser grid styles */
.sb-calendar-day-names-row {
  display: none;
}
.sb-calendar-week-row {
  display: block;
  margin-bottom: 20px;
}
.sb-calendar-week-row .sb-calendar-date {
  padding: 10px;
  background-color: #eeeeee;
  margin-top: 10px;
}
.sb-calendar-week-row .sb-calendar-date.today {
  background-color: #f5cf77;
}
.sb-calendar-week-row .sb-calendar-date.notThisMonth {
  background-color: #dddddd;
}
.sb-calendar-week-row .sb-calendar-date .createNewItem {
  float: right;
  display: inline;
  visibility: hidden;
  margin-right: 2px;
}
.sb-calendar-week-row .sb-calendar-date .createNewItemHover {
  visibility: visible;
}
.sb-calendar-week-row .sb-calendar-date:hover .createNewItem {
  visibility: visible;
}
.sb-calendar-week-row .sb-calendar-date a {
  color: #58595B;
  text-decoration: none;
}
.sb-calendar-week-row .sb-calendar-date a:hover {
  text-decoration: underline;
}
.sb-calendar-week-row .sb-calendar-event {
  border: 1px solid white;
  padding: 10px;
}
.sb-calendar-week-row .sb-calendar-event .time {
  display: block;
}
.sb-calendar-week-row .sb-calendar-event .title {
  display: block;
}
.sb-calendar-week-row .sb-calendar-event .location {
  display: block;
}
.sb-calendar-week-row .sb-calendar-event .abstract {
  display: block;
}
.sb-calendar-week-row a.sb-calendar-event {
  text-decoration: none;
  display: block;
}
.sb-calendar-week-row a.sb-calendar-event.not-first-day {
  display: none;
}
/* !!!! NEW CSS GRID EDITION !!!! */
@supports (display: grid) {
  .sb-calendar-day-names-row {
    display: grid;
    grid-template-rows: auto;
  }
  .sb-calendar-day-names-row.seven-day {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }
  .sb-calendar-day-names-row.five-day {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
  .sb-calendar-day-names-row.four-day {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .sb-calendar-day-names-row .sb-calendar-day {
    grid-row: 1;
    padding: 10px;
    border: 1px solid white;
  }
  .sb-calendar-week-row {
    display: grid;
    /* Excessive? Maybe, but this way we can have 100 events on the same date without the layout breaking */
    grid-template-rows: repeat(100, auto);
    grid-auto-flow: column;
    margin-bottom: 20px;
  }
  .sb-calendar-week-row.seven-day {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }
  .sb-calendar-week-row.five-day {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
  .sb-calendar-week-row.four-day {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .sb-calendar-week-row .sb-calendar-day {
    grid-row: 1;
    padding: 10px;
    border: 1px solid white;
  }
  .sb-calendar-week-row .sb-calendar-date {
    grid-row: 1;
    padding: 10px;
    background-color: #eeeeee;
    border: 1px solid white;
    margin-top: 0;
  }
  .sb-calendar-week-row .sb-calendar-date.today {
    background-color: #f5cf77;
  }
  .sb-calendar-week-row .sb-calendar-date.notThisMonth {
    background-color: #dddddd;
  }
  .sb-calendar-week-row .sb-calendar-date .createNewItem {
    float: right;
    display: inline;
    visibility: hidden;
    margin-right: 2px;
  }
  .sb-calendar-week-row .sb-calendar-date .createNewItemHover {
    visibility: visible;
  }
  .sb-calendar-week-row .sb-calendar-date:hover .createNewItem {
    visibility: visible;
  }
  .sb-calendar-week-row .sb-calendar-date a {
    color: #58595B;
    text-decoration: none;
  }
  .sb-calendar-week-row .sb-calendar-date a:hover {
    text-decoration: underline;
  }
  .sb-calendar-week-row a.sb-calendar-event {
    border: 1px solid white;
    padding: 10px;
  }
  .sb-calendar-week-row a.sb-calendar-event.not-first-day {
    display: block;
  }
  .sb-calendar-week-row a.sb-calendar-event.span-1 {
    grid-column-end: span 1;
  }
  .sb-calendar-week-row a.sb-calendar-event.span-2 {
    grid-column-end: span 2;
  }
  .sb-calendar-week-row a.sb-calendar-event.span-3 {
    grid-column-end: span 3;
  }
  .sb-calendar-week-row a.sb-calendar-event.span-4 {
    grid-column-end: span 4;
  }
  .sb-calendar-week-row a.sb-calendar-event.span-5 {
    grid-column-end: span 5;
  }
  .sb-calendar-week-row a.sb-calendar-event.span-6 {
    grid-column-end: span 6;
  }
  .sb-calendar-week-row a.sb-calendar-event.span-7 {
    grid-column-end: span 7;
  }
  .sb-calendar-week-row a.sb-calendar-event .time {
    display: block;
  }
  .sb-calendar-week-row a.sb-calendar-event .title {
    display: block;
  }
  .sb-calendar-week-row a.sb-calendar-event .location {
    display: block;
  }
  .sb-calendar-week-row a.sb-calendar-event .abstract {
    display: block;
  }
  .sb-calendar-week-row a.sb-calendar-event {
    text-decoration: none;
  }
}
.shareButtons {
  margin-bottom: 10px;
}
.shareButtons .dropdown-menu {
  min-width: auto;
  font-size: 1.6rem;
}

/*# sourceMappingURL=calendars.css.map */
