/*@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
*/
/*--------------------------------------------------------------------
common
--------------------------------------------------------------------*/
body {
  color: #252525;
  line-height: 1.6;
  background-color: #b8dd65;
  background-image: url("../images/gf-bg_dot.png");
  padding: 0;
  margin: 0;
  /*font-family: Arial,"微軟正黑體";*/
}


p {
  margin-top: 0;
  margin-bottom: 1em;
}
.gaCode {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.point {
	color: #bc1a42;
}
.textHide {
  text-indent: 200%;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}
ol {
  padding-left: 1.5em;
}
img {
  vertical-align: middle;
}

.btn_area {
  text-align: center;
  margin-bottom: 1em;
}

.table {
  display: table;
}
.td {
  display: table-cell;
  vertical-align: middle;
}

.app_download img {
  border-radius: 5px;
  overflow: hidden;
}


/*--------------------------------------------------------------------
layout
--------------------------------------------------------------------*/
.event_wrapper {
  position: relative;
  background-image: url("../images/gf-bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
}

.event_header {
  height: 790px;
  position: relative;
}

.event_container {
  width: 100%;
  overflow: hidden;

}


.event_main {
  position: relative;
  width: 1140px;
  margin: 0 auto;
  background-color: #fff;
  border: 10px solid #f0ffa9;
  padding-top: 120px;
  padding-bottom: 50px;
  transition: all .4s;
}

section {
  width: 930px;
  margin: 0 auto 3em;
  transition: all .4s;
}



/*--------------------------------------------------------------------
table
--------------------------------------------------------------------*/
table, th, td {
  border: 1px #aeacc0 solid;
}
table {
  margin-bottom: 30px;
  border-width: 1px 1px 0px 0px;
  background: #f1f0fb;
}
th, td {
  padding: 8px 10px;
  border-width: 0px 0px 1px 1px;
}
th {
  font-size: 17px;
  color: #fff;
  font-weight: normal;
  text-align: center;
  background: #8986ac;
}
td {
  font-size: 15px;
  line-height: 26px;
  text-align: left;
  color: #333;
}
tr td:first-child,
tr td:last-child {
  text-align: center;
  font-family: Arial;
}
tr td:last-child {
  color: #e300a8;
  font-weight: bolder;
  letter-spacing: 1px;
}
tr:nth-child(2n) td {
  background: #fff;
}

/*--------------------------------------------------------------------
arrow
--------------------------------------------------------------------*/

.arrow {
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,.5);
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: 15px;
  margin-left: -25px;
  animation:         upDown .3s ease-out 0s infinite alternate forwards;
  -ms-animation:     upDown .3s ease-out 0s infinite alternate forwards;
  -moz-animation:    upDown .3s ease-out 0s infinite alternate forwards;
  -webkit-animation: upDown .3s ease-out 0s infinite alternate forwards;
  -o-animation:      upDown .3s ease-out 0s infinite alternate forwards;
}

.arrow:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  background-image: url("../images/gf-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 17px;
}


@keyframes upDown {
  0%   { bottom:15px; }
  100% { bottom: 25px; }
}
@-ms-keyframes upDown {
  0%   { bottom:15px; }
  100% { bottom: 25px; }
}

@-moz-keyframes upDown {
  0%   { bottom:15px; }
  100% { bottom: 25px; }
}

@-webkit-keyframes upDown {
  0%   { bottom:15px; }
  100% { bottom: 25px; }
}

@-o-keyframes upDown {
  0%   { bottom:15px; }
  100% { bottom: 25px; }
}

/*--------------------------------------------------------------------
header
--------------------------------------------------------------------*/


.logo {
  position: absolute;
  width: 854px;
  margin: 0;
  text-align: center;
  display: table;
  left: 50%;
  margin-left: -427px;
  top: 440px;
}
.logo>div {
   display:table-cell;
   vertical-align: middle;
}
.logo span {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center center;
}
.logo a {
  display: block;
  height: 100%;
}

.gfo_logo {
  background-image: url("../images/gf-logo.png");
  width: 361px;
  height: 257px;
}
.xxx {
  background-image: url("../images/gf-X.png");
  width: 132px;
  height: 257px;
}
.dj_logo {
  background-image: url("../images/dj-logo.png");
  width: 361px;
  height: 257px;
}
.slogan {
  background-image: url("../images/gf-slogan.png");
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 186px;
  position: absolute;
  bottom: -95px;
  z-index: 2;
}


/*--------------------------------------------------------------------
main
--------------------------------------------------------------------*/

.box {
  border-radius: 10px;
  border-width: 5px;
  border-style: solid;
  border-color: #aeaeae;
  margin-bottom: .7em;
  padding: 3em 1em;
  position: relative;
}

.section_1 .content {
  margin-left: 26%;
}

.step_1 .content p,
.fb-fans {
  display: inline-block;
  /*vertical-align: middle;*/
}

.step_1 .content p {
  margin-right: 1em;
  overflow: hidden;
  /*width: 30%;*/
}

.step_1 {
  border-color: #267bb7;
  background-color: #d1f5ff;
}

#fb-fans {
  display: inline-block;
}



