/* $Id$ */

#content .view-activities-group-selectors .views-field-name {
  border-right: 1px dotted lightgray;
  float: left;
  margin: 2px 8px 2px 0;
  padding-right: 8px;
}

#content .view-activities-group-selectors .views-row-last .views-field-name {
  border-right:none;
}

a.incubator-ical-icon {
  padding:9px 19px;
  border-width:1px;
  border-style:solid;
  border-radius: 8px;
  margin: 9px 0;
  display:inline-block;
  font-size:90%;
}
a.incubator-ical-icon img {
  vetical-align:top;
}

.node-full .field-name-field-event-info .field-item {font-weight:bold;}

.fc-event {font-size: 80%;}
.fc-event-inner {max-height: 3.2em; line-height: 1.1em;}

@media (max-width:600px) {
  .fullcalendar table.fc-header {
    position: relative;
  }
  .fullcalendar table.fc-header .fc-header-center {
    display:block;
    margin-bottom: 40px;
  }
  .fullcalendar table.fc-header .fc-header-left,
  .fullcalendar table.fc-header .fc-header-right {
    width: 50%;
    display: block;
    position: absolute;
    left: 0;
    top: 40px;
  }
  .fullcalendar table.fc-header .fc-header-right {
    left: auto;
    right: 0;
  }
  .fullcalendar .fc-event-inner {max-height: 1.1em;}
}

@media (min-width:768px) {
  .view-header .view-incubator-regular-events, 
  .view-header .view-incubator-events,
  .view-incubator-events.view-display-id-upcoming .view-incubator-regular-events,
  .view-incubator-events.view-display-id-upcoming>.view-content {
    float: left;
    box-sizing: border-box;
    width: 50%;
    padding: 0 1.25em;
  }
}

.view-incubator-regular-events .views-field-rendered-entity,
.view-incubator-events .views-field-rendered-entity {
  background-color: rgba(0,0,0,0.2);
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  padding: 0;
  table-layout: fixed;
}
.view-incubator-regular-events .views-field-rendered-entity.show-event,
.view-incubator-events .views-field-rendered-entity.show-event {
  display:table;
}

.view-incubator-regular-events .views-field-rendered-entity>span.field-content,
.view-incubator-events .views-field-rendered-entity>span.field-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.view-incubator-regular-events .views-field-rendered-entity .node,
.view-incubator-events .views-field-rendered-entity .node {
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  display: inline-block;
  max-width: 70%;
  max-height: 440px;
  text-align: left;
  width: 600px;
  overflow: auto;
  background: white;
  box-sizing: border-box;
  padding: 2em;
}
@media only screen
and (max-height : 460px) {
  .view-incubator-regular-events .views-field-rendered-entity .node,
  .view-incubator-events .views-field-rendered-entity .node {
    max-height: 280px;
  }
}
@media only screen
and (max-height : 320px) {
  .view-incubator-regular-events .views-field-rendered-entity .node,
  .view-incubator-events .views-field-rendered-entity .node {
    max-height: 200px;
  }
}

/* Styles for buttons on event list and calendar pages */
.view-incubator-events { position:relative; }
.incubator-events-closebox,
.incubator-event-list-link,
.incubator-calendar-link {
  height: 48px;
  width: 48px;
  overflow: hidden;
  display: block;
  text-indent: -999px;
  background: transparent url(incubator-events.png) no-repeat;
  position: absolute;
  top: -48px;
  right: 0;
}
.incubator-events-closebox {
  display: inline-block;
  margin-top:-20px;
  margin-left:-30px;
  top:auto;
  right:auto;
}
.incubator-event-list-link { background-position: -48px 0; }
.incubator-calendar-link { background-position: -96px 0; }


/* Clearfix hack for views with split headers */
.view-local-recent-stories>.view-content,
.view-taxonomy-term>.view-content {
  clear:both;
  margin-top: 1.8em;
}
