<style>

        .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; 
        }

        .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 {
            margin: 10px; 
            width: 120px;
            height: 60px;
        }
        .top > ul > li > a {
            padding-top: 10px;
            padding-right: 5px;
            padding-bottom: 10px;
            padding-left: 5px;
            line-height: 40px;
            font-size: 20px;
            transition: background-color 2.5s ease;
        }
        .top > ul > li > a:hover{
            background-color: firebrick;
            color:#eeeeee;
            border-radius: 10px 10px 10px 10px;  /*  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 {
            top: 152px;
            left: 150px;
            width: 250px;
        }

        .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;
            -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;
        }

        .top ul ul p {
            position: fixed;
         /*   top:  */
            left: 25px;
            background-color:#eaeaea;
            width: calc(100% - 50px);
            -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 .sbar {
            position: sticky;   /*  position: fixed;    */  /*  position: sticky;   */
            top: 80px;
            left: 40px;
            width: calc(100% - 80px);
            height: 40px;
            padding-right: 15px;
            padding-left: 15px;
            background-color:#eaeaea;
            -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    */

        .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;
        }

        .mhide {
            display: none;
        }
        .show_menu {
            display: none;
        }    
        .thide {
            display: none;
        }
        .show_menu {
            display: block;
        }
        
@media screen and (min-width: 500px) {

        .top > ul > li {
            width: 120px;
            height: 50px;
        }
        .top > ul > li > a {
            padding: 6px;
            font-size: 20px;
        }
        .top ul ul .sbar {
         /*   position: fixed;*/
            top: 80px;
            left: 100px;
            width: 320px;
            height: 44px;
            max-width: 50vw;
        }
 }
        
@media screen and (min-width: 700px) {

        .mhide {
            display: none;
        }
        .thide {
            display: block;
        }
        .show_menu {
            display: none;
        }
        .top > ul > li {
            width: 80px;
            height: 48px;
            margin: 7px; 
        }
        .top > ul > li > a {
            padding: 4px; 
            font-size: 17px;
        }
}        
        
@media screen and (min-width: 800px) {
    
        .top > ul > li {
            width: 90px;
            height: 48px;
            margin: 8px; 
        }
        .top > ul > li > a {
            padding: 5px; 
            line-height: 38px;
            font-size: 18px;
        }
}
            
@media screen and (min-width: 1000px) {
    
        .top > ul > li {
            width: 100px;
            height: 50px;
            margin: 10px;
        }
        .top > ul > li > a {
            padding: 7px;
            line-height: 40px;  /*  36px;   */
            font-size: 19px;
        }
}
            
@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 {
            margin: 15px; 
            width: 120px;
            height: 60px;
        }
        .top > ul > li > a {
            padding-top: 10px;
            padding-right: 5px;
            padding-bottom: 10px;
            padding-left: 5px;
            line-height: 40px;
            font-size: 20px;
            transition: background-color 2.5s ease;
        }
        .top > ul > li > a:hover{
            background-color: firebrick;
            color:#eeeeee;
            -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 .sbar {
         /*   position: fixed;*/
            top: 100px;
            left: 400px;
            right: 400px;
            width: calc(100vw - 800px);
            height: 50px;
            max-width: 600px;
        }
        .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 {
            top: 152px;
            left: 150px;
            width: 250px;
        }

        .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;
            -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;
        }

        .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;
        }
            
}


</style>