.step_2 {
  border-color: #26b782;
  background-color: #d1ffe9;
}

.step_3 {
  border-color: #7fb726;
  background-color: #ecffd1;
}

.label {
  position: absolute;
  width: 187px;
  height: 135px;
  background-repeat: no-repeat;
  background-: left top;
  color: #fff;
  top: -1.8em;
  z-index: 2;
  transition: all .4s;
}

.step_1 .label {
  background-image: url("../images/gf-label_1.png");
}
.step_2 .label {
  background-image: url("../images/gf-label_2.png");
}
.step_3 .label {
  background-image: url("../images/gf-label_3.png");
}

.box.step_3:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 250px;
  height: 299px;
  background-image: url("../images/gf-character_1.png");
  background-repeat: no-repeat;
  background-position: right top;
  left: 0;
}

.label span {
  display: block;
  text-align: center;
  
}
.label span:first-child {
  padding-top: 1em;
}

.label .num {
  font-family: 'Anton', sans-serif;
  font-size: 2.5em;
}

.colum {
  text-align: center;
}
.prize {
  background-image: url("../images/gf-prize_bg.png");
  width: 218px;
  height: 217px;
  padding-top: 34px;
  text-align: center;
  display: inline-block;
  margin: 0 1em;
}
.prizeName {
  font-size: .8em;
  color: #4f4f4f;
  font-weight: normal;
  margin: 0 0 1em;
  height: 2em;
}
.prizeGame {
  color: #fff;
}

.prizeImg {
  height: 48px;
  line-height: 48px;
  margin: 0;
  margin-bottom: 1.2em;
}

.btn_prize {
  display: inline-block;
  background-image: url("../images/gf-btn_normal.png");
  width: 500px;
  height: 129px;
  color: #fff;
  text-shadow: 0 2px 5px #333;
  text-decoration: none;
  font-size: 1.4em;
  line-height: 1.2;
}

.btn_prize:hover {
  background-image: url("../images/gf-btn_hover.png");
}

.btn_prize span {
  display: block;
  padding-top: 1.6em;
}



section .title {
  font-family: 'Noto Sans TC';
  font-weight: 700;
  position: absolute;
  width: 100%;
  text-align: center;
  font-size:3.75em;
  left: 0;
  top: -.5em;
  margin: 0;
  line-height: 1;
  color: #5d5d5d;

}
section .title span {
  display: inline-block;
  background-color: #fff;
  padding: 0 .5em;
}


.section_2 .box:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 287px;
  height: 305px;
  background-image: url("../images/gf-character_2.png");
  background-repeat: no-repeat;
}

.section_2 .content {
  margin-left: 300px;
}

.section_3 .box:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 159px;
  background-image: url("../images/gf-character_3.png");
  background-repeat: no-repeat;
  background-position: left;
}

.section_2 .box,
.section_3 .box {
  padding: 4em 1em;
}



/*--------------------------------------------------------------------
領獎頁
--------------------------------------------------------------------*/
.section_4 .content {
  width: 500px;
  margin: 0 auto;
}
.section_4 .btn_area {
  margin-top: 2em;
}


footer {
  background: none;
}

@media screen and (max-width: 1280px) {
  .event_main {   
    width: 90% ;
  }
  section {
    width: 93%;
  }
  .section_1 .content {
    margin-left: 22%;
  }
  .label {
    width: 20%;
    height: 0;
    padding-top: 14.5%;
    background-size: cover;
  }
  .label span {
    position: absolute;
    width: 100%;
    text-align: center;
  }
  .label span:first-child {
    top: 1em;
    padding-top: 0;
  }
  .label .num {
    top: 30%;
  }

}

