/* typography and base */
  html,
  button,
  input,
  select,
  textarea {
   color: #222;
   font: 14px/1.714em "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
   /*-webkit-font-smoothing: antialiased;*/
   margin: 0 ;
   padding: 0;
}
h1, h2, h3, h4, h5 {
  padding: 0;
  margin: 0;
  font: 26px "Lucida Grande", Helvetica Neue, Arial;
  line-height: 1.1666;
}
h1 {
  color: #000;
  margin: 20px 0 30px 0;
}
h2 {
  color: #8b0c03;
}
a {
  color: #8b0c03;
  text-decoration: underline;
  outline: none;
}
p {
  color: #000;
  line-height: 1.714;
  margin: 0.5em 0;
}
ul, li {
  padding: 0;
  margin: 0;
}
.wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  margin: 0;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
img {
  vertical-align: middle;
  display: block;
  width: 100%;
}
iframe {
  width: 100%;
}
textarea {
  resize: vertical;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
.horizontal_line {
  border-top: #999999 solid thin;
}

/* navigation */
nav ul {
  font-size: 15px;
  text-align: center;
}
nav ul li{
  display: inline-block;
  list-style: none;
  list-style-image: none;
  font-weight: bold;
}
nav a, nav a:link, nav a:visited {
  display: block;
  margin-bottom: 10px;
  padding: 5px 15px;
  text-decoration: none;
  color: #000;
}
nav a:hover, nav a.active {
  color: #9e0b0f;
}

/* sections */
/* header and footer */
#header {
  padding: 0;
  width: 100%;
  position: fixed;
  top: 0;
}
#header #header-wrapper {
  width: 100%;
  background-color: white;
}
#header #header-content {
  padding: 12px 0;
  max-width: 980px;
  margin: 0 auto;
}
#header #header-left {
  float: left;
  margin-left: 10px;
}
#header #header-right {
  float: right;
  margin-top: 12px;
  margin-right: 10px;
}
#logo {
  max-width: 300px;
}
#header-image {
  margin-top: 50px;
}
#header-image img {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
#header-image .header-image-responsive {
  display: none;
}
.responsive-menu {
  background: url(../img/menu-arrow.png) no-repeat center right;
  max-width: 80px;
  width: 100%;
  font-size: 20px;
  color: #8b0c03;
  display: none;
  float: right;
}
#footer {
  padding: 0;
  width: 100%;
  margin-bottom: 20px;
  padding-top: 20px;
}

#footer-outer-wrapper {
  /* max-width: 1200px; */
  margin: 0 auto;
  border-top: 1px solid #000;
}
#footer #footer-wrapper {
  margin: 0 20px;
/*   border: #7f7f7f solid thin; */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#footer #footer-content {
  padding: 0;
  max-width: 940px;
  margin: 0 auto;
  padding: 12px 20px;
}
#footer-left {
  text-align: center;
  float: left;
  max-width: 265px;
}
#footer-left img {
  max-width: 238px;
}
#footer-right {
  float: right;
}
#footer p {
  line-height: 1.1666;
}

/* main layout */
.main {
  width: 100%;
  padding: 10px 0;
}
.main-content {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}
.left { float: left; }
.right { float: right; }
.column-2 { width: 50%; }
.column-content {
  margin: 0 20px;
  padding: 20px 0;
}
.column-3-wrapper {
  max-width: 980px;
  margin: 20px 20px;
}
.column-3-equal {
  width: 33.333333%;
  float: left;
  vertical-align: top;
  text-align: center;
  margin-bottom: 20px;
}
.description {
  margin: 20px auto;
}
.gray-background {
  background-color: #f2f2f2;
  padding-bottom: 30px;
}

/*--------------------------Trekfit Page--------------------------*/
#app_description {
  max-width: 940px;
  margin: 0 auto;
  margin-top: 20px;
}
#app_description_responsive {
  max-width: 940px;
  margin: 0 auto;
  display: none;
}
.trekfit .description {
  padding: 0;
  margin: 0 auto;
}
.trekfit .description.horizontal_line {
  padding: 20px 0;
}
.trekfit .upper .column-2.left {
  width: 54%;
}
.trekfit .upper .column-2.left .column-content {
  margin-left: 20px;
  margin-right: 0;
}
.trekfit .upper .column-2.right {
  width: 46%;
}
.trekfit .upper .column-2.right .column-content{
  margin-left: 0;
  margin-right: 20px;
}
#trekfit_ipad_app {
  max-width: 220px;
  float: right;
}
img[src='img/app-1.png'] {
  max-width: 390px;
}
.gray-background .column-content ul li {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 10px;
}
.gray-background .column-content ul li:last-child {
  padding-bottom: 0.8em;
}

