.auth-nav .navbar-header {
  text-align: center;
}

.auth-nav .navbar-toggle {
  display: inline;
  float: none;
  margin: 0;
  padding: 5px 20px;
  background-color: transparent;
  background-image: none;
  border: none;
  color: white;
}

.auth-nav .navbar-toggle:hover {
  background: none;
}

@media (min-width: 768px) {
  .auth-nav .navbar-toggle {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
	.hero h2 {
	  font-size: 28px;
	}
  .hero h2 span {
    font-size: 24px;
  }
	header .navbar-nav {
	  margin-top: 36px;
	}
	header .navbar-nav > li {
	  font-size: 16px;
	  text-transform: uppercase;
	}
  .server-item.active {
    margin-top: -21px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
      /*background-position: -285px -6px;*/
  }
  .box-xeon-cta {
    margin-top: 10px;
    background: white;
    width: 290px;
  }
  .why-us {
    background-position: -300px 0;
  }
  .logos img {
    height: 68px;
  }
  .last-cta {
    text-align: center;
  }
  .last-cta .btn-last-cta {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 56px;
  }
	#site-logo {
	  width: 100px;
	  height: 36px;
	  margin: 10px 0 10px 10px;
	  padding: 0;
	  background: url(../img/logo.png) no-repeat;
	  -webkit-background-size: contain;
	          background-size: contain;
	  font: 0/0 a;
	  color: transparent;
	  text-shadow: none;
	  background-color: transparent;
	  border: 0;
	}
	header .navbar-toggle {
	  margin-top: 10px;
	}
	header .navbar-nav {
	  margin-top: 7.5px;
	}
  section > h2,
  section > div > h2 {
    font-size: 24px !important;
    margin-bottom: 40px !important;
  }

  .features-row {
    margin-bottom: 0;
  }

  .features-row .row {
    margin-bottom:  40px;
  }

  .hero {
    margin-bottom: 0;
    overflow: hidden;
    background: #9393C0 url(../img/hero_mobile@2x.jpg) no-repeat;
    background-size: cover;
  }
  .hero h2 {
    font-size: 28px;
    margin-top: 20px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  .hero h2 span {
    color: white;
    font-size: 80%;
  }
  .hero ul li {
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  .hero .btn-hero-cta {
    font-size: 18px;
    padding: 3px 0 2px;
    width: 100%;
    margin-bottom: 20px;
  }
  .hero .hero-image {
    margin-top: 16px;
    margin-bottom: -80px;
  }
  .call,
  .call h2.phone {
    text-align: center;
  }
  .products .item {
    margin-bottom: 40px;
  }
  .products .item:last-child {
    margin-bottom: 0;
  }
  .logos img {
    margin: 0;
    margin-bottom: 10px;
  }
  .last-cta {
    text-align: center;
  }
  .last-cta .btn-last-cta {
    margin-top: 20px;
  }

  .social {
    text-align: left;
  }

  .content-header h1 {
    font-size: 24px;
  }

  #formLogin {
    width: 100%;
  }

  /* Force table to not be like tables anymore */
  table.server-list, table.server-list thead, table.server-list tbody, table.server-list th, table.server-list td, table.server-list tr { 
    display: block; 
  }

  table.server-list .order-server-heading {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  table.server-list .platform-row {
    margin: 20px 0;
    border-top: 1px solid #ddd;
    /* use some flexbox juju to override ordering of rows */
    display: flex;
    flex-flow: column;
  }
  /* force the radio button row to  be the last row */
  table.server-list .platform-row td:nth-of-type(1) {
    order: 7;
  }

  table.server-list .platform-row td {
    border: none;
    border-bottom: 1px solid #ddd; 
    border-left: 1px solid #ddd; 
    border-right: 1px solid #ddd; 
    position: relative;
    padding-left: 35%;
    text-align: left !important;
  }

  table.server-list .platform-row td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 8px;
    left: 8px;
    width: 30%; 
    padding-right: 10px; 
    white-space: nowrap;
  }

  /*table.server-list .platform-row td:nth-of-type(1):before { content: "Choose"; }*/
  table.server-list .platform-row td:nth-of-type(2):before { content: "Platform"; }
  table.server-list .platform-row td:nth-of-type(3):before { content: "Memory"; }
  table.server-list .platform-row td:nth-of-type(4):before { content: "Hard Drive"; }
  table.server-list .platform-row td:nth-of-type(5):before { content: "IPMI"; }
  table.server-list .platform-row td:nth-of-type(6):before { content: "Price/Mo"; }
  table.server-list .platform-row td:nth-of-type(7):before { content: "Availability"; }

  table.server-list .platform-row .platform-radio {
    padding: 0;
  }

  table.server-list .platform-row .platform-radio input {
    position: absolute;
    left: -99999px;
  }

  table.server-list .platform-row .platform-radio input ~ span:after {
    content: 'Select';
    position: relative;
    display: block;
    padding: 10px;
    background: #E6E6E6;
    text-align: center;
    font-weight: bold;
  }
  table.server-list .platform-row .platform-radio input:checked ~ span:after {
    content: 'Selected';
    position: relative;
    display: block;
    padding: 10px;
    background: #59599E;
    color: white;
    text-align: center;
    font-weight: bold;
  }


}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px) {

    .hero {
      /*background: #EBEBEB;*/
      background-position: top right;
      padding-top: 20px;
      margin-top: 0;
    }
    .box-hp {
      margin-bottom: 10px;
      width: 31%;
      background-size: 40%;
    }

    .box-hp.box-ssd {
      margin-right: 0;
    }

    .box-xeon-cta {
      clear: both;
      width: 100%;
    }

    .why-us {
      background-position: center top;
    }

    .logos img {
      width: 40px;
      margin-right: 10px;
    }

    .why-us h2 {
      font-size: 20px;
    }

    .why-us h3 {
      font-size: 16px;
    }

    .last-cta h3 {
      font-size: 20px;
    }

    footer {
      font-size: 12px;
      text-align: center;
    }

}

/* prevent IOS from zooming the page when focusing on a form field */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  .page-initregserver select,
  .page-initregserver textarea,
  .page-initregserver input {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .server-item {
    padding-right: 0;
    padding-left: 0;
  }
  .server-item:first-child {
    padding-left: 15px;
    border-right: 0;
  }
  .server-item .panel-heading {
      padding-bottom: 6px;
  }
  .server-item:first-child .panel-heading {
      margin: 0 20px 0 10px;
  }
  .server-item:last-child {
    padding-right: 15px;
    border-left: 0;
  }
  .server-item:last-child .panel-heading {
      margin: 0 10px 0 20px;
  }
  .server-item.active {
    border: 2px solid #424683;
    z-index: 2;
    margin-right: -15px;
    margin-left: -15px;
    margin-top: -40px;
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
  }
  .server-item.active .panel {
    padding-bottom: 20px;
    margin-bottom: 0;
  }
  .servers .panel-primary > .panel-heading {

  }
}