﻿:root {
  font-size: 16px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  min-height: 100%;
}
#wrapper {
  max-width: 668px;
  margin: 0.75rem auto;
  border: 1px solid #CBCBCB;
  padding: 0;
  background: #fff url(bg1.jpg) no-repeat bottom right;
  color: #000;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.125rem;
}
header {
  position: relative;
}
header a {
  content: "";
  position: absolute;
  bottom: 2%;
  right: 5%;
  width: 25%;
  height: 40%;
  z-index: 200;
}
article {
  margin: -4.25rem 0 0;
  padding: 0 2.3125rem;
}

article p:first-child {
    position: relative;
    z-index: 300;
}

article p:first-child {
    margin-bottom: 0;
    display: inline-block;
}

article p:nth-of-type(2) {
    position: relative;
}
footer {
  padding: 1rem 2.3125rem 0;
  position: relative;
}

footer p:nth-of-type(2) {
    text-align: right;
    position: absolute;
    top: 2.125rem;
    left: 21.4375rem;
    z-index: 200;
}
p {
  margin: 0 0 1rem;
}
h1 {
  margin: 1.375rem 0 3.75rem 0;
  font-size: 1.875rem;
  line-height: 1.75rem;
  font-weight: 400;
  text-align: right;
}

h1 small {
    display: block;
    font-size: 0.875rem;
}
a {
  color: #000;
  text-decoration: none;
}
ul {
  padding: 0 0 0.9375rem;
  margin: 0 -15px 0 0;
  list-style: none;
}
ul li {
  padding-left: 2.375rem;
}
li:before {
  content: '\2212';
  color: #000;
  float: left;
  margin-left: 0;
  font-size: 0.8125rem;
  text-indent: -1.25rem;
}
img {
  max-width: 100%;
  height: auto;
  width: auto\9; /* ie8 */
  border: none;
}

@media all and (max-width: 667px) {
  #wrapper {
    width: 100%;
    min-width: 200px !important;
    padding: 0.5rem;
    margin: 0;
    border: none;
  }

ul {
    margin-right: 0;
}
  header {
    height: auto;
    width: auto;
    padding: 0;
    margin: 0;
  }
  article {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
  }
  footer {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
  }
  footer br {
    display: block;
  }
  footer p:nth-of-type(2) {
    text-align: left;
    position: static;
  }
  h1 {
    font-size: 1.75rem;
  }
  br {
    display: none;
  }
}
