/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *

*/


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

  body {
    color: #000;
    min-width: 320px !important;
    height: 100%;
    font-family: Museo Sans;
  }

  .scorebar_segment {
    width: 18%;
  }

  input {
    color: #000;
  }

  .mob, .not-desk {
    display: inherit;
  }

  /* Structure */
  .container {
    width: 100%;
  }

  .terms_box{
    border-radius: 0;
  }

  .grid1,
  .grid2,
  .grid3,
  .grid4,
  .grid5,
  .grid6,
  .grid7,
  .grid8,
  .grid9,
  .grid10,
  .grid11,
  .grid12 {
    display: inline;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
  }

  .container .grid1 {
    width: 60px;
  }

  .container .grid2 {
    width: 140px;
  }

  .container .grid3 {
    width: 220px;
  }

  .container .grid4 {
    width: 300px;
  }

  .container .grid5 {
    width: 380px;
  }

  .container .grid6 {
    width: 460px;
  }

  .container .grid7 {
    width: 540px;
  }

  .container .grid8 {
    width: 620px;
  }

  .container .grid9 {
    width: 700px;
  }

  .container .grid10 {
    width: 780px;
  }

  .container .grid11 {
    width: 860px;
  }

  .container .grid12 {
    width: 320px;
  }

  a:hover, a:focus {
    color: #000;
    text-decoration: underline;
  }

  .find_my_car .leaflet-left {
    top: 100px;
  }

  p {
    margin-bottom: 22px;
    font-size: 0.9em;
    line-height: 1.6;
  }

  blockquote {
    color: #cc3333;
    margin-bottom: 22px;
  }

  .meta {
    font-size: 0.8em;
    color: #777;
    font-weight: normal;
  }

  .positive {
    color: green;
  }

  .negative {
    color: red;
  }

  /* tables */
  table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
  }

  td.center, th.center {
    text-align: center !important;
  }

  .table {
    width: 100%;
    margin-bottom: 20px;
  }

  .table th,
  .table td {
    padding: 5px;
    line-height: 1.2;
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid #dddddd;
  }

  .table th {
    font-weight: bold;
  }

  .table thead th {
    vertical-align: bottom;
  }

  .table caption + thead tr:first-child th,
  .table caption + thead tr:first-child td,
  .table colgroup + thead tr:first-child th,
  .table colgroup + thead tr:first-child td,
  .table thead:first-child tr:first-child th,
  .table thead:first-child tr:first-child td {
    border-top: 0;
  }

  .table tbody + tbody {
    border-top: 2px solid #dddddd;
  }

  .table .table {
    background-color: #ffffff;
  }

  .table-condensed th,
  .table-condensed td {
    padding: 4px 5px;
  }

  .table-bordered {
    border: 1px solid #dddddd;
    border-collapse: collapse;
    border-left: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }

  .table-bordered th,
  .table-bordered td {
    border-left: 1px solid #dddddd;
  }

  .table-bordered caption + thead tr:first-child th,
  .table-bordered caption + tbody tr:first-child th,
  .table-bordered caption + tbody tr:first-child td,
  .table-bordered colgroup + thead tr:first-child th,
  .table-bordered colgroup + tbody tr:first-child th,
  .table-bordered colgroup + tbody tr:first-child td,
  .table-bordered thead:first-child tr:first-child th,
  .table-bordered tbody:first-child tr:first-child th,
  .table-bordered tbody:first-child tr:first-child td {
    border-top: 0;
  }

  .table-bordered thead:first-child tr:first-child > th:first-child,
  .table-bordered tbody:first-child tr:first-child > td:first-child,
  .table-bordered tbody:first-child tr:first-child > th:first-child {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
  }

  .table-bordered thead:first-child tr:first-child > th:last-child,
  .table-bordered tbody:first-child tr:first-child > td:last-child,
  .table-bordered tbody:first-child tr:first-child > th:last-child {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
  }

  .table-bordered thead:last-child tr:last-child > th:first-child,
  .table-bordered tbody:last-child tr:last-child > td:first-child,
  .table-bordered tbody:last-child tr:last-child > th:first-child,
  .table-bordered tfoot:last-child tr:last-child > td:first-child,
  .table-bordered tfoot:last-child tr:last-child > th:first-child {
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
  }

  .table-bordered thead:last-child tr:last-child > th:last-child,
  .table-bordered tbody:last-child tr:last-child > td:last-child,
  .table-bordered tbody:last-child tr:last-child > th:last-child,
  .table-bordered tfoot:last-child tr:last-child > td:last-child,
  .table-bordered tfoot:last-child tr:last-child > th:last-child {
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
  }

  .table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-left-radius: 0;
  }

  .table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
  }

  .table-bordered caption + thead tr:first-child th:first-child,
  .table-bordered caption + tbody tr:first-child td:first-child,
  .table-bordered colgroup + thead tr:first-child th:first-child,
  .table-bordered colgroup + tbody tr:first-child td:first-child {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
  }

  .table-bordered caption + thead tr:first-child th:last-child,
  .table-bordered caption + tbody tr:first-child td:last-child,
  .table-bordered colgroup + thead tr:first-child th:last-child,
  .table-bordered colgroup + tbody tr:first-child td:last-child {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
  }

  .table-striped tbody > tr:nth-child(odd) > td,
  .table-striped tbody > tr:nth-child(odd) > th {
    background-color: #f8e8e8;
    font-size: 0.9em;
  }

  .table-striped tbody > tr:nth-child(even) > td,
  .table-striped tbody > tr:nth-child(even) > th {
    background-color: #f4f9fc;
    font-size: 0.9em;
  }

  .table-hover tbody tr:hover > td,
  .table-hover tbody tr:hover > th {
    background-color: #f5f5f5;
  }

  table td[class*="span"],
  table th[class*="span"],
  .row-fluid table td[class*="span"],
  .row-fluid table th[class*="span"] {
    display: table-cell;
    float: none;
    margin-left: 0;
  }

  .table td.span1,
  .table th.span1 {
    float: none;
    width: 44px;
    margin-left: 0;
  }

  .table td.span2,
  .table th.span2 {
    float: none;
    width: 124px;
    margin-left: 0;
  }

  .table td.span3,
  .table th.span3 {
    float: none;
    width: 204px;
    margin-left: 0;
  }

  .table td.span4,
  .table th.span4 {
    float: none;
    width: 284px;
    margin-left: 0;
  }

  .table td.span5,
  .table th.span5 {
    float: none;
    width: 364px;
    margin-left: 0;
  }

  .table td.span6,
  .table th.span6 {
    float: none;
    width: 444px;
    margin-left: 0;
  }

  .table td.span7,
  .table th.span7 {
    float: none;
    width: 524px;
    margin-left: 0;
  }

  .table td.span8,
  .table th.span8 {
    float: none;
    width: 604px;
    margin-left: 0;
  }

  .table td.span9,
  .table th.span9 {
    float: none;
    width: 684px;
    margin-left: 0;
  }

  .table td.span10,
  .table th.span10 {
    float: none;
    width: 764px;
    margin-left: 0;
  }

  .table td.span11,
  .table th.span11 {
    float: none;
    width: 844px;
    margin-left: 0;
  }

  .table td.span12,
  .table th.span12 {
    float: none;
    width: 924px;
    margin-left: 0;
  }

  .table tbody tr.success > td {
    background-color: #dff0d8;
  }

  .table tbody tr.error > td {
    background-color: #f2dede;
  }

  .table tbody tr.warning > td {
    background-color: #fcf8e3;
  }

  .table tbody tr.info > td {
    background-color: #d9edf7;
  }

  .table-hover tbody tr.success:hover > td {
    background-color: #d0e9c6;
  }

  .table-hover tbody tr.error:hover > td {
    background-color: #ebcccc;
  }

  .table-hover tbody tr.warning:hover > td {
    background-color: #faf2cc;
  }

  .table-hover tbody tr.info:hover > td {
    background-color: #c4e3f3;
  }

  /*theme*/
  #main_container {
    min-height: 760px;
    background-color: #f4f4f4;
    padding-bottom: 30px;
    margin-bottom: 40px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.25);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
  }

  #top_bar {
    background-color: #cc3333;
    margin-bottom: 10px;
    height: 50px;
    border-top: 1px solid #111111;
  }

  #main_footer_content {
    margin-top: 70px;
    margin-bottom: 60px;
    width: 88%;
    margin-left: 6%
  }

  #main_footer_content h3 {
    margin-bottom: 5px;
  }

  #main_footer_content a {
    color: #323232;
    text-decoration: none;
    display: block;
    margin-top: 15px;
  }

  #footer_wrap .footer-section {
    width: 100%;
    margin-bottom: 30px;
  }

  #footer-small-text {
    width: auto;
    padding: 80px 6%;
  }

  #footer_wrap .float-mobile {
    float: left;
  }

  #footer_wrap .float-mobile.mobile-footer-width {
    width: 50%;
  }

  #footer_wrap .float-mobile.social-icons-width {
    width: 25%;
  }

  #main_footer_content a:hover {
    color: #ee1c25;
    text-decoration: underline;
  }

  span.score {
    height: 28px;
    width: 28px;
    display: inline-block;
    background-image: url(/small_circle_highlight.png);
    line-height: 28px;
    font-weight: bold;
    text-align: center;
  }

  /* nav */
  #top_bar .app_logo {
    float: left;
    position: relative;
    display: block;
    top: 8px;
    height: 30px;
    width: 141px;
    padding-right: 70px;
    border-right: 1px solid #971111;
    text-indent: -9000px;
    background: transparent url(/driveplus_logo.png) no-repeat 0% 100%;
  }

  #client_branding {
    display: block;
    margin-top: -10px;
    margin-bottom: 5px;
  }

  #client_branding .client_logo {
    display: block;
    float: left;
    width: 152px;
    height: 50px;
    margin-top: 0px;
    background: transparent url(/directline_logo_transp.png) no-repeat 0 0;
    text-indent: -90000px;
  }

  #client_branding .client_badge {
    display: block;
    float: right;
    width: 150px;
    height: 40px;
    margin-top: 8px;
    background: transparent url(/tayb_badge.png) no-repeat 0 0;
    text-indent: -90000px;
  }

  .nav > li > a {
    display: block;
  }

  .nav > li > a:hover,
  .nav > li > a:focus {
    text-decoration: none;
    background-color: #eeeeee;
  }

  .nav > li > a > img {
    max-width: none;
  }

  .nav > .pull-right {
    float: right;
  }

  .nav-header {
    display: block;
    padding: 3px 15px;
    font-size: 11px;
    font-weight: bold;
    line-height: 20px;
    color: #999999;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
  }

  .nav li + .nav-header {
    margin-top: 9px;
  }

  .nav-list {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0;
  }

  .nav-list > li > a,
  .nav-list .nav-header {
    margin-left: -15px;
    margin-right: -15px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .nav-list > li > a {
    padding: 3px 15px;
  }

  .nav-list > .active > a,
  .nav-list > .active > a:hover,
  .nav-list > .active > a:focus {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    background-color: #0088cc;
  }

  .nav-list [class^="icon-"],
  .nav-list [class*=" icon-"] {
    margin-right: 2px;
  }

  .nav-list .divider {
    *width: 100%;
    height: 1px;
    margin: 9px 1px;
    *margin: -5px 0 5px;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
  }

  .nav-tabs,
  .nav-pills {
    *zoom: 1;
  }

  .nav-tabs:before,
  .nav-pills:before,
  .nav-tabs:after,
  .nav-pills:after {
    display: table;
    content: "";
    line-height: 0;
  }

  .nav-tabs:after,
  .nav-pills:after {
    clear: both;
  }

  .nav-tabs > li,
  .nav-pills > li {
    float: left;
  }

  .nav-tabs > li > a,
  .nav-pills > li > a {
    padding-right: 12px;
    padding-left: 12px;
    margin-right: 2px;
    line-height: 14px;
  }

  .nav-tabs {
    border-bottom: 1px solid #ddd;
    margin-top: 20px;
  }

  .nav-tabs > li {
    margin-bottom: -1px;
  }

  .nav-tabs > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 20px;
    border: 1px solid transparent;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    color: #666;
  }

  .nav-tabs > li > a:hover,
  .nav-tabs > li > a:focus {
    border-color: #eeeeee #eeeeee #dddddd;
    background: #cc3333;
    color: #fff;
  }

  .nav-tabs > .active > a,
  .nav-tabs > .active > a:hover,
  .nav-tabs > .active > a:focus {
    color: #111111;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default;
    font-weight: bold;
  }

  .nav-pills > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }

  .nav-pills > .active > a,
  .nav-pills > .active > a:hover,
  .nav-pills > .active > a:focus {
    color: #ffffff;
    background-color: #0088cc;
  }

  .nav-stacked > li {
    float: none;
  }

  .nav-stacked > li > a {
    margin-right: 0;
  }

  .nav-tabs.nav-stacked {
    border-bottom: 0;
  }

  .nav-tabs.nav-stacked > li > a {
    border: 1px solid #ddd;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }

  .nav-tabs.nav-stacked > li:first-child > a {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
  }

  .nav-tabs.nav-stacked > li:last-child > a {
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
  }

  .nav-tabs.nav-stacked > li > a:hover,
  .nav-tabs.nav-stacked > li > a:focus {
    border-color: #ddd;
    z-index: 2;
  }

  .nav-pills.nav-stacked > li > a {
    margin-bottom: 3px;
  }

  .nav-pills.nav-stacked > li:last-child > a {
    margin-bottom: 1px;
  }

  .nav-tabs .dropdown-menu {
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
  }

  .nav-pills .dropdown-menu {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
  }

  .nav .dropdown-toggle .caret {
    border-top-color: #0088cc;
    border-bottom-color: #0088cc;
    margin-top: 6px;
  }

  .nav .dropdown-toggle:hover .caret,
  .nav .dropdown-toggle:focus .caret {
    border-top-color: #005580;
    border-bottom-color: #005580;
  }

  /* move down carets for tabs */
  .nav-tabs .dropdown-toggle .caret {
    margin-top: 8px;
  }

  .nav .active .dropdown-toggle .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
  }

  .nav-tabs .active .dropdown-toggle .caret {
    border-top-color: #555555;
    border-bottom-color: #555555;
  }

  .nav > .dropdown.active > a:hover,
  .nav > .dropdown.active > a:focus {
    cursor: pointer;
  }

  .nav-tabs .open .dropdown-toggle,
  .nav-pills .open .dropdown-toggle,
  .nav > li.dropdown.open.active > a:hover,
  .nav > li.dropdown.open.active > a:focus {
    color: #ffffff;
    background-color: #999999;
    border-color: #999999;
  }

  .nav li.dropdown.open .caret,
  .nav li.dropdown.open.active .caret,
  .nav li.dropdown.open a:hover .caret,
  .nav li.dropdown.open a:focus .caret {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
    opacity: 1;
    filter: alpha(opacity=100);
  }

  .tabs-stacked .open > a:hover,
  .tabs-stacked .open > a:focus {
    border-color: #999999;
  }

  .tabbable {
    *zoom: 1;
  }

  .tabbable:before,
  .tabbable:after {
    display: table;
    content: "";
    line-height: 0;
  }

  .tabbable:after {
    clear: both;
  }

  .tab-content {
    overflow: auto;
    padding: 0px 10px 20px 10px;
  }

  .tab-content ul h3 {
    color: #cc3333;
    font-weight: normal;
    margin-top: 30px;
  }

  .tab-content ul li {
    padding: 0px 0 10px 0;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 30px;
  }

  .tabs-below > .nav-tabs,
  .tabs-right > .nav-tabs,
  .tabs-left > .nav-tabs {
    border-bottom: 0;
  }

  .tab-content > .tab-pane,
  .pill-content > .pill-pane {
    display: none;
  }

  .tab-content > .active,
  .pill-content > .active {
    display: block;
  }

  .tabs-below > .nav-tabs {
    border-top: 1px solid #ddd;
  }

  .tabs-below > .nav-tabs > li {
    margin-top: -1px;
    margin-bottom: 0;
  }

  .tabs-below > .nav-tabs > li > a {
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
  }

  .tabs-below > .nav-tabs > li > a:hover,
  .tabs-below > .nav-tabs > li > a:focus {
    border-bottom-color: transparent;
    border-top-color: #ddd;
  }

  .tabs-below > .nav-tabs > .active > a,
  .tabs-below > .nav-tabs > .active > a:hover,
  .tabs-below > .nav-tabs > .active > a:focus {
    border-color: transparent #ddd #ddd #ddd;
  }

  .tabs-left > .nav-tabs > li,
  .tabs-right > .nav-tabs > li {
    float: none;
  }

  .tabs-left > .nav-tabs > li > a,
  .tabs-right > .nav-tabs > li > a {
    min-width: 74px;
    margin-right: 0;
    margin-bottom: 3px;
  }

  .tabs-left > .nav-tabs {
    float: left;
    margin-right: 19px;
    border-right: 1px solid #ddd;
  }

  .tabs-left > .nav-tabs > li > a {
    margin-right: -1px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
  }

  .tabs-left > .nav-tabs > li > a:hover,
  .tabs-left > .nav-tabs > li > a:focus {
    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
  }

  .tabs-left > .nav-tabs .active > a,
  .tabs-left > .nav-tabs .active > a:hover,
  .tabs-left > .nav-tabs .active > a:focus {
    border-color: #ddd transparent #ddd #ddd;
    *border-right-color: #ffffff;
  }

  .tabs-right > .nav-tabs {
    float: right;
    margin-left: 19px;
    border-left: 1px solid #ddd;
  }

  .tabs-right > .nav-tabs > li > a {
    margin-left: -1px;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
  }

  .tabs-right > .nav-tabs > li > a:hover,
  .tabs-right > .nav-tabs > li > a:focus {
    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
  }

  .tabs-right > .nav-tabs .active > a,
  .tabs-right > .nav-tabs .active > a:hover,
  .tabs-right > .nav-tabs .active > a:focus {
    border-color: #ddd #ddd #ddd transparent;
    *border-left-color: #ffffff;
  }

  .nav > .disabled > a {
    color: #999999;
  }

  .nav > .disabled > a:hover,
  .nav > .disabled > a:focus {
    text-decoration: none;
    background-color: transparent;
    cursor: default;
  }

  .dropup,
  .dropdown {
    position: relative;
  }

  .dropdown-toggle {
    *margin-bottom: -3px;
  }

  .dropdown-toggle:active,
  .open .dropdown-toggle {
    outline: 0;
  }

  .caret {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 4px solid #000000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
  }

  .dropdown .caret {
    margin-top: 8px;
    margin-left: 2px;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    /*-moz-background-clip: padding;*/
    background-clip: padding-box;
  }

  .dropdown-menu.pull-right {
    right: 0;
    left: auto;
  }

  .dropdown-menu .divider {
    *width: 100%;
    height: 1px;
    margin: 9px 1px;
    *margin: -5px 0 5px;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: 1px solid #ffffff;
  }

  .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333333;
    white-space: nowrap;
  }

  .dropdown-menu > li > a:hover,
  .dropdown-menu > li > a:focus,
  .dropdown-submenu:hover > a,
  .dropdown-submenu:focus > a {
    text-decoration: none;
    color: #ffffff;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  }

  .dropdown-menu > .active > a,
  .dropdown-menu > .active > a:hover,
  .dropdown-menu > .active > a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  }

  .dropdown-menu > .disabled > a,
  .dropdown-menu > .disabled > a:hover,
  .dropdown-menu > .disabled > a:focus {
    color: #999999;
  }

  .dropdown-menu > .disabled > a:hover,
  .dropdown-menu > .disabled > a:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    cursor: default;
  }

  .open {
    *z-index: 1000;
  }

  .open > .dropdown-menu {
    display: block;
  }

  .dropdown-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 990;
  }

  .pull-right > .dropdown-menu {
    right: 0;
    left: auto;
  }

  .dropup .caret,
  .navbar-fixed-bottom .dropdown .caret {
    border-top: 0;
    border-bottom: 4px solid #000000;
    content: "";
  }

  .dropup .dropdown-menu,
  .navbar-fixed-bottom .dropdown .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 1px;
  }

  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .dropup .dropdown-submenu > .dropdown-menu {
    top: auto;
    bottom: 0;
    margin-top: 0;
    margin-bottom: -2px;
    -webkit-border-radius: 5px 5px 5px 0;
    -moz-border-radius: 5px 5px 5px 0;
    border-radius: 5px 5px 5px 0;
  }

  .dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
  }

  .dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
  }

  .dropdown-submenu.pull-left {
    float: none;
  }

  .dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
  }

  .dropdown .dropdown-menu .nav-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .typeahead {
    z-index: 1051;
    margin-top: 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }

  nav {
    display: inline-block;
    margin: 0;
    padding: 0;
  }

  #main_nav {
    top: 0px;
    right: 0px;
    overflow: hidden;
    width: 140px;
    height: 100%;
    margin-left: 20px;
  }

  #main_nav ul {
    margin-left: 0px;
    width: 120px;
  }

  #main_nav ul li a {
    font-size: 16px;
  }

  #main_nav li a {
    color: white;
    display: block;
    font-weight: 100;
    font-size: 18px;
    padding-top: 10px;
    height: 12px;
    padding-bottom: 14px;
    text-align: left;
    vertical-align: middle;
    text-decoration: none;
    border-bottom: 1px solid #cccccc;
    width: 147px;
    padding-left: 3px;
    letter-spacing: -0.5px;
  }

  #main_nav li a.selected {
    font-weight: bold;
  }

  #main_nav li a:hover {
    font-weight: bold;
    font-family: Museo Sans;
  }

  #main_nav > li:first-child a {
    border-top: 0px solid #cccccc;
  }

  #main_nav li a:hover {
    background-color: transparent;
  }

  .dropdown-menu:after {
    position: absolute;
    top: -6px;
    right: 3px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    border-left: 6px solid transparent;
    content: '';
  }

  .right .dropdown-menu {
    right: -2px;
    top: 36px;
    left: auto;
  }

  #user_dropdown {
    position: relative;
    top: 8px;
    background: url(/user_drop.png) no-repeat top right;
    display: block;
    width: 50px;
    height: 30px;
  }

  #main_nav li {
    position: relative;
  }

  #main_nav li.selected a span {
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 10px solid #cc3333;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    top: 50px;
  }

  /* overview panel */
  #overview_panel {
    position: relative;
    padding: 12px;
    left: 45px;
    margin: 30px 0;
    width: 871px;
    height: 262px;
    background: url(/panel_bg.png) no-repeat;
  }

  #panel_left {
    position: relative;
    width: 428px;
    float: left;
    height: 260px;
    border-right: 1px solid #aaa;
  }

  #panel_right {
    width: 440px;
    float: left;
    height: 260px;
    border-left: 1px solid #fff;
  }

  #panel_right .inner {
    padding-right: 0px;
    padding-top: 0px;
  }

  #panel_left .inner {
    padding-left: 0px;
    padding-bottom: 0px;
  }

  #panel_right .inner h4 {
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 8px;
  }

  #panel_score {
    position: absolute;
    color: #faf7cf;
    top: -24px;
    left: -57px;
    width: 104px;
    height: 104px;
    background: url(/score_bubble.png) no-repeat;
    text-align: center;
    font-size: 2em;
    line-height: 70px;
  }

  #panel_score .indicator {
    width: 14px;
    height: 14px;
    position: relative;
    left: 72px;
    bottom: 33px;
    background: url(/positive_indicator.png) no-repeat;
  }

  #panel_goal {
    border-bottom: 1px solid #aaa;
    padding-left: 56px;
  }

  #panel_goal .progress {
    margin-bottom: 4px;
    position: relative;
  }

  #panel_goal .distance_marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 364px;
    height: 16px;
    background: url(/distance_marker.png) no-repeat;
  }

  #panel_goal #panel_goal_boundaries {
    font-size: 0.7em;
    color: #555;
    margin-bottom: 6px;
  }

  #panel_goal_target {
    color: #003366;
    font-weight: bold;
    line-height: 0.9;
    display: block;
    position: absolute;
    right: 8px;
    top: 52px;
    width: 45px;
    height: 45px;
    background: url(/big_circle_highlight.png) no-repeat;
    text-align: center;
  }

  #panel_goal_target .meta {
    font-size: 0.7em;
  }

  #panel_goal_target .inner {
    padding: 10px 0;
  }

  #panel_meta {
    border-top: 1px solid #fff;
    padding-top: 11px;
  }

  #panel_meta table {
    background-color: #fafafa;
    border: 1px solid #aaa;
    font-size: 0.9em;
  }

  #panel_meta table td {
    height: 28px;
  }

  #panel_meta table td.blue {
    color: #003366;
    font-weight: bold;
  }

  #panel_latest_journeys {
    border: 1px solid #ccc;
    font-size: 0.80em
  }

  #panel_latest_journeys tr:first-child th {
    background: #f3f3f3 url(/table_th_bg.jpg) repeat-x 0 50%;
    border-bottom: 1px solid #CC3333;
    padding: 14px 5px 6px;
  }

  #panel_latest_journeys a {
    color: #555;
  }

  /* sprites */
  .sprite {
    background: transparent url(/icons_sprite.png) no-repeat;
    display: inline-block;
    width: 27px;
    height: 20px;
  }

  .sprite.car {
    background-position: -6px -9px;
  }

  .sprite.line_graph {
    background-position: -6px -49px;
  }

  .sprite.bar_graph {
    background-position: -6px -89px;
  }

  .sprite.bulb {
    background-position: -6px -126px;
    height: 26px;
  }

  /* maps */
  #map-canvas {
    width: 100%;
    height: 100%;
    background: #eee;
  }

  .journey_map {
    height: 275px;
  }

  .name_this_journey {
    font-size: 13px;
    margin-top: 15px;
    margin-left: 0px;
  }

  #journey_name {
    margin-left: 8px;
    height: 18px;
    width: 134px;
    border: solid 1px #ccc;
  }

  /* Progres bars */
  @-webkit-keyframes progress-bar-stripes {
    from {
      background-position: 40px 0;
    }
    to {
      background-position: 0 0;
    }
  }

  @-moz-keyframes progress-bar-stripes {
    from {
      background-position: 40px 0;
    }
    to {
      background-position: 0 0;
    }
  }

  @-ms-keyframes progress-bar-stripes {
    from {
      background-position: 40px 0;
    }
    to {
      background-position: 0 0;
    }
  }

  @-o-keyframes progress-bar-stripes {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 40px 0;
    }
  }

  @keyframes progress-bar-stripes {
    from {
      background-position: 40px 0;
    }
    to {
      background-position: 0 0;
    }
  }

  .progress {
    overflow: hidden;
    height: 16px;
    margin-bottom: 20px;
    background-color: #f7f7f7;
    background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
    background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
    background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
    background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #888;
  }

  .progress .bar {
    width: 0%;
    height: 100%;
    color: #ffffff;
    float: left;
    font-size: 12px;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #0e90d2;
    background-image: -moz-linear-gradient(top, #91ca00, #78a504);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#91ca00), to(#78a504));
    background-image: -webkit-linear-gradient(top, #91ca00, #78a504);
    background-image: -o-linear-gradient(top, #91ca00, #78a504);
    background-image: linear-gradient(to bottom, #91ca00, #78a504);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff91ca00', endColorstr='#ff78a504', GradientType=0);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: width 0.6s ease;
    -moz-transition: width 0.6s ease;
    -o-transition: width 0.6s ease;
    transition: width 0.6s ease;
  }

  .progress .bar + .bar {
    -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 1px 0 0 rgba(0, 0, 0, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);
  }

  .progress-striped .bar {
    background-color: #149bdf;
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    -webkit-background-size: 40px 40px;
    -moz-background-size: 40px 40px;
    -o-background-size: 40px 40px;
    background-size: 40px 40px;
  }

  .progress.active .bar {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -moz-animation: progress-bar-stripes 2s linear infinite;
    -ms-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
  }

  .progress-danger .bar,
  .progress .bar-danger {
    background-color: #dd514c;
    background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
    background-image: linear-gradient(to bottom, #ee5f5b, #c43c35);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0);
  }

  .progress-danger.progress-striped .bar,
  .progress-striped .bar-danger {
    background-color: #ee5f5b;
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }

  .progress-success .bar,
  .progress .bar-success {
    background-color: #5eb95e;
    background-image: -moz-linear-gradient(top, #62c462, #57a957);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));
    background-image: -webkit-linear-gradient(top, #62c462, #57a957);
    background-image: -o-linear-gradient(top, #62c462, #57a957);
    background-image: linear-gradient(to bottom, #62c462, #57a957);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0);
  }

  .progress-success.progress-striped .bar,
  .progress-striped .bar-success {
    background-color: #62c462;
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }

  .progress-info .bar,
  .progress .bar-info {
    background-color: #4bb1cf;
    background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));
    background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
    background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
    background-image: linear-gradient(to bottom, #5bc0de, #339bb9);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0);
  }

  .progress-info.progress-striped .bar,
  .progress-striped .bar-info {
    background-color: #5bc0de;
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }

  .progress-warning .bar,
  .progress .bar-warning {
    background-color: #faa732;
    background-image: -moz-linear-gradient(top, #fbb450, #f89406);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
    background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
    background-image: -o-linear-gradient(top, #fbb450, #f89406);
    background-image: linear-gradient(to bottom, #fbb450, #f89406);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
  }

  .progress-warning.progress-striped .bar,
  .progress-striped .bar-warning {
    background-color: #fbb450;
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  }

  /* alerts */
  .alert {
    padding: 8px 35px 8px 14px;
    margin: 20px 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }

  .alert,
  .alert h4 {
    color: #c09853;
  }

  .alert h4 {
    margin: 0;
  }

  .alert .close {
    position: relative;
    top: -2px;
    right: -21px;
    line-height: 20px;
  }

  .alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
  }

  .alert-success h4 {
    color: #468847;
  }

  .alert-danger,
  .alert-error {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
  }

  .alert-danger h4,
  .alert-error h4 {
    color: #b94a48;
  }

  .alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
  }

  .alert-info h4 {
    color: #3a87ad;
  }

  .alert-block {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .alert-block > p,
  .alert-block > ul {
    margin-bottom: 0;
  }

  .alert-block p + p {
    margin-top: 5px;
  }

  /* pagination */
  .pagination {
    margin: 20px 0;
  }

  .pagination ul {
    display: inline-block;
    *display: inline;
    /* IE7 inline-block hack */

    *zoom: 1;
    margin-left: 0;
    margin-bottom: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  .pagination ul > li {
    display: inline;
  }

  .pagination ul > li > a,
  .pagination ul > li > span {
    float: left;
    padding: 4px 12px;
    line-height: 20px;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-left-width: 0;
  }

  .pagination ul > li > a:hover,
  .pagination ul > li > a:focus,
  .pagination ul > .active > a,
  .pagination ul > .active > span {
    background-color: #f5f5f5;
  }

  .pagination ul > .active > a,
  .pagination ul > .active > span {
    color: #fff;
    cursor: default;
    background: #cc3333;
  }

  .pagination ul > .disabled > span,
  .pagination ul > .disabled > a,
  .pagination ul > .disabled > a:hover,
  .pagination ul > .disabled > a:focus {
    color: #999999;
    background-color: transparent;
    cursor: default;
  }

  .pagination ul > li:first-child > a,
  .pagination ul > li:first-child > span {
    border-left-width: 1px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
  }

  .pagination ul > li:last-child > a,
  .pagination ul > li:last-child > span {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
  }

  .pagination-centered {
    text-align: center;
  }

  .pagination-right {
    text-align: right;
  }

  .pagination-large ul > li > a,
  .pagination-large ul > li > span {
    padding: 11px 19px;
    font-size: 17px;
  }

  .pagination-large ul > li:first-child > a,
  .pagination-large ul > li:first-child > span {
    -webkit-border-top-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    border-top-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-left-radius: 6px;
  }

  .pagination-large ul > li:last-child > a,
  .pagination-large ul > li:last-child > span {
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    border-bottom-right-radius: 6px;
  }

  .pagination-mini ul > li:first-child > a,
  .pagination-small ul > li:first-child > a,
  .pagination-mini ul > li:first-child > span,
  .pagination-small ul > li:first-child > span {
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-left-radius: 3px;
  }

  .pagination-mini ul > li:last-child > a,
  .pagination-small ul > li:last-child > a,
  .pagination-mini ul > li:last-child > span,
  .pagination-small ul > li:last-child > span {
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-right-radius: 3px;
  }

  .pagination-small ul > li > a,
  .pagination-small ul > li > span {
    padding: 2px 10px;
    font-size: 12px;
  }

  .pagination-mini ul > li > a,
  .pagination-mini ul > li > span {
    padding: 0 6px;
    font-size: 10px;
  }

  /* misc */
  .ad_wrap {
    padding: 16px 0 0 20px;
    border-left: 1px solid #ddd;
  }

  .tab-pane {
    padding-top: 14px;
  }

  .nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
    background-color: #f4f4f4;
  }

  /* helpers */
  .left {
    float: left;
  }

  .right {
    float: right;
  }

  .align {
    min-width: 1.3em;
    display: inline-block;
    text-align: right;
  }

  .table-striped td .align {
    display: inline;
    width: auto;
    color: #222222;
  }

  .inner {
    padding: 12px;
  }

  .clearfix {
    clear: both;
    *zoom: 1;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
    line-height: 0;
  }

  .clearfix:after {
    clear: both;
  }

  .hide-text {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }

  .input-block-level {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  #whats_this_more {
    position: absolute;
    top: 110px;
    left: 50px;
    border: solid 1px black;
    padding: 10px;
    width: 200px;
    background-color: #fff;
  }

  #map_info_floating {
    position: absolute;
    top: 125px;
    left: 50px;
    z-index: 999;
    padding: 5px;
    border-radius: 5px;
    border: solid 1px #cccccc;
    background-color: #ffffff;
    opacity: 0.8;
  }

  .header_bar {
    background-color: #ee1c25;
    height: 30px;
  }

  .content_container {

  }

  .log_out_user {
    background-image: url(/logout_icon.png);
    background-color: black;
    width: 120px;
    color: white;
    display: block;
    font-size: 15px;
    background-repeat: no-repeat;
    background-position: 35px 3px;
    padding-left: 23px;
    vertical-align: middle;
    text-align: center;
    line-height: 25px;
    height: 30px;
    font-weight: 200;
  }

  .log_out_user:hover {
    background-color: #555;
    color: white;
    text-decoration: none;
  }

  .direct_line_logo {
    margin-top: 29px;
    right: -12px;
    position: absolute;
  }

  .drive_plus_logo {
    margin-top: 20px;
    margin-bottom: 12px;
    width: 147px;
    margin-left: 11px;
  }

  .margin_top_20 {
    margin-top: 10px;
  }

  .white_content_inner {
    background-color: white;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .number_plate {
    background-color: #edecea;
    border-radius: 6px;
    padding: 5px 14px;
    font-family: Museo Sans_Bold;
    text-transform: uppercase;
    font-size: 19px;
    margin-left: 5px;
    margin-top: 3px;
    height: 19px;
    display: block;
    position: absolute;
    top: 6px;
    left: 79px;
  }

  .your_car {
    font-size: 20px;
    margin-left: 10px;
    font-weight: 100;
    letter-spacing: -0.5px;
    margin-top: -1px;
  }

  .your_car_white {
    height: 79px;
  }

  #car_health {
    font-size: 20px;
    margin-left: 0px;
    /*margin-top: 14px;*/
    font-weight: 100;
  }

  /*#score_value {*/
  /*font-size: 50px;*/
  /*position: absolute;*/
  /*top: 93px;*/
  /*left: 13px;*/
  /*font-weight: 100;*/
  /*width: 201px;*/
  /*text-align: center;*/
  /*}*/
  #score_above {
    font-size: 16px;
    position: absolute;
    top: 72px;
    left: 13px;
    font-weight: 100;
    width: 201px;
    text-align: center;
  }

  #score_below {
    font-size: 16px;
    position: absolute;
    top: 137px;
    left: 11px;
    font-weight: normal;
    width: 201px;
    text-align: center;
  }

  #total_distance_value {
    top: 240px;
    position: absolute;
    font-size: 14px;
    left: 14px;
    font-family: Museo Sans_Light;
    width: 201px;
    text-align: center;
  }

  .total_distance_value {
    font-family: Museo Sans;
    font-weight: bold;
  }

  #score_knob {
    height: 300px;
  }

  .indicator {
    float: left;
    width: 15px;
    height: 4px;
    display: block;
    margin-right: 1px;
  }

  .indicator_grey {
    background-color: #edecea;
  }

  .indicator_green {
    background-color: #bfd732;
  }

  .indicator_grey, .indicator_green {
    float: left;
    width: 14px;
    height: 4px;
    display: block;
    margin-right: 2px;
  }

  #battery_health {
    position: absolute;
    left: 96px;
    top: 3px;
    font-size: 14px;
  }

  #battery_health_bar {
    position: absolute;
    top: 8px;
    right: 17px;
    width: 99px;
  }

  #car_health_container {
    position: relative;
    height: 46px;
  }

  #engine_faults_details {
    position: absolute;
    left: 147px;
    top: 36px;
    font-size: 17px;
  }

  #engine_faults {
    position: absolute;
    left: 104px;
    top: 28px;
    font-size: 14px;
  }

  #engine_faults_number {
    background-color: #ee1c25;
    color: white;
    border-radius: 20px;
    width: 18px;
    height: 16px;
    left: 35px;
    position: absolute;
    padding-top: 2px;
    text-align: center;
    top: -9px;
    font-size: 13px;
  }

  #engine_faults_info {
    position: absolute;
    left: 58px;
    width: 70px;
    text-decoration: underline;
    color: #ee1c25;
    top: -7px;
    font-size: 13px;
  }

  #show_scores_since {
    position: absolute;
    top: 8px;
    left: -8px;
    padding-top: 5px;
    font-size: 17px;
    display: none;
  }

  .relative {
    position: relative;
  }

  #show_scores_since_select {
    position: absolute;
    top: 5px;
    left: 137px;
    padding-top: 5px;
    display: none;
  }

  #show_scores_since_select select {
    width: 204px;
    height: 27px;
    border: solid 1px #ccc;
    background-color: white;
    font-size: 13px;
    display: none;
  }

  #show_scores_since_update {
    position: absolute;
    top: 10px;
    left: 351px;
    padding-top: 6px;
    text-transform: uppercase;
    color: white;
    background-color: #66cc33;
    border-radius: 4px;
    font-weight: 100;
    width: 79px;
    text-align: center;
    font-size: 14px;
    padding-bottom: 5px;
    letter-spacing: 2px;
    cursor: pointer;
    display: none;
  }

  .indicator_large {
    width: 47px;
    height: 6px;
    background-color: #edecea;
    margin-bottom: 3px;
    float: left;
    margin-right: 3px;
    margin-left: 0px;
  }

  .indicator_large_0 {
    background-color: #ed1c24;
  }

  .indicator_large_20 {
    background-color: #f68b1f;
  }

  .indicator_large_40 {
    background-color: #ffc212;
  }

  .indicator_large_60 {
    background-color: #bfd732;
  }

  .indicator_large_80 {
    background-color: #66cc33;
  }

  #score_components {
    margin-top: 0px;
    margin-left: 0px;
  }

  .score_comp_title {
    font-weight: 100;
    font-size: 16px;
    display: block;
    margin-left: 25px;
    margin-top: 14px;
    margin-bottom: 10px;
    position: absolute;
  }

  .bars {
    margin-left: 25px;
    padding-top: 32px;
  }

  .text_score_indicator {
    position: absolute;
    top: 12px;
    left: 192px;
    width: 80px;
    font-size: 13px;
    text-align: right;
  }

  .indicator_0 {
    color: #ed1c24;

  }

  .indicator_20 {
    color: #f68b1f;

  }

  .indicator_40 {
    color: #ffc212;

  }

  .indicator_60 {
    color: #bfd732;

  }

  .indicator_80 {
    color: #66cc33;
  }

  #location_title {
    font-size: 21px;
    margin-left: 0px;
    margin-top: -5px;
    font-weight: 100;
    letter-spacing: -0.5px;
  }

  #location_updated {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: -0.5px;
    position: absolute;
    top: 15px;
    right: 10px;
    text-align: right;
    font-family: Museo Sans;
    left: 106px;
  }

  .location_map {
    width: 271px;
    height: 271px;
    background-color: red;
    margin-top: 10px;
    margin-left: 0px;
  }

  .menu_icon {
    background-image: url(/menu_tablet.png);
    /* background-size: 13px 13px; */
    position: absolute;
    top: 9px;
    right: 10px;
    display: block;
    width: 64px;
    height: 28px;
    font-size: 14px;
    background-repeat: no-repeat;
    background-position: 49px 6px;
    padding-top: 11px;
    padding-left: 11px;
    text-decoration: none;
    color: black;
    text-align: left;
    cursor: pointer;
  }

  .tablet_header {
    position: relative;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 54px;
    background-color: white;
    z-index: 9999;
    border-bottom: solid 1px #edecea;
  }

  .tablet_header .container_12 {
    width: 312px;
    margin-right: auto;
    margin-left: auto;
    display: block;
    z-index: 100;
    background-color: white;
    position: relative;
    height: 54px;
  }

  .popup_info {
    background-size: 19px 19px;
    width: 20px;
    height: 20px;
    overflow: hidden;
    background-repeat: no-repeat;
  }

  #car_health_info {
    position: absolute;
    top: 24px;
    left: 0px;
  }

  .your_score_circle_container {
    margin-left: 23px;
    margin-top: 8px;
    height: 263px;
  }

  .score_component .popup_info {
    top: 10px;
    position: absolute;
    left: 0px;
  }

  .score_component {
    height: 48px;
  }

  .mobile_break {
    height: 1px;
    display: block;
    width: 100%;
    overflow: hidden;
    margin-top: 5px;
  }

  .footer_links a {
    margin-left: 10px;
    margin-right: 10px;
  }

  #nav_container {
    top: 0px;
    right: 0px;
    position: fixed;
    height: 100%;
    overflow: hidden;
    width: 0px;
    background-color: #999999;
    z-index: 999;
    margin-top: 0px;
  }

  .section_title {
    font-size: 21px;
    font-weight: 100;
    letter-spacing: -0.5px;
  }

  .login_title, .register_page_title {
    margin-top: 50px;
    margin-bottom: 28px;
    text-align: center;
    font-size: 38px;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
  }

  .top-bar .back {
    left: 20px !important;
  }

  #login_form .medium_input,
  #forgot_password_form .medium_input,
  #reset_form .medium_input {
    display: block;
    height: 35px;
    border: solid 1px #ccc;
    margin-bottom: 14px;
    background-color: white !important;
    float: left;
    width: 88%;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 23px;
  }

  #login_form,
  #register_form,
  #forgot_password_form,
  #reset_form {
    margin: 22px auto 17px auto;
    width: 70%;
  }

  #login_form label,
  #forgot_password_form label,
  #reset_form label {
    display: block;
    font-size: 24px;
    margin-bottom: 19px;
  }

  .forgotten_password {
    display: block;
    padding-top: 14px;
    margin: 0 auto;
    font-size: 22px;
    margin-top: 4px;
    width: 265px;
    color: #B4B4B4;
    letter-spacing: 1px;
  }

  .or_login {
    margin-left: 104px;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .sign_up_button {
    margin-left: 20px;
  }

  .question_mark {
    position: absolute;
    right: 17px;
    top: 32px;
    width: 25px;
    height: 25px;
    display: block;

    background-image: url(/question_mark_tab.png);
  }

  .qtip_style {
    border-color: rgb(0, 0, 0);
    background-color: #fff;
    font-size: 16px;
    line-height: 16px;
    padding: 5px 5px 0px 5px;
    width: 250px;
  }

  .qtip_style p {
    padding-top: 3px;
    padding-bottom: 5px;
    font-size: 16px;
    margin-bottom: 5px;
  }

  .qtip_close {
    position: absolute;
    top: 5px;
    right: 15px;
    text-decoration: underline;
    font-size: 16px;
    cursor: pointer;
  }

  .your_score_journey {
    height: 41px;
    margin-top: 16px;
    margin-left: 0px;
    font-size: 20px;
    margin-bottom: -16px;
    font-weight: 100;
  }

  .journey_details {
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #map-wrap {
    width: 100%;
    height: 270px;
    overflow: hidden;
    margin: 10px 0px;
  }

  #map-wrap .journey_map {
    margin: auto;
    width: 100%;
  }

  #journey_details_info {
    position: absolute;
    left: 135px;
    top: 13px;
  }

  .inner_content_wrapper {
    margin-left: 0px;
    margin-right: 0px;
  }

  .loading {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    display: none;
    align-content: center;
    vertical-align: middle;
    z-index: 9999;
    opacity: 0.7;
    text-align: center;
  }

  .loading_image {
    margin-top: 220px;
  }

  .select_style {
    background-color: white;
    border: solid 1px #ccc;
  }

  .journey_select_spacing {
    height: 34px;
  }

  #journey_selection {
    width: 270px;
    margin-left: 0px;
    position: relative;
    top: 10px;
    left: 0px;
  }

  .faqcat_title {
    margin-top: 0px;
    margin-left: -10px;
    margin-bottom: 0px;
  }

  .faq_category_title {
    font-weight: normal;
    /*margin-top: 10px;*/
    border-bottom: solid 1px #ccc;
    font-size: 14px;
    /*margin-bottom: 6px;*/
    padding-bottom: 7px;
    margin-top: 20px;
    vertical-align: middle;

  }

  .faq_entry {
    position: relative;
    border-bottom: solid 1px #ccc;
  }

  .faq_entry h3 {
    font-size: 13px;
    font-weight: 100;
    width: 220px;
    display: table-cell;
    vertical-align: middle;

    margin: auto;
    height: 40px;
  }

  .faq_entry p {
    font-weight: normal;
    margin-top: 10px;
    font-size: 13px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    padding-right: 50px;
  }

  .faq_close {
    display: block;
    height: 31px;
    width: 31px;
    background-image: url(/faq-close.png);
    background-size: 31px 31px;
    position: absolute;
    top: 5px;
    right: 0px;
  }

  .faq_open {
    display: block;
    height: 31px;
    width: 31px;
    background-image: url(/faq-open.png);
    background-size: 31px 31px;
    position: absolute;
    top: 5px;
    right: 0px;
  }

  .dob_input {
    width: 42px !important;
    text-align: center;
    float: left;

  }

  .register_title {
    margin-top: -3px;
    margin-left: 10px;
    margin-bottom: 24px;
  }

  #register_form label {
    display: block;
    font-size: 22px;
    margin-bottom: 20px;
  }

  #registration_email_popup, #registration_password_popup {
    position: absolute;
  }

  #registration_email_popup {
    top: 29px;
    right: 7px;
  }

  #registration_password_popup {
    top: 29px;
    right: 88px;
  }

  #journey_score_components {
    margin-top: 36px;
  }

  /*CHANGE Password*/
  .password_title {
    /*margin-top: -5px;*/
    font-size: 21px;
    margin-left: 10px;
  }

  .password_text {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 19px;
    font-size: 16px;
    margin-bottom: 0px;
  }

  #password_form .form_row {
    margin-left: 0px;
    margin-top: 15px;
    height: 53px;
  }

  #password_form label {
    display: block;
    width: 148px;
    padding-top: 5px;
    font-size: 16px;
    margin-left: 4px;
    text-align: left;
    float: none;
    padding-right: 0px;
  }

  #password_form .form_row input {
    display: block;
    width: 244px;
    font-size: 18px;
    border: solid 1px #d6d8d8;
    margin-top: 7px;
    margin-left: 5px;
  }

  .update_password_button {
    color: white;
    display: block;
    border-radius: 3px;
    background-color: #66cc33;
    margin-left: 3px;
    margin-bottom: 1px;
    border-width: 0px;
    text-transform: uppercase;
    font-size: 13px;
    padding: 11px 0px;
    -webkit-appearance: none;
    -webkit-border-radius: 3px;
    margin-top: 30px;
    width: 97px;
    letter-spacing: 4.5px;
    text-align: center;
    height: 30px;
  }

  /* OBD INSTALL */
  .obd_install_white h1 {
    font-size: 19px;
    font-weight: 100;
    margin-left: 0px;
    margin-top: 0px;
    letter-spacing: 0.4px;
  }

  #change_car {

    display: block;
    color: #ee1c25 !important;
  }

  #change_car a {
    color: #ee1c25;
    font-size: 14px;
    margin-left: 0px;
    text-decoration: underline;
  }

  .obd_install_white #obd_car_time {
    margin-left: 0px;
    font-size: 13px;
    line-height: 17px;
    margin-top: 13px;
    margin-right: 10px;
    width: auto;
  }

  .obd_install_white h2 {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
  }

  #nav.grid_7 {
    right: 5px;
  }

  .obd_install_white .install_subtitle {
    margin-top: -3px;
    font-size: 14px;
    margin-left: 0px;
    margin-bottom: 0px;
  }

  .obd_install_white .install_paragraph {
    margin-top: -3px;
    font-size: 14px;
    margin-left: 0px;
    margin-bottom: 0px;
    font-weight: 100;
  }

  .obd_install_white .install_image {
    width: 270px;
    margin-left: 0px;
    padding-bottom: 25px;
  }

  /* Contact */
  .contact_white h1 {
    font-size: 19px;
    font-weight: 100;
    margin-left: 0px;
    margin-top: -1px;
    letter-spacing: 0.4px;
    margin-bottom: 13px;
  }

  .contact_white p {
    font-size: 14px;
    font-weight: 100;
    margin-left: 0px;
    margin-top: -1px;
    letter-spacing: 0.4px;
    line-height: 17px;
  }

  .contact_links p {
    padding-top: 0px;
    padding-bottom: 7px;
    margin-bottom: 0px;
    margin-top: 0px;
    font-size: 13px;
  }

  .contact_links a {
    color: black;
  }

  /* Terms */
  .terms_white h1 {
    font-size: 19px;
    font-weight: 100;
    margin-left: 0px;
    margin-top: -1px;
    letter-spacing: 0.4px;
    margin-bottom: 13px;
  }

  .terms_white p {
    font-size: 14px;
    font-weight: 100;
    margin-left: 0px;
    margin-right: 9px;
    margin-top: -1px;
    letter-spacing: 0.4px;
    line-height: 17px;
  }

  /* Alerts */
  #notifications {
    margin-left: auto;
    margin-right: auto;
    width: 291px;
    position: relative;
    padding: 0px;
    display: block;

    padding: 0px;
  }

  .alert-info {
    background-color: #FFFFFF;
    border-color: #DDDDDD;
    color: #949494;
    display: inline-block;
    width: 240px;
    margin-left: auto;
    margin-right: auto;
    height: 17px;
    MARGIN-BOTTOM: 0PX;
  }

  /* FORGOTTEN PASSWORD */
  .forgotten_password_text {
    margin-left: 20px;
    margin-right: 20px;

  }

  /* Default CSS */
  .default_content_padding {
    padding: 10px 10px;
  }

  .default_text_style {
    font-size: 18px;
  }

  .container_12 .push_2 {
    left: inherit;
  }

  .container_12 .grid_10, .container_12 {
    width: inherit;
  }

  .container_12 {
    width: 320px;
  }

  .journey_feedback {
    margin: 0 15px;
  }

  .journey_feedback_title {
    font-size: 1.31rem;
    color: #1e1f1d;
    letter-spacing: 1px;
    margin: 10px 0;
    margin-bottom: 20px;
    font-family: "Museo Sans_Light";
  }

  .journey_info .journey_details .journey_detail {
    padding: 15px 25px;
  }

  .journey_info .journey_details .journey_detail .journey_detail_title {
    font-size: 0.81rem;
  }

  .journey_info .journey_details .journey_detail .journey_detail_value {
    font-size: 1.75rem;
  }

  .journey_info .journey_details .journey_detail .journey_detail_unit {
    font-size: 0.575rem;
  }

  .next-chevron {
    margin-left: 30px;
  }

  .prev-chevron {
    margin-right: 30px;
  }

  .journey_feedback:hover .journey_feedback_show_more {
    display: none;
  }

  .journey_feedback.open:hover .journey_feedback_show_less {
    display: none;
  }

  #content_container {
    display: block;
    width: inherit;
  }

  .journey_title_container .journey_title {
    bottom: 10px;
  }

  .journey_title .title_container {
    font-size: 1rem;
    position: relative;
    bottom: 5px;
  }

  em.form_message.error {
    margin-left: 20px;
    padding-top: 0px;
    display: inline-block;
    margin-bottom: 21px;
    font-size: 16px;
    color: #aaa;
  }

  #questionmark_username {
    right: 17px;
  }

  #questionmark_password {
    right: 17px;
  }

  #register_form #email {
    width: 236px;
  }

  .contact_white .faq_entry p {
    font-size: 14px;
    margin-left: 0px;
    margin-top: 5px;
    width: 230px
  }

  .contact_white p {
    width: 270px;
  }

  .faq_entry {
    position: relative;
    border-bottom: solid 1px #ccc;
    margin-left: 0px;
    margin-right: 0px;
  }

  .faq_category_title {
    margin-left: -10px;
    margin-right: 0px;
    margin-bottom: 0px;
  }

  .contact_white ul {
    border-top: solid 1px #ccc;
    margin-left: 0px;
    margin-right: 10px;
  }

  #more_info li > a {
    font-size: 15px;
    height: auto;
    display: block;
    width: 137px;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 10px;
    min-height: 11px;
    padding-bottom: 10px;
  }

  #questionmark_forgotten_password {
    top: -5px;
    right: 99px;
  }

  .send_instructions_button {
    margin-bottom: 20px;
  }

  .journey {
    margin-left: 10px;
  }

  .container_12 .grid_5 {
    width: auto;
  }

  .container_12 .grid_4 {
    width: 300px;
  }

  .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
    display: inherit;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .faqs_container ul {
    margin-left: -10px;
  }

  .mobile_margin {
    margin-left: 10px;
    margin-right: 10px;
  }

  .change_car h3 {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .margin_30 {
    margin-left: 0px;
    margin-right: 0px;
  }

  .obd_select_row {
    text-align: center;
    height: 49px;
  }

  .obd_select_row label {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: -3px;
    margin-bottom: 4px;
    text-align: center;
    width: 100%;

  }

  .obd_select_row label, .obd_select_row select {
    margin-left: auto;
    margin-right: auto;
    display: block;

  }

  .login_width .alert-info {
    margin-left: 0px;
    width: 241px;
    height: auto;
  }

  #map-canvas-incompatible {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    border: dashed 1px #ccc;
    height: 241px;
    color: #ccc;
    background-color: #eee;
  }

  #form_errors label:first-child {
    margin-top: 35px;
    margin-left: 0px;
  }

  #form_errors label.error {
    display: block;
    margin-left: 0px;
    margin-right: 30px;
    margin-bottom: 6px;
    color: #bbb;
  }

  .password_width {
    height: auto;
  }

  #impliedsubmit {
    position: absolute;
    right: 0px;
    top: 20px;
    width: 32px;
    height: 32px;
    display: block;
    padding: 0px;
    margin: 0px;
    border: solid 0px rgb(178, 21, 28);
    background-color: rgb(255, 237, 176);
    color: rgb(178, 21, 28);
    font-size: 25px;
    background-image: url(/assets/cookie_cross-13a70c4afda23fe13a7cb5c778584180bed0b62fe36276158467a3b37605b6ba.png);
    background-repeat: no-repeat;
    overflow: hidden;
    text-indent: 1000px;
    cursor: pointer;
  }

  #cookiesdirective {
    text-align: left;
    z-index: 9999;
    padding-right: 50px;
    font-size: 12px;
  }

  #find_out_more_link {
    font-size: 14px;
    background-image: url(/cookie_arrow.png);
    background-repeat: no-repeat;
    background-position: 175px;
    background-size: 5px;
    margin-bottom: 10px;
  }

  #epd {
    z-index: 9999;
    padding-top: 5px;
  }

  li.form_message.error {
    margin-left: 10px;
    color: #cd0a0a;
    width: 100%;
    font-size: 14px;
  }

  #register_form .terms_label {
    width: 220px;
  }

  #registration_agree_to_terms {
    margin-left: 10px;
  }

  #registration_password_popup {
    top: 29px;
    right: 71px;
  }

  #reset_form li.form_message.error {
    margin-left: 0px;
    width: 220px;
  }

  .reset_password_button {
    margin-left: 5px;
    margin-bottom: 20px;
  }

  #reset_code {
    width: 100px;
  }

  #reset_form .form_row {
    margin-left: 5px;
    margin-top: 10px;
  }

  .colorbox_content_container {
    background-color: white;
    position: relative;
    width: auto;
    max-width: 250px;
    margin: 70px auto 20px;
  }

  .instructions_lookup {
    padding: 10px;
    margin: 10px 0px;
    border: solid 1px #CC9933;
    background-color: #FFFFCC;
    color: #888;
    width: 250px;
  }

  .no_journeys_info {
    padding: 10px;
    margin: 10px 0px;
    border: solid 1px #CC9933;
    background-color: #FFFFCC;
    color: #888;
    width: 250px;
  }

  /***
    All new styles below this line
  ***/
  #login-button-container {
    width: 95%;
    padding-right: 0;
  }

  #create-account-button, #login-button {
    font-size: 24px;
  }

  .login-or-forgot #forgotten-password-button {
    font-size: 22px;
  }

  .login-or-forgot #forgotten-password-button .chevron {
    width: 12px;
    height: 18px;
    top: 2px;
    background-size: 80%;
  }

  .or-spacer {
    font-size: 20px;
  }

  .container_12.wrapper {
    width: 100%;
  }

  .your_score, .badge_score_text {
    font-size: 26px;
  }

  /*#score_value {*/
  /*top: 65px;*/
  /*}*/
  .full-width-info .grid_4 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #dashboard-show-container .your_score {
    margin-left: -5px;
  }

  .badge-container .low img, .badge-container .medium img, .badge-container .high img {
    width: 140px;
    height: 140px;
  }

  /*.badge-container .badge-inner {*/
  /*margin: 0 auto;*/
  /*width: 66%;*/
  /*text-align: center;*/
  /*}*/
  #your-points {
    position: relative;
    top: 50px;
    margin-bottom: 90px;
  }

  #dashboard-show-container .badge_score_text, #dashboard-show-container .badge_score_text {
    margin-top: 5px;
    position: relative;
    right: 10px;
  }

  #journey-table {
    width: 95%;
  }

  #support-form {
    width: 70%;
  }

  #faqs-section {
    margin-left: 20px;
  }

  #nav ul.sub-menu {
    height: 154px;
    bottom: 116px;
    width: 181px;
    border-left: 0;
    border-top: 0;

    bottom: auto;
    right: 0;
  }

  #nav ul.sub-menu .sub-menu-item:last-child {
    border-bottom: 1px solid #ccc!important;
  }

  #nav ul.sub-menu a {
    padding: 12px 12px;
  }

  .password_show {
    right: 30px;
  }

  .badge-container .cashback-amount {
    font-size: 32px;
    top: 54px;
    width: 100%;
  }

  .badge-container .cashback-amount span {
    font-size: 24px;
  }

  #dashboard-show-container #your-points .badge-container .points {
    margin: 20px auto 0;
    width: 138px;
  }

  /* END OF MQ */

}

