/**
 * Index Styles
 * Created on 2014.12.12
 * Creator: map
 */

.left {
  float:left;
}

.right {
  float:right;
}

.clear {
  clear:both;
}

.underline {
  text-decoration:underline !important;
}

.nobordertop {
  border-top:0 !important;
}

main ul {
  margin:0;
  padding-left:15px;
}
    main ul li {
      margin:5px 0;
    }

main div.cover_image {
  width:100%;
  border-top: 2px solid #7B1544;
  border-bottom: 2px solid #7B1544;
  margin-bottom:10px;
  background-size: cover;
}

div.rectangle-arrow {
  height:48px;
  overflow:hidden;
  margin-top:15px;
}
  div.rectangle-arrow p {
    color:#fff !important;
    background-color:#4E8ABE;
    padding:15px;
    margin:0 !important;
    display:table;
    font-weight:bold;
    float:left;
  }
  div.rectangle-arrow .arrow {
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 35px solid #4E8ABE;
    float:left;
  }

div .image_overlay h1 {
  font-size:30px;
  margin:0;
  font-weight:normal;
}

div .image_overlay h2 {
  font-size:22px;
  margin:0;
  font-weight:normal;
}

div.commuter_nyc {
  background:url(../images/commuter_nyc.jpg) no-repeat center -120px;
  height:285px;
}

div.webinar {
  background:url(../images/below_webinar.jpg) no-repeat center -145px;
  height:285px;
  background-size:auto;
}

  div.webinar_text article h3 {
    margin-bottom:10px;
  }
  div.webinar_text article p,
  div.webinar_text article ul {
    color:#222;
  }
  div.webinar_text article p {
    margin-top:15px;
    margin-bottom:0;
  }
  div.webinar_text article ul {
    margin-left:10px;
  }

iframe.webinar {
  width:97%;
  height:500px;
}

iframe.nyc_toolkit {
  width:97%;
  height:400px;
}

div.payroll_deductions {
  background:url(../images/payroll_deductions.jpg) no-repeat center -496px;
  height:370px;
}

    div.payroll_deductions div.image_overlay {
      max-width:375px;
    }

div.etractransit_card {
  background:url(../images/etractransit_card.jpg) no-repeat 0 -125px;
  height:430px;
}

    div.etractransit_card div.image_overlay {
      max-width:400px;
      top:10% !important;
    }

        div.etractransit_card div.image_overlay.card_stack {
          background:none;
          border:0;
        }

        div.etractransit_card div.image_overlay.card_stack img {
          width:75%;
        }

div.dont_wait {
  background:url(../images/phone.jpg) no-repeat right -31px;
  height:500px;
  margin-bottom:0 !important;
  border-bottom:0 !important;
}

    div.dont_wait div.image_overlay {
      max-width:350px;
      top:60% !important;
      padding-right:20px;
    }

        div.dont_wait div.image_overlay a.button {
          margin-top:10px;
        }

div.image_overlay {
  background-color: rgba(78, 138, 190, .9); /*#4E8ABE*/
  color:#fff;
  display:inline-block;
  border: 4px solid rgba(255, 255, 255, .6);
  -webkit-background-clip: padding-box; /* for Safari */
  background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
  position:relative;
}

    div.image_overlay.left {
      padding:18px 60px 18px 25px;
      border-top-right-radius:2px;
      border-bottom-right-radius:2px;
      border-left:0;
      top:50%;
    }

    div.image_overlay.right {
      padding:15px 25px 15px 60px;
      border-top-left-radius:2px;
      border-bottom-left-radius:2px;
      border-right:0;
      top:25%;
      float:right;
      text-align:right;
    }

div.articles {
  display:table;
  table-layout: fixed;
  width:100%;
}

    div.articles section {
      display:table-cell;
      padding:5px;
      vertical-align: top;
    }

        div.articles section article {

        }

            div.articles section article img {
              width:100%;
              border:solid 1px #355d80;
            }

              div.articles section article.mobile > * {
                float:left;
              }

              div.articles section article.mobile > img {
                width:30%;
              }

              div.articles section article.mobile img {
                border:0;
              }

              div.articles section article.mobile h3 {
                width:60%;
                vertical-align: top;
                margin:5px 0 0 10px;
              }

              div.articles section article.mobile .icons {
                width:60%;
                margin-top:5px;
              }

              div.articles section article.mobile .icons a {
                margin:5px 0 0 10px;
                display:inline-block;
              }

                div.articles section article.mobile .icons .google_play img {
                  width:130px;
                  height:46px;
                }

                div.articles section article.mobile .icons .app_store img {
                  width:155px;
                  height:46px;
                }

