@charset "utf-8";
/* CSS Document */
#toTop {
	position: fixed;
	bottom: 90px;
	right: 50px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	z-index: 999;
	height: 88px;
	width: 81px;
	background-color: transparent !important;
}
/* Carousel base class */
.adfb{
	max-width: 960px;
	width:100%;
	display: block;
	overflow: hidden;
	margin-right: auto;
	margin-left: auto;
}
.carousel {
	max-width: 600px;
	height: 233px;
	margin-bottom: 10px;
	margin-top: 40px;
	width: 570px;
	background-image: url(../img/AD_box.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-size: 100% auto;
	-moz-background-size: 100% auto;
	-webkit-background-size: 100% auto;
	-o-background-size: 100% auto;
	-ms-background-size: 100% auto;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	float: left;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {  z-index: 10;}

/* Declare heights because of positioning of img element */
.carousel .item { height: 233px; }
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 600px;
  height: 245px;
}

.ad-L img, .ad-R img{
	height: 55px;
	width: 27px;
	margin-top: -15px;
}

.fbBox{
	display: block;
	max-width: 338px;
	width: 338px;
	overflow: hidden;
	margin-top: 25px;
	margin-bottom: 0px;
	margin-right: auto;
	margin-left: auto;
}
.fbBox .fbmain{
	background-image: url(../img/fb_bg_02.png);
	background-repeat: repeat-y;
	background-position: 0px 0px;
	width: 100%;
	background-size: 100% auto;
	-moz-background-size: 100% auto;
	-webkit-background-size: 100% auto;
	-o-background-size: 100% auto;
	-ms-background-size: 100% auto;
	text-align: center;
}
.fbBox2{
	display: block;
	max-width: 338px;
	width: 338px;
	overflow: hidden;
	margin-top: 25px;
	margin-bottom: 0px;
	margin-right: auto;
	margin-left: auto;
}
.fbBox2 .fbmain{
	background-image: url(../img/fb_bg_02.png);
	background-repeat: repeat-y;
	background-position: 0px 0px;
	width: 100%;
	background-size: 100% auto;
	-moz-background-size: 100% auto;
	-webkit-background-size: 100% auto;
	-o-background-size: 100% auto;
	-ms-background-size: 100% auto;
	text-align: center;
}
/*------------------------*/
.linkBox{
	background-image: url(../img/link_bg.png);
	background-repeat: repeat-y;
	background-position: 0px 0px;
	display: block;
	height: 86px;
	width: 100%;
	clear: both;
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
.linkBox ul{
	margin: 0px;
	overflow: hidden;
	text-align: center;
	display: block;
	padding-top: 15px;
	padding-bottom: 10px;
	padding-right: 20px;
	padding-left: 20px;
}
.linkBox li{
	display: block;
	height: auto;
	max-width: 153px;
	float: left;
	width: 153px;
	margin-left: 20px;
}
.linkBox li a{
	height: auto;
	max-width: 153px;}

/* RESPONSIVE CSS
-------------------------------------------------- */
/*@media (max-width: 980px) {
.mad {
	clear: both;
	margin-right: auto;
	margin-left: auto;
	float: none;
}}*/
@media (max-width: 900px) {	
.carousel {
	margin-top: 20px;
	padding-right: 8px;
	padding-left: 8px;
	padding-top: 8px;
	margin-left: auto;
	margin-right: auto;
	clear: both;
	float: none;
}
.carousel-control{ height:225px;}
}
@media (max-width: 800px) {	
#toTop {
	bottom: 40px;
	right: 30px;
	height: auto;
	width: 60px;
}
.carousel {
	margin-top: 20px;
	padding-right: 8px;
	padding-left: 8px;
	padding-top: 8px;
	margin-left: auto;
	margin-right: auto;
	clear: both;
	float: none;
}
.carousel-control{ height:225px;}
.ad-L img, .ad-R img{
	height: 35px;
	width: 17px;
	margin-top: -10px;
}
}
@media (max-width: 980px) {
.linkBox{display: none;}
	}
	

@media (max-width: 736px) {
.carousel {
	width: 90%;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	float: none;
}
}
@media (max-width: 667px) {
.adfb{margin-top: 60px;
}
.carousel {	width: 80%;margin-top: 30px;}
.carousel-control{height: 87%;}
.down{ margin-top: 6px;}
.fbBox2{ display: none;}
}

@media (max-width: 640px) {
.carousel-control{height: 84%;}
}

@media (max-width: 600px) {
.carousel-control{height: 78%;}
}

@media(max-width: 568px) {
#toTop {
	bottom: 40px;
	right: 20px;
	height: auto;
	width: 40px;
}
.carousel-control{height: 75%;}
/*.linkBox{
	height: 46px;
	width: 100%;
	clear: both;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}
.linkBox ul{
	margin: 0px;
	overflow: hidden;
	text-align: center;
	display: block;
	padding-top: 10px;
	padding-bottom: 5px;
	padding-right: 5px;
	padding-left: 5px;
}
.linkBox li{
	float: left;
	width: 90px;
	margin-left: 10px;
}
.linkBox li a{
	height: auto;
	width: 90px;}*/
}
@media(max-width: 480px) {
	
.carousel-control{height: 60%;}
	}
@media(max-width: 414px) {
.up {margin-top: -50px;}
.carousel-control{height: 53%;}
	}
@media(max-width: 384px) {
.up {margin-top: -60px;}
.carousel-control{height: 50%;}
	}

@media (max-width:360px) {
.up {margin-top: -70px;}
.carousel-control{height: 45%;}
}

@media(max-width: 320px) {
.up {margin-top: -90px;}
.carousel {
	margin-top: 10px;
	padding: 5px;
	width: 93%;
}
.carousel-control{ 	height:45%;}
.fb-page{width: 250px;}
}
