<commit_before>$mysociety-banner: #333333;
$link-color: #10639B;
$body-font-color: #222;
$body-bg: #F4F4F4;
$button-bg: #14c975;
$heading-color: #572115;
$font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;

$main_menu-bg: #BD3213;
$main_menu-search_text: #333;
$main_menu-link_text: #fff;
$main_menu-search_bg: #eee;

$main_menu-link_bg: $main_menu-bg;
$main_menu-active_link_bg: $body-bg;
$main_menu-active_link_text: $main_menu-link_bg;

$incoming-correspondence-color: #88bdab;
$incoming-correspondence-background: #fff;
$outgoing-correspondence-color: #e66800;
$outgoing-correspondence-background: #fff1e6;
$comment-color: #ccc;

$status-success: #24a378;
$status-failure: #bd3200;
$status-pending: #e66800;

$notice-bg: #D1E4C6;
$notice-border: #49A411;
$error-bg: #EED4D0;
$error-border: #DA5641;

$action-bg: #FFEECC;
$action-border: #bf923a;

/* Mixin styles */

/* Hide text when it's replaced by an image */
.image-replacement {
  overflow: hidden;
  text-indent: 150%;
  white-space: nowrap;
}

/* General styling of nav menu items */
.menu-item {
  text-decoration: none;
  color: transparentize($main_menu-link_text, 0.2);
  @include ie8 {
    color: $main_menu-link_text;
  }
  transition: background-color 0.5s ease-out;
  &:hover{
    background-color: darken($main_menu-bg, 5%);
    color: transparentize($main_menu-link_text, 0);
  }
}

/* Selected menu item */

.selected-menu-item {
  font-weight: 600;
  color: $main_menu-active_link_text;
  background-color: $main_menu-active_link_bg;
  &:hover{
      background-color: $main_menu-active_link_bg;
  }
}

/* Styling if not part of the main menu on larger screens */
.sub-menu-item {
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    color: $main_menu-link_text;
    &:hover{
        text-decoration: underline;
        background-color: transparent;
    }
  }
}

/* General styles */
body{
  background-color: $body-bg;
}

.entirebody {
  font-family: $font-family;
}

a{
  color: $link-color;
}

h1, h2, h3, h4, h5, h6 {
  color: $heading-color;
  font-weight: 600; //semibold looks slightly better in source sans
}

.inline-list {
  list-style: none outside none;
  padding: 0;
  li {
    display: inline-block;
    margin-right: 1.25em;
  }
}

/* Let h1s be a little smaller on small screens */
@media( max-width: $main_menu-mobile_menu_cutoff ){
  h1 {
    font-size: 2em;
  }
}

/* Square corners for text type inputs */
form input[type="text"],
form input[type="password"],
form input[type="search"],
form input[type="email"],
form input[type="url"],
form input[type="tel"],
form input[type="number"] {
    border-radius: 0;
    background-color: $main_menu-link_text;
  /* Set a fixed height for text inputs in older IE 8 */
    @include ie8{
        height: 2.3125em;
    }
    /* Do the same in px for IE < 7 */
    @include lte-ie7{
        height: 22px;
    }
}

input.use-datepicker[type=text] {
  width: 130px;
  background:image-url('calendar.png') no-repeat 100px 5px $main_menu-link_text;
}

form input[type=submit], a.link_button_green, a.link_button_green_large {
  text-decoration: none;
  color: #fff;
  background-color: darken($button-bg, 5%);
  display: inline-block;
  cursor: pointer;
  /* This style is expressed for all borders to avoid triggering an IE9 border rendering bug */
  border-style: solid; border-color: darken($button-bg, 15%); border-width: 0 0 4px 0;
  border-radius: 0;
  padding: 3px 7px;
  line-height: normal;
  font-size: 1.1rem;
  /* Same height as form elements */
  height: 2.3125rem;
  @include ie8 {
     height: 2.3125em;
     font-size: 1.1em;
   }
  vertical-align: top;
  &:focus, &:hover{
    text-decoration: none;
    background-color: darken($button-bg, 10%);
    border-bottom: 4px solid darken($button-bg, 20%);
  }
}

@include lte-ie7{

  a.link_button_green, a.link_button_green_large {
    padding: 0 7px;
    height: 31px;
    font-weight: 600;
  }

  form input[type=submit] {
    padding: 0;
    height: 35px;
  }
}

a.link_button_green_large {
  font-size: 2.2rem;
  height: inherit;
  padding: 0 10px;
  @include ie8 {
     font-size: 2.2em;
     height: 66px;
   }
   @include lte-ie7 {
     height: 45px;
   }
}

/* Popups */

.popup {
  background-color: $notice-bg;
  border: 3px solid $notice-border;
}


/* Header */

#topnav {
  background-color: $main_menu-bg;
  @media( min-width: $main_menu-mobile_menu_cutoff ) {
    box-shadow: inset 0 1px 3px 0 rgba(0,0,0,0.1);
  }
}

#navigation{
  border-bottom: none;
  a {
    @extend .menu-item;
    @media( min-width: $main_menu-mobile_menu_cutoff ) {
      padding: 0.875em 1em;
    }
  }
  /* Show which section is currently selected */
  li.selected a{
    @extend .selected-menu-item;
  }

  /* Vertically align the search box */
  #navigation_search{
    input{
      margin-top:0.688em;
      margin-bottom:0.688em;
      height: 1.875em;
      @include ie8 {
        height: 33px;
        font-size: 1.1em;
        padding: 0;
      }
    }
    label {
      margin-top: 0.375em;
    }
  }

  /* Vertically align the label image for older IE*/
  @include ie8 {
    img {
      margin-top: 0.626em;
    }
  }

  #navigation_search_button{
    background-color: mix($main_menu-search_bg, $main_menu-bg, 50%);
    border: none;
    transition: all 0.3s ease-out;
    color: $main_menu-search_text;
    border-radius: 0;
    font-size: inherit;
    &:focus{
        background-color: $main_menu-link_text;
    }
  }
}

