@import url('https://fonts.googleapis.com/css?family=DM+Sans&display=swap');

/*Responsive Design for Phones in landscape mode*/
@media only screen and (min-aspect-ratio: 1681/1000) and (max-width: 900px) {
  #hamburgerButton, #contact {
    display: block !important;
  }
  .contactWindow {
    bottom: -110px;
  }
  .hamburgerItem {
    height: 35px !important;
  }
  .hamburgerItem:last-child {
    height: 60px !important;
  }
  .hamburgerItem h5 {
    padding-top: 6.5px !important;
    font-size: 13pt;
  }
  div.greyContactBox {
    height: 57.5px;
  }

  .class66 {
    width: 63.67%;
    margin-right: 3%;
  }

  .class66:last-child {
    width: 66.665%;
    margin-right: 0%;
  }

  .class50 {
    width: 49.5%;
    margin-right: 1%;
  }
  .class50:last-child {
    width: 49.5%;
    margin-right: 0%;
  }

  .class33 {
    width: 30.335%;
    margin-right: 3%;
  }

  .class33:last-child {
    width: 33.33%;
    margin-right: 0%;
  }

  .class25 {
    width: 25%;
  }

  .ParentContent {
    float: left;
    width: 100%;
    height: auto;
    min-height: 75vh;
  }
  .verticalAlignmentWrapper {
    display: table; /*Use verticalAllignmentClass as child class*/
    width: 100%;
    height: auto;
    min-height: auto;
    margin-bottom: 2em;
  }
  .verticalAlignmentClass {
    display: table-cell;
    vertical-align: top;
  }

  .hideMobile {
    display: none !important;
  }

  .hamburgerItem {
  height: 50px;
  }
  .hamburgerItem h5 {
    padding-top: 12.5px;
    padding-bottom: 12.5px;
  }

  h1 {
    font-size: 27.5pt;/*Was: 2vw*/
  }

  h2 {
    font-size: 16.25pt;/*Was: 1.5vw*/
  }

  h3 {
    font-size: 10pt;/*Was: 15*/
    text-transform: uppercase;
    color: #3070EE;
    margin-top: 3vh;
    margin-bottom: 0.5em;
  }

  h4 {
    font-size: 13pt;/*Was: 0.7vw*/
  }

  h5 {
    font-size: 11.5pt;/*Was: 0.5vw*/
  }

  h6 {
    font-size: 10pt;
  }
  .spaceTopMobile {
    margin-top: 0;
  }

  /*Sub Navigation*/
  #subNav {
    margin-top: 1em;
    list-style: none;
    min-height: 2em;
    height: auto;
    text-align: center;

    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    -webkit-transform:translate(-50%, 0%);
    z-index: 50;
  }

  #subNav li {
    display: inline;
  }

  #subNav li a {
    /*Places Navigation Element in center of NavBar*/
    display: inline-block;
    position: relative;
    top: 50%;
    transform:translate(0%, -50%);
    -webkit-transform:translate(0%, -50%);

    /*Styling of Navigation Element*/
    text-decoration: none;
    text-transform: uppercase;
    color: #3070EE;
    padding: 0.5px 1em 0.5px 1em;
    font-size: 12pt;
  }

  #subNav li a:hover {
    background-color: white !important;
    border: solid;
    border-radius: 100px;
    border-color: white;
    border-width: 0px;
  }
  /*Roates features arrow to point to the top in mobile view
  Change value locally to avoid rotation, or to change direction*/
  .featuresArrow, .featuresArrowRight {
    transform: rotate(0deg);
  }

  .julianPlanetNavigation {
    display: none;
  }

  .julianPlanetNavigationM {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    left: 5px;
    z-index: 999;
    background-color: white;
    margin-left: -5px;
    padding-bottom: 10pt;
  }

  .julianPlanetNavigationM p {
    float: left;
    width: 23%;
  }
  .julianPlanetNavigationM p:first-child {
    padding-left: 1%;
  }

  .julianPlanetNavigationM p a {
    color: #3070EE;
    font-size: 2vw;
    font-weight: 300;
  }

  .julianPlanetNavigationM p a img {
    position: relative;
    top: -0.5vw;
    width: 2vw; height: auto;
  }

  .bottomSpaceMobile {
    display: block;
    float: left;
    width: 100%;
    height: 67.5px;
  }


  .navigation {
    position: absolute;
  }
}
