﻿/*
https://codepen.io/taniarascia/pen/dYvvYv/
https://www.sassmeister.com/
https://gist.github.com/taniarascia/56893ff29f64038dca91
*/


@charset "UTF-8";
nav {
  float: none;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  float: left;
  position: relative;
}
nav ul li a {
  display: block;
  padding: 0 20px;
  line-height: 50px;
  /* change top header background colour */
  background: #2A3342;
  color: #ffffff;
  text-decoration: none;
}
nav ul li a:hover 
{
    /* change background colour on mouse hover */
  /* background: #2581DC;*/
  background-color:#00C1AE;
  color: #ffffff;
  text-decoration:none;
}
nav ul li a:not(:only-child):after {
  padding-left: 4px;
  content: " ▾";
  
}

nav ul li a:focus
{
    background-color:#00988A;
    color:#fff;
    text-decoration:none;
}

nav ul li ul li {
  min-width: 190px;
}
nav ul li ul li a {
  padding: 15px;
  line-height: 10px;
  z-index: 1;
}

.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;  
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
 
}



.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  /*background: #262626;*/
  height: 50px;
  width: 50px;
}

#nav-toggle {
  position: absolute;
  left: 18px;
  /* change three doted  line position on mobile view  */
  top: 150px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #ffffff;
  position: absolute;
  display: block;
  content: "";
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}

@media only screen and (max-width: 800px) {
  .nav-mobile {
    display: block;
  }

  nav {
    width: 100%;
    padding: 70px 0 15px;
  }
  nav ul {
    display: none;
  }
  nav ul li {
    float: none;
  }
  nav ul li a {
    padding: 15px;
    line-height: 20px;
  }
  nav ul li ul li a {
    padding-left: 30px;
  }

  .nav-dropdown {
    position: static;
  } 
  
}
@media screen and (min-width: 800px) {
  .nav-list {
    display: block !important;
  }
}
.navigation {
  height: 50px;
  background: #262626;
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
}

.brand {
  position: absolute;
  padding-left: 20px;
  float: left;
  line-height: 20px;
  width:40px;
  text-transform: uppercase;
  font-size: 1.4em;
}
.brand a,
.brand a:visited {
  color: #ffffff;
  text-decoration: none;
}



@media screen and (min-width: 800px) {
  .contentpagemargin {
   margin-top:100px;
  }
}

@media screen and (max-width: 800px) {
  .contentpagemargin2 {
   margin-top:230px;
  }
}