/* Notices, errors */

#notice, #error, .errorExplanation, #request_header_text, #hidden_request, .undescribed_requests, .describe_state_form form {
  border-top: 10px solid;
  font-size: 1.2em;
  border-radius: 0;
  margin:1em 0;
  padding: 1.5em;

  p:first-child {
    margin-top: 0;
  }

  p:last-child {
    margin-bottom:0;
  }

  ul {
    margin: 0;
  }
}

#notice, #request_header_text {
  background-color: $notice-bg;
  border-color: $notice-border;
}

#error, .errorExplanation, #hidden_request {
  background-color: $error-bg;
  border-color: $error-border;
}

.undescribed_requests {
  background-color: $action-bg;
  border-color: $action-border;
}

/* Logged and local options act like submenus */
#logged_in_bar{
  border-top: 2px solid rgba(0,0,0,0.1);
  border-bottom: 2px solid rgba(0,0,0,0.1);
  @media( min-width: $main_menu-mobile_menu_cutoff ) {
    border: 0;
  }
  a {
    @extend .menu-item;
    @extend .sub-menu-item;
    color: rgba(255, 255, 255, 0.8);
    &:hover,
    &:active,
    &:focus {
      color: #fff;
    }
  }
  #logged_in_links {
    top: 1.3em;
  }
}

 #logged_in_bar #logged_in_links a,
 #logged_in_bar #logged_in_links .greeting {
    font-weight: normal;
    @media( min-width: $main_menu-mobile_menu_cutoff ) {
      font-size: 0.875em;
    }
  }

#banner {
  background-color: $main_menu-bg;

  .rsp_menu_button{
    position: absolute;
    top: 0.66em;
    right: 0.9375rem; //same as foundation's screen-edge gutter
    @extend .image-replacement;
    background-image: image-url('hamburger.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 26px;
    width: 44px;
    height: 38px;
    padding: 0;
    /* Make sure clickable area covers image */
    a {
      width: 100%;
      height: 100%;
      color: #fff;
    }
  }

  .banner_site-title {
    @include grid-column(12);
    padding-top: 1.125em; //18px
    padding-bottom: 1.125em;
    @include respond-min( $main_menu-mobile_menu_cutoff ){
      @include grid-column(5);
      padding-top: 1.6875em; //27px
      padding-bottom: 1.6875em;
    }
    text-align: left;
    h1 {
      font-size: 1.5em;
      margin: 0;
    }
    a {
      text-decoration: none;
      color: #fff;
      &:hover,
      &:active,
      &:focus {
        color: transparentize($main_menu-link_text, 0.2);
      }
    }

  }

  #logged_in_bar{
    @include respond-min( $main_menu-mobile_menu_cutoff ){
        @include grid-column(7);
        @include lte-ie7 {
           width: 32.211em;
        }
    }
  }
}

.greeting {
  //Truncate really long names
  max-width: 19em;
  color: #fff;
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    max-width: 16em;
  }
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block !important; //overrides the inline display in #logged_in_bar
  //making the display inline-block means we must tweak the position to ...
  // ... ensure it's always inline with the other links
  position: relative;
  top: 0.5em;
}

.site-title__logo {
  @extend .image-replacement;
  width: 159px;
  height: 18px;
  background-size: 159px 18px;
  background-image: image-url("wdtk-logo-white.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  display: block;
  @include respond-min( 18.75em ){
    width: 212px;
    height: 24px;
    background-size: 212px 24px;
  }
  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    background-image: image-url("wdtk-logo-white@2.png");
  }
}

.ms-header {
  background-color: $mysociety-banner;
  @extend .clearfix;
}

.ms-header__container {
  @include grid-row();
}

.ms-header__logo {
  @include grid-column(12);
  text-align: center;
  @include respond-min(15em){
    @include grid-column(6,$offset:6);
    text-align: right;
  }
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    @include grid-column(2,$offset:10);
  }
  line-height: 0;
  a{
    background-color: $mysociety-banner;
    @extend .image-replacement;
    background-image: image-url("mysociety-header_logo.png");
    @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
      background-image: image-url("mysociety-header_logo@2.png");
    }
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 101px 21px;
    display: inline-block;
    width: 101px;
    height: 21px;
    margin: 10px 0;
  }
}


/* Footer */
#footer {
  background-color: #333;
  color: #959287;
  text-align: left;
  padding: 2em 0;
  font-size: 1em;
  a {
    text-decoration: none;
    color: #fff;
    &:hover,
    &:active,
    &:focus {
      color: $button-bg;
      text-decoration: underline;
    }
  }
  .row {
    @include grid-row();
  }
}

.footer__about {
  @include grid-column(12);
  @media (min-width: 32em) {
    @include grid-column(8);
  }
  @media (min-width: 54em) {
    @include grid-column(5);
  }
  h2 {
    color: #fff;
    font-size: 1.4375em;
  }
  p {
    font-size: 0.875em;
  }
}

.about__contact-links {
  @extend .inline-list;
  font-size: 0.875em;
}

.footer__final {
  .row {
    border-top: 1px solid #4C4C4C;
    padding-top: 1em;
  }

}

.final__dedication {
  margin-top: 0.25em;
  @include grid-column(12);
  @media (min-width: 32em) {
    @include grid-column(6);
  }
  p {
    font-size: 0.875em;
  }
}

.final__social-links {
  margin-top: 0.5em;
  @include grid-column(12);
  @media (min-width: 32em) {
    @include grid-column(6);
    text-align: right;
  }

  ul {
    @extend .inline-list;
    margin-top: 0;
    li {
      margin-right: 0;
      margin-left: 1.25em;
    }
  }

  a {
    font-size: 0.875em;
  }
}

.final__credits {
  @include grid-column(12);
  font-size: 0.75em;
}

.social-link {
  padding: 0.5em 0.5em 0.5em 2.2em;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px 22px;
}

