* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

h2,
dl,
ol,
ul {
    margin-bottom: 0;
}

body {
    background: #fff;
}


#sm_menu_ham {
    cursor: pointer;
    float: right;
    height: 25px;
    /* position: fixed; */
    right: 5px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
    width: 30px;
    top: 15px;
    right: 15px;
    z-index: 9999;
}

#sm_menu_ham span {
    background-color: #FFFFFF;
    border-radius: 5px;
    display: block;
    height: 2px;
    left: 0;
    opacity: 1;
    position: absolute;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.25s ease-in-out 0s;
    -moz-transition: all 0.25s ease-in-out 0s;
    -o-transition: all 0.25s ease-in-out 0s;
    transition: all 0.25s ease-in-out 0s;
    width: 30px;
}

#sm_menu_ham span:nth-child(1) {
    top: 0;
}

#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
    top: 10px;
}

#sm_menu_ham span:nth-child(4) {
    top: 20px;
}

#sm_menu_ham.open span:nth-child(1) {
    left: 50%;
    top: 18px;
    width: 0;
}

#sm_menu_ham.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

#sm_menu_ham.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#sm_menu_ham.open span:nth-child(4) {
    left: 50%;
    top: 18px;
    width: 0;
}

header {
    background: #a2060a;
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
/*
.search-input input {
    outline: 0;
    background: transparent;
    padding: 6px 12px;
    border: 1px solid #ccc;
    font-size: 14px;
    border-radius: 30px;
    line-height: normal;
    width: 250px;
    color: #fff;
    transition: all .3s ease;
}

.search-input input:focus {
    border: 1px solid #66afe9;
}

.search-input {
    position: relative;
}

.search-input i {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #fff;
    cursor: pointer;
}
*/
.search-input{
    padding: 6px 12px;
    border: 1px solid #ccc;
    font-size: 14px;
    border-radius: 30px;
    line-height: normal;
    width: 250px;
    color: #fff;
}

.search-input input {
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
    color: #fff;
}

.search-input .search{
    background: url(../img/search.svg) 0 0 no-repeat;
    width: 22px;
    height: 22px;
}

.wp_search,
.wp_search table,
.search-input form {
    width: 100%;
}

.search-input #keyword {
    width: 100%!important;
    padding-right: 15px;
}


footer {
    background: #a2060a;
    padding: 30px 0;
}

.foot-box {
    font-size: 14px;
    color: #fff;
}

.foot-box a {
    color: #fff;
}

.foot-box>div {
    margin: 0 10px;
}

.head-top {
    padding: 15px 0;
}

.wp_nav .sub-nav .nav-item:not(:last-of-type) a,
.wp_nav .sub-nav .sub-nav .nav-item:not(:last-of-type) a{
    border-bottom: 1px solid #ffffff4d;
}

.wp_nav .sub-nav .nav-item a {
    border-top: 0;
    text-align: center !important;
   /* transition: all .3s ease;*/
}

.wp_nav .sub-nav{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.wp_nav .sub-nav .nav-item a.parent {
    transition: all .3s ease;
}

.nav-item.xiala>a {
    position: relative;
}

.nav-item.xiala>a::after {
    font: normal normal normal 12px/1 LineAwesome;
    content: "\f110";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.wp_nav .sub-nav .nav-item.xiala>a::after {
    transform: translateY(-50%) rotate(-90deg);
    right: 10px;
}

.wp_nav>.nav-item:not(:last-of-type){
    margin-right: 22px;
}
.head-ul>div>.wp_nav>.nav-item>.sub-nav>.nav-item:hover>a,
.head-ul>div>.wp_nav>.nav-item>.sub-nav>.nav-item>.sub-nav>.nav-item:hover>a {
    background: #d3caaa;
    color: #a2060a!important;
}
@media screen and (min-width: 1024px) {
    .head-ul>div>.wp_nav>.nav-item{
        padding: 10px 0!important;
    }
    #sm_menu_ham {
        display: none;
    }

    .kt-container {
        padding: 0 15px;
    }

    .head-li:not(:last-of-type) {
        margin-right: 22px;
    }

    .head-li-link {
        font-size: 20px;
        color: #fff;
        padding: 6px 0;
    }

    .head-li:hover .head-li-link {
        font-weight: 700;
        color: #fff;
    }

    .head-li-link i {
        color: #fff;
        font-size: 14px;
        margin-left: 5px;
    }

    .head-li {
        position: relative;
        cursor: pointer;
    }

    .navigation-second {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        min-width: 120px;
        background: rgba(162, 6, 10, 0.9);
        z-index: -1;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        display: none;
    }

    .navigation-li:not(:last-of-type) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.30);
    }

    .navigation-li a {
        font-size: 14px;
        color: #fff;
        height: 45px;
        padding: 0 15px;

        transition: all .3s ease;
    }

    .navigation-ul li:hover a,
    .navigation-li:hover .navigation-link {
        background: #d3caaa;
        color: #910001;
    }

    .navigation-li {
        position: relative;
    }

    .navigation-ul {
        position: absolute;
        top: 0;
        left: 100%;
        width: 100%;
        background: rgba(162, 6, 10, 0.9);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        display: none;
    }
}

