html, body {
  padding: 0px;
  margin: 0px;
  font-family: arial, helvetica, sans-serif;
}

html {
  background: url(/_gfx/page-bgd-picture.jpg) 50% 0 no-repeat;
  background-attachment: fixed;
  height: 100%;
  background-color: #281e11;
}

body {
  padding: 1px;
  line-height: 1.4em;
  min-height: 100%;
}


#main {
  background-color: white;
  border-width: 0px;
  border-radius: 7px;
  margin: 10px;
  width: 860px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
  margin: 10px auto;
  overflow: hidden;
}

nav.topmenu {
  clear: both;
  background-color: #bd1d14;
  color: white;
  padding: 0px 0px 0px 280px;
  box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.2)
}

nav.topmenu a {
  color: white;
  text-decoration: none;
  font-family: arial, helvetica, sans-serif;
  font-size: 15px;
  display: inline-block;
  padding: 10px 8px;
  border-color: #bb0000;
  border-style: solid;
  border-width: 0px;
  transition: background 0.5s linear;
  -moz-transition: background 0.5s linear;
  -webkit-transition: background 0.5s linear;
}


nav.topmenu a:hover {
  background-color: #ee0000;
  background-repeat: repeat-x;
  border-bottom-width: 4px;
  padding-bottom: 8px;
  margin-bottom: -2px;
  -moz-transition: background 0.5s linear;
  -webkit-transition: background 0.5s linear;
  transition: background 0.5s linear;
}

nav.topmenu ul {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

nav.topmenu > ul > li {
  display: inline-block;
  padding: 0px;
  margin: 0px;
  vertical-align: bottom;
}

header {
  background-image: url(/_gfx/top-logo.png);
  background-repeat: no-repeat;
  background-position: 34px 20px;
  height: 140px;
  a {
    display: inline-block;
    width: 100%;
    height: 140px;
  }
  img {
    float: right;
    border-width: 0px 20px 0px 75px;
    border-style: solid;
    border-color: #cec6a7;
    border-top-right-radius: 6px;
    height: 140px;
  }
}


article {
  padding-top: 52px;
  min-height: 400px;
  margin-left: 290px;
  width: 530px;
  margin-bottom: 80px;
}

article * {
  color: #6f593f;
}


img.photo {
  -webkit-border-radius: 8px;
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: #dcb;
  box-shadow: 1px 1px 8px #dcb;
  display: block;
  margin: 10px auto;
}


h1 {
  font-size: 22px;
}


aside {
  margin: -22px 25px 10px 20px;
  min-height: 400px;
  width: 240px;
  float: left;
  padding-bottom: 40px;
}

aside .box-default {
  background-color: white;
  margin-bottom: 10px;
  border-style: solid;
  border-color: #bbb3ab;
  border-width: 1px;
  border-radius: 6px;
}

footer {
  clear:both;
  background-color: #dfd7d1;
  padding: 14px 28px;;
  font-size: 12px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  color: #6F593F;
}


footer a {
  float: right;
  display: block;
  text-decoration: none;
  color: white;
  transition: color 1s 0.5s ease-in-out;
}


footer a:hover {
  color:  black;
  transition: color 0.2s ease-in-out;
}


.box-default * {
  color: #6f593f;
}


.box-default h2 {
  font-size: 18px;
  padding: 36px 15px 22px 15px;
  margin: 0px;
}


.box-default hr {
  border-style: solid;
  border-width: 1px 0px 0px 0px;
  border-color: #bbb3ab;
  padding: 0px;
  margin: 0px;
}


.box-default div {
  padding: 0px 15px;
  margin: 0px;
  font-size: 12px;
}

ul.newslist {
  margin: 0px;
  padding: 0px;
}

ul.newslist > li {
  display: grid;
  grid-template-areas:
    "title date"
    "contents contents"
    "more more";
  grid-template-columns: 1fr auto;
  margin-bottom: 2em;
}

ul.newslist > li > h2 {
  grid-area: title;
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}
.newslist > li > div {
  grid-area: contents;
}
.newslist > li > div p {
  margin: 0.4em 0 0;
}

.newslist > li > a {
  grid-area: more;
  justify-self: end;
  font-size: 14px;
  outline-color: transparent;
  font-weight: bold;
  text-decoration: none;
  border-width: 1px;
  border-color: white;
  border-style: solid;
  border-radius: 4px;
  display: inline-block;
  padding: 2px 12px;
  line-height: 1.3em;
  margin-right: -14px;
  transition: all 0.2s ease-in-out;
}

.newslist > li > a:hover {
  border-color: #e7e6e4;
  background-color: #f5f3f2;
  box-shadow: 0px 0px 3px #a5885f;
  margin-right: 0px;
}

.newslist > li > time {
  grid-area: date;
  font-size: 14px;
}



a.nice-link {
  outline-color: transparent;
  font-weight: bold;
  text-decoration: none;
  border-width: 1px;
  border-color: white;
  border-style: solid;
  border-radius: 4px;
  display: inline-block;
  padding: 2px 12px;
  line-height: 1.3em;
  margin-right: -14px;
  transition: all 0.2s ease-in-out;
}



a.nice-link {
  border-color: #e7e6e4;
  background-color: #f5f3f2;
  box-shadow: 0px 0px 3px #a5885f;
  margin-right: 0px;
}

a.nice-link {
    box-shadow: 0px 0px 1px #a5885f;
    font-size: 12px;
}

a.nice-link:hover {
    background-color: #e5e1de;
    box-shadow:  0px 0px 3px #908050;
}

.box-default * li {
    margin: 8px 2px;
    padding: 2px 0px 2px 6px ;
    border-width: 1px;
    border-color: white;
    border-style: solid;
    border-radius: 4px;
    transition: background 0.2s linear, border-color 0.2s linear;
    -moz-transition: background 0.2s linear, border-color 0.2s linear;
    -webkit-transition: background 0.2s linear, border-color 0.2s linear;
line-height: 1.4em;

}
.box-default * li:hover {
    border-color: #e7e6e4;
    background-color: #f5f3f2;
}

.box-default * li a {
    text-decoration: none;
}
