/***** Custom styles *****/
body {
  overflow-x: hidden;
  font-family: 'Open Sans', sans-serif;
  color: #555658;
}

p {
  font-size: 14px;
  line-height: 1.75;
}

p.large {
  font-size: 16px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
  outline: none;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: 700;
}

.img-centered {
  margin: 0 auto;
}

.bg-light-gray {
  background-color: #eeeeee;
}

section {
  padding: 50px 0;
}

.content-step-title {
  display: flex;
  font-size: 30px;
  width: 75%;
  margin: 0 auto 40px;
  color: #555658;
  align-items: center;
  text-transform: initial;
}

.content-step-title:before, .content-step-title:after {
  content: "";
  display: block;
  height: 1px;
  flex: 1 1 auto;
  background-color: #555658;
}

.content-step-title:before {
  margin-right: 25px;
}

.content-step-title:after {
  margin-left: 25px;
}

@media (max-width: 768px) {
  section {
    padding: 30px 0;
  }
}
@media (max-width: 460px) {
  section {
    padding: 15px 0;
  }
  .content-step-title {
    width: 100%;
    max-width: 100%;
    font-size: 28px;
  }
  .content-step-title:before {
    margin-right: 15px;
  }
  .content-step-title:after {
    margin-left: 15px;
  }
}

/**** Main navigation *****/
.navbar-custom {
  background-color: rgba(129, 129, 129, 0.7);
  padding: 25px 0;
  -webkit-transition: padding 0.3s;
  -moz-transition: padding 0.3s;
  transition: padding 0.3s;
  border: none;
}

.navbar-custom .navbar-brand {
  color: #fff;
  display: flex;
  align-items: center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .navbar-brand:active,
.navbar-custom .navbar-brand.active {
  color: #fff;
}

.navbar-custom .navbar-brand .main-logo {
  height: 60px;
  width: auto;
}

.navbar-custom .navbar-brand .main-title {
  width: 90px;
  text-align: center;
  margin-left: 5px;
}

.navbar-custom .navbar-collapse {
  border-color: rgba(255, 255, 255, 0.02);
}

.navbar-custom .navbar-toggle {
  background-color: #db8d8d;
  border-color: #db8d8d;
  color: white;
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 20px;
}

.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
  background-color: #db8d8d;
}

.navbar-custom .navbar-toggle .fa {
  color: #fff;
  font-size: 28px;
}

.navbar-custom .nav li a {
  font-weight: 400;
  letter-spacing: 1px;
  color: #fff;
  font-size: 18px;
  position: relative;
  padding: 15px 0;
  margin: 0 15px;
}

.navbar-custom .nav li a::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #db8d8d;
  border: 1px solid #db8d8d;
  display: inline-block;
  border-radius: 50%;
  position: absolute;
  top: 21px;
  right: -20px;
}

.navbar-custom .nav li:last-child a::after {
  content: none;
}

.navbar-custom .nav li a:before {
  width: 0;
  height: 3px;
  background: #db8d8d;
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.navbar-custom .nav li a:hover:before {
  width: 100%;
  left: 0;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
  color: #fff;
  outline: none;
}

.navbar-custom .navbar-nav > .active > a {
  border-radius: 3px;
  color: #fff;
  background-color: #db8d8d;
}

.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #db8d8d;
}

@media (max-width: 768px) {
  .navbar-custom {
    background-color: #7d7474;
    border-color: transparent;
    padding-top: 15px;
    padding-bottom: 0;
  }
  .navbar-custom .nav li a::after  {
    content: none;
  }
  .navbar-custom .nav li a::before  {
    content: none;
  }
}
@media (min-width: 768px) {
  .navbar-custom.affix {
    background-color: #353131;
    padding: 10px 0;
  }
  .navbar-custom.affix .navbar-brand {
    font-size: 1.5em;
  }
  .navbar-custom.affix .navbar-brand .main-logo {
    height: 50px;
  }
  .navbar-custom.affix .navbar-brand .main-title {
    margin-left: 10px;
  }
}