.social-link--twitter {
  background-image: image-url('social-twitter.png');
  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    background-image: image-url('social-twitter@2.<EMAIL>');
  }
}

.social-link--facebook {
  background-image: image-url('social-facebook.png');
  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    background-image: image-url('social-facebook@2.png');
  }
}

/* Request page */
div.correspondence {
  background-color: #fff;
  padding-bottom: 0.5em;
  .event_actions {
    margin-bottom: 0;
  }
}

.incoming.correspondence {
  border: none;
  border-top: 8px solid $incoming-correspondence-color;
  box-shadow: 0 3px 3px #d3d3d3;
  background-color: $incoming-correspondence-background;
  a.link_to_this {
    background-color: $incoming-correspondence-color;
  }
}

.outgoing.correspondence {
  border: none;
  border-top: 8px solid $outgoing-correspondence-color;
  box-shadow: 0 3px 3px #d3d3d3;
  background-color: $outgoing-correspondence-background;
  a.link_to_this {
    background-color: $outgoing-correspondence-color;
  }
}

.comment_in_request {
  a.link_to_this {
    background-color: $comment-color;
  }
}

.describe_state_form input[type="radio"] + label {
  display:inline;
}

a.link_to_this {
  background-image: image-url('link-icon.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 80% 80%;
  border-radius: 50%;
  height: 20px;
  width: 20px;
}

#link_box {
  font-family: $font-family;
  border-radius: 0;
  border: 1px solid $heading-color;
  .close-button {
    background-color: #fff;
    float: right;
  }
}

.describe_state_form {
  padding: 0;

  form{
    background-color: $action-bg;
    border-color: $action-border;
    h2 {
      margin-top: 0;
    }
    hr {
      border-color: $action-border;
    }
  }
}

/* Status lines and icons */

.icon_waiting_classification,
.icon_waiting_response,
.icon_waiting_clarification,
.icon_requires_admin,
.icon_waiting_response_overdue,
.icon_gone_postal,
.icon_error_message,
.icon_internal_review,
.icon_user_withdrawn {
  color: $status-pending;
}

.icon_attention_requested,
.icon_not_held,
.icon_waiting_response_very_overdue,
.icon_failed,
.icon_rejected {
  color: $status-failure;
}

.icon_successful,
.icon_partially_successful {
  color: $status-success;
}

/* Attachments*/

.view_html_prefix {
  font-family: $font-family;
}

/* User page */
#user_photo_on_profile {
  img, #set_photo {
    margin-top:0.5em;
  }
}

/* Help pages */

dt {
  color: $heading-color;
  font-weight: 700;
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    font-size: 2em;
  }
}

/* Authority page */
.action-bar__follower-count {
  padding: 3px;
  font-size: 1.1rem;
}

/* LANGUAGE SWITCHER */
#user_locale_switcher {
  background-color: $main_menu-bg;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: transparent;
    right: auto;
    left: 260px;
    top: 1.5em;
  }
}

/* ui-dropdown-list */
.ui-dropdown-list {
  @include respond-min($main_menu-mobile_menu_cutoff) {
    position: absolute;
    left: 160px;
    top: 0.8em;
  }
}

p.ui-dropdown-list-trigger {
  margin-bottom: 0;
  color: #fff;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5em 1em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    margin-top: 0;
    border: 1px solid desaturate(lighten($main_menu-bg, 3%), 5%);
    border-radius: 3px;
    color: $link-color;
    padding: 0;
  }
}

.ui-dropdown-list-trigger .current-locale {
  position: relative;
  z-index: 999;
  border-radius: 3px;
  color: #fff;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    padding: 0.66em 2em 0.66em 0.66em;
  }
}

.ui-dropdown-list-trigger .current-locale:after {
  display: block;
  position: absolute;
  content: '';
  right: 10px;
  top: 12px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  @include ie8 {
    border-top: 5px solid #fff;
  }
  border-top: 5px solid rgba(255,255,255,0.4);
}

.ui-dropdown-list-trigger .current-locale,
.ui-dropdown-list .available-languages a {
  display: block;
  cursor: pointer;
  font-weight: normal;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    font-size: 0.8125em;
    line-height: 1em;
  }
}

.ui-dropdown-list .available-languages {
  display: none;
  padding: 0;
  margin-bottom: 0;
  margin-top: 0;
  font-size: 0.8125em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 1000;
    border-radius: 3px;
    font-size: 1em;
    width: 100%;
  }

}

.ui-dropdown-list li {
  list-style-type: none;
  border-bottom: 1px solid desaturate(lighten($main_menu-bg, 3%), 5%);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    border-bottom-color: #555;
  }
  &:last-child {
    @include respond-min($main_menu-mobile_menu_cutoff) {
      border-bottom: 0;
      a {
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px;
      }
    }
  }
}

.ui-dropdown-list .available-languages a,
.ui-dropdown-list .available-languages a:link,
.ui-dropdown-list .available-languages a:visited {
  display: block;
  background-color: $main_menu-bg;
  padding: 0.66em 1em;
  width: 100%;
  text-decoration: none;
  color: transparentize($main_menu-link_text, 0.2);
  @include ie8 {
    color: $main_menu-link_text;
  }
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: #424242;
  }
  transition: background-color 0.5s ease-out;
}

.ui-dropdown-list .available-languages a:hover,
.ui-dropdown-list .available-languages a:focus {
  border-bottom: none;
  background-color: darken($main_menu-bg, 5%);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: darken(#424242, 10%);
  }
  color: #fff;

}

/* JS interactivity */
.no-js .ui-dropdown-list .available-languages,
.ui-dropdown-list.active .available-languages {
  display: block;
}

.ui-dropdown-list.active .current-locale {
  background-color: $main_menu-bg;
  color: #fff;
  border-color: $main_menu-bg;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: #424242;
    border-color: #333;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.ui-dropdown-list.active .current-locale:after {
  @include ie8 {
    border-top-color: #fff;
  }
  border-top-color: rgba(255,255,255,0.4);
}


