@charset "utf-8";
/* CSS Document */
#toTop {
	position: fixed;
	bottom: 90px;
	right: 50px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	z-index: 99;
	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 (min-width: 768px) and (max-width: 800px) {	
.carousel {
	margin-bottom: 10px;
	margin-top: 60px;
	width: 375px;
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 5px;
	margin-left: 15px;
}
.carousel-control{ height:153px;}
.ad-L img, .ad-R img{
	height: 35px;
	width: 17px;
	margin-top: -10px;
}
}
@media (max-width: 800px) {
#toTop {
	bottom: 40px;
	right: 30px;
	height: auto;
	width: 60px;
}
}
@media (max-width: 736px) {
.carousel {
	width: 90%;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	float: none;
}
.fbBox{
	margin-top: 0px;
	margin-bottom: 0px;
	margin-right: auto;
	margin-left: auto;
}
}
@media (max-width: 667px) {
.adfb{margin-top: 30px;
}
.gameBox{}
.carousel {margin-top: 0px;}
.carousel-control{height: 95%;}
.down{ margin-top: 6px;}

}

@media (max-width: 640px) {
.fbBox{
	display: none;
/*	width: 338px;
	overflow: hidden;
	position: absolute;
	top: 1040px;
	z-index: 99;
	left: 50%;
	margin-left: -169px;*/
}
}
@media(max-width: 568px) {
#toTop {
	bottom: 40px;
	right: 20px;
	height: auto;
	width: 40px;
}
/*.fbBox{
	top: 1040px;
}*/
.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: 414px) {.fbBox{top: 900px;}}*/
@media (min-width: 415px) and (max-width: 568px) {
.carousel {margin-top: 10px;}
/*.fbBox{margin-top: -20px;margin-bottom: 10px;}*/
}
/*@media(max-width: 384px) {.fbBox{top: 870px;}}
@media(max-width: 375px) {.fbBox{top: 970px;}}*/
@media (min-width: 360px) and (max-width: 414px) {
.carousel {margin-top: 10px;padding: 5px;}
}

@media (min-width: 601px) and (max-width: 640px) {.carousel-control{ height:90%;}}
@media (min-width: 569px) and (max-width: 600px) {.carousel-control{ height:85%;}}
@media (min-width: 481px) and (max-width: 568px) {.carousel-control{ height:80%;}.carousel {margin-top: 10px;padding: 6px;}}
@media (min-width: 415px) and (max-width: 480px) {.carousel-control{ height:68%;}/*.fbBox{margin-top: -95px;}*/.carousel {margin-top: 10px;padding: 5px;}}
@media (min-width: 385px) and (max-width: 414px) {.carousel-control{ height:56.5%;}}
@media (min-width: 376px) and (max-width: 384px) {.carousel-control{ height:54%;}}
@media (min-width: 321px) and (max-width: 375px) {
.carousel-control{ height:50%;}
/*.fbBox{margin-top: -105px;}*/
}

@media(max-width: 320px) {
.carousel {margin-top: 10px;padding: 5px;}
.carousel-control{ 	height:45%;}
.fbBox{
	width: 100%;
	margin-top: -130px;
	margin-left: -160px;
}
.fb-page{width: 90%;}
}
@media (max-width:980px) {.mclose{display: none;}}
@media (max-width:980px) {.fbBox2{ display: none;}}
@media (max-width:980px) {.mclose2{display: none;}}
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
.linkBox{display: none;}
.mclose2{display: none;}
}