@font-face {
    font-family: 'velocistaregular';
    src: url("../fonts/Velocista-Demo-FFP.ttf") format('truetype'),
         url('../fonts/velocista-demo-ffp-webfont.woff2') format('woff2'),
         url('../fonts/velocista-demo-ffp-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
body {
  font-family: 'Lato', sans-serif;
  overflow: hidden;
  overflow-y: scroll;
  background-color: #000;
}
body .bg-img {
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 100px;
}
body nav {
  background: #f2f2f2;
  position: fixed!important;
  width: 100%;
  z-index: 1000;
}
body nav .navbar-nav a {
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #023859 !important;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}
body nav .navbar-nav a:hover {
  color: #ce170e !important;
}
body nav .navbar-nav .btn-danger {
  background: #ce170e;
  border-color: #ce170e;
  border-radius: 0;
}
body nav .navbar-nav .btn-danger:hover {
  background: #ce170e;
  border-color: #ce170e;
}

a, a:hover {
  color: #ce170e;
}
.nav-link {
  display: block;
  padding: .5rem 1rem!important;
}
#navbar-mob{
  /*border-color: #ce170e;*/
  background-color: #023859;
}
button:focus{
  outline: none;
}
.fh5co-banner-text-box {
  position: relative;
  max-height: 120px;
  display: inline-block;
  margin-top: 125px;
  margin-bottom: 125px                                                        ;
}
.fh5co-banner-text-box .quote-box {
  max-width: 455px;
  padding: 20px 0;
}
.fh5co-banner-text-box .quote-box h2 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 40px;
}
.fh5co-banner-text-box .quote-box h2 span {
  color: #ce170e;
  font-size: 34px;
}
/*.fh5co-banner-text-box .quote-box::before {
  content: "";
  position: absolute;
  height: 38px;
  width: 38px;
  left: 0;
  top: 0;
  background: url("../images/right-quote.png");
  background-repeat: no-repeat;
}
.fh5co-banner-text-box .quote-box::after {
  content: "";
  position: absolute;
  height: 38px;
  width: 38px;
  background: url("../images/left-quote.png");
  background-repeat: no-repeat;
  right: 0;
  bottom: 0;
}
*/
.fh5co-banner-text-box a {
  color: #fff;
  border-color: #4e2b0d;
  border-radius: 0;
  min-width: 150px;
}
.fh5co-banner-text-box a:hover {
  background: transparent;
  border-color: gray;
  color: #ce170e;
}

.fh5co-network, .fh5co-about-us {
  background-color: #f2f2f2;
  padding: 50px 0;
  /*padding-top: 30px;*/
}
.fh5co-network figure, .fh5co-about-us figure {
  margin-top: -70px !important;
}
.fh5co-network h2, .fh5co-about-us h2, .gallery2 h2 {
  color: #023859;
  font-family: 'velocistaregular', sans-serif;
  font-weight: 700;
  font-size: 35px;
  margin-bottom: 0;
}
.fh5co-network h4, .fh5co-about-us h4, .fh5co-network h5, .fh5co-about-us h5, .fh5co-network p, .fh5co-about-us p {
  color: #023859;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
}
.fh5co-network hr, .fh5co-about-us hr, .gallery2 hr{
  border-color: #ce170e;
  border-width: 5px;
  max-width: 100px;
  margin-left: 0;
  border-radius: 5px;
  margin-top: 5px;
}
.form-box .hr{
  background-color: #023859;
  height: 5px;
  max-width: 100px;
  margin-top: 5px;
}
.fh5co-network figure, .fh5co-about-us figure {
  text-align: center;
}

.fh5co-about-us {
  background: transparent;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.fh5co-about-us p {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: normal;
  padding: 30px 0;
}
.fh5co-about-us hr {
  border-color: #fff;
  margin-left: 50px;
  margin-top: 5px;
}
.fh5co-about-us a {
  color: #fff !important;
  border-color: #4e2b0d;
  border-radius: 0;
  min-width: 150px;
}
.fh5co-about-us a:hover {
  background: transparent;
  border-color: gray;
  color: #ce170e;
}

.fh5co-content-box {
  background: #f2f2f2;
  padding-bottom: 100px;
}
.fh5co-content-box .pr-0 img {
  margin-top: -128px;
}
.fh5co-content-box img {
  width: 100%;
}
.fh5co-content-box .card-img-overlay {
  color: #fff;
  top: 35%;
  max-width: 80%;
  margin: 0 auto;
}
.fh5co-content-box .trainers {
  position: relative;
  padding: 50px 0;
  margin: 70px 0;
  background: url("../images/gym2.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
}
.fh5co-content-box .gallery2{
  padding-top: 50px;
  padding-bottom: 20px;
  margin-top: 70px;
  justify-content: center;
}
.fh5co-content-box .gallery{
  padding-bottom: 50px;
  margin-bottom: 70px;
}
.fh5co-content-box .trainers .bg-50 {
  background: rgba(0, 0, 0, 0.3);
}
.fh5co-content-box .trainers .card {
  border: none;
  background: transparent;
}
.fh5co-content-box .trainers .card img {
  max-width: 250px;
  margin: 0 auto;
  max-height: 250px;
}
.fh5co-content-box .trainers .card .card-body {
  background: #ccc;
  border-radius: 15px;
  padding: 30px 20px;
  margin-top: 30px;
  padding-bottom: 50px;
}
.fh5co-content-box .trainers .card .card-body::before {
  content: "";
  position: absolute;
  border: 20px solid #ccc;
  border-color: transparent transparent #ccc transparent;
  margin-top: -70px;
  text-align: center;
  margin-left: -15px;
}
.fh5co-content-box .trainers .quote-box2 {
  color: #fff;
  max-width: 250px;
  position: relative;
  text-align: center;
  margin: auto;
  margin-bottom: 50px;
}
.fh5co-content-box .trainers .quote-box2::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 0;
  top: -10px;
  background: url("../images/right-quote-white.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.fh5co-content-box .trainers .quote-box2::after {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  background: url("../images/left-quote-white.png");
  background-repeat: no-repeat;
  right: 0;
  bottom: -10px;
  background-size: 100% 100%;
}
.fh5co-content-box .trainers::before, .fh5co-content-box .trainers::after {
  content: "";
  position: absolute;
  border: 5px solid #ce170e;
  width: 100%;
  top: -10px;
}
.fh5co-content-box .trainers::before {
  bottom: -10px;
  top: auto;
}
.fh5co-content-box .gallery .card {
  border: none;
  background: transparent;
}
.fh5co-content-box .gallery .card img {
  border-radius: 0;
  max-height: 580px;
}
.fh5co-content-box .gallery .card .card-body {
  background: #023859;
}
.fh5co-content-box .gallery .card .card-body h4 {
  font-family: 'velocistaregular', sans-serif;
  font-weight: 700;
  color: #ce170e;
}
.fh5co-content-box .gallery .card .card-body p {
  font-family: 'Lato', sans-serif;
  font-weight:400;
  color: #fff;
}

footer {
  background: #023859;
  color: #fff;
}
footer .footer1 p {
  /*margin-top: 30px;*/
  margin-bottom: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 2;
}
footer .footer2 h2 {
  color: #fff;
  font-family: 'velocistaregular', sans-serif;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 0;
}
footer .footer2 .form-box {
  background: #ce170e;
  padding: 20px 30px;
  margin-top: -30px;
}
footer .form-box-grid{
  display: grid;
}
footer .footer2 input[type='text'], footer .footer2 input[type='email'] {
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid #fff;
  color: #fff;
}
footer .footer2 input::placeholder{
  color: #fff;
}
footer .footer2 input[type='text']:focus, footer .footer2 input[type='email']:focus {
  box-shadow: none;
  border-color: #ce170e;
}
footer .footer2 .btn {
  min-width: 150px;
  border-radius: 0;
}
footer .footer2 .btn-dark{
  background-color: #023859;
  border-color: #023859;
}
footer .footer2 .btn-dark:hover{
  background-color: #034670;
} 
.btn-dark.focus, .btn-dark:focus{
  box-shadow: none;
}
footer .footer2 ::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #262626;
}
footer .footer2 ::-moz-placeholder {
  /* Firefox 19+ */
  color: #262626;
}
footer .footer2 :-ms-input-placeholder {
  /* IE 10+ */
  color: #262626;
}
footer .footer2 :-moz-placeholder {
  /* Firefox 18- */
  color: #262626;
}
footer .footer3 {
  /*padding-top: 50px;*/
  line-height: 2;
  display: flex;
    flex-direction: column;
  justify-content: center;
}
footer .footer3 a{
  color: #fff;
  display: block;
}
footer .footer3 p{margin: 0;}
footer a:hover{
  text-decoration: none;
}
footer .footer3 .nav-item li {
  margin: 0 5px;
}
footer .table td, footer .table th {
  border: none;
}

footer::before {
  content: "";
  position: absolute;
  border: 3px solid #ce170e;
  width: 100%;
  left: 0;
}
.pt-9{padding-top: 9rem;}
.pt-8{padding-top: 8rem;}
.mt-6{margin-top: 6rem;}
@media (max-width: 1199px) {
  .fh5co-content-box .pr-0 img {
    margin-top: -107px;
  }
}
@media (max-width: 991px) {
  .fh5co-content-box .pr-0 img {
    margin-top: -78px;
  }
  .fh5co-content-box .card-img-overlay {
    top: 20%;
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .pt-xs-4{padding-top: 4rem;}
  footer .footer1 p {
    margin: 10px;}
  body nav .navbar-nav {
    margin-left: 0 !important;
    max-width: 50px;
  }

  .fh5co-network figure, .fh5co-about-us figure {
    margin-top: 0 !important;
  }

  .fh5co-content-box .pr-0 img {
    margin: 20px auto;
  }
  .fh5co-content-box .col-md-5 {
    padding: 0 !important;
  }
  .fh5co-content-box .col-md-7 {
    padding: 0 !important;
  }

  .gallery .card {
    margin-bottom: 25px;
  }

  .footer1 {
    min-height: 150px;
  }

  .footer2 .form-box {
    margin-top: 0 !important;
  }
}
