﻿html
{
    font-size: 62.5%;
}

.navbar_header {
    width: 100%;
    display: block;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    background: #0c7052;
}

.MenuBar {
    padding: 0;
    margin: 0;
    /*background: #0c7052;*/
    list-style: none;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    flex-direction: column;
}

.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 {
        color: black;
        z-index: 99;
    }


    .MenuBar > li:hover > a {
        background: #ab992c;
        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: 13px;
    font-size: 1.4rem;
    line-height: 1.4rem;
    color: black;
    /*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: #ab992c;
        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: 220px;
    top: 0rem;
    z-index: 999;
}

    .SubmenuThird > li > a {
        float: none;
        color: #fff !important;
        background-color: #ab992c;
        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: #006400;
}

.SubmenuThird > li > a:hover ul.Submenu ul::before {
    background-color: #0c7052 !important;
}

ul.Submenu > li > a::before
{
    content: '- ';
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    background: none;
}




.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;*/
    background: #006400;
    padding: 5px 5px 5px 5px;
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 4px;
}

.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;
    }
}

.toggle_Menu{
    position:absolute;
    right:0px;
}

@media only screen and (min-width:991px) {
    .Header_Layer3 {
        position: absolute;
        width: 50px;
        right: 80px;
        top: 90px;
        height: 50px;
    }
}

