@import url("../fonts/stylesheet.css");
/*
  alt/events.scss
  =========

  Styling for events.

*/
h2 {
  margin: 0 0 0.25em 0;
  font: 2.5em/1.5 SMDINBold, Arial, Helvetica, sans-serif; }

a {
  color: #000; }

a:hover {
  color: #000;
  text-decoration: none; }

.right {
  float: right; }

.left {
  float: left; }

.clear {
  clear: both; }

.hide {
  display: none; }

/**************************************************************************************************
*	Header
**************************************************************************************************/
header .topmenu {
  margin: 13px auto 17px;
  max-width: 940px;
  text-align: right; }

header .topmenu p.links {
  display: inline-block;
  margin: 0 30px 10px 0;
  font-size: 1.4em; }

.lt-ie8 header .topmenu p.links {
  display: inline;
  margin-bottom: 0; }

header .topmenu p img {
  border: 1px solid #dfdfdf; }

@media only screen and (max-width: 720px) {
  header .topmenu div.hide {
    display: block; } }

header .topmenu div {
  display: inline-block; }

.lt-ie8 header .topmenu div {
  display: inline; }

@media only screen and (max-width: 980px) {
  header .topmenu .search {
    margin: 0 10px 0 0; } }

header .topmenu .search input[type=text] {
  border: 1px solid #000;
  padding: 2px 4px;
  font-size: 1.4em; }

@media only screen and (max-width: 640px) {
  header .topmenu .search input[type=text] {
    width: 120px; } }

header .topmenu .search input[type=submit] {
  background: transparent url("/img/SCiM/search_icon.gif") no-repeat left top;
  border: 0;
  margin: 0 0 0 5px;
  height: 19px;
  width: 19px;
  text-indent: -9999px;
  text-transform: capitalize; }

/**************************************************************************************************
*	Footer
**************************************************************************************************/
footer {
  background: #1f4191;
  margin: 40px auto 0 auto;
  max-width: 960px; }

footer div {
  margin: 20px 2.0833333333% 0 2.0833333333%;
  /* 20px / 960px - 20px / 960px */
  width: 44.7916666667%;
  /* 430px / 960px */ }

footer div.left {
  margin-right: 4.1666666667%;
  /* 40px / 960px */ }

footer div h2 {
  color: #fff;
  font: 2em/1.5 SMDINMedium, Arial, Helvetica, sans-serif; }

footer div p {
  margin: 0 0 1em 0;
  color: #fff;
  font: 1.6em/1.4 SMDINRegular, Arial, Helvetica, sans-serif; }

footer div p a,
footer div p a:visited {
  color: #fff;
  text-decoration: underline; }

footer div p a:hover {
  text-decoration: none;
  color: #fff;
  cursor: pointer; }

footer p#social img {
  margin: 0 5px 0 0; }

footer p.clear {
  background: #fff;
  padding: 15px 20px;
  font-size: 1.4em; }

footer p.clear a {
  text-decoration: none; }

footer p.clear a:hover {
  color: #000;
  text-decoration: underline; }

/**************************************************************************************************
*	Content
**************************************************************************************************/
#content {
  border-top: 10px solid #f2f2e9;
  position: relative;
  margin: 30px auto 0 auto;
  padding: 10px 0 0 0;
  max-width: 940px; }

#content > div {
  width: 48.9361702128%;
  /* 460px / 940px */ }

#content div.left {
  margin: 0 2.1276595745% 0 0;
  /* 20px / 940px */ }

#content p {
  margin: 0 0 1em 0;
  font-size: 1.6em;
  line-height: 1.5; }

#content #map {
  margin: 0; }
  #content #map img.right {
    margin: 0 0 10px 10px; }

#content #lineStatus p {
  font-size: 1.5em;
  font-weight: bold;
  clear: both; }

#content #lineStatus #circle,
#content #lineStatus #district {
  margin: 0; }

#content #lineStatus span {
  float: left;
  clear: left;
  display: block;
  margin: 0 10px 2px 0;
  padding: 0 0 0 5px;
  width: 23.9130434783%;
  /* 110px / 460px */
  color: #fff; }

#content #lineStatus #circle span {
  background: #ffcc00; }

#content #lineStatus #district span {
  background: #006633; }

#content #lineStatus #picadilly span {
  background: #000099; }

#content #skipToNews {
  position: absolute;
  bottom: 0;
  left: -9999px;
  font-size: 1.6em; }

#content #skipToNews:focus {
  position: relative;
  left: 0; }

/**************************************************************************************************
*	Events carousel
**************************************************************************************************/
div.loader {
  background: url(/img/SCiM/ajax-loader.gif) center center no-repeat;
  position: absolute;
  z-index: 10000; }

