/* Site-wide style */
* {
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  background-color: white;
  background-image: -moz-linear-gradient( rgba(0,0,0,0.22), rgba(255,255,255,0) 500px );
  background-image: -webkit-linear-gradient( rgba(0,0,0,0.22), rgba(255,255,255,0) 500px );
  color: #555;
  -moz-transition: all .25s linear;
  -webkit-transition: all .25s linear;
  transition: all .25s linear;
}

a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 0 4px;
}

a:hover {
  color: #00B7FF;
  -webkit-transition:color 0.15s ease-in;
  -moz-transition:color 0.15s ease-in;
}

@-webkit-keyframes animBreath {
  50% {
    color: #FF0800;
  }
}

/* Heading (all pages) */

header {
  margin: 20px auto;
  width: 800px;
  min-height: 180px;
  padding-top: 70px;
  text-align: center;
}

header h1 {
  text-align: center;
  text-transform: uppercase;
  color: black;
  text-decoration: none;
  margin: 20px;
}

header h1 a {
  -webkit-animation: animBreath 3s 1 ease-in-out 10s;
  -moz-animation: animBreath 3s 1 ease-in-out 10s;
}

header h2 {
  background: #F1F1F1;
  background-image: -webkit-linear-gradient( #f8f8f8, #eee);
  background-image: -moz-linear-gradient( #f8f8f8, #eee);
  border-radius: 3px;
  color: #666;
  display: inline-block;
  padding: 6px 15px;
}

/* Footer */
footer {
  margin: 0;
  padding: 0;
  width: 100%;
  bottom: 8px;
}

footer .copy {
  padding: 5px;
  float: left;
}

footer .contact {
  padding: 5px;
  float: right;
}

/* Content box */

#contents {
  padding: 20px;
/*  background-color: #fff; */
  height: auto;
  margin: 0 auto;
  width: 800px;
}

/* Navigation style (first page) */

nav {
  border-bottom: 1px solid #DDD;
  border-top: 1px solid #DDD;
  margin-bottom: 25px;
  padding: 10px;
  text-align: center;
  width: 800px;
}

nav ol {
  list-style-type: none;
}

nav ol li {
  display: inline;
}

nav ol li a {
  color: #111;
  margin: 4px 15px;
}

@media screen and (max-width: 800px) {
  header {
    width: 100%;
  }
  
  header h1 {
    padding: 0;
    margin: 0;
  }
  
  #contents {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  nav {
    width: 90%;
    padding: 8px 5%;
  }
  
  nav ol li {
    margin: 4px 8px;
  }
}

@media screen and (max-width: 768px) {
  nav {
    width: 95% !important;
    padding: 10px 2.5% !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  nav ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-left: 0;
  }
  
  nav ol li {
    display: inline-block !important;
    width: auto !important;
    border-bottom: none !important;
    margin: 0 !important;
  }
  
  nav ol li a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f1f3f5;
    border-radius: 20px;
    font-size: 0.88rem;
    color: #495057;
    transition: all 0.2s ease;
    margin: 0 !important;
    text-decoration: none;
  }
  
  nav ol li a:hover {
    background-color: #e2e6ea;
    color: #007bff;
  }
  
  nav ol li a.active {
    background-color: #007bff !important;
    color: #fff !important;
  }
}

@media screen and (max-width: 500px) {
  header {
    min-height: 20px;
    padding-top: 20px;
  }

  header h1 {
    padding: 0;
    margin: 0;
  }
}

/* Blog list-specific styles */

ol.posts li {
  list-style-type: none;
}

ol.posts li h2 {
  margin: 10px 0 0px -30px;
  color: #333;
}

ol.posts li .meta,
ol.posts li .meta a {
  margin: 0;
  padding: 0 20px;
}

ol.posts li .meta a {
  padding: 0;
}

.entry-row td {
  padding-bottom: 10px;
}

/* Style for table cells */
.entry-title {
  color: #775845;
  width: 25%;
}

.entry-date {
  color: blue;
}

.entry-description {
  width: 40%;
}

.entry-location {
  color: green;
}



