@font-face
{
  font-family: "RadioCanada";
  src: url("/style/RadioCanada.ttf") format("truetype");
}

body,html
{
  margin: 0px;
  width: 100%;
  height: 100%;
  font-family: 'RadioCanada', Helvetica, Arial, sans-serif;
}

a,a:hover,a:visited
{
  color: #000000;
  text-decoration: none;
}

div#container:before
{
  content: "";
  position: fixed;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;

  -webkit-filter: blur(7px) opacity(50%) brightness(115%) saturate(90%);
  -moz-filter: blur(7px) opacity(50%) brightness(115%) saturate(90%);
  -o-filter: blur(7px) opacity(50%) brightness(115%) saturate(90%);
  -ms-filter: blur(7px) opacity(50%) brightness(115%) saturate(90%);
  filter: blur(7px) opacity(50%) brightness(115%) saturate(90%);
}
div#container.home:before
{
  background: url("/img/cover/vessel.jpg") no-repeat center bottom fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
div#container.about:before
{
  background: url("/img/cover/drill.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
div#container.contact:before
{
  background: url("/img/cover/laundry.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
div#container.basho:before
{
  background: url("/img/basho/page_bg.jpg") no-repeat center bottom fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
div#container.destinations:before
{
  background: url("/img/destinations/main.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
div#container.vessels:before
{
  background: url("/img/vessels/1.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

a#picturebox
{
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
}

a#picturebox:target
{
  display: block;
}

a#picturebox > span
{
  display: block;
  width:100%;
  height:100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

div#content
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-top: 2.4rem;
}

div#container
{
  display: flex;
  flex-direction: column;
}

div#nav
{
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 1em;
  padding-bottom: 0px;
}

div#home
{
  padding-bottom: 2ex;
  font-weight: 600;
  font-size: 1.4rem;
}

div#home > span.hamburger
{
  float: right;
}

div#site-nav
{
  display: none;
}

div#site-nav.shown
{
  display: block;
}

div#site-nav > div
{
  padding-bottom: 1ex;
}

div#site-nav > div > span
{
  display: block;
  padding-top: 0.25ex;
}

div#site-nav > div > span.sub
{
  margin-left: 1em;
}

div#site-nav > div > span:first-child
{
}

div#site-nav > div:not(.active) > span:not(:first-child)
{
  display:none;
}

div#content
{
  padding-top: 0.4rem;
  padding-left: 2em;
  padding-right: 2em;
}

div#content > a
{
  float: left;
  min-width: 350px;
  width: 100%;
  margin-bottom: 0.5rem;
}

div#content > a > img
{
  width: 100%;
  height: 100%;
}

@media only screen and (min-width: 1146px)
{
  div#container
  {
    flex-direction: row;
  }

  div#nav
  {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding: 1em;
  }

  div#home > span.hamburger
  {
    display: none;
  }

  div#site-nav
  {
    display: block;
  }

  div#site-nav > div
  {
    padding-bottom: 1ex;
  }

  div#site-nav > div > span:first-child
  {
  }

  div#site-nav > div:not(.active) > span:not(:first-child)
  {
    display: none;
  }

  div#content
  {
    padding-top: 2.4rem;
    padding-left: 4em;
    padding-right: 4em;
  }

  div#content.squish
  {
    max-width: 40%;
  }

  div#content > a
  {
    width: 40%;
    margin: 1em;
  }
}
