/* iOS ONLY */
@supports (-webkit-overflow-scrolling: touch) {

  * {
    -webkit-appearance: none;
  }

  body {
    -webkit-overflow-scrolling: touch;
  }

  main a:hover {
    color: inherit;
  }

  input {
    border-radius: 0;
    -webkit-transform: translateZ(0px)
  }

  input[type=checkbox]:checked,
  input[type=radio]:checked,
    input[type=radio]:focus,
        input[type=radio]:hover {
    background-color: #000;
  }

  input[type="radio"] {
      -webkit-appearance: checkbox;
      -moz-appearance: checkbox;
      -ms-appearance: checkbox;     /* not currently supported */
      -o-appearance: checkbox;      /* not currently supported */
  }

  #cart #agileContainer,
  #searchResults {
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
  }

  body.cartVisible,
  body.cartVisible main,
  body.overlayVisible,
  body.overlayVisible main,
  body.sidebarVisible,
  body.sidebarVisible main {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100); /* Fix iOS VH Issues */
    overflow: hidden;
  }

  body.cartVisible #cart {
    position: absolute; /* Fixes Lower Layer Scroll on iframe inputs */

  }

  #cart a:after {
    content: ' 10';
    opacity: .1
  }

  .screening .ticketLink,
  .ticketBurst {
    opacity: .8;
  }


}

/* --- SHORT WINDOWS --- */

@media screen and (max-height: 700px) {

#nav li:first-child {
  margin-bottom: 2em;
}

#nav .address {
  display: none;
}

#nav div {
  height: calc(100% - 50px);
  overflow: scroll;
}

}



/* --- MEDIUM WINDOW WIDTHS --- */

@media screen and (max-width: 900px) {

.big,
h2,
#featured {
  font-size: 70px;
  line-height: .958em;
}

#breadcrumbs {
  height: auto;
}

#breadcrumbs li {
  display: block;
}


/* Calendar */

.calendar header {
  position: fixed;
  width: 100%;
}

#breadcrumbs li:before {
  xcontent: none;
}

#eventCalendar {
  margin-top: 13em;
  grid-template-columns: 100%;
}

#calendarHeader {
  position: fixed;
  width: 100%;
  position: fixed;
  width: 100%;
  z-index: 5;
  padding-top: 4.25em;
  background: #FFF;
  top: 0;
}

#eventCalendar ol,
#eventCalendar ol.blank::before {
  font-size: 18px;
  line-height: 24px;
  min-height: auto;
  padding: 15px 15px;
}

#eventCalendar .past {
  display: none;
}

#eventCalendar li[data-dom='1'] span.dow {
  display: block;
}

#eventCalendar #visbleMonth {
  display: block;
  position: absolute;
}

#eventCalendar li span.mon {
  display: none !important;
}



/* --- SMALL WINDOW WIDTHS --- */


@media screen and (max-width: 600px) {


/* Type */

.jumbo,
h2,
#featured,
.big,
h3,
h4,
nav,
footer .address,
.films #details .©,
.films #details,
.screenings,
dl dt  {
  font-size: 30px;
  line-height: 31px;
}

#eventDates,
.screenings .screeningInfo,
#featured p:before {
  font-size: 18px;
  line-height: 24px;
}

table {
  font-size: 16px;
  line-height: 20px;
}

#featured {
  font-size: 16vw;
  line-height: .958em;
}



/* Navigation, Sidebars, Overlays, Cart */

.sidebar {
  width: 100vw;
  right: -100vw;
}

#navIcons {
  position: fixed;
}

body.cartVisible {
  overflow: hidden;
}

#agileContainer {
  width: 100vw;
  padding-top: 0px;
  margin-top: 50px;
  height: calc(100vh - 70px);
  height: calc(var(--vh, 1vh) * 100 - 70px); /* Fix iOS VH Issues */
}

.overlayVisible .sidebar.active {
  right: -100vw;
}

#breadcrumbs li:nth-child(n+2) {
  display: none;
}


/* Header */

#navIcons a,
.sidebar a.controlSidebar {
  margin-left: 7px;
}

#navIcons a#showCart {
  margin-right: 0px;
}

/* Top Area */

#top > img {
  width: 100%;
  float: none;
}

#top > img + img {
  display: none;
}

/* Footer */

footer {
  padding-top: 25px;
}

footer nav,
#footerSupport {
  display: none;
}

footer div {
  float: none;
  width: 100%;
  padding-right: 0;
}

#footerSocial {
  position: relative;
  top: auto;
}

#footerSocial li {
  margin-right: calc((100vw - 220px) / 4);
}

#footerSocial li:last-child {
  margin-right: 0;
}

#footerSocial li,
#footerSocial li a {
  display: inline-block;
}

#footerSocial li a {
  width: 30px;
  height: 30px;
}

#footerSocial a {
    margin-bottom: 50px;
}

/* Content Area */

.rows.two .cell,
.rows.three .cell {
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.rows.three .cell:first-child {
  margin-top: 0;
}

.rows.three .cell {
  margin-top: 2em;
}

main dl dt {
  width: 100%;
  margin-bottom: 1em;
}

main dl dt .base {
  margin-bottom: 0;
}

/* Screenings */

.rows.two .screening:after {
  content: '';
  border-top: 1px solid;
  width: 400%;
  clear: both;
  display: block;
  margin-top: 1em;
  float: left;
  margin-left: -200%;
}

/* Tables */

#tableFilms tr th:nth-child(n+3),
#tableFilms tr td:nth-child(n+3) {
  display: none;
}

/* Home */

#featured p:before {
  margin-bottom: 10vh;
}


/* Films */

.films .filmTitle {
  padding-right: 0;
}

#eventCalendar {
  margin-top: 10em;
}

.calendar header {
  height: 10em;
}


#eventCalendar .cartLink {
  display: none;
}




}