@media screen and (max-width: 1024px) {

  .step_2 .content a img {
    width: 120px;
    height: auto;
  }
  .event_wrapper {
    background-size: 120%;
  }
  .event_header {
    height: 650px;
  }

  .logo {
    bottom: 15%;
    top: auto;
  }
  .section_3 ol {
    margin-right: 160px;
  }

}

@media screen and (max-width: 960px) {

  .section_2 .box:before {
    width: 200px;
    height: 213px;
    background-size: cover;
  }
  .section_2 .content {
    margin-left: 220px;
  }

}


@media screen and (max-width: 880px) {
  body {
    font-size: 14px;
  }
  .logo {
    width: 100%;
    display: block;
    left: 0;
    margin-left: 0px;
  }
  .logo span {
    display: block;
    background-size: contain;
    width: 100%;

  }
  .logo>div {
    display: block;
    float: left;
  }
  .logo div {
    width: 16%;
  }
  
  .logo div:first-child,
  .logo div:last-child {
    width: 42%;
  }


  .label span:first-child {
    top: .5em;
  }
  .label .num {
    top: 25%;
  }
  .slogan {
    height: 0;
    padding-top: 23.04%;
    background-size: cover;

  }

}



@media screen and (max-width: 768px) {
  .section_1 .box {
    padding-top: 80px;
  }
  .section_1 .content {
    margin-left: 0;
    text-align: center;
  }
  .section_2 .content {
    margin-left: 0;
  }
  .section_3 ol {
    margin-right: 0;
  }
  .section_3 .box:before,
  .section_2 .box:before,
  .box.step_3:before {
    display: none;
  }
  .event_header {
    height: 550px;
  }
  .label {
    width: 120px;
    height: 87px;
    padding-top: 0;
    background-size: cover;
  }
  .label span {
    position: relative;
    width: 100%;
    text-align: center;
  }
  .label span:first-child {
    top: 1em;
    padding-top: 0;
  }
  .label .num {
    top: auto;
  }

}

@media screen and (max-width: 680px) {
/*  .label span:first-child {
    top: .2em;
    padding-top: 0;
  }
  .label .num {
    top: 25%;
    font-size: 2em;
  }*/
  .step_3 .prize {
    display: block;
    margin: 0 auto 1em;
  }
}

@media screen and (max-width: 640px) {
  body {
    font-size: 13px;
  }
  
  .btn_prize,
  .btn_prize:hover {
    width: 90%;
    height: auto;
    background: none;
    border-radius: 5px;
    border: 2px solid #ce5c5c;
    background: rgb(255,109,138); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,109,138,1) 0%, rgba(255,40,64,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,109,138,1) 0%,rgba(255,40,64,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,109,138,1) 0%,rgba(255,40,64,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff6d8a', endColorstr='#ff2840',GradientType=0 ); /* IE6-9 */
  }
  .btn_prize span {
   padding: 1em 0px;
  }
  .btn_prize br {
    display: none;
  }
}

@media screen and (max-width: 580px) {
  .step_2 .content a {
    display: block;
    margin-top: 1em;
  }
  .step_2 .content a img {
    width: 180px;
  }
  #fb-fans {
    display: block;
  }
  .section_2 .prize {
    margin:0 0 1em 0;
  }
  .section_2 .table,
  .section_2 .td {
    display: block;
    text-align: center;
  }
  .section_4 .content {
    width: 100%;
    margin: 0 auto;
  }

  .section_4 .labelArea,
  .section_4 .fieldArea {
    display: block;
    margin-bottom: .5em;
  }
  .section_4 .btn {
    margin-bottom: .5em;
  }
  .section_4 select ,
  .section_4 input {
    width: 100%;
  }

  
}

@media screen and (max-width: 500px) {
  body {
    font-size: 12px;
  }
  .btn_prize {
    font-size: 1em;
   
  }
  
}


@media screen and (max-width: 480px) {
  
    section .title {
   
      font-size:2em;

    }
  
}


@media screen and (max-width: 414px) {
  .event_main {
    
    padding-top: 5em;
    padding-bottom: 2em;
  }
  .event_header {
    height: 280px;
  }
  .slogan {
    bottom: -50px;
  }


  .gfo_logo {

    height: 100px;
  }
  .xxx {

    height: 100px;
  }
  .dj_logo {

    height: 100px;
  }
  #fb-fans {
    width: 95%;
    height: 70px;
    overflow: hidden;
    position: relative;
  }
  
}



@media screen and (max-width: 375px) {
  
  .event_header {
    height: 200px;
  }
  
  
}

