/*
  Theme Name: Raremedia base navigation style sheet
  Author: Lucas Jordan, Stephen Arias
  Description: base navigation style sheet
  Version: 0.0.1
  Copyright: Raremedia Pty Ltd (Andrew Davidson)'
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
#   Root navigation element
#   Nav bar
#   Drop down menu
    ##  Mega menu drop down
#   Accordion menu
#   Responsive
#   Navigation Utility Classes
--------------------------------------------------------------*/


/*--------------------------------------------------------------
  # Navigation list
--------------------------------------------------------------*/

.nav-bar {
    z-index: 1000;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-bar.sticky {
    position: fixed;
}

.nav-bar:after {
    display: table;
    clear: both;
    content: "";
}

.nav-bar {
    display: block;
    margin: 0;
    padding: 0;
}

.nav-bar.nav-left {
    float: left;
}

.nav-bar.nav-right {
    float: right;
}


/* Level All */

.nav-bar ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-bar li {
    display: block;
}

.nav-bar a {
    display: block;
}


/* Level 1 */
.nav-main > ul {
    margin: 0 0 0 0.88em;
}
.nav-bar.horizontal>ul>li {
    display: table-cell;
    vertical-align: middle;
}

.nav-bar>ul>li>a, .nav-bar>ul>li>a:link, .nav-bar>ul>li>a:visited {
    padding: 1.903em 0.88em 1.563em 0.88em;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom: solid 2px transparent;
    font-size: 0.813em;
    font-weight: 500;
    line-height: 1;
}

.nav-bar>ul>li>a:hover, .nav-bar>ul>li>a:focus, .nav-bar>ul>li>a:active {
    color: #46abf2;
}

.nav-bar>ul>li.active>a {
    color: #46abf2;
    border-bottom: solid 2px transparent;
}


/* RHS Social Nav styles */

.nav-bar > ul.social-list > li > a,
.nav-bar > ul.social-list > li > a:link,
.nav-bar > ul.social-list > li > a:visited,
.nav-bar > ul.social-list > li > a:hover,
.nav-bar > ul.social-list > li > a:focus,
.nav-bar > ul.social-list > li > a:active {
    padding: 1.313em 0.3em 1.063em 0.3em;
}

.nav-bar>ul.social-list>li>a .icons.xsmall {
    font-size: 27px;
}


/* Level 2 & 3+ */

.nav-bar>ul>li ul {
    z-index: 1000;
    display: none;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
}

.nav-bar>ul>li[data-expanded="true"] ul {
    display: block;
}

.nav-bar>ul>li[data-expanded="true"] ul.mega-menu {
    display: table;
}

.nav-bar>ul>li ul li {
    position: relative;
}

.nav-bar>ul>li ul a, .nav-bar>ul>li ul a:link, .nav-bar>ul>li ul a:visited {
    padding: 1em 1.5em;
    color: #f0f0f0;
    border-bottom: 1px solid #222;
}

.nav-bar>ul>li ul a:hover, .nav-bar>ul>li ul a:focus, .nav-bar>ul>li ul a:active {
    color: #ffffff;
    background: rgba(0, 0, 0, 1);
}

.nav-bar>ul>li ul li.active a {
    color: #fff;
    background: rgba(181, 167, 34, 1);
}


/* Active Classes */

.nav-bar[data-active-type="underline"]>ul>li>a>span {
    padding: 1.063em 0 0.875em 0;
    border-color: transparent;
    border-bottom-width: 0.188em;
    border-bottom-style: solid;
}


/*--------------------------------------------------------------
  # Drop Down - Style 01
--------------------------------------------------------------*/

.nav-bar.dropdown>ul>li ul {
    position: absolute;
}


/*--------------------------------------------------------------
  # Mega View - Style 01
--------------------------------------------------------------*/


/* Level 2 */

.nav-bar ul.mega-menu {
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-width: 62.5rem;
}

.nav-bar ul.mega-menu>li {
    display: table-cell;
    padding: 1em;
}

.nav-bar ul.mega-menu>li>a {
    color: #fff;
    font-size: 1em;
}

.nav-bar ul.mega-menu li ul {
    position: relative;
    display: block;
    border: 0;
}

.nav-bar ul.mega-menu li ul>li {
    border: 0;
}


/*--------------------------------------------------------------
  # Responsive menu
--------------------------------------------------------------*/

.nav-toggle {
    display: none;
    float: left;
    /*padding: 1.250em 1.238em 1em 1.238em;*/
    padding: 1.313em 1.238em 0.938em 1.238em;
    cursor: pointer;
    color: #fff;
    outline: 0;
}

.nav-toggle i, .nav-toggle .icons.xsmall {
    padding: 0;
    color: #fff;
    font-size: 1.2em;
}


/*--------------------------------------------------------------
  # Accordion menu
--------------------------------------------------------------*/

.nav-bar[data-navigation-type="accordion"]+.nav-toggle, .menu-accordion .nav-toggle {
    display: block;
}

.nav-bar[data-navigation-type="accordion"]>ul>li ul li:last-child a {
    border-bottom: none;
}

.nav-bar[data-navigation-type="accordion"][data-expanded="true"] {
    position: absolute;
    top: 3.125em;
    /* 50px */
    right: 0px;
    left: 0px;
    display: block;
    width: 100%;
    text-align: center;
    border-top: 1px solid #222;
    background: rgba(0, 0, 0, 0.9);
}

.nav-bar[data-navigation-type="accordion"][data-expanded="true"]>ul {
    position: absolute;
    width: 100%;
}

.nav-bar[data-navigation-type="accordion"][data-expanded="true"]>ul>li {
    display: block;
}

.nav-bar[data-navigation-type="accordion"][data-expanded="true"]>ul>li>ul {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.nav-bar[data-navigation-type="accordion"][data-expanded="false"] {
    display: none;
}


/*--------------------------------------------------------------
  # Reveal menu ( rare.com.au style )
--------------------------------------------------------------*/

.menu-reveal .nav-toggle {
    display: block;
    float: left;
}

.nav-bar[data-navigation-type="reveal"]>ul>li {
    opacity: 0;
}


/*--------------------------------------------------------------
#       Full Screen Responsive menu
--------------------------------------------------------------*/

.menu-full-screen .nav-toggle {
    display: block;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="false"] {
    display: none;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] {
    float: none;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: rgba( 0, 0, 0, 0.9);

    position: fixed;
    -webkit-overflow-scrolling: touch;
    overflow: hidden;
    overflow-y: scroll;
    z-index: 1010;
}


/* Full page navigation heading */

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-header {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 1.375em 0 0 0;
    padding: 0 1.250em 0 1.250em;
    text-align: left;
    color: #ffffff;
}
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-header:after {
  content: "";
  display: table;
  clear: both;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-header .nav-header-heading {
    float: left;
    text-align: left;
    font-size: 1.875em;
    font-weight: 700;
    z-index: 1020;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-header .nav-header-rhs {
    float: right;
    padding: 0.5em 0;
    text-align: left;
    z-index: 1020;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-header .nav-header-rhs .icons.xsmall {
    font-size: 16px;
}


/* Full page nav footer styles */

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-footer {
    display: block;
    position: relative;
    right: 0;
    bottom: 1.5em;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0 1.250em 0 1.250em;
    text-align: center;
    color: #ffffff;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-footer>.button.outline {
    max-width: 9em;
    margin: 2em auto;
    padding: 10px 5px;
    color: #ffffff !important;
    border: 1px solid #ffffff;
    border-radius: 0;
    font-size: 0.822em;
    font-weight: 300;
    z-index: 1020;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-footer>.social-list {
    position: relative;
    display: block;
    margin: 2em auto 1em auto;
    padding: 0;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] .nav-footer>.social-list>li {
    position: relative;
    display: inline-block;
}


/* Nav Items */

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"]>ul {
    position: relative;
    margin: 2.666em auto 0 auto;
    text-align: center;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"]>ul>li {
    position: relative;
    display: block;
    margin: 0 auto;
    text-align: center;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:link,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:visited,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:hover,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:focus,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:active {
    padding: 0.7em 0.88em;
    text-transform: none;
    font-size: 1.688em;
    font-weight: 500;
    z-index: 900;
}

.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li.active a,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li.active a:link,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li.active a:visited,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li.active a:hover,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li.active a:focus,
.nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li.active a:active {
    border-bottom: solid 2px transparent
}


/*--------------------------------------------------------------
  # Navigation Utility Classes
--------------------------------------------------------------*/
[data-sticky="true"] {
    position: fixed;
    z-index: 1000;
    width: 100%;
}
@media screen and (max-width: 413px) {
    .nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul {
        margin: 0.4em auto 0 auto;
    }
    .nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a,
    .nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:link,
    .nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:visited,
    .nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:hover,
    .nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:focus,
    .nav-bar[data-navigation-type="full-screen"][data-expanded="true"] > ul > li > a:active {
        padding: 0.7em 0.88em;
        font-size: 1.0em;
    }
}