.ui-dropdown-list.active .ui-dropdown-list-trigger {
  border: 0;
}

.icon-standalone {
  display: block;
  width: 22px;
  height: 22px;
}
.bodies-list,
.latest-requests {
  h4 {
    font-size: 1.125em;
    color: #9797A4;
    font-weight: normal;
    margin-top: 0;
    line-height: 1.5em;
  }
}

.request-listing {
  padding: 1em 0;
  a {
    font-weight: 600;
    &:hover,
    &:active,
    &:focus {
      color: $link-color;
      text-decoration: underline;
    }
  }
}

.request-listing__request-status-icon {
  float: left;
  margin-top: 0.3em;
}

.request-listing__request-body {
  margin-left: 32px;
  p {
    margin-bottom: 0;
    line-height: 1.35em;
  }
}

.request-body__time-ago {
  font-size: 0.875em;
  color: #9797A4;
  margin-top: 0.25em;
}

.homepage-hero {
  background-color: #333;
  background-image: image-url('homepage-background-small.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 2em 0 5em;
  position: relative;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    padding: 5em 0 8em;
    background-image: image-url('homepage-background.jpg');
  }

  a {
    color: #fff;
    &:hover,
    &:active,
    &:focus {
      color: rgba(255,255,255,0.6);
    }
  }
}

.hero__intro {
  @include grid-column(12);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    @include grid-column(8);
  }
}

.intro__title {
  margin: 0;
  font-size: 2em;
  line-height: 1.142857143em;
  color: #fff;
  margin-bottom: 0.428571429em; //18px
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    font-size: 2.625em;
  }
}

.intro__description {
  font-size: 1.125em;
  line-height: 1.5em;
}

.intro__browse {
  font-size: 1.3125em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    font-size: 1.6875em;
  }
}

.hero__new-request {
  @include grid-column(12);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    @include grid-column(4);
  }
}

.new-request__content {
  background-color: #333;
  padding: 1.888888889em;
}

.new-request__title {
  color: #fff;
  font-size: 1.4375em;
  margin: 0 0 0.5em;
}

.new-request__description {
  color: transparentize(#ffffff, 0.2);
}

.hero__learn-more {
  background-color: transparentize(#000, 0.5);
  padding: 1em 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.learn-more__content {
  @include grid-column(12);
  a {
    display: inline-block;
    padding-left: 1.3em;
    background-image: image-url('arrow-pointing-down.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 13px 13px;
    text-decoration: none;
    @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
      background-image: image-url('arrow-pointing-down@2.png');
    }
  }
}

.homepage-how-it-works {
  background-color: #fff;
  padding: 2em 0;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    padding: 3em 0 4em;
    position: relative;
    @include clearfix;
    &:after {
      content:"";
      display: block;
      width: 100%;
      background-color: #f4f4f4;
      height: 8px;
      position: absolute;
      top: 468px;
      @include respond-min(61.875em) {
        top: 441px;
      }
      left: 0;
      z-index: 0;
    }
  }
}

.homepage-how-it-works__hiw-content {
  @include grid-column(12);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    @include grid-column(10, $offset: 1);
  }
}

.hiw-content__headings {
  text-align: center;
}

.hiw__subtitle {
  font-size: 1.125em;
  color: #9797A4;
  font-weight: normal;
  margin-top: 0;
  line-height: 1.5em;
}

.hiw__steps {
  margin-bottom: 2em;
}

.steps__list {
  list-style: none outside none;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    position: relative;
    @include clearfix;
    &:after {
      content:"";
      display: block;
      width: 70%;
      background-color: #4a4a4a;
      height: 8px;
      position: absolute;
      top: 243px;
      left: 17.5%;
      z-index: 1;
    }
  }

  li {
    position: relative;
    @include grid-column(11, $offset: 1);
    @include respond-min($main_menu-mobile_menu_cutoff) {
      @include grid-column(4, $offset: 0);
      z-index: 2;
    }
  }
}

.steps__step-box {
  padding: 1.5em;
  background-color: $main_menu-bg;
  border-radius: 5px;
  color: #fff;
  line-height: 1.3em;
  font-size: 1.125em;
  position: relative;
  margin-bottom: 1.5em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    min-height: 190px;
    text-align: center;
    margin-bottom: 0;
    padding: 1.25em;
    &:after {
      top: 100%;
      left: 50%;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
      border-color: transparent;
      border-top-color: $main_menu-bg;
      border-width: 16px;
      margin-left: -16px;
    }
    @include respond-min(62em) {
      padding: 1.5em;
    }
  }

}

.steps__step-number {
  position: absolute;
  left: -2.8em;
  top: 1em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    width: 100%;
    position: static;
    top: auto;
    left: auto;
  }
  p {
    border-radius: 38px;
    background-color: #4A4A4A;
    color: #fff;
    text-align: center;
    width: 76px;
    height: 76px;
    line-height: 66px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 3em;
    border: 5px solid #fff;
    @include respond-min($main_menu-mobile_menu_cutoff) {
      border-radius: 33px;
      margin-top: 23px;
      border: 0;
      width: 66px;
      height: 66px;
      line-height: 61px;
    }
  }
}

.learn-more-foi {
  text-align: center;
  margin-top: 3em;
  @include grid-column(12);
}

.learn-more-foi__link {
  display: inline-block;
  // This fixes a bug with buttons in WDTK theme, but only here.
  // We will return to fix it site-wide shortly
  height: auto !important;
  min-height: 2.3125rem;
}
<commit_msg>Replace button styles with new ones<commit_after>$mysociety-banner: #333333;
$link-color: #10639B;
$body-font-color: #222;
$body-bg: #F4F4F4;
$button-bg: #14c975;
$heading-color: #572115;
$font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;

$main_menu-bg: #BD3213;
$main_menu-search_text: #333;
$main_menu-link_text: #fff;
$main_menu-search_bg: #eee;

