﻿
.Layer2
{
    width: 100%;
    display: inline-block;
}
.affix
{
    position: fixed;
    z-index: 999;
    top: 0px;
    box-shadow: 0px 0px 3px 0px;
}
.navbar_header
{
    width: auto;
    display: inline-block;
    height: auto;
    padding-left: 22px;
    margin-right: auto;
}
.nbgimg
{
    background-image: url(Style/1458250990465.png);
    background-repeat: repeat;
    width: 100%;
}
.navbar_mobile
{
    display: none;
    width: 100%;
    height: auto;
    background-color: #622922;
    padding: 5px;
}
.Navbar_toggleInactive
{
    border-radius: 4px;
    display: inline-block;
    font-size: 30px;
    text-decoration: none;
    color: #fff;
}
.Navbar_toggleactive
{
    display: none;
    border-radius: 4px;
    font-size: 30px;
    text-decoration: none;
    color: #fff;
    transform: rotate(90deg);
    transition: 0.5s;
}
.MobileMenubar
{
    display: none;
    padding: 10px;
    width: 100%;
    height: auto;
}
.Navbartoggle
{
    font-size: 20px;
    color: #fff;
}
@media only screen and (max-width: 768px)
{
    .top-level-menu > li
    {
        border-bottom:1px solid white;
        }
    .third-level-menu 
    {
        position: initial!important;
        width:100%!important;
        }
        
        .third-level-menu > li > A
        {
            background-color:#646464!important;
            }
    .second-level-menu{
    position: initial!important;
    }
    .MobileMenubar
    {
        display: block;
    }
    .Layer2 > div > ul > li > a
    {
        font-size: 10px;
        line-height: initial;
        color: #fff;
        display: inline-block;
        padding: 5px;
        text-decoration: none;
    }
    .Layer2 > div > ul > li > a i
    {
        font-size: 15px;
    }
    .MenuSideLeft
    {
        width: 100%;
    }
    .MenuSideRide
    {
        text-align: center;
        padding: 0px;
        width: 100%;
    }
    .MenuSideRide a
    {
        background-color: Green;
        width: 100%;
        padding: 5px;
        color: #fff;
        font-size: 15px;
        font-weight: bold;
        text-decoration: none;
        display: inline-block;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .Logo_div > img
    {
        width: 100%;
        height: auto;
        display: inline-block;
    }
    .navbar_mobile
    {
        display: inline-block;
    }
    .navbar_header
    {
        display: inline-block;
        width: 0%;
        height: 100vh;
        position: fixed;
        background-color: #2d94eb;
        z-index: 999;
        top: 0px;
        margin-top: 0px;
        right: 0;
        padding-left: 0px;
        overflow: auto;
    }

    .MenuBar > li
    {
        border-left: 0px solid gray;
        border-bottom: 1px solid gray;
        display: inline-block;
        width: 100%;
    }
    .MenuBar > li:last-child
    {
        border-right: 0px solid gray;
    }
    .MenuBar > li > a
    {
        display: inline-block;
        padding: 10px 20px;
        width: 100%;
        color: #fff;
        float: none; /* width: 80px; */
        background-color: #2d94eb; /* border-top-right-radius: 50%; */ /* border-bottom-right-radius: 50%; */
        text-decoration: none;
        transition: 0.5s;
    }
    .Submenu
    {
        visibility: visible;
        opacity: 1;
        display: block;
        position: relative;
        list-style: none;
        min-width: 200px;
        z-index: 1;
        transition: 0.5s;
        padding: 0px;
        max-height: auto;
        overflow-y: scroll;
    }
    .Submenu > li > a
    {
        width: 100%;
        color: #c7bdbb;
        font-size: 12px;
        background-color: #2e3b6c;
        padding: 8px 30px;
        text-decoration: none;
        display: block;
        border-bottom: 1px solid #0b1126;
        text-align: left;
    }
    .SubmenuThird
    {
        display: block;
        position: static;
        list-style: none;
        min-width: 100%;
        margin-left: 0px;
        z-index: 1;
        margin-top: 0px;
        transition: 0.5s;
        padding: 0px;
    }
    .SubmenuThird > li > a
    {
        float: none;
        color: #c7bdbb;
        background-color: #581d15;
        padding: 8px 35px;
        font-size: 12px;
        text-decoration: none;
        display: block;
        border-bottom: 1px solid gray;
        text-align: left;
    }
    .Logo_div > a > img
    {
        height: auto;
    }
    .Header_addr
    {
        text-align: left;
        padding: 5px 3px;
    }
    .Header_addr h3
    {
        font-size: 20px;
    }
    .Header_addr a
    {
        font-size: 12px;
    }
    .closebtn
    {
        position: absolute;
        font-size: 25px;
        text-transform: uppercase;
        right: 0px;
        top: 0px;
        padding: 10px 15px;
        background-color: rgba(255, 158, 13, 0.5);
        color: transparent;
        bottom: 0px;
    }
}

/*--------------.MegaSubmenu-*******/
.MegaSubmenu
{
    width: 70vw;
    min-height: 180px;
    background-color: #fff;
    position: absolute;
    z-index: 99;
    padding: 10px;
}
.MegaSubmenu
{
    visibility: hidden;
    display: inline-block;
    opacity: 0;
    list-style: none;
    position: absolute;
    left: auto;
    top: 100%;
    min-width: 200px;
    z-index: 999;
    max-height: 0;
    -webkit-transform: perspective(400) rotate3d(1, 0, 0, -90deg);
    -webkit-transform-origin: 50% 0;
    -webkit-transition: 350ms;
    -moz-transition: 350ms;
    -o-transition: 350ms;
    transition: 350ms;
}
/*
.MegaSubmenu:before
{
    position: absolute;
    content: '';
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 9px solid #7f7f7f;
    top: -10px;
    left: 40px;
}*/
.MenuBar > li:nth-child(2):hover .MegaSubmenu
{
    visibility: visible;
    opacity: 1;
    z-index: 999;
    max-height: 1000px;
    -webkit-transform: perspective(400) rotate3d(0, 0, 0, 0);
}
.MegaSubmenu h3
{
    margin-bottom: 10px;
    margin-top: 10px;
    color: #2f3b6c;
}
.LmenuImage
{
    width: 100%;
    display: inline-block;
}
.RmenuContent
{
    width: 100%;
    padding: 10px;
    display: inline-block;
}
.MegaMenus
{
    padding: 0px;
    margin: 0px;
    width: 100%;
    display: inline-block;
    list-style: none;
}
.MegaMenus > li > a
{
    padding: 2px 5px;
    display: inline-block;
    font-size: 13px;
    width: 100%;
    color: #303b6d;
}
.MegaMenus > li > a:hover
{
    color: Orange;
    transition: 0.5s;
}

.LmenuImage img
{
    width: 50%;
    display: inline-block;
    border-style: double;
    border: 3px #2e3b6c;
    height: auto;
}
.MenuConent_head
{
    width: 50%;
    display: inline-block;
    float: left;
    text-align: justify;
    padding: 10px;
}
.MenuConent_head h3, .RmenuContent h3
{
    margin-bottom: 5px;
    color: #424242;
    padding-bottom: 5px;
    font-size: 20px;
    border-bottom: 1px solid #f5f5f5;
}
.arrow-up
{
    height: 0px;
    width: 0px;
    border: none;
    border-bottom: 5px solid #000000;
    border-left: 5px solid rgba(0,0,0,0);
    border-right: 5px solid rgba(0,0,0,0);
}

/* GENERAL BUTTON STYLING */
.button, .button::after
{
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.button
{
    display: inline-block;
    background: none;
    border: 2px solid #2f3b6c;
    color: #2f3b6c;
    font-size: 15px;
    font-weight: bold;
    margin: 1em auto;
    padding: 5px 10px;
    position: relative;
}
.button::before, .button::after
{
    background: #2f3b6c;
    content: '';
    position: absolute;
    z-index: -1;
}

.button:hover
{
    color: #fff;
}
@media screen and (max-width: 669px)
{
    .MegaSubmenu
    {
        display: none;
    }
    .Submenu
    {
        display: contents;
    }
}

/* BUTTON 2 */
.btn-2::after
{
    height: 100%;
    left: 0;
    top: 0;
    width: 0;
}

.btn-2:hover:after
{
    width: 100%;
}


.affix
{
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 2px 2px;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    opacity: 1;
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}
.affix .Header_icon > a
{
    color: #003b88;
}
.affix a img
{
    width: 35%;
}

.affix.Header_Layer3
{
    left: 0px;
    width: 100%;
    height: auto;
    position: fixed;
}
.affix.Header_Layer3 .navbar_header
{
    margin-top: 0px;
    margin-top: 0px;
    background-color: #003d8a;
}
.affix.Header_Layer3 .navbar_header .closebtn
{
    display: none;
}
.RmenuContent
{
    width: 30%;
    display: inline-block;
    float: left;
}
.LmenuImage
{
    width: 70%;
    display: inline-block;
    float: left;
}







.third-level-menu
{
    position: absolute;
    top: 0;
    
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 999;
}

.third-level-menu > li > A
{
    color: #fff;
    width: 100%;
    height: auto;
    display: inline-block;
    padding: 10px;
    position: relative;
    text-transform: uppercase;
    background: #002463;
}
.third-level-menu > li > a:hover
{
    background: #CCCCCC;
}

.second-level-menu
{
    position: absolute;
    left: 0;
    min-width: 250px;
    list-style: none;
    padding: 0;
    z-index: 999;
    margin: 0;
    display: none;
    top: 45px;
}

.second-level-menu > li
{
    position: relative;
}
.second-level-menu > li > a
{
    color: #fff;
    width: 100%;
    height: auto;
    display: inline-block;
    padding: 10px;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    position: relative;
    background: #002463;
}
.second-level-menu > li > a:hover
{
    background: #CCCCCC;
}

.top-level-menu
{
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
}

.top-level-menu > li:hover > a
{
    background: #ddd;
    color: #fff;
}
.top-level-menu > li
{
    position: relative;
    float: left;
    width: auto;
    display: inline-block;
}


.top-level-menu li:hover > ul
{
    /* On hover, display the next level's menu */
    display: inline-block;
}


/* Menu Link Styles */

.top-level-menu > li > a /* Apply to all links inside the multi-level menu */
{
    display: inline-block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    position: relative;
    transition: 0.5s;
    font-size: 13px;
    text-transform: uppercase;
    font-family: 'Roboto' , 'Rubik';
}
.top-level-menu a:hover
{
    color: #000000;
}


@media only screen and (max-width: 768px)
{
    .top-level-menu
    {
        width: 100%;
    }
    .top-level-menu > li, .top-level-menu > li > a, .second-level-menu 
    {width:100%!important;
        }
        
}
