body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: #333333;
  font-family: 'Open Sans', sans-serif;
}

.red {
  background-color: #990100;
  height: 2px;
}

.black {
  background-color: #333333;
  height: 2px;
}

.coloredRow, .coloredContainer {
  width: 100%;
}

.button {
  color: #fff;
  padding: 8px 14px 10px;
  background-color: #990100;
  border: none;
  width: 100%;
  margin-top: 5px;
  -webkit-box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.button:active {
  position: relative;
  top: 3px;
  -webkit-box-shadow: inset 0px -3px 1px white, inset 0 0px 3px rgba(0, 0, 0, 0.9);
  -moz-box-shadow: inset 0px -3px 1px white, inset 0 0px 3px rgba(0, 0, 0, 0.9);
  box-shadow: inset 0px -3px 1px white, inset 0 0px 3px rgba(0, 0, 0, 0.9);
}

.button:focus {
  outline: 0;
}

#contentWrapper {
  background-color: #f6f6f6;
  overflow: hidden;
}

.navbar {
  background-color: rgba(254, 254, 254, 0.1);
  background-image: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
  margin-bottom: 0px;
  position: relative;
  z-index: 2;
}
.navbar .container-fluid, .navbar .navbar-collapse {
  padding-left: 0px;
  padding-right: 0px;
  float: right;
}
.navbar ul {
  height: 100px;
}
.navbar ul li a {
  height: 100px;
  line-height: 100px;
  padding: 0px 39px;
}
.navbar ul li.active a {
  border-bottom: 3px solid #990100;
}

#banner {
  position: relative;
  height: 500px;
}
#banner .aboutbannercontent .quote {
  font-size: 40px;
  text-align: left;
  color: #990100;
  background-color: rgba(254, 254, 254, 0.5);
  padding: 0px 10px;
  border-radius: 5px;
}
#banner .aboutbannercontent .quoteHeader {
  font-weight: bold;
  font-size: 60px;
  text-align: left;
  color: #990100;
  background-color: rgba(254, 254, 254, 0.5);
  padding: 2px 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: block;
}
#banner .container {
  z-index: 2;
  position: relative;
}
#banner .quote {
  font-size: 60px;
  font-weight: bold;
  color: #990100;
  background-color: rgba(254, 254, 254, 0.5);
  padding: 0px  10px;
  border-radius: 5px;
  text-align: right;
}
#banner form {
  margin-left: -20px;
}
#banner form input {
  height: 80px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 3px solid #333333;
  font-size: 20px;
  text-align: center;
}
#banner #btnGo {
  position: absolute;
  bottom: 6px;
  height: 69px;
  width: 80px;
  right: 21px;
  color: #fff;
  padding: 8px 14px 10px;
  background-color: #990100;
  border: none;
  margin-top: 5px;
  -webkit-box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}
#banner #btnGo:active {
  position: absolute;
  bottom: 3px;
  -webkit-box-shadow: inset 0px -3px 1px white, inset 0 0px 3px rgba(0, 0, 0, 0.9);
  -moz-box-shadow: inset 0px -3px 1px white, inset 0 0px 3px rgba(0, 0, 0, 0.9);
  box-shadow: inset 0px -3px 1px white, inset 0 0px 3px rgba(0, 0, 0, 0.9);
}
#banner #btnGo:focus {
  outline: 0;
}
#banner section.row .bannercontent {
  margin-top: -80px;
}
#banner .row:first-child {
  margin-top: 80px;
}

header .col-md-8 {
  border-top: 2px solid #333333;
  padding-left: 0px;
}
header .col-md-4 {
  border-top: 2px solid #990100;
}

#logo, .navbar-header {
  text-align: center;
  padding: 30px 0px;
  margin-right: -5px;
}
#logo img, .navbar-header img {
  height: 40px;
  position: relative;
  z-index: 2;
}

.logo_img img {
  height: 180px;
}

.logo_img {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: -20px;
  margin-top: 30px;
}

.aboutbanner {
  background-image: url("../img/weight-1200.png");
  background-size: cover;
}

.darken {
  position: absolute;
  width: 100%;
  height: 500px;
  background-color: rgba(51, 51, 51, 0);
  z-index: 1;
}
.darken .slide {
  height: 100%;
  width: 100%;
}
.darken #slide1, .darken .aboutbanner {
  background-image: url("../img/weight-1200.png");
  background-size: cover;
}
.darken #slide2 {
  background-image: url("../img/run-1200.png");
  background-size: cover;
}
.darken #slide3 {
  background-image: url("../img/cycle-1200.png");
  background-size: cover;
}