/*---CSS for TrekFit tab in homepage---*/
.trekfit_for_everyone_responsive {
  display: none;
}
.anchor {
  display: block;
  height: 96px;
  margin-top: -96px;
  visibility: hidden;
}
.red {
  display: none;
  cursor: default;
}
.tab .wrapper {
  width: auto;
  margin: 0 2px;
}
.medical-rehabilitation, .fitness-center,
.education, .adventure-travel {
  display: none;
}

/*responsive tab*/
.arrow_red,
.arrow_black {
  max-width: 25px;
  margin-left: 44%;
  display: none;
}
.trekfit_for_everyone_responsive .individual-training,
.trekfit_for_everyone_responsive .medical-rehabilitation,
.trekfit_for_everyone_responsive .fitness-center,
.trekfit_for_everyone_responsive .education,
.trekfit_for_everyone_responsive .adventure-travel {
  display: none;
}
.button.first, .button.second,
.button.third, .button.fourth,
.button.fifth {
  cursor: pointer;
}
li.individual-training-tab, li.medical-rehabilitation-tab,
li.fitness-center-tab, li.education-tab,
li.adventure-travel-tab {
  width: 20%;
  float:left;
}
/*-----end css for TrekFit tab ---*/

.equip-required {
  background-color:#dfdfdf;
  padding: 0 30px;
  max-width: 500px;
  margin: 0 auto;
}
.trekfit .tab {
  margin: 20px auto 30px auto;
}
.technology_wrapper {
  margin: 0 20px;
}
li.technology img {
  max-width: 150px;
  margin: 0 auto;
}
li.technology {
  float: left;
  width: 16.666666667%;
}
.trekfit .description.main-content.horizontal_line.technology.clearfix .column-2.left h2 {
  display: none;
}
.description.technology .column-2.left {
  width: 48%;
}
.description.technology .column-2.right {
  width: 52%;
}
#trekfit-server {
  margin: 0 auto;
  max-width: 900px;
}
.trekfit_server .column-3-wrapper {
  margin: 0 20px;
}
.description.main-content.trekfit_server.clearfix {
  margin-top: -50px;
}
.description.main-content.trekfit_server .column-content h2 {
  margin-left: 35%;
}
.column-3-side {
  width: 20%;
}
.column-3-side:first-child {
  padding-left: 5%;
  padding-right: 12%;
}
.column-3-middle {
  width: 26%;
  padding-left: 2%;
  padding-right: 13%;
}
.column-3-side, .column-3-middle {
  vertical-align: top;
  display: inline-block;
}
.trekfit .fitness-center .equip-required .column-content {
  padding: 0;
}

/* Table */
.table-wrapper {
  margin: 0 20px;
}
table {
  margin: 0 auto;
  margin-top: 30px;
  font-size: 14px;
}
table tr {
  border: #a6a6a6 solid thin;
}
table tr:first-child {
  border: #a6a6a6 solid thin;
}
table tr td {
  width: 150px;
  text-align: center;
  height: 23px;
}
table tr td:first-child {
  width: 280px !important;
  text-align: left;
  padding-left: 36px;
}
table tr td:nth-child(2) {
  color: #0076a9;
}
table tr th {
  background-color: #c3d6ee;
  height: 56px;
}
table tr th:first-child {
  text-align: left;
  padding-left: 36px;
}

/*--------------------------Trek Page--------------------------*/
.hawaii_content,
.bryce_content,
.rainier_content,
.hohriver_content,
.zion_content {
  display: none;
}
.trek .tab {
  padding: 5px 0;
  margin: 0px 0 40px 0;
}
.trek .button.active,
.trek .button,
.trekfit .button {
  background-color: #8b0c03;
  color: white;
  margin: 0 20px;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
}
.trek .button {
  background-color: white;
  color: #000;
  float: left;
}
.trekfit .button {
  margin: 10px 20px;
  padding: 18px 36px;
}
.trek .button,
.trek .button.active {
  width: 18%;
  margin: 10px 1%;
  padding: 10px 0;
  font-size: 13px;
}
.trek .button:hover {
  background-color: #8b0c03;
  color: white;
  -webkit-box-shadow: 1px 1px 2px 1px #ccc;
  -moz-box-shadow:    1px 1px 2px 1px #ccc;
  box-shadow:         1px 1px 2px 1px #ccc;
}
.trek .button.active:hover {
  -webkit-box-shadow: none;
  -moz-box-shadow:    none;
  box-shadow:         none;
}
.trek .column-3-equal .column-content {
  margin: 0 18px 0 0;
  padding: 0;
}
.trek h1 {
  margin: 0;
}
.trek .trek_content ul {
  margin-left: 40px;
}
.trek .trek_content ul li {
  padding-left: 10px;
}