$main_menu-link_bg: $main_menu-bg;
$main_menu-active_link_bg: $body-bg;
$main_menu-active_link_text: $main_menu-link_bg;

$incoming-correspondence-color: #88bdab;
$incoming-correspondence-background: #fff;
$outgoing-correspondence-color: #e66800;
$outgoing-correspondence-background: #fff1e6;
$comment-color: #ccc;

$status-success: #24a378;
$status-failure: #bd3200;
$status-pending: #e66800;

$notice-bg: #D1E4C6;
$notice-border: #49A411;
$error-bg: #EED4D0;
$error-border: #DA5641;

$action-bg: #FFEECC;
$action-border: #bf923a;

/* Mixin styles */

/* Hide text when it's replaced by an image */
.image-replacement {
  overflow: hidden;
  text-indent: 150%;
  white-space: nowrap;
}

/* Button styles */
.button-base {
    padding: 0.5em 1.25em;
    border-radius: 3px;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 300ms ease-out;
    &:hover,
    &:active,
    &:focus {
        text-decoration: none;
        transition: background-color 300ms ease-out;
    }
}

.button {
    @extend .button-base;
    color: #fff;
    background-color: $button-bg;
    border: none;
    &:hover,
    &:active,
    &:focus {
        background-color: darken($button-bg, 5%);
    }
}

.button-secondary {
    @extend .button-base;
    background-color: transparent;
    color: $button-bg;
    border: 1px solid transparentize(#4a4a4a, 0.85);
    &:hover,
    &:active,
    &:focus {
        color: darken($button-bg, 7.5%);
        border-color: transparentize(#4a4a4a, 0.7);
    }
}

/* General styling of nav menu items */
.menu-item {
  text-decoration: none;
  color: transparentize($main_menu-link_text, 0.2);
  @include ie8 {
    color: $main_menu-link_text;
  }
  transition: background-color 0.5s ease-out;
  &:hover{
    background-color: darken($main_menu-bg, 5%);
    color: transparentize($main_menu-link_text, 0);
  }
}

/* Selected menu item */

.selected-menu-item {
  font-weight: 600;
  color: $main_menu-active_link_text;
  background-color: $main_menu-active_link_bg;
  &:hover{
      background-color: $main_menu-active_link_bg;
  }
}

/* Styling if not part of the main menu on larger screens */
.sub-menu-item {
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    color: $main_menu-link_text;
    &:hover{
        text-decoration: underline;
        background-color: transparent;
    }
  }
}

/* General styles */
body{
  background-color: $body-bg;
}

.entirebody {
  font-family: $font-family;
}

a{
  color: $link-color;
}

h1, h2, h3, h4, h5, h6 {
  color: $heading-color;
  font-weight: 600; //semibold looks slightly better in source sans
}

.inline-list {
  list-style: none outside none;
  padding: 0;
  li {
    display: inline-block;
    margin-right: 1.25em;
  }
}

/* Let h1s be a little smaller on small screens */
@media( max-width: $main_menu-mobile_menu_cutoff ){
  h1 {
    font-size: 2em;
  }
}

/* Square corners for text type inputs */
form input[type="text"],
form input[type="password"],
form input[type="search"],
form input[type="email"],
form input[type="url"],
form input[type="tel"],
form input[type="number"] {
    border-radius: 0;
    background-color: $main_menu-link_text;
  /* Set a fixed height for text inputs in older IE 8 */
    @include ie8{
        height: 2.3125em;
    }
    /* Do the same in px for IE < 7 */
    @include lte-ie7{
        height: 22px;
    }
}

input.use-datepicker[type=text] {
  width: 130px;
  background:image-url('calendar.png') no-repeat 100px 5px $main_menu-link_text;
}

form input[type=submit], a.link_button_green, a.link_button_green_large {
  @extend .button;
  text-decoration: none;
}

@include lte-ie7{

  a.link_button_green, a.link_button_green_large {
    padding: 0 7px;
    height: 31px;
    font-weight: 600;
  }

  form input[type=submit] {
    padding: 0;
    height: 35px;
  }
}

a.link_button_green_large {
  font-size: 2.2rem;
  height: inherit;
  padding: 0 10px;
  @include ie8 {
     font-size: 2.2em;
     height: 66px;
   }
   @include lte-ie7 {
     height: 45px;
   }
}

/* Popups */

.popup {
  background-color: $notice-bg;
  border: 3px solid $notice-border;
}


/* Header */

#topnav {
  background-color: $main_menu-bg;
  @media( min-width: $main_menu-mobile_menu_cutoff ) {
    box-shadow: inset 0 1px 3px 0 rgba(0,0,0,0.1);
  }
}

#navigation{
  border-bottom: none;
  a {
    @extend .menu-item;
    @media( min-width: $main_menu-mobile_menu_cutoff ) {
      padding: 0.875em 1em;
    }
  }
  /* Show which section is currently selected */
  li.selected a{
    @extend .selected-menu-item;
  }

  /* Vertically align the search box */
  #navigation_search{
    input{
      margin-top:0.688em;
      margin-bottom:0.688em;
      height: 1.875em;
      @include ie8 {
        height: 33px;
        font-size: 1.1em;
        padding: 0;
      }
    }
    label {
      margin-top: 0.375em;
    }
  }

  /* Vertically align the label image for older IE*/
  @include ie8 {
    img {
      margin-top: 0.626em;
    }
  }

  #navigation_search_button{
    background-color: mix($main_menu-search_bg, $main_menu-bg, 50%);
    border: none;
    transition: all 0.3s ease-out;
    color: $main_menu-search_text;
    border-radius: 0;
    font-size: inherit;
    &:focus{
        background-color: $main_menu-link_text;
    }
  }
}

/* Notices, errors */

