﻿
body {
    padding-top: 0px;
    padding-bottom: 0px;
	font-family:'Microsoft YaHei','微软雅黑';
}

* {
    margin: 0;
    padding: 0;
}
/*header, footer, nav, section {
    display: block;
}*/
ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
a {
    text-decoration: none;
    color: rgba(0,0,0,.4) !important;
}
    a:link {
        text-decoration: none !important;
        color: #66397c !important;
    }
    a:hover {
        text-decoration: none !important;
        color: #ec6900 !important;
    } 
iframe {
    width: 100%
}
/*轮播图去阴影*/
.carousel-control.left {
    background-image: none !important;
    background-repeat: repeat-x !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1) !important;
}

.carousel-control.right {
    left: auto !important;
    right: 0 !important;
    background-image: none !important;
    background-repeat: repeat-x !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1) !important;
}
.nav-bg{
    background-color:#fabe00;
    /*height:60px;*/
}

.navbar .nav > li > a {
    color: #000 !important;
    font-weight:500;
    font-size: 16px;
    text-align: center
}
.navbar-nav li:hover {
    display: block !important;
    /*background-image: url(/Images/bgNav.jpg) !important;*/
    /*color: #fff !important;*/
    color: #808080 !important;
}

.navbar .nav > li .dropdown-menu {
    margin: 0 !important;
    /*background: #24489e;*/
    border-top: 4px solid #cc0000 !important;
    border-bottom: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    border-radius: 0px !important; /*去掉边框园角形状*/
}

.navbar .nav > li:hover .dropdown-menu {
    display: block !important;
   /*这个设置可以简单地变成鼠标经过下拉，但是这样做会影响手机模式下拉菜单二级浏览*/
}

.dropdown-menu {
    min-width: 100% !important;
    text-align: center !important;
}

    .dropdown-menu > li > a {
        padding: 0 !important;
        line-height: 36px !important;
        /*background: #24489e !important;*/
        border-bottom: 1px solid #dddddd !important;
        border-top: 0px !important;
        border-left: 0px !important;
        border-right: 0px !important;
        border-radius: 0px !important;/*去掉边框园角形状*/
        color: #6f6f6f !important;
    }

        .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
            color: #cc0000 !important;
            background: #fff !important;
            /*border-bottom: 1px solid #6f6f6f !important;*/
        }


.strcut {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.right-box-title {
	line-height: 26px;
	border-bottom: 1px double #d0cdcd;
	color: #cc0000;
}

    .right-box-title span {
        font-size: 12px;
        color: #666;
        float: right;
        display: block
    }
.text-content{
    line-height:28px;
}
.text-content img{
    display:block;
    max-width:100%;
    height:auto;
    padding:5px;
    text-align:center
}
   .text-content iframe {
        width: 100%;
        max-height: 500px
    }
.upline {
    font-size: 50px;
    font-weight: bold;
    color: #C00;
    text-align: center;
}

.clear {
    height: 10px;
    clear: both;
}

.back {
    height: 30px;
    line-height: 30px;
    text-align: right;
}


.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}
.bottom-font-color{
    color:#fff;
}
/*侧栏客服代码*/
#service {
    width: 161px;
    height: 290px;
    position: fixed;
    top: 220px;
    right: 20px;
    z-index: 100;
}

*html #service {
    margin-top: 258px;
    position: absolute;
    top: expression(eval(document.documentElement.scrollTop));
}

    #service li {
        width: 161px;
        height: 60px;
    }

        #service li img {
            float: right;
        }

        #service li a {
            height: 49px;
            float: right;
            display: block;
            min-width: 47px;
            max-width: 161px;
        }

            #service li a .shows {
                display: block;
            }

            #service li a .hides {
                margin-right: -143px;
                cursor: pointer;
                cursor: hand;
            }

            #service li a.weixin_area .hides {
                display: none;
                position: absolute;
                right: 143px;
            }

            #service li a.weixin_area .weixin {
                display: none;
                position: absolute;
                right: 0;
                top: 48px
            }

#p2 {
    width: 112px;
    background-color: #A7D2A9;
    height: 47px;
    margin-left: 47px;
    border: 1px solid #8BC48D;
    text-align: center;
    line-height: 47px
}

#p3 {
    width: 112px;
    background-color: #EC9890;
    height: 47px;
    margin-left: 47px;
    border: 1px solid #E6776C;
    text-align: center;
    line-height: 47px
}

#p1 {
    width: 47px;
    height: 49px;
    float: left
}

