/*reset:*/
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-tap-highlight-color: transparent;
  /* Prevent tap highlight on iOS/Android */
  -webkit-text-size-adjust: 100%;
  /* Prevent automatic scaling on iOS */
}

body {
  background: #FFFFFF;
  color: #000000;
  line-height: 1;
}

body {
  margin: 0;
  background: #eee;
  color: #fff;
  font-family: tw cen mt;
}

h1 {
  color: black;
  text-align: center;
  margin-top: 10px;
}

.measure {
  clear: both;
  padding: 0.1em 1.7em;
  width: 300px;
  margin: 0 auto;
  font-size: 1em;
  position: relative;
  background: #000;
  border-radius: 3px;
}
.measure p {
  margin: 0.5em 0;
  color: #999;
}
.measure h4 {
  margin-bottom: 0;
}
.measure .yoursize {
  position: relative;
  background: #2a2a2a;
  border: 1px solid #222;
  width: 100%;
  margin: 0 auto;
  height: 130px;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 70px;
  z-index: 2;
}
.measure .yoursize ul {
  float: left;
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  transition: top 0.3s ease-out;
  top: 0;
  /*adjust this in 100 increments*/
  left: 0;
  width: 50%;
}
.measure .yoursize ul#underbust-size {
  text-align: right;
}
.measure .yoursize li {
  margin: 0;
  padding: 10px 0;
  display: block;
  height: 100px;
  font-size: 75px;
  width: 100%;
  line-height: 1;
}
.measure .bust {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.measure .bust .min, .measure .bust .max {
  color: #666;
  position: absolute;
  left: 0;
  bottom: 1.5em;
  transform: rotate(45deg);
  z-index: 0;
}
.measure .bust .max {
  left: 100%;
  margin-left: -1em;
}
.measure .bust .thumb {
  position: relative;
  float: left;
  clear: both;
  margin-left: 11%;
  width: 80%;
  z-index: 1;
  transition: all 50ms ease-in-out;
}
.measure .bust .thumb:before, .measure .bust .thumb:after {
  position: absolute;
  top: 3em;
  left: 0%;
  background: #676a6f;
  transition: background 0.1s ease-in-out;
}
.measure .bust .thumb:after {
  padding: 0 .5em;
  border-radius: .375em;
  transform: translate(-50%, -2.5em);
  color: #f1f3f2;
  font: 1.0125em / 2 verdana, sans-serif;
  content: "63cm";
}
.measure .bust .thumb:before {
  width: 1em;
  height: 1em;
  transform: translate(-50%, -1.12em) rotate(45deg);
  content: '';
}
.measure .bust .thumb:hover:before, .measure .bust .thumb:hover:after {
  background: #eee;
  color: #222;
}
.measure .bust.over .thumb:after {
  content: "77cm";
}
.measure .intl {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.4em;
  text-align: center;
  background: #3f3f3f;
  line-height: 2.4em;
  font-size: 0.8em;
}
.measure .intl span:before {
  content: attr(title);
  display: inline;
  opacity: 0.7;
}
.measure button {
  padding: 10px;
  margin: 20px auto;
  display: block;
  margin-top: 20px;
  position: absolute;
  bottom: 70px;
  transition: all ease-in-out 200ms;
  z-index: 0;
  opacity: 0;
  left: 10%;
  right: 10%;
  width: 80%;
}
.measure button.show {
  bottom: 0;
  opacity: 1;
}
.measure input[type='range'] {
  align-self: center;
  border: none;
  /*padding: 0 $input-pad;*/
  width: 100%;
  height: 5em;
  border-radius: .25em;
  background: transparent;
  font-size: 1em;
  cursor: pointer;
  /* slider components */
  /* slider states */
}
.measure input[type='range'], .measure input[type='range']::-webkit-slider-runnable-track, .measure input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 100%;
  position: relative;
}
.measure input[type='range']#overbust {
  margin-bottom: 3.4em;
}
.measure input[type='range']#overbust:before {
  content: "";
  position: absolute;
  display: block;
  background: #333;
  width: 43%;
  height: 2.4em;
  top: 2.8em;
  left: 0;
  z-index: 0;
  transition: 0.2s all;
  border-radius: 3px;
}
.measure input[type='range']::-webkit-slider-runnable-track {
  border: none;
  width: 100%;
  height: 1em;
  border-radius: .25em;
  box-shadow: inset 0 .125em .125em #444;
  background: #555;
  margin-bottom: -3em;
}
.measure input[type='range']::-moz-range-track {
  border: none;
  width: 100%;
  height: 1em;
  border-radius: .25em;
  box-shadow: inset 0 .125em .125em #444;
  background: #555;
  margin-bottom: -3em;
}
.measure input[type='range']::-ms-track {
  border: none;
  width: 100%;
  height: 1em;
  border-radius: .25em;
  box-shadow: inset 0 .125em .125em #444;
  background: #555;
  margin-bottom: -3em;
  color: transparent;
}
.measure input[type='range']::-ms-fill-lower, .measure input[type='range']::-ms-fill-upper {
  background: transparent;
}
.measure input[type='range']::-webkit-slider-thumb {
  border: none;
  width: 20%;
  height: 2em;
  border-radius: .25em;
  box-shadow: 0 .25em .25em #111;
  background: #e31937;
  background: -webkit-linear-gradient(#e31937 0%, #840f0f 100%);
  background: -moz-linear-gradient(#e31937 0%, #840f0f 100%);
  background: -o-linear-gradient(#e31937 0%, #840f0f 100%);
  background: linear-gradient(#e31937 0%, #840f0f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e31937', endColorstr='#840f0f',GradientType=0 );
  margin-top: -0.5em;
}
.measure input[type='range']::-moz-range-thumb {
  border: none;
  width: 20%;
  height: 2em;
  border-radius: .25em;
  box-shadow: 0 .25em .25em #111;
  background: #e31937;
  background: -webkit-linear-gradient(#e31937 0%, #840f0f 100%);
  background: -moz-linear-gradient(#e31937 0%, #840f0f 100%);
  background: -o-linear-gradient(#e31937 0%, #840f0f 100%);
  background: linear-gradient(#e31937 0%, #840f0f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e31937', endColorstr='#840f0f',GradientType=0 );
  margin-top: -0.5em;
  cursor: ew-resize;
}
.measure input[type='range']::-ms-thumb {
  border: none;
  width: 20%;
  height: 2em;
  border-radius: .25em;
  box-shadow: 0 .25em .25em #111;
  background: #e31937;
  background: -webkit-linear-gradient(#e31937 0%, #840f0f 100%);
  background: -moz-linear-gradient(#e31937 0%, #840f0f 100%);
  background: -o-linear-gradient(#e31937 0%, #840f0f 100%);
  background: linear-gradient(#e31937 0%, #840f0f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e31937', endColorstr='#840f0f',GradientType=0 );
  margin-top: -0.5em;
}
.measure input[type='range']:focus {
  outline: none;
}

#article {
  color:black;
  padding: 10% 20% 1%;
  font-size: 1.5em;
}

/* adjust menu bar */
.hbar-content {
  margin-top:auto !important;
}