﻿/*样式初始化*/
body {
    padding: 0;
    margin: 0;
    background-color: #f1f1f1;
    font-size: 12px;
}
html {
	box-sizing: border-box;
}
* {
    font-family: "宋体";
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

img, input {
    border: none;
}

a {
    color: #333;
    outline: none;
    text-decoration: none;
    cursor: pointer;
}

a:hover{
    color: #d1403d;
}

ul, p {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

table, td {
    border-collapse: collapse;
}

.hide {
	display: none;
}

.show {
	display: block !important;
}
.clear{
	clear: both;
}
/*顶部样式*/

.header {
    margin: 0 auto;
    background: white;
position: relative;
}

/* logoAndSearch */
.logoAndSearch {
    width:100%;
	height: auto;
    text-align: center;
}

/* logo */
#logo {
    width: 100%;
	padding:5px 20px;
}

#logo a{
    display: block;
}
#logo a img{
   width: 100%;
}
/* search  */
.search {
        width: 100%;
	padding:5px 15px;
	background-color: #d1403d;
}

.search input {
    vertical-align: top
}

.search .btn-box {
    width: 20%;
    float: left;
}

.search .btn-box .btn {
    width: 100%;
    height: 40px;
    line-height:  40px;
    float: left;
    font-size: 13px;
    color: white;
    text-align: center;
    background-color: #ed591f;
    border: none;
}

.search .btn-box .btn:hover {
    background: #d4460f
}

.search .input-box {
    float: left;
	 width: 80%;
}

.search .input-box input {
    width: 100%;
    height: 40px;
    line-height:40px;
    float: left;
    text-indent: 10px;
    background-color: #f1f1f1;
    border: 1px solid #e0e0e0;
    border-right: 0;
    outline: none;
}

/* 顶部导航 */
.topNav {
	background-color: #d1403d;
	position: relative;
}

.topNav span {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	background-color: #ce7f7d;
	-webkit-box-shadow: 0px -2px 5px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, .3);
	box-shadow: -5px 0px 25px rgba(0, 0, 0, .2);
}

.topNav span i {
	width: 100%;
	height: 100%;
	display: block;
}

.topNav span .down {
	background: url(../images/down.png);
	background-size: 100%;
}

.topNav span .up {
	background: url(../images/up.png);
	background-size: 100%;
}

.mainNav {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	display: flex;
	overflow-x: auto;
}

.mainNav::-webkit-scrollbar {
	display: none;
}

.mainNav .mainNav_li {
	flex: none;
	-webkit-box-flex: 0;
	-webkit-flex: none;
	-ms-flex: none;
}

.mainNav .a1 {
	width: auto;
	height: 45px;
	line-height: 45px;
	padding: 0px 15px;
	display: block;
	font-size: 15px;
	color: white;
	white-space: nowrap;
	font-weight: bold;
}

.mainNav .a1:hover {
	text-decoration: none;
}

.mainNav .a1:hover,
.mainNav .index .a1 {
	background-color: #961c18;
}

.show {
	display: block !important;
}

.nav_menu {
	display: none;
	position: absolute;
	z-index: 3;
	background-color: #d1403d;
	border-top: #FFFFFF solid 1px;
	width: 100%;
	overflow: hidden;
}

.nav_menu ul {
	padding: 10px 20px;
	overflow: hidden;
}

.menu_li {
	float: left;
	width: 25%;
	line-height: 35px;
	text-align: center;
}

.menu_li a {

	display: block;
	font-size: 13px;
	color: white;
	white-space: nowrap;
	font-weight: bold;
}
/*底部样式*/
.m_footer {
	padding: 10px 0px;
	text-align: center;
	font-size: 14px;
	background-color: #d1403d;
	color: #F1F1F1;
}

.m_footer a {
	color: #F1F1F1;
}

.m_footer_links {
	padding: 5px 0px;
}

.m_footer_links a {
	vertical-align: top;
	margin: 10px;
	position: relative;
	font-size: 14px;
}

.m_footer_text {
	padding: 5px;
	font-size: 12px;
	line-height: 26px;
}

.m_footer .center{
	display: flex;
    /* width: 275px; */
    margin: 0 auto;
	align-items: center;
	justify-content: center;
}
.m_footer .center>div{
	text-align: left;
}
.m_footer img{
	max-width: 100px;
}

@media screen and (min-width: 500px) {
	body {
		max-width: 500px;
		margin: 0 auto;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
	}
}