/*--------------------------Contact Page--------------------------*/
.contact .column-4 {
  float: left;
  width: 19%;
  margin: 0 3%;
  vertical-align: top;
}
.contact .column-4 .column-content {
  margin: 0;
}
.contact h1 {
  margin: 0;
}
.contact h2 {
  font-size: 20px;
}
.contact a {
  color: #8b0c03;
}
.contact .horizontal_line {
  margin: 25px 0 25px 0;
}
.contact .contact_info {
  min-height: 300px;
}
.contact .contact_info img {
  max-width: 219px;
  margin-bottom: 20px;
}

/*--------------------------Accessories Page--------------------------*/
.accessories .accessories_description {
  margin-top: 7%;
}
.accessories h1 {
  margin: 0;
}
.accessories .column-content {
  padding: 0;
}
/*--------------------------Partners Page--------------------------*/
.major_partners {
  max-width: 580px;
  text-align: center;
  margin: 0 auto;
}
.major_partners .column-content {
  padding: 0;
}
#scratch_lab {
  max-width: 400px;
  margin: 0 auto;
}
#mocha {
  max-width: 450px;
  margin: 0 auto;
}
.partners .gray-background .column-2.left .column-content {
  margin: 0 20px 0 80px;
  padding: 50px 0;
}
.partners .gray-background .column-2.right .column-content {
  padding: 50px 80px 50px 20px;margin-left: 40px;
}
span.required {
  font-size: 14px;
  color: red;
  vertical-align: top;
}
.thank-you {
  margin: 0 auto;
  background: #D2EED1;
  font-size: 20px;
  text-align: center;
}
.partners h1 {
  margin: 0;
}

/* Form */
label, input, select, textarea {
  float: left;
  clear: both;
}
label {
  margin-bottom: 5px;
  margin-top: 13px;
  font-weight: bold;
  font-size: 16px;
}
select {
  font-size: 16px;
  margin: 15px 0;
  height: 36px;
  background: url(../img/arrow.jpg) center right no-repeat;
  padding-left: 18px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  border-color: #cacaca;
  -webkit-box-shadow: inset 1px 1px 1px 0px #cacaca;
  -moz-box-shadow: inset 1px 1px 1px 0px #cacaca;
  box-shadow: inset 1px 1px 1px 0px #cacaca;
  background-color: white;
  width: 100%;
}
input {
  width: 100%;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;  /* Firefox, other Gecko */
  box-sizing: border-box;
  max-width: 465px;
  height: 36px;
  padding-left: 18px;
  border-color: #cacaca;
  outline: none;
}
#enquiry {
  max-height: 360px;
  max-width: 463px;
  width: 100%;
  margin: 0;
  padding: 0;
}
#submit {
  max-width: 164px;
  width: 100%;
  background-color: #8b0c03;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  height: 54px;
  color: white;
  float: right;
  margin-top: 48px;
  border: none;
  box-shadow: 0;
  padding: 0 20px;
}
.name_error, .email_error,
.phone_error, .country_error,
.subject_error, .enquiry_error {
  float: left;
  clear: both;
  font-size: 14px;
  color: red;
  font-style: italic;
}
.social img {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin-right: 10px;
}



/* Responsive Media Queries */

@media only screen and (max-width: 960px) {
  #trekfit_ipad_app {
    max-width: 300px;
  }
  .main-content {
    max-width: 768px;
  }
}

