html,
body {
  height: 100%;
  font-family: 'Work Sans', sans-serif;
  max-width: 100%;
}

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

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 0px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

#w1 {
  text-align: center;
}

.wrap #w0 {
  z-index: 1000;
  border-color: transparent;
}

#w0.navbar-solid {
  background-color: #080941; /* bacomes 'transparent' on hp */
}
#w0.navbar-transparent {
  background-color: transparent;
}

@media (max-width: 767px) {
  .wrap #w0 {
    background-color: #080941;
    z-index: 1200;
    border-color: transparent;
    width: 100vw;

  }
}

a.red-link {
  color: #ff583e !important;
}

.cd-menu-item.active a {
  background-color: transparent !important;
}

.cd-menu-item.active a span {
  border-bottom: 3px solid white;
  padding-bottom: 2px;
  padding-left: 2px;
  padding-right: 2px;
}

.frontend-application a {
  color: white;
}
.frontend-application ul.breadcrumb li a {
  color: #337ab7;
}
.page-legal a {
  color: #337ab7;
}

.backend-application {
  margin-bottom: 80px;
}

.logotype {
  z-index: 150;
}

.logotype img {
  height: 25px;
  z-index: 150;
  position: relative;
}

.btn-menu-register a {
  color: white;
  font-weight: bold;
  background-color: #ff583e;
  border-radius: 6px;
  padding: 3px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin: 3px;
  margin-top: 5px;
}

.footer {
  background-color: #080941;
  padding-top: 20px;
  padding-bottom: 20px;
  color: white;
}

.footer-content-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.footer-1-row {
  padding-bottom: 30px;
}

.footer-2-row .col-lg-12 {
  margin-left: 50px;
  padding-left: 10px;
  padding-right: 10px;
}

ul.footer-left-menu {
  list-style-type: none;
  padding-left: 0px;
  margin-left: 20px;
  padding-left: 30px;
}
ul.footer-left-menu li a {
  color: white !important;
}
@media (max-width: 767px) {
  ul.footer-left-menu {
    margin-bottom: 20px;
    
  }
  ul.footer-left-menu li a {
    color: white !important;
  }
}

ul.footer-left-menu li {
  padding-bottom: 6px;
}

.footer-social-links {
  margin-left: 50px;
}
@media (max-width: 767px) {
  .footer-social-links {
    margin-bottom: 20px;
  }
}

.footer-cta {
  margin-left: 50px;
}

