/*
------------WebMaster 2014-2016 Joel Henry (jhenry@elevate.org.au)--------------
╔═══╦╗─────────╔╗────╔╗──╔╗────╔╗╔╗──╔═╗╔═╗───────╔╗
║╔══╣║────────╔╝╚╗───║╚╗╔╝║───╔╝╚╣║──║║╚╝║║──────╔╝╚╗
║╚══╣║╔══╦╗╔╦═╩╗╔╬══╗╚╗╚╝╔╩═╦╗╠╗╔╣╚═╗║╔╗╔╗╠╦═╗╔╦═╩╗╔╬═╦╗─╔╗
║╔══╣║║║═╣╚╝║╔╗║║║║═╣─╚╗╔╣╔╗║║║║║║╔╗║║║║║║╠╣╔╗╬╣══╣║║╔╣║─║║
║╚══╣╚╣║═╬╗╔╣╔╗║╚╣║═╣──║║║╚╝║╚╝║╚╣║║║║║║║║║║║║║╠══║╚╣║║╚═╝║
╚═══╩═╩══╝╚╝╚╝╚╩═╩══╝──╚╝╚══╩══╩═╩╝╚╝╚╝╚╝╚╩╩╝╚╩╩══╩═╩╝╚═╗╔╝
──────────────────────────────────────────────────────╔═╝║
──────────────────────────────────────────────────────╚══╝
*/

body .main-header {
  /*background: rgba(0, 0, 0, 0.2); */
}

.dark{
  background: rgba(0, 0, 0, 0.2);
  padding-bottom: 10px;
}

input#navTrigger{
    display: none;
}

/* Header */
.main-header {
  position: absolute;
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
  backface-visibility: hidden;
  padding-top: 25px;
}

.logoWrapper{
  vertical-align: middle;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-40%, 0);
  -moz-transform: translate(-40%, 0);
  -ms-transform: translate(-40%, 0);
  -o-transform: translate(-40%, 0);
  transform: translate(-40%, 0);
  text-align: center
  height: auto;
  width: 90px;
  line-height: 1;
}

.main-header .container {
  display: table;
  overflow-y: hidden;
  width: 100%;
  max-height: 80px;
}

.main-header label.hamburger {
  display: none;
}

/* Nav */
.nav {
  display: table;
  overflow-y: hidden;
  padding: 0;
  vertical-align: middle;
  margin: 0px auto !important;
}

.nav ul {
  padding:0px;
  overflow: hidden;
  margin: 0px;
  max-width: 1115px;
}

.nav li {
  display: table-cell;
  margin-right: 5px;
  padding: 0;
}

.nav ul li.menu-item-has-children > a:after {
    color: white;
    font-size: 12px;
    content: ' ▾';
    position: relative;
    top: -2px;
}