@media (min-width: 1300px) {
    .kt-container {
        width: 1230px !important;
        margin: 0 auto;
    }
}

@media screen and (max-width:1299px) {
    .kt-container {
        width: calc(100% - 80px) !important;
        margin: 0 auto;
    }
}

@media screen and (max-width:1023px) {
     .head-ul>div{
       width:100%;
}
.nav-item.xiala>a::after {
    right: 25px;
    font-size: 20px;
    transform: translateY(-50%) rotate(-90deg);
}
.head-ul>div>.wp_nav {
    display: flex!important;
    flex-direction: column;
}
.head-ul>div>.wp_nav>.nav-item>.sub-nav{
    display: none!important;
}

.head-ul>div>.wp_nav .nav-item a {
    text-align: left!important;
    padding: 20px 15px!important;
}
.head-ul>div>.wp_nav .sub-nav .nav-item{
    height:auto!important;
}
.head-ul>div>.wp_nav .nav-item a.parent:hover{
    background: #d3caaa;
    color: #a2060a!important;
}
/*
#wp_nav_w3 .wp_nav .sub-nav {
    visibility: visible !important;
    display: none !important;
}

#wp_nav_w3 .wp_nav .nav-item.active>a {
    background: #d3caaa;
    color: #a2060a!important;
    font-weight:700;
}

.nav-item.active {
    position: fixed!important;
    top: 87px;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999!important;
    background: rgba(162, 6, 10, 0.9);
}
#wp_nav_w3 .wp_nav .nav-item.active>.sub-nav {
    display: block !important;
}
#wp_nav_w3 .wp_nav .sub-nav{
   position: static!important;
}
.head-ul>div>.wp_nav>.nav-item>.sub-nav>.nav-item:hover>a {
    background: #d3caaa;
    color: #a2060a!important;
}
.head-ul>div>.wp_nav>.nav-item>.sub-nav>.nav-item.ceshi>a{
    background: #d3caaa!important;
    color: #a2060a!important;
}*/

    .search-input {
        display: none;
    }

    .kt-container {
        width: 100% !important;
        margin: 0 auto;
    }

    .head-top {
        height: 87px;
    }

    .head-top img {
        width: 400px;
    }

    .head-nav {
        position: fixed;
        top: 87px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(162, 6, 10, 0.9);
        z-index: 99;
        overflow: scroll;
        display: none;
        padding-bottom: 87px;
    }

    .head-ul {
        flex-direction: column;
    }

    .head-li {
        width: 100%;
    }

    .nav-list {
        justify-content: space-between;
    }

    .navigation-ul a,
    .navigation-link,
    .head-li-link {
        color: #fff;
        font-size: 14px;
        width: 100%;
        justify-content: space-between;
        padding: 20px 15px;
    }

    .head-li-link i {
        transform: rotate(-90deg);
    }

    .navigation-ul li:hover a,
    .navigation-li.active .navigation-link,
    .navigation-li:hover .navigation-link,
    .head-li.active .head-li-link,
    .head-li:hover .head-li-link {
        background: #d3caaa;
        color: #a2060a;
    }

    .navigation-second {
        display: none;
    }

    .navigation-ul {
        display: none;
    }

    .bodymiss {
        overflow: hidden;
    }

    .navigation-li.active,
    .head-li.active {
        position: fixed;
        top: 87px;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 99;
        background: rgba(162, 6, 10, 0.9);
    }

    .head-li.active .head-li-link i {
        transform: rotate(90deg);
    }

    .navigation-li.active .navigation-link i {
        transform: rotate(180deg);
    }
}


@media screen and (max-width:700px) {
    .foot-box span {
        width: 35%;
        text-align: right;
        display: inline-block;
    }

    .foot-box>div {
        width: 100%;
        margin: 0;
    }

    footer {
        padding: 15px 0;
    }

    .head-top img {
        width: 300px;
    }
}

@media screen and (max-width:450px) {
    .foot-box span {
        width: 29%;
    }
}

@media screen and (max-width:400px) {
    .foot-box {
        font-size: 12px;
    }

    .head-top img {
        width: 215px;
    }

    .head-top {
        height: 60px;
    }

    .navigation-li.active,
    .head-li.active {
        top: 60px;
    }
}