div.loader.events {
  width: 100%;
  height: 330px;
  background-color: white; }

.ie-lt9 #eventCarousel {
  width: 100%; }

#eventsWrapper {
  position: relative;
  margin: 0 auto;
  width: 921px;
  z-index: 2; }
  #eventsWrapper a {
    color: #333;
    text-decoration: none; }

.ie-lt9 #eventsWrapper a {
  background: url(/img/SCiM/shim.png); }

#eventsControls {
  float: left;
  margin: -190px 0 0 0;
  width: 100%;
  outline: none;
  z-index: 1; }
  #eventsControls .buttonContainer {
    margin: 0 auto;
    position: relative;
    max-width: 1200px;
    z-index: 0; }
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    margin: 0 30px;
    height: 78px;
    width: 78px;
    text-indent: -9999px;
    outline: none; }
  #eventsControls #prevDay {
    background: transparent url("/img/SCiM/events/left_arrow.gif") no-repeat left top;
    float: left; }
  #eventsControls #nextDay {
    background: transparent url("/img/SCiM/events/right_arrow.gif") no-repeat left top;
    float: right; }

#eventsWrapper ul.summary {
  background: #f2f2e9;
  margin: 10px 0 0 0;
  list-style-type: none; }

#eventsWrapper #prevDays {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  float: left;
  padding: 10px 0 10px 10px; }

#eventsWrapper #nextDays {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  float: left;
  padding: 10px 10px 10px 0; }

#eventsWrapper ul.summary li {
  background: #fff;
  border-top: 1px solid #b0a6a1;
  border-bottom: 1px solid #b0a6a1;
  border-left: 1px solid #b0a6a1;
  float: left;
  width: 80px; }

#eventsWrapper #prevDays li:first-child {
  border-top-left-radius: 5px; }

#eventsWrapper #prevDays li:first-child,
#eventsWrapper #prevDays li:first-child p {
  border-bottom-left-radius: 5px; }

#eventsWrapper #prevDays .imageContainer,
#eventsWrapper #nextDays .imageContainer,
#eventsWrapper .summary .imageContainer {
  width: 60px;
  height: 93px;
  margin: 8px 10px;
  background-position: top center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  text-indent: -9999px;
  cursor: pointer; }

#eventsWrapper #nextDays li {
  border-right: 1px solid #b0a6a1;
  border-left: 0; }

#eventsWrapper #nextDays li:last-child {
  border-top-right-radius: 5px; }

#eventsWrapper #nextDays li:last-child,
#eventsWrapper #nextDays li:last-child p {
  border-bottom-right-radius: 5px; }

#eventsWrapper ul.summary li h3 {
  font: 2em/1.5 SMDINBold, Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 0;
  border-top: 0; }
  #eventsWrapper ul.summary li h3 span {
    background: #0087b5;
    border-top: 1px solid #b0a6a1;
    border-bottom: 1px solid #b0a6a1;
    display: block;
    color: #fff;
    font-size: 1.25em; }

#eventsWrapper ul.summary li img {
  float: left;
  margin: 8px 10px; }

#eventsWrapper ul.summary li p {
  background: #f3f2f1;
  border-top: 1px solid #b0a6a1;
  font: 1.4em/2 SMDINBold, Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 0; }

#eventsWrapper #currentDays {
  background: #b0a6a1;
  border-radius: 3px;
  float: left;
  margin: 0;
  padding: 5px;
  list-style-type: none; }

#eventsWrapper #currentDays > li {
  background: #fff;
  border-left: 1px solid #b0a6a1;
  float: left;
  height: 266px;
  width: 188px; }

#eventsWrapper #currentDays > li:first-child {
  border: 0; }

#eventsWrapper #currentDays li h3 {
  background: #f2f2e9;
  /*e7e4e3;*/
  border-bottom: 1px solid #b0a6a1;
  border-top: 0;
  padding: 10px;
  margin: 0;
  font: 2em/1 SMDINBold, Arial, Helvetica, sans-serif; }
  #eventsWrapper #currentDays li h3 span {
    display: block;
    font-size: 1.25em; }

#eventsWrapper #currentDays li > p {
  padding: 5px;
  margin: 0;
  font: 1.6em/1.2 SMDINRegular, Arial, Helvetica, sans-serif; }
  #eventsWrapper #currentDays li > p a {
    text-decoration: underline; }

