/******* Global *******/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}article,aside,dialog,figure,footer,header,hgroup,menu,nav,section{display:block;}

html, body {
  margin: 0;
  padding: 0;
}

html {
  background: #D9DFE4 url(/National_Library/20161017023209oe_/https://status.stripe.com/images/background.png);
}

body {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.5)), to(rgba(255, 255, 255, 0.0)));
  background-image: -moz-linear-gradient(0% 50% 90deg, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.5));
);
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-weight: 200;
}

.inner {
  width: 614px;
  margin: auto;
  margin-bottom: 2em;
}

.box {
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;

  box-shadow: 0px 1px 4px rgba(0,0,0,0.29);
  -webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.29);
  -moz-box-shadow: 0px 1px 4px rgba(0,0,0,0.29);
}

.box-inner {
  padding: 35px;
}

.white {
  background: #fff;
}

h2 {
  font-size: 1.5em;
  font-weight: 200;
  font-style: normal;
  color: #444;
  margin: 0 0 0.8em 0;
  padding-bottom: 0.2em;
  border-bottom: 1px solid #eee;
}

ul.plain {
  list-style: none;
  -webkit-padding-start: 0;
  padding-left: 0;
}

a { color: #0068de; text-decoration: none; }
a:hover { color: #333; text-decoration: underline; }


/******* Simple Bar Chart *******/
div.block-chart {
  height: 28px;
  padding: 9px 0 4px;
  overflow: hidden;
  width: 101%; /* IE overflow fix */
}

  div.block-chart div.bar {
    float: left;
    position: relative;
    height: 100%;
    width: 4px;

    cursor: pointer;

    /* Border instead of margin so we get the hover behavior we want */
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;

    opacity: 0.6;

    /* DEFAULT IS GREEN */
    background: #6CDB56;
  }

    div.block-chart div.bar:hover {
      opacity: 1.0;
    }

    div.block-chart div.bar.mid {
      background: #FFDE24;
    }

    div.block-chart div.bar.down {
      background: #FA6D46;
    }

    div.block-chart div.bar:first-child {
      border-left: 0;
    }
    div.block-chart div.bar:last-child {
      border-right: 0;
    }


/******* Status/Graph Colors *******/

.status-up .status-time {
  color: #B0E39F;
}

.status-up {
  background-image: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/status_lights/green.png);
}

.status-paused{
  background: #FFD452;
}

.status-down .status-time {
  color: #FFCEC7;
}

.status-down {
  background-image: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/status_lights/red.png);
}

.status-loading {
  background: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/status_lights/loading.gif) center no-repeat;
}

.graph-up {
  fill: #6CDB56;
  background: #6CDB56;
}

.graph-mid {
  fill: #FFDE24;
  background: #FFDE24;
}

.graph-down {
  fill: #FA6D46;
  background: #FA6D46;
}


/******* Clearfix *******/

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/******* Header *******/

.header {
  padding: 20px 0;
  height: 31px;
  position: relative;
}

.header span {
  color: #888;
  font-size: 19px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  line-height: 31px;
  position: absolute;
  left: 82px;
  top: 20px;
}

.heading {
  float: left;
}

.statuses {
  float: left;
}

.logo {
  display: inline-block;
  position: relative;
  background: url("/National_Library/20161017023209oe_/https://status.stripe.com/images/logo.png") no-repeat;
  width: 72px;
  height: 31px;
  cursor: pointer;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo {
    background: url("/National_Library/20161017023209oe_/https://status.stripe.com/images/logo@2x.png") no-repeat;
    background-size: 100% 100%;
  }
}

.logo:hover {
  opacity: 0.7;
}

/******* Content *******/
.content {
}