.nav>ul>li>a {
  display: block;
  padding: 8px 12px;
  /*border: 2px solid transparent;
  border-radius: 2px;*/
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px;
  font-weight: 900;
  line-height: normal;
  text-decoration:none;  
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

.nav>ul>li:nth-child(3)>a{
  margin-right: 55px;
}

.nav>ul>li:nth-child(4)>a{
  margin-left: 55px;
}


.nav>ul>li.current-menu-item>a,
.nav>ul>li>a:hover {
  /*border: 2px solid #ffffff;*/
  color:#fff90a;
}

.logo{fill:#ffffff;}
.current-menu-item{fill:#fff90a;}
svg:hover .logo{fill:#fff90a;}

.mobile-nav {
  display: none;
}
/* Subnav */
.nav ul.sub-menu {
  display:none;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  padding: 24px;
  position: absolute;
}

.nav ul.sub-menu a{
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px;
  font-weight: normal;
  line-height: normal;
}


.nav ul.sub-menu li {
  display: block;
  padding: 0;
  padding-bottom: 5px;
}

.nav ul li:hover > ul{
  display:block;
}
.nav ul ul li.current-menu-item a,
.nav ul ul li a:hover{
  color:#fff90a;
}



/* Media Queries */
@media screen and (max-width: 992px) {

  .wrapper{
    padding-top: 50px;
  }

  .main-header {
  position: fixed;
  }

  /* Open nav styles */
  input#navTrigger:checked ~ .mobile-nav {
    padding: 10px 0;
    max-height: 100vh;
  }
  input#navTrigger:checked ~ .wrapper {
    height: 100%;
    overflow: hidden;
    position: fixed;
  }
  input#navTrigger:checked ~ .main-header {
	background: rgba(0, 0, 0, 1) !important;

  }
  input#navTrigger:checked ~ .main-header label.hamburger span {
    background: transparent;
  }
  input#navTrigger:checked ~ .main-header label.hamburger span:before {
    top: 1px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  input#navTrigger:checked ~ .main-header label.hamburger span:after {
    top: -1px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg); 
  }
  .splash-page input#navTrigger:checked ~ .main-wrap {
    position: relative;
  }
  /* Header */
  .main-header {
    height: 50px;
    padding: 9px 20px;
    background: black;
  }

  .main-header .container {
    height: 40px;
    max-height: inherit;
  }
  .main-header label.hamburger {
    position: absolute;
    box-sizing: content-box;
    top: 0;
    right: 0;
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 10px;
    cursor: pointer;
  }
  .main-header label.hamburger span,
  .main-header label.hamburger span:before,
  .main-header label.hamburger span:after {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    content: '';
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
  }
  .main-header label.hamburger span {
    top: 9px;
    left: 4px;
    margin: 5px 0;
  }
  .main-header label.hamburger span:before {
    top: -8px;
  }
  .main-header label.hamburger span:after {
    bottom: -6px;
  }
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    top: 50px;
    left: 0;
    z-index: 20;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    max-height: 0;
    padding: 0;
    box-sizing: border-box;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&1+0,0.4+100 */
    background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0.4) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#66000000',GradientType=0 ); /* IE6-9 */
  }
  .mobile-nav ul {
    float: none;
    height: auto;
    padding-left: 0px !important;
  }
  .mobile-nav li {
    position: relative;
    display: block !important;
    margin: 0;
    border: none;
    text-align: left;
  }
  .mobile-nav ul li:hover > ul{
    display:block;
  }
  .mobile-nav ul ul {
  display:none;
  font-size: 13px;
  padding: 0;
  margin-left: 30px;
  }

  .mobile-nav li > a {
    position: relative;
    padding: 10px 0;
    border: none;
  }
  .mobile-nav li > a {
    display: block;
    position: relative;
    padding: 10px 0;
    border: none;
    color: #ffffff;
    text-transform: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: normal;
    padding-left: 7%;
    animation-name: navitem;
    animation-duration: 0.65s;
    animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    animation-fill-mode: forwards;
  }
  .mobile-nav li .wsite-menu-wrap {
    display: block !important;
    overflow: hidden;
    max-height: 0;
  }
  .mobile-nav li .wsite-menu-wrap li.wsite-nav-current > a.wsite-menu-subitem {
    background: rgba(0, 0, 0, 0.95);
    border: none;
  }
  .mobile-nav li.menu-item-has-children > a:after {
    color: white;
    font-size: 12px;
    content: ' ▾';
    position: relative;
    top: -2px;
  }
  .mobile-nav li.menu-item-has-children .wsite-menu-wrap.open {
    max-height: 1000px;
  }
  .mobile-nav li.wsite-nav-more {
    display: none !important;
  }
}
@media screen and (max-height: 400px){
  .mobile-nav li > a {
    font-size: 14px !important;
  }
}
@media screen and (min-width: 992px) {
  .logoWrapper{

  }
  .shrink{
  position: fixed;
  padding: 10px 30px !important; 
  background: rgba(0, 0, 0, 0.8) !important;
	}
}
