/* apply a natural box layout model to all elements */

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  min-height: 100%;
  width: 100%;
}

body {
  padding: 0;
  margin: 0;
  border: none;
  height: 100%;
  position: relative;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #fafafa;
  font-family: sans-serif;
  font-size: 14px;
}

a {
}

a:hover {
  color: #f60;
  color: #D0B800;
}

a > img {
  border-style: none;
}

#demo_title {
  font-size: 27px;
  font-weight: bold;
  color: rgb(95, 95, 95);
  display: inline-block;
  text-align: right;
  line-height: 11px;
  padding-top: 32px;
}

#demo_title > span {
  display: block;
}

#demo_title > span:first-child {
  font-size: 45px;
  line-height: 38px;
}

.demo_links {
  text-align: center;
}

.demo_links > div > a {
  padding: 0 2em 0 0;
  font-size: 19px;
  text-decoration: none;
  color: #d0b800;
}

#demo_body,.demo_links {
  /* width: 850px; */
  /* height: 100%; */
  margin: 4em auto;
  position: relative;
}


#demo_body button:focus {
  /* background-color: #A5A5A5; */
}

button {
  background-color: #D4D0C8;
  border: 1px solid rgb(196, 191, 181);
  padding: 0.4rem 0.8rem;
  font-size: 18px;
  font-weight: normal;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.3), -1px 0 1px rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);
}

button:hover {
  background-color: rgb(196, 188, 173);
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.4);
}

#resetVotesContainer {
  text-align: center;
  margin: 1em 0 1em 0;
}

#demo_body {
  /* width: 823px; */
  text-align: center;
}

.button {
  background-color: #D9D9D9;
  background: linear-gradient(to bottom, #fff, #e1e1e1);
  color: #111;
  font-weight: 600;
  text-align: center;
  padding: 0 13px;
  margin-left: 1px;
  border-radius: 4px;
  border: 1px solid rgb(121, 121, 121);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
  padding: 3px 6px;
  margin: 2px;
}

.button:hover {
  background-color: #777;
  background: linear-gradient(to bottom, #e8e8e8, #8d8d8d);
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
}

.button:disabled {
  background-color: #ddd;
  color: #aaa;
}

.status_line {
  position: absolute;
  bottom: -5em;
  left: 0;
  margin: 1em;
}

/* votes demo mobile - new styles */

nav {
  height: 74px;
}

.nav-wrapper .brand-logo {
  /* position: absolute; */
  top: 7px;
  left: 19px;
  -webkit-transfrom: initial;
  transform: translateX(0%);
  /* IE 11 does not do 'initial'*/
}

.nav-wrapper span {
  font-size: 38px;
  color: #A2A2A2;
  position: absolute;
  right: 0;
  top: 8px;
  font-weight: bold;
}

@media (max-width: 500px) {
  .brand-logo img.notOnNarrowScreens {
    display: none;
  }
}

#demo_body h1 {
  font-size: 2.5rem;
}

@media (max-width: 900px) {
   #demo_body {
      width: 95%;
   }
}


/* styles for this demo */

.demoState {
   margin-bottom: 3em;
}