/*******
 OTHER MEDIA QUERIES
*******/

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

  #top-bar-container {
    margin-top: 120px;
  }

  #create-account-button, #login-button {
    min-width: 250px;
  }

  .terms-container {
    width: 90%;
  }

  .top-links-container {
    text-align: right;
    top: -96px;
    font-size: 14px;
    right: 20px;
  }
  .top-links-container span {
    display: none;
  }
  .top-links-container a {
    display: block;
    margin-bottom: 5px;
  }
  .top-links-container a:last-child {
    margin-bottom: 0;
  }

  .vehicle_selection_details {
    top: -96px;
    font-size: 14px;
    max-width: 75%;
    left: 20px;
  }

}

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

  .login_button {
    margin-left: 30px;
    width: 80%;
  }

  .hide-700 {
    display: none;
  }

  .badge-container .low, .badge-container .medium, .badge-container .high {
    width: 25%;
  }

  .badge-container .cashback-amount {
    width: 100%;
  }

}

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

  /*#dashboard-show-container #your-points .badge-container .points.active {*/
  /*margin-top: 12px;*/
  /*}*/

}

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

  .login_button {
    margin-left: 30px;
    width: 80%;
  }

  .hide-650 {
    display: none;
  }

  #forgot_password_form .medium_input {
    width: 85%;
  }

  .driving-tips {
    text-indent: -9999px;
  }

  #installation-guide, #installation-location {
    width: 70%;
  }

}

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

  .create-account, .login-or-forgot {
    width: 100%;
  }

  .badge-container .low img, .badge-container .medium img, .badge-container .high img {
    width: 120px;
    height: 120px;
  }

  .login-or-forgot {
    margin-top: 15px;
    margin-bottom: 15px;
  }

  #create-account-button, #login-button {
    width: 70%;
  }

  .badge-container .cashback-amount {
    font-size: 32px;
    top: 44px;
    width: 100%;
  }

  .badge-container .cashback-amount span {
    font-size: 24px;
  }

  #dashboard-show-container #your-points .badge-container .points {
    margin: 20px auto 0;
    width: 120px;
    font-size: 18px;
  }

  .or-spacer {
    display: none;
  }

  .login-or-forgot #forgotten-password-button {
    display: block;
    width: 245px;
    margin: 24px auto 0 auto;
    width: 238px;
    padding-left: 7px;
    min-width: inherit;
    position: inherit;
    left: 0;
  }

}

