/* CSS Document */
/*
 * Globals
 */
/* Links */
a,
a:focus,
a:hover {
  color: #fff;
  text-underline: none;
  text-decoration: none;
}

.ui-dialog-title {
  text-shadow: none;
  font-size: 18px;
}

.llnav {
  color: #2D3E3D !important;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #f3f3f3;
  text-shadow: none;
  /* Prevent inheritence from `body` */
  background-color: #45615f;
  border: 1px solid #3F5856;
}

.topIcon {
  float: left;
  padding-left: 5px;
  padding-top: 0px;
  padding-right: 10px;
}

h1 {
  font-size: 50px;
  font-weight: 100;
}

.dropdown-menu {
  font-size: 14px !important;
  font-weight: 300 !important;
}

.navbar-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
}

.navbar {
  margin: 0;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
  margin: 0;
  width: 100%;
}

.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-wrapper .navbar .container {
  max-width: 1200px;
}

.navbar-brand {
  padding: 5px;
  padding-right: 20px;
}

.dropdown-menu > li {
  padding: 8px;
}

.navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.75) !important;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  color: white !important;
}

.navbar-nav > li {
  text-align: left !important;
}

.navbar-nav > li > a > i {
  width: 25px;
  text-align: center;
}

.navbar-nav .dropdown-menu > li > a > i {
  width: 20px;
  text-align: center;
  color: #ccc;
}

.dropdown-menu > li > a {
  color: #fff !important;
}

.front-image {
  margin: 0 auto;
  display: none;
}

.list-center {
  text-align: left;
  float: left;
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-center p {
  margin: 0;
}

.list-center h4 {
  font-size: 14px;
  font-weight: bold;
}

.list-icon {
  display: inline;
  margin-right: 8px;
  margin-left: 12px;
  float: left;
  border: 1px solid #ccc;
}

.list-icon img {
  width: 55px;
}

.list-glance {
  float: right;
  width: 65px;
  margin-left: 8px;
  margin-right: 8px;
  display: inline;
  text-align: center;
  background-color: #e3e3e3;
  padding: 5px;
  padding-top: 10px;
  color: #069;
  font-weight: normal;
  font-size: 12px;
  height: 55px;
}

.list-glance p {
  margin: 0;
}

html,
body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
}

body {
  color: #fff;
  text-align: center;
}

.list-group-item {
  text-shadow: none;
  border: none;
  border-bottom: 1px solid #666;
  cursor: pointer;
  background-color: #f0f0f0;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 90%;
  /* For at least Firefox */
  min-height: 90%;
  /*  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
*/
  /*background-image:url(../images/carousel/cover.jpg);*/
}

.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}

.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 20px;
}

kbd {
  background-color: #999 !important;
  margin-bottom: 4px;
}

#raceDialog {
  position: absolute;
  min-height: 200px;
  top: 10px;
  width: 100%;
  z-index: 999;
  display: none;
  background-color: rgba(255, 255, 255, 0.9);
  padding-bottom: 6px;
  border-radius: 8px;
}

#raceHeader {
  width: 100%;
  padding: 6px;
  background-color: #333;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.linkText {
  padding-top: 3px;
  float: left;
}

@media (min-width: 500px) {
  #raceDialog {
    left: 50%;
    width: 500px;
    margin-left: -250px;
  }
}

@media (min-width: 768px) {
  .navbar-nav > li > a > i {
    width: auto;
    text-align: left;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }
  .dropdown-menu > li > a {
    color: #333 !important;
  }
  /* The navbar becomes detached from the top, so we round the corners */
}

.cover {
  padding: 40px 20px;
  text-align: left;
}

.cover .btn-lg {
  padding: 10px 20px;
  font-weight: normal;
}

/*
 * Footer
 */
.mastfoot {
  color: #999;
  /* IE8 proofing */
  color: rgba(255, 255, 255, 0.5);
}

/*
 * Affix and center
 */
@media (min-width: 768px) {
  /* Pull out the header and footer */
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  .front-image {
    display: block;
  }
  /* Handle the widths */
  .mastfoot,
  .cover-container {
    width: 100%;
    /* Must be percentage or pixels for horizontal alignment */
  }
  #raceDialog {
    top: 50px;
  }
}

@media (min-width: 992px) {
  .mastfoot,
  .cover-container {
    width: 1030px;
  }
}