article, iframe.nyc_toolkit, iframe.webinar {
  background-color:#fff;
  border:solid 1px #eee;
  box-shadow: 3px 3px 6px -1px #ddd;
  -webkit-box-shadow: 3px 3px 6px -1px #ddd;
  -moz-box-shadow: 3px 3px 6px -1px #ddd;
  margin: 5px 8px 15px 5px;
}

article {
  color: #355d80;
  padding: 18px 20px;
}

    article.noborder {
      border:0;
      box-shadow:none;
      margin-bottom:5px;
    }

    article h3 {
      margin-top:0;
      font-size:20px;
      color:#7B1544;
    }

.savings_calculator {

}

    .savings_calculator h3 {
      font-size:24px;
    }

    .savings_calculator .mcc {
      width:20%;
      background-color:#fff;
      /*border:1px solid #487cab;*/
      padding:0 5px 5px 5px;
    }

      .savings_calculator .mcc p {
        text-align:center;
        margin: 0 0 5px 0;
      }

      .savings_calculator .mcc img {
        width:100%;
      }

    .savings_calculator .slider_section {
      margin-bottom:25px;
    }

      .savings_calculator .slider_section p {
        margin-top:0;
        margin-bottom:10px;
      }

      .savings_calculator .slider_section .slider_container {
        width:80%;
        display:inline-block;
        vertical-align:middle;
      }

      .savings_calculator .slider_section .slider_value {
        width:18%;
        display:inline-block;
        vertical-align:middle;
        text-align:right;
        font-size:23px;
      }

      .savings_calculator .slider_totals {
        display:table;
        table-layout:fixed;
        width:100%;
      }

        .savings_calculator .slider_totals > div {
          display:table-cell;
          padding:0 5px;
        }

          .savings_calculator .slider_totals > div p {
            background-color: #F2F4FA;
            padding: 15px 20px;
            border-radius: 7px;
            font-size: 16px;
            font-weight:bold;
          }

            .savings_calculator .slider_totals > div p span.total {
              display:block;
              font-size:45px;
              margin:20px 0 10px;
              font-weight:normal;
            }

          .savings_calculator .slider_totals > div#employer_yearly_savings p {
            padding: 30px 20px;
          }

            .savings_calculator .slider_totals > div#employer_yearly_savings span.total {
              margin:30px 0;
              font-size:60px;
            }

    .savings_calculator > p {
      color:#999;
      margin: 0;
      font-size: 12px;
    }
    
    /* KR edits 2015 10 24 */
    #transitAmountSlider,
    #transitTaxSlider {
    	border-color: #3fba38 !important;
    }
    center > table {
    	color: #6a798b;
    	font-family: "Droid Sans",Helvetica,Arial,sans-serif;
    	width: 86%;
    }
    tr > td[align="right"] {
    	color: #3fba38;
    }
    tr:nth-of-type(5n) td {
    	color: #6a798b;
    	font-weight: normal !important;
    }
    tr:nth-of-type(5n) td span {
    	color: #0065dd;
    	font-weight: bold !important;
    	display: block;
    	margin: 20px 0;
    }
    center > table > tbody > tr:first-child {
    	display: none;
    }
    .ui-slider-horizontal {
    	margin-bottom: 30px;
    }

@media screen and (max-width: 960px){
  div.webinar {
    background-position: center bottom;
    background-size: cover !important;
  }
}

@media screen and (max-width: 900px){
  div.cover_image {
    background-size: auto !important;
  }
}

@media screen and (max-width: 768px){
  .savings_calculator .slider_totals {
    display:block;
    table-layout:auto;
  }

  .savings_calculator .slider_totals > div {
    display:block;
    padding:0;
    width:100%;
  }

  .savings_calculator .slider_totals > div p {
    margin:10px auto;
    text-align:center;
  }

  iframe.nyc_toolkit {
    height:510px;
  }

  div.rectangle-arrow {
    height:auto;
    overflow:auto;
  }
  div.rectangle-arrow .arrow {
    display:none;
  }
}

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

  div.rectangle-arrow {
    height:48px;
    overflow:hidden;
  }
  div.rectangle-arrow .arrow {
    display:table;
  }

  div.articles {
    display:block;
    table-layout:auto;
  }

  div.articles section {
    display:block;
  }

  div.articles section article {
    margin-bottom:5px;
  }

  .savings_calculator .slider_section {
    margin-bottom:0;
  }

  .savings_calculator .slider_section .slider_container {
    display: block;
    width: 90%;
  }

  .savings_calculator .slider_section .slider_value {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  iframe.nyc_toolkit {
    height:400px;
  }
}

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

  div.image_overlay {
    padding:15px 10px;
    border-radius:0;
  }

  div.dont_wait {
    background-position:75% -31px;
  }

  .savings_calculator .slider_totals > div p {
    width:100%;
    margin:10px 0;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  div .image_overlay h1 {
    font-size:24px;
  }
}