/*
   Madison Action Bar
   
   Created by Andy Creighton on 2013-07-25.
   Copyright 2013 Organizing for Action. All rights reserved.

*/
body {
  padding-top: 150px;
}
.action-bar {
  position: fixed;
  background: #fff;
  color: #fff;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px 0;
  height: 130px;
  border-top: 5px solid #ca2129;
  border-bottom: 1px solid #ddd;
}
.action-bar > .row {
  overflow: visible;
  /* legacy grid*/
}
.action-bar > .row .container {
  position: relative;
}
.action-bar > .row .wrap {
  padding: 0;
}
.action-bar .logo-link {
  position: absolute;
  top: 8px;
  left: 14px;
}
.action-bar .logo {
  display: block;
  overflow: hidden;
  text-align: left;
  text-indent: -999em;
  background-image: url("//secure.assets.bostatic.com/apps/madison/static/images/OFA-logo-horizontal.png");
  width: 255px;
  height: 32px;
  background-repeat: no-repeat;
  z-index: 9999;
  position: absolute;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .action-bar .logo {
    background-image: url("//secure.assets.bostatic.com/apps/madison/static/images/OFA-logo-horizontal@2x.png");
    background-size: 255px 32px;
  }
}
.action-bar .logo-small {
  z-index: 9888;
  display: block;
  overflow: hidden;
  text-align: left;
  text-indent: -999em;
  height: 32px;
  width: 32px;
  background-image: url("//secure.assets.bostatic.com/apps/madison/static/images/OFA-logo-sun.png");
  background-repeat: no-repeat;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .action-bar .logo-small {
    background-image: url("//secure.assets.bostatic.com/apps/madison/static/images/OFA-logo-sun@2x.png");
    background-size: 32px 32px;
  }
}
.action-bar .top-tabs {
  opacity: 0;
  filter: alpha(opacity=0);
  width: 0;
  height: 0;
  overflow: hidden;
  list-style: none;
  padding-top: 15px;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
  margin-left: 44px;
}
.action-bar .top-tabs a {
  color: #2e98cc;
}
.action-bar .top-tabs li {
  float: left;
  font-family: 'Gotham SSm 4r', 'Gotham SSm A', 'Gotham SSm B', "Helvetica Neue", Helvetica, Segoe, "Segoe UI", "Segoe WP", Calibri, Arial, clean, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  font-size: 1.2rem;
  margin: 0 12px;
  position: relative;
}
@media screen and (min-width:980px) {
  .action-bar .top-tabs li {
    margin: 0 32px;
    font-size: 15px;
    font-size: 1.5rem;
  }
}
.action-bar .top-tabs li:after {
  -webkit-transform: skew(-20deg, 0);
  -moz-transform: skew(-20deg, 0);
  -ms-transform: skewX(-20deg) skewY(0);
  -o-transform: skew(-20deg, 0);
  transform: skew(-20deg, 0);
  -webkit-backface-visibility: hidden;
  content: "|";
  color: #2e98cc;
  font-weight: 700;
  position: absolute;
  top: 0;
  right: -12px;
}
@media screen and (min-width:980px) {
  .action-bar .top-tabs li:after {
    right: -32px;
  }
}
.action-bar .top-tabs li:last-child:after {
  display: none;
}
.action-bar .profile-group a {
  color: #241f20;
}
.action-bar .identity li {
  float: left;
}
.action-bar .identity li + li {
  margin-left: 20px;
}
.action-bar .button.donate {
  border-radius: 0;
  background-color: #ca2129;
  background-image: none;
  margin-top: 50px;
}
.action-bar .link.donate {
  opacity: 0;
  font-size: 12px;
  font-size: 1.2rem;
  color: #ca2129;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Gotham SSm 4r', 'Gotham SSm A', 'Gotham SSm B', "Helvetica Neue", Helvetica, Segoe, "Segoe UI", "Segoe WP", Calibri, Arial, clean, sans-serif;
  height: 0;
  overflow: hidden;
}
@media screen and (min-width:980px) {
  .action-bar .link.donate {
    font-size: 15px;
    font-size: 1.5rem;
  }
}
.action-bar .identity {
  font-family: 'Gotham SSm 4r', 'Gotham SSm A', 'Gotham SSm B', "Helvetica Neue", Helvetica, Segoe, "Segoe UI", "Segoe WP", Calibri, Arial, clean, sans-serif;
  font-size: 12px;
  font-size: 1.2rem;
}
@media (max-width: 767px) {
  .action-bar {
    height: 130px;
  }
  .donate-group a.button {
    width: 100%;
    padding-left: 20px !important;
  }
  .profile-group {
    position: absolute;
    top: 58px;
    left: 21px;
  }
}
@media screen and (min-width:768px) {
  body {
    padding-top: 100px;
  }
  .action-bar {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    height: 100px;
  }
  .action-bar .logo-link,
  .action-bar .logo,
  .action-bar .logo-small,
  .action-bar .top-tabs,
  .action-bar .link.donate,
  .action-bar .button.donate {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .action-bar .logo-link {
    top: 22px;
  }
  .action-bar .donate.button,
  .action-bar .profile-group {
    position: absolute;
    right: 20px;
  }
  .action-bar .donate.button {
    padding-left: 50px;
    padding-right: 50px;
    top: 65px;
    margin-top: 0px;
  }
  .action-bar .donate.link {
    position: absolute;
    right: 220px;
    top: 10px;
  }
  .action-bar .profile-group {
    top: 10px;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1, 1);
  }
  .action-bar .profile-group a {
    color: #241f20;
  }
  .action-bar .profile-group.no-donate {
    top: 30px;
  }
  .action-bar .identity li {
    float: left;
  }
  .action-bar .identity li + li {
    margin-left: 20px;
  }
  /* On scroll, action bar becomes thinner */
  .collapsed {
    -webkit-transition: padding 0.5s ease;
    -moz-transition: padding 0.5s ease;
    -o-transition: padding 0.5s ease;
    transition: padding 0.5s ease;
    padding-top: 72px;
  }
  .collapsed .action-bar {
    height: 72px;
    -webkit-transition: height 0.5s ease;
    -moz-transition: height 0.5s ease;
    -o-transition: height 0.5s ease;
    transition: height 0.5s ease;
  }
  .collapsed .action-bar .logo-link,
  .collapsed .action-bar .logo,
  .collapsed .action-bar .logo-small,
  .collapsed .action-bar .link.donate,
  .collapsed .action-bar .button.donate {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .collapsed .action-bar .logo-link {
    top: 6px;
  }
  .collapsed .action-bar .logo {
    opacity: 0;
    filter: alpha(opacity=0);
    width: 0;
  }
  .collapsed .action-bar .button.donate {
    height: 0;
    padding-top: 0!important;
    padding-bottom: 0!important;
    top: 55px;
  }
  .collapsed .action-bar .link.donate {
    opacity: 1;
    height: 40px;
    top: 15px;
  }
  .collapsed .action-bar .profile-group {
    top: 15px;
  }
  .navCollapsed .top-tabs {
    display: block;
    width: auto;
    height: auto;
    opacity: 1;
    filter: alpha(opacity=100);
    max-height: 40px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
}
.oldie body {
  padding-top: 100px;
}
.oldie .action-bar {
  height: 100px;
}
.oldie .action-bar .donate-group,
.oldie .action-bar .profile-group {
  position: absolute;
  right: 20px;
}
.oldie .action-bar .donate-group {
  bottom: -105px;
}
.oldie .action-bar .donate-group a.button {
  padding-left: 50px;
  padding-right: 50px;
}
.oldie .action-bar .profile-group {
  top: 10px;
}
.oldie .action-bar .profile-group a {
  color: #241f20;
}
.oldie .action-bar .identity li {
  float: left;
}
.oldie .action-bar .identity li + li {
  margin-left: 20px;
}
.oldie .action-bar .logo {
  background-size: auto !important;
  width: 300px;
  height: 60px;
  margin: 10px 0 0 15px;
}
.oldie .action-bar .logo-small {
  display: none;
}
.oldie .action-bar .link.donate {
  height: 0;
  display: none;
}
.oldie .action-bar .top-tabs {
  display: none;
}
