#menu a
{
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}

#menu a:hover
{
  color: #ffc72c;
}

#menuToggle
{
  display: block;
  position: fixed;
  top: 1.75em;
  left: 50px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #cdcdcd;
  border-radius: 3px;

  z-index: 1;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}


#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}


#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  height: 100vh;
  background: #ededed;
  list-style-type: none;
  -moz-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(-100%, 0);

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menuToggle input:checked ~ ul
{
  transform: none;
}

#herologo
{
  margin-top: 25vh;
}

.container img
{
  width: 100%;
}
.container
{
  margin-bottom: 5em;
}

#header
{
  position: relative;
  top: -9em;
}

.sticky
{
  position: sticky;
  top: 0;
  padding-top: 1em;
  background: white;

}

.darkcontainer
{
  width: 100%;
  max-width: none;
  background:#1f2a44;
}

.darkcontainer .row
{
  background: #1f2a44;
}

.darkcontainer h4
{
  color: white;
  background: #1f2a44;
}

.livestream-container
{
height:560px;
margin-bottom: 2em;
background-image: url(../images/home/GulfstreamG650ERbg.jpg);
background-repeat:no-repeat;
background-position: center left;
}

.livestream-container p
{
  text-align: center;
  margin: auto;
  padding-top: 255px;
  color: white;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

#overlay:hover
{
  background-color: rgba(0,0,0,0.7);
}

#overlay img
{ width: auto;
height; auto;
margin-top: 230px;
}

#patch
{
  margin-top: 50%;
}

.mySlides
{
max-height: 35em;
width: auto !important;
max-width: 100%;
margin: auto;
}


#aircraft
{
  margin-right: 17.3333333333%;
}

#sponsorlogo, #medialogo
{
  margin-bottom: 2em;
}

#stat-column h5, #stat-column h6
{

  text-align: center;
  margin: 2rem auto;
}

/*News Page*/
#headerbox
{
  margin-top: 1em;
  margin-bottom: 5em;
  text-align: center;
}

#socialcontainer ul
{
  list-style-type: none;
}

#socialimg
{
  width:1em;
  vertical-align: middle;
  height: auto;
  margin-right: 1em;
}

#headerbox img
{
  width: 50%;
  margin: auto;
}

.media-release h3, .media-release h5
{
  margin: auto;
  text-align: center;
}

#doco-row
{
  display: -webkit-flex;
  display: flex;
  text-align: center;
}


@media (max-width: 550px) {

#menuToggle
{
  position: absolute;
}

#menu
{
  height: auto;
  width: 100vw;
}

#crew p
{
  margin-bottom: 0.25em;
}

  #header
  {
    position: static;
    top: 0;
  }
  #titlebox
  {
    position: static;
    margin-left: 0;
  }

  .sticky
  {
    position: static;
    top:auto;
  }
  .stat-header
  {
    float: none;
    margin-bottom: 0.125em;
  }

#profile-lrg
{
  width: 40%;
  margin: 1em 5%;
  padding: 0;
  display: inline-block;
  box-sizing: border-box;
}

#patch
{
  width: 60%;
  margin: 1em 12.5%;
}

  #profile-sml
  {
    width: 25%;
    margin: 1em 4%;
  }
  #doco-row
  {
    text-align: center;
  }
  #doco-profile-sml
  {
    margin: 1em 5%;
    width:20%
  }

  #Gennady
  {
  width: 40%;
    margin: 1em 30%;
  }

#aircraft
{
  margin-right: auto;
}

  #aircraft img
  {
    width: 75%;
    margin: auto 12.5%;
  }

  #sponsorlogo
  {
    width: 17.5%;
    margin: 1em 2.5%;
    padding: 0;
    box-sizing: border-box;
  }

  #medialogo
  {
    width: 13.33333333333333%;
    margin: 1em 1%;

    padding: 0;
    box-sizing: border-box;
  }

  #actionaviation
  {
    width: 40%;
    margin: 1em 2.5%;
  }

  h5
  {
    margin-bottom: 0.125em;
  }
}