/*手机底部菜单*/
#tool {
	left: 0px; right: 0px; bottom: 0px; position: fixed; z-index: 900; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
ul.toollist {
	margin: auto; left: 0px; height: 48px; right: 0px; bottom: 0px; display: block; position: fixed; z-index: 900;
}
.toollist li {
	background: none; margin: 0px; border-radius: 0px !important; width: 25%; height: 100%; float: left; position: static !important; box-sizing: border-box; box-shadow: none !important; -webkit-box-sizing: border-box; -webkit-box-flex: 1; box-flex: 1;
}
.toollist li a {
	text-align: center; line-height: 20px; padding-top: 2px; font-size: 20px; text-decoration: none; display: block; position: relative;
}
.toollist li a img {
	width: 24px; height: 24px;
}
.toollist li a p {
	margin: 1px 0px; text-align: center; line-height: 18px; font-size: 14px; display: block !important;
}
.toollist {
	background: #cc0000;
}
.toollist li {
	border-right-color: rgba(255, 255, 255, 0.7); border-right-width: 1px; border-right-style: solid;
}
.toollist li a {
	color: rgb(255, 255, 255);
}

/* 添加淡入淡出的 */
.carousel-fade .carousel-inner .item {
	opacity: 0;
	-webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-ms-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
	opacity: 1;
}

	.carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right {
		left: 0;
		opacity: 0;
	}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
	opacity: 1;
}
/*首页图片悬停效果*/
.box {
	text-align: center;
	overflow: hidden;
	position: relative;
}

	.box:before {
		content: "";
		width: 0;
		height: 100%;
		background: #000;
		padding: 14px 18px;
		position: absolute;
		top: 0;
		left: 50%;
		opacity: 0;
		transition: all 500ms cubic-bezier(0.47, 0, 0.745, 0.715) 0s;
	}

	.box:hover:before {
		width: 100%;
		left: 0;
		opacity: 0.5;
	}

	.box img {
		width: 100%;
		height: auto;
	}

	.box .box-content {
		width: 100%;
		padding: 14px 18px;
		color: #fff;
		position: absolute;
		top: 20%;
		left: 0;
	}

	.box .title {
		font-size: 20px;
		font-weight: 600;
		line-height: 30px;
		text-transform: uppercase;
		margin: 0;
		opacity: 0;
		transition: all 0.5s ease 0s;
	}

	.box .post {
		font-size: 15px;
		text-transform: capitalize;
		opacity: 0;
		transition: all 0.5s ease 0s;
	}

	.box:hover .title,
	.box:hover .post {
		opacity: 1;
		transition-delay: 0.7s;
	}

	.box .icon {
		padding: 0;
		margin: 0;
		list-style: none;
		margin-top: 15px;
	}

		.box .icon li {
			display: inline-block;
		}

			.box .icon li a {
				display: block;
				width: 40px;
				height: 40px;
				line-height: 40px;
				border-radius: 50%;
				background: #f74e55;
				font-size: 20px;
				font-weight: 700;
				color: #fff;
				margin-right: 5px;
				opacity: 0;
				transform: translateY(50px);
				transition: all 0.5s ease 0s;
			}

	.box:hover .icon li a {
		opacity: 1;
		transform: translateY(0px);
		transition-delay: 0.5s;
	}

	.box:hover .icon li:last-child a {
		transition-delay: 0.8s;
	}

@media only screen and (max-width:990px) {
	.box {
		margin-bottom: 30px;
	}
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select{
    max-width: 280px;
}

textarea {
    max-width: 560px;
}
/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
    padding-left: 20px;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


/*分页样式*/
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background-color: #eeeeee;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #ffffff;
  cursor: default;
  background-color: #428bca;
  border-color: #428bca;
}

.pagination > .disabled > span,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #999999;
  cursor: not-allowed;
  background-color: #ffffff;
  border-color: #dddddd;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.8);
		z-index: 100;
		display: none;
		top: 0;
		left: 0; 
		}
	
	.reveal-modal {
		visibility: hidden;
		top: 100px; 
		left: 50%;
		margin-left: -300px;
		width: 520px;
		background: #eee url(modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 101;
		padding: 30px 40px 34px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-box-shadow: 0 0 10px rgba(0,0,0,.4);
		}
		
	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}
	
	.reveal-modal .close-reveal-modal {
		font-size: 22px;
		line-height: .5;
		position: absolute;
		top: 8px;
		right: 11px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer;
		} 
