html {
  margin: 0;
  padding: 0;
  /*font: 14px Helvetica Neue, Arial, PingFang SC, Hiragino Sans GB, STHeiti,*/
  /*Microsoft YaHei, sans-serif;*/
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

a {
  background: transparent;
}

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

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

img {
  border: 0;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/** https://stackoverflow.com/questions/17000562/removing-clear-and-reveal-password-icons-from-ie10 */
input::-ms-clear {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

input::-ms-reveal {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

/** https://stackoverflow.com/questions/2610497/change-a-html5-inputs-placeholder-color-with-css/2610741#2610741 */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color:    #999;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color:    #999;
  opacity:  1;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
  color:    #999;
  opacity:  1;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color:    #999;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color:    #999;
}

::placeholder { /* Most modern browsers support this now. */
  color:    #999;
}

input.placeholder { /* Internet Explorer 6-9 */
  color:    #999;
}

/* https://stackoverflow.com/questions/38663578/how-to-hide-autofill-safari-icon-in-input-field */
input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

input::-webkit-caps-lock-indicator {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}

input::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}


[type="search"] {
  -moz-appearance:    textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