#notice, #error, .errorExplanation, #request_header_text, #hidden_request, .undescribed_requests, .describe_state_form form {
  border-top: 10px solid;
  font-size: 1.2em;
  border-radius: 0;
  margin:1em 0;
  padding: 1.5em;

  p:first-child {
    margin-top: 0;
  }

  p:last-child {
    margin-bottom:0;
  }

  ul {
    margin: 0;
  }
}

#notice, #request_header_text {
  background-color: $notice-bg;
  border-color: $notice-border;
}

#error, .errorExplanation, #hidden_request {
  background-color: $error-bg;
  border-color: $error-border;
}

.undescribed_requests {
  background-color: $action-bg;
  border-color: $action-border;
}

/* Logged and local options act like submenus */
#logged_in_bar{
  border-top: 2px solid rgba(0,0,0,0.1);
  border-bottom: 2px solid rgba(0,0,0,0.1);
  @media( min-width: $main_menu-mobile_menu_cutoff ) {
    border: 0;
  }
  a {
    @extend .menu-item;
    @extend .sub-menu-item;
    color: rgba(255, 255, 255, 0.8);
    &:hover,
    &:active,
    &:focus {
      color: #fff;
    }
  }
  #logged_in_links {
    top: 1.3em;
  }
}

 #logged_in_bar #logged_in_links a,
 #logged_in_bar #logged_in_links .greeting {
    font-weight: normal;
    @media( min-width: $main_menu-mobile_menu_cutoff ) {
      font-size: 0.875em;
    }
  }

#banner {
  background-color: $main_menu-bg;

  .rsp_menu_button{
    position: absolute;
    top: 0.66em;
    right: 0.9375rem; //same as foundation's screen-edge gutter
    @extend .image-replacement;
    background-image: image-url('hamburger.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 26px;
    width: 44px;
    height: 38px;
    padding: 0;
    /* Make sure clickable area covers image */
    a {
      width: 100%;
      height: 100%;
      color: #fff;
    }
  }

  .banner_site-title {
    @include grid-column(12);
    padding-top: 1.125em; //18px
    padding-bottom: 1.125em;
    @include respond-min( $main_menu-mobile_menu_cutoff ){
      @include grid-column(5);
      padding-top: 1.6875em; //27px
      padding-bottom: 1.6875em;
    }
    text-align: left;
    h1 {
      font-size: 1.5em;
      margin: 0;
    }
    a {
      text-decoration: none;
      color: #fff;
      &:hover,
      &:active,
      &:focus {
        color: transparentize($main_menu-link_text, 0.2);
      }
    }

  }

  #logged_in_bar{
    @include respond-min( $main_menu-mobile_menu_cutoff ){
        @include grid-column(7);
        @include lte-ie7 {
           width: 32.211em;
        }
    }
  }
}

.greeting {
  //Truncate really long names
  max-width: 19em;
  color: #fff;
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    max-width: 16em;
  }
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block !important; //overrides the inline display in #logged_in_bar
  //making the display inline-block means we must tweak the position to ...
  // ... ensure it's always inline with the other links
  position: relative;
  top: 0.5em;
}

.site-title__logo {
  @extend .image-replacement;
  width: 159px;
  height: 18px;
  background-size: 159px 18px;
  background-image: image-url("wdtk-logo-white.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  display: block;
  @include respond-min( 18.75em ){
    width: 212px;
    height: 24px;
    background-size: 212px 24px;
  }
  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    background-image: image-url("wdtk-logo-white@2.png");
  }
}

.ms-header {
  background-color: $mysociety-banner;
  @extend .clearfix;
}

.ms-header__container {
  @include grid-row();
}

.ms-header__logo {
  @include grid-column(12);
  text-align: center;
  @include respond-min(15em){
    @include grid-column(6,$offset:6);
    text-align: right;
  }
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    @include grid-column(2,$offset:10);
  }
  line-height: 0;
  a{
    background-color: $mysociety-banner;
    @extend .image-replacement;
    background-image: image-url("mysociety-header_logo.png");
    @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
      background-image: image-url("mysociety-header_logo@2.png");
    }
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 101px 21px;
    display: inline-block;
    width: 101px;
    height: 21px;
    margin: 10px 0;
  }
}


/* Footer */
#footer {
  background-color: #333;
  color: #959287;
  text-align: left;
  padding: 2em 0;
  font-size: 1em;
  a {
    text-decoration: none;
    color: #fff;
    &:hover,
    &:active,
    &:focus {
      color: $button-bg;
      text-decoration: underline;
    }
  }
  .row {
    @include grid-row();
  }
}

.footer__about {
  @include grid-column(12);
  @media (min-width: 32em) {
    @include grid-column(8);
  }
  @media (min-width: 54em) {
    @include grid-column(5);
  }
  h2 {
    color: #fff;
    font-size: 1.4375em;
  }
  p {
    font-size: 0.875em;
  }
}

.about__contact-links {
  @extend .inline-list;
  font-size: 0.875em;
}

.footer__final {
  .row {
    border-top: 1px solid #4C4C4C;
    padding-top: 1em;
  }

}

.final__dedication {
  margin-top: 0.25em;
  @include grid-column(12);
  @media (min-width: 32em) {
    @include grid-column(6);
  }
  p {
    font-size: 0.875em;
  }
}

.final__social-links {
  margin-top: 0.5em;
  @include grid-column(12);
  @media (min-width: 32em) {
    @include grid-column(6);
    text-align: right;
  }

  ul {
    @extend .inline-list;
    margin-top: 0;
    li {
      margin-right: 0;
      margin-left: 1.25em;
    }
  }

  a {
    font-size: 0.875em;
  }
}

.final__credits {
  @include grid-column(12);
  font-size: 0.75em;
}

.social-link {
  padding: 0.5em 0.5em 0.5em 2.2em;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px 22px;
}

.social-link--twitter {
  background-image: image-url('social-twitter.png');
  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    background-image: image-url('social-twitter@2.png');
  }
}

.social-link--facebook {
  background-image: image-url('social-facebook.png');
  @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
    background-image: image-url('social-facebook@2.png');
  }
}