@media only screen and (max-width: 860px) {
  .main {
    padding: 0 0 45px 0;
  }
  .responsive-menu {
    display: block;
    cursor: pointer;
    font-weight: bold;
  }
  #header #header-right {
    width: 100%;
    position: absolute;
    top: 20px;
    max-width: 100px;
    right: 0;
  }
  #main-menu {
    display: none;
    float: right;
    clear: both;
  }
  #main-menu ul {
    margin-top: 31px;
    background: white;
    margin-right: -10px;
  }
  nav#main-menu ul li {
    display: block;
    border-bottom: solid 1px #9e0b0f;
  }
  nav#main-menu ul li:first-child {
    border-top: solid 1px #9e0b0f;
  }
  nav a.active, nav a.non-active {
    text-align: right;
    padding: 5px 20px;
    margin: 10px 0;
  }
  .trekfit_for_everyone_responsive {
    display: block;
  }
  .trekfit_for_everyone {
    display: none;
  }
  .gray-background.trekfit_server {
    display: none;
  }
  .description {
    margin: 20px auto;
  }
  #trekfit_ipad_app {
    display: none;
  }
  .description.main-content.upper.clearfix .column-2.left,
  .description.main-content.upper.clearfix .column-2.right,
  .description.main-content.horizontal_line.technology.clearfix .column-2.left,
  .description.main-content.horizontal_line.technology.clearfix .column-2.right,
  .column-2.left,
  .column-2.right {
    width: 100%;
    float: none;
    clear: both;
    margin: 0 auto;
  }
  .trekfit .description {
    padding: 0;
  }
  .trekfit .upper .column-2.left .column-content {
    margin: 0 20px;
  }
  .trekfit .description.main-content.horizontal_line.technology.clearfix .column-2.left h2 {
    display: block;
  }
  .trekfit .description.main-content.horizontal_line.technology.clearfix .column-2.right {
    display: none
  }
  .trekfit_server {
    display: none;
  }
  .small_app_description {
    display: none;
  }
  .technology_tab {
    margin-top: 0;
  }
  .technology_wrapper .column-content {
    margin: 0;
  }
  table tr td:first-child {
    padding-left: 20px;
  }
  form {
    margin: 0 20px;
  }
  input {
    max-width: none;
  }
  #enquiry {
    max-width: none;
    width: 99%;
  }
  #scratch_lab, #mocha {
    max-width: 350px;
  }
  .partners .gray-background .column-2.left .column-content,
  .partners .gray-background .column-2.right .column-content {
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    max-width: 500px;
  }
  .accessories .column-content {
    padding: 0;
  }
}

@media only screen and (max-width: 740px) {
  #app_description {
    display: none;
  }
  #app_description_responsive {
    display: block;
  }
  li.technology {
    float: none;
    width: 32%;
  }
  .contact .column-4 {
    width: 50%;
    margin: 0;
  }
  .contact .column-4 .column-content {
    margin: 0 50px;
  }
  .trek .button,
  .trek .button.active {
    font-size: 12px;
  }
}

@media only screen and (max-width: 610px) {
  #footer #footer-wrapper {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin: 0;
    border-left:none;
    border-right:none;
  }
  #footer #footer-content {
    max-width: 480px;
    margin: 0;
  }
  #footer-left {
    display: none;
  }
  #footer-right {
    float: none;
    clear: both;
    margin: 0 auto;
  }
  table th, table td {
    font-size: 12px;
  }
  .trek .button,
  .trek .button.active {
    width: 23%;
    margin: 10px 1%;
    font-size: 11px;
  }
  .trek .tab {
    margin: 10px 0;
  }
  .trek .column-3-equal {
    width: 100%;
    float: none;
    clear: both;
    padding: 20px 0;
    margin-bottom: 0;
  }
  .trek .column-3-equal .column-content {
  margin: 0 auto;
  max-width: 500px;
  }
  .column-3-wrapper {
    margin: 10px 20px;
  }
  iframe {
    max-width: 320px;
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  #logo {
    max-width: 200px;
  }
  .contact .column-4 {
    width: 100%;
    float: none;
    clear: both;
  }
  .contact .column-4 .column-content {
    max-width: 320px;
    margin: 0 40px;
  }
  .contact .contact_info {
    min-height: 290px;
  }
  .contact .horizontal_line {
    margin: 32px 0 16px 0;
  }
  #header #header-right {
    top: 8px;
  }
  #main-menu ul {
    margin-top: 22px;
  }
  .partners .major_partners .column-content {
    padding: 0;
  }
  h1, h2 {
    margin: 20px;
    font-size: 28px;
  }
  h2 {
    margin: 10px 0;
  }
  .trek .button,
  .trek .button.active {
    width: 46%;
    margin: 5px 1%;
  }
}

@media only screen and (max-width: 320px) {
  #header-image .header-image-responsive {
    display: block;
  }
  #header-image .header-image-full {
    display: none;
  }
  #header-image img{
    height: 195px;
  }
}
