@charset "utf-8";
/* CSS Document */

.inbanner {
	height: 550px;
}
.inbanner .txt {
	padding-top: 9%;
}
.inbanner .txt p:nth-child(1) {
	font-size: 60px;
}
.inbanner .txt p:nth-child(2) {
	font-size: 32px;
}
.inbanner1 {
	background-image: url(../img/inbanner1.jpg);
}
.inbanner2 {
	background-image: url(../img/inbanner2.jpg);
}
.inbanner3 {
	background-image: url(../img/inbanner3.jpg);
}
.inbanner4 {
	background-image: url(../img/inbanner4.jpg);
}
.protit {
	padding-bottom: 130px;
	box-sizing: border-box;
	overflow: hidden;
}
.protit h2 {
	text-align: center;
	text-transform: uppercase;
	font-family: Helvetica;
	font-size: 3em;
	font-weight: 300;
}
.protit ul {
	margin-top: 60px;
}
.protit li {
	position: relative;
	display: inline-block;
	width: 17.1%;
	height: 386px;
	margin-right: 0.78%;
	background: #000;
	box-shadow: #000 0 0 80px 100px inset;
	cursor: pointer;
	overflow: hidden;
	transition: all .6s .2s
}
.protit li:nth-child(2n) {
	transform: translateY(35px)
}
.protit li:nth-child(2n+3) {
	transform: translateY(-24px)
}
.protit li:last-child {
	margin-right: 0
}
.protit li a {
	color: #fff;
}
.protit .text {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-60%);
	max-width: calc(100% - 20px);
	line-height: 1.2;
	color: #fff;
	transition: all .3s
}
.protit .more {
	display: block;
	width: 112px;
	height: 42px;
	margin-top: 20px;
	line-height: 42px;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	background: #d9231a;
	transition: background .3s;
	visibility: hidden;
	filter: opacity(0)
}
.protit .more:hover {
	background: #333;
}
.protit img {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	width: 460px;
	max-width: none;
	transition: all .3s .6s;
	filter: brightness(0.9)
}
.protit li.active {
	width: 44.85%
}
.protit li.active img {
	left: 50%;
	transform: translate(-40%, -50%)
}
.protit li.active .text {
	width: 50%
}
.protit li.active h3 {
	font-size: 2rem;
	transition: all .3s .1s
}
.protit li.active .more {
	visibility: visible;
	filter: opacity(1);
	transition: filter .3s .5s
}
@media(max-width:1024px) {
.protit {
	padding-top: 30px;
	padding-bottom: 30px;
	margin-top: 30px
}
.protit ul {
	display: block;
	margin-top: 30px;
	white-space: nowrap;
	overflow: auto
}
.protit li, .protit li.active {
	width: 460px;
	height: 320px;
	margin-right: 10px
}
.protit li:nth-child(2n), .protit li:nth-child(2n+3) {
	transform: none
}
.protit li.active img {
	transform: translate(-50%, -50%)
}
.protit .more {
	filter: opacity(1)
}
.protit li h3, .protit li.active h3 {
	font-size: 1.8rem
}
.protit img {
	width: 100%
}
}
@media(max-width:600px) {
.protit li, .protit li.active {
	width: 90%;
	height: 260px;
	white-space: pre-line
}
.protit li.active .text {
	width: 100%
}
.protit .more {
	display: none
}
}
 @media only screen and (max-width: 1600px) {
.inbanner .txt {
	padding-top: 12%;
}
}
@media only screen and (max-width: 800px) {
.inbanner {
	height: 350px;
}
.inbanner .txt {
	padding-top: 20%;
}
.inbanner .txt p:nth-child(1) {
	font-size: 40px;
}
.inbanner .txt p:nth-child(2) {
	font-size: 20px;
}
}
/*css flickr style pagination*/
div.flickr {
	padding: 0px;
	text-align: center;
	font-size: 14px;
	text-align: center;
	margin: 50px 0px;
}
div.flickr a {
/*border: #ddd 1px solid;
	color: #b01b14;
	text-decoration: none;
	padding: 6px 12px;*/
}
div.flickr a:hover {
/*background-image: none;
	color: #b01b14;
	background-color: #eee;*/
}
div.flickr a:active {
/*background-image: none;
	color: #b01b14;*/
}
div.flickr span {
/*color: #999;*/
}
div.flickr span.current {
	display: inline-block;
	border-radius: 112px;
	text-align: center;
	padding: 2px 11px;
	margin: 0 3px;
	color: #fff;
	background: #b01b14;
	border: 1px solid #b01b14;
	font-weight: bold;
}
div.flickr span.disabled {
/*color: #adaaad;*/
}
/*css scott style pagination*/
