﻿@media (max-width: 840px) {
#training {
    background: url("../images/bgTraining.jpg") no-repeat fixed center top / cover rgba(0, 0, 0, 0);
}
#about {
    background: url("../images/bgAbout.jpg") no-repeat fixed center top / cover rgba(0, 0, 0, 0);
}
#contact {
    background: url("../images/bgContact.jpg") no-repeat fixed center top / cover rgba(0, 0, 0, 0);
}
header {
    display: inline-block;
    height: auto;
    margin-right: 8%;
    overflow: hidden;
    width: 30%;
}
#content {
    display: inline-block;
    height: 100%;
    padding-right: 4%;
    vertical-align: top;
    width: 57%;
}
  
  header h1 {

   margin: 0 0 25px;

}

header nav ul li a {

   padding: 7px 20px;

}
} 

@media (max-width: 1200px) {
header {
    display: inline-block;
    height: auto;
    margin-right: 5%;
    overflow: hidden;
    width: 33%;
}

header nav ul li a {

   padding: 10px 20px;

}

}

@media (max-width: 520px) {
header {
    display: inline-block;
    height: auto;
    margin-right: 0;
    overflow: hidden;
    position: static;
    text-align: center;
    top: 15px;
    width: 100%;
}


header h1 {
    display: inline-block;
    margin: 0 0 10px;
    text-align: left;
    vertical-align: top;
    width: 100%;
}
header nav ul li a {
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    display: inline-block;
    font-family: Grotesk;
    font-size: 20px;
    font-weight: normal;
    padding: 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}
  
  .home footer {
    bottom: 14px;
    color: #fff;
    font-size: 80%;
    position: absolute;
    text-align: center;
    width: 100%;
}
.home header {
    display: inline-block;
    height: auto;
    margin-right: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 15px;
    width: 100%;
}
.home .video-in-menu {
    background: url("../images/youtube.png") no-repeat scroll 0 3px rgba(0, 0, 0, 0) !important;
    border-bottom: medium none;
    bottom: -25px;
    display: inline-block;
    font-size: 17px;
    margin-left: -90px !important;
    padding-left: 39px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    width: auto;
}
.video-in-menu {
    background: url("../images/youtube.png") no-repeat scroll 0 5px rgba(0, 0, 0, 0) !important;
    border-bottom: medium none;
    font-size: 17px;
    margin-bottom: 15px;
    margin-left: -44px !important;
    margin-top: 5px;
    padding: 10px 0 0 40px;
    position: static;
    text-decoration: none;
    text-transform: none;
    width: 200px;
}
.home .video-in-menu {
    background: url("../images/youtube.png") no-repeat scroll 0 3px rgba(0, 0, 0, 0) !important;
    border-bottom: medium none;
    bottom: 0;
    display: inline-block;
    font-size: 17px;
    margin-bottom: 20px;
    margin-left: -48px !important;
    margin-top: 0;
    padding-left: 39px;
    position: static;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    width: 190px;
}


header {
    display: inline-block;
    height: auto;
    margin-right: 0;
    overflow: hidden;
    text-align: center;
    width: 100%;
}
header h1 {
    display: inline-block;
    margin: 0 0 20px;
    text-align: center;
    vertical-align: top;
    width: 100%;
}
header h1 a {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../images/logo.png");
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain !important;
    display: inline-block;
    height: 125px;
    margin-left: 15px;
    text-indent: -5000px;
    width: 90px;
}
#content {
    display: inline-block;
    height: 100%;
    margin-left: 5%;
    margin-top: 15px;
    padding-right: 5%;
    vertical-align: top;
    width: 90%;
}
#content.contact-page {
    color: #000;
    font-family: Grotesk;
    font-size: 19px;
    height: auto;
    margin-left: 0;
    overflow-y: hidden;
    padding: 0;
    text-align: center;
    width: 100%;
}
header nav ul li {
    display: inline-block;
    width: 22%;
}
header nav ul li a {
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    display: inline-block;
    font-family: Grotesk;
    font-size: 18px;
    font-weight: normal;
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}
#content .page-title {
    color: #1c1c1c;
    font-family: Grotesk;
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 20px;
}
p {
    color: #ffffff;
    font-family: Open Sans;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 10px;
}
.training-list li {
    color: #fff;
    display: inline-block;
    font-family: Open Sans;
    font-size: 13px;
    margin-bottom: 20px;
    margin-right: 4%;
    vertical-align: top;
    width: 84%;
}
#scrollbar1 {
    height: 100%;
    margin: 0 auto;
    position: relative;
}
#content {
    display: inline-block;
    height: 55%;
    margin-left: 5%;
    margin-top: 15px;
    padding-right: 5%;
    vertical-align: top;
    width: 90%;
}
#content.contact-page {
    color: #000;
    font-family: Grotesk;
    font-size: 19px;
    height: auto;
    margin-left: 0;
    overflow-y: hidden;
    padding: 0 10%;
    text-align: left;
    width: 85%;
}
#contact {
    background: url("../images/bgContact.jpg") no-repeat fixed 16% top / cover rgba(0, 0, 0, 0);
}
.home header {
    bottom: 15px;
    display: inline-block;
    height: auto;
    margin-right: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    width: 100%;
}
.social li{
    display: inline-block;
    width: 100%
}
  .home #mainMenuNavigation {
    bottom: 0;
    display: inline-block;
    left: 0;
    position: absolute;
    width: 100%;
}
.home header nav ul {
    border-bottom: 0 solid #000;
    border-top: 0 solid #000;
    bottom: 0;
    display: inline-block;
    left: 0;
    margin: 0;
    padding: 0;
    position: static;
    width: 100%;
}


}