@media (max-width: 767px) {
  html {
    font-size: 7px;
  }
}
@media (min-width: 768px) {
  html {
    font-size: 8px;
  }
}
@media (min-width: 992px) {
  html {
    font-size: 9px;
  }
}
@media (min-width: 1200px) {
  html {
    font-size: 10px;
  }
}
body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font: 400 16px Lato, Arial, sans-serif;
  background: url(images/paper.jpg) 50rem repeat;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.container {
  max-width: 750px;
  margin: auto;
}

.clearfix {
  clear: both;
  margin: 0 !important;
}

#header {
  background: url(images/paper_blue.jpg) repeat;
  padding-top: 20px;
  border-bottom: 1.5rem solid #2a4d64;
  z-index: 5;
}
#header img {
  width: 910px;
  margin: auto;
}

#content {
  padding: 0 20px;
}
#content .container {
  background: #fff;
  padding: 4rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  margin-top: -4rem;
  z-index: 10;
  position: relative;
}
#content .container h2:first-child {
  margin-top: 0;
}
#content .container h2 {
  font: 400 24px "Bowlby One", "Arial Black", Arial, sans-serif;
  color: #2a4d64;
}

#petition {
  text-align: center;
  background: #ebebeb;
  width: 360px;
  box-sizing: border-box;
  padding: 2rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2) inset;
  max-width: 100%;
}
#petition h2 {
  font-family: "Architects Daughter", Arial, sans-serif !important;
  color: #191a1a !important;
  font-size: 28px !important;
}
#petition input {
  display: inline-block;
  border: none;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
  font-size: 16px;
  border-radius:0;
}
#petition input, #petition h2, #petition p {
  text-align: left;
}
#petition div {
  margin-bottom: 10px;
}
#petition #firstname {
  float: left;
  width: 48%;
}
#petition #lastname {
  float: right;
  width: 48%;
}
#petition #email {
  float: left;
  width: 48%;
}
#petition #county {
  float: right;
  width: 48%;
  height: 38px;
  background: #fff;
  font-size: 14px;
}
}

#receipt {
  width: 300px;
}

.button {
  background: #4e9d1e;
  font: 400 16px Lato, Arial, sans-serif;
  color: #fff;
  display: inline-block;
  padding: 10px 20px;
  border: none;
  overflow: hidden;
  position: relative;
  outline: none;
}
.button span {
  /*content: '\f044';*/
  /*font-family: FontAwesome;*/
  font-size: 22px;
  color: #4e9d1e;
  background: #fff;
  z-index: 10;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 39px;
  transition: top 0.2s, box-shadow 0.2s, font-size 0.2s;
}
.button:hover, .button:focus {
  cursor: pointer;
  outline: none;
}
.button:hover span{
  top: 0;
}
.button:focus span{
  box-shadow:1px 1px 7px 0 rgba(0,0,0,.3) inset;
  font-size:20px;
}

#social {
  min-height: 200px;
  text-align: center;
  margin-top: 50px;
}
#social a {
  display: inline-block;
  width: 85px;
  height: 85px;
  margin: 10px;
  float: left;
}
#social a .icons {
  display: inline-block;
}
#social a img {
  filter: drop-shadow(5px 5px 1px rgba(0, 0, 0, 0.3));
  width: 80px;
  transition: filter 0.1s, margin 0.1s;
  -webkit-transition: filter 0.1s, margin 0.1s;
}
#social a:hover img, #social a:focus img {
  filter: none;
  margin: 2px 0 0 2px;
}
#social .icons {
  display: inline-block;
}
#social h2 {
  color: #2a4d64;
  font-size: 20px;
  font-family: Coda, Arial, sans-serif;
  margin-bottom: 10px;
}

#footer {
  text-align: center;
  color: #2c452a;
  font-size: 14px;
}

@media (max-width: 767px) {
  #header .mobile {
    display: block !important;
    width: 350px;
  }
  #header .desktop {
    display: none !important;
  }

  #content .container {
    margin-top: 20px;
  }

  #petition {
    float: none;
    display: block;
    margin: auto;
  }

  #receipt {
    display: block;
    margin: auto;
    float: none;
    margin-top: 30px;
  }

  #petition {
    float: none;
  }
}
@media (min-width: 768px) {
  .desktop {
    display: block !important;
  }

  #petition {
    max-width: 50%;
    display: inline-block;
    float: left;
  }

  #receipt {
    float: right;
    max-width: 50%;
    padding-left: 20px;
  }
}
