/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */

html {
  font-family: sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/** COMMON **/
html {
    box-sizing: border-box;
}

html.fixed,html.fixed body {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%
}

* {
    box-sizing: inherit;
}

*:before, *:after {
    box-sizing: inherit;
}

.clearfix:after,.clearfix:before {
    display: table;
    content: " "
}

.clearfix:after {
    clear: both
}

a {
    color: inherit;
    text-decoration: inherit;
}

img {
    max-width: 100%;
}

a:active,
a:focus,
input:active,
input:focus,
option:active,
option:focus,
select:active,
select:focus,
textarea:active,
textarea:focus {
    outline: 0;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

ul {
    list-style: none;
    -webkit-padding-start: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 14px;
    font-weight: normal;
    font-family: Arial, "Helvetica Neue", sans-serif;
}

/** INDEX **/
.app {
    background: url(../images/index-grid-background.png);
    background-size: 10px;
    color: #fff;
    max-width: 640px;
    margin: 0 auto;
}

.audio-control {
    width: 39px;
    height: 39px;
    position: fixed;
    bottom: 4px;
    right: 4px;
    z-index: 10;
    text-align: center;
    line-height: 39px;
}

.audio-control .pp-btn {
    width: 39px;
    height: 39px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 39px;
}

.audio-control .pp-btn.play {
    background-image: url(../images/icon-play.png);
}

.audio-control .pp-btn.pause {
    background-image: url(../images/icon-pause.png);
}

.audio-control .pp-btn:active {
    width: 35px;
    height: 35px;
    vertical-align: middle;
    background-size: 35px;
}

.header {
    position: relative;
}

.header-index {
    background: url(../images/index-header.png) no-repeat;
    background-size: 100%;
    padding-bottom: 180%;
}

.act-intro {
    width: 90%;
    color: #194097;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    border: 2px #ff514b solid;
    margin: 15px auto;
    padding-bottom: 6px;
}

.act-intro .title {
    display: inline-block;
    margin: -20px auto 0;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    color: #fff;
    padding: 0 10px;
    background: #ff514b;
    font-weight: bold;
}

.act-intro h3 {
    font-size: 20px;
    height: 24px;
    line-height: 24px;
    position: relative;
    margin-top: 12px;
    margin-bottom: 10px;
}

.act-intro h3:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    border-top: 2px #194097 dotted;
}

.act-intro h3 span {
    padding: 0 10px;
    background: #fff;
    position: relative;
}

.act-intro p {
    padding: 0 6%;
    line-height: 20px;
    margin-top: 14px;
    font-size: 15px;
    text-align: left;
}

.count-down-part {
    width: 80%;
    background: #ff514b;
    margin: 0 auto;
    border-radius: 8px;
    position: relative;
    padding: 5px 0 20px;
    margin-top: 50px;
    text-align: center;
    min-width: 290px;
}

.count-down-part:before {
    content: '';
    display: block;
    position: absolute;
    height: 50px;
    width: 3px;
    border-left: 3px #ff514b dotted;
    left: 50%;
    top: -50px;
}

.count-down-part h4 {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 24px;
    text-align: center;
}

.count-down-part .count-down-wrapper {
    height: 41px;
    line-height: 41px;
}

.count-down-part .count-down-wrapper div {
    display: inline-block;
    font-size: 36px;
    font-weight: 300;
    font-family: 'Lato', monospace, 'Pingfang SC', 'Roboto';
    width: 45px;
    text-align: right;
    margin-left: 4px;
}

.count-down-part .count-down-wrapper span {
    font-size: 14px;
    margin-left: 4px;
    margin-right: 6px;
}

.content-header {
    background: url(../images/index-content.png) no-repeat;
    background-size: 100%;
    padding-bottom: 84%;
}

.candidate-list {
    padding: 0 10px;
    margin-top: 5px;
}

.candidate-list .candidate-item {
    width: 33.3%;
    float: left;
    padding: 5px;
    position: relative;
}

.candidate-list .candidate-item .rank-mark {
    width: 26px;
    height: 37px;
    background-repeat: no-repeat;
    background-size: 26px;
    position: absolute;
    top: -5px;
    left: 0;
}

.rank-mark.icon-top-1 {
    background-image: url(../images/top1@2x.png);
}

.rank-mark.icon-top-2 {
    background-image: url(../images/top2@2x.png);
}

.rank-mark.icon-top-3 {
    background-image: url(../images/top3@2x.png);
}

.candidate-list .candidate-item .candidate-link {
    display: block;
    border: 2px #fff solid;
    border-radius: 6px;
    padding: 5px 0 20px;
    color: #fff;
    font-weight: bold;
}

.candidate-link .title,
.candidate-link .avatar-wrapper,
.candidate-link .voted {
    display: block;
    text-align: center;
}

.candidate-link .title {
    margin-bottom: 5px;
    font-size: 12px;
    padding: 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-link.disabled .avatar-wrapper .avatar .image-box:before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(252,113,110,.85);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.candidate-link.disabled .avatar-wrapper .avatar .image-box:after {
    display: block;
    content: '';
    width: 40px;
    height: 18px;
    position: absolute;
    border-left: 3px #2dfabe solid;
    border-bottom: 3px #2dfabe solid;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -18px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.candidate-link .avatar-wrapper {
    padding: 0 5%;
}

.candidate-link .avatar-wrapper .avatar {
    width: 100%;
    overflow: hidden;
    display: inline-block;
    padding-bottom: 100%;
    position: relative;
    box-sizing: content-box;
}

.candidate-link .avatar-wrapper .avatar .image-box {
    vertical-align: middle;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px #fff solid;
    overflow: hidden;
    display: block;
    box-sizing: border-box;
    border-radius: 50%;
    /*background-repeat: no-repeat;
    background-size: 100%;*/
}

.candidate-link .avatar-wrapper .avatar .image-box img {
    width: 100%;
    vertical-align: middle;
    border: none;
}

.candidate-link .voted {
    margin-top: 8px;
    color: #ff514b;
}

.content {
    text-align: center;
}

.content .load-more-btn {
    display: inline-block;
    height: 36px;
    line-height: 36px;
    padding: 0 20px;
    margin: 0 auto 18px;
    background: #ff514b;
    border-radius: 2px;
    font-weight: bold;
}

.footer {
    text-align: center;
    border-top: 2px #ff514b dashed;
    padding: 10px 0 30px;;
}

.footer .footer-desc {
    width: 263px;
    padding-bottom: 21%;
    background: url(../images/footer-desc.png) no-repeat;
    background-size: 100%;
    margin: 25px auto 10px;
}

.footer .jam-qr-code {
    max-width: 150px;
    width: 40%;
    margin: 10px 0;
}

.footer p {
    color: #ccc;
}

.footer a {
    font-size: 18px;
}

#row_2 {
    display: none;
}

#row_3 {
    display: none;
}
