﻿/*------------------------头部---------------*/


/*
 颜色：#AB9373;
 宽度：1200px;
*/


/*顶部*/

.header_top {
    clear: both;
    width: 100%;
    height: 39px;
    background: #AB9373;
}

.header_topIn {
    width: 1200px;
    margin: 0 auto;
    font-size: 14px;
    color: #ffffff;
    overflow: hidden;
    line-height: 39px;
}

.header_topInR {
    overflow: hidden;
}

.header_topInR li.fl {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    height: 39px;
}

.header_topInR a {
    color: #fff;
    display: inline-block;
    z-index: 1;
}

.header_topInR li>a {
    /* padding: 0 15px; */
}

.header_topInR a.active {
    background: #D97E7C;
}

.dengluzhuce {
    border-left: 1px solid #D97E7C;
}

.dengluzhuce .line {
    padding: 0 6px;
}

.dengluzhuce .User {
    padding: 0 6px;
    text-decoration: underline;
}

.dengluzhuce .buttons button {
    width: 120px;
}


/*logo样式*/

.header_bottomIn {
    width: 1000px;
    margin: 0px auto;
    height: 108px;
}

.searchbtn {
    background: url(/Content/Areas/Common/images/common/search.png) no-repeat center center;
    width: 50px;
    height: 39px;
    float: left;
    border: none;
    cursor: pointer;
    background-size: 70%;
    transition: all 0.3s;
}

.searchbtn:hover {
    background-size: 75%;
}

.buttons {
    display: flex;
    justify-content: space-around;
}

.buttons button {
    width: 80px;
    height: 39px;
    background-color: #AB9373;
    color: #fff;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_user_btn button {
    width: 100px;
}

.buttons button:before,
.buttons button:after {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.35, 0.1, 0.25, 1);
}

.buttons button:before {
    right: 0;
    top: 0;
    transition: all 0.5s cubic-bezier(0.35, 0.1, 0.25, 1);
}

.buttons button:after {
    left: 0;
    bottom: 0;
}

.buttons button>span {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.buttons button span:before,
.buttons button span:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 0;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.35, 0.1, 0.25, 1);
}

.buttons button span:before {
    right: 0;
    top: 0;
    transition: all 0.5s cubic-bezier(0.35, 0.1, 0.25, 1);
}

.buttons button span:after {
    left: 0;
    bottom: 0;
}

.buttons button p {
    padding: 0;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.35, 0.1, 0.25, 1);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons button p:before,
.buttons button p:after {
    position: absolute;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.35, 0.1, 0.25, 1);
    z-index: 1;
    left: 0;
}

.header_search_btn .buttons button p:before {
    height: 100%;
    content: "";
    background: url(/Content/Areas/Common/images/common/search.png) no-repeat center center;
}

.buttons button p:before {
    content: attr(data-title);
    top: 50%;
    transform: translateY(-50%);
}

.buttons button p:after {
    content: attr(data-text);
    top: 150%;
    color: #fff;
}

.buttons button:hover:before,
.buttons button:hover:after {
    width: 100%;
}

.buttons button:hover span {
    z-index: 1;
}

.buttons button:hover span:before,
.buttons button:hover span:after {
    height: 100%;
}

.buttons button:hover p:before {
    top: -50%;
    transform: rotate(5deg);
}

.header_search_btn .buttons button:hover p:before {
    top: -100%;
}

.buttons button:hover p:after {
    top: 50%;
    transform: translateY(-50%);
}

.buttons button.start {
    background-color: #44d8a4;
    box-shadow: 0px 5px 10px -10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.buttons button.start p:before {
    top: -50%;
    transform: rotate(5deg);
}

.buttons button.start p:after {
    color: white;
    transition: all 0s ease;
    content: attr(data-start);
    top: 50%;
    transform: translateY(-50%);
    animation: start 0.3s ease;
    animation-fill-mode: forwards;
}

@keyframes start {
    from {
        top: -50%;
    }
}

.buttons button.start:hover:before,
.buttons button.start:hover:after {
    display: none;
}

.buttons button.start:hover span {
    display: none;
}

.buttons button:active {
    outline: none;
    border: none;
}

.buttons button:focus {
    outline: 0;
}

@media only screen and (max-width: 768px) {
    .header {
        display: none;
    }
}