html,body{
	letter-spacing: 1px;
	font-size: 1.05em;
}
.navbar-collapse .navbar-right{
	margin-right: 45px!important;
}
.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover {
    background-color: white!important;
}
.tu{
	position: relative;
}
.container{
	margin-left: 0!important;
	margin-right: 0!important;
	padding-left: 0!important;
}
#box1{
	width: 100%;
	height: auto;
	position: absolute;
	margin-top: -15%;
	text-align: center;
}
		
.txt1{
	text-align: center;
	display: block;
	font-size: 30px;	
	color: white;
	font-family: "Times New Roman", Times, serif;
}
.txt2{
	text-align: center;
	display: block;
	font-size: 16px;	
	color: white;
	font-family: "Times New Roman", Times, serif;
}
/*活动事件的样式*/
#bx6{
	width: 100%;
	height: auto;
}
.bxrow{
	margin-top: 5%;
}
.colborder{
	margin-left: 6%;
	padding: 0 0!important;
}
.ig{
	width: 100%;
	height: 100%;
	top: 0;	
	overflow: hidden;
}

.ig img{
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 auto!important;
	transition: all 0.6s;  
}
.ig:hover img{
	transform: scale(1.5); /* 放大1.2倍 */
}
.igx{
	width: 100%;
	height: 130px;
	background-color: white;
	border-bottom: 1px solid #74c000;
	margin-bottom: 10%;
	position: relative;
}
.igx::after{
	content: "生姜不只是简单的食物";
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: #74c000;
    position: absolute;
    bottom: 0;
	height: 140px;
	display: none;
	top: -10px;
	font-size: 26px;
	padding-top: 30px;
	color: white;
	text-align: center;
	
}
.colborder:hover .igx::after{
	display: block;
	animation: igxafter 1s ease;
}
@keyframes igxafter{
    from {
        height: 0px;
        top : 130px;
        opacity: 0;
    }
    to {
        height: 140px;
        top : -10px;
        opacity: 1;
    }
}
.igtxt1{
	position: absolute;
	font-size: 18px;
	color: rgb(93, 93, 93);	
	margin-top: 9%;
}
.igtxt2{
	position: absolute;
	font-size: 14px;
	line-height: 1.50em;
	color: rgb(93, 93, 93);
	margin-top: 22%;
}
/*教学视频内容的样式*/
#video{
	width: 100%;
	height: 100%;
	background: url(../img/shouyetu/vd1.jpg) no-repeat;
	background-size: cover;

    padding: 70px 0px;
    z-index: 2;
}
#video .vdtxt{
	width: 100%;
	height: auto;
	text-align: center;
	font-size: 36px;
	font-weight: 500;
	text-shadow: 0 1px 1px #fff;
	color: #4cd495;
}
#video .vdtxt2{
	width: 100%;
	height: auto;
	font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin-top: 1%;
    margin-bottom: 30px;
    text-shadow: 0 1px 1px #fff;
    color: #999999;
}
#video .videobox{
	text-align: center;
	width: 80%;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	background-color: rgba(0, 0, 0, 0.4);
}
.videobox .vde{
	width: 80%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	z-index: 9;
}
.videobox:before{
	content: 'Shieo带你轻松学瑜伽';
	width: 100%;
	height: 30%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 2vmax;
	color: white;
	text-align: center;
	padding-top: 10%;
}
.videobox:after{
	content: '瑜伽基础教学';
	width: 100%;
	height: 50%;
	position: absolute;
	bottom: 20%;
	left: 0;
	font-size: 4vmax;
	color: white;
	text-align: center;
}
.vde:active .videobox:before,
.vde:active .videobox:after{
	display: none;
}



/*底部内容的样式*/
.footer{
	width: 100%;
	height: auto;
	background-color: rgb(25, 32, 37);
}

.foottxt{
	position: absolute;
	font-size: 20px;
    color: rgb(153, 153, 153);
    margin-left: 2%;
    margin-top: 5%;
}
.foottxt2{
	padding-left: 1%;
}
.num{
	color: rgb(153, 153, 153)!important;
	padding-top:10%;
	padding-left: 22%;
}

.foottu{
	margin-top:2%;
	margin-left: 1.5%;
}

/*返回顶部样式*/
#top{
	width: 35px;
	height: 35px;
	background-color: gray;
	opacity: 0.7;
	position: fixed;
	right: 20px;
	bottom: 25px;
	display: none;
}

.toptxt{
	margin: 14px 8px;
	text-align: center;
	font-size: 20px!important;
	font-weight: 100!important;
	color: white!important;
	line-height: 40px;
}
/*媒体查询*/
@media (max-width: 500px) { 
	.carousel-inner img{
		margin-top: 15%;
	}
	#box1{
		margin-top: -23%;
	}
	
	.colborder{
		margin-left: 5%;
	}
	
	.foottxt{
	    margin-left: 5%;
	    margin-top: 5%;
	}
	.num{
		padding-top:12%;
		padding-left: 20%;
	}
	.foottu{
		margin-top:2%;
		margin-left: 4%;
	}
	
		
}
@media (min-width:501px) and (max-width: 601px) { 
	.carousel-inner img{
		margin-top: 15%;
	}
	#box1{
		margin-top: -23%;
	}
	.colborder{
		margin-left: 5%;
	}
	
	.foottxt{
	    margin-left: 5%;
	    margin-top: 5%;
	}
	.num{
		padding-top:12%;
		padding-left: 20%;
	}
	.foottu{
		margin-top:2%;
		margin-left: 4%;
	}
}
@media (min-width:602px) and (max-width: 768px) { 
	.carousel-inner img{
		margin-top: 12%;
	}
	#box1{
		margin-top: -20%;
	}
	.colborder{
		margin-left: 5%;
	}
	
	.foottxt{
	    margin-left: 4%;
	    margin-top: 5%;
	}
	.num{
		padding-top:12%;
		padding-left: 20%;
	}
	.foottu{
		margin-top:3%;
		margin-left: 2.5%;
	}
}
@media (min-width:769px) and (max-width: 892px) { 
	.foottxt{
	    margin-left: 3%;
	    margin-top: 5%;
	}
	.num{
		padding-top:12%;
		padding-left: 20%;
	}
	.foottu{
		margin-top:2%;
		margin-left: 2%;
	}
}
@media (min-width:893px) and (max-width: 992px) { 
	
	.foottxt{
	    margin-left: 3%;
	    margin-top: 5%;
	}
	.num{
		padding-top:12%;
		padding-left: 20%;
	}
	.foottu{
		margin-top:2%;
		margin-left: 2%;
	}
}
@media (min-width: 993px) and (max-width: 1199px) {
	
	.foottxt{
	    margin-left: 3%;
	    margin-top: 5%;
	}
	.num{
		padding-top:12%;
	}
	.foottu{
		margin-top:2%;
		margin-left: 2%;
	}
}

