﻿/*@import url(http://fonts.useso.com/css?family=Lato:400,700,400italic,700italic);*/


/* HTML5 display-role reset for older browsers */

/*
ol, ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after { content: '';  content: none; }

table {  border-collapse: collapse;  border-spacing: 0; }

body, .control-input {
  color: #333333;
  font-family: "Lato", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5em; }

body {  background-color: #e8e8e8; }

#header {
  background: #F2F2F2;
  height: 64px;
  line-height: 64px;
  padding-top: 40px;
  text-align: center;
  width: 100%; 
}

#header h1 a {
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    transition: 0.3s ease;
    color: #32d0ff;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
}

#header h1 a:hover { color: #00c4fe; }

#controls-top,
#controls-bottom {
	background-color: #f0f0f0;
	line-height: 72px;
	min-height: 72px;
	text-align: center;
	width: 100%;
}

#controls-bottom { bottom: 0; position: fixed; left: 0; }

.control-input {
	box-sizing: border-box;
	border: 1px solid rgba(210, 210, 210, 0.5);
	border-radius: 4px;
	display: inline-block;
	height: 38px;
	padding: 0 1em;
	width: 50%;
	vertical-align: middle;
}
.control-input::-webkit-input-placeholder {font-weight: 300; letter-spacing: 1px; }
.control-input::-moz-placeholder {font-weight: 300; letter-spacing: 1px; }
.control-input:-moz-placeholder {font-weight: 300; letter-spacing: 1px; }
.control-input:-ms-input-placeholder {font-weight: 300; letter-spacing: 1px; }
.control-input:focus {border: 1px solid #32d0ff; outline: none; }

.control-button {
	-webkit-transition: 0.3s ease;
	-moz-transition: 0.3s ease;
	transition: 0.3s ease;
	background-color: #31cef5;
	border-radius: 4px;
	color: white;
	cursor: pointer;
	display: inline-block;
	height: 38px;
	font-size: 14px;
	line-height: 38px;
	margin: 0 0.25em;
	padding: 0 1.5em;
	vertical-align: middle;
}

.control-button:hover {background-color: #0bbce8; }*/

#wrapper {margin-bottom: 25px; overflow-x: hidden; text-align: center; width: 100%; }

.grid-wrapper {margin: 0 auto; position: relative; }

.grid-item {display: block; cursor: pointer; position: absolute; margin: 0 auto; }

.grid-item img {display: block; height: auto; width: 100%;}
.grid-item span {width: 285px; height: 48px; line-height: 46px; color: #fff; font-size: 16px; text-align: center; overflow: hidden; text-overflow: ellipsis; position: absolute; bottom: 0; background: rgba(214,0,15,0.7); display: none;}
.grid-item a:hover span {color: #fff; width: 285px; height: 48px; display: block;}



#mbOverlay { position: fixed; z-index: 9998; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; cursor:pointer; }
/*#mbOverlay.mbOverlayFF { background: transparent url(80.png) repeat; }
#mbOverlay.mbOverlayIE { position: absolute; }*/

#mbCenter {background: #fff; padding: 5px 5px 0px;}

#mbCenter { position: absolute; z-index: 9999; left: 50%; background-color: #fff; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.70); -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.70); /*  border: #fff solid 10px;*/}

#mbCenter.mbLoading { background: #fff url(../img/WhiteLoading.gif) no-repeat center; -moz-box-shadow: none; -webkit-box-shadow: none; }
#mbImage { left: 0; top: 0; font-family: Arial, Helvetica, sans-serif;}

#mbImage a, #mbImage a:link, #mbImage a:visited { color: #ddd;}
#mbImage a:hover, #mbImage a:active { color: #fff;}
/*#mbImage img {border-radius: 5px 5px 0 0;}*/

#mbBottom { min-height: 30px; font-family: Arial, Helvetica, sans-serif; line-height: 30px; font-size: 12px; color: #666; text-align: left;}

#mbTitle { display: block; float: left; /*background: #ddd;*/ width: 60px; height: 30px; color: #666; font-weight: bold; line-height: 30px; font-size: 12px;}
#mbNumber { background: url(../img/mbNumber_bg.gif) no-repeat center; display: inline; color: #666; line-height: 30px; font-size: 12px; position: absolute; right: 10px; text-align: center; width: 50px; height: 30px; }
#mbCaption { display: block; color: #999; line-height: 14px; font-size: 10px; }
#mbPrevLink, #mbNextLink, #mbCloseLink { display: block; float: right; height: 20px; margin: 0; outline:none; }
#mbPrevLink { width: 40px; height: 60px; background:transparent url(../img/CustomBlackPrevious.png) no-repeat center; position: absolute; top: 35%; left: -40px; }
#mbNextLink { width: 40px; height: 60px; background:transparent url(../img/CustomBlackNext.png) no-repeat center; position: absolute; top: 35%; right: -40px; }

#mbCloseLink { width: 30px; height: 30px; background: transparent url(../img/CustomBlackClose.png) no-repeat center; position: absolute; border-radius: 5px 5px 0 0; top: -30px; right: 10px; z-index: 9999;}
#mbError { position: relative; font-family: Myriad, Verdana, Arial, Helvetica, sans-serif; line-height: 20px; font-size: 12px; color: #fff; text-align: center; border:10px solid #700; padding: 10px 10px 10px; margin: 20px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
#mbError a, #mbError a:link, #mbError a:visited, #mbError a:hover, #mbError a:active { color: #d00; font-weight: bold; text-decoration: underline; }

/*--荣誉证书开始--*/

.honor {max-width: 100%; height: auto; margin: 40px auto 40px auto; float: left;}

.honor .textcon { animation-name: fadeInUp; width: 32%; height: auto; position: relative;}
.honor li { float: left; margin: 0 2% 3% 0;}
.honor li:nth-child(3n) {margin-right: 0;}
.honor .textcon .img {width: 100%; height: auto; overflow: hidden;}
.honor .textcon .img img {width: 100%; transition: all 0.6s;}
.honor .textcon .item_info {background: rgba(255,255,255,0.8); position: absolute; bottom: 0; width: 100%; height: 80px;}
.honor .textcon .tit { color: #666; font-size: 16px; line-height: 50px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-weight: normal;}

.honor .textcon span { color: #fff; font-size: 16px; line-height: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; font-weight: normal; background: #d7000f; display: block; position: absolute; bottom: 0; width: 100%; opacity: 0;}

.honor .textcon:hover span {opacity: 0.8; -webkit-transition: all 1s ease; transition: all 1s ease;}

.honor .textcon .imgh {position: absolute; width: 100%; height: auto; left: 0; top: 0; opacity: 0; -webkit-transition: all 1s ease; transition: all 1s ease; z-index: 999}
.honor .textcon:hover .imgh {position: absolute; left: 0; top: 0; width: 100%; height: auto; opacity: 1; -webkit-transition: all 1s ease; transition: all 1s ease; z-index: 999}
.honor .textcon:hover .imgh img {width: 100%; transition: all 0.6s;}
.honor .textcon:hover .img img {transform: scale(1.1);}
.honor .textcon:hover .tit { color: #333; -webkit-transition: all 1s ease; transition: all 1s ease; opacity: 1;}

.honor .textcon:hover {opacity: 1; -webkit-transition: all 1s ease; transition: all 1s ease; opacity: 1;}

.honor .textcon .item_info .text_wrap {opacity: 0; margin: 0; border: #999 solid 1px;}
.honor .textcon:hover .item_info .text_wrap {opacity: 1; -webkit-transition: all .4s ease 0s; transition: all .4s ease 0s; border: #999 solid 1px; margin: 8px; width: auto;}

/*--荣誉证书结束--*/

@media screen and (max-width: 960px){
	
	.honor .textcon { width: 46%; height: auto; position: relative;}
	.honor li { float: left; margin: 0 2% 3% 2%;}
	.honor li:nth-child(3n) {margin-right: 2%;}
	
	
}