﻿/*基础css与页面无关*/
body {
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    color: #282828;
    margin: 0px;
    padding: 0px;
}

.bg_active {
    background: #b50437;
}

.bg_focus_1 {
    background: #ffb738;
}

.bg_focus_2 {
    background: #287ff1;
}

.bg_ordinary {
    background: #f5f9ff;
}

.bg_active_vic {
    background: #77032a;
}

.bg_focus_1_vic {
    background: #a35e1f;
}

.bg_focus_2_vic {
    background: #315da3;
}

.bg_ordinary_vic {
    background: #fff;
}

.font_max_max {
    font-size: 22px;
    line-height: 2.5em;
}

.font_max {
    font-size: 18px;
    line-height: 2em;
}

.font_min {
    font-size: 14px;
    line-height: 1.5em;
}

.font_vic {
    color: #535353;
}

a {
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
    -moz-transition: color 0.15s; /* firefox 4 */
    -webkit-transition: color 0.15s; /* safari 和 chrome */
    -o-transition: color 0.15s; /* opera */
}

/*页面css包含头部和底部*/
a:hover:not(.style_button), a.active {
    color: #b50437;
}

/*头部动画*/
.nav_down_animation {
    animation: slideoutup 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;

    -webkit-animation: slideoutup 0.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
}

.nav_up_animation {
    animation: slideindown 0.5s;
    animation-iteration-count: 1;

    -webkit-animation: slideindown 0.5s;
    -webkit-animation-iteration-count: 1;
}

#page_nav {
    min-width: 1200px;
    height: 80px;
    width: 100%;
    z-index: 1000;
    background: white;
    position: absolute;
    top: 0;
    border-bottom: 2px solid #f5f9ff;
}

#content {
    max-width: 1920px;
    min-width: 1200px;
    margin: auto;
    margin-top: 80px;
}


#nav_bar {
    margin: auto;
    width: 1200px;
    height: 80px;
    text-align: center;
    display: flex;
}


#nav_logo, #nav_tip_main {
    flex-grow: 1.5;
    flex-basis: 0;
    height: 80px;
    padding: 0 5px;
}

#nav_logo * {
    width: 100%;
}

#nav_bar .nav_item {
    flex-grow: 1;
    flex-basis: 0;
    height: 80px;
    position: relative;
}

#nav_bar .nav_item:hover * {
    color: #000000;
}

#nav_bar .nav_item .active {
    left: 0;
    width: 100%;
}

#nav_bar .nav_item:after, #nav_bar .nav_item:before {
    height: 5px;
    background: #ffb738;
}


#nav_bar .nav_item_title {
    width: 100%;
    text-align: center;
    display: block;
    line-height: 80px;
}

#nav_bar .nav_item_menu {
    position: absolute;
    background-color: #ffffff;
    text-align: left;
    display: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 200px;
    padding: 5px;
}

#nav_bar .nav_item:hover .nav_item_menu {
    display: block;
    animation: fadein 0.5s 1;
    -webkit-animation: fadein 0.5s 1; /* safari 和 chrome */
}

#nav_bar .nav_item_menu .option {
    display: block;
    width: 100%;
    padding: 5px 10px;
    color: #595757;
    text-align: left;
}

#nav_bar .nav_item_menu .option:last-of-type {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/*test*/

#nav_bar .nav_item_menu .option:hover {
    background-color: #f5f9ff;
    color: #b50437;
}

#page_footer {
    width: 100%;
    height: 320px;
    min-width: 1200px;
}

#footer {
    width: 100%;
    height: 100%;
    margin: auto;
    z-index: 1000;
}

#footer_content {
    background-image: ;
    width: 100%;
    height: 300px;
    padding: 100px 0;
    color: #ffffff;
}

#footer_content a {
    color: #ffffff;
}

#footer_content a:hover {
    color: red;
}

#footer_content > div {
    width: 1200px;
    height: 100%;
    margin: auto;
}

#footer_bottom_msg, #footer_link {
    float: left;
    width: 60%;
    height: 100%;
    padding: 0 5px;
}

#footer_bottom_msg {
    width: 40%;
}

#footer_link_content {
    height: 50px;
    display: -webkit-flex; /* safari */
    display: flex;
    flex-direction: row;
}

#footer_link_content > a {
    display: block;
    width: 19.8%;
    padding: 5px 20px 5px 0;
}

#footer_bottom_msg_logo {
    height: 100px;
}

#footer_bottom_msg_logo > a > img {
    height: 40px;
    margin-bottom: 8px;
}

#footer_bottom_msg_phone {
    height: 150px;
    overflow: auto;
    margin: 5px 0;
}

#footer_bottom_msg_phone > * {
    float: left;
}

#footer_bottom_msg_phone > div:first-of-type {
    height: 150px;
    width: 120px;
    text-align: center;
}

#footer_bottom_msg_phone > div:first-of-type img {
    height: 120px;
    width: 120px;
}

#footer_bottom_msg_phone > div:first-of-type p {
    max-height: 30px;
    line-height: 30px;
}

