@media screen and (min-width: 1025px) {/*針對桌機*/

.view {
   width: 250px;
   height: 207px;
   margin: 0px;
   float: left;
   overflow: hidden;
   position: relative;
   text-align: center;
   cursor: default;
   background: #fff  url(../images/index/bgimg.jpg) no-repeat center center;
}
.view .mask,.view .content {
   width: 250px;
   height: 207px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}
.view h2 {
	font-family: "微軟正黑體";
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 20px;
   background: rgba(0, 0, 0, 0.8);
   margin: 0px 0 8px 0;
}
.view p {
   font-family: "微軟正黑體";
   font-style: italic;
   font-size: 15px;
   position: relative;
   color: #fff;
   padding: 5px 20px 10px 20px;
   text-align: center;
}
.view a.info {
   display: inline-block;
   text-decoration: none; 
   background: #383837;
   color: #ffffff;
   font-size:16px;
   font-weight:bold;
   text-transform: uppercase;

}
.view a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}
}

@media only screen and (min-width: 768px) and (max-width:1024px){/*針對平板*/
.view {
   width: 98%;
   height: auto;
   margin: 0px;
   float: left;
   overflow: hidden;
   position: relative;
   text-align: center;
   cursor: default;
   background: #fff  url(../images/index/bgimg.jpg) no-repeat center center;
}
.view .mask,.view .content {
   width: 98%;
   height: auto;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}
.view h2 {
	font-family: "微軟正黑體";
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 16px;
   background: rgba(0, 0, 0, 0.8);
   margin: 0px 0 8px 0;
}
.view p {
	overflow:hidden;
	width:99%;
	white-space:nowrap;
	text-overflow:ellipsis;
   font-family: "微軟正黑體";
   font-size: 13px;
   position: relative;
   color: #fff;
   padding: 5px 2px 10px 2px;
   text-align: center;
}
.view a.info {
   display: inline-block;
   text-decoration: none; 
   background: #383837;
   color: #ffffff;
   font-size:16px;
   font-weight:bold;
   text-transform: uppercase;

}
.view a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}
}
@media only screen and (max-width: 767px) {/*針對手機*/
.view {
   width: 100%;
   height: auto;
   margin: 0;
   float: left;
   overflow: hidden;
   position: relative;
   text-align: center;
   cursor: default;
   margin-bottom:10px;
}
.view img{
	width:100%;
	height:auto;
}
.view .mask,.view .content {
	width: 100%;
	height: auto;
	position: absolute;
	overflow: hidden;
	top: 0px;
	left: 0px;
}
.view .mask,.view .content p{
	text-align:left;
	color:#FFFFFF;
}
.view img {
   display: block;
   position: relative;
}
.view h2 {
	font-family: "微軟正黑體";
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 20px;
   background: rgba(0, 0, 0, 0.8);
   margin: 0px 0 8px 0;
}
.view p {
   font-family: "微軟正黑體";
   font-size: 15px;
   position: relative;
   color: #fff;
   padding: 5px 20px 10px 20px;
   text-align: center;
}
.view a.info {
   display: inline-block;
   text-decoration: none; 
   background: #383837;
   color: #ffffff;
   font-size:16px;
   font-weight:bold;
   text-transform: uppercase;

}
.view a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}
}
