/* =============================================
*
*   FIXED RESPONSIVE NAV
*
*   (c) 2014 @adtileHQ
*   http://www.adtile.me
*   http://twitter.com/adtilehq
*
*   Free to use under the MIT License.
*
* ============================================= */

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
    margin: 0;
    padding: 0;
    border: 0;
}

a:active,
a:hover {
    outline: 0;
}

@-webkit-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}


/* ------------------------------------------
RESPONSIVE NAV STYLES
--------------------------------------------- */

.fre-menu-top ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
}

.fre-menu-top li {
    width: auto;
    display: block;
    list-style: none;

}

.js .fre-menu-top {
    clip: auto;
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
    zoom: 1;
}

.fre-menu-top.opened {
    max-height: 9999px;
}

.disable-pointer-events {
    pointer-events: none !important;
}

.nav-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

@media screen and (min-width: 1000px) {
    .js .fre-menu-top {
        position: relative;
    }

    .js .fre-menu-top.closed {
        max-height: none;
    }

    .nav-toggle {
        display: none;
    }
}


/* ------------------------------------------
FIXED HEADER
--------------------------------------------- */

header {
    position: fixed;
    z-index: 3;
    width: 100%;
    left: 0;
    top: 0;
}


/* ------------------------------------------
MASK
--------------------------------------------- */
/*
.mask {
-webkit-transition: opacity 300ms;
-moz-transition: opacity 300ms;
transition: opacity 300ms;
background: rgba(0,0,0, .5);
visibility: hidden;
position: fixed;
opacity: 0;
z-index: 2;
bottom: 0;
right: 0;
left: 0;
top: 0;
}

.android .mask {
-webkit-transition: none;
transition: none;
}

.js-nav-active .mask {
visibility: visible;
opacity: 1;
}

@media screen and (min-width: 1000px) {
.mask {
display: none !important;
opacity: 0 !important;
}
}
*/

/* ------------------------------------------
NAVIGATION STYLES
--------------------------------------------- */

.fixed {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}

.fre-menu-top,
.fre-menu-top * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.fre-menu-top,
.fre-menu-top ul {
    list-style: none;
    width: 100%;
    float: left;
}

@media screen and (min-width: 1000px) {
    .fre-menu-top {
        float: right;
        width: auto;
    }
}

@media screen and (max-width: 1499px) {
    .fre-menu-top li {
        width: 100%;
    }
}

.fre-menu-top a {
    font-size: 20px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    background: #212529;
    padding: 0.7em 1em;
    color: #fff;
    width: 100%;
    float: left;
    transition: color .2s ease, font-size .2s ease;
    position: relative;
}

.fre-menu-top .menu-item.active a {
     color: #9EA8FD;
 }

.fre-menu-top a:hover:before , .footer a:hover:before {
    width: 100%;
}

.fre-menu-top a:before , .footer a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    height: 2px;
    width: 0;
    background: #9EA8FD;
    transition: width .2s ease-in-out;
}

.fre-menu-top a:active,
.fre-menu-top .active a {
    background: #212529;
}

@media screen and (min-width: 1000px) {
    .fre-menu-top a {
        text-align: center;
        float: left;
        margin: 0;
        padding: 10px;
    }
}

.fre-menu-top ul ul a {
    background: #000;
    padding-left: 2em;
}

@media screen and (min-width: 1000px) {
    .fre-menu-top ul ul a {
        display: none;
    }
}


/* ------------------------------------------
NAV TOGGLE STYLES
--------------------------------------------- */

/*@font-face {
font-family: "responsivenav";
src:url("../icons/responsivenav.eot");
src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
url("../icons/responsivenav.ttf") format("truetype"),
url("../icons/responsivenav.woff") format("woff"),
url("../icons/responsivenav.svg#responsivenav") format("svg");
font-weight: normal;
font-style: normal;
}*/

.nav-toggle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    text-indent: -300px;
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 55px;
    float: right;
}

.nav-toggle:before {
    color: #fff; /* Edit this to change the icon color */
    /*font: normal 28px/55px "responsivenav";  Edit font-size (28px) to change the icon size */
    text-transform: none;
    text-align: center;
    position: absolute;
    content: "\2261"; /* Hamburger icon */
    text-indent: 0;
    speak: none;
    width: 100%;
    left: 0;
    top: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-toggle.active:before {
    font-size: 24px;
    content: "\78"; /* Close icon */
}

.fre-menu-top.fre-menu-top-0.fre-menu-top-0.closed.opened {
    position: absolute;
    top: 120px;
    right: 0px;
    width: 300px
}

.fre-menu-top a:hover , .logo_text:hover {
    color: #9EA8FD !important;
    transition: all 300ms;
}

a:hover {
    color: #9EA8FD !important;
    transition: all 300ms;
}