.largestatus {
  border: 0;
  position: relative;
  z-index: 10;

  padding: 0 36px;
  padding-left: 84px;

  border-top-left-radius: 4px;
  border-top-right-radius: 4px;

  border-bottom: 1px solid #a9c4e2;

  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#edf6ff));
  background-image: -moz-linear-gradient(0% 50% -90deg, #fff, #edf6ff);

  box-shadow: 0 1px 2px rgba(0,0,0,0.12);

  text-shadow: 0 1px 0 #fff;
}
  .largestatus div.bezel,
  .largestatus div.bezel div {
    position: absolute;
  }

    .largestatus div.bezel {
      width: 20px;
      height: 346px;
    }

    /* Gradients */
    .largestatus div.bezel.left {
      left: 0;
      background-image: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.6)), to(rgba(255,255,255,0.0)));
      background-image: -moz-linear-gradient(0% 50% 0deg, rgba(255,255,255,0.6), rgba(255,255,255,0.0));
      -webkit-border-top-left-radius: 4px;
      -moz-border-radius-topleft: 4px;
    }

    .largestatus div.bezel.right {
      right: 0;
      background-image: -webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.0)), to(rgba(255,255,255,0.6)));
      background-image: -moz-linear-gradient(0% 50% 0deg, rgba(255,255,255,0.0), rgba(255,255,255,0.6));
      -webkit-border-top-right-radius: 4px;
      -moz-border-radius-topright: 4px;
    }

    /* Screws */
    .largestatus div.bezel.left::before,
    .largestatus div.bezel.right::before,
    .largestatus div.bezel.left::after,
    .largestatus div.bezel.right::after {
      content: "";
      position: absolute;
      top: 6px;
      left: 6px;
      width: 7px;
      height: 8px;
      background: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/screw.png);
    }

      /* Bottom */
      .largestatus div.bezel.left::after,
      .largestatus div.bezel.right::after {
        top: 132px;
      }

.largestatus .title {
  display: block;
  padding-top: 46px;

  font-size: 29px;
  font-weight: bold;
  color: #313131;
}

.largestatus .status-time {
  display: block;
  font-size: 14px;
  color: #999;
  padding-bottom: 46px;
}

.twitter-feed {
  margin-top: 1em;
}

.feed {
  height: 100%;
}


/******* Statuses *******/

.statuses {
  font-size: 0.7em;
}

.status-bubble {
  width: 40px;
  height: 41px;
  position: absolute;
  left: 27px;
  top: 52px;
}

.title-wrapper {
  display: inline-block;
  color: #333;
}

.status-time {
  color: #999;
}

/******* Statistics *******/

.statistics {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  position: relative;
  min-height: 200px;
}

  .statistics div.inner-gradient {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;

    background-image: -webkit-gradient(linear, left top, left bottom, from(#f8fbff), to(#fff));
    background-image: -moz-linear-gradient(0% 50% -90deg, #f8fbff, #fff);
  }

.statistics .title {
  font-size: 1.4em;
}

.uptime-graphs {
  position: relative;
  z-index: 10;
}

.uptime-graph-section {
  margin-bottom: 1.7em;
}

.uptime-graph-header {
  background: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/line.png) 0 50% repeat-x;
}

  .uptime-graph-header span {
    background: #fff;
  }

    .uptime-graph-section:first-child .uptime-graph-header span {
      background: #f9fcff;
    }

    .uptime-graph-section:nth-child(2) .uptime-graph-header span {
      background: #fdfeff;
    }

    .uptime-graph-section.warning em.warning {
      display: inline-block;
      width: 14px;
      height: 12px;
      position: relative;
      top: 1px;
      margin-left: 3px;
      background: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/warning_triangle.png);
    }

.uptime-graph-section:last-child {
  margin-bottom: 0;
}

.uptime-stat-name {
  font-weight: bold;
  color: #333;
  font-size: 13px;
  padding-right: 10px;
}

.percentage {
  font-size: 13px;
  color: #999;
  float: right;
  padding-left: 10px;
}

.percentage em {
}

.uptime-legend {
  border-top: 1px solid #dee8f4;
  background: #fcfdfe;

  padding-top: 20px;
  padding-bottom: 20px;

  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.legend-item {
  display: block;
  float: left;
  position: relative;
  padding-left: 15px;
}

.legend-color {
  display: block;
  width: 9px;
  height: 9px;
  opacity: 0.6;

  position: absolute;
  left: 0;
  top: 2px;

  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -o-border-radius: 2px;
}

.legend-color:hover {
  opacity: 1;
}

.legend-item label {
  display: block;
  font-size: 11px;
  color: #999;
  margin-right: 20px;
}

.chart {
  margin-top: 0.5em;
}

.chart rect{
  stroke: #fff;
  stroke-width: 2px;
  opacity: 0.6;
  cursor: pointer;
}

.chart rect:hover {
  opacity: 1;
}


/******* Twitter Feed *******/
.twitter-feed {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f2f8ff));
  background-image: -moz-linear-gradient(0% 50% -90deg, #fff, #f2f8ff);
  font-weight: normal;
}


div.feed-header {
  background: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/line.png) 0 50% repeat-x;
  margin-bottom: 20px;
}

  .feed-title {
    color: #333;
    font-size: 13px;
    font-weight: bold;
    background: #fff;
    padding-right: 10px;
  }

  .feed-icon {
    display: block;
    position: relative;
    top: 3px;
    float: right;
    width: 27px;
    height: 11px;
    background: #fff url(/National_Library/20161017023209oe_/https://status.stripe.com/images/twitter/bird.png) 100% 0 no-repeat;
  }

