html * { margin:0; padding:0;box-sizing:border-box; }

body { 
  width:100%; font-size:14px; 
  font-family:helvetica, arial, sans-serif;
  overflow-y: scroll;
  color:rgba(0,0,0,0.87);
  background-color:#fafafa;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  -webkit-text-size-adjust: 100%;
}

.button {
  cursor:pointer;
}

.titlebar {
  position:fixed;
  top:0;left:0;
  width:100%;
  background-color:#fff;
  box-shadow:0 0 3px 0 rgba(0,0,0,.12);
  z-index:1;
  padding:0 0px;
  clear:both;
}

.titlebar .first-row {
  position:relative;
  height:56px;
  max-width:960px;
  margin:0 auto;
}

.content {
  position:relative;
  max-width:960px;
  margin:0 auto;
}

.content .card {
  position:relative;
  width:100%;
}

.content .copyright {
  color:rgba(0,0,0,0.54);
  font-size:10px;
  text-align:center;
  margin:48px 0 0 0;
  padding:24px;
  border-top:1px solid #f0f0f0;
}

.content .copyright a {
  text-decoration: none;
  color:#448aff;
}

.titlebar .first-row .icon {
  position:relative;
  display:block;
  width:56px;
  height:56px;
  margin:auto 0;
  float:left;
}

.titlebar .language-menu {
  position:absolute;
  display:block;
  line-height:32px;  
  top:0;bottom:0;right:16px;
  height:32px;
  padding:0 16px;
  margin:auto 0;
  border-radius:2px;
  border:1px solid #f0f0f0;
  cursor:pointer;
  font-size:12px;
}

.titlebar .language-menu.press {
  background-color:#f0f0f0;
}

.popup {
  display:none;
  position:absolute;
  top:-8px;right:0;
  padding:8px 0px;
  font-size:14px;
  min-width:112px;
  background-color:#fff;
  box-shadow:0 0 8px 0 rgba(0,0,0,.26);
  z-index:2;
}

.popup.show {
  display:block;
}

.popup li {
  display:block;
  list-style-type:none;
  height:48px;
  line-height:48px;
  padding:0 16px;
  cursor:pointer;
  color:rgba(0,0,0,0.87); 
}

.popup li.press {
  background-color:#f0f0f0;
}

.titlebar .first-row .icon:before {
  content:'';
  display:block;
  position:absolute;
  top:0;left:0;bottom:0;right:0;
  margin:auto;
  width:48px;height:48px;
  border-radius:56px;
  background-color:#f0f0f0;
  -webkit-transition:transform 0.2s ease-out;
  -webkit-transform:scale(0,0);
  -webkit-transform-origin:center center;
  transform:scale(0,0);
  transform-origin:center center;
}

.titlebar .first-row .icon:after {
  content:'';
  display:block;
  position:absolute;  
  top:0;left:0;bottom:0;right:0;
  background-repeat:no-repeat;
  background-position: center center;
  background-size: 24px 24px;
}

.titlebar .first-row .icon.press:before {
  -webkit-transition:transform 0.1s ease-out;
  -webkit-transform:scale(1.0,1.0);
  -webkit-transform-origin:center center;
  transform:scale(1.0,1.0);
  transform-origin:center center;  
}

.titlebar .icon.scene:after {
  background-image:url(../icon/scene_72px.png);  
}

.titlebar .icon.back:after {
  background-image:url(../icon/ic_arrow_back_black_24dp.png);  
}

.titlebar .icon.ja:after {
  background-size:16px 11px;
  background-image:url(../icon/ja.gif);  
}

.titlebar .icon.en:after {
  background-size:16px 11px;
  background-image:url(../icon/en.gif);  
}


.titlebar .first-row .title {
  color:black;
  text-align:left;
  font-weight:normal;
  font-size:20px;
  line-height:56px;
  display:inline-block;
}

.titlebar .second-row {
  position:relative;
  width:100%;
  max-width:900px;
  margin:0 auto;
}

.titlebar .second-row .tab {
  position:relative;
  width:100%;
  max-width:600px;
  display:table;
  margin:0 auto;
}

.titlebar .tab a {
  text-decoration: none;
  color:inherit;
}

.titlebar .tab .tab-item {
  display:table-cell;
  width:25%;
  text-align:center;
  font-size:12px;
  height:44px;
  line-height:44px;
  color:rgba(0,0,0,0.54);
}

.titlebar .tab .tab-item.selected {
  border-bottom:2px solid #448aff;
  color:rgba(0,0,0,0.87);
  font-weight:bold;
}

.searchbox {
  width:100%;
  height:56px;
  padding:12px 16px;
  background-color:#eee;
}

.searchbox input {
  width:100%;
  height:32px;
  padding:0 8px;
  font-size:14px;
  border:1px solid #f0f0f0;
}

.section { 
  font-size:14px;
  color:rgba(0,0,0,0.54);
  font-weight:bold;
  line-height:48px;
  height:48px;
  border-bottom: 1px solid #f0f0f0;
  padding:0 16px;
}

.categories {
  background-color:white;
}

.categories:after {
  display:block;
  content:'';
  clear:both;
}

