.mr5{
    margin-right: 5px;
}
.ml5{
    margin-left: 5px;
}
.blue{color: #01824a;}
.red{color: #f12b28;}
.header{
    width: 100%;
    background-color: #fff;
}
.navbar{
    z-index: 999;
    background-color: #01824a;
    box-shadow: 0 0 8px #aaa;
}
.navbar .nav{
    width: 1200px;
    margin: 0 auto;
    height: 38px;
    line-height: 38px;
}

.navbar .nav ul {
    width: 100%;
    box-sizing: border-box;
}
.navbar .nav .active{
   color: #F8BB19;
}
.navbar .nav ul>li {
    width: 100%;
    font-size: 18px;
    text-align: center;
}
.navbar .nav ul>li a{
    width: 100%;
    font-size: 18px;
    text-align: center;
    color: #fff;
}
.navbar .nav ul>li ol {
    position: absolute;
    width: 180px;
    margin-left: -25px;
    margin-top: 8px;
    background-color: #01824a;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    /* 让盒子先沿着y轴缩放到0也就是隐藏了 */
    transform: scaleY(0);
    /* 我们需要将盒子从上面滑动下来设置一下缩放的中心点即可设置到最上面的中间位置 */
    transform-origin: 50% 0;
    /* 设置过渡 */
    transition: all 0.6s;
}
.navbar .nav ul>li ol li a {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #fff;
    height: 40px;
    line-height: 40px;
}
.navbar .nav ul>li ol{
    border-radius:0 0 6px 6px;
}
.navbar .nav ul>li ol li:hover {
    background-color: #fff;
    border-bottom: 2px solid #f39801;
}
.navbar .nav ul>li ol li:hover a{
    color: #222;
}

.navbar .nav ul>li:hover ol {
    transform: scaleY(1);
}