Updated css error

Updated css error

/**
 * This is the main application stylesheet. It should include or import all
 * stylesheets used throughout the application as this is the only stylesheet in
 * the Grunt configuration that is automatically processed.
 */

/**
 * First, we include the Twitter Bootstrap LESS files. Only the ones used in the
 * project should be imported as the rest are just wasting space.
 */

@import '../../vendor/bootstrap/less/bootstrap.less';

/**
 * This is our main variables file. We must include it last so we can overwrite any variable
 * definitions in our imported stylesheets.
 */

@import 'variables.less';

footer {
	margin-top:30px;
}

/*!
  * Code licensed under the Apache License v2.0.
 */

body,
html {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Roboto Light","Helvetica Neue",Helvetica,Arial,sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto Light","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
}

h5 {
    font-weight:700;
}

.topnav {
    font-size: 14px;
}

.lead {
    font-size: 18px;
    font-weight: 400;
}

.intro-header {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    color: #f8f8f8;
	background-size: cover;
}

.intro-message {
    position: relative;
    padding-top: 10%;
    padding-bottom: 10%;
}

.intro-message > h1 {
    margin: 0;
    font-size: 5em;
}

.intro-divider {
    width: 400px;
    border-top: 1px solid #f8f8f8;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

@media(max-width:767px) {
    .intro-message {
        padding-bottom: 15%;
    }

    .intro-message > h1 {
        font-size: 3em;
    }

    ul.intro-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.intro-social-buttons > li:last-child {
        margin-bottom: 0;
    }

    .intro-divider {
        width: 100%;
    }
}

.network-name {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
}

.content-section-a {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.content-section-b {
    padding: 50px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading-spacer {
    float: left;
    width: 200px;
    border-top: 3px solid #e7e7e7;
}

.banner {
    padding: 100px 0;
    color: #f8f8f8;
   background-color: grey;
    background-size: cover;
}

.banner h2 {
    margin: 0;
    font-size: 3em;
}

.banner ul {
    margin-bottom: 0;
}

.banner-social-buttons {
    float: right;
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        float: left;
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    .banner h2 {
        margin: 0;
        ont-size: 3em;
    }

    ul.banner-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons > li:last-child {
        margin-bottom: 0;
    }
}

footer {
    padding: 50px 0;
    background-color: #ffffff;
}

p.copyright {
    margin: 5px 0 0;
}

/* Row margin helpers */

/*
Include this after bootstrap.css. Add class of
vert-offset-top-value or vert-offset-bottom-value
to your Bootstrap 3 default rows to prevent row content
from touching the row content above or below.
*/

/* Vertical Offset Bottom */
.vert-offset-top-12{
    margin-top: 12em;
}
.vert-offset-top-11{
    margin-top: 11em;
}
.vert-offset-top-10{
    margin-top: 10em;
}
.vert-offset-top-9{
    margin-top: 9em;
}
.vert-offset-top-8{
    margin-top: 8em;
}
.vert-offset-top-7 {
    margin-top: 7em;
}
.vert-offset-top-6{
    margin-top: 6em;
}
.vert-offset-top-5{
    margin-top: 5em;
}
.vert-offset-top-4{
    margin-top: 4em;
}
.vert-offset-top-3{
    margin-top: 3em;
}
.vert-offset-top-2{
    margin-top: 2em;
}
.vert-offset-top-1{
    margin-top: 1em;
}
.vert-offset-top-0{
    margin-top: 0em;
}
/* Vertical Offset Bottom */
.vert-offset-bottom-12{
    margin-bottom: 12em;
}
.vert-offset-bottom-11{
    margin-bottom: 11em;
}
.vert-offset-bottom-10{
    margin-bottom: 10em;
}
.vert-offset-bottom-9{
    margin-bottom: 9em;
}
.vert-offset-bottom-8{
    margin-bottom: 8em;
}
.vert-offset-bottom-7{
    margin-bottom: 7em;
}
.vert-offset-bottom-6{
    margin-bottom: 6em;
}
.vert-offset-bottom-5{
    margin-bottom: 5em;
}
.vert-offset-bottom-4{
    margin-bottom: 4em;
}
.vert-offset-bottom-3{
    margin-bottom: 3em;
}
.vert-offset-bottom-2{
    margin-bottom: 2em;
}
.vert-offset-bottom-1{
    margin-bottom: 1em;
}
.vert-offset-bottom-0{
    margin-bottom: 0em;
}

.autocomplete .dropdown-menu {
    width:100%;
    overflow:auto;
}

.results-heading {
    font-size:14px;
}

[ng-click] {
    cursor:pointer;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
  background-color: #607d8b;
  border-color: #fff;
}

.loading-overlay {
  background: none repeat scroll 0 0 #fff;
  border-radius: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  color: transparent;
  height: 32px;
  left: 50%;
  margin-left: -16px;
  margin-top: -16px;
  padding: 5px;
  position: fixed;
  text-align: center;
  top: 50%;
  width: 32px;
  z-index:9999;
}

.loading-background,
.loading-icon {
    background-image: url(data:image/gif;base64,R0lGODlhFAAUAJEDAMzMzLOzs39/f////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgADACwAAAAAFAAUAAACPJyPqcuNItyCUJoQBo0ANIxpXOctYHaQpYkiHfM2cUrCNT0nqr4uudsz/IC5na/2Mh4Hu+HR6YBaplRDAQAh+QQFCgADACwEAAIADAAGAAACFpwdcYupC8BwSogR46xWZHl0l8ZYQwEAIfkEBQoAAwAsCAACAAoACgAAAhccMKl2uHxGCCvO+eTNmishcCCYjWEZFgAh+QQFCgADACwMAAQABgAMAAACFxwweaebhl4K4VE6r61DiOd5SfiN5VAAACH5BAUKAAMALAgACAAKAAoAAAIYnD8AeKqcHIwwhGntEWLkO3CcB4biNEIFACH5BAUKAAMALAQADAAMAAYAAAIWnDSpAHa4GHgohCHbGdbipnBdSHphAQAh+QQFCgADACwCAAgACgAKAAACF5w0qXa4fF6KUoVQ75UaA7Bs3yeNYAkWACH5BAUKAAMALAIABAAGAAwAAAIXnCU2iMfaRghqTmMp1moAoHyfIYIkWAAAOw==);
    background-repeat: no-repeat;
    background-position: center;
    color: transparent !important
}
.loading-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: -7px 0 0 0;
}

.modal-backdrop.in {
  opacity:0.05;
}

footer.pagination {
  background:transparent;
  display:block;
  padding:20px 0;
}

.pagination-sm > li > a, .pagination-sm > li > span {
  font-size: 14px;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    background-color: transparent;
    border:0;
    color: #777777;
    cursor: not-allowed;
    opacity:0.6;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: transparent;
  border-color: #337ab7;
  color: #ffffff;
  cursor: default;
  z-index: 2;
}

.detail-section  {
  padding:0 15px;
}

.detail-section > div {
  background-color: #ffffff;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  padding:20px;
}
.footer {
  padding:50px 20px 0 20px;
  text-align:center;
  font-size:14px;
}

.detail-section dt {
  color: #154e7d;
}

.detail-section dd {
  margin-bottom:40px;
}

.square-box {
  height:20px;
  width:20px;
  display:inline-block;
  margin-right:10px;
}

.chart-text {
  font-size:13px;
}

/* Teal Nav */

.navbar-default {
  background-color: #32a6ad;
  border-color: #67d9e0;
}
.navbar-default .navbar-brand {
  color: #ecf0f1;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
  color: #ffffff;
}
.navbar-default .navbar-text {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #ffffff;
}
.navbar-default .navbar-nav > li > .dropdown-menu {
  background-color: #32a6ad;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus {
  color: #ffffff;
  background-color: #67d9e0;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > .divider {
  background-color: #32a6ad;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #67d9e0;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  color: #ffffff;
  background-color: #67d9e0;
}
.navbar-default .navbar-toggle {
  border-color: #67d9e0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #67d9e0;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ecf0f1;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #ecf0f1;
}
.navbar-default .navbar-link {
  color: #ecf0f1;
}
.navbar-default .navbar-link:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ecf0f1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #67d9e0;
  }
}

/******************************************************************
Site Name: 18F
Author: Octo Consulting Group

Stylesheet: Main Stylesheet

******************************************************************/
/*********************
IMPORTING STYLES
*********************/
/* import base */
/******************************************************************

Stylesheet: Base Stylesheet

******************************************************************/
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v14/Hgo13k-tfSpn0qi1SFdUfT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v14/2UX7WLTfW3W8TclTUvlFyQ.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'), url(http://fonts.gstatic.com/s/roboto/v14/RxZJdnzeo3R5zSexge8UUT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v14/d-6IYplOFocCacKzxwXSOD8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: local('Roboto Black'), local('Roboto-Black'), url(http://fonts.gstatic.com/s/roboto/v14/mnpfi9pxYH-Go5UiibESIj8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
body {
  background-color: #fafafa;
  color: #262626;
  font-weight: 300;
  font-size: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.home header {
  margin-bottom: 0;
}
.home .hero {
  background: url(../assets/images/MedCheck_hero.jpg) no-repeat left center;
  background-size: cover;
  height: 500px;
}
strong {
  font-weight: 900;
}
h1 {
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 0;
  color: #293655;
}
h2 {
  font-size: 1.8em;
  color: #154e7d;
}
h3 {
  font-size: 1.6em;
  font-weight: 300;
  margin: .5em 0;
}
h4 {
  font-size: 1.4em;
  line-height: 1.6em;
  font-size: 1.3em;
  color: #9ab45c;
}
h5 {
  font-size: 1.2em;
  color: #154e7d;
  margin-top: 5px;
}
p {
  line-height: 1.8em;
}
a {
  color: #154e7d;
}
a:hover {
  color: #36474f;
}
.btn-primary {
  background-color: #32a6ad;
  border: 1px solid #cccccc;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #278085;
  border: 1px solid #cccccc;
}
.med-header {
  background-color: #ffffff;
  border-bottom: 2px solid #f2f2f2;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.med-panel {
  border-radius: 0px;
  border: 1px solid #f2f2f2;
  box-shadow: none;
}
.med-panel .panel-footer {
  background-color: #f2f2f2;
  border: 0px;
  border-top: 2px solid #e6e6e6;
  box-shadow: none;
}
.item-listing {
  padding-top: 5px;
  padding-bottom: 5px;
}
.item-listing > article:nth-child(even) > header .item-detail > div {
  background-color: #f2f2f2;
}
.item-listing > article > header a {
  font-weight: bold;
}
.item-listing > article > header a:hover,
.item-listing > article > header a:focus,
.item-listing > article > header a:active {
  text-decoration: none;
}
.item-listing > article > header .item-detail.active > div {
  background-color: #f9fcfe;
}
.item-listing > article > header .item-detail > div {
  border: 1px solid #e6e6e6;
  background-color: #ffffff;
}
.item-listing > article > header .item-detail > div:hover {
  background-color: #f9fcfe;
  cursor: pointer;
}
.med-search {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.med-filters {
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  padding-top: 20px;
  padding-bottom: 3px;
  margin-bottom: 5px;
}
.med-graph {
  margin-bottom: 20px;
}
.big-num {
  font-size: 3em;
  font-weight: 600;
}
.col-middle {
  vertical-align: middle;
}
.row-same-height {
  display: table;
  width: 100%;
  /* fix overflow */
  table-layout: fixed;
}
.highlight {
  color: #32a6ad;
}
.loading {
  background-image: url(../images/med_loading.gif);
  background-position: bottom;
  background-repeat: repeat-x;
}
.pagination {
  margin-top: 0;
  margin-bottom: 0;
}
.pagination > li > a,
.pagination > li > a:focus,
.pagination > li > a:active {
  border: 0px;
  border-bottom: 2px solid transparent;
  margin: 0 3px;
  background-color: transparent;
  color: #154e7d;
  font-weight: 600;
  border-radius: 0px;
}
.pagination > li > a:hover,
.pagination > li > a:focus:hover,
.pagination > li > a:active:hover {
  border-bottom-color: #32a6ad;
  color: #32a6ad;
  background-color: transparent;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 0px;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:active,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  border-bottom-color: #32a6ad;
  color: #32a6ad;
}
/* import tablet */
/******************************************************************

Stylesheet: Tablet Stylesheet

******************************************************************/
@media (min-width: 750px) {
  body {
    font-size: 16px;
    width: 100&;
  }
  .col-md-height {
    display: table-cell;
    float: none !important;
  }

  /* Vertical Offset Bottom */
  .vert-offset-top-12{
      margin-top: 1em;
  }
  .vert-offset-top-11{
      margin-top: 1em;
  }
  .vert-offset-top-10{
      margin-top: 1em;
  }
  .vert-offset-top-9{
      margin-top: 1em;
  }
  .vert-offset-top-8{
      margin-top: 1em;
  }
  .vert-offset-top-7 {
      margin-top: 1em;
  }
  .vert-offset-top-6{
      margin-top: 1em;
  }
  .vert-offset-top-5{
      margin-top: 1em;
  }
  .vert-offset-top-4{
      margin-top: 1em;
  }
  .vert-offset-top-3{
      margin-top: 1em;
  }
  .vert-offset-top-2{
      margin-top: 1em;
  }
  .vert-offset-top-1{
      margin-top: 1em;
  }
  .vert-offset-top-0{
      margin-top: 0em;
  }
  /* Vertical Offset Bottom */
  .vert-offset-bottom-12{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-11{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-10{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-9{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-8{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-7{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-6{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-5{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-4{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-3{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-2{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-1{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-0{
      margin-bottom: 0em;
  }

}
/* import notebook */
/******************************************************************

Stylesheet: Notebook Stylesheet

******************************************************************/
@media (min-width: 970px) {
  body {
    font-size: 18px;
  }
}
/* import desktop */
/******************************************************************

Stylesheet: Desktop Stylesheet

******************************************************************/
@media (min-width: 1170px) {
  .navbar-main .navbar-nav li a {
    margin: 4px 6px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/**
 * This is the main application stylesheet. It should include or import all
 * stylesheets used throughout the application as this is the only stylesheet in
 * the Grunt configuration that is automatically processed.
 */

/**
 * First, we include the Twitter Bootstrap LESS files. Only the ones used in the
 * project should be imported as the rest are just wasting space.
 */

@import '../../vendor/bootstrap/less/bootstrap.less';

/**
 * This is our main variables file. We must include it last so we can overwrite any variable
 * definitions in our imported stylesheets.
 */

@import 'variables.less';

footer {
	margin-top:30px;
}

/*!
  * Code licensed under the Apache License v2.0.
 */

body,
html {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Roboto Light","Helvetica Neue",Helvetica,Arial,sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto Light","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
}

h5 {
    font-weight:700;
}

.topnav {
    font-size: 14px;
}

.lead {
    font-size: 18px;
    font-weight: 400;
}

.intro-header {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    color: #f8f8f8;
	background-size: cover;
}

.intro-message {
    position: relative;
    padding-top: 10%;
    padding-bottom: 10%;
}

.intro-message > h1 {
    margin: 0;
    font-size: 5em;
}

.intro-divider {
    width: 400px;
    border-top: 1px solid #f8f8f8;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

@media(max-width:767px) {
    .intro-message {
        padding-bottom: 15%;
    }

    .intro-message > h1 {
        font-size: 3em;
    }

    ul.intro-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.intro-social-buttons > li:last-child {
        margin-bottom: 0;
    }

    .intro-divider {
        width: 100%;
    }
}

.network-name {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
}

.content-section-a {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.content-section-b {
    padding: 50px 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading-spacer {
    float: left;
    width: 200px;
    border-top: 3px solid #e7e7e7;
}

.banner {
    padding: 100px 0;
    color: #f8f8f8;
   background-color: grey;
    background-size: cover;
}

.banner h2 {
    margin: 0;
    font-size: 3em;
}

.banner ul {
    margin-bottom: 0;
}

.banner-social-buttons {
    float: right;
    margin-top: 0;
}

@media(max-width:1199px) {
    ul.banner-social-buttons {
        float: left;
        margin-top: 15px;
    }
}

@media(max-width:767px) {
    .banner h2 {
        margin: 0;
        ont-size: 3em;
    }

    ul.banner-social-buttons > li {
        display: block;
        margin-bottom: 20px;
        padding: 0;
    }

    ul.banner-social-buttons > li:last-child {
        margin-bottom: 0;
    }
}

footer {
    padding: 50px 0;
    background-color: #ffffff;
}

p.copyright {
    margin: 5px 0 0;
}

/* Row margin helpers */

/*
Include this after bootstrap.css. Add class of
vert-offset-top-value or vert-offset-bottom-value
to your Bootstrap 3 default rows to prevent row content
from touching the row content above or below.
*/

/* Vertical Offset Bottom */
.vert-offset-top-12{
    margin-top: 12em;
}
.vert-offset-top-11{
    margin-top: 11em;
}
.vert-offset-top-10{
    margin-top: 10em;
}
.vert-offset-top-9{
    margin-top: 9em;
}
.vert-offset-top-8{
    margin-top: 8em;
}
.vert-offset-top-7 {
    margin-top: 7em;
}
.vert-offset-top-6{
    margin-top: 6em;
}
.vert-offset-top-5{
    margin-top: 5em;
}
.vert-offset-top-4{
    margin-top: 4em;
}
.vert-offset-top-3{
    margin-top: 3em;
}
.vert-offset-top-2{
    margin-top: 2em;
}
.vert-offset-top-1{
    margin-top: 1em;
}
.vert-offset-top-0{
    margin-top: 0em;
}
/* Vertical Offset Bottom */
.vert-offset-bottom-12{
    margin-bottom: 12em;
}
.vert-offset-bottom-11{
    margin-bottom: 11em;
}
.vert-offset-bottom-10{
    margin-bottom: 10em;
}
.vert-offset-bottom-9{
    margin-bottom: 9em;
}
.vert-offset-bottom-8{
    margin-bottom: 8em;
}
.vert-offset-bottom-7{
    margin-bottom: 7em;
}
.vert-offset-bottom-6{
    margin-bottom: 6em;
}
.vert-offset-bottom-5{
    margin-bottom: 5em;
}
.vert-offset-bottom-4{
    margin-bottom: 4em;
}
.vert-offset-bottom-3{
    margin-bottom: 3em;
}
.vert-offset-bottom-2{
    margin-bottom: 2em;
}
.vert-offset-bottom-1{
    margin-bottom: 1em;
}
.vert-offset-bottom-0{
    margin-bottom: 0em;
}

.autocomplete .dropdown-menu {
    width:100%;
    overflow:auto;
}

.results-heading {
    font-size:14px;
}

[ng-click] {
    cursor:pointer;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
  background-color: #607d8b;
  border-color: #fff;
}

.loading-overlay {
  background: none repeat scroll 0 0 #fff;
  border-radius: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  color: transparent;
  height: 32px;
  left: 50%;
  margin-left: -16px;
  margin-top: -16px;
  padding: 5px;
  position: fixed;
  text-align: center;
  top: 50%;
  width: 32px;
  z-index:9999;
}

.loading-background,
.loading-icon {
    background-image: url(data:image/gif;base64,R0lGODlhFAAUAJEDAMzMzLOzs39/f////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgADACwAAAAAFAAUAAACPJyPqcuNItyCUJoQBo0ANIxpXOctYHaQpYkiHfM2cUrCNT0nqr4uudsz/IC5na/2Mh4Hu+HR6YBaplRDAQAh+QQFCgADACwEAAIADAAGAAACFpwdcYupC8BwSogR46xWZHl0l8ZYQwEAIfkEBQoAAwAsCAACAAoACgAAAhccMKl2uHxGCCvO+eTNmishcCCYjWEZFgAh+QQFCgADACwMAAQABgAMAAACFxwweaebhl4K4VE6r61DiOd5SfiN5VAAACH5BAUKAAMALAgACAAKAAoAAAIYnD8AeKqcHIwwhGntEWLkO3CcB4biNEIFACH5BAUKAAMALAQADAAMAAYAAAIWnDSpAHa4GHgohCHbGdbipnBdSHphAQAh+QQFCgADACwCAAgACgAKAAACF5w0qXa4fF6KUoVQ75UaA7Bs3yeNYAkWACH5BAUKAAMALAIABAAGAAwAAAIXnCU2iMfaRghqTmMp1moAoHyfIYIkWAAAOw==);
    background-repeat: no-repeat;
    background-position: center;
    color: transparent !important
}
.loading-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: -7px 0 0 0;
}

.modal-backdrop.in {
  opacity:0.05;
}

footer.pagination {
  background:transparent;
  display:block;
  padding:20px 0;
}

.pagination-sm > li > a, .pagination-sm > li > span {
  font-size: 14px;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    background-color: transparent;
    border:0;
    color: #777777;
    cursor: not-allowed;
    opacity:0.6;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: transparent;
  border-color: #337ab7;
  color: #ffffff;
  cursor: default;
  z-index: 2;
}

.detail-section  {
  padding:0 15px;
}

.detail-section > div {
  background-color: #ffffff;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  padding:20px;
}
.footer {
  padding:50px 20px 0 20px;
  text-align:center;
  font-size:14px;
}

.detail-section dt {
  color: #154e7d;
}

.detail-section dd {
  margin-bottom:40px;
}

.square-box {
  height:20px;
  width:20px;
  display:inline-block;
  margin-right:10px;
}

.chart-text {
  font-size:13px;
}
b
/* Teal Nav */

.navbar-default {
  background-color: #32a6ad;
  border-color: #67d9e0;
}
.navbar-default .navbar-brand {
  color: #ecf0f1;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
  color: #ffffff;
}
.navbar-default .navbar-text {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
  color: #ffffff;
}
.navbar-default .navbar-nav > li > .dropdown-menu {
  background-color: #32a6ad;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav > li > .dropdown-menu > li > a:focus {
  color: #ffffff;
  background-color: #67d9e0;
}
.navbar-default .navbar-nav > li > .dropdown-menu > li > .divider {
  background-color: #32a6ad;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #ffffff;
  background-color: #67d9e0;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
  color: #ffffff;
  background-color: #67d9e0;
}
.navbar-default .navbar-toggle {
  border-color: #67d9e0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #67d9e0;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ecf0f1;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #ecf0f1;
}
.navbar-default .navbar-link {
  color: #ecf0f1;
}
.navbar-default .navbar-link:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ecf0f1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffffff;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffffff;
    background-color: #67d9e0;
  }
}

/******************************************************************
Site Name: 18F
Author: Octo Consulting Group

Stylesheet: Main Stylesheet

******************************************************************/
/*********************
IMPORTING STYLES
*********************/
/* import base */
/******************************************************************

Stylesheet: Base Stylesheet

******************************************************************/
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'), url(http://fonts.gstatic.com/s/roboto/v14/Hgo13k-tfSpn0qi1SFdUfT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url(http://fonts.gstatic.com/s/roboto/v14/2UX7WLTfW3W8TclTUvlFyQ.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'), url(http://fonts.gstatic.com/s/roboto/v14/RxZJdnzeo3R5zSexge8UUT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(http://fonts.gstatic.com/s/roboto/v14/d-6IYplOFocCacKzxwXSOD8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: local('Roboto Black'), local('Roboto-Black'), url(http://fonts.gstatic.com/s/roboto/v14/mnpfi9pxYH-Go5UiibESIj8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
body {
  background-color: #fafafa;
  color: #262626;
  font-weight: 300;
  font-size: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.home header {
  margin-bottom: 0;
}
.home .hero {
  background: url(../assets/images/MedCheck_hero.jpg) no-repeat left center;
  background-size: cover;
  height: 500px;
}
strong {
  font-weight: 900;
}
h1 {
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 0;
  color: #293655;
}
h2 {
  font-size: 1.8em;
  color: #154e7d;
}
h3 {
  font-size: 1.6em;
  font-weight: 300;
  margin: .5em 0;
}
h4 {
  font-size: 1.4em;
  line-height: 1.6em;
  font-size: 1.3em;
  color: #9ab45c;
}
h5 {
  font-size: 1.2em;
  color: #154e7d;
  margin-top: 5px;
}
p {
  line-height: 1.8em;
}
a {
  color: #154e7d;
}
a:hover {
  color: #36474f;
}
.btn-primary {
  background-color: #32a6ad;
  border: 1px solid #cccccc;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #278085;
  border: 1px solid #cccccc;
}
.med-header {
  background-color: #ffffff;
  border-bottom: 2px solid #f2f2f2;
  margin-bottom: 20px;
  padding-bottom: 10px;
}
.med-panel {
  border-radius: 0px;
  border: 1px solid #f2f2f2;
  box-shadow: none;
}
.med-panel .panel-footer {
  background-color: #f2f2f2;
  border: 0px;
  border-top: 2px solid #e6e6e6;
  box-shadow: none;
}
.item-listing {
  padding-top: 5px;
  padding-bottom: 5px;
}
.item-listing > article:nth-child(even) > header .item-detail > div {
  background-color: #f2f2f2;
}
.item-listing > article > header a {
  font-weight: bold;
}
.item-listing > article > header a:hover,
.item-listing > article > header a:focus,
.item-listing > article > header a:active {
  text-decoration: none;
}
.item-listing > article > header .item-detail.active > div {
  background-color: #f9fcfe;
}
.item-listing > article > header .item-detail > div {
  border: 1px solid #e6e6e6;
  background-color: #ffffff;
}
.item-listing > article > header .item-detail > div:hover {
  background-color: #f9fcfe;
  cursor: pointer;
}
.med-search {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.med-filters {
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  padding-top: 20px;
  padding-bottom: 3px;
  margin-bottom: 5px;
}
.med-graph {
  margin-bottom: 20px;
}
.big-num {
  font-size: 3em;
  font-weight: 600;
}
.col-middle {
  vertical-align: middle;
}
.row-same-height {
  display: table;
  width: 100%;
  /* fix overflow */
  table-layout: fixed;
}
.highlight {
  color: #32a6ad;
}
.loading {
  background-image: url(../images/med_loading.gif);
  background-position: bottom;
  background-repeat: repeat-x;
}
.pagination {
  margin-top: 0;
  margin-bottom: 0;
}
.pagination > li > a,
.pagination > li > a:focus,
.pagination > li > a:active {
  border: 0px;
  border-bottom: 2px solid transparent;
  margin: 0 3px;
  background-color: transparent;
  color: #154e7d;
  font-weight: 600;
  border-radius: 0px;
}
.pagination > li > a:hover,
.pagination > li > a:focus:hover,
.pagination > li > a:active:hover {
  border-bottom-color: #32a6ad;
  color: #32a6ad;
  background-color: transparent;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 0px;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:active,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  border-bottom-color: #32a6ad;
  color: #32a6ad;
}
/* import tablet */
/******************************************************************

Stylesheet: Tablet Stylesheet

******************************************************************/
@media (min-width: 750px) {
  body {
    font-size: 16px;
    width: 100&;
  }
  .col-md-height {
    display: table-cell;
    float: none !important;
  }

  /* Vertical Offset Bottom */
  .vert-offset-top-12{
      margin-top: 1em;
  }
  .vert-offset-top-11{
      margin-top: 1em;
  }
  .vert-offset-top-10{
      margin-top: 1em;
  }
  .vert-offset-top-9{
      margin-top: 1em;
  }
  .vert-offset-top-8{
      margin-top: 1em;
  }
  .vert-offset-top-7 {
      margin-top: 1em;
  }
  .vert-offset-top-6{
      margin-top: 1em;
  }
  .vert-offset-top-5{
      margin-top: 1em;
  }
  .vert-offset-top-4{
      margin-top: 1em;
  }
  .vert-offset-top-3{
      margin-top: 1em;
  }
  .vert-offset-top-2{
      margin-top: 1em;
  }
  .vert-offset-top-1{
      margin-top: 1em;
  }
  .vert-offset-top-0{
      margin-top: 0em;
  }
  /* Vertical Offset Bottom */
  .vert-offset-bottom-12{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-11{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-10{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-9{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-8{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-7{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-6{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-5{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-4{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-3{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-2{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-1{
      margin-bottom: 1em;
  }
  .vert-offset-bottom-0{
      margin-bottom: 0em;
  }

}
/* import notebook */
/******************************************************************

Stylesheet: Notebook Stylesheet

******************************************************************/
@media (min-width: 970px) {
  body {
    font-size: 18px;
  }
}
/* import desktop */
/******************************************************************

Stylesheet: Desktop Stylesheet

******************************************************************/
@media (min-width: 1170px) {
  .navbar-main .navbar-nav li a {
    margin: 4px 6px;
    padding-left: 10px;
    padding-right: 10px;
  }
}


Allow selecting text in new files again.

The CSS that made text in unrelated columns unselectable when selecting text
wasn't correct in the case of new files (where the "number 1" column uses td.r
for styling). To fix this, I've added a :not selector to verify that we don't
unintentionally disable selection for new files.

Testing done:
Tested text selection in both new and changed files.

Fixes bug 3661.

Reviewed at https://reviews.reviewboard.org/r/6609/

@import "defs.less";

/*
 * The .diff-changes-* rules are used only within JavaScript code to
 * figure out the colors used to display the file complexity icons.
 */
.diff-changes-icon-insert {
  color: @diff-insert-dot-color;
}

.diff-changes-icon-replace {
  color: @diff-replace-dot-color;
}

.diff-changes-icon-delete {
  color: @diff-delete-dot-color;
}

.sidebyside {
  @linenum-padding-right: 4px;
  @moved-border-width: 4px;

  background: white;
  border-collapse: collapse;
  padding: 2px;
  width: 100%;

  &.diff-error {
    td {
      background: #fff6a6;
      padding: 1em;

      a {
        color: blue;
        font-weight: bold;
      }

      h2 {
        font-size: 10pt;
        margin: 0em 0 2em 0;
        padding: 0;

        .rb-icon {
          vertical-align: text-bottom;
        }
      }
    }

    .error-details {
      display: none;

      pre {
        background: white;
        border: 1px #999 solid;
        padding: 1em;
      }
    }

    .revision-row th {
      padding-left: 4em;
    }
  }

  &.newfile {
    col {
      &.left {
        width: 0%;
      }

      &.right {
        width: 100%;
      }
    }
  }

  &.selecting-col-1:not(.newfile) {
    td.r {
      &, * {
        .unselectable();
      }
    }
  }

  &.selecting-col-3 {
    td.l {
      &, * {
        .unselectable();
      }
    }
  }

  a {
    color: black;
    text-decoration: none;
  }

  col {
    &.left {
      width: 50%;
    }

    &.right {
      width: 50%;
    }

    &.line {
      width: 1%; /* Make sure this doesn't stretch if the header stretches. */
    }
  }

  img.header-file-icon {
    vertical-align: middle;
  }

  pre {
    .pre-wrap;
    font-size: 8pt;
    line-height: 140%;
    margin: 0;
    padding-left: 2px;
  }

  .indent {
    color: #CCDDCC;
  }

  .unindent {
    color: #DDCCCC;
  }

  .moved-row-start {
    pre {
      margin-top: 4px;
    }
  }

  .moved-row th {
    /* Compensate for the increased border. */
    padding-right: (@linenum-padding-right - @moved-border-width / 2);
  }

  .moved-to {
    border-left: @moved-border-width @diff-moved-to-bg-color solid !important;

    .moved-flag {
      background-color: @diff-moved-to-bg-color !important;
    }
  }

  .moved-from {
    border-left: @moved-border-width @diff-moved-from-bg-color solid !important;

    .moved-flag {
      background-color: @diff-moved-from-bg-color !important;
    }
  }

  .moved-flag {
    background-color: inherit !important;
    display: inline-block;
    font-size: 7pt;
    margin: -1px;
    padding: 0;
  }

  .moved-to-start, .moved-from-start {
    .moved-flag {
      padding: 3px 1em 3px 0.5em;
      .border-radius(0, 8px, 8px, 0);
    }
  }

  tbody {
    tr {
      &.selected {
        * {
          background: @diff-selected-color;
        }

        td .diff-collapse-btn {
          background: #E4D9CB;
        }
      }

      &.first {
        td, th {
          border-top: 1px @diff-line-border-color solid;
        }
      }

      &.last {
        td, th {
          border-bottom: 1px @diff-line-border-color solid;
        }
      }

      td {
        vertical-align: top;

        .collapse-floater {
          position: relative;
        }

        .diff-collapse-btn {
          @image-size: 14px;

          background: #E4D9CB;
          border: 1px black solid;
          padding: 5px;
          cursor: pointer;
          position: absolute;
          right: -8px;
          z-index: @z-index-diff-collapse-btn;
          opacity: 0.8;
          width: @image-size;
          height: @image-size;

          &:hover {
            opacity: 1.0;
          }
        }
      }

      th {
        background: @diff-linenum-color;
        padding-left: 1em;
        padding-right: @linenum-padding-right;
        text-align: right;
        vertical-align: top;
        cursor: pointer;

        .unselectable();
      }
    }

    &.whitespace-file td {
      background: @diff-replace-color;
      padding: 1em;
    }

    &.deleted td {
      background: @diff-delete-color;
      padding: 1em;
    }

    &.new-empty-file td {
      background: @diff-insert-color;
      padding: 1em;
    }

    &.no-changes td {
      padding: 1em;
    }

    &.binary {
      .inline-actions-header {
        background: @inline-actions-bg;
        border-bottom: 1px @diff-file-border-color solid;

        td {
          padding: 0;

          &:first-child {
            border-right: 1px @diff-line-border-color solid;
          }
        }
      }

      .inline-actions-right, .inline-actions-left {
        li {
          .border-radius(0 0 0 0);

          &:hover {
            background-color: @inline-actions-hover-bg;
          }
        }
      }

      .inline-actions-right {
        float: right;

        a {
          border-left: 1px @diff-file-border-color solid;
        }
      }

      .inline-actions-left {
        float: left;

        a {
          border-right: 1px @diff-file-border-color solid;
          border-left: 0px;
        }
      }

      .inline-files-container {
        td {
          &:first-child {
            border-right: 1px @diff-line-border-color solid;
          }

          &.diff-review-ui {
            padding: 0;
          }
        }
      }

      .file-thumbnail-container {
        margin: 0;
        overflow: hidden;
        padding: 1em;
        text-align: center;
        white-space: nowrap;
      }

      p {
        margin: 0;
        padding: 4px;
      }

      td {
        padding: 1em;
      }
    }

    &.delete {
      tr {
        &.selected * { background: @diff-delete-selected-color; }

        td {
          background: @diff-delete-color;
          border-color: @diff-delete-border-color;
        }

        th {
          background: @diff-delete-linenum-color;
          border-color: @diff-delete-linenum-border-color;
        }
      }
    }

    &.insert {
      tr {
        &.selected * { background: @diff-insert-selected-color; }

        td {
          background: @diff-insert-color;
          border-color: @diff-insert-border-color;
        }

        th {
          background: @diff-insert-linenum-color;
          border-color: @diff-insert-linenum-border-color;
        }
      }
    }

    &.replace {
      tr {
        &.selected * { background: @diff-replace-selected-color; }

        td {
          background: @diff-replace-color;
          border-color: @diff-replace-border-color;
        }

        th {
          background: @diff-replace-linenum-color;
          border-color: @diff-replace-linenum-border-color;
        }
      }

      &.dimmed {
        background: #FFFFFF;

        .hl { background: #FFFFFF; }
        th { background: #F0F0F0; }
      }

      .hl { background: #eff23d; }
    }

    &.diff-header {
      a {
        text-decoration: none;
        color: black;
      }

      code {
        margin: 0 2px;
      }

      img {
        vertical-align: middle;
        padding: 1px;
      }

      td {
        background: @diff-header-color;
        font-size: x-small;
        text-align: center;
      }

      th {
        background: @diff-header-color;
      }

      tr {
        &:first-child {
          border-top: 1px darken(@diff-header-color, 10%) solid;
        }

        &:last-child {
          border-bottom: 1px darken(@diff-header-color, 10%) solid;
        }
      }
    }
  }

  thead {
    th {
      background: @diff-file-color;
      font-size: 120%;
      font-weight: bold;
      text-align: left;
      text-overflow: ellipsis;
    }

    .filename-row th {
      padding: 8px;

      #gradient > .vertical-three-colors(#FFFFFF, @diff-file-color, 50%, @diff-file-color);
    }

    .revision-row th {
      border-bottom: 1px @diff-file-border-color solid;
      font-size: 100%;
      font-weight: normal;
      padding: 8px 0;

      .rb-icon {
        vertical-align: text-top;
      }
    }
  }

  thead th.controls,
  th.controls {
    font-size: 100%;
    font-weight: normal;
    padding: 2px 0 2px 2px;
    vertical-align: top;
  }
}

.commentflag {
  .border-radius(@comment-flag-border-radius);
  height: 20px;
  left: -0.7em;
  margin-top: -0.3em;
  position: absolute;
  width: 1.6em;

  .commentflag-shadow {
    .border-radius(@comment-flag-border-radius);
    .opacity(10);
    background-color: black;
    border: 1px solid black;
    bottom: 0;
    left: 0.2em;
    position: absolute;
    right: 0;
    top: 0.2em;
    width: 100%;
  }

  .commentflag-inner {
    .border-radius(@comment-flag-border-radius);
    .opacity(95);
    background-color: @comment-flag-color;
    border: 1px solid @comment-flag-border-color;
    bottom: 0.2em;
    cursor: pointer;
    font-size: 90%;
    font-weight: normal;
    left: 0;
    line-height: 1.7em;
    position: absolute;
    right: 0.2em;
    text-align: center;
    top: 0;
    vertical-align: top;
    width: 100%;
    z-index: @z-index-deco;

    span {
      background: transparent !important;
      .unselectable();
    }
  }
}

.selected .commentflag .commentflag-inner {
  background-color: @comment-flag-color;
}

.selected .commentflag .commentflag-inner,
.commentflag .commentflag-inner:hover {
  background-color: @comment-flag-hover-color;
}

.commentflag.draft .commentflag-inner {
  background-color: @comment-flag-draft-color;
  border-color: @comment-flag-draft-border-color;
}

.selected .commentflag.draft .commentflag-inner,
.commentflag.draft .commentflag-inner:hover {
  background-color: @comment-flag-draft-hover-color;
}

.ghost-commentflag {
  cursor: pointer;
  position: absolute;
  left: 0.1em;
  margin-top: -0.1em;
  height: 21px;

  .commentflag-inner {
    background-color: @comment-flag-ghost-color;
    border-color: @comment-flag-ghost-border-color;
  }
}

#diffs {
  list-style: none;
  margin: 0;
  padding: 0;

  /* Allows highlight chunks to be absolute relative to this. */
  position: relative;

  div.index ol {
    margin-bottom: 20px;
    padding-left: 30px;
  }

  .diff-container {
    margin-bottom: 1em;
    position: relative;

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

  .diff-box {
    .border-radius(@box-border-radius);
    border: 1px @diff-border-color solid;
    overflow: hidden;
    .box-shadow(@box-shadow);
  }

  .diff-highlight {
    position: absolute;
    left: 0;
    top: 0;
  }

  .diff-highlight-border {
    background-color: black;
    display: block;
    font-size: 0; /* Prevents the 13px minimum height in IE6 */
    position: absolute;
    width: 2px;
    height: 2px;
  }
}

#diff_index,
.diff-index {
  @icon-size: 20px;
  @icon-offset: 2px;

  border: 1px #BBB solid;
  margin: 1em 0;

  table {
    padding: 0;
    border-collapse: collapse;
    width: 100%;

    tr {
      &:first-child td {
        border-top: 0;
      }

      &.loading .diff-file-icon {
        background-image: url("../images/spinner.gif");
        background-position: center center;
        background-repeat: no-repeat;
        min-width: @icon-size;
        width: @icon-size;
        height: (@icon-size + @icon-offset);
      }
    }

    td {
      background: #FDFDFD;
      padding: 0.6em;
      margin: 0;
      border-top: 1px #DDD solid;
      vertical-align: top;

      &.diff-chunks-cell {
        color: #888;
        text-align: right;
        width: 70%;
      }

      &.diff-file-icon {
        padding: @icon-offset 0 0 @icon-offset;

        .rb-icon {
          width: @icon-size;
          height: @icon-size;
        }
      }

      &.diff-file-info {
        padding-left: 0.3em;
        white-space: nowrap;
        width: 30%;

        .diff-file-rename {
          color: #888;
          display: block;
          font-size: 90%;
          font-style: italic;
          padding: 1em 0 0 0;
        }
      }

      a {
        color: blue;
        text-decoration: none;

        &:hover {
          text-decoration: underline;
        }

        &.dimmed {
          color: #ABABAB;
        }
      }

      .diff-chunks {
        max-height: 2.5em;
        overflow: hidden;
        text-align: right;

        a {
          display: inline-block;
          margin: 3px 2px 0 2px;
          width: 8px;
          height: 8px;
          .border-radius(50%);

          &.insert {
            background-color: @diff-insert-dot-color;
          }

          &.delete {
            background-color: @diff-delete-dot-color;
          }

          &.replace {
            background-color: @diff-replace-dot-color;
          }
        }
      }
    }
  }
}

/****************************************************************************
 * Diff information
 ****************************************************************************/
#diff-details {
  border-spacing: 8px;

  &.loading {
    #diff_index {
      background: white url("../images/spinner.gif") no-repeat @box-padding @box-padding;
      height: 16px;
      padding: @box-padding;
    }
  }

  #diff_revision_label h1 {
    color: @review-request-label-color;
    font-size: 120%;
    margin: 0;
    padding: 0;
  }

  .main {
    padding: 1em;

    h1, p {
      margin: 1em 0;
      padding: 0;
    }
  }
}

.revision-selector-grabbed,
.revision-selector-grabbed * {
  .grabbing-cursor-important;
}

.revision-selector {
  margin: 3em 1.5em;
  position: relative;

  .revision-selector-trough {
    border-bottom: 1px solid black;
  }

  .revision-selector-tick {
    position: absolute;
    top: -8px;
    height: 16px;
    border-left: 1px solid black;
  }

  .revision-selector-label {
    position: absolute;
    top: -26px;

    .user-select(none);

    &.revision-selector-label-active {
      cursor: pointer;
    }
  }

  .revision-selector-handle {
    position: absolute;
    top: -9px;
    z-index: 2;
    .grab-cursor;
  }

  .revision-selector-range {
    position: absolute;
    background-color: grey;
    top: -1px;
    height: 4px;
    z-index: 1;
  }
}

/****************************************************************************
 * Comments hint
 ****************************************************************************/
.comments-hint li {
  &.current {
    font-weight: bold;
  }

  &:not(.current) {
    color: @link-color;
    text-decoration: underline;
    cursor: pointer;
  }
}

/****************************************************************************
 * Pagination
 ****************************************************************************/
.paginate-link,
.paginate-current {
  padding: 2px 4px;
  border: 1px solid @paginate-border-color;
}

.paginate-current {
  background: @paginate-bg-color;
  color: @paginate-text-color;
  font-weight: bold;
}

#pagination2 {
  margin-top: 1em;
}

// vim: set et ts=2 sw=2:

@import "defs.less";

/*
 * The .diff-changes-* rules are used only within JavaScript code to
 * figure out the colors used to display the file complexity icons.
 */
.diff-changes-icon-insert {
  color: @diff-insert-dot-color;
}

.diff-changes-icon-replace {
  color: @diff-replace-dot-color;
}

.diff-changes-icon-delete {
  color: @diff-delete-dot-color;
}

.sidebyside {
  @linenum-padding-right: 4px;
  @moved-border-width: 4px;

  background: white;
  border-collapse: collapse;
  padding: 2px;
  width: 100%;

  &.diff-error {
    td {
      background: #fff6a6;
      padding: 1em;

      a {
        color: blue;
        font-weight: bold;
      }

      h2 {
        font-size: 10pt;
        margin: 0em 0 2em 0;
        padding: 0;

        .rb-icon {
          vertical-align: text-bottom;
        }
      }
    }

    .error-details {
      display: none;

      pre {
        background: white;
        border: 1px #999 solid;
        padding: 1em;
      }
    }

    .revision-row th {
      padding-left: 4em;
    }
  }

  &.newfile {
    col {
      &.left {
        width: 0%;
      }

      &.right {
        width: 100%;
      }
    }
  }

  &.selecting-col-1 {
    td.r {
      &, * {
        .unselectable();
      }
    }
  }

  &.selecting-col-3 {
    td.l {
      &, * {
        .unselectable();
      }
    }
  }

  a {
    color: black;
    text-decoration: none;
  }

  col {
    &.left {
      width: 50%;
    }

    &.right {
      width: 50%;
    }

    &.line {
      width: 1%; /* Make sure this doesn't stretch if the header stretches. */
    }
  }

  img.header-file-icon {
    vertical-align: middle;
  }

  pre {
    .pre-wrap;
    font-size: 8pt;
    line-height: 140%;
    margin: 0;
    padding-left: 2px;
  }

  .indent {
    color: #CCDDCC;
  }

  .unindent {
    color: #DDCCCC;
  }

  .moved-row-start {
    pre {
      margin-top: 4px;
    }
  }

  .moved-row th {
    /* Compensate for the increased border. */
    padding-right: (@linenum-padding-right - @moved-border-width / 2);
  }

  .moved-to {
    border-left: @moved-border-width @diff-moved-to-bg-color solid !important;

    .moved-flag {
      background-color: @diff-moved-to-bg-color !important;
    }
  }

  .moved-from {
    border-left: @moved-border-width @diff-moved-from-bg-color solid !important;

    .moved-flag {
      background-color: @diff-moved-from-bg-color !important;
    }
  }

  .moved-flag {
    background-color: inherit !important;
    display: inline-block;
    font-size: 7pt;
    margin: -1px;
    padding: 0;
  }

  .moved-to-start, .moved-from-start {
    .moved-flag {
      padding: 3px 1em 3px 0.5em;
      .border-radius(0, 8px, 8px, 0);
    }
  }

  tbody {
    tr {
      &.selected {
        * {
          background: @diff-selected-color;
        }

        td .diff-collapse-btn {
          background: #E4D9CB;
        }
      }

      &.first {
        td, th {
          border-top: 1px @diff-line-border-color solid;
        }
      }

      &.last {
        td, th {
          border-bottom: 1px @diff-line-border-color solid;
        }
      }

      td {
        vertical-align: top;

        .collapse-floater {
          position: relative;
        }

        .diff-collapse-btn {
          @image-size: 14px;

          background: #E4D9CB;
          border: 1px black solid;
          padding: 5px;
          cursor: pointer;
          position: absolute;
          right: -8px;
          z-index: @z-index-diff-collapse-btn;
          opacity: 0.8;
          width: @image-size;
          height: @image-size;

          &:hover {
            opacity: 1.0;
          }
        }
      }

      th {
        background: @diff-linenum-color;
        padding-left: 1em;
        padding-right: @linenum-padding-right;
        text-align: right;
        vertical-align: top;
        cursor: pointer;

        .unselectable();
      }
    }

    &.whitespace-file td {
      background: @diff-replace-color;
      padding: 1em;
    }

    &.deleted td {
      background: @diff-delete-color;
      padding: 1em;
    }

    &.new-empty-file td {
      background: @diff-insert-color;
      padding: 1em;
    }

    &.no-changes td {
      padding: 1em;
    }

    &.binary {
      .inline-actions-header {
        background: @inline-actions-bg;
        border-bottom: 1px @diff-file-border-color solid;

        td {
          padding: 0;

          &:first-child {
            border-right: 1px @diff-line-border-color solid;
          }
        }
      }

      .inline-actions-right, .inline-actions-left {
        li {
          .border-radius(0 0 0 0);

          &:hover {
            background-color: @inline-actions-hover-bg;
          }
        }
      }

      .inline-actions-right {
        float: right;

        a {
          border-left: 1px @diff-file-border-color solid;
        }
      }

      .inline-actions-left {
        float: left;

        a {
          border-right: 1px @diff-file-border-color solid;
          border-left: 0px;
        }
      }

      .inline-files-container {
        td {
          &:first-child {
            border-right: 1px @diff-line-border-color solid;
          }

          &.diff-review-ui {
            padding: 0;
          }
        }
      }

      .file-thumbnail-container {
        margin: 0;
        overflow: hidden;
        padding: 1em;
        text-align: center;
        white-space: nowrap;
      }

      p {
        margin: 0;
        padding: 4px;
      }

      td {
        padding: 1em;
      }
    }

    &.delete {
      tr {
        &.selected * { background: @diff-delete-selected-color; }

        td {
          background: @diff-delete-color;
          border-color: @diff-delete-border-color;
        }

        th {
          background: @diff-delete-linenum-color;
          border-color: @diff-delete-linenum-border-color;
        }
      }
    }

    &.insert {
      tr {
        &.selected * { background: @diff-insert-selected-color; }

        td {
          background: @diff-insert-color;
          border-color: @diff-insert-border-color;
        }

        th {
          background: @diff-insert-linenum-color;
          border-color: @diff-insert-linenum-border-color;
        }
      }
    }

    &.replace {
      tr {
        &.selected * { background: @diff-replace-selected-color; }

        td {
          background: @diff-replace-color;
          border-color: @diff-replace-border-color;
        }

        th {
          background: @diff-replace-linenum-color;
          border-color: @diff-replace-linenum-border-color;
        }
      }

      &.dimmed {
        background: #FFFFFF;

        .hl { background: #FFFFFF; }
        th { background: #F0F0F0; }
      }

      .hl { background: #eff23d; }
    }

    &.diff-header {
      a {
        text-decoration: none;
        color: black;
      }

      code {
        margin: 0 2px;
      }

      img {
        vertical-align: middle;
        padding: 1px;
      }

      td {
        background: @diff-header-color;
        font-size: x-small;
        text-align: center;
      }

      th {
        background: @diff-header-color;
      }

      tr {
        &:first-child {
          border-top: 1px darken(@diff-header-color, 10%) solid;
        }

        &:last-child {
          border-bottom: 1px darken(@diff-header-color, 10%) solid;
        }
      }
    }
  }

  thead {
    th {
      background: @diff-file-color;
      font-size: 120%;
      font-weight: bold;
      text-align: left;
      text-overflow: ellipsis;
    }

    .filename-row th {
      padding: 8px;

      #gradient > .vertical-three-colors(#FFFFFF, @diff-file-color, 50%, @diff-file-color);
    }

    .revision-row th {
      border-bottom: 1px @diff-file-border-color solid;
      font-size: 100%;
      font-weight: normal;
      padding: 8px 0;

      .rb-icon {
        vertical-align: text-top;
      }
    }
  }

  thead th.controls,
  th.controls {
    font-size: 100%;
    font-weight: normal;
    padding: 2px 0 2px 2px;
    vertical-align: top;
  }
}

.commentflag {
  .border-radius(@comment-flag-border-radius);
  height: 20px;
  left: -0.7em;
  margin-top: -0.3em;
  position: absolute;
  width: 1.6em;

  .commentflag-shadow {
    .border-radius(@comment-flag-border-radius);
    .opacity(10);
    background-color: black;
    border: 1px solid black;
    bottom: 0;
    left: 0.2em;
    position: absolute;
    right: 0;
    top: 0.2em;
    width: 100%;
  }

  .commentflag-inner {
    .border-radius(@comment-flag-border-radius);
    .opacity(95);
    background-color: @comment-flag-color;
    border: 1px solid @comment-flag-border-color;
    bottom: 0.2em;
    cursor: pointer;
    font-size: 90%;
    font-weight: normal;
    left: 0;
    line-height: 1.7em;
    position: absolute;
    right: 0.2em;
    text-align: center;
    top: 0;
    vertical-align: top;
    width: 100%;
    z-index: @z-index-deco;

    span {
      background: transparent !important;
      .unselectable();
    }
  }
}

.selected .commentflag .commentflag-inner {
  background-color: @comment-flag-color;
}

.selected .commentflag .commentflag-inner,
.commentflag .commentflag-inner:hover {
  background-color: @comment-flag-hover-color;
}

.commentflag.draft .commentflag-inner {
  background-color: @comment-flag-draft-color;
  border-color: @comment-flag-draft-border-color;
}

.selected .commentflag.draft .commentflag-inner,
.commentflag.draft .commentflag-inner:hover {
  background-color: @comment-flag-draft-hover-color;
}

.ghost-commentflag {
  cursor: pointer;
  position: absolute;
  left: 0.1em;
  margin-top: -0.1em;
  height: 21px;

  .commentflag-inner {
    background-color: @comment-flag-ghost-color;
    border-color: @comment-flag-ghost-border-color;
  }
}

#diffs {
  list-style: none;
  margin: 0;
  padding: 0;

  /* Allows highlight chunks to be absolute relative to this. */
  position: relative;

  div.index ol {
    margin-bottom: 20px;
    padding-left: 30px;
  }

  .diff-container {
    margin-bottom: 1em;
    position: relative;

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

  .diff-box {
    .border-radius(@box-border-radius);
    border: 1px @diff-border-color solid;
    overflow: hidden;
    .box-shadow(@box-shadow);
  }

  .diff-highlight {
    position: absolute;
    left: 0;
    top: 0;
  }

  .diff-highlight-border {
    background-color: black;
    display: block;
    font-size: 0; /* Prevents the 13px minimum height in IE6 */
    position: absolute;
    width: 2px;
    height: 2px;
  }
}

#diff_index,
.diff-index {
  @icon-size: 20px;
  @icon-offset: 2px;

  border: 1px #BBB solid;
  margin: 1em 0;

  table {
    padding: 0;
    border-collapse: collapse;
    width: 100%;

    tr {
      &:first-child td {
        border-top: 0;
      }

      &.loading .diff-file-icon {
        background-image: url("../images/spinner.gif");
        background-position: center center;
        background-repeat: no-repeat;
        min-width: @icon-size;
        width: @icon-size;
        height: (@icon-size + @icon-offset);
      }
    }

    td {
      background: #FDFDFD;
      padding: 0.6em;
      margin: 0;
      border-top: 1px #DDD solid;
      vertical-align: top;

      &.diff-chunks-cell {
        color: #888;
        text-align: right;
        width: 70%;
      }

      &.diff-file-icon {
        padding: @icon-offset 0 0 @icon-offset;

        .rb-icon {
          width: @icon-size;
          height: @icon-size;
        }
      }

      &.diff-file-info {
        padding-left: 0.3em;
        white-space: nowrap;
        width: 30%;

        .diff-file-rename {
          color: #888;
          display: block;
          font-size: 90%;
          font-style: italic;
          padding: 1em 0 0 0;
        }
      }

      a {
        color: blue;
        text-decoration: none;

        &:hover {
          text-decoration: underline;
        }

        &.dimmed {
          color: #ABABAB;
        }
      }

      .diff-chunks {
        max-height: 2.5em;
        overflow: hidden;
        text-align: right;

        a {
          display: inline-block;
          margin: 3px 2px 0 2px;
          width: 8px;
          height: 8px;
          .border-radius(50%);

          &.insert {
            background-color: @diff-insert-dot-color;
          }

          &.delete {
            background-color: @diff-delete-dot-color;
          }

          &.replace {
            background-color: @diff-replace-dot-color;
          }
        }
      }
    }
  }
}

/****************************************************************************
 * Diff information
 ****************************************************************************/
#diff-details {
  border-spacing: 8px;

  &.loading {
    #diff_index {
      background: white url("../images/spinner.gif") no-repeat @box-padding @box-padding;
      height: 16px;
      padding: @box-padding;
    }
  }

  #diff_revision_label h1 {
    color: @review-request-label-color;
    font-size: 120%;
    margin: 0;
    padding: 0;
  }

  .main {
    padding: 1em;

    h1, p {
      margin: 1em 0;
      padding: 0;
    }
  }
}

.revision-selector-grabbed,
.revision-selector-grabbed * {
  .grabbing-cursor-important;
}

.revision-selector {
  margin: 3em 1.5em;
  position: relative;

  .revision-selector-trough {
    border-bottom: 1px solid black;
  }

  .revision-selector-tick {
    position: absolute;
    top: -8px;
    height: 16px;
    border-left: 1px solid black;
  }

  .revision-selector-label {
    position: absolute;
    top: -26px;

    .user-select(none);

    &.revision-selector-label-active {
      cursor: pointer;
    }
  }

  .revision-selector-handle {
    position: absolute;
    top: -9px;
    z-index: 2;
    .grab-cursor;
  }

  .revision-selector-range {
    position: absolute;
    background-color: grey;
    top: -1px;
    height: 4px;
    z-index: 1;
  }
}

/****************************************************************************
 * Comments hint
 ****************************************************************************/
.comments-hint li {
  &.current {
    font-weight: bold;
  }

  &:not(.current) {
    color: @link-color;
    text-decoration: underline;
    cursor: pointer;
  }
}

/****************************************************************************
 * Pagination
 ****************************************************************************/
.paginate-link,
.paginate-current {
  padding: 2px 4px;
  border: 1px solid @paginate-border-color;
}

.paginate-current {
  background: @paginate-bg-color;
  color: @paginate-text-color;
  font-weight: bold;
}

#pagination2 {
  margin-top: 1em;
}

// vim: set et ts=2 sw=2:


tweak header for mobile

tweak header for mobile

header {
    clear: both;
}

// ---------------
// Flexbox
// ---------------

.flex-container {
    .flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -moz-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
// Global style for flex items
.flex-item {
    @media only screen and (min-width : 770px) {
        margin: 10px 0;
    }
    @media @tablet {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        margin-bottom: 0;
    }
}

// -------------------------------------------------------
// Header First Row: Logo, Company Name, Nav & Shop Basket
// -------------------------------------------------------

// Flex Box
// -------------------------

.header__first-row.flex-container {
    @media only screen and (min-width : 770px) {
        margin: 30px 0 20px;
    }
    @media @tablet {
        padding: 0;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.header__first-row .flex-item {
    // Reorder items for desktop
    @media only screen and (min-width : 770px) {
        margin: 10px 0;
        &.flex-shopbasket {
            -webkit-box-ordinal-group: 5;
            -moz-box-ordinal-group: 5;
            -webkit-order: 4;
            -ms-flex-order: 4;
            order: 4;
            margin: 10px 0 10px auto;
            .ecombasket {
                margin-left: 24px;
            }
        }
        &.flex-nav {
            -webkit-box-ordinal-group: 4;
            -moz-box-ordinal-group: 4;
            -webkit-order: 3;
            -ms-flex-order: 3;
            order: 3;
            .navigation-list {
                margin: 0 -12px;
            }
        }
        &.flex-logo {
            -webkit-box-ordinal-group: 2;
            -moz-box-ordinal-group: 2;
            -webkit-order: 1;
            -ms-flex-order: 1;
            order: 1;
        }
        &.flex-companyname {
            -webkit-box-ordinal-group: 3;
            -moz-box-ordinal-group: 3;
            -webkit-order: 2;
            -ms-flex-order: 2;
            order: 2;
        }
    }
}
// Social icons, logo and companyname
.flex-shopbasket,
.flex-logo,
.flex-companyname {
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

// Navigation widget
.flex-nav {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    @media @tablet {
        width: 100%;
        .navigation-toggle {
            height: 44px;
        }
    }
}

// Spacing for logo and company name on tablet and mobile

@media @tablet {
    .flex-logo {
        margin-top: 30px;
        width: 100%;
        text-align: center;
        .logo-image {
            padding: 0 5%;
            margin: 0 auto;
        }
    }
    .flex-companyname {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 30px;
        text-align: center;
    }
}

@media @mobile {
    .flex-companyname {
        margin-bottom: 5px;
    }
}

// Tablet top bar background
// -------------------------

.tablet-top-bar {
    @media @tablet {
        position: absolute;
        left: 0;
        width: 100%;
        height: 46px;
        background-color: @color-swatch4;
    }
}

// Shopping Basket
// -------------------------

.ecombasket {
    .basket-item-details a,
    .basket-item-details p {
        text-align: left;
        font-size: bkscale(@font-swatch5-font-size,0.8);
        line-height: bkscale(@font-swatch5-line-height,0.8);
    }
}

.flex-shopbasket {
    min-height: 44px;
    .ecombasket .view-basket.button:hover {
        color: @color-swatch1;
    }
}

// Brand
// -------------------------

.logo {
  margin-right: 10px;
  @media @tablet {
    margin-right: 0;
    margin-bottom: 5px;
  }
}

.company-link:hover {
    color: @font-swatch6-color;
    text-decoration: none;
    .transition( all, 0.5s, ease );
}

// Navigation
// -------------------------

// Parent nav items, adds arrow icon
.item-name--parent:after {
    display: inline-block;
    vertical-align: middle;
    content: "";
    margin-left: 4px;
    border: 5px solid transparent;
    border-top-color: @font-swatch6-color;
}
.item-name--parent:hover:after {
    border-top-color: @font-swatch6-color-hover;
}

// Selected nav item

.navigation-item.selected > .item-name {
    color: @font-swatch6-color-hover;
}

// Navigation on Tablet

.extendednavigation .navigation-list {
    @media @tablet {
        margin-top: 3px;
    }
}

// Hide toggle on desktop
.navigation-toggle {
    display: none;
    @media @tablet {
        display: inline-block;
        position: absolute;
        height: 44px;
        width: 40px;
        right: 0;
        top: -44px;
        text-indent: 1000px;
        overflow: hidden;
        line-height: 0;
        background-color: @color-swatch4;
        border: none;
        &:before {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            top: 0;
            left: 50%;
            right: 0;
            margin-top: 15px;
            margin-left: -13px;
            background: @color-swatch1;
            box-shadow: 0 7px 0 @color-swatch1;
            .transition( all, 0.5s, ease );
        }
        &:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            top: 14px;
            left: 50%;
            right: 0;
            margin-top: 15px;
            margin-left: -13px;
            background: @color-swatch1;
            .transition( all, 0.5s, ease );
        }
    }
    &:hover {
        background-color: @color-swatch4;
        border: none;
        &:before {
            background: lighten(@color-swatch4, 60%);
            box-shadow: 0 7px 0 lighten(@color-swatch4, 60%);
        }
        &:after {
            background: lighten(@color-swatch4, 60%);
        }
    }
}

// Toggle Button Open State
.open & {
    &.navigation-toggle {
        background-color: transparent;
        &:before {
            width: 26px;
            margin-top: 21px;
            margin-left: -4px;
            background: @color-swatch1;
            box-shadow: none;
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
            .transition( all, 0.5s, ease );
        }
        &:after {
            content: '';
            position: absolute;
            width: 26px;
            height: 3px;
            top: 0;
            left: 50%;
            right: 0;
            margin-top: 21px;
            margin-left: -4px;
            background: @color-swatch1;
            box-shadow: none;
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
            .transition( all, 0.5s, ease );
        }
        &:hover {
            &:after,
            &:before {
                background: lighten(@color-swatch4, 60%);
            }
        }
    }
}

// Clears margin on ul, hides navigatio on mobile (made visible in conjunction with navigation-toggle)
.navigation-list {
    margin: 0;
    width: auto;
    @media @tablet {
        display: none;
        width: 100%;
        &.open {
            display: block;
            border-bottom: 1px solid darken(@color-swatch1, 10%);
        }
    }
}

// Sets background colour to navigation and dropdowns
.extendednavigation,
.navigation-list--children {
    @media @tablet {
        background-color: @color-swatch1;
    }
}
.navigation-list--children {
    left: inherit;
    right: 0;
    white-space: normal;
    border: 1px solid darken(@color-swatch1, 10%);
    @media @tablet {
        border-right: none;
        border-left: none;
    }
    .navigation-item--child {
        @media only screen and (min-width:770px) {
            border-bottom: 1px solid darken(@color-swatch1, 5%);
            &:last-child {
                border-bottom: none;
            }
        }
    }
}

// Sets nav items to full width on mobile and tablet
.navigation-item {
    @media @tablet {
        display: block;
    }
}

.navigation-item .item-name {
    padding: 4px 12px;
    @media @tablet {
        padding: 8px 0;
    }
}

// Fix overlay in editor on tablet and mobile

div#page-zones__template-widgets__extendednavigation-navigation-bk-overlay {
    @media @tablet {
        width: 30%;
        height: 44px;
        top: -44px !important;
        left: inherit !important;
    }
}

// Shop Basket
// -------------------

.flex-shopbasket {
    h1,
    p {
        text-align: right;
    }
    @media @tablet {
        width: 100%;
    }
    .basket-toggle {
      margin-bottom: 0;
    }
    .basket-toggle.button {
        min-height: inherit;
        padding: 5px 17px 5px 15px;
        font-family: @font-swatch6-font-family;
        font-size: @font-swatch6-font-size;
        line-height: @font-swatch6-line-height;
        white-space: nowrap;
        text-align: left;
        @media @tablet {
            min-height: 44px;
            padding: 0;
            color: @color-swatch1;
            background-color: transparent;
            border: none;
        }
        &:hover {
            @media @tablet {
                color: lighten(@color-swatch4, 60%);
            }
        }
    }
    .show-content .basket-body {
        display: block;
    }
    .basket-body {
        display: none;
        position: absolute;
        top: 50px;
        width: 100%;
        max-width: 100%;
        padding: 10px;
        z-index: 9;
        background-color: @color-swatch1;
        border: 2px solid darken(@color-swatch1, 10%);
        @media only screen and (min-width:770px) {
            left: -36px;
            width: 160%;
            max-width: 160%;
        }
    }
    .basket-item {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid darken(@color-swatch1, 10%);
    }
    .basket-item-image {
        width: 60px;
        margin-right: 20px;
        margin-bottom: 5px;
        .image-link {
            width: 60px;
            height: 60px;
            line-height: 60px;
        }
    }
    .button.item-remove {
        width: 20px;
        height: 20px;
        min-height: 20px;
        line-height: 20px;
        padding: 0;
        text-align: center;
        color: @color-swatch1;
        background-color: @font-swatch6-color;
        border: none;
        @media @tablet {
            width: 40px;
            height: 40px;
            min-height: 40px;
            line-height: 40px;
        }
        &:hover {
            background-color: transparent;
            color: @color-swatch2;
        }
    }
    .basket-item-details {
        @media only screen and (min-width:770px) {
            width: 100%;
        }
    }
    .basket-item-name {
        @media only screen and (min-width:770px) {
            max-width: 100%;
        }
    }
    .view-basket {
        padding: 8px 20px;
        color: @color-swatch1;
        background-color: @font-swatch6-color;
        border: none;
        &:hover {
            color: @color-swatch1;
            background-color: @color-swatch2;
            border: none;
        }
        @media only screen and (min-width:770px) {
            width: 100%;
            text-align: center;
        }
    }
}

// ------------------
// Header Second Row
// ------------------

.header__second-row.flex-container {
    @media only screen and (min-width : 770px) {
        margin-top: 10px;
    }
    @media @tablet {
        border-top: 1px solid darken(@color-swatch1, 10%);
        padding: 10px 0;
    }
    @media @mobile {
        border-top: 0;
        padding: 0;
    }
}

.flex-page-title,
.flex-product-search {
    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    margin-bottom: 0;
    min-height: 44px;
    line-height: 44px;
}

.flex-product-search {
    @media @mobile {
        margin-top: 25px;
    }
}

// Page Title
// ------------------

.flex-page-title {
    @media @mobile {
        display: none;
    }
}

.flex-page-title {
    h1 {
        padding: 0;
    }
    .pagetitle-text {
        padding: 5px 0 0;
        color: @font-swatch6-color;
        font-size: 24px;
        line-height: 34px;
    }
}

// Style for ecom search products form is in forms-and-buttons.less

header {
    clear: both;
}

// ---------------
// Flexbox
// ---------------

.flex-container {
    .flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -moz-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
// Global style for flex items
.flex-item {
    @media only screen and (min-width : 770px) {
        margin: 10px 0;
    }
    @media @tablet {
        -webkit-box-ordinal-group: 1;
        -moz-box-ordinal-group: 1;
        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        margin-bottom: 0;
    }
}

// -------------------------------------------------------
// Header First Row: Logo, Company Name, Nav & Shop Basket
// -------------------------------------------------------

// Flex Box
// -------------------------

.header__first-row.flex-container {
    @media only screen and (min-width : 770px) {
        margin: 30px 0 20px;
    }
    @media @tablet {
        padding: 0;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.header__first-row .flex-item {
    // Reorder items for desktop
    @media only screen and (min-width : 770px) {
        margin: 10px 0;
        &.flex-shopbasket {
            -webkit-box-ordinal-group: 5;
            -moz-box-ordinal-group: 5;
            -webkit-order: 4;
            -ms-flex-order: 4;
            order: 4;
            margin: 10px 0 10px auto;
            .ecombasket {
                margin-left: 24px;
            }
        }
        &.flex-nav {
            -webkit-box-ordinal-group: 4;
            -moz-box-ordinal-group: 4;
            -webkit-order: 3;
            -ms-flex-order: 3;
            order: 3;
            .navigation-list {
                margin: 0 -12px;
            }
        }
        &.flex-logo {
            -webkit-box-ordinal-group: 2;
            -moz-box-ordinal-group: 2;
            -webkit-order: 1;
            -ms-flex-order: 1;
            order: 1;
        }
        &.flex-companyname {
            -webkit-box-ordinal-group: 3;
            -moz-box-ordinal-group: 3;
            -webkit-order: 2;
            -ms-flex-order: 2;
            order: 2;
        }
    }
}
// Social icons, logo and companyname
.flex-shopbasket,
.flex-logo,
.flex-companyname {
    -webkit-box-flex: 0;
    -moz-box-flex: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
}

// Navigation widget
.flex-nav {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    @media @tablet {
        width: 100%;
        .navigation-toggle {
            height: 44px;
        }
    }
}

// Spacing for logo and company name on tablet and mobile

@media @tablet {
    .flex-logo {
        margin-top: 30px;
        width: 100%;
        text-align: center;
        .logo-image {
            padding: 0 5%;
            margin: 0 auto;
        }
    }
    .flex-companyname {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 30px;
        text-align: center;
    }
}

// Tablet top bar background
// -------------------------

.tablet-top-bar {
    @media @tablet {
        position: absolute;
        left: 0;
        width: 100%;
        height: 46px;
        background-color: @color-swatch4;
    }
}

// Shopping Basket
// -------------------------

.ecombasket {
    .basket-item-details a,
    .basket-item-details p {
        text-align: left;
        font-size: bkscale(@font-swatch5-font-size,0.8);
        line-height: bkscale(@font-swatch5-line-height,0.8);
    }
}

.flex-shopbasket {
    min-height: 44px;
    .ecombasket .view-basket.button:hover {
        color: @color-swatch1;
    }
}

// Brand
// -------------------------

.logo {
  margin-right: 10px;
  @media @tablet {
    margin-right: 0;
    margin-bottom: 5px;
  }
}

.company-link:hover {
    color: @font-swatch6-color;
    text-decoration: none;
    .transition( all, 0.5s, ease );
}

// Navigation
// -------------------------

// Parent nav items, adds arrow icon
.item-name--parent:after {
    display: inline-block;
    vertical-align: middle;
    content: "";
    margin-left: 4px;
    border: 5px solid transparent;
    border-top-color: @font-swatch6-color;
}
.item-name--parent:hover:after {
    border-top-color: @font-swatch6-color-hover;
}

// Selected nav item

.navigation-item.selected > .item-name {
    color: @font-swatch6-color-hover;
}

// Navigation on Tablet

.extendednavigation .navigation-list {
    @media @tablet {
        margin-top: 3px;
    }
}

// Hide toggle on desktop
.navigation-toggle {
    display: none;
    @media @tablet {
        display: inline-block;
        position: absolute;
        height: 44px;
        width: 40px;
        right: 0;
        top: -44px;
        text-indent: 1000px;
        overflow: hidden;
        line-height: 0;
        background-color: @color-swatch4;
        border: none;
        &:before {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            top: 0;
            left: 50%;
            right: 0;
            margin-top: 15px;
            margin-left: -13px;
            background: @color-swatch1;
            box-shadow: 0 7px 0 @color-swatch1;
            .transition( all, 0.5s, ease );
        }
        &:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            top: 14px;
            left: 50%;
            right: 0;
            margin-top: 15px;
            margin-left: -13px;
            background: @color-swatch1;
            .transition( all, 0.5s, ease );
        }
    }
    &:hover {
        background-color: @color-swatch4;
        border: none;
        &:before {
            background: lighten(@color-swatch4, 60%);
            box-shadow: 0 7px 0 lighten(@color-swatch4, 60%);
        }
        &:after {
            background: lighten(@color-swatch4, 60%);
        }
    }
}

// Toggle Button Open State
.open & {
    &.navigation-toggle {
        background-color: transparent;
        &:before {
            width: 26px;
            margin-top: 21px;
            margin-left: -4px;
            background: @color-swatch1;
            box-shadow: none;
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
            .transition( all, 0.5s, ease );
        }
        &:after {
            content: '';
            position: absolute;
            width: 26px;
            height: 3px;
            top: 0;
            left: 50%;
            right: 0;
            margin-top: 21px;
            margin-left: -4px;
            background: @color-swatch1;
            box-shadow: none;
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
            .transition( all, 0.5s, ease );
        }
        &:hover {
            &:after,
            &:before {
                background: lighten(@color-swatch4, 60%);
            }
        }
    }
}

// Clears margin on ul, hides navigatio on mobile (made visible in conjunction with navigation-toggle)
.navigation-list {
    margin: 0;
    width: auto;
    @media @tablet {
        display: none;
        width: 100%;
        &.open {
            display: block;
            border-bottom: 1px solid darken(@color-swatch1, 10%);
        }
    }
}

// Sets background colour to navigation and dropdowns
.extendednavigation,
.navigation-list--children {
    @media @tablet {
        background-color: @color-swatch1;
    }
}
.navigation-list--children {
    left: inherit;
    right: 0;
    white-space: normal;
    border: 1px solid darken(@color-swatch1, 10%);
    @media @tablet {
        border-right: none;
        border-left: none;
    }
    .navigation-item--child {
        @media only screen and (min-width:770px) {
            border-bottom: 1px solid darken(@color-swatch1, 5%);
            &:last-child {
                border-bottom: none;
            }
        }
    }
}

// Sets nav items to full width on mobile and tablet
.navigation-item {
    @media @tablet {
        display: block;
    }
}

.navigation-item .item-name {
    padding: 4px 12px;
    @media @tablet {
        padding: 8px 0;
    }
}

// Fix overlay in editor on tablet and mobile

div#page-zones__template-widgets__extendednavigation-navigation-bk-overlay {
    @media @tablet {
        width: 30%;
        height: 44px;
        top: -44px !important;
        left: inherit !important;
    }
}

// Shop Basket
// -------------------

.flex-shopbasket {
    h1,
    p {
        text-align: right;
    }
    @media @tablet {
        width: 100%;
    }
    .basket-toggle {
      margin-bottom: 0;
    }
    .basket-toggle.button {
        min-height: inherit;
        padding: 5px 17px 5px 15px;
        font-family: @font-swatch6-font-family;
        font-size: @font-swatch6-font-size;
        line-height: @font-swatch6-line-height;
        white-space: nowrap;
        text-align: left;
        @media @tablet {
            min-height: 44px;
            padding: 0;
            color: @color-swatch1;
            background-color: transparent;
            border: none;
        }
        &:hover {
            @media @tablet {
                color: lighten(@color-swatch4, 60%);
            }
        }
    }
    .show-content .basket-body {
        display: block;
    }
    .basket-body {
        display: none;
        position: absolute;
        top: 50px;
        width: 100%;
        max-width: 100%;
        padding: 10px;
        z-index: 9;
        background-color: @color-swatch1;
        border: 2px solid darken(@color-swatch1, 10%);
        @media only screen and (min-width:770px) {
            left: -36px;
            width: 160%;
            max-width: 160%;
        }
    }
    .basket-item {
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid darken(@color-swatch1, 10%);
    }
    .basket-item-image {
        width: 60px;
        margin-right: 20px;
        margin-bottom: 5px;
        .image-link {
            width: 60px;
            height: 60px;
            line-height: 60px;
        }
    }
    .button.item-remove {
        width: 20px;
        height: 20px;
        min-height: 20px;
        line-height: 20px;
        padding: 0;
        text-align: center;
        color: @color-swatch1;
        background-color: @font-swatch6-color;
        border: none;
        @media @tablet {
            width: 40px;
            height: 40px;
            min-height: 40px;
            line-height: 40px;
        }
        &:hover {
            background-color: transparent;
            color: @color-swatch2;
        }
    }
    .basket-item-details {
        @media only screen and (min-width:770px) {
            width: 100%;
        }
    }
    .basket-item-name {
        @media only screen and (min-width:770px) {
            max-width: 100%;
        }
    }
    .view-basket {
        padding: 8px 20px;
        color: @color-swatch1;
        background-color: @font-swatch6-color;
        border: none;
        &:hover {
            color: @color-swatch1;
            background-color: @color-swatch2;
            border: none;
        }
        @media only screen and (min-width:770px) {
            width: 100%;
            text-align: center;
        }
    }
}

// ------------------
// Header Second Row
// ------------------

.header__second-row.flex-container {
    @media only screen and (min-width : 770px) {
        margin-top: 10px;
    }
    @media @tablet {
        border-top: 1px solid darken(@color-swatch1, 10%);
        padding: 10px 0;
    }
    @media @mobile {
        border-top: 0;
        padding: 0;
    }
}

.flex-page-title,
.flex-product-search {
    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    margin-bottom: 0;
    min-height: 44px;
    line-height: 44px;
}

// Page Title
// ------------------

.flex-page-title {
    @media @mobile {
        display: none;
    }
}

.flex-page-title {
    h1 {
        padding: 0;
    }
    .pagetitle-text {
        padding: 5px 0 0;
        color: @font-swatch6-color;
        font-size: 24px;
        line-height: 34px;
    }
}

// Style for ecom search products form is in forms-and-buttons.less


Changed .input-group-addon to use @input-border-radius (along with sm/lg variations)

//
// Input groups
// --------------------------------------------------

// Base styles
// -------------------------
.input-group {
  position: relative; // For dropdowns
  display: table;
  border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table

  // Undo padding and float of grid classes
  &[class*="col-"] {
    float: none;
    padding-left: 0;
    padding-right: 0;
  }

  .form-control {
    // Ensure that the input is always above the *appended* addon button for
    // proper border colors.
    position: relative;
    z-index: 2;

    // IE9 fubars the placeholder attribute in text inputs and the arrows on
    // select elements in input groups. To fix it, we float the input. Details:
    // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
    float: left;

    width: 100%;
    margin-bottom: 0;
  }
}

// Sizing options
//
// Remix the default form control sizing classes into new ones for easier
// manipulation.

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
  .input-lg();
}
.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  .input-sm();
}

// Display as table-cell
// -------------------------
.input-group-addon,
.input-group-btn,
.input-group .form-control {
  display: table-cell;

  &:not(:first-child):not(:last-child) {
    border-radius: 0;
  }
}
// Addon and addon wrapper for buttons
.input-group-addon,
.input-group-btn {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle; // Match the inputs
}

// Text input groups
// -------------------------
.input-group-addon {
  padding: @padding-base-vertical @padding-base-horizontal;
  font-size: @font-size-base;
  font-weight: normal;
  line-height: 1;
  color: @input-color;
  text-align: center;
  background-color: @input-group-addon-bg;
  border: 1px solid @input-group-addon-border-color;
  border-radius: @input-border-radius;

  // Sizing
  &.input-sm {
    padding: @padding-small-vertical @padding-small-horizontal;
    font-size: @font-size-small;
    border-radius: @input-border-radius-small;
  }
  &.input-lg {
    padding: @padding-large-vertical @padding-large-horizontal;
    font-size: @font-size-large;
    border-radius: @input-border-radius-large;
  }

  // Nuke default margins from checkboxes and radios to vertically center within.
  input[type="radio"],
  input[type="checkbox"] {
    margin-top: 0;
  }
}

// Reset rounded corners
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
  .border-right-radius(0);
}
.input-group-addon:first-child {
  border-right: 0;
}
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
  .border-left-radius(0);
}
.input-group-addon:last-child {
  border-left: 0;
}

// Button input groups
// -------------------------
.input-group-btn {
  position: relative;
  // Jankily prevent input button groups from wrapping with `white-space` and
  // `font-size` in combination with `inline-block` on buttons.
  font-size: 0;
  white-space: nowrap;

  // Negative margin for spacing, position for bringing hovered/focused/actived
  // element above the siblings.
  > .btn {
    position: relative;
    + .btn {
      margin-left: -1px;
    }
    // Bring the "active" button to the front
    &:hover,
    &:focus,
    &:active {
      z-index: 2;
    }
  }

  // Negative margin to only have a 1px border between the two
  &:first-child {
    > .btn,
    > .btn-group {
      margin-right: -1px;
    }
  }
  &:last-child {
    > .btn,
    > .btn-group {
      z-index: 2;
      margin-left: -1px;
    }
  }
}

//
// Input groups
// --------------------------------------------------

// Base styles
// -------------------------
.input-group {
  position: relative; // For dropdowns
  display: table;
  border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table

  // Undo padding and float of grid classes
  &[class*="col-"] {
    float: none;
    padding-left: 0;
    padding-right: 0;
  }

  .form-control {
    // Ensure that the input is always above the *appended* addon button for
    // proper border colors.
    position: relative;
    z-index: 2;

    // IE9 fubars the placeholder attribute in text inputs and the arrows on
    // select elements in input groups. To fix it, we float the input. Details:
    // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
    float: left;

    width: 100%;
    margin-bottom: 0;
  }
}

// Sizing options
//
// Remix the default form control sizing classes into new ones for easier
// manipulation.

.input-group-lg > .form-control,
.input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn {
  .input-lg();
}
.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  .input-sm();
}

// Display as table-cell
// -------------------------
.input-group-addon,
.input-group-btn,
.input-group .form-control {
  display: table-cell;

  &:not(:first-child):not(:last-child) {
    border-radius: 0;
  }
}
// Addon and addon wrapper for buttons
.input-group-addon,
.input-group-btn {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle; // Match the inputs
}

// Text input groups
// -------------------------
.input-group-addon {
  padding: @padding-base-vertical @padding-base-horizontal;
  font-size: @font-size-base;
  font-weight: normal;
  line-height: 1;
  color: @input-color;
  text-align: center;
  background-color: @input-group-addon-bg;
  border: 1px solid @input-group-addon-border-color;
  border-radius: @border-radius-base;

  // Sizing
  &.input-sm {
    padding: @padding-small-vertical @padding-small-horizontal;
    font-size: @font-size-small;
    border-radius: @border-radius-small;
  }
  &.input-lg {
    padding: @padding-large-vertical @padding-large-horizontal;
    font-size: @font-size-large;
    border-radius: @border-radius-large;
  }

  // Nuke default margins from checkboxes and radios to vertically center within.
  input[type="radio"],
  input[type="checkbox"] {
    margin-top: 0;
  }
}

// Reset rounded corners
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
  .border-right-radius(0);
}
.input-group-addon:first-child {
  border-right: 0;
}
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child),
.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
  .border-left-radius(0);
}
.input-group-addon:last-child {
  border-left: 0;
}

// Button input groups
// -------------------------
.input-group-btn {
  position: relative;
  // Jankily prevent input button groups from wrapping with `white-space` and
  // `font-size` in combination with `inline-block` on buttons.
  font-size: 0;
  white-space: nowrap;

  // Negative margin for spacing, position for bringing hovered/focused/actived
  // element above the siblings.
  > .btn {
    position: relative;
    + .btn {
      margin-left: -1px;
    }
    // Bring the "active" button to the front
    &:hover,
    &:focus,
    &:active {
      z-index: 2;
    }
  }

  // Negative margin to only have a 1px border between the two
  &:first-child {
    > .btn,
    > .btn-group {
      margin-right: -1px;
    }
  }
  &:last-child {
    > .btn,
    > .btn-group {
      z-index: 2;
      margin-left: -1px;
    }
  }
}


Initial topic sidebar styles

Initial topic sidebar styles

// Categories view

.topics {
  ul {
    height: 0;
    overflow: hidden;
  }

  .expand {
    height: auto;
  }

  li > ul {
    list-style: none;
  }

  i { color: #0F5391; }
}