@media screen and (max-width: 530px) {
  #nav.grid_7 {
    top: 100px;
  }

  .hidden-530 {
    display: none;
  }

  .logo.mobile {
    display: block;
  }

  #journey-table .info.first {
    margin-left: 10px;
  }

  #journey-table .info.second {
    font-size: 20px;
    margin-bottom: 4px;
    left: 68px;
  }

  #journey-table .table-chevron {
    margin-right: 10px;
  }

  #faqs .q, #faqs .faq.question, #faqs .answer-container {
    padding: 35px 30px;
  }

  #faqs .q-title, #faqs .faq-answer {
    font-size: 20px;
  }

  #faqs .faq-answer, #faqs .q-title strong {
    position: relative;
    top: 3px;
  }


  .vehicle_selection_details_make_model {
    display: block;
    margin-bottom: 10px;
  }
  .vehicle_selection_details_number_plate {
    margin-left: 0;
  }
}

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

  .top-bar .back {
    display: none;
  }

  .badge-container .low img, .badge-container .medium img, .badge-container .high img {
    width: 100px;
    height: 100px;
  }

  .badge-container .cashback-amount {
    font-size: 24px;
    top: 38px;
    width: 100%;
  }

  .badge-container .cashback-amount span {
    font-size: 18px;
    left: 5px !important;
  }

  #dashboard-show-container #your-points .badge-container .points {
    width: 102px;
  }

  #support-form input {
    width: 100%;
    min-width: 100%;
    margin-left: 5px;
  }

  .car_make_button,
  .installation-continue {
    width: 100%;
    min-width: 100%;
  }

  #support-form .select-style {
    width: 103%;
  }

  #registration-title {
    margin-left: 0px;
  }

  #reset-password-instructions p {
    margin-bottom: 0;
    font-size: 18px;
    width: 95%;
  }

  .top-bar .smaller {
    font-size: 22px;
  }

  #login_form, #register_form, #forgot_password_form, #reset_form {
    width: 90%;
  }

  .login_button {
    margin-left: 30px;
    width: 90%;
  }

  #reset_form .medium_input, #registration-form .medium_input {
    width: 84%;
  }

  .medium_input::-ms-clear {
    display: none;
  }

  #your-points .low, #your-points .medium, #your-points .high {
    margin-right: 20px;
  }

  .password_show {
    display: none !important;
  }



}

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

  #login_register_container h1 {
    font-size: 38px;
  }

  #terms-content img {
    width: 200px;
  }

  #acceptable-terms {
    max-height: 400px;
  }

  #accept-tscs button {
    width: 100%;
    min-width: 100%;
  }

  .logo {
    background-size: 90%;
    margin-left: 20px;
  }

  #your-points .low, #your-points .medium, #your-points .high {
    margin-right: 10px;
  }

  #journey-table .table-chevron {
    display: none;
  }

  .journey_title_container .circular-btn {
    font-size: 14px;
  }

  .journey_feedback {
    padding: 10px;
  }

  .journey_feedback_title {
    font-size: 18px;
  }

}

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

  .score_chart_label_no_width {
    width: 15px !important;
  }

  .score_chart_table {
    margin-left: 5px !important;
  }

  .badge-container .badge-inner {
    width: 90%;
    text-align: center;
  }

  .badge-container .low img, .badge-container .medium img, .badge-container .high img {
    width: 70px;
    height: 70px;
  }

  .badge-container .cashback-amount {
    font-size: 16px;
    top: 26px;
    width: 80px;
  }

  .badge-container .cashback-amount span {
    font-size: 14px;
    left: 4px !important;
  }

  #dashboard-show-container #your-points .badge-container .points {
    width: 75px;
    font-size: 12px;
  }

}

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

  .register_button {
    width: 90% !important;
  }

  label[for="registration_dob"] + span {
    display: none;
  }

  .password_form .large_btn {
    width: 100%;
  }

  .password_form .large_btn {
    width: 90%;
    margin-left: 25px;
  }

  .reset_password_button {
    width: 100%;
  }

  .select-style select {
    font-size: 14px;
  }

}