/* Request page */
div.correspondence {
  background-color: #fff;
  padding-bottom: 0.5em;
  .event_actions {
    margin-bottom: 0;
  }
}

.incoming.correspondence {
  border: none;
  border-top: 8px solid $incoming-correspondence-color;
  box-shadow: 0 3px 3px #d3d3d3;
  background-color: $incoming-correspondence-background;
  a.link_to_this {
    background-color: $incoming-correspondence-color;
  }
}

.outgoing.correspondence {
  border: none;
  border-top: 8px solid $outgoing-correspondence-color;
  box-shadow: 0 3px 3px #d3d3d3;
  background-color: $outgoing-correspondence-background;
  a.link_to_this {
    background-color: $outgoing-correspondence-color;
  }
}

.comment_in_request {
  a.link_to_this {
    background-color: $comment-color;
  }
}

.describe_state_form input[type="radio"] + label {
  display:inline;
}

a.link_to_this {
  background-image: image-url('link-icon.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 80% 80%;
  border-radius: 50%;
  height: 20px;
  width: 20px;
}

#link_box {
  font-family: $font-family;
  border-radius: 0;
  border: 1px solid $heading-color;
  .close-button {
    background-color: #fff;
    float: right;
  }
}

.describe_state_form {
  padding: 0;

  form{
    background-color: $action-bg;
    border-color: $action-border;
    h2 {
      margin-top: 0;
    }
    hr {
      border-color: $action-border;
    }
  }
}

/* Status lines and icons */

.icon_waiting_classification,
.icon_waiting_response,
.icon_waiting_clarification,
.icon_requires_admin,
.icon_waiting_response_overdue,
.icon_gone_postal,
.icon_error_message,
.icon_internal_review,
.icon_user_withdrawn {
  color: $status-pending;
}

.icon_attention_requested,
.icon_not_held,
.icon_waiting_response_very_overdue,
.icon_failed,
.icon_rejected {
  color: $status-failure;
}

.icon_successful,
.icon_partially_successful {
  color: $status-success;
}

/* Attachments*/

.view_html_prefix {
  font-family: $font-family;
}

/* User page */
#user_photo_on_profile {
  img, #set_photo {
    margin-top:0.5em;
  }
}

/* Help pages */

dt {
  color: $heading-color;
  font-weight: 700;
  @include respond-min( $main_menu-mobile_menu_cutoff ){
    font-size: 2em;
  }
}

/* Authority page */
.action-bar__follower-count {
  padding: 3px;
  font-size: 1.1rem;
}

/* LANGUAGE SWITCHER */
#user_locale_switcher {
  background-color: $main_menu-bg;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: transparent;
    right: auto;
    left: 260px;
    top: 1.5em;
  }
}

/* ui-dropdown-list */
.ui-dropdown-list {
  @include respond-min($main_menu-mobile_menu_cutoff) {
    position: absolute;
    left: 160px;
    top: 0.8em;
  }
}

p.ui-dropdown-list-trigger {
  margin-bottom: 0;
  color: #fff;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5em 1em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    margin-top: 0;
    border: 1px solid desaturate(lighten($main_menu-bg, 3%), 5%);
    border-radius: 3px;
    color: $link-color;
    padding: 0;
  }
}

.ui-dropdown-list-trigger .current-locale {
  position: relative;
  z-index: 999;
  border-radius: 3px;
  color: #fff;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    padding: 0.66em 2em 0.66em 0.66em;
  }
}

.ui-dropdown-list-trigger .current-locale:after {
  display: block;
  position: absolute;
  content: '';
  right: 10px;
  top: 12px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  @include ie8 {
    border-top: 5px solid #fff;
  }
  border-top: 5px solid rgba(255,255,255,0.4);
}

.ui-dropdown-list-trigger .current-locale,
.ui-dropdown-list .available-languages a {
  display: block;
  cursor: pointer;
  font-weight: normal;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    font-size: 0.8125em;
    line-height: 1em;
  }
}

.ui-dropdown-list .available-languages {
  display: none;
  padding: 0;
  margin-bottom: 0;
  margin-top: 0;
  font-size: 0.8125em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 1000;
    border-radius: 3px;
    font-size: 1em;
    width: 100%;
  }

}

.ui-dropdown-list li {
  list-style-type: none;
  border-bottom: 1px solid desaturate(lighten($main_menu-bg, 3%), 5%);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    border-bottom-color: #555;
  }
  &:last-child {
    @include respond-min($main_menu-mobile_menu_cutoff) {
      border-bottom: 0;
      a {
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px;
      }
    }
  }
}

.ui-dropdown-list .available-languages a,
.ui-dropdown-list .available-languages a:link,
.ui-dropdown-list .available-languages a:visited {
  display: block;
  background-color: $main_menu-bg;
  padding: 0.66em 1em;
  width: 100%;
  text-decoration: none;
  color: transparentize($main_menu-link_text, 0.2);
  @include ie8 {
    color: $main_menu-link_text;
  }
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: #424242;
  }
  transition: background-color 0.5s ease-out;
}

.ui-dropdown-list .available-languages a:hover,
.ui-dropdown-list .available-languages a:focus {
  border-bottom: none;
  background-color: darken($main_menu-bg, 5%);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: darken(#424242, 10%);
  }
  color: #fff;

}

/* JS interactivity */
.no-js .ui-dropdown-list .available-languages,
.ui-dropdown-list.active .available-languages {
  display: block;
}

.ui-dropdown-list.active .current-locale {
  background-color: $main_menu-bg;
  color: #fff;
  border-color: $main_menu-bg;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    background-color: #424242;
    border-color: #333;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.ui-dropdown-list.active .current-locale:after {
  @include ie8 {
    border-top-color: #fff;
  }
  border-top-color: rgba(255,255,255,0.4);
}


.ui-dropdown-list.active .ui-dropdown-list-trigger {
  border: 0;
}