.footer-register-text {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-link {
  display: block;
  float: right;
  margin-right: 20px;
}
.footer-link a {
  color: white;
}

@media (max-width: 767px) {
  .footer-link {
    margin-top: 10px;
    float: left;
    margin-right: 0px;
    margin-left: 50px;
  }
}

.company-title {
  margin-left: 20px;
}

@media (max-width: 767px) {
  .company-title {
    margin-left: 50px;
  }
}

.jumbotron {
    text-align: center;
    /*background-color: transparent;*/
    /*background-color: gray;*/
    background-image: url(/img/homepage/hp-bg.png);
    background-size: cover;
    background-position-y: 20%;
    background-position-x: 30%;
    background-repeat: no-repeat;
    margin-left: -200px;
    margin-right: -200px;
    position: relative;
    margin-top: -71px;
    z-index: 200;
    height: 600px;
}

.jumbotron-about {
  text-align: center;
  background-size: cover;
  background-position-y: 20%;
  background-position-x: 30%;
  background-repeat: no-repeat;
  margin-left: -200px;
  margin-right: -200px;
  height: 400px;
  background-image: url(/img/about/about-bg.png);
  z-index: 200;
  margin-top: -71px;
}

.jumbotron-plans {
  margin-left: -200px;
  margin-right: -200px;
  position: relative;
  margin-top: -71px;
  z-index: 200;
  height: 270px;
  background-color: #080941;
}

@media (max-width: 970px) {
  .jumbotron-about {
    background-size: 155%;
    background-position-x: 55%;
  }
}

@media (max-width: 767px) {
  .jumbotron {
    margin-left: -20px;
    margin-right: -20px;
    background-size: 228%;
    background-position-x: 60%;
    height: 480px;
  }
  .jumbotron-about {
    margin-left: -20px;
    margin-right: -20px;
    height: 381px;
    background-size: 365%;
    background-position-x: 47%;
  }
  .jumbotron-plans {
    margin-left: -20px;
    margin-right: -20px;
  }
}

@media (max-width: 630px) {
  .jumbotron {
    height: 317px;
  }
}

.leading-text {
  margin-left: 30px;
}


.cd-content-wrapper {
  z-index: 300;
  position: absolute;
  top: 0;
  padding-top: 90px;
  max-width: 960px;
  /*padding-left: 10%;*/
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 767px) {
  .cd-content-wrapper {
    padding-top: 70px;
    padding-left: 10px;
  }
}

.leading-text p a.btn {
    font-size: 14px;
    padding: 6px 30px;
    border-radius: 10px;
}

.btn-cta-register {
  color: white;
  font-weight: bold;
  background-color: #ff583e;
}

.leading-text h1 {
  color: white;
  text-align: left;
  width: 350px;
  font-size: 60px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .leading-text h1 {
    font-size: 40px;
    width: 100%;
    max-width: 260px;
    text-align: left;
  }

  .leading-text div p {
    max-width: 260px;
    text-align: left;
  }
}

.lead {
  color: white;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.body-content {
  margin: 0 auto;
  max-width: 960px;
}
@media (max-width: 767px) {
  .body-content {
    max-width: 500px;
  }
}

.hp-benefits {
  padding: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-width: 250px;
  width: 100%;
  max-width: 450px;
  padding-left: 0px;
  text-align: center;
}

@media (max-width: 767px) {
  .hp-benefits {
    padding: 0px;
  }
}

.hp-benefits img {
  display: inline-block;
  width: 100px;
  margin: 16px;
}

.hp-intro {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 0px;
  max-width: 400px;
  margin-left: 20px;
}

@media (max-width: 767px) {
  .hp-intro {
    text-align: center;
    padding-left: 0px;
    padding-right: 30px;
    padding-top: 30px;
  }
}

.hp-intro h2 {
  margin-top:0px;
}


.ac-containter {
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  margin-top: 30px;
  margin-bottom: 30px;
  margin: 0 auto;
  height: 400px;
}

.hp-img2 {
  color: white;
  font-size: 34px;
  background-image: url(/img/homepage/hp-bg2.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
  padding-top: 40px;
  padding-bottom: 50px;
  text-align: center;
}

.hp-img2-text {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 30px;
  font-weight: 300;
  font-size: 32px;
}
@media (max-width: 787px) {
  .hp-img2 {
    padding-top: 10px;
  }
  .hp-img2-text {
    max-width: 400px;
    font-size: 26px;
  }
}

.hp-saying-author {
  font-size: 10px !important;
  font: italic;
  text-align: right;
}

.spacer {
  height: 50px;
  width: 1px;
}

.hp-box-image img {
  min-width: 200px;
  width: 100%;
  max-width: 400px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.cd-menu-item a {
  color: white !important;
  font-weight: bold;
}

.cd-menu-login {
  padding: 10px;
}

.cd-menu-login a {
  border: 2px solid white;
  border-radius: 6px;
  padding: 3px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.nav > li > form > button.logout {
  color: white !important;
  font-weight: bold;
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/*
Generic
*/
.hidden {
    display: none;
}

/*
Homepage
*/
.hp-desc {
  width: 300px;
}
.hp-image {  
  margin: 20px;
  margin-left: 0px;
  margin-top: 10px;
  height: 200px;
  width: 300px;
  border:2px solid #fff;
  box-shadow: 0px 0px 3px 0px black;
  margin-bottom: 20px;
}

.hp-readmore {
  margin-left: 195px;

}




/*
Lowered menu z-index because of calendar going under it:
*/
.navbar-fixed-top, .navbar-fixed-bottom  {
    z-index: 10;
}

/*
Sections
*/
.event-pick-title {
    font-weight: bold;
    font-size: 12px;
    color: blue;
}
.event-pick-checkbox {
    margin-right: 12px;
    width: 10px;
}
.event-pick-checkbox label {
    font-weight: normal;
}
span.note {
    font-style: italic;
    font-weight: normal;
    font-size: 12px;
}


/*
Graphs
*/
.event-section {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.event-title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
}
.graph-wrapper {
    margin: 0 auto;
    min-width: 300px;
    max-width: 700px;
    /*height:800px;*/
    position: relative;
}


/*
Athletes - view
*/
.athlete-results-wrapper {
  margin-top: 36px;
}
.athlete-results-grid {
  margin-bottom: 36px;
}  


/*
Plans
*/

div.price-box-wrapper {
  /* max-width: 290px; */
  border-radius: 10px;
  padding-bottom: 10px;
  box-shadow: 0px 0px 6px 2px #80808033;
  position: relative;
  margin-top: -40px;
  z-index: 400;
  height: 280px;
  background-color: white;
}

div.price-box-wrapper.price-box-featured {
  margin-top: -80px;
  height: 320px;
}

div.price-box-wrapper.price-box-featured div.price-box {
  padding-bottom: 40px;
}

div.price-box {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 30px;  
}

div.price-box div.title {
  font-size: 28px;
  font-weight: 700;
  color: #080941;
}

div.price-box div.price {
  font-size: 14px;
  font-weight: bold;
  color: #080941;
  padding-bottom: 18px;
}

div.price-box ul.info {
  color: #808080;
  list-style-type: none;
  padding-left: 0px;
  height: 100px;
}

.terms a {
  color: #4579b2;
}

/*
Contact page
*/

.contact-text {
  font-size: 32px;
  font-weight: lighter;
  max-width: 376px;
}

/*
Login page
*/
.site-login {
  margin: 0 auto;
  max-width: 350px;
}

.login-title {
  color: #080941;
  font-size: 32px;
  font-weight: 700;
  padding-left: 15px;;
}

.login-wrapper {
  height: 380px;
  padding: 30px;
  padding-left: 15px;
  border: 1px solid #80808033;
  box-shadow: 0px 0px 6px 2px #80808033;
  border-radius: 12px;
}

#login-form {
  color: gray;
  border-radius: 12px;
  font-weight: lighter !important;
}
#login-form * {
  font-weight: lighter;
}

.login-submit {
  margin-top: 10px;
}

.login-submit .btn-cta-register {
  font-weight: bold !important;
}

/*
Legal pages
*/
.legal-info {
  max-width: 960px;
  line-height: 24px;
  margin-bottom: 0px;
}

/*
About page
*/

.about .body-content {
  margin-top: 40px;
}

.about-main-image img {
  display: inline-block;
  max-width: 500px;
  margin-left: -60px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.about-steps .row .col-centered {
  margin-bottom: 30px;
}

.about-step-title {
  font-size: 30px;
  font-weight: bold;
}

.about-number-circle {
  display: inline-block;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  padding: 2px;
  background: #ff583e;
  border: 2px solid #ff583e;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
}

.about-number-desc {
  margin-top: 14px;
  margin-left: 62px;
  margin-right: 62px;
}



.about-info {
  max-width: 960px;
  line-height: 24px;
  margin-bottom: 0px;
}

.about-samples {
  margin-top: 40px;
  margin-bottom: 55px;
}

.about-image {
  min-width: 200px;
  width: 800px;
  margin-bottom: 40px;
  border:2px solid #fff;
  box-shadow: 0px 0px 3px 0px black;
}

.about-mobile-app-links {
  padding: 10px;
  display: inline-block;
}

/*
Register page
*/
.register-title {
  font-size: 34px;
  font-weight: bold;
  display: block;
  margin-bottom: 36px;
  margin-top: 20px;
}

  /*
  Android and iOS badges
  */
  .app-badge-wrapper {
    position: relative;
  }
  .app-badge a img {
    max-height: 40px;
    float: left;
  }
  .app-badge-android a img {
    max-height: 60px;
    float: left;
  }
  .app-badge-ios a img {
    margin: 10px;
  }

  @media (max-width: 767px) {
    .site-plans .body-content .row {
      margin-top: -40px;
    }
    .about .body-content {
      margin-top: 0px;
    }
    div.price-box-wrapper {
      max-width: 290px;
      margin: 0 auto;
      margin-bottom: 40px;
      margin-top: 0px;
    }
    div.price-box-wrapper.price-box-featured {
      margin-top: 0px;
      height: 280px;
    }
    div.price-box-wrapper.price-box-featured div.price-box {
      padding-bottom: 0px;
    }
  }

  /*
  Contact page
  */
  .site-contact {
    margin-left: 20px;
    margin-right: 20px;
  }

  /*
  Register page
  */
  .site-register-club .body-content {
    margin-left: 20px;
    margin-right: 20px;
  }