ul.feed-contents {
}
  .feed-item {
    position: relative;
    min-height: 40px;
    margin-bottom: 20px;
  }
    .feed-item:last-child {
      margin-bottom: 0;
    }


    .feed-item img {
      position: absolute;
    }

    .feed-item span.time {
      display: block;
      margin-left: 40px;
      padding-top: 5px;
      text-align: left;
      font-size: 10px;
      color: #bbb;
    }

    .feed-item div.message {
      background: #ddeafe;
      border: 1px solid #9ab4dc;

      -webkit-border-radius: 6px;
      -moz-border-radius: 6px;

      box-shadow: 0 1px 3px rgba(0,0,0,0.15);

      margin-left: 40px;
      position: relative;
      top: -1px;

      display: inline-block;
    }

       /* Swoop */
      .feed-item div.message::before {
        content: " ";
        position: absolute;
        width: 12px;
        height: 10px;
        left: -11px;
        top: 9px;
        background: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/twitter/swoop.png);
      }


      .feed-item div.message div.text {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border: 1px solid rgba(255,255,255,0.65);

        padding: 5px 10px;

        font-size: 12px;
        text-shadow: 0 1px 0 #fff;
      }

      .feed-item div.message div.text::before,
      .feed-item div.message div.text::after {
        content: " ";
        position: absolute;
        left: 0;
        height: 10px;
        width: 100%;
      }

        .feed-item div.message div.text::before {
          top: 0;
          background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.65)), to(rgba(255,255,255,0.0)));
          background-image: -moz-linear-gradient(0% 50% -90deg, rgba(255,255,255,0.65), rgba(255,255,255,0.0));

          -webkit-border-top-left-radius: 5px;
          -webkit-border-top-right-radius: 5px;
          -moz-border-radius-topleft: 5px;
          -moz-border-radius-topright: 5px;
        }

        .feed-item div.message div.text::after {
          bottom: 0;
          background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.0)), to(rgba(255,255,255,0.65)));
          background-image: -moz-linear-gradient(0% 50% -90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.65));

          -webkit-border-bottom-left-radius: 5px;
          -webkit-border-bottom-right-radius: 5px;
          -moz-border-radius-bottomleft: 5px;
          -moz-border-radius-bottomright: 5px;
        }

div.twitter-link {
  border-top: 1px solid #d6e4f4;
  background: #f1f7fe;

  padding: 20px 36px;

  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;

  font-size: 12px;

  color: #555;
}

div.empty {
}

  div.empty h3 {
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #555;
    background: url(/National_Library/20161017023209oe_/https://status.stripe.com/images/twitter/big_bird.png) 50% 0 no-repeat;
    margin-top: 20px;
    padding-top: 75px;
    margin-bottom: 5px;
  }

  div.empty p {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-bottom: 30px;
  }

/* Footer */
div#footer { /*background: rgba(0,0,0,0.05);*/ margin: 0 0 0; padding: 20px 0 60px; position: relative;
             font-size: 11px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }

    div#footer ul { padding-left: 10px; }
        div#footer li { display: inline; padding-right: 15px; }
            div#footer a { color: #777; text-decoration: none; backgrouznd: #fff; }
            div#footer a:hover { text-decoration: underline; color: #333; }

            div#footer li.last { border: 0; }

    div#footer p { color: #777; position: absolute; right: 10px; top: 20px; backgrouznd: #fff; }

/******* Tipsy Tooltips ******/

.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; }
  .tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; }

/* Rounded corners */
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }

/* Uncomment for shadow */
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/

.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }

/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #000; }
.tipsy-arrow-s { border-top-color: #000; }
.tipsy-arrow-e { border-left-color: #000; }
.tipsy-arrow-w { border-right-color: #000; }

.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none;  border-left-color: transparent; border-right-color: transparent;}
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }

/* Reachability */
#results ul {
  font-size: 14px;
  margin-bottom: 20px;
}

#results li {
  padding-bottom: 10px;
}

#results li:first-child .uptime-graph-header span,
#results li:nth-child(2) .uptime-graph-header span ,
#results li:nth-child(3) .uptime-graph-header span {
  background: #f9fcff;
}

.success {
  color: #0acf00;
}

.failure {
  color: #fd0006;
}

#results p {
  font-size: 13px;
  margin-bottom: 10px;
  color: #555;
}

#results textarea {
  color: #555;
  font-size: 13px;
  width: 100%;
  border: 1px solid #ccc;
  padding: 5px 8px;
  background: #fafafa;
  line-height: 1.4;
  outline: none;

  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}
