﻿html
{
    font-size: 62.5%;
}

.navbar_header
{
    width: 100%;
    display: block;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, #202a4e, #192346);
}

.MenuBar {
    padding: 0;
    margin: 0;
    background: linear-gradient(180deg, #202a4e, #192346);
    list-style: none;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.MenuBar > li
{
    float: left;
    display: inline-block;
    position: relative;
}

.MenuBar li > a.active
{
    background-color: #4DB1E2;
    color: #fff;
    z-index: 999;
}

.MenuBar > li:first-child > a
{
    background-image: linear-gradient(to right top, #0748ca, #116ccc, #078de7, #129cd6, #22b1d4);
    color: #fff;
    z-index: 99;
}


.MenuBar > li:hover > a
{
    background: #121c44;
    box-shadow: 0 -1rem 0 1rem rgba(255,255,255,0.1);
    color: #fff !important;
    z-index: 9999;
}

.MenuBar > li:hover
{
    color: #fff;
}

.MenuBar > li > a
{
    position: relative;
    display: block;
    padding: 2rem .6rem 2rem .6rem;
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: #fff;
    text-shadow: 0px 1px 0px #0d0d0d;
}

.MenuBar > li:last-child > ul.Submenu
{
    right: 1.4rem;
}

.Submenu
{
    opacity: 0;
    visibility: hidden;
    -o-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    -o-transition: -o-transform 0.3s, opacity 0.3s;
    -ms-transition: -ms-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform: rotateX(-75deg);
    -o-transform: rotateX(-75deg);
    -moz-transform: rotateX(-75deg);
    -webkit-transform: rotateX(-75deg);
    background-color: #fff;
}

.Submenu > li > a
{
    color: #fff;
    padding: 2px 2rem;
    text-decoration: none;
    display: block;
    font-size: 1.3rem;
    text-align: left;
    font-weight: 500;
    background: #121c44;
    border-bottom: 1px solid;
}

.Submenu > li > a:hover
{
    background: #1B5AA2;
    color: #fff !important;
}

.Submenu > li:hover
{
    position: relative;
}


.SubmenuThird
{
    display: none;
    position: absolute;
    list-style: none;
    width: 22rem;
    transition: 0.5s; /* box-shadow: 0 0 0 10px rgba(255,255,255,0.5); */
    left: 23rem;
    top: 0rem;
    z-index: 999;
}

.SubmenuThird > li > a
{
    float: none;
    color: #fff !important;
    background-color: #0e1540;
    padding: 2px 2rem;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 1.25rem;
    border-bottom: 1px solid;
}

ul.MenuBar li li:hover > a
{
    background: #0e1540;
}

.SubmenuThird > li > a:hover
{
    background: #121c44 !important;
}

ul.Submenu > li > a::before
{
    content: '- ';
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    background: none;
}


ul.Submenu ul::before
{
    background: #0e1540;
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 1rem;
    height: 3.6rem;
}

.SubmenuThird > li > a:hover
{
    background: #008fd5;
}

.Submenu
{
    visibility: hidden;
    padding: 0rem;
    opacity: 0;
    list-style: none;
    position: absolute;
    top: 100%;
    width: 22rem;
    z-index: 999;
    max-height: 0; /* box-shadow: 0 0 0 10px rgba(255,255,255,0.5); */
}

.MenuBar > li:hover .Submenu
{
    visibility: visible;
    opacity: 1;
    z-index: 999;
    max-height: 1000px;
    transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -webkit-transform: rotateX(0deg);
}

/*--------------*/
.Submenu > li:hover .SubmenuThird
{
    display: block;
}

.navbar_mobile
{
    display: none;
    width: 100%;
    height: auto;
    background-color: #622922;
    padding: .5rem;
}

.Navbar_toggleInactive
{
    border-radius: .4rem;
    display: inline-block;
    font-size: 3rem;
    text-decoration: none;
    color: #fff;
}

.Navbar_toggleactive
{
    display: none;
    border-radius: .4rem;
    font-size: 3rem;
    text-decoration: none;
    color: #fff;
    transform: rotate(90deg);
    transition: 0.5s;
}

.MobileMenubar
{
    display: none;
    padding: 1rem;
    width: 100%;
    height: auto;
    position: relative;
    float: right;
}

.Navbartoggle, .Navbartoggle:Active, .Navbartoggle:focus
{
    font-size: 2rem;
    color: #fff;
}

.affix
{
    position: fixed;
    z-index: 999;
    top: 0rem;
    left: 0;
}

.menuClose
{
    width: calc(100% - 30rem);
    display: inline-block;
    float: left;
    position: fixed;
    background-color: rgba(0,0,0,0.5);
    top: 0rem;
    bottom: 0rem;
    right: 0rem;
    display: none;
}

.menuClose:hover
{
    background-color: rgba(0,0,0,0.7);
}


.navtab_div > a:first-child
{
    color: #f4be2c;
}

.recentlIink
{
    width: 100%;
}

.recentlIink a
{
    color: gray;
}

@media only screen and (min-width:991px)
{
    .affix
    {
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: 0px 3px 8px #3a393a47;
        animation-name: slideInDown;
        animation-duration: .5s;
    }
}