.category {
  position:relative;
  display:table;
  width:100%;
  cursor:pointer;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  background-color:#ffffff;
  padding-left:56px;
  height:72px;
  -webkit-transition:background-color 0.2s linear;
  transition:background-color 0.2s linear;
}

.category.press {
  background-color:#f0f0f0;  
  -webkit-transition:0s;
  transition:0s;
}

.category .inner {
  display:table-cell;
  vertical-align:middle;
}

.category a {
  text-decoration:none;
  color:inherit;
}

.category .title {
  font-size:16px;
}

.category .caption {
  font-size:12px;
  color:rgba(0,0,0,0.54);
}

.category:before {
  position:absolute;
  top:0;bottom:0;left:0;right:0;
  content:'';
  display:block;
  background-image: url("../icon/expand_more.png");
  background-position:center center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  width:56px;
}

.category.service:before {
  background-image: url("../icon/service.png");
}
.category.browse:before {
  background-image: url("../icon/browse.png");
}
.category.organize:before {
  background-image: url("../icon/manage.png");
}
.category.share:before {
  background-image: url("../icon/share.png");
}
.category.friend:before {
  background-image: url("../icon/friend.png");
}
.category.feed:before {
  background-image: url("../icon/feed.png");
}
.category.feedback:before {
  background-image: url("../icon/feedback.png");
}
.category.connect:before {
  background-image: url("../icon/connect.png");
}
.category.other:before {
  background-image: url("../icon/other.png");
}

.entry {
  position:relative;
  width:100%;
  background-color:#ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  -webkit-transition:background-color 0.2s linear;
  transition:background-color 0.2s linear;
}

.entry .title.press {
  background-color:#f0f0f0;
  -webkit-transition:0s;
  transition:0s;
}

.entry .title {
  display:table;
  position:relative;
  padding:12px 56px 12px 16px;
  width:100%;
  min-height:56px;
  font-size:16px;
  cursor: pointer;
}

.entry .title .inner {
  display:table-cell;
  vertical-align:middle;
}

.entry .title:after {
  content:'';
  position:absolute;
  right:12px;
  top:0;bottom:0;
  width:24px;
  height:100%;
  background-image: url("../icon/expand_more.png");
  background-position:center center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

.entry.open {
  border-bottom:none;
}

.entry.open .title:after {
  background-image: url("../icon/expand_less.png");
}

.entry .body {
  font-size:14px;
  display:none;
  padding:16px;
  background-color:#f8f8f8;
  line-height:1.8;
}

.entry.open .body {
  display:block;
  overflow-x:hidden;
}

.entry .body h1 {
  font-size:100%;
  font-weight:bold;
  margin:1em 0 0.5em 0;
}

.entry .body h2 {
  font-size:90%;
  font-weight:bold;
  padding:1em 0 0.5em 0;
}

.entry .body p {
  font-size:100%;
  margin:1em 0;
}

.entry .body p:first-child, .entry .body h1:first-child, .entry .body h2:first-child {
  margin-top:0;
}

.entry .body p:last-child {
  margin-bottom:0;
}

.entry pre {
  font-size:90%;
  padding: 8px;
  border: 1px solid #cccccc;
  background-color: #f8f8f8;
  color: #334466;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: auto;
}

.entry .sample {
  font-size:90%;
  padding: 8px;
  border: 1px solid #cccccc;
  background-color: #f8f8f8;
}

.entry a {
  color:#447aff;
  text-decoration: none;
}

.entry a.button {
  display:inline-block;
  height:40px;
  min-width:64px;
  margin:8px 0;
  padding:0 8px;
  line-height:40px;
  font-size:14px;
  font-weight:bold;
  color:#447aff;
  background-color:white;
  box-shadow:0 0px 2px 0 rgba(0,0,0,0.25);
  border-radius:2px;
}

.entry a.button:active {
  opacity:0.5;
}

.entry ul { font-size:inherit; padding:0px 8px; margin:4px 0px;}
.entry ol { font-size:inherit; list-style:none; padding:0px 8px; counter-reset: num; }
.entry ul > li { margin: 4px 0px 4px 16px; }
.entry ol > li { margin: 4px 0px 4px 0px; }

.entry ol > li:before {
  content: counter(num) '. ';
  counter-increment: num;
}

.entry ol ol > li:before {
  content: counters(num, '.') ' ';
}

@media (min-width:600px) {
  .content {
    position:relative;
    margin:0 auto;
    padding:24px;
  }

  .titlebar .tab .tab-item {
    font-size:14px;
    height:36px;
    line-height:36px;
  }

  .content .card {
    border-radius:2px;
    background-color:white;
    box-shadow:0 0 3px 0 rgba(0,0,0,0.12);
    padding:24px;
    margin:24px 0;
  }

  .entry .title {
    padding:16px 56px 16px 16px;
    font-size:16px;
    cursor: pointer;
  }
  
  .entry .body {
    font-size:16px;
    padding:24px;
  }
  .section {
    font-size:20px;
    line-height:64px;
    height:64px;
  }

  .category {
    float:left;
    width:50%;
    border:none;
  }

}
