﻿.top {
    height: 38px;
    line-height: 38px;
    background: #2f6699;
}
.top,
.top a {
    color: #fff;
}
.top ul li {
    float: left;
}
.logo {
    margin: 50px auto 30px;
}
.logo a {
    display: block;
    text-align: center;
}
.search-box {
    width: 600px;
    height: 42px;
    line-height: 42px;
    margin: 0 auto 40px;
}
.user-input {
    width: 86%;
    height: 100%;
    padding: 0 18px;
    border: 0;
    outline: none;
}
.search-btn {
    width: 14%;
    height: 100%;
    background: #d51717;
    color: #fff;
    font-size: 16px;
    border: 0;
    outline: none;
    vertical-align: middle;
}
.navbar {
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    font-size: 22px;
}
.navbar li {
    width: 126px;
    height: 125px;
    text-align: center;
    background: url(../images/icon/navbarbg.png) no-repeat;
}
.navbar .dis,.navbar li:hover {
    background: url(../images/icon/navbarbghover.png) no-repeat;
}
.navbar li img {
    display: block;
    margin: 0 auto 10px;
}
.navbar li a {
    color: #fff;
    display: block;
    height: 100%;
    padding-top: 25px;
}
/* 动画 */
.navbar li:hover img {
    animation: overturn 2s;
    -moz-animation: overturn 2s;	/* Firefox */
    -webkit-animation: overturn 2s;	/* Safari 和 Chrome */
    -o-animation: overturn 2s;	/* Opera */
}

@media screen and (max-width: 768px) {
    .top {
        display: none;
    }
    .logo {
        margin: 20px auto;
    }
    .search-box {
        width: 100%;
        margin-bottom: 20px;
    }
    .user-input {
        width: 75%;
    }
    .search-btn {
        width: 25%;
    }
    .navbar {
        flex-wrap: wrap;
        padding: 0;
        font-size: 20px;
    }
    .navbar li {
        margin-bottom: 10px;
        width: 32%;
        height: 110px;
        background: #5d9acb;
        border-radius: 50%;
    }
    .navbar .dis {
        background: #4ca5ec;
    }

}