#eventsWrapper div.eventCar {
  position: relative;
  height: 171px;
  width: 188px;
  overflow: hidden; }
  #eventsWrapper div.eventCar ul {
    position: absolute;
    margin: 0;
    padding: 0;
    list-style-type: none; }
    #eventsWrapper div.eventCar ul li {
      float: left;
      clear: both;
      padding: 5px;
      height: 161px;
      width: 178px; }
  #eventsWrapper div.eventCar img {
    border-top: 10px solid #0087b5;
    float: left;
    margin: 0 0 5px 0; }
  #eventsWrapper div.eventCar .imageContainer {
    width: 178px;
    height: 93px;
    float: left;
    margin: 0 0 5px 0;
    background-position: top center;
    background-size: auto 111%;
    background-repeat: no-repeat;
    text-indent: -9999px;
    border-top: 10px solid #0087b5; }
  #eventsWrapper div.eventCar h4 {
    float: left;
    width: 140px;
    font: 1.6em/1.2 SMDINBold, Arial, Helvetica, sans-serif;
    margin: 0; }

#eventsWrapper div.eventCarControls {
  float: right;
  position: relative;
  margin: -81px 5px 0 0;
  width: 36px; }
  #eventsWrapper div.eventCarControls a {
    float: left;
    height: 18px;
    width: 36px;
    text-indent: -9999px;
    outline: none; }
  #eventsWrapper div.eventCarControls a.prevEvent {
    background: transparent url("/img/SCiM/events/up_arrow.png") no-repeat left top; }
  #eventsWrapper div.eventCarControls a.nextEvent {
    background: transparent url("/img/SCiM/events/down_arrow.png") no-repeat left top; }
  #eventsWrapper div.eventCarControls a.prevEvent:hover,
  #eventsWrapper div.eventCarControls a.prevEvent:focus {
    background-position: left bottom; }
  #eventsWrapper div.eventCarControls a.nextEvent:hover,
  #eventsWrapper div.eventCarControls a.nextEvent:focus {
    background-position: left bottom; }
  #eventsWrapper div.eventCarControls a.prevEvent.noscroll {
    background: none; }
  #eventsWrapper div.eventCarControls a.nextEvent.noscroll {
    background: none; }
  #eventsWrapper div.eventCarControls p {
    background: #f3f2f1 url("/img/SCiM/events/separator.gif") no-repeat left top;
    float: left;
    position: relative;
    margin: 2px 0;
    height: 36px;
    width: 36px;
    font: 1.4em/1.2 SMDINBold, Arial, Helvetica, sans-serif; }
    #eventsWrapper div.eventCarControls p span {
      float: left;
      width: 16px; }
    #eventsWrapper div.eventCarControls p span.currentEvent {
      position: absolute;
      top: 3px;
      left: 1px;
      text-align: right; }
    #eventsWrapper div.eventCarControls p span.totalEvents {
      position: absolute;
      top: 18px;
      left: 20px; }

#dateSelection {
  background: #f2f2e9;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  clear: both;
  margin: 0 auto 20px auto;
  padding: 10px 20px;
  height: 30px;
  width: 500px; }
  #dateSelection p {
    margin: 0; }

.no-js #dateSelection {
  display: none; }

#dateSelection p a {
  background: #000;
  float: left;
  margin: 0 1px 0 0;
  padding: 6px 10px;
  color: #fff;
  font: 1.8em/1 SMDINBold, Arial, Helvetica, sans-serif;
  text-decoration: none; }

#dateSelection p a.active,
#dateSelection p a:hover,
#dateSelection p a:focus {
  background: #a0a0a0; }

#dateSelection p a:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px; }

#dateSelection p a:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px; }

#dateSelection input {
  border: 1px solid #000;
  margin: 0 8px 0 0;
  height: 22px;
  width: 75px;
  font-size: 1.2em; }

/**************************************************************************************************
*	Datepicker
**************************************************************************************************/
.ui-datepicker {
  display: none;
  background: #b0a6a1;
  padding: 5px;
  width: 200px;
  border-radius: 3px;
  z-index: 10 !important; }

.ui-datepicker-header {
  background: #f2f2e9;
  position: relative;
  padding: 5px 0;
  color: #333;
  font: 1.8em/1 SMDINBold, Arial, Helvetica, sans-serif;
  text-align: center; }

.ui-datepicker-header a {
  position: absolute;
  top: 5px;
  width: 18px;
  height: 18px;
  background: 0;
  display: block;
  text-indent: -9999px;
  cursor: pointer; }

a.ui-datepicker-prev {
  background-image: url("/img/SCiM/events/prev_month.gif");
  left: 5px; }

a.ui-datepicker-next {
  background-image: url("/img/SCiM/events/next_month.gif");
  right: 5px; }

.ui-datepicker table {
  background: #f2f2e9;
  border: 5px solid #f2f2e9;
  width: 100%; }

