/*--- reset ---*/
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input {
  margin: 0;
  padding: 0;
}
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,th {
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
}
abbr,acronym { border: 0; }
ul,ol { list-style: none; }
fieldset,img { border: none; }

/*--- site rule ---*/
body {
  font: 12px/18px "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #f1f0ed;
	color:#000;
}
.clear { clear:both; }
.m_main { display: none }

#mainpage {
	color: #000;
	background: url(../images/main.jpg) #f1f0ed center -30px no-repeat;
}

.logo {
  height: 40px;
  background: transparent url('../images/coscup.png') 15px 5px no-repeat;
  text-indent: -9999px;
  z-index: 99;
}


.sharing {
  position: absolute;
  right: 15px;
  top: 10px;
}

#archives {
  top: 18px;
  font-size: 11px;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 110px;
}
.sharing li {
  float: left;
  margin-right: 8px;
}
.sharing li.title hr { display: none; }
.sharing span { display: none }

.cfa {
  width: 725px;
	margin: 0 auto;
	padding-top: 510px;
	padding-left: 16px;
	min-height: 40px;
}
.cfa li {
  width: 224px;
  height: 30px;
  border: 1px #000 solid;
  float: left;
  margin-right: 15px;
}
.cfa li a {
  color: #000;
  padding: 3px;
  text-align: center;
  line-height: 25px;
  display: block;
  text-decoration: none;
}
.cfa li a:hover {
  background: #000;
  color: #fff;
}

#event_description {
  padding-top: 0px;
  margin-bottom: 15px;
  width: 710px;
	margin: 0 auto;
  }
  #event_description p{
    margin-top: 15px;
    font: 15px/20px "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}


#btn_open a {
  width: 135px;
  height: 128px;
  background: url(../images/btn_open.png) no-repeat;
  position: absolute; right: 10px; top: 488px;
  text-indent: -9999px; display: block;
}
#btn_open a:hover {
  filter: alpa(opacity=80);   /* old IE */
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=80,FinishOpacity=15, Style=3, StartX=0, FinishX=100, StartY=0,FinishY=16); /*supported by current IE*/
  -moz-opacity: 0.7;          /* Moz + FF */
  opacity: 0.7;               /* 支持新版瀏覽器 */
}

.sponsor {
  width: 100%;
  text-align: center;
  background-color: #f1f0ed; 
}
.sponsor li {
  font-size: 13px;
  font-family: "微軟正黑體", "Arial Unicode MS";
  margin-right: 8px;
  display: inline;
}
.sponsor li.last {
    display: block;
}
.sponsor li img {
  vertical-align: middle;
}
.sponsor li.title hr { display: none; }


@media screen and (max-device-width: 360px), screen and (max-width: 360px) {
  body {
    width: 100%;
  }
  #mainpage {
    background: none;
  }
  .m_main {
    display: block;
  }
  .logo {
    width: 100%;
    background: url(../images/logo.png) no-repeat center;
    display: block;
    position: absolute;
    top: 5px;
  }
  #archives {
    position: relative;
    left: 20px;
    width: 90%;
    top: 0px;
    font-size: 13px;
    line-height: 20px;
    padding-bottom: 10px;
  }
  .sharing {
    position: relative;
    width: 95%;
    float: left;
    margin-left: 16px;
    margin-bottom: 20px;
    right: 0;
  }
  .sharing li.title {
    width: 90%;
    margin-right: 8px;
    border: none;
    font-weight: bold;
    margin-bottom: 12px;
  }
  .sharing li.title hr {
    display: block;
    width: 65%;
    float: right;
    border: 0;
    height: 1px;
    background-color: #d4d4d4;	
    color: #d4d4d4;	/* IE6 */
  }
  .sharing li {
    width: 45%;
    border: 1px #999 solid;
    margin-bottom: 8px;
  }
  .sharing li img {
    width: 16px;
    vertical-align: middle;
  }
  .sharing li span {
    display: inline;
    margin-left: 5px;
  }
  .sharing li a {
    padding: 5px;
    line-height: 22px;
    text-decoration: none;
    color: #000;
    padding-left: 12px;
  }

  .cfa {
    width: 95%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cfa li {
    width: 95%;
    margin-bottom: 8px;
  }

  #event_description {
    width: 95%;
  }

  #btn_open {
    width: 90.5%;
    margin-left: 16px;
    border: 1px #000 solid;
    float: left;
    margin-bottom: 8px;
  }

  #btn_open a {
    top: 0;
    right: 0;
    height: 30px;
    width: auto;
    color: #000;
    text-align: center;
    line-height: 30px;
    display: block;
    text-decoration: none;
    background: url('../images/mobile/m_open.png') right no-repeat;
    position: relative;
    text-indent: 0;
  }

  .sponsor {
    width: 95%;
    margin-bottom: 20px;
    margin-left: 16px;
    text-align: left;
  }
  .sponsor li.title {
    width: 90%;
    margin-right: 8px;
    border: none;
    font-weight: bold;
    margin-bottom: 12px;
    display: block;
  }
  .sponsor li.last {
    display: inline;
  }
  .sponsor li.title hr {
    display: block;
    width: 65%;
    float: right;
    border: 0;
    height: 1px;
    background-color: #d4d4d4;	
    color: #d4d4d4	/* IE6 */
  }
}
