article footer {
  border-bottom: thin #ccc solid;
  padding-bottom: 1em;
  clear: both;
}
header .entry-meta p { padding-top: 0; }
header .entry-meta { font-size: 90%; }
.entry-meta .date { margin-right: 0; margin-left: 0;}
footer .comments-link { font-style: italic; font-size: .90em; }
article h3, article h4, article h5 { color: black; }
aside.widget select { margin-left: 20px; padding-top: 10px;}
.edit-link { font-size: 83%; }
.edit-link:before { content: "("; }
.edit-link:after { content: ")"; }

/* Right hand side menus */

body.category, body.date {
    font-size:82%;
    font-weight:inherit;
    font-style: inherit;
    text-transform: inherit;
    color: inherit;
}

body.category a { color: #003366;}
body.date { margin: 0; padding: 0; }

h3.category{
    font-size:108%;
    font-weight:normal;
    font-style: normal;
    text-transform:uppercase;
    color: #333;    
}

.widget h2 {
    background: url("/2008/site/images/category-bg-right.png") repeat-x scroll right bottom #FCFBFB;
    color: #347CB0;
    font-weight: bold;
    margin: 20px 0 3px 10px;
    padding: 5px 11px 15px 10px;
    text-shadow: 1px 1px 0 #FFFFFF;
}
.feedlink img { padding-top: 4px; }

ul#recentcomments li { padding-bottom: .5em; }
ul#recentcomments li a { font-style: italic; }

/* Comments */

.comment-list .comment { margin-bottom: 40px; }
.reply { margin-left: 20px; margin-top: 10px; }

.post-link, .login-link {
    width: 40%; 
    margin: 10px auto auto auto;
    padding: 0;
    text-align: center;
}

.post-link a {
    background: linear-gradient(to bottom, #E8AE9B 0%, #E2977E 40%, #DD8669 100%) repeat scroll 0 0 transparent;
    border: 0 none;
    border-radius: 2px 2px 2px 2px;
    font-size: 119%;
    line-height: 3;
     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    transition: all 0.2s ease-in-out 0s;
    color: black;
    border-bottom: none;
    text-align: center;
    padding: .75em;
}

.post-link a:hover, .login-link a:hover { opacity: .8; }

pre, code { line-height: inherit; }


.entry-content ul li, .comment-content ul li { list-style: disc inside none; padding-left: 1em; }
.entry-content ol li, .comment-content ol li { list-style: decimal inside none; padding-left: 1em; }

/* Search widget */

.widget .search-form .screen-reader-text { display: none; }
.widget .search-form { margin-left: 20px; }

/* Style for pull quote (blockquote) */
blockquote {
  font-size: large;
  font-style: italic;
  font-family: Courier new, Courier, Prestige, monospace;
  line-height: 1.3;
  color: #036;
  border-width: thin 0;
  text-align: center;
  padding: 0 2em;
  margin: 40px auto 20px;
  max-width: 30em;
}
blockquote strong {
  font-style: inherit;
  font-size: larger;
  line-height: 1;
}
/* To make the above work, we need to remove some style from P */
#w3c_main blockquote p {
  line-height: inherit;
  padding: 0;
}

/* Style for captioned images (.wp-caption) */
.wp-caption {
  text-align: center;
  border: 1px solid #ccc;
  padding: 20px 20px 0 20px;
  background: white;
}
.wp-caption::after {
  content: " ";
  height: 60px;
  margin: 20px -1em -61px -1em;
  background: url(/2008/site/images/footer-shadow-tr.png) bottom / 100% 
60px no-repeat;
  display: block;
}
/* Constrain images to the width of the caption box */
.wp-caption img {
  max-width: 100%;
  height: auto;
}

/* Alignment of images */
.alignright {
  float: right;
  max-width: 45%;
  height: auto;
  margin: 20px 20px 30px 2em;
  clear: right;
}
.alignleft {
  float: left;
  max-width: 45%;
  height: auto;
  margin: 20px 2em 30px 20px;
  clear: left;
}
.aligncenter {
  max-width: calc(100% - 80px);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.alignnone {
  max-width: calc(100% - 80px);
  height: auto;
}

@media handheld, only screen and (max-width: 480px) {
  .wp-caption {margin-right: 5px}
  .alignleft {margin-left: 5px}
  .aligncenter, .alignnone {max-width: calc(100% - 50px)}
}

/* Make empty p invisible */
 p:empty {padding-top: 0}

/* Improve display of featured images */
.entry-thumbnail {padding: 20px 20px 0; text-align: center}
.entry-thumbnail img {height: auto; max-width: 100%}

/* Image galleries */
.gallery {text-align: center; font-style: italic}
.gallery-icon a {border-bottom: none}
.gallery-icon img {max-width: 100%; height: auto}
@media (min-width: 481px) {
  .gallery-item {float: left; box-sizing: border-box}
  .gallery-item > * {padding: 0}
  .gallery-columns-1 .gallery-item {width: 100%}
  .gallery-columns-2 .gallery-item {width: 50%}
  .gallery-columns-3 .gallery-item {width: 33.3%}
  .gallery-columns-4 .gallery-item {width: 25%}
  .gallery-columns-5 .gallery-item {width: 20%}
  .gallery-columns-6 .gallery-item {width: 18.6%}
  .gallery-columns-7 .gallery-item {width: 14.2%}
  .gallery-columns-8 .gallery-item {width: 12.5%}
  .gallery-columns-9 .gallery-item {width: 11.1%}
}