#plan {
  padding: 50px 0px;
}
#plan .title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}
#plan .icon i {
  font-size: 80px;
  background-color: #333333;
  height: 160px;
  width: 160px;
  border-radius: 80px;
  text-align: center;
  display: block;
  padding-top: 40px;
  color: #e8e8e8;
  margin: 0 auto;
}
#plan .arrow {
  max-width: 100%;
  margin-top: 120px;
}
#plan .text {
  padding: 30px;
  text-align: center;
}

#mapWrapper #filterWrapper {
  position: absolute;
  z-index: 900;
  width: 100%;
}
#mapWrapper #filterWrapper #filter {
  -moz-box-shadow: 0 0 1px #888;
  -webkit-box-shadow: 0 0 1px #888888;
  box-shadow: 0 0 1px #888;
  background-color: rgba(246, 246, 246, 0.9);
  height: 92px;
  margin-top: 20px;
  padding: 5px 15px;
  border: 1px solid #e8e8e8;
}
#mapWrapper #filterWrapper #filter div.row, #mapWrapper #filterWrapper #filter form {
  height: 100%;
}
#mapWrapper #filterWrapper #filter .title {
  font-weight: bold;
}
#mapWrapper #filterWrapper #filter #searchForm label, #mapWrapper #filterWrapper #filter #searchForm input[type="checkbox"] {
  margin: 0px;
  font-weight: normal;
  margin-right: 5px;
}
#mapWrapper #filterWrapper #filter #searchForm > .col-md-3 {
  height: 90%;
  border-right: 1px solid #e8e8e8;
}
#mapWrapper #filterWrapper #filter #searchForm .row .col-md-3 label {
  cursor: pointer;
  cursor: hand;
}
#mapWrapper #filterWrapper #filter #searchForm #address {
  width: 160px;
  margin: 20px 0px;
  padding: 10px 10px;
  border: 1px solid #e8e8e8;
}
#mapWrapper #map {
  height: 580px;
  width: 100%;
  border-bottom: 1px solid #e8e8e8;
}
#mapWrapper .blurred {
  -webkit-filter: blur(2px);
}
#mapWrapper .info {
  position: relative;
  z-index: 1000;
}

#detailWrapper {
  position: absolute;
  z-index: 1000;
  top: 0px;
  display: none;
  left: 50%;
}
#detailWrapper #detailImages {
  margin-bottom: -113px;
}
#detailWrapper #detailImages img {
  width: 100%;
  height: 100%;
}
#detailWrapper #detailImages .image {
  background-size: cover;
  background-position: center;
  height: 200px;
  width: 100%;
}
#detailWrapper #detailImages #prev {
  position: relative;
  top: -150px;
  z-index: 1000;
  float: left;
  font-size: 80px;
  left: 10px;
  cursor: hand;
  cursor: pointer;
}
#detailWrapper #detailImages #prev a {
  color: #990100;
}
#detailWrapper #detailImages #next {
  position: relative;
  top: -150px;
  float: right;
  z-index: 1000;
  font-size: 80px;
  right: 10px;
  cursor: hand;
  cursor: pointer;
}
#detailWrapper #detailImages #next a {
  color: #990100;
}
#detailWrapper #detailTitle {
  margin-bottom: 5px;
}
#detailWrapper #detailTitle .col-xs-3 {
  padding-right: 0px;
  position: absolute;
  right: 0;
  bottom: 14px;
}
#detailWrapper #detailTitle .title {
  font-size: 50px;
  font-weight: bold;
}
#detailWrapper #detailTitle .title img {
  margin-right: 20px;
}
#detailWrapper #detailTitle .actions {
  text-align: right;
}
#detailWrapper #detailTitle .actions button {
  max-width: 45px;
}
#detailWrapper #detailTitle .actions button:first-child {
  margin-right: 5px;
}
#detailWrapper #detail {
  -moz-box-shadow: 0 0 1px #888;
  -webkit-box-shadow: 0 0 1px #888888;
  box-shadow: 0 0 1px #888;
  background-color: rgba(246, 246, 246, 0.9);
}
#detailWrapper #detail > .row {
  padding: 30px 30px 30px 30px;
}
#detailWrapper #detail > .row:first-child {
  padding-bottom: 15px;
}
#detailWrapper #detail .criteria .col-xs-6 {
  margin-bottom: 10px;
}
#detailWrapper #detail .criteria .col-xs-6 i {
  padding-right: 5px;
}
#detailWrapper #detail .criteria .col-xs-6 i.fa-check {
  color: #990100;
}
#detailWrapper #detail .criteria .col-xs-6 .title {
  font-weight: bold;
}
#detailWrapper #detail #newsletter {
  position: relative;
  bottom: -27px;
}
#detailWrapper #detail #formNewsletter div {
  margin: 0px;
  padding: 0px;
}
#detailWrapper #detail #formNewsletter input {
  padding-left: 5px;
  width: 100%;
  height: 38px;
}
#detailWrapper #detail #formNewsletter button {
  margin-top: 0px;
}
#detailWrapper #signup {
  background-color: #e8e8e8;
}
#detailWrapper #form {
  margin: 20px 50px;
  text-align: center;
}
#detailWrapper #form label {
  width: 100px;
  text-align: left;
}
#detailWrapper #form form div {
  margin-bottom: 20px;
}
#detailWrapper #form form {
  margin-bottom: -20px;
}
#detailWrapper #form input {
  padding-left: 5px;
  height: 38px;
  width: 300px;
}
#detailWrapper #btnSubmit {
  display: none;
  margin-top: 18px;
}
#detailWrapper #formWrapper {
  display: none;
}
#detailWrapper #btnCancelForm {
  position: absolute;
  width: 40px;
  top: 15px;
}
#detailWrapper #agb {
  width: 20px !important;
  margin-left: -15px !important;
  height: auto !important;
}
#detailWrapper label[for="agb"] {
  margin-left: 1px !important;
  width: 170px !important;
}

