body{
	margin:0;
}
@media (min-device-width:1025px){
body{
	background:url(../img/bk.png) repeat;
}	
}
*, *::before, *::after {-webkit-box-sizing: border-box;box-sizing: border-box;}

body, button, input, select, option, textarea, email, number, h1 ,h2, h3, h4, h5, h6, p, td, th, li {
	font-family: "Century Gothic", Arial, "微軟正黑體", "Microsoft JhengHei", sans-serif;
	color: #000000;
	}

h1, h2, blockquote{
	color:#054BA6;
}
h1{
	font-size:50px;
}
blockquote{
	margin-left:auto;
	margin-right:auto;
	margin-bottom:40px;
	width:90%;
	text-align:center;
	font-size:22px;
	line-height:1.6em;	
}
blockquote img{
	margin-bottom:10px;
}
h2{
	font-size:26px;
	padding-left:10px;
	padding-top:7px;
	padding-bottom:7px;
	background:#eee;
}
p{
	font-size:16px;
	line-height:1.8em;
	margin-top:20px;
}
li{
	margin-left:30px;
	margin-top:10px;
	line-height:1.8em;
	font-size:16px;
}
li:first-child{
	margin-top:20px;
}
li:last-child{
	margin-bottom:40px;
}

.header, .bannerlarge, .menu, .container, .footer {
	max-width:1170px;	
	margin:0 auto;
}
.header {
	height:60px;
}
.header img{
	border:0px;
}	
.logobb{
    border:0px;
	float:left;
	margin-top:12px;
}
.logoabcam{
	border:0px;
	float:right;
	margin-top:25px;
}
.logobb:hover, .logoabcam:hover {
	position:relative;
	top:1px;
	left:1px;
}
.bannerlarge{
	height:280px;
	background:#054BA6 url(../img/bk_banner.png) no-repeat;
}
.menu{
	height:75px;
	padding-top:0.3em;
	background:#054BA6;	
	text-align:center;
	margin-top:-0.05em;
}
.menu li{
	display:inline-block;
	list-style-type:none;
	line-height:1em;
	margin:0;
	width:18%;
	color:#ffffff;
	font-size:12px;
	font-weight:bold;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	    transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.menu img{
	border:0;
	padding-bottom:10px;
}
.menu a{
	color:#ffffff;
	text-decoration:none;
}
.menu li:hover{
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	    transform: scale(1.2);
}
.container{
	padding:60px 40px 20px;
	background:#ffffff;
}
.container a{
	color:#054BA6;
	text-decoration:underline;
}
.container a:hover, .footer a:hover, .btnupload:hover{
	text-decoration:none;
	position:relative;
	top:1px;
	left:1px;
}
.lego{
	height:320px;
	width:auto;
	margin-top:0.5em;
	margin-left:1.0em;
	margin-right:1.5em;
}
.footer{
	background:#054BA6;
	border-top:4px solid #999;
	padding:15px 40px 8px;
	font-size:18px;
	color:#ffffff;
	text-align:center;
	line-height:1.7em;
}
.footer a{
	color:#ffffff;
	text-decoration:none;
}
.footer .copyright{
	font-size:11px;
}


/*register*/
form{	
	margin-top:5%;
	margin-bottom:3%;
}
formheader{
	display:block;
	width:100%;
	font-size:25px;
	font-weight:bold;
	line-height:3em;
	text-align:center;
	background:#eee;
	border:1px solid #ccc;
	border-top-left-radius:6px;
	border-top-right-radius:6px;
}
.firstquestion, .conditional{
	display:block;
	width:100%;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;
	text-align:center;
}
.row{
	border-bottom:1px solid #ccc;
}
.row:after {	
  	content: "";
  	display: table;
  	clear: both;
}
.col-9 {
  float: left;
  width: 9%;
}
.col-13 {
  float: left;
  width: 13%;
}
.col-15 {
  float: left;
  width: 15%;
}
.col-20 {
  float: left;
  width: 20%;
}
.col-24 {
  float: left;
  width: 24%;
}
.col-25 {
  float: left;
  width: 25%;
}
.col-30 {
  float: left;
  width: 30%;
}
.col-35 {
  float: left;
  width: 35%;
}
.col-58 {
  float: left;
  width: 58%;
}
.col-70 {
  float: left;
  width: 70%;
}
.col-75 {
  float: left;
  width: 75%;
}
.col-80 {
  float: left;
  width: 80%;
}
.col-85 {
  float: left;
  width: 85%;
}
.bkeee{
	background:#eee;
}
input[type=text], input[type=email], input[type=number], textarea{
  width: 100%;
  padding: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  resize: vertical;
  background:#fff;
  border:0;
}
.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
label{
  display: inline-block;
  padding: 15px 0;
}
notice{
	display:block;
	width:100%;
	padding:1.4% 2%;
	border-bottom:1px solid #ccc;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;
	text-align:center;
}
formfooter{
	display:block;
	width:100%;
	text-align:center;
	padding-top:2%;
}
.btnupload{
	color:#ffffff;
	font-size:16px;
	font-weight:bold;
	background:#039;
	border:0px;
	border-radius:6px;
	margin:1.5% auto;
	padding:1.4% 4%;
	box-shadow:0px 20px 50px 10px #36F inset;
	-webkit-box-shadow:0px 20px 50px 10px #36F inset;
	cursor:pointer;
}
input[type=submit]{
	color:#ffffff;
	font-size:20px;
	font-weight:bold;
	background:#cc0000;
	border:0px;
	border-radius:6px;
	margin-right:1%;
	padding:1.4% 4%;
	-webkit-box-shadow:0px 20px 50px 10px #ff3300 inset;
	        box-shadow:0px 20px 50px 10px #ff3300 inset;
	-webkit-appearance:none;
	cursor:pointer;
}
input[type=reset]{
	color:#ffffff;
	font-size:20px;
	font-weight:bold;
	background:#444;
	border:0px;
	border-radius:6px;
	margin-left:1%;
	padding:1.4% 4%;
	-webkit-box-shadow:0px 20px 50px 10px #666 inset;
	        box-shadow:0px 20px 50px 10px #666 inset;
	-webkit-appearance:none;
	cursor:pointer;
}
.textred{
	color:#c00;
}


/*poll*/
/*sort button*/
.sort{
  padding:0.75em 1em;
  text-align:center;
  color:#000;
  background:#eee;
  font-size:14px;
  font-weight:bold;
  border:1px solid #ddd;
  -webkit-box-shadow: 0 4px #999;
          box-shadow: 0 4px #999;
  border-radius:4px;
  margin:1em 0 0 2.5em;
} 
.sort:hover{
  background:#fff;
}
.sort:active{
  background:#fff;
  -webkit-box-shadow: 0 2px #666;
          box-shadow: 0 2px #666;
  -webkit-transform: translateY(4px);
      -ms-transform: translateY(4px);
          transform: translateY(4px);
}
.sort:after{
  clear:both;
}
 /* The grid: Three equal columns that floats next to each other */
.expanding-grid {
  position: relative;
  width: 100%;
  background:#ffffff;
  margin-left:auto;
  margin-right:auto;
  padding:0 0 1.5em;
}
@media (min-device-width:1025px){
.expanding-grid {
  width: 1170px;
}	
}
.expanding-grid .links {
  display: block;
  margin: 0 -0.5em;
  overflow: hidden;
  padding: 1em 0;
}
.expanding-grid .links > li {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  float: left;
  padding: 0.6em;
  list-style-type:none;
  margin:0;
}
.expanding-grid li:first-child{
	margin-top:0;
}
.expanding-grid li:last-child{
	margin-bottom:0;
}
.expanding-grid .links > li a {
  color: #fff;
  display: block;
  height:274px;
  background:#eee;
  position: relative;
  text-decoration:none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.expanding-grid .links > li a:hover {
  background: #ddd;
}
.expanding-grid .links > li a.active:after {
  background-color: transparent;
  border-bottom: 0.375em solid #333;
  border-left: 0.375em solid transparent;
  border-right: 0.375em solid transparent;
  bottom: -0.6em;
  content: '';
  height: 0;
  left: 50%;
  margin-left: -0.375em;
  position: absolute;
  width: 0;
}
.expanding-grid .links > li {
    width: 33.3333333333%;
}
.expanding-grid .links > li:nth-of-type(3n+1) {
    clear: left;
}
.expanding-grid .spacer {
  background-color: #333;
  clear: both;
  display: block;
  margin: 0 1em;
}
.expanding-grid .expanding-container {
  clear: both;
  display: none;
  overflow: hidden;
  width: 100%;
}
.expanding-grid .expanding-container.expanded, .expanding-grid .expanding-container:target {
  display: block;
}
.expanding-grid .links img{
	width: 100%;
	height:100%;
}
.expanding-grid .links .info{
	width:100%;
	display:table;
	position:absolute;
	bottom:0;
}
.expanding-grid .links .info .info-80{	
	display:table-cell;
	width:80%;	
	background-color:rgba(255,255,255,0.8);
	color:#000;
	text-align:left;
	line-height:1.2em;	
	padding:6px;
	text-align:left;		
}
.expanding-grid .links .info .info-80-b{	
	display:table-cell;
	width:80%;	
	background-color:rgba(0,0,0,0.7);
	color:#fff;
	text-align:left;
	line-height:1.2em;	
	padding:6px;
	text-align:left;		
}
.expanding-grid .links .info-20{	
	display:table-cell;
	width:20%;	
	background-color:rgba(244,66,66,1);	
	line-height:1.0em;
	text-align:center;
	vertical-align:bottom;
	padding-bottom:6px;
	font-size:11px;
}
.expanding-grid .links .info-20 .number-vote{
	font-size:19px;
	margin-right:2px;
}
.expanding-grid .links .info .entry-title{
	width:100%;	
	font-size:14px;
	font-weight:bold;
}
.expanding-grid .links .info .entry-author{
	width:100%;
	font-size:11px;			
}
.links .entry-contents{
    width:100%;
	height:274px;
	padding:0 15px 60px 20px;
	overflow:hidden;
	text-decoration:none;	
}
.fade {
  position: relative;
  width:100%;
  height: 274px;
}
.fade:after {
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 224px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(238, 238, 238, 0)), color-stop(50%, rgba(238, 238, 238, 0.9)));
  background: -webkit-linear-gradient(top, rgba(238, 238, 238, 0), rgba(238, 238, 238, 0.9) 50%);
  background: -o-linear-gradient(top, rgba(238, 238, 238, 0), rgba(238, 238, 238, 0.9) 50%);
  background: linear-gradient(to bottom, rgba(238, 238, 238, 0), rgba(238, 238, 238, 0.9) 50%);
}
.expanding-grid .hentry {
  background: #333;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  clear: both;
  color: #fff;
  min-height: 4em;
  overflow: hidden;
  padding: 2em;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.expanding-grid .hentry .entry-image {
  width:50%;
  float: left;
  padding: 0.25em 1em 0.52em 0;
}
.expanding-grid .hentry .entry-image img{
  width:100%;
  height:auto;
}
.expanding-grid .hentry .entry-detail {
  width:48%;
  float:right;
  padding: 0.25em 0 0.52em 1em;
}
.expanding-grid .hentry .entry-title {
  font-size: 1.5em;
  color:#fff;
  line-height:1.5em;
}
.expanding-grid .hentry .entry-author{
  font-size: 0.8em;
  color:#fff;
  border:1px solid #fff;
  border-radius:6px;
  padding:4px 7px;
  margin-top:15px;
}
.expanding-grid .hentry p{
  font-size: 0.8em;
  color:#ddd;
}
.expanding-grid .hentry .entry-contents p{
  font-size: 1.0em;
  color:#ddd;
}
.expanding-grid .close-button {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNLjcuN2wxOCAxOG0tMTggMGwxOC0xOCIvPjwvc3ZnPg==) no-repeat scroll 50% 50% transparent;
  color: #fff;
  display: inline-block;
  height: 20px;
  line-height: 1;
  overflow: hidden;
  padding: 1.5em 2em;
  text-decoration: none;
  text-indent: 5em;
  white-space: nowrap;
  width: 20px;
  will-change: opacity;
  z-index: 5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.expanding-grid .close-button.active {
  -webkit-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.expanding-grid .close-button:hover {
  opacity: 0.5;
}
.expanding-grid .hentry .ivote{
  width:35%;
  padding:10px 15px;
  text-align:center;
  color:#000;
  background:#FC0;
  font-size:18px;
  font-weight:bold;
  border:none;
  margin-top:1em;
} 
.expanding-grid .hentry .ivote:hover{
  cursor:pointer;
  position:relative;
  top:1px;
  bottom:1px;
} 
/* form for vote */	
.votecraft{
	display:none;
	margin-bottom:0px;
}
.votecraft .row{
	background:#ddd;
}
.votecraft .row:last-child{
	border-bottom:0;
}
.votecraft .col-30{
  float: left;
  width: 30%;
  padding-left:6px;
  background:#ddd;
  color:#000;
  font-size:15px;
  font-weight:bold;
}
.votecraft .col-70{
  float: left;
  width: 70%;
}
.votecraft .col-100{
  width: 100%;
  text-align:center;
  color:#ffffff;
  font-size:15px;
  font-weight:bold;
  background:#cc0000;
  border-bottom:0px;
  padding:1.4% 4%;
  -webkit-box-shadow:0px 20px 50px 10px #ff3300 inset;
          box-shadow:0px 20px 50px 10px #ff3300 inset;
  -webkit-appearance:none; 
}
.votecraft .alert{
	color:#000;
	background:#FC0;
	-webkit-box-shadow:none;
	        box-shadow:none;
	font-size:14px;
	line-height:1.5em;
}
.votecraft input[type=submit]{
	width:100%;
	background:none;
	-webkit-box-shadow:none;
	        box-shadow:none;
	font-size:15px;
	font-weight:bold;
}
@media (orientation:portrait){
.expanding-grid .links > li a {
  height:180px;
}
.links .entry-contents{
	height:180px;	
}
.fade {
  position: relative;
  width:100%;
  height: 180px;
}
.fade:after {
  height: 130px;
}
}

/*ok*/
.molly2{
	height:9em;
	width:auto;
	margin-right:1em;
	margin-top:0.5em;
	margin-bottom:2.5em;
}
.goto{
	text-align:center;
	padding:3em 0;
	clear:both;
}
.goto button{
  text-align:center;
  padding:0.8em 1.5em;
  color:#fff;
  font-size:16px;
  font-weight:bold;
  border:none;
  border-radius:4px;
  margin-left:1.5em;
  text-decoration:none;
}
.goto a{
  text-decoration:none;
}
.goto button:hover{
  cursor:pointer;
  position:relative;
  top:1px;
  bottom:1px;
}
.goto button img{
	margin-bottom:-0.25em;
	margin-right:0.5em;
	height:20px;
	width:auto;
}
.btnblue{
	background:#023270;
	-webkit-box-shadow:0px 20px 50px 10px #0357c4 inset;
	box-shadow:0px 20px 50px 10px #0357c4 inset;
	-webkit-appearance:none;
}
.btngreen{
	background:#045e2f;
	-webkit-box-shadow:0px 20px 50px 10px #03a350 inset;
	box-shadow:0px 20px 50px 10px #03a350 inset;
	-webkit-appearance:none;
}
.btnred{
	background:#a50303;
	-webkit-box-shadow:0px 20px 50px 10px #ff3300 inset;
	box-shadow:0px 20px 50px 10px #ff3300 inset;
	-webkit-appearance:none;
}

/*contact*/
.contact{
	width:45%;
	height:auto;
	float:right;
	margin-left:6em; 
	margin-top:0;
	margin-right:-2.5em;
}
.contacttitle{
	display:block;
	width:6em;
	margin-top:1.5em;
	margin-bottom:0.5em;
	font-weight:bold;
	color:#054BA6;
	padding-bottom:3px;
	border-bottom:3px solid #054BA6;
}
.contactcontent{
	display:block;
	color:#000000;
	font-weight:normal;
	font-size:25px;
}
.contactcontent a{
	color:#000000;
	text-decoration:none;
}
.contactcontent a:hover{
	text-decoration:underline;
}
.contactcontent:last-child{
	margin-bottom:1.5em;
}
@media (orientation:portrait){
.contact{
	width:28%;
	height:auto;
	margin-left:3em;
	margin-top:-0.5em;
}
}
@media (min-device-width:1025px){
.contact{
	width:35.7%;
	height:auto;
	margin-left:0;
	margin-top:0.0em;
	margin-right:-2.5em;
}
}

/*winner*/
.winner{
	width:100%;
	max-width:1170px;
}
.winner-container{
	width: 31.3%;
	display:block;
	-webkit-box-sizing: border-box;
            box-sizing: border-box;
	margin:3% 1%;
	float:left;
	border:1px solid #666;
}
.winner img{
	width:100%;
	height:auto;
}
.winner-text{
	padding:5%;
}
.winner-text craft{
	font-size:23px;
	font-weight:bold;
	line-height:1.6em;
	display:block;
}
.winner-text author{
	font-size:12px;
	line-height:1.6em;
	display:block;
	color:#444;
}
.winner-text detail{
	margin-top:4%;
	font-size:15px;
	line-height:1.6em;
	display:block;
}