/***** Top header *****/
.top-header {
  background-image: url('../img/header-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.top-header .intro-text {
  min-height: 520px;
  color: #fff;
}

.top-header .intro-text .intro-lead-in {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(129, 129, 129, 0.7);
  font-size: 36px;
  line-height: 90px;
  text-align: right;
  padding: 0 13%;
  text-decoration: underline;
  text-decoration-color: #db8d8d;
}

@media (max-width: 1020px) {
  .top-header .intro-text {
    min-height: 420px;
  }
  .top-header .intro-text .intro-lead-in { 
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .top-header .intro-text {
    min-height: 310px;
  }
  .top-header .intro-text .intro-lead-in { 
    font-size: 24px;
  }
}
@media (max-width: 520px) {
  .top-header {
    background-size: auto 122%;
    background-position: 15% -90%;
  }
  .top-header .intro-text {
    min-height: 280px;
  }
  .top-header .intro-text .intro-lead-in { 
    font-size: 22px;
    line-height: inherit;
    padding: 10px 12%;
  }
}

/***** Slider *****/
.carousel-wrapper {
  width: 75%;
  margin: auto;
}

@media (max-width: 768px) {
  .carousel-wrapper {
    width: 100%;
  }
}

/***** About us *****/
.about-us-container {
  text-align: center;
}

.about-us-container h3 {
  font-size: 18px;
  font-weight: normal;
  text-transform: initial;
  margin: 5px 0 8px;
}

.about-us-container .page-scroll {
  color: #db8d8d;
}

.about-us-container .page-scroll:hover {
  text-decoration: underline;
}

/***** Our team *****/
.our-team-wrapper {
  display: flex;
  justify-content: center;
}

.single-trainer {
  flex: 0 0 19%;
  border: 1px solid #d3d3d3;
  margin-right: 13px;
  padding: 50px 0;
  border-radius: 10px;
  -webkit-box-shadow: 2px 2px 11px 0px rgba(149, 137, 137, 0.75);
  -moz-box-shadow: 2px 2px 11px 0px rgba(149, 137, 137, 0.75);
  box-shadow: 2px 2px 11px 0px rgba(149, 137, 137, 0.75);
}

.single-trainer:last-of-type {
  margin-right: 0;
}

.single-trainer .img-box {
  max-width: 150px;
  margin: 0 auto;
  display: block;
}

.single-trainer .img-box .img-responsive {
  border-radius: 50%;
  border: 1px solid #db8d8d;
}

.single-trainer h2 {
  font-weight: normal;
  font-size: 18px;
  margin: 20px 0 15px 0;
  text-align: center;
  text-transform: initial;
}

.single-trainer h3,
.single-trainer p {
  font-weight: normal;
  font-size: 14px;
  margin: 10px 0 0 0;
  text-align: center;
  text-transform: initial;
}

.single-trainer p {
  margin: 0;
}

@media (max-width: 992px) {
  .our-team-wrapper {
    flex-wrap: wrap;
  }
  .single-trainer {
    flex: 0 0 31%;
    margin-bottom: 10px;
    margin-right: 10px;
  }
}
@media (max-width: 600px) {
  .single-trainer {
    flex: 0 0 47%;
  }
}
@media (max-width: 420px) {
  .single-trainer {
    flex: 0 0 100%;
    margin-right: 0;
    padding: 25px 0;
  }
}

/***** Timetable *****/
.timetable-wrapper .timetable-img-container img {
  width: 100%;
}

.timetable-info {
  margin: 15px 0 0 10px;
}

.timetable-info p {
  font-size: 16px;
  margin-bottom: 0;
}

.timetable-info .page-scroll {
  color: #db8d8d;
}

.timetable-info .page-scroll:hover {
  text-decoration: underline;
}

@media (max-width: 992px) { 
  .timetable-wrapper .timetable-img-container {
    margin-bottom: 30px;
  }
  .timetable-wrapper .timetable-img-container:last-of-type {
    margin-bottom: 0;
  }
}

@media (max-width: 500px) { 
  .timetable-wrapper .col-xs-6 {
    width: 100%;
  }
  .timetable-info p {
    font-size: 14px;
  }
}

/***** Pricelist *****/
/* .pricelist-container .single-row:after {
  content: "";
  display: block;
  border-bottom: 1px solid #d0d0d0;
  margin: 0 15px;
} */

.pricelist-container .single-table {
  margin-bottom: 20px;
}

.pricelist-container .single-table:after {
  content: '';
  height: 100%;
  border-right: 1px solid #d0d0d0;
  position: absolute;
  right: -5px;
  top: 0;
}

.pricelist-container .single-table:last-child:after {
  content: none;
}

.pricelist-container .table-heading {
  text-align: center;
  margin-bottom: 30px;
}

.pricelist-container .table-heading img {
  max-width: 40px;
}

.pricelist-container .table-heading h3 {
  margin-top: 5px;
  font-size: 14px;
  text-transform: none;
  font-weight: normal;
}

.pricelist-container .table-wrapper {
  min-height: 150px;
}

.pricelist-container .table-wrapper table {
  width: 90%;
  margin: auto;
}

.pricelist-container .table-wrapper th {
  padding: 0px 15px 10px;
  width: 33%;
  border-bottom: 1px solid #db8d8d;
  text-align: center;
  font-weight: normal;
}

.pricelist-container .table-wrapper th:nth-child(2) {
  border-right: 1px solid #db8d8d;
}

.pricelist-container .table-wrapper td {
  text-align: center;
  padding: 3px;
}

.pricelist-container .table-wrapper tbody tr:first-child td {
  padding-top: 10px;
}

.pricelist-container .table-wrapper tbody .right-boder {
  border-right: 1px solid #db8d8d;
  text-align: right;
  padding-right: 10px;
}

.pricelist-container .contact-info {
  text-align: center;
  margin-top: 20px;
}

.pricelist-container .contact-info p {
  margin-bottom: 3px;
}

.additional-pricelist {
  width: 80%;
  margin: 20px auto;
}

.additional-pricelist .right-border:after {
  content: '';
  height: 90px;
  border-right: 1px solid #d0d0d0;
  position: absolute;
  right: 0;
  top: 0;
}

.additional-pricelist .info-labels {
  margin-right: 3%;
  margin-bottom: 10px;
}

.additional-pricelist .info-labels p {
  margin-bottom: 0;
}

.additional-pricelist .info-cost {
  padding-right: 3%;
  text-align: right;
}

.additional-pricelist .info-exercise-type {
  padding-left: 3%;
}

.show-on-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .pricelist-container .table-wrapper {
    min-height: 290px;
  }
}
@media (max-width: 992px) {
  .pricelist-container .single-table {
    margin-bottom: 20px;
  }
  .pricelist-container .single-table:nth-child(2):after {
    content: none;
  }
  .pricelist-container .table-wrapper {
    min-height: 210px;
  }
  .additional-pricelist {
    width: 85%;
  }
  /*.additional-pricelist .xs-top-border:before {
    content: "";
    display: block;
    border-bottom: 1px solid #d0d0d0;
    margin: 0 15px 10px;
  }*/
  .additional-pricelist .right-border:after {
    content: none;
  }
  .additional-pricelist .info-exercise-type {
    padding-left: 0;
  }
  .show-on-mobile {
    display: block;
  }
  .hide-on-mobile {
    display: none;
  }
}
@media (max-width: 768px) {
  .pricelist-container .table-wrapper {
    min-height: auto;
  }
  .pricelist-container .table-wrapper table {
    width: 55%;
  }
  .pricelist-container .single-table:after {
    content: none;
  }
  .additional-pricelist {
    width: 100%;
  }
}
@media (max-width: 550px) {
  .pricelist-container .table-wrapper table {
    width: 75%;
  }
}
@media (max-width: 430px) {
  .pricelist-container .table-wrapper table {
    width: 100%;
  }
  .pricelist-container .table-wrapper td {
    font-size: 12px;
  }
  .additional-pricelist .info-cost {
    padding: 0;
    font-size: 12px;
  }
}
@media (max-width: 370px) { 
  .additional-pricelist .col-xs-9 {
    width: 70%;
  }
  .additional-pricelist .col-xs-3 {
    width: 30%;
  }
} 

/***** Contact *****/
.single-contact-box {
  display: flex;
  align-items: flex-end;
  border: 1px solid #d0d0d0;
  padding: 35px 5px 35px 0;
}

.contact-icon-container {
  flex: 0 0 40%;
  text-align: center;
}

.contact-icon-container img {
  max-width: 105px;
}

.address-icon-container .bottom-gap {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.address-icon-container h2 {
  font-size: 17px;
  text-transform: initial;
  margin-top: 0;
  margin-bottom: 25px;
}

.address-icon-container img {
  max-width: 45px;
  margin-right: 5px;
}

@media (max-width: 1200px) {
  .col-xs-6.col-md-4 { 
    margin-bottom: 20px;
  }
  .col-xs-6.col-md-4:last-of-type {
    margin-bottom: 0;
  }
  .contact-icon-container {
    flex: 0 0 35%;
  }
  .address-icon-container {
    min-height: 185px;
  }
}
@media (max-width: 680px) {
  .contact-icon-container {
    flex: 0 0 30%;
  }
  .contact-icon-container img {
    max-width: 95px;
  }  
}
@media (max-width: 630px) {
  .contact-container .col-xs-6 {
    float: none;
    width: 80%;
    margin: 10px auto;
  }
  .single-contact-box { 
    align-items: center;
  }
  .address-icon-container {
    min-height: auto;
  }
}
@media (max-width: 420px) {
  .contact-container .col-xs-6 {
    width: 100%;
  }
  .contact-icon-container {
    margin-right: 10px;
  }
  .single-contact-box {
    padding: 35px 5px 35px 8px;
  }
}

/***** Working time *****/
.working-time-container {
  min-height: 300px;
  background-image: url('../img/working-time.JPG');
  background-size: 100% auto;
  background-position: 0 45%;
  background-repeat: no-repeat;
  position: relative; 
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
  padding: 0 50px 15px;
}

.working-time-container:after {
  content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
  background-image: linear-gradient(#000 0%, #db8d8d 80%);
  opacity: .5; 
  z-index: 1;
}

.working-time-info {
  text-align: center;
  z-index: 999;
}

.working-time-info h3 {
  text-transform: initial;
  font-weight: normal;
  font-size: 34px;
  margin-bottom: 30px;
}

.working-time-info p {
  margin: 0;
  font-size: 18px;
}

.working-time-social-info {
  display: flex;
  align-items: flex-end;
  z-index: 999;
}

.working-time-social-info h3 {
  text-transform: initial;
  font-weight: normal;
  font-size: 18px;
  margin: 0 20px 0 0;
}

.working-time-social-info .social-buttons {
  margin: 0;
}

.working-time-social-info .social-buttons li:first-of-type {
  margin-right: 10px;
}

.working-time-social-info .social-buttons li img {
  max-width: 45px;
}

@media (max-width: 800px) {
  .working-time-container { 
    min-height: 250px;
    background-position: 0 50%;
  }
  .working-time-info h3 { 
    font-size: 30px;
  }
  .working-time-social-info .social-buttons li img {
    max-width: 40px;
  }
}
@media (max-width: 600px) { 
  .working-time-container { 
    flex-direction: column;
    align-items: center;
    background-position: 0 75%;
    padding: 0 40px 15px;
  }
  .working-time-info h3 { 
    font-size: 28px;
    margin-bottom: 20px;
  }
  .working-time-info p {
    font-size: 17px;
  }
  .working-time-social-info {
    margin-top: 10px;
  }
  .working-time-social-info .social-buttons li img {
    max-width: 35px;
  }
}
@media (max-width: 450px) { 
  .working-time-container { 
    background-position: 0 100%;
    padding: 0 30px 15px;
  }
}
@media (max-width: 372px) { 
  .working-time-container { 
    background-size: 130% auto;
    background-position: 55% 100%;
    padding: 0 20px 15px;
  }
}

/***** Body mass index *****/
.body-mass-index-container {
  min-height: 500px;
  background-image: url('../img/body_mass.jpg');
  background-size: 100% auto;
  background-position: 0 10%;
  background-repeat: no-repeat;
  text-align: center;
  position: relative; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3% 15px;
}

.body-mass-index-container:after {
  content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
  background-color: #818181;
  opacity: .7; 
  z-index: 1;
}

.body-mass-index-container .flex-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.input-container {
  position: relative;
  max-width: 270px;
  text-align: center;
  z-index: 999;
}

.input-container .input-text {
  width: 120px;
  background-color: transparent;
  color: #fff;
  border: 1px solid #db8d8d;
  outline: none;
  height: 34px;
  padding: 6px 12px;
  margin-right: 10px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 10px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}

.input-container .input-text::placeholder { 
  color: #fff;
  opacity: 1; 
}

.input-container .input-text:-ms-input-placeholder { 
  color: #fff;
}

.input-container .input-text::-ms-input-placeholder { 
  color: #fff;
}

.input-container .calculate-bmi {
  min-width: 120px;
  background: #db8d8d;
  color: #fff;
  margin-top: 10px;
  outline: none;
  border-radius: 10px;
}

.input-container .calculate-bmi:hover {
  background: #c56666;
}

.result-bmi {
  margin-top: 10px;
  color: #fff;
}

.bmi-table-container {
  position: relative;
  display: flex;
  color: #fff;
  z-index: 999;
}

.bmi-table-container .bmi-table-cell {
  background: #db8d8d;
  color: #fff;
  margin: 1px; 
  font-size: 14px;
  padding: 6px 12px;
  height: 36px;
  line-height: 1.42857143;
  text-align: center;
}

.bmi-values .bmi-table-cell:first-child {
  border-top-left-radius: 10px;
}

.bmi-values .bmi-table-cell:last-child {
  border-bottom-left-radius: 10px;  
}

.bmi-nutrition-degree .bmi-table-cell:first-child  {
  border-top-right-radius: 10px;
}

.bmi-nutrition-degree .bmi-table-cell:last-child {
  border-bottom-right-radius: 10px;  
}

.bmi-info-label {
  position: relative;
  font-size: 16px;
  color: #fff;
  margin-top: 15px;
  z-index: 999;
}

@media (max-width: 992px) {
  .body-mass-index-container {
    background-size: 130% auto;
    background-position: -175px 20%;
  }
}
@media (max-width: 690px) {
  .body-mass-index-container {
    background-size: 160% auto;
    background-position: -270px 35%;
  }
  .body-mass-index-container .flex-container {
    flex-direction: column;
    align-items: flex-end;
  }
  .input-container {
    order: 1;
    margin-top: 10px;
  }
}
@media (max-width: 530px) {
  .body-mass-index-container {
    background-size: 185% auto;
  }
  .bmi-info-label {
    font-size: 14px;
  }
}
@media (max-width: 460px) {
  .body-mass-index-container {
    background-size: 290% auto;
    background-position: -410px 35%;
    padding-top: 10px;
  }
  .body-mass-index-container .flex-container {
    align-items: center;
  }   
  .bmi-table-container .bmi-table-cell {
    font-size: 13px;
  }
  .input-container .body-input-height {
    margin-right: 0;
  }
}

/***** Modal *****/
.modal-body {
  text-align: center;
}

.modal-body p {
  margin: 14px 0;
}

.modal-footer {
  border-top: none;
}

.modal-footer .btn {
  background: #db8d8d;
  color: #fff;
}

.modal-footer .btn:hover {
  background: #c56666;
}

/***** Footer *****/
.footer {
  background: #353131;
  color: #fff;
  padding: 25px 0;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer .gym-name {
  margin-bottom: 5px;
}

.footer ul span {
  font-size: 20px;
  margin-right: 7px;
}

.footer .flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.footer .social-buttons li:first-of-type {
  padding-left: 0;
}

.footer .social-buttons li a {
  display: block;
  background-color: #222222;
  height: 40px;
  width: 40px;
  border-radius: 100%;
  font-size: 20px;
  line-height: 40px;
  color: #fff;
  outline: none;
  text-align: center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.footer .social-buttons li a:hover,
.footer .social-buttons li a:focus,
.footer .social-buttons li a:active {
  background-color: #db8d8d;
}

.copyright-wrapper {
  font-size: 11px;
  text-align: center;
}

.design-logo-container img {
  max-width: 65px;
}

@media (max-width: 540px) {
  .footer .col-md-3.col-sm-4.col-xs-4 {
    width: 100%;
    padding: 0 0 20px 30%;
    min-height: initial;
  }
  .footer .flex-container {
    flex-direction: column;
    margin-top: 10px;
  }
  .footer .social-buttons-container {
    padding-bottom: 10px;
  }
}