#detailWrapper.formvisible #train button {
  display: none;
}
#detailWrapper.formvisible #btnSubmit {
  display: block !important;
}
#detailWrapper.formvisible #newsletter {
  bottom: auto !important;
}
#detailWrapper.formvisible #detailinformation {
  display: none !important;
}

#results {
  background-color: #f6f6f6;
  padding: 30px 0px;
}
#results .row {
  margin-bottom: 30px;
}
#results .row .studio {
  height: 150px;
  background-color: #e8e8e8;
  padding-top: 15px;
  -moz-box-shadow: 0 0 1px #888;
  -webkit-box-shadow: 0 0 1px #888888;
  box-shadow: 0 0 1px #888;
}
#results .row .studio .right {
  padding-left: 25px;
}
#results .row .studio .name {
  font-weight: bold;
  font-size: 22px;
}
#results .row .studio img {
  border: 1px solid #e8e8e8;
  -moz-box-shadow: 0 0 1px #888;
  -webkit-box-shadow: 0 0 1px #888888;
  box-shadow: 0 0 1px #888;
}
#results .row .studio.highlight {
  -moz-box-shadow: 0 0 10px #990100;
  -webkit-box-shadow: 0 0 10px #990100;
  box-shadow: 0 0 10px #990100;
}
#results .row .studio .showDetails {
  margin-top: 12px;
  float: right;
  width: 80px;
}

@media screen and (max-width: 480px) {
  #slide1, .aboutbanner {
    background-image: url("../img/weight-480.png");
    background-size: cover;
    background-position: center 0px;
  }

  #slide2 {
    background-image: url("../img/run-480.png");
    background-size: cover;
    background-position: center 0px;
  }

  #slide3 {
    background-image: url("../img/cycle-480.png");
    background-size: cover;
    background-position: center 0px;
  }
}
@media screen and (max-width: 768px) {
  .container-fluid, .navbar-collapse {
    float: none !important;
  }

  .navbar ul {
    height: auto;
  }
  .navbar ul li a {
    height: auto;
    line-height: normal;
    padding: 10px 40px 10px 40px;
  }

  header {
    border-top: 2px solid #990100;
  }

  .navbar-header {
    margin: 0px !important;
    height: 102px;
  }
  .navbar-header button {
    margin-right: 10px;
  }
  .navbar-header img {
    margin-left: 40px;
  }

  .navbar-collapse {
    background-color: #e8e8e8;
    margin-left: 0px !important;
    margin-right: 0px !important;
    width: 100%;
    overflow: hidden;
  }
  .navbar-collapse li.active a {
    background-color: #990100 !important;
    color: white !important;
    border-bottom: 0 !important;
    background-image: none !important;
  }
  .navbar-collapse li.active a:hover {
    color: white !important;
  }
  .navbar-collapse li a:hover {
    color: #990100 !important;
  }

  .navbar-toggle {
    border: none;
  }
  .navbar-toggle .icon-bar {
    background-color: #990100 !important;
  }
  .navbar-toggle:hover, .navbar-toggle:focus {
    background-color: transparent !important;
    border: 1px solid #e8e8e8 !important;
  }

  header .col-md-8 {
    border: none;
  }

  #results > .row {
    padding: 0px 15px;
  }

  .studio .right {
    padding-left: 0px !important;
  }

  #detailTitle .title {
    font-size: 30px !important;
  }

  #detail > .row > .col-sm-6:first-child {
    margin-bottom: 20px;
  }

  .quote {
    font-size: 28px !important;
  }

  .bannercontent {
    text-align: center;
  }

  #banner {
    padding: 20px;
    height: 390px;
  }
  #banner .row:first-child {
    margin-top: 20px;
  }
  #banner .form {
    margin-top: 100px;
  }
  #banner form {
    margin-left: 0px;
  }
  #banner img {
    height: 160px;
  }

  .darken {
    height: 390px;
  }

  #plan i {
    height: 140px !important;
    width: 140px !important;
    font-size: 70px !important;
    padding-top: 35px !important;
  }

  .aboutbannercontent .quoteHeader {
    font-size: 40px !important;
  }
  .aboutbannercontent .quote {
    font-size: 25px !important;
  }

  #formWrapper {
    padding-top: 1px;
  }

  #slide1, .aboutbanner {
    background-image: url("../img/cycle-768.png") !important;
    background-size: cover;
    background-position: center 0px;
  }

  #slide2 {
    background-image: url("../img/run-768.png");
    background-size: cover;
    background-position: center 0px;
  }

  #slide3 {
    background-image: url("../img/cycle-768.png");
    background-size: cover;
    background-position: center 0px;
  }
}
@media screen and (min-width: 768px) and (max-width: 992px) {
  .studio .name {
    font-size: 20px !important;
  }

  .navbar ul li a {
    padding: 0px 15px;
  }

  .quote {
    font-size: 48px !important;
  }

  .bannercontent button {
    width: 50px !important;
  }

  #plan i {
    font-size: 50px !important;
    height: 100px !important;
    width: 100px !important;
    padding-top: 25px !important;
  }
  #plan .title {
    font-size: 20px;
  }
  #plan .arrow {
    margin-top: 90px;
  }

  #banner {
    height: 390px;
  }
  #banner .row:first-child {
    margin-top: 30px;
  }

  .darken {
    height: 390px;
  }

  .aboutbannercontent .quoteHeader {
    font-size: 50px !important;
  }
  .aboutbannercontent .quote {
    font-size: 30px !important;
  }

  .container {
    width: auto !important;
  }

  #detailTitle .title {
    font-size: 35px !important;
  }

  #formNewsletter button {
    padding: 8px 7px 10px !important;
  }

  #slide1, .aboutbanner {
    background-image: url("../img/cycle-992.png");
    background-size: cover;
    background-position: center 0px;
  }

  #slide2 {
    background-image: url("../img/run-992.png");
    background-size: cover;
    background-position: center 0px;
  }

  #slide3 {
    background-image: url("../img/cycle-992.png");
    background-size: cover;
    background-position: center -120px;
  }
}
@media screen and (max-width: 1120px) {
  #filterWrapper {
    right: 0px;
    width: auto !important;
  }
  #filterWrapper .container {
    width: auto !important;
  }
  #filterWrapper .col-md-12 {
    width: 220px;
    height: auto;
    float: right;
    margin-top: 20px;
  }
  #filterWrapper #filter {
    height: auto !important;
  }
  #filterWrapper .col-md-7 > .row > div {
    margin-bottom: 5px;
  }

  #searchForm > div {
    float: none;
    width: auto;
  }

  #address {
    width: 100% !important;
    margin: 5px 0px !important;
  }

  #map {
    height: 580px;
  }

  /*#plan i {
    height: 140px !important;
    width: 140px !important;
    font-size: 70px !important;
    padding-top: 35px !important;
  }*/
}
@media screen and (min-width: 1120px) and (max-width: 1200px) {
  #address {
    width: 110px !important;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  #searchForm .col-md-7 > .row > div {
    padding-right: 14px;
    padding-left: 15px;
    width: auto;
  }

  .navbar ul li a {
    padding: 0px 28px;
  }

  #banner .row:first-child {
    margin-top: 55px;
  }

  .aboutbannercontent .quote {
    font-size: 35px !important;
  }

  #plan i {
    height: 140px !important;
    width: 140px !important;
    font-size: 70px !important;
    padding-top: 35px !important;
  }

  #slide1, .aboutbanner {
    background-image: url("../img/weight-1200.png");
    background-size: cover;
    background-position: center -105px;
  }

  #slide2 {
    background-image: url("../img/run-1200.png");
    background-size: cover;
    background-position: center -50px;
  }

  #slide3 {
    background-image: url("../img/cycle-1200.png");
    background-size: cover;
    background-position: center -180px;
  }
}
@media screen and (min-width: 1200px) {
  #slide1, .aboutbanner {
    background-image: url("../img/cycle-1600.png");
    background-size: cover;
    background-position: center -90px;
  }

  #slide2 {
    background-image: url("../img/run-1600.png");
    background-size: cover;
    background-position: center -90px;
  }

  #slide3 {
    background-image: url("../img/cycle-1600.png");
    background-size: cover;
    background-position: center -195px;
  }
}
