/* Flip Carousel functional styles */

.flip-carousel{
	margin:0 auto;
	display:block;
	height: 480px;
	overflow: hidden;
	position:relative;
	padding: 70px 10px;
	text-align: center;
	width: 1000px;
}

.flip-carousel > ul{
	margin:0;
	padding:0;
	display: inline-block;
}

.flip-carousel > ul > li{
	width: 640px;
	margin: 30px;
	padding:0;
	display: inline-block;
	list-style-type:none;
	position: relative;
	-webkit-perspective: 1500;
	-moz-perspective: 1500;
	-ms-perspective: 1500;
	perspective: 1500;
	
}
.flip-carousel .card {
	width: 
	position:relative;
	-webkit-transform: rotateY(189deg);
	-moz-transform: rotateY(90deg);
	/*-ms-transform: rotateY(90deg);
	transform: rotateY(90deg);*/
	-webkit-transform-style: preserve-3d;
	-webkit-transition: 0.5s;
	-moz-transform-style: preserve-3d;
	-moz-transition: 0.5s;
	-ms-transform-style: preserve-3d;
	-ms-transition: 0.5s;
	transform-style: preserve-3d;
	transition: 0.5s;
	height:480px;
}
.flip-carousel .face {
	position: absolute;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	top: 0;
	left: 0;
	width: 640px;
	height: 480px;
}
.flip-carousel .front{ z-index:1; }
.flip-carousel .back{ z-index: 0; }

.flip-carousel .back{
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	/*-ms-transform: rotateY(180deg);
	transform: rotateY(180deg);*/
}

.ie .flip-carousel .face .empty{
	width:100%;
	height:100%;
	background-color:#000;
	background-color:rgba(0,0,0,.8);
}
.flip-carousel .controls {
	display: block;
	margin:0 auto;
	overflow:hidden;
}
.flip-carousel .controls img {
	padding: 0 5px 0 0;
}
.flip-carousel .controls.dots {
	margin-top: 5px;
}
.flip-carousel .controls li.dot {
	width: 12px;
	height: 12px;
	display: inline-block;
	margin: 0 5px 0 0;
	list-style-type: none;
	background-color: #ccc;
	border-radius: 10px;
}

.flip-carousel .controls li.dot.selected{
	background-color:#666;
}

.flip-carousel .controls .arrow{
	opacity: .8;
	cursor: pointer;
	top:45%;
	position: absolute;
	width: 40px;
	height: 60px;
	background: #000;
	background: rgba(0, 0, 0, 0.5);
}
.flip-carousel .controls .arrow:after{
	content: "";
	opacity: .8;
	width: 20px;
	height: 20px;
	position: absolute;
	background: none;
	border-bottom: 5px solid #FFF;
	border-left: 5px solid #FFF;
	left: 12px;
	top: 17px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.flip-carousel .controls .arrow.right:after{
	border-bottom: none;
	border-left: none;
	border-top: 5px solid #FFF;
	border-right: 5px solid #FFF;
	left: auto;
	right: 12px;
}
.ie .flip-carousel .controls .arrow{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}
.ie .flip-carousel .controls .arrow:hover{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.ie .flip-carousel .controls .arrow:after{
    content:"\2039";
    color:#FFF;
    font-size:80px;
    border:none;
    top:-22px;
    left:5px;
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}
.ie .flip-carousel .controls .arrow.right:after{
    content:"\203A";
    left:auto;
    right:10px;
}

.flip-carousel .controls .arrow:hover {
	opacity: 1;
}

.flip-carousel .controls .arrow.left{
	left:20px;
	right:auto;
}
.flip-carousel .controls .arrow.right{
	right:20px;
	left:auto;
}

.flip-carousel .hide {
	display:none;
}

.flip-carousel .loader{
	width: 40px;
	height: 40px;
	position: absolute;
	left:48%;
	bottom: 0;
	animation:spinning 2s linear infinite;
	-webkit-animation:spinning 2s linear infinite;
}
.flip-carousel .loader:after{
	content:"";
	width: 30px;
	height: 30px;
	border: 5px solid rgba(255,255,255,.5);
	border-radius: 20px;
	border-top-color: transparent;
	position:absolute;
	top: 0;
	left: 0;
}

@keyframes spinning{
	from   { transform: rotate(0deg) }
	to { transform: rotate(360deg) }
}

@-webkit-keyframes spinning{
	from   { -webkit-transform: rotate(0deg) }
	to { -webkit-transform: rotate(360deg) }
}


/* Styles for pagination dots */

.flip-carousel .controls .dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 5px 7px;
	filter: Alpha(Opacity=50);
	opacity: 0.5;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #FFF;
	margin-top: 30px;
	cursor: pointer
}


.flip-carousel .controls .dot:hover{
	opacity: 1;
	filter: Alpha(Opacity=100);
}

.flip-carousel .dots .dot.active{
	background: #000;
}


/* General and article-specific styles */

html, body{
	margin:0;
	padding:0;
	width:100%;
	height:100%;
}
body{

	background-image: url("../image/table.png");
	background-repeat: no-repeat;
	background-size: cover;
	margin:auto;

}


article {
	min-height:480px;
	min-width:640px;
	text-align:center;
	padding: 20px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
	color:;
	background-size: 100%;
	background-repeat: no-repeat;
	position: relative;


}
.title{
	position: absolute;
}
.HomeMt{
	position: absolute;
	width: 100%;
    left: 0px;
    bottom: 4px;
	
}

article img{
	max-width: 100%;
	max-height: 480px;
	padding:0;
}
article img.err{ /* applied when image does not load */
	 width:100%;
	background-color:rgba(0,0,0,0.2);
 }
article h5{
	font-family: "garamond-premier-pro";
	font-size: 40px;
	color: rgb(255, 204,102);
	position: absolute;
 	bottom: 65px;
 	right: 80px;

}

article p{
	text-align: left;
}

}

article span{
    margin-bottom: 20px;
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
}

article span + div{
	font-size: 100px;
	margin-top: 20px;
	background: rgba(0, 0, 0, 0.3);
	display: inline-block;
	width: 113px;
	height: 113px;
	border-radius: 60px;
	text-align: left;
}



.content{
 	height: 300px;
 	width: 250px;
 	position: absolute;
 	right: 400px;
 	left: 100px;
 	top: 150px;
 	bottom: 150px;
 	text-align: left;

}

article[title="item1"]{background-image: url("../image/Homebackground.png");}
article[title="item2"]{ background-image: url("../image/BChap1.png");}
article[title="item3"]{ background-image: url("../image/1Postcard.png");}
article[title="item4"]{ background-image: url("../image/Bchap2.png");}
article[title="item5"]{ background-image: url("../image/1Postcard.png");}
article[title="item6"]{ background-image: url("../image/Bchap3.png");}
article[title="item7"]{ background-image: url("../image/1Postcard.png");}
article[title="item8"]{ background-image: url("../image/Bchap4.png");}
article[title="item9"]{ background-image: url("../image/1Postcard.png");}
