@font-face {
  font-family: 'Sylfaen';
  src: url('../fonts/Sylfaen.ttf'); /* IE9 Compat Modes */
}



body {
  margin: 0;
  font-family: 'Sylfaen';
}


* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

textarea:focus, input:focus{
    outline: none;
}


ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    text-decoration: none;
}

/* PAGE CSS */

.container {
  max-width: 1600px;
  width: 100%;
  margin: auto;
  padding: 0 10px;
  position: relative;
}

.top-header {
  text-align: right;
  background-image: none;
  background-repeat: repeat-x;
  border-radius: 0px;
  background-color: #8B693B;
  background: url(images/back2.jpg);
  height: 46px;
}

.top-header a {
  color: #fff;
  font-size: 18px;
  padding: 11px 0;
  display: inline-block;
}

.middle-header {
  text-align: center;
  text-align: center;
  padding: 80px 0 8px;
}

.middle-header img {
  position: relative;
  z-index: 5;
}


.border {
  background: url(images/bottom_logo.png) repeat-x;
  height: 20px;
  width: 100%;
  position: absolute;
  margin-top: -39px;
  z-index: 0;
}

.main {
  padding: 50px 0 0px;
  text-align: center;
}

.main img {
  padding-top: 30px;
  max-width: 100%;
}

.main h2, .main a  {
  color: #9f7b4a;
}

.contract p {
  font-size: 13px;
  font-style: italic;
}

@media only screen and (max-width: 768px) {
  .middle-header img {
    width: 70%;
  }
  .middle-header {
    padding: 20px 8px;
  }
  .main {
    padding: 0 0 20px;
  }

  .main h2, .main a {
    font-size: 17px;
  }
  .border {
    margin-top: -47px;
  }
}