.ui-datepicker th,
.ui-datepicker td {
  text-align: center;
  padding: 4px;
  width: 30px; }
  .ui-datepicker th a,
  .ui-datepicker td a {
    display: block;
    text-decoration: none; }

.ui-datepicker td:hover {
  background: #b0a6a1; }

.ui-datepicker td.ui-datepicker-unselectable {
  color: #959595; }

.ui-datepicker td.ui-datepicker-unselectable:hover {
  background: 0;
  color: #959595; }

.ui-datepicker-trigger {
  cursor: pointer; }

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px; }

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%; }

.hidden {
  display: none !important;
  visibility: hidden; }

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

.invisible {
  visibility: hidden; }

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table; }

.clearfix:after {
  clear: both; }

.clearfix {
  *zoom: 1; }

.clear {
  clear: both; }

.right {
  float: right; }

.left {
  float: left; }

.hide {
  display: none; }

/**************************************************************************************************
*	Media queries for events carousel
**************************************************************************************************/
@media only screen and (min-width: 1024px) and (max-width: 1152px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    background-position: left bottom; } }

@media only screen and (min-width: 1024px) and (max-width: 1100px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    margin: 0 3px; } }

@media only screen and (min-width: 866px) and (max-width: 992px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    background-position: left bottom; } }

@media only screen and (min-width: 866px) and (max-width: 940px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    margin: 0 3px; } }

@media only screen and (min-width: 681px) and (max-width: 810px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    background-position: left bottom; } }

@media only screen and (min-width: 681px) and (max-width: 740px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    margin: 0 3px; } }

@media only screen and (min-width: 490px) and (max-width: 621px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    background-position: left bottom; } }

@media only screen and (min-width: 490px) and (max-width: 550px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    margin: 0 3px; } }

@media only screen and (max-width: 432px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    background-position: left bottom; } }

@media only screen and (max-width: 358px) {
  #eventsControls #prevDay,
  #eventsControls #nextDay {
    margin: 0 3px; } }

@media only screen and (min-width: 866px) and (max-width: 1023px) {
  #eventsWrapper {
    width: 758px; } }

@media only screen and (min-width: 681px) and (max-width: 865px) {
  #eventsWrapper {
    width: 576px; } }

@media only screen and (min-width: 490px) and (max-width: 680px) {
  #eventsWrapper {
    width: 387px; }
  #dateSelection {
    height: 70px;
    width: 295px; }
  #dateSelection p {
    float: none;
    margin: 0 auto;
    width: 100%; }
  #dateSelection div.right {
    clear: both;
    margin: 10px 0 0 0;
    width: 100%;
    text-align: center; } }

@media only screen and (max-width: 489px) {
  #eventsWrapper {
    width: 198px; }
  #dateSelection {
    height: 125px;
    width: 120px; }
  #dateSelection p {
    float: none;
    margin: 0 auto;
    width: 100%; }
  #dateSelection p a {
    clear: both;
    width: 100px;
    text-align: center; }
  #dateSelection p a:first-child {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 0; }
  #dateSelection p a:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px; }
  #dateSelection div.right {
    margin: 10px 5px 0 0; }
  #dateSelection input {
    width: 75px; } }

/**************************************************************************************************
*	Content
**************************************************************************************************/
@media only screen and (min-width: 701px) and (max-width: 980px) {
  #content div.left {
    margin: 0 2.1276595745% 0 1.0638297872%;
    /* 20px / 940px - 10px / 940px */
    width: 47.8723404255%;
    /* 450px / 940px */ }
  #content div.right {
    margin: 0 1.0638297872% 0 0;
    /* 10px / 940px */
    width: 47.8723404255%;
    /* 450px / 940px */ } }

@media only screen and (max-width: 700px) {
  #content div.left {
    margin: 0 1.4285714286% 0 1.4285714286%;
    /* 10px / 700px - 10px / 700px */
    width: 97.1428571429%;
    /* 680px / 700px */ }
  #content div.right {
    clear: both;
    margin: 0 1.4285714286% 0 1.4285714286%;
    /* 10px / 700px - 10px / 700px */
    width: 97.1428571429%;
    /* 680px / 700px */ } }

@media only screen and (min-width: 701px) and (max-width: 925px) {
  #content #lineStatus {
    clear: both; }
  #content #lineStatus span {
    width: 32.6086956522%;
    /* 150px / 460px */ } }

@media only screen and (max-width: 980px) {
  #content h2.clear {
    margin: 0 0 0 1.0638297872%;
    /* 10px / 940px */ } }

@media only screen and (max-width: 500px) {
  footer div {
    clear: both;
    margin: 20px 4% 0 4%;
    /* 20px / 500px - 20px / 500px */
    width: 92%;
    /* 460px / 500px */ } }