#footer_bottom_msg_phone > div:last-of-type {
    line-height: 50px;
    margin-left: 50px;
    font-size: 18px;
}

#footer_bottom_msg_phone > div:last-of-type > div {
    height: 40px;
    margin: 3.33px 0;
}

#footer_bottom_msg_phone > div:last-of-type img, #footer_bottom_msg_phone > div:last-of-type i {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

#footer_bottom_msg_address {
    height: 90px;
}

#footer_bottom_msg_address p {
    line-height: 22px;
    padding: 7px 0;
}

#footer_bottom_msg_address div {
    width: 300px;
    height: 1px;
    background: white;
}

#footer_bottom {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    background: #393939;
}

#footer_bottom > div {
    width: 1200px;
    height: 100%;
    margin: auto;
    color: #8f8f8f;
}

#footer_bottom img, #footer_bottom a {
    height: 20px;
    color: #8f8f8f;
}

#footer_bottom img, #footer_bottom a:hover {
    color: white;
}

#main_msg {
    width: 600px;
    height: 400px;
    position: fixed;
    bottom: -500px;
    background: white;
    padding: 20px;
    transition: all 0.5s;
    -moz-transition: all 0.5s; /* firefox 4 */
    -webkit-transition: all 0.5s; /* safari and chrome */
    -o-transition: all 0.5s; /* opera */
    z-index: 9999;
}

#main_msg .close {
    float: right;
    width: 30px;
    height: 30px;
    font-size: 22px;
    text-align: center;
    background: white;
    transition: background-color 0.5s;
}

#main_msg .close:hover {
    background: rgba(0, 0, 0, 0.1);
}

#main_msg .close i {
    font-size: 22px;
}

#main_msg_phone {
    color: #287ff1;
    text-align: center;
    font-size: 35px;
    font-weight: bold;
}

#main_msg_desc {
    padding: 0 60px;
    margin-top: 30px;
}

#right_nav {
    z-index: 1000;
    margin: 0;
    width: 50px;
    position: fixed;
    bottom: 100px;
    right: -50px;
    transition: right 0.2s;
    -moz-transition: right 0.2s; /* firefox 4 */
    -webkit-transition: right 0.2s; /* safari and chrome */
    -o-transition: right 0.2s; /* opera */
}

#right_nav > #right_nav_share > .hidden {
    width: 150px;
    height: 170px;
    right: 60px;
    top: 0;
    margin: 0;
    display: none;
    position: absolute;
    text-align: center;
    background: white !important;
    color: black;
    padding: 5px 0;
}

#right_nav_share > .hidden > div {
    width: 140px;
    height: 140px;
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin: auto;
}

#right_nav_share > .hidden > div > canvas {
    width: 128px;
    height: 128px;
}

#right_nav > #right_nav_share:hover > .hidden {
    display: block;
}


#right_nav > a {
    display: block;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    border-left: 0.5px solid rgba(0, 0, 0, 0.1);
    position: relative;
    width: 50px;
    height: 50px;
    padding: 12px;
    background: #fff;
    transition: all 0.25s;
}

#right_nav > a:hover {
    background: #ffb738;
    color: white;
}

#right_nav > a > div {
    margin: 20%;
    width: 60%;
    height: 60%;
}

#right_nav i {
    font-size: 25px;
}

#right_nav a:last-child i {
    font-size: 30px;
}

#right_nav > a:last-of-type {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}


/*面包屑导航*/
.breadcrumb_nav {
    height: 50px;
    display: flex;
    display: -webkit-flex;
    align-items: center;
}

.breadcrumb_nav a:not(:last-of-type) {
    color: rgba(0, 0, 0, 0.5);
    font-size: 15px;
}

.breadcrumb_nav a:not(:last-of-type):hover {
    color: #b50437;
}

.breadcrumb_nav a:not(:last-of-type):after {
    content: "/";
    color: black;
    margin: 0 5px;
}

.breadcrumb_nav a:last-of-type {
    font-size: 16px;
}

.style_button, .style_button_2 {
    color: #fff;
    height: 40px;
    border-radius: 25px;
    padding: 0 30px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
    cursor: pointer;
    background: #287ff1;
    transition: all 0.5s;
    border: 0;
}

.style_button:hover, .style_button_2:hover {
    background: #315da3;
    -moz-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.style_button_2 {
    background: #ffb738;
}

.style_button_2:hover {
    background: #a35e1f;
}

[scroll_animated] {
    visibility: hidden;
}

.page_module_title {
    margin: auto;
    text-align: center;
    height: 190px;
    padding: 50px;
    font-weight: bold;
}

.page_module_title > p:first-of-type {
    font-size: 25px;
    line-height: 45px;
}

.page_module_title > p:last-of-type {
    font-size: 18px;
    line-height: 25px;
    position: relative;
    height: 45px;
    color: #535353;
}

.page_module_title > p:last-of-type:after {
    content: "";
    width: 60px;
    height: 5px;
    border-radius: 3px;
    background: #ffb738;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
    -ms-transform: translatex(-50%);
    -moz-transform: translatex(-50%);
    -webkit-transform: translatex(-50%);
    -o-transform: translatex(-50%);
}
