﻿.MenuContainer ul.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 500px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out; }
  .MenuContainer ul.nav li {
    width: 500px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    justify-content: space-evenly;
    border: 2px solid white;
    border-radius: 5px;
    background-color: #0864A1;
    box-sizing: border-box;
    margin: 0 auto 50px auto;
    cursor: pointer; }
    .MenuContainer ul.nav li:last-child {
      margin-bottom: 0; }
    .MenuContainer ul.nav li .MenuItem {
      width: 500px;
      height: 100px;
      color: white;
      font-weight: bold;
      margin: 0;
      text-align: center;
      text-transform: uppercase;
      line-height: 70px;
      font-size: 34px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center; }
      .MenuContainer ul.nav li .MenuItem .Small {
        font-size: 21px;
        height: 21px;
        line-height: 21px;
        font-weight: bold;
        padding-bottom: 5px; }
      .MenuContainer ul.nav li .MenuItem .Large {
        font-size: 34px;
        height: 34px;
        line-height: 34px;
        font-weight: bold;
        padding-top: 5px; }

#WizardMenu ul.nav {
  align-items: flex-start; }
  #WizardMenu ul.nav > li:hover > ul {
    left: calc(400px - 1px); }

@media all and (max-width: 999px) {
  .MenuContainer ul.nav {
    width: 100%;
    align-items: flex-end; }
    .MenuContainer ul.nav li {
      width: 70%;
      margin: 0 30px 50px 0; }
      .MenuContainer ul.nav li .MenuItem {
        width: 100%; } }
