/* Palette generated by Material Palette - materialpalette.com/grey/red */
/* Breakpoints */
/* General */
html {
  /*color: $primary-text-color;*/
  overflow-y: scroll; }

body {
  margin: 0 auto; }
  body.md-dialog-is-showing {
    overflow-y: hidden; }

ui-view {
  margin: 0 !important; }

h1 {
  text-transform: uppercase;
  text-align: center; }
  @media (max-width: 37.5em) {
    h1 {
      white-space: nowrap; } }

p i {
  line-height: .9 !important;
  vertical-align: middle; }
  p i.hightlight {
    color: #f44336; }
  p i.error {
    color: #f44336; }
  p i.success {
    color: green; }

:focus {
  outline: 0; }

.loader {
  padding: 0;
  width: auto; }
  .loader.top {
    margin: 8px 10px -13px !important; }
  .loader.bottom {
    margin: -13px 10px 8px !important; }

.text-left {
  text-align: left; }

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

.align-left {
  float: left; }

.align-right {
  float: right; }

/* Material Components */
md-toolbar {
  position: fixed;
  top: 0;
  min-height: 50px;
  border-bottom: 1px solid #9E9E9E; }
  md-toolbar .md-toolbar-tools {
    margin: 0 auto;
    max-width: 1024px;
    height: 50px; }
    md-toolbar .md-toolbar-tools .logo {
      padding-right: 5px;
      max-width: 100%;
      max-height: 35px;
      vertical-align: middle; }
    md-toolbar .md-toolbar-tools .text-left .md-button {
      margin-left: 0; }
    md-toolbar .md-toolbar-tools .text-right .md-button {
      margin-right: 0; }

md-content {
  margin: 0 auto;
  padding: 75px 0 20px 0;
  /*padding: 51px 0 0 0;*/
  max-width: 1024px; }

.md-button {
  min-width: 0; }
  .md-button:not(.md-fab) i {
    font-size: 18px; }
  .md-button i {
    vertical-align: middle; }
  @media (max-width: 37.5em) {
    .md-button .text {
      display: none; } }

md-toolbar .md-fab.md-mini {
  line-height: 28px !important;
  width: 28px !important;
  height: 28px !important;
  min-height: 28px !important; }
  md-toolbar .md-fab.md-mini i {
    font-size: 16px;
    color: #fff; }

.md-fab.md-fab-bottom-right {
  position: fixed !important; }

md-dialog .md-dialog-content {
  padding: 24px 24px 12px 24px; }
  md-dialog .md-dialog-content .md-title {
    text-transform: uppercase; }
  md-dialog .md-dialog-content a {
    text-decoration: none;
    font-weight: 700;
    color: #f44336; }

md-dialog md-dialog-actions {
  padding-right: 8px;
  padding-left: 8px; }
  md-dialog md-dialog-actions .md-button {
    margin: 8px; }

/* Listing Table */
table {
  padding: 5px 0; }
  table thead tr {
    background-color: #616161; }
    table thead tr th {
      box-sizing: border-box;
      padding: 5px 10px;
      width: 50%;
      height: 31px;
      text-align: left;
      color: #F5F5F5;
      text-transform: uppercase;
      /*&:last-child {
					text-align: right;
				}*/ }
  table tbody tr {
    background-color: #F5F5F5; }
    table tbody tr:not([ng-click]):hover td {
      border-bottom: 1px solid #9E9E9E;
      padding: 5px 10px 4px 10px; }
    table tbody tr[ng-click]:hover {
      background-color: #9E9E9E;
      cursor: pointer; }
    table tbody tr.highlight td i {
      color: #f44336;
      line-height: 50px; }
      @media (max-width: 37.5em) {
        table tbody tr.highlight td i {
          font-size: 12px;
          position: absolute;
          right: 5px; } }
    table tbody tr td {
      position: relative;
      padding: 5px 10px;
      height: 50px;
      /*&:first-child {
					font-weight: 700;
				}*/
      /*&:last-child {
					text-align: right;
				}*/ }
      table tbody tr td .img {
        display: inline-block;
        background-position: 0 0;
        background-repeat: no-repeat;
        height: 50px;
        line-height: 50px; }
        @media (max-width: 37.5em) {
          table tbody tr td .img {
            line-height: inherit; } }
        table tbody tr td .img.winner, table tbody tr td .img.champion {
          padding-left: 60px; }
          @media (max-width: 37.5em) {
            table tbody tr td .img.winner, table tbody tr td .img.champion {
              padding-left: 45px; } }
        table tbody tr td .img.country {
          background-position: 0 50%;
          background-size: 30px;
          padding-left: 51px;
          line-height: 50px; }
          @media (max-width: 37.5em) {
            table tbody tr td .img.country {
              padding-left: 40px; } }
        table tbody tr td .img.circuit {
          background-position: 100%;
          background-size: 45px;
          width: 75%; }
          @media (min-width: 50em) {
            table tbody tr td .img.circuit {
              width: 80%;
              background-size: autos; } }
          @media (max-width: 37.5em) {
            table tbody tr td .img.circuit {
              display: none; } }
