

        .top > ul > li {
            position: relative;
            float: left;
            margin: 10px;
            padding: 0;
            width: 100px;
            height: 50px;
        }
        .top > ul > li > a {
            display: block;
            background-color: #2c2c2c;
            padding: 5px;
            line-height: 40px;
            font-size: 19px;
            text-align: center;
            text-decoration:none;
            color:#aaaaaa; 
        }
        .hide {
            display: block;
        }
        .show_menu {
            display: none;
        }    
            
        .hide {
            display: none;
        }
        .show_menu {
            display: block;
        }
        
@media screen and (min-width: 500px) {

        .top > ul > li {
            position: relative;
            float: left;
            margin: 10px; 
            padding: 0;
            width: 110px;
            height: 50px;
        }
        .top > ul > li > a {
            display: block;
            background-color: #2c2c2c;
            padding: 6px;
            line-height: 40px;
            font-size: 20px;
            text-align: center;
            text-decoration:none;
            color:#aaaaaa; 
        }
        .hide {
            display: none;
        }
        .show_menu {
            display: block;
        }
    
}
            
@media screen and (min-width: 1000px) {
    
        .top > ul > li {
            position: relative;
            float: left;
            margin-top: 15px;
            margin-right: 25px; 
            margin-bottom: 15px;
            margin-left: 25px;
            padding: 0;
            width: 130px;
            height: 50px;
        }
        .top > ul > li > a {
            display: block;
            background-color: #2c2c2c;
            padding: 7px;
            line-height: 36px;
            font-size: 19px;
            text-align: center;
            text-decoration:none;
            color:#aaaaaa;
        }
}
            
@media screen and (min-width: 1200px) {

        .top {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
        }
        .top ul {
            position: relative;
            z-index: 75;
            list-style: none; 
            margin: 0; 
            padding: 0; 
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            font-weight: normal;
            font-size: 15px;
        }

        .top > ul > li {
            position: relative;
            float: left;
            margin-top: 17px;
            margin-right: 25px;
            margin-bottom: 17px;
            margin-left: 25px;
            padding: 0;
            width: 160px;
            height: 66px;
        }
        .top > ul > li > a {
            display: block;
            background-color: #2c2c2c;
            padding-top: 10px;
            padding-right: 5px;
            padding-bottom: 10px;
            padding-left: 5px;
            line-height: 40px;
            font-size: 20px;
            text-align: center;
            text-decoration:none;
            color:#aaaaaa;
            transition: background-color 2.5s ease;
        }
        .top > ul > li > a:hover{
            background-color: firebrick;
            color:#eeeeee;
            border-radius: 40px 170px 0px 0px;
            -webkit-transition: background-color 0.3s ease;
            -moz-transition: background-color 0.3s ease;
            -o-transition: background-color 0.3s ease;
            -ms-transition: background-color 0.3s ease;
            transition: background-color 0.3s ease;
        }

        .top ul ul {
            width: 300px;
            position: absolute;
            z-index: 100;
            height: 0;
            overflow: hidden;
        }

        .top > ul > li:hover ul ul, .top > ul > li > a:hover ul ul {
            height: 0;
        }
        .top ul ul ul {
            left: 150px;
            width: 150px;
        }

        .top > ul > li:hover ul, .top > ul > li > a:hover ul,
        .top ul ul li:hover > ul, .top ul ul li a:hover > ul {
            height: 500px;    /*     background-color: pink;    */
            -webkit-transition: height 0.3s ease-in;
            -moz-transition: height 0.3s ease-in;
            -o-transition: height 0.3s ease-in;
            -ms-transition: height 0.3s ease-in;
            transition: height 0.3s ease-in;
        }

        .top ul ul li {
            background-color:#eaeaea;
            width: 150px;
            -webkit-transition: background-color 0.3s ease;
            -moz-transition: background-color 0.3s ease;
            -o-transition: background-color 0.3s ease;
            -ms-transition: background-color 0.3s ease;
            transition: background-color 0.3s ease;
        }

        .top ul ul li:hover {
            background-color:#999;
        /*    box-shadow: 2px 2px 2px 1px red !important;    */
        }

        .top ul ul li a {
            display:block;
            text-decoration:none;
            line-height: 40px;
            margin: 0;
            padding: 5px;
            padding-left: 20px;
            color:#4c4c4c;
        }
        .top ul ul li a:hover, .top ul ul li:hover > a {
            color:#ffffff;
        }     

        .top ul ul ul li a{
            border: 0 !important;
        }
        .top ul ul ul li + li a{
            border-top: 1px solid #999 !important;
        }
        .top ul ul li + li a{
            border-top: 1px solid #999;
        }
        .top ul ul li:hover + li a{
            border-top: 1px solid #eaeaea;
        }
        .top ul ul ul li:hover + li a{
            border: 0 !important;
        }
        .top ul ul ul li:hover + li{
            border-top:1px solid #999 !important;
        }
        li {
            padding: 0;
        }
            
}