.icon-standalone {
  display: block;
  width: 22px;
  height: 22px;
}
.bodies-list,
.latest-requests {
  h4 {
    font-size: 1.125em;
    color: #9797A4;
    font-weight: normal;
    margin-top: 0;
    line-height: 1.5em;
  }
}

.request-listing {
  padding: 1em 0;
  a {
    font-weight: 600;
    &:hover,
    &:active,
    &:focus {
      color: $link-color;
      text-decoration: underline;
    }
  }
}

.request-listing__request-status-icon {
  float: left;
  margin-top: 0.3em;
}

.request-listing__request-body {
  margin-left: 32px;
  p {
    margin-bottom: 0;
    line-height: 1.35em;
  }
}

.request-body__time-ago {
  font-size: 0.875em;
  color: #9797A4;
  margin-top: 0.25em;
}

.homepage-hero {
  background-color: #333;
  background-image: image-url('homepage-background-small.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 2em 0 5em;
  position: relative;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    padding: 5em 0 8em;
    background-image: image-url('homepage-background.jpg');
  }

  a {
    color: #fff;
    &:hover,
    &:active,
    &:focus {
      color: rgba(255,255,255,0.6);
    }
  }
}

.hero__intro {
  @include grid-column(12);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    @include grid-column(8);
  }
}

.intro__title {
  margin: 0;
  font-size: 2em;
  line-height: 1.142857143em;
  color: #fff;
  margin-bottom: 0.428571429em; //18px
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    font-size: 2.625em;
  }
}

.intro__description {
  font-size: 1.125em;
  line-height: 1.5em;
}

.intro__browse {
  font-size: 1.3125em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    font-size: 1.6875em;
  }
}

.hero__new-request {
  @include grid-column(12);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    @include grid-column(4);
  }
}

.new-request__content {
  background-color: #333;
  padding: 1.888888889em;
}

.new-request__title {
  color: #fff;
  font-size: 1.4375em;
  margin: 0 0 0.5em;
}

.new-request__description {
  color: transparentize(#ffffff, 0.2);
}

.hero__learn-more {
  background-color: transparentize(#000, 0.5);
  padding: 1em 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.learn-more__content {
  @include grid-column(12);
  a {
    display: inline-block;
    padding-left: 1.3em;
    background-image: image-url('arrow-pointing-down.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 13px 13px;
    text-decoration: none;
    @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
      background-image: image-url('arrow-pointing-down@2.png');
    }
  }
}

.homepage-how-it-works {
  background-color: #fff;
  padding: 2em 0;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    padding: 3em 0 4em;
    position: relative;
    @include clearfix;
    &:after {
      content:"";
      display: block;
      width: 100%;
      background-color: #f4f4f4;
      height: 8px;
      position: absolute;
      top: 468px;
      @include respond-min(61.875em) {
        top: 441px;
      }
      left: 0;
      z-index: 0;
    }
  }
}

.homepage-how-it-works__hiw-content {
  @include grid-column(12);
  @include respond-min($main_menu-mobile_menu_cutoff) {
    @include grid-column(10, $offset: 1);
  }
}

.hiw-content__headings {
  text-align: center;
}

.hiw__subtitle {
  font-size: 1.125em;
  color: #9797A4;
  font-weight: normal;
  margin-top: 0;
  line-height: 1.5em;
}

.hiw__steps {
  margin-bottom: 2em;
}

.steps__list {
  list-style: none outside none;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    position: relative;
    @include clearfix;
    &:after {
      content:"";
      display: block;
      width: 70%;
      background-color: #4a4a4a;
      height: 8px;
      position: absolute;
      top: 243px;
      left: 17.5%;
      z-index: 1;
    }
  }

  li {
    position: relative;
    @include grid-column(11, $offset: 1);
    @include respond-min($main_menu-mobile_menu_cutoff) {
      @include grid-column(4, $offset: 0);
      z-index: 2;
    }
  }
}

.steps__step-box {
  padding: 1.5em;
  background-color: $main_menu-bg;
  border-radius: 5px;
  color: #fff;
  line-height: 1.3em;
  font-size: 1.125em;
  position: relative;
  margin-bottom: 1.5em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    min-height: 190px;
    text-align: center;
    margin-bottom: 0;
    padding: 1.25em;
    &:after {
      top: 100%;
      left: 50%;
      border: solid transparent;
      content: " ";
      height: 0;
      width: 0;
      position: absolute;
      pointer-events: none;
      border-color: transparent;
      border-top-color: $main_menu-bg;
      border-width: 16px;
      margin-left: -16px;
    }
    @include respond-min(62em) {
      padding: 1.5em;
    }
  }

}

.steps__step-number {
  position: absolute;
  left: -2.8em;
  top: 1em;
  @include respond-min($main_menu-mobile_menu_cutoff) {
    width: 100%;
    position: static;
    top: auto;
    left: auto;
  }
  p {
    border-radius: 38px;
    background-color: #4A4A4A;
    color: #fff;
    text-align: center;
    width: 76px;
    height: 76px;
    line-height: 66px;
    margin: 0 auto;
    font-weight: bold;
    font-size: 3em;
    border: 5px solid #fff;
    @include respond-min($main_menu-mobile_menu_cutoff) {
      border-radius: 33px;
      margin-top: 23px;
      border: 0;
      width: 66px;
      height: 66px;
      line-height: 61px;
    }
  }
}

.learn-more-foi {
  text-align: center;
  margin-top: 3em;
  @include grid-column(12);
}

.learn-more-foi__link {
  display: inline-block;
  // This fixes a bug with buttons in WDTK theme, but only here.
  // We will return to fix it site-wide shortly
  height: auto !important;
  min-height: 2.3125rem;
}

{'fraction_non_alphanumeric': 0.1469787127053302, 'fraction_numerical': 0.04142222594703319, 'mean_word_length': 2.9618992280235745, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 9, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7576795', 'n_tokens_mistral': 19915, 'n_tokens_neox': 18328, 'n_words': 3618}