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

@media only screen and (max-width: 999px) {
  #navList ul li a {
    padding: 0 1% 0 1%;
}
/*Responsive Design for Phones in portrait mode*/
@media only screen and (max-width: 900px) {
  #hamburgerButton, #contact {
    display: block !important;
  }
  #logo { /*LEGACY - TO BE PHASED OUT*/
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }

  .navigationLogo { /*New version of #logo*/
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    /*width: 50%;*/
    min-height: 30px;
    min-width: 178px;
  }


  .marginIntroText2 h1, .marginIntroText2 h2 { /*DEPRICATED*/
    margin-top: 0px;
  }


.superClass { /*Super Class*/
    width: 90%;
    padding: 15px 5%;
  }

  .class66 {
    width: 100%;
    margin-right: 0%;
  }

  .class66:last-child {
    width: 100%;
  }

  .class50 {
    width: 100%;
  }
  .class50:last-child {
    width: 100%;
  }

  .class33 {
    width: 100%;
    margin-right: 0%;
  }

  .class33:last-child {
    width: 100%;
  }

  .class33S {
    width: 100%;
    margin-right: 0%;
  }

  .class33S:last-child {
    width: 100%;
  }

  .class25 {
    width: 50%;
  }

  .spaceTopMobile {
    margin-top: 1.5em;
  }

  /*Arrow down for mobile view*/
  .connectorItem {
    display: block;
    transform: rotate(135deg);
    margin-top: 1em;
    margin-left: 40%;
    margin-bottom: 0.25em;
  }
  .connectorItem::before {
    transform: rotate(-135degdeg);
    width: 2.5em;
  }
  .flowItem {
    width: 80%;
  }

  .gridBox {
    float: left;
    width: 94%;
    padding: 2%;
    margin: 1%;
  }

  .surveyTable tr th:first-child, .surveyTable tr th {
    width: 40%;
  }

  .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;
  }

  /*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(90deg);
  }

  #navList {
    display: none;
  }

  #resposniveFlowchart {
    width: 247px; /*Sets Flowcahrt container width in Mobile Mode*/

    position: relative;
    left: 50%;
    transform:translateX(-50%);
  }

  .hideMobile {
    display: none !important;
  }


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

    position: absolute;
    left: 45vw;
    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;

    margin-top: 0;
    margin-bottom: 0.75em;
  }

  #subNav li a:hover {
    background-color: white !important;
    border: solid;
    border-radius: 100px;
    border-color: white;
    border-width: 0px;
  }

  .mobile50 {
    float: left;
    height: auto;
    width: 49% !important;
  }

  h1, h2, h3, h4, h5, h6, p {
    text-align: left; /*Can me overwritten locally*/
    margin-top: 10px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 26.5px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 35px;
  }

  h4 {
    font-size: 22.5px;
  }

  h5 {
    font-size: 18.75px;
  }

  h6 { /*Text P1*/
    text-align: left;
    font-size: 18.75px;
  }

  p {
    text-align: left;
    font-size: 15px;
  }


  .featureSelection th {
    height: auto;
  }

  .marginIntroText {
    margin-top: 150px !important;
  }

  .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: 20pt;
  }

  .julianPlanetNavigationM p {
    float: left;
    width: 23%;
    padding-left: 1%;
    padding-right: 1%;
    text-align: center;
  }
  .julianPlanetNavigationM p:first-child {
    padding-left: 0%;
  }

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

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

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