/** Page ** */
.entry-meta {
  font-size: inherit;
  padding: 10px 0 30px;
  position: relative;
}
.entry-meta a {
  font-weight: normal;
}
.entry-meta .edit-link {
  position: absolute;
  top: 0;
  right: 0;
}

body {
  padding: 0;
  font-family: Open Sans, Helvetica, Arial, sans-serif;
  font-weight: 400;
}

#page {
  margin: 0 auto;
  max-width: 100%;
  /*box-shadow: 0 0 75px rgba(0, 0, 0, 0.25);
   *border: 1px solid #ddd;
   *border-width: 0 1px 1px; */
}

.one-column #page {
  max-width: 100%;
}

#main {
  max-width: 1000px;
  margin: 0 auto;
}

/** Header ** */
/* Header sizes & title on standard pages */
/*#branding h1,
 *#branding h2 {
 *  display: none;
 *}
 *
 *#branding {
 *  height: 138px;
 *} */
/* Header sizes & title on the home page */
/*body.home #branding h1,
 *body.home #branding h2 {
 *  display: block;
 *}
 *
 *body.home #branding {
 *  height: 220px;
 *} */
#branding {
  height: 182px;
  border: none;
  overflow: hidden;
  background: url(header-transparent.png) no-repeat 100% 0 #a40000;
}
#branding a:hover {
  color: white;
}
#branding img {
  width: auto;
  float: left;
}
#branding .hgroup {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
#branding .hgroup > a > img {
  margin: 45px 0 0 20px;
  opacity: 1;
}
#branding #site-title {
  margin-right: 20px;
}

/* General header style */
@media screen and (min-width: 651px) {
  #site-title {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    /* Vertically align with the logo */
    line-height: 156px;
  }
  #site-title a {
    text-shadow: none !important;
    font-size: 40px;
    font-weight: normal;
  }
}
@media screen and (max-width: 650px) {
  #branding {
    overflow: visible;
    /* Fix the overflow issue */
    border-top: 1px solid #550000;
  }
  #branding .hgroup > a > img {
    margin: 20px auto 10px;
  }
  #branding img {
    float: none !important;
  }
  #branding #searchform {
    text-align: center;
    margin: 1em 0 0;
    top: 217px !important;
    position: absolute !important;
    width: 100%;
    display: none;
  }
  #branding #searchform #s {
    float: none !important;
    width: 80% !important;
    border: 1px solid #999999 !important;
  }

  .blog {
    /* Make room for search on the blog page */
    /* Show search on the blog page */
  }
  .blog #main {
    padding-top: 60px;
  }
  .blog #searchform {
    display: block !important;
  }

  .rhcnews {
    display: none;
  }

  .mission-text {
    font-size: 15px;
    padding: 10px 0;
  }

  #rh-logo,
  #site-title {
    text-align: center;
    padding: 0;
    margin: 0 auto;
  }

  #site-title {
    position: static;
  }
  #site-title a {
    text-shadow: none !important;
    font-weight: normal;
  }
}
#site-description {
  display: none !important;
}

/* More branding/header style */
#branding h1, #branding h2, #branding .hgroup a {
  color: white;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
}
#branding h1 {
  /*  text-transform: uppercase; */
  /*opacity: 0.8;
   *font-size: ; */
}

input#s {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Restyle the navigation bar */
#access {
  font-family: Interstate, "Liberation Sans", Helvetica, Arial, sans-serif;
  /*  text-transform: uppercase; */
  background: black;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 0;
  margin: 0;
  box-shadow: none;
}
#access li:hover > a, #access a:focus {
  /*background: #c00;
   *background: rgba(220,0,0,0.5); */
  color: white;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.2) 6px, transparent 90%);
}
#access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a {
  /*background: #c00; */
  background: linear-gradient(to top, white 6px, rgba(255, 255, 255, 0.2) 6px, transparent 90%) !important;
}
#access div {
  max-width: 1000px;
  margin: 0 auto;
}
#access ul {
  margin: 0;
  padding-left: 20px;
}
#access li > a, #access a {
  font-weight: normal !important;
  -moz-transition: all 0.15s;
  -webkit-transition: all 0.15s;
  transition: all 0.15s;
  font-size: 190%;
  color: white;
  padding: 0 1em;
  line-height: 2.4;
}

/** General style for pages ** */
#site-title {
  font-family: Interstate, "Liberation Sans", Helvetica, Arial, sans-serif;
}

#content h1, #content h2, #content h3, #content h4 {
  color: #777777;
  font-weight: normal;
}
#content h1 {
  font-size: 28pt;
}

body.page #content h2 {
  font-size: 22pt;
  font-weight: normal;
  margin-top: 2em;
}

#content h1 {
  padding-top: 1.5em;
}
#content .entry-header h1,
#content .entry-content h1 {
  padding-top: 0;
}

.entry-content,
.entry-summary {
  padding-top: 0;
  padding-bottom: 0;
}

.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
  margin: 0 auto;
  width: 100%;
}
.singular.page .hentry {
  padding-top: 1.5em;
}

.one-column.singular .entry-meta .edit-link a, .entry-meta .edit-link a {
  top: 10px;
}

/** Front page ** */
#project-highlights ul {
  margin: 0;
  padding: 0;
}
#project-highlights li {
  margin: 0;
  padding: 0;
  overflow: hidden;
  clear: both;
  margin: 1em 0;
}
#project-highlights .title {
  display: none;
}
#project-highlights .imgcol, #project-highlights p {
  float: left;
}
#project-highlights .imgcol {
  width: 22.5%;
  text-align: right;
  padding: 0 5% 0 0;
}
#project-highlights .imgcol img {
  max-width: 100%;
}
#project-highlights li p {
  width: 72.5%;
}
#project-highlights li:nth-child(odd) .imgcol, #project-highlights li:nth-child(odd) p {
  float: right;
}
#project-highlights li:nth-child(odd) .imgcol {
  text-align: left;
  padding: 0 0 0 2.5%;
}

/* Alternate sides */
/* Call to action */
.call-to-action {
  width: 100%;
  padding: 2em;
  text-align: center;
}
.call-to-action a {
  background-clip: padding-box;
  background-color: #cc0000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 9px;
  border: 1px solid #990000;
  box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.4), inset -1px -1px 1px 0 rgba(0, 0, 0, 0.3), 1px 1px 3px 0 rgba(0, 0, 0, 0.5);
  color: white;
  padding: 9px 18px;
  text-decoration: none;
  /* Disable text selection; this is acting as a widget */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.call-to-action a:hover {
  background-color: #dd0000;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
}
.call-to-action a:active {
  box-shadow: inset -1px -1px 1px 0 rgba(255, 255, 255, 0.4), inset 1px 1px 2px 0 rgba(0, 0, 0, 0.3), 0 0 2px 0 rgba(0, 0, 0, 0.25);
  background-color: #aa0000;
  color: #eebbbb;
  text-shadow: none;
}

/** Home ** */
.rhcnews {
  margin-left: 50px;
}
.rhcnews h1 {
  font-size: 170%;
  margin-bottom: 30px;
}
.rhcnews h2 {
  font-size: 150%;
}

#nav-single {
  top: -1.7em;
}

/** Mission ** */
.mission {
  background-color: #fff7b2;
  line-height: 1.5;
  margin: 20px 0 40px;
}

.mission-text {
  color: #5d5a41;
  width: 90%;
  margin: 0 auto;
  padding: 1.5em 0;
  font-size: 130%;
}
.mission-text strong {
  color: black;
}

/* Sidebar */
#secondary {
  margin-right: 5.6%;
  width: 20.8%;
}
#secondary h2 {
  font-size: 170%;
}

.widget-title {
  font-size: 170%;
  text-transform: none;
  font-weight: normal;
  letter-spacing: normal;
  line-height: normal;
  /* Cheat a little to make "Upcoming events" fit (and not wrap) */
  margin-right: -1ex;
}

.widget {
  word-wrap: none;
  -moz-hyphens: none;
}
.widget ul {
  list-style: square inside none;
  margin: 0px 0px 0px 20px;
}

.widget-area {
  font-size: inherit;
}
.widget-area p {
  margin-bottom: 0;
  margin-left: 10px;
}

.widget ul li {
  color: inherit;
  font-size: inherit;
}

.widget-area a {
  color: #3565a4 !important;
}

/* Reset search */
#branding #searchform {
  z-index: 1;
  right: auto;
  max-width: 1000px;
  margin: 0 auto;
  /* Shove the search container to the bottom of the header (182px) */
  position: relative;
}

#searchform #s {
  width: 20ex !important;
  font-size: inherit;
  background-color: white;
  border-radius: 0;
  border: none;
  /* Move the search form up a bit */
  position: relative;
}

@media screen and (min-width: 641px) {
  #branding #searchform {
    top: 182px !important;
    right: 0 !important;
  }

  #searchform #s {
    margin-top: -2.3em;
    margin-right: 20px;
  }
}
#branding {
  line-height: 2.4;
}

@media screen and (max-width: 640px) {
  #access ul {
    padding: 0;
    text-align: center;
  }
  #access li {
    width: 25%;
  }
  #access li > a {
    font-size: 15px;
    padding: 10px 0;
  }
}
.floatHeader #access,
.floatHeader #branding #searchform {
  position: fixed;
  top: 0;
  bottom: auto;
}
.floatHeader #branding #searchform {
  left: 0;
  max-width: 1000px;
  top: 48px !important;
}
.floatHeader #access {
  background: #770000;
}

.legal-body {
  font-size: 8pt;
  text-align: center;
  margin-bottom: -8.3em;
  color: #555555;
}

body.admin-bar.floatHeader #access,
body.admin-bar.floatHeader #searchform {
  /* Shift down floating nav for signed-in users */
  margin-top: 28px !important;
}
