/*
 * MIT Awards Convocation website CSS overrides
 * rjw 11/19
 *
 *
 * Colors:
 *  #000000 - text
 *  #0d7da6 - blue headings
 *  #ae1722 - links, red background
 *  #2e8ea9 - blue highlight in views
 *  #eaeaea - light gray background
 *  #a7a9ac - gray dividers
 *
 * Breakpoints:
 *  541px -  wider outside margins (10px -> 20px)
 *  901px -  wider outside margins (20px -> 30px)
 *
**/

/* open sans */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,600,600italic,700,700italic");


/*** MISCELLANEOUS ***/

*, *::before, *::after {
  /* border box model for everything */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.screenonly {
  display: initial; /* note: IE does not understand this */
}
.printonly {
  display: none;
}
.retina {
  display: none;
}

@media (-webkit-min-device-pixel-ratio: 1.5),
       (min-resolution: 144dpi) {
  .retina {
    display: inline;
  }
  .nonretina {
    display: none;
  }
}
.nowrap {
  white-space: nowrap;
}
a:focus, input:focus {
  outline: 2px solid #2e8ea9;
}



/*** WINDOW ***/

html, body {
  margin: 0;
}
html {
  font-size: 62.5% !important;    /* base font size 10px */
  overflow-y: scroll;             /* force vertical scrollbar */
}
body.html {
  font-family: "Open Sans", Arial, Lucida, Helvetica, "Bitstream Vera Sans", sans-serif;
  color: #000000;
  word-wrap: break-word; /* allow long words/urls to break */
  background-color: transparent;
}
body.fs-smallest,
body.fs-small,
body.fs-medium,
body.fs-large,
body.fs-largest {
  font-size: 100%;  /* override base theme */
}
button {
  font-family: inherit;  /* prevents system font */
}


/*** PAGE ***/

#page-wrapper {
}
#page {
  background-image: url('/sites/default/files/css_injector_images_image/pinwheel_background.svg');
  background-position: calc(50% + 320px) 575px;
  background-repeat: no-repeat;
}
@media (min-width: 441px) {
  #page {
    background-position-y: 475px;
  }
}
@media (min-width: 641px) { /* wide */
  #page {
    background-position-y: 375px;
  }
}
/* these are all the wrappers in mit adaptive theme */
#menu-bar-wrapper,
#header-wrapper,
#top-panels-wrapper,
#mobile-menu-wrapper,  /* this one added by javascript */
#secondary-content-wrapper,
#messages-help-wrapper,
#content-wrapper,
#tertiary-content-wrapper,
#footer-panels-wrapper,
#footer-wrapper {
  margin: 0;
  background-color: transparent;
}

/* left/right gutters in all bands */
#page > div {
  padding: 0 10px;
}
@media (min-width: 541px) { /* intermediate */
  #page > div {
    padding: 0 20px;
  }
}
@media (min-width: 901px) { /* wide */
  #page > div {
    padding: 0 30px;
  }
}

/* inner page container */
#page > div > .container {
  display: block;
  padding: 0;
  margin: 0 auto;
  width: auto;
  max-width: 1040px;
  background-color: transparent;
}



/*** BLOCK DEFAULT STYLES ***/

/* these styles are often overridden by region in base themes, so need the .html selector */
.html .block {
  display: block;
  clear: both;
  float: none;
  width: 100%;
  padding: 0;
  margin: 0;
}
.html .block .block-inner {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* default text styles for blocks - same as in main content */
.block h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 3.6rem;
  color: #0d7da6;
  margin: 0 0 2.4rem 0;
}
.block h2 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 3.6rem;
  color: #0d7da6;
  margin: 0 0 2.4rem 0;
}
.block h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.6rem;
  color: #000000;
  margin: 0 0 2.6rem 0;
}
.block h4 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.block h5 {
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.block h6 {
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.block p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  color: #000000;
  margin: 0 0 2.6rem 0;
}
.block ul {
  margin: 0 0 2.6rem 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}
.block li {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.block a {
  color: #ae1722;
  text-decoration: none;
}
.block a:focus,
.block a:hover {
  color: #ae1722;
  text-decoration: underline;
}
.block hr {
  display: block;
  height: 3px;
  border: none;
  color: #a7a9ac;
  background-color: #a7a9ac;
  margin: 0 0 2.6rem 0;
  padding: 0;
}
.block hr.thick {
  height: 9px;
}
/* videos (note - responsive video resizing done by javascript) */
.block .videowrapper {
  width: 100%;
}
/* last child in block - no bottom margin */
.block .block-content > :last-child {
  margin-bottom: 0;
}



/*** HEADER BAND ***/

#header-wrapper {
  display: none;  /* not used - this also hides default branding */
}



/*** TOP PANELS BAND ***/

/* full screen width */
#page #top-panels-wrapper .container {
  max-width: none;
}
/* undo styles from base theme */
#top-panels-wrapper .three-3x33 .region {
  display: block;
  width: auto !important;
  margin: 0 auto;
  float: none;
}
/* background stripe */
#page #top-panels-wrapper {
  padding-bottom: 22px;
  background-image: url('/sites/default/files/imgstore/color_banner.png');
  background-position: 50% 100%;
  background-repeat: repeat-x;
}



/* ALERT BLOCK */

/* red background extending to edges */
#top-panels-wrapper .three-3x33 .region-three-33-first {
  margin: 0 -10px;
  background-color: #ae1722;
}
@media (min-width: 541px) { /* intermediate */
  #top-panels-wrapper .three-3x33 .region-three-33-first {
    margin: 0 -20px;
  }
}
@media (min-width: 901px) { /* wide */
  #top-panels-wrapper .three-3x33 .region-three-33-first {
    margin: 0 -30px;
  }
}
/* text stays in center column */
#top-panels-wrapper .block-alert {
  margin: 0 auto;
  max-width: 1040px;
}
#top-panels-wrapper .block-alert p {
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: #ffffff;
  text-align: center;
  padding: 5px 10px;
  margin: 0;
}
#top-panels-wrapper .block-alert a {
  color: #ffffff;
  text-decoration: none;
}
#top-panels-wrapper .block-alert a:hover,
#top-panels-wrapper .block-alert a:focus {
  color: #ffffff;
  text-decoration: underline;
}
@media (min-width: 541px) { /* intermediate */
  #top-panels-wrapper .block-alert p {
    padding: 5px 20px;
  }
}
@media (min-width: 901px) { /* wide */
  #top-panels-wrapper .block-alert p {
    padding: 5px 30px;
  }
}



/* LOGO REGION */

/* keep to center column */
#top-panels-wrapper .three-3x33 .region-three-33-second {
  margin: 0 auto;
  max-width: 1040px;
  padding: 32px 0 0 0;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}
@media (min-width: 901px) { /* wide */
  #top-panels-wrapper .three-3x33 .region-three-33-second {
    flex-flow: row nowrap;
    align-items: flex-start;
  }
}



/* SITE TITLE BLOCK */

#top-panels-wrapper .block-sitetitle p {
  line-height: 0;
  text-align: center;
}
#top-panels-wrapper .block-sitetitle img.desktop {
  display: none;
}
#top-panels-wrapper .block-sitetitle img.mobile {
  display: inline;
  width: 240px;
  max-width: 100%;
}
@media (min-width: 541px) { /* intermediate */
  #top-panels-wrapper .block-sitetitle img.mobile {
    display: none;
  }
  #top-panels-wrapper .block-sitetitle img.desktop {
    display: inline;
    width: 602px;
    max-width: 100%;
  }
}
@media (min-width: 901px) { /* wide */
  #top-panels-wrapper .block-sitetitle {
    flex: 1 1 auto;
    padding: 0 102px 0 0;
  }
  #top-panels-wrapper .block-sitetitle p {
    text-align: right;
  }
  #top-panels-wrapper .block-sitetitle img.desktop {
  }
}



/* MIT LOGO BLOCK */

#top-panels-wrapper .block-mitlogo p {
  line-height: 0;
  padding: 32px 0 0 0;
  text-align: center;
}
#top-panels-wrapper .block-mitlogo img {
  display: block;
  margin: 0 auto;
  width: 132px;
  max-width: 100%;
}
@media (min-width: 901px) { /* wide */
  #top-panels-wrapper .block-mitlogo {
    flex: 0 0 132px;
  }
  #top-panels-wrapper .block-mitlogo p {
    padding: 43px 0 0 0;
  }
}



/* PRIMARY NAVIGATION REGION */

/* keep to center column */
#top-panels-wrapper .three-3x33 .region-three-33-third {
  margin: 0 auto;
  max-width: 1040px;
  padding: 36px 0 14px 0;
}

#top-panels-wrapper .block-primary-nav {
  width: 100%;
}
#top-panels-wrapper .block-primary-nav .menu-block-wrapper ul { /* all ul */
  margin: 0;
  padding: 0;
  list-style: none;
}
/* hide any inner levels */
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li ul {
  display: none;
}
/* reset list item and link styles */
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li {
  display: block;
  float: none;
  margin: 0 !important;
  padding: 0;
  border: none;
  width: auto;
  height: auto;
  background-color: transparent;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: #000000;
  text-align: left;
}
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li {
  display: block;
}
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li > a {
  display: block;
  padding: 22px 36px 20px 36px;
  text-align: center;
  color: #000000;
  background-color: #ffffff;
  text-decoration: none;
}
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li > a.active {
  background-color: #eaeaea;
}
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li > a:focus,
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li > a:hover {
  color: #ffffff;
  background-color: #ae1722;
}

/* grid layout and dividers */
#top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li {
  border: 1px solid #cf2739;
}
@media (max-width: 440px) { /* narrow */
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul {
    display: grid;
    grid-template-columns: 1fr;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li {
    border-width: 1px 0 0 0;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li:last-child {
    border-width: 1px 0 1px 0;
  }
}

@media (min-width: 441px) and (max-width: 640px) { /* intermediate */
  #top-panels-wrapper .three-3x33 .region-three-33-third {
    padding: 36px 0 14px 0;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li:nth-child(1) {
    border-width: 0 1px 1px 0;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li:nth-child(2) {
    border-width: 0 0 1px 0;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li:nth-child(3) {
    border-width: 0 1px 0 0;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li:nth-child(4) {
    border-width: 0 0 0 0;
  }
}
@media (min-width: 641px) { /* wide */
  #top-panels-wrapper .three-3x33 .region-three-33-third {
    padding: 28px 0 6px 0;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li {
    flex: 0 0 auto;
    border-width: 0 1px 0 0;
  }
  #top-panels-wrapper .block-primary-nav .menu-block-wrapper > ul > li:last-child {
    border-width: 0 0 0 0;
  }
}



/*** CONTENT BAND ***/

/* layout at full width:
 *
 * 30 -        wrapper left padding
 *    1040 -   #content-column
 *         30  wrapper right padding
 */

#content-wrapper .container {
  padding-top: 0;
  padding-bottom: 0;
}
/* column layout */
/* this assumes column layout by base themes has been disabled */
#columns {
  padding-top: 74px;
  position: relative;
  z-index: 1;
}
#content-column {
  display: block;
  float: none;  /* override */
  padding: 0;
}



/* CONTENT COLUMN LAYOUT AND MISCELLANEOUS DEFAULTS */

.content-margin {
  margin: 0;
}
/* .content-style is the white padded box containing the content */
.content-style {
  padding: 0;
  border: none;
  background-color: transparent;
  min-height: 0;
}
/* .region-content-aside is the region below the main content, used for blocks/views appended to main content */
.region-content-aside {
  padding: 0;
  border: none;
  background-color: transparent;
}
/* remove extra space from main content block and node article */
.content-style #block-system-main,
.content-style article.article {
  margin: 0;
  padding: 0;
}
/* no margin on page title header element */
.content-style > header,
.article-inner > header {
  margin: 0;
}



/* PAGE TITLE */

/* page titles on this site are visually hidden */

.content-style h1.article-title,                       /* node title */
body.html h1#page-title {                              /* search results title and page title field */
  /* visually hidden */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}



/* MAIN CONTENT TEXT STYLES */

/* targets .content-inner rather than .content-style so as to include .region-content-aside */

.content-inner h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 3.6rem;
  color: #0d7da6;
  margin: 0 0 2.4rem 0;
}
.content-inner h2 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 3.6rem;
  color: #0d7da6;
  margin: 0 0 2.4rem 0;
}
.content-inner h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.6rem;
  color: #000000;
  margin: 0 0 2.6rem 0;
}
.content-inner h4 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.content-inner h5 {
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.content-inner h6 {
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.content-inner p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  color: #000000;
  margin: 0 0 2.6rem 0;
}
.content-inner ul {
  margin: 0 0 2.6rem 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}
.content-inner li {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  color: #000000;
  margin: 0;
}
.content-inner a {
  color: #ae1722;
  text-decoration: none;
}
.content-inner a:focus,
.content-inner a:hover {
  color: #ae1722;
  text-decoration: underline;
}
.content-inner hr {
  display: block;
  height: 3px;
  border: none;
  color: #a7a9ac;
  background-color: #a7a9ac;
  margin: 0 0 2.6rem 0;
  padding: 0;
}
.content-inner hr.thick {
  height: 9px;
}
/* videos (note - responsive video resizing done by javascript) */
.content-inner .videowrapper {
  width: 100%;
}
/* last child in long text fields - no bottom margin */
.content-inner .field-type-text-long > :last-child {
  margin-bottom: 0;
}

/* button link */

.content-inner a.button-link {
  display: inline-block;
  padding: 22px 64px;
  background-color: #ae1722;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-decoration: none;
}
.content-inner a.button-link:focus,
.content-inner a.button-link:hover {
  background-color: #626262;
}



/*** FOOTER BAND ***/

#page #footer-wrapper .container {
  padding: 40px 0 40px 0;
}
.region-footer {
  padding-top: 72px;
  background-image: url('/sites/default/files/css_injector_images_image/skyline.svg');
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  flex-flow: column nowrap;
}
@media (min-width: 541px) { /* intermediate */
  #page #footer-wrapper .container {
    padding: 60px 0 40px 0;
  }
  .region-footer {
    background-image: url('/sites/default/files/css_injector_images_image/skyline_full.png');
    background-size: auto;
    flex-flow: row nowrap;
  }
}
@media (min-width: 901px) { /* wide */
  #page #footer-wrapper .container {
    padding: 80px 0 60px 0;
  }
  .region-footer {
    padding-top: 80px;
  }
}



/* ADDRESS BLOCK */

.region-footer .block-address {
  text-align: center;
}
.region-footer .block-address h2 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.0rem;
  margin: 0;
}
.region-footer .block-address h2 a {
  color: #000000;
  text-decoration: none;
}
.region-footer .block-address h2 a:focus,
.region-footer .block-address h2 a:hover {
  color: #ae1722;
  text-decoration: underline;
}
.region-footer .block-address p {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.8rem;
  margin: 0.2rem 0 0 0;
}
.region-footer .block-address p.contact {
  margin-top: 0.8rem;
}
@media (min-width: 541px) { /* intermediate */
  .region-footer .block-address {
    text-align: left;
    flex: 0 0 auto;
    width: auto;
    margin-right: auto;
  }
  .region-footer .block-address h2 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.8rem;
  }
  .region-footer .block-address p {
    font-weight: 300;
  }
}
@media (min-width: 901px) { /* wide */
  .region-footer .block-address .block-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .region-footer .block-address h2 {
    margin: 0;
    white-space: nowrap;
  }
  .region-footer .block-address p.address {
    margin: 0 0 0 32px;
    white-space: nowrap;
  }
  .region-footer .block-address p.contact {
    margin: 0 0 0 24px;
    white-space: nowrap;
  }
}



/* SOCIAL BLOCK */

.region-footer .block-social {
  margin-top: 2.4rem;
  text-align: center;
}
.region-footer .block-social h2 {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.8rem;
  color: #000000;
}
.region-footer .block-social ul {
  margin: 1.4rem 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
.region-footer .block-social li {
  display: block;
  flex: 0 0 auto;
  margin: 0 3px;
}
.region-footer .block-social img {
  width: 39px;
  height: 39px;
}
@media (min-width: 541px) { /* intermediate */
  .region-footer .block-social {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0;
  }
  .region-footer .block-social h2 {
    font-weight: 300;
  }
}
@media (min-width: 901px) { /* wide */
  .region-footer .block-social .block-content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .region-footer .block-social .block-content ul {
    margin: -11px 0 0 12px;
  }
}



/*** JAVASCRIPT BLOCKS (IN ANY REGION) ***/

body #page-wrapper #page .block-javascript {
  display: none;
}




/*************************************/
/*** PAGE AND VIEW SPECIFIC STYLES ***/
/*************************************/


/* COMMON FIELD STYLES */

/* no bottom margin on last paragraph or other item inside main text area */
.field-name-field-maintext .field-item > :last-child {
  margin-bottom: 0;
}

/* fix a few inherited styles on all image fields */
.ia-c .field-type-image figure,
.ia-n .field-type-image figure {
  border: none;
  padding: 0;
}
.field-type-image figure img {
  margin: 0;
  padding: 0;
  text-align: left;
}
/* fix inherited style on views rows */
.region-content .views-row {
  border: none;
  margin: 0;
  padding: 0;
}
/* fix inherited style on views title field */
.region-content .views-row .views-field-title {
  font-size: inherit;
}
/* remove file icons (e.g. PDF icons) */
img.file-icon {
  display: none;
}

/* unpublished items in views */
.view .unpublished {
  background-color: #ffe8e8;
}

/* common introduction and body sections */
.content-inner .content-introduction {
  margin-top: -28px;
}
.content-inner .content-body {
  border-top: 3px solid #a7a9ac;
  padding-top: 24px;
}
.content-inner .content-introduction + .content-body {
  margin-top: 24px;
}
.content-inner .content-body + .content-body {
  margin-top: 32px;
}
.content-inner .content-introduction > :last-child,
.content-inner .content-body > :last-child {
  margin-bottom: 0;
}



/*** BASIC PAGE ***/

body.page-type-page {
}



/*** HOME PAGE ***/

/* different pinwheel */
body.page-type-homepage #page {
  background-image: url('/sites/default/files/css_injector_images_image/pinwheel_background_home.svg');
  background-position-y: 675px;
}
@media (min-width: 841px) {
  body.page-type-homepage #page {
    background-position-y: 625px;
  }
}
@media (min-width: 981px) { /* wide - image and text in one line */
  body.page-type-homepage #page {
    background-position-y: 525px;
  }
}
/* no color band */
body.page-type-homepage #page #top-panels-wrapper {
  padding-bottom: 0;
  background-image: none;
}
/* full width content */
body.page-type-homepage #page > #content-wrapper {
  padding: 0;
}
body.page-type-homepage #page > #content-wrapper > .container {
  max-width: none;
}
/* no top padding on content */
body.page-type-homepage #columns {
  padding-top: 0;
}

/* banner */

.homepage-banner {
  background-image: url('/sites/default/files/imgstore/home_banner_background_1.png');
  background-position: 50% 0;
}
.homepage-banner-inner {
  position: relative;
  margin: 0 auto;
  max-width: 1040px;
}
.homepage-banner .image {
  width: 100%;
  max-width: 736px;
  padding: 0 20px;
  line-height: 0;
  background-image: url('/sites/default/files/imgstore/home_banner_background_2.png');
  background-position: 50% 0;
  background-size: cover;
}
.homepage-banner p.text {
  padding: 24px 50px 26px 50px;
  background-color: #d35a29;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.2rem;
  color: #ffffff;
  margin: 0;
}
.homepage-banner p.text a {
  color: #ffffff;
  text-decoration: none;
}
.homepage-banner p.text a:focus,
.homepage-banner p.text a:hover {
  color: #ffffff;
  text-decoration: underline;
}
@media (min-width: 541px) {
  .homepage-banner .image {
    max-width: 776px;
    padding: 0 40px;
  }
  .homepage-banner p.text {
    font-size: 2.4rem;
    line-height: 2.8rem;
  }
}
@media (min-width: 701px) {
  .homepage-banner .image {
    max-width: 816px;
    padding: 0 60px;
  }
}
@media (min-width: 841px) {
  .homepage-banner .image {
    max-width: 856px;
    padding: 0 80px;
  }
}
@media (min-width: 981px) { /* wide - image and text in one line */
  .homepage-banner-inner {
    position: relative;
  }
  .homepage-banner .image {
    width: 82.30769%;  /* 856/1040 */
  }
  .homepage-banner p.text {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 10%;
    width: calc(20px + 17.69230%);  /* 40 + 184/1040 */
    min-height: 40%;
    background-color: transparent;
    padding: 0;
  }
}

/* introduction */

/* supply our own side padding */
.homepage-introduction {
  margin-top: 64px;
  padding: 0 10px;
}
@media (min-width: 541px) { /* intermediate */
  .homepage-introduction {
    padding: 0 20px;
  }
}
@media (min-width: 901px) { /* wide */
  .homepage-introduction {
    padding: 0 30px;
  }
}
.homepage-introduction-inner {
  margin: 0 auto;
  max-width: 1040px;
}
.homepage-introduction h2.headline {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 3.6rem;
  color: #0d7da6;
  text-align: center;
  margin: 0;
}
.homepage-introduction h2.headline span {
  display: inline-block;
  margin: 0 auto;
  border-top: 3px solid #a7a9ac;
  border-bottom: 3px solid #a7a9ac;
  padding: 8px 0;
}
.homepage-introduction p.subheadline {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.2rem;
  color: #000000;
  text-align: center;
  margin: 1.4rem auto 0 auto;
  max-width: 620px;
}
.homepage-introduction p.introduction {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2.0rem;
  color: #000000;
  text-align: center;
  margin: 2.6rem 0 0 0;
}



/*** AWARDS PAGE ***/

body.page-type-awardspage {
}
.view-awardlist {
  margin: 0;
}
/* hide original header (will be replaced with custom header by JS) */
.view-awardlist > .view-header {
  display: none;
}
/* hide original filters */
.view-awardlist > .view-filters {
  display: none;
}

/** custom filter **/

.view-awardlist .custom-filter {
  margin-top: -28px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}
@media (min-width: 541px) { /* intermediate */
  .view-awardlist .custom-filter {
    flex-flow: row nowrap;
  }
}
.view-awardlist .custom-filter button {
  cursor: pointer;
}

/* filter opener button */
.view-awardlist .popup-filter {
  flex: 0 1 auto;
  position: relative;
  width: 100%;
  max-width: 25rem;
  min-height: 3.6rem;
  margin: 0;
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  background-color: #ffffff;
}
.view-awardlist .popup-opener {
  position: relative;
  width: 100%;
  padding: 5px 44px 5px 15px;
  border: 1px solid #767676;
  background-color: #ffffff;
  min-height: 3.6rem;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2.0rem;
  color: #767676;
  text-align: left;
}
.view-awardlist .popup-opener.filter-active {
  color: #000000;
}
.view-awardlist .popup-opener > span {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;  /* keep long names in button */
}
.view-awardlist .popup-opener::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -1px;
  bottom: -1px;
  right: -1px;
  width: 34px;
  background-color: #ae1722;
}
.view-awardlist .popup-opener:focus::before,
.view-awardlist .popup-opener:hover::before {
  background-color: #ae1722;
}
.view-awardlist .popup-opener::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 7px;
  top: calc(50% - 4px);
  width: 18px;
  height: 12px;
  padding: 0;
  border-top: 12px solid white;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: none;
}
.view-awardlist .popup-opener[aria-expanded="true"] {
  border-bottom-color: #eaeaea;
}

/* popup panel */
.view-awardlist .popup-panel {
  display: none;
  position: absolute;
  z-index: 1;
  left: 0;
  width: auto;
  min-width: 100%;
  top: 100%;
  height: auto;
  border: none;
  background-color: #eaeaea;
  padding: 15px;
  /* display: flex; *//* when open */
  flex-flow: column nowrap;
}
.view-awardlist .popup-panel[aria-hidden="false"] {
  display: flex;
}
@media (min-width: 741px) { /* intermediate */
  .view-awardlist .popup-panel {
    right: auto;
    width: auto;
    padding: 16px 32px;
    flex-flow: row nowrap;
  }
}
@media (min-width: 901px) { /* wide */
  .view-awardlist .popup-panel {
    padding: 32px 64px;
  }
}
/* button sets */
.view-awardlist .popup-panel > div + div {
  margin: 15px 0 0 0;
}
.view-awardlist .popup-panel ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.view-awardlist .popup-panel li {
  display: block;
}
@media (min-width: 741px) { /* intermediate */
  .view-awardlist .popup-panel > div + div {
    margin: 0 0 0 24px;
  }
}
@media (min-width: 901px) { /* wide */
  .view-awardlist .popup-panel > div + div {
    margin: 0 0 0 48px;
  }
}
/* filter buttons */
.view-awardlist .popup-panel button {
  width: 100%;
  border: none;
  background-color: transparent;
  padding: 0;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.6rem;
  color: #000000;
  text-align: left;
}
.view-awardlist .popup-panel button:focus,
.view-awardlist .popup-panel button:hover {
  color: #ae1722;
}
.view-awardlist .popup-panel li.subitem button {
  font-weight: 400;
}
.view-awardlist .popup-panel li.subitem + li:not(.subitem) {
  /*margin-top: 0.6rem;*/
}
@media (min-width: 741px) { /* intermediate */
  .view-awardlist .popup-panel button {
    white-space: nowrap;
  }
  .view-awardlist .popup-panel li.subitem + li:not(.subitem) {
    margin-top: 2.6rem;
  }
}

/* clear button (created by javascript) */
.view-awardlist .form-clear {
  flex: 0 1 auto;
  width: 100%;
  max-width: 25rem;
  min-height: 3.6rem;
  margin: 10px 0 0 0;
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
}
.view-awardlist .form-clear button {
  width: 100%;
  padding: 0.9rem 15px;
  background-color: #767676;
  border: none;
  min-height: 3.6rem;

  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2.0rem;
  color: #ffffff;
  text-align: center;
}
.view-awardlist .form-clear button:focus,
.view-awardlist .form-clear button:hover {
  background-color: #000000;
}
@media (min-width: 541px) { /* intermediate */
  .view-awardlist .form-clear {
    width: auto;
    min-width: 10rem;
    margin: 0 0 0 10px;
  }
}

/** custom header **/

.view-awardlist .custom-header .introduction {
  margin-top: 32px;
}
.view-awardlist .custom-header h2.headline {
  margin: 32px 0 32px 0;
  border-top: 3px solid #a7a9ac;
  padding-top: 24px;
}

/** list of awards **/

.view-awardlist ul.awardlist {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 36px;
  grid-column-gap: 10px;
}
.view-awardlist ul.awardlist li {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.view-awardlist ul.awardlist li a {
  display: block;
  border-top: 10px solid #2e8ea9;
}
.view-awardlist ul.awardlist li a:focus,
.view-awardlist ul.awardlist li a:hover {
  border-color: #ae1722;
}
.view-awardlist ul.awardlist li .image {
  line-height: 0;
}
.view-awardlist ul.awardlist li .image img {
  width: 100%;
}
.view-awardlist ul.awardlist li h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.0rem;
  color: #ae1722;
  text-decoration: none;
  margin: 8px 0 0 0;
}
.view-awardlist ul.awardlist li a:focus h3,
.view-awardlist ul.awardlist li a:hover h3 {
  color: #ae1722;
  text-decoration: underline;
}
.view-awardlist ul.awardlist li .vieweditlink {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
}
@media (min-width: 441px) {
  .view-awardlist ul.awardlist {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 42px;
  }
}
@media (min-width: 541px) { /* intermediate */
  .view-awardlist ul.awardlist {
    grid-column-gap: 20px;
  }
}
@media (min-width: 801px) {
  .view-awardlist ul.awardlist {
    grid-template-columns: 1fr 1fr 1fr;
    grid-row-gap: 48px;
  }
}
@media (min-width: 901px) { /* wide */
  .view-awardlist ul.awardlist {
    grid-column-gap: 30px;
  }
}
@media (min-width: 1001px) {
  .view-awardlist ul.awardlist {
    grid-column-gap: 34px;
  }
}

/** pager **/

.view-awardlist ul.pager {
  font-size: 1.6rem;
  margin: 48px 0 0 0;
  text-align: center;
}
.view-awardlist ul.pager li {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: #000000;
  text-transform: uppercase;
  padding: 0;
  margin: 0 12px 0 0;
}
.view-awardlist ul.pager li.last {
  margin: 0;
}
.view-awardlist ul.pager li.pager-current {
  padding: 8px 12px;
  color: #ffffff;
  background-color: #000000;
  border: 1px solid #000000;
}
.view-awardlist ul.pager li a {
  display: inline-block;
  padding: 8px 12px;
}
.view-awardlist ul.pager li a {
  color: #ffffff;
  text-decoration: none;
  background-color: #ae1722;
  border: 1px solid #ae1722;
}
.view-awardlist ul.pager li a:focus,
.view-awardlist ul.pager li a:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #000000;
  border: 1px solid #000000;
}
.view-awardlist ul.pager li.pager-first,
.view-awardlist ul.pager li.pager-previous,
.view-awardlist ul.pager li.pager-next,
.view-awardlist ul.pager li.pager-last {
  display: none;
}



/*** AWARD PAGE ***/

body.page-type-award .block-system-main {
  /* visually hidden */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

/** upper part of page **/

.view-award .award-information {
}

/* title, description, and button */
.view-award .award-description {
  border-top: 3px solid #a7a9ac;
  padding-top: 20px;
}
.view-award .award-description h2.awardname {
  margin: 0;
}
.view-award .award-description p.summary {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.6rem;
  margin: 3.2rem 0 0 0;
}
.view-award .award-description p.contact {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  margin: 2.4rem 0 0 0;
}
.view-award .award-description p.nomlink {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  margin: 4.0rem 0 0 0;
}
.view-award .award-description p.nomlink a {
  display: block;
  padding: 22px 22px;
  background-color: #ae1722;
  width: 100%;
  max-width: 324px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-decoration: none;
}
.view-award .award-description p.nomlink a:focus,
.view-award .award-description p.nomlink a:hover {
  background-color: #626262;
}

/* background information - may or may not be present */
.view-award .award-background {
  position: relative;
  margin-top: calc(22px + 5.6rem);
  background-color: #eaeaea;
  padding: 10px 10px;
}
.view-award .award-background::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 15px;
  background-color: #56603a;
}
.view-award .award-background .image {
  line-height: 0;
}
.view-award .award-background .text { /* note, this had to be a div rather than a p */
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.2rem;
  color: #000000;
  margin: 0;
}
@media (max-width: 540px) {
  .view-award .award-background .image + .text {
    margin-top: 1.8rem;
  }
}
@media (min-width: 541px) {
  .view-award .award-background {
    padding: 30px 20px;
  }
  .view-award .award-background .image {
    float: right;
    margin: 0 0 10px 15px;
  }
}
@media (min-width: 901px) { /* wide */
  .view-award .award-information {
    display: flex;
    flex-flow: row nowrap;
  }
  .view-award .award-description {
    flex: 1 1 auto;
  }
  .view-award .award-background {
    flex: 0 0 65.57692%;    /* 682/1040 */
    margin-left: 3.26923%;  /* 34/1040 */
    margin-top: 22px;
    padding: 30px 0;
    display: flex;
    flex-flow: row nowrap;
  }
  .view-award .award-background .text {
    flex: 1 1 auto;
    order: 1;
    padding: 0 20px;
  }
  .view-award .award-background .image {
    flex: 0 0 auto;
    order: 2;
  }
}

/** lower part of page **/

.view-award .award-recipients {
  margin-top: 80px;
  border-top: 3px solid #a7a9ac;
  padding-top: 32px;
}
.view-award .award-recipients h2.headline {
  text-align: center;
}
.view-award .recipientlist {
  display: none;
  grid-template-columns: 1fr;
  grid-gap: 36px;
  margin-top: 36px;
}
.view-award .recipientlist.processed {  /* after processing by javascript */
  display: grid;
}
.view-award .recipientlist .item {
  border-top: 3px solid #a7a9ac;
  padding-top: 16px;
}
.view-award .recipientlist .item h3 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.view-award .recipientlist .item ul {
  margin: 1.8rem 0 0 0;
  padding: 0;
  list-style: none;
}
.view-award .recipientlist .item li {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.2rem;
  list-style: none;
}
@media (min-width: 541px) { /* intermediate */
  .view-award .recipientlist {
    grid-template-columns: 1fr 1fr;
    grid-gap: 36px 32px;
  }
}
@media (min-width: 901px) { /* wide */
  .view-award .recipientlist {
    grid-template-columns: 1fr 1fr 1fr;
  }
}



/*** RECIPIENTS PAGE ***/

body.page-type-recipientspage {
}
.view-recipientspage .recipients {
  display: none;
}
.view-recipientspage .recipients.processed {  /* after processing by javascript */
  display: block;
}
.view-recipientspage .recipients > div {
  padding: 12px;
  background-color: #eaeaea;
  margin-top: 8px;
}
.view-recipientspage .recipients > div h3 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.0rem;
  color: #000000;
  margin: 0;
}
.view-recipientspage .recipients > div p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.0rem;
  color: #000000;
  margin: 0;
}
.view-recipientspage .recipients > div.header {
  display: none;
  background-color: #000000;
}
.view-recipientspage .recipients > div.header h3,
.view-recipientspage .recipients > div.header p {
  font-weight: 700;
  color: #ffffff;
  background-color: #000000;
}
/* show like a table */
@media (min-width: 901px) { /* wide */
  .view-recipientspage .recipients > div.header,
  .view-recipientspage .recipients > div.item {
    display: flex;
    padding: 0;
  }
  .view-recipientspage .recipients > div > * {
    flex: 1 1 33.33333%;
    padding: 6px 12px;
    display: flex;
    flex-flow: row nowrap;  /* causes content to stretch top to bottom of grid cell */
    align-items: center;
    min-height: 5.2rem;
  }
  .view-recipientspage .recipients > div.header > * {
    min-height: 3.6rem;
  }
  .view-recipientspage .recipients > div h3 {
    font-weight: 400;
  }
}



/*** PHOTOS PAGE ***/

/* keep page narrower since flickr embed maxes at 1024px */
body.page-type-photospage #page > #content-wrapper > .container {
  max-width: 1024px;
}
/* introduction is by itself so needs explicit margin bottom */
body.page-type-photospage .photos-introduction {
  margin-bottom: 24px;
}

/* current gallery */

/* more space below headline */
.view-gallerycurrent h2.headline {
  margin: 0 0 4.8rem 0;
}
/* caption */
.view-gallerycurrent p.gallery-caption {
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin: 0.4rem 0 0 0;
}
.view-gallerycurrent .vieweditlink {
  position: absolute;
  right: 0;
  bottom: 0;
}

/* past galleries */

.view-gallerylist {
  margin: 7.6rem 0 0 0;
}
.view-gallerylist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));  /* not 160px because page is only 1024px wide */
  grid-gap: 48px 16px;
}
.view-gallerylist li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.view-gallerylist li a {
  display: block;
  border-top: 10px solid #2e8ea9;
}
.view-gallerylist li a:focus,
.view-gallerylist li a:hover {
  border-color: #ae1722;
}
.view-gallerylist li .image {
  line-height: 0;
}
.view-gallerylist li .image img {
  width: 100%;
}
.view-gallerylist li h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.0rem;
  color: #ae1722;
  text-decoration: none;
  margin: 8px 0 0 0;
}
.view-gallerylist li a:focus h3,
.view-gallerylist li a:hover h3 {
  color: #ae1722;
  text-decoration: underline;
}
.view-gallerylist li .vieweditlink {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
}



/*** GALLERY PAGE ***/

/* keep page narrower since flickr embed maxes at 1024px */
body.page-type-gallery #page > #content-wrapper > .container {
  max-width: 1024px;
}
/* more space below headline */
.view-gallery h2.headline {
  margin: 0 0 4.8rem 0;
}
/* caption */
.view-gallery p.gallery-caption {
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin: 0.4rem 0 0 0;
}



/*** NOMINATE PAGE ***/

body.page-type-nominatepage {
}
body.page-type-nominatepage ol.nomination-steps {
  margin: 0 0 3.2rem 2.0rem;
}
body.page-type-nominatepage ol.nomination-steps > li {
  margin: 0 0 2.2rem 0;
}
body.page-type-nominatepage ol.nomination-steps ul {
  margin: 2.2rem 0 0 -2.0rem;
  padding: 0;
  list-style: none;
  columns: 2 360px;  /* 2 columns max, min column width 360px */
  column-gap: 12px;
}
body.page-type-nominatepage ol.nomination-steps ul li {
  margin-bottom: 12px;
  display: flex;
  flex-flow: row nowrap;  /* causes content to stretch top to bottom of grid cell */
  break-inside: avoid;  /* prevents breaking between columns, which occurred in Chrome */
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2.0rem;
}
body.page-type-nominatepage ol.nomination-steps ul li a {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  width: 100%;
  min-height: 5.2rem;
  background-color: #eaeaea;
  border-left: 7px solid #ae1722;
  padding: 6px 12px 6px 8px;
  color: #000000;
  text-decoration: none;
}
body.page-type-nominatepage ol.nomination-steps ul li a:focus,
body.page-type-nominatepage ol.nomination-steps ul li a:hover {
  color: #ffffff;
  background-color: #ae1722;
  text-decoration: none;
}
@media (min-width: 901px) { /* wide */
  body.page-type-nominatepage ol.nomination-steps ul {
    column-gap: 18px;
  }
}




/*******************************/
/*** ADMINISTRATIVE ELEMENTS ***/
/*******************************/


/* ADMINISTRATION MENU */

/* this is inside the header region; it is styled as a mouseover dropdown
   that is positioned absolutely in the upper left corner.
*/

#page .block-menu-admin {
  display: none;
  position: absolute;
  z-index: 99;
  right: 0;
  top: 0;
  width: 18rem;
  height: auto;
  background-color: #e0e0e0;
  border: 2px solid #505050;
  margin: 0;
  padding: 0;
}
.block-menu-admin li {
  font-size: 1.4rem;
  line-height: 1;
}
@media (min-width:541px) {
  #page .block-menu-admin {
    display: block;
  }
}
.block-menu-admin .block-inner {
  margin: 0;
  padding: 0;
}
.block-menu-admin .block-content {
  font-family: Arial, Lucida, Helvetica, "Bitstream Vera Sans", sans-serif;
  line-height: 1;
}
.block-menu-admin .block-content > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.block-menu-admin .block-content > ul > li {
  float: none;
  text-align: left;
  margin: 0 !important;
}
.block-menu-admin .block-content > ul > li > a {
  display: block;
  border: none;
  padding: 6px 8px;
  height: auto;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #000000;
  text-transform: none;
  text-decoration: none;
}
.block-menu-admin .block-content > ul > li > a:hover,
.block-menu-admin .block-content > ul > li > a:focus {
  color: #000000;
  text-decoration: none;
  background-color: transparent;
}
.block-menu-admin .block-content > ul > li > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: none;
}
.block-menu-admin .block-content > ul > li:hover > ul {
  display: block;
}
.block-menu-admin .block-content > ul > li > ul > li {
  float: none;
  display: inline;
  margin: 0 !important;
}
.block-menu-admin .block-content > ul > li > ul > li > a {
  display: block;
  border: none;
  padding: 6px 8px;
  height: auto;
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1;
  color: #000000;
  text-decoration: none;
  text-transform: none;
}
.block-menu-admin .block-content > ul > li > ul > li > a:hover,
.block-menu-admin .block-content > ul > li > ul > li > a:focus {
  color: #000000;
  text-decoration: underline;
  background-color: #ffffff;
}



/* MESSAGES AREA */

/* Acknowledgements and errors for editors, but also sometimes seen by end user - */
/* this may appear, for example, if the user forgets required field on a webform. */

#messages-help-wrapper .container {
  font-family: Arial, Lucida, Helvetica, "Bitstream Vera Sans", sans-serif;
  font-size: 1.2rem;
  background-color: #e0e0e0;
}
#messages-help-wrapper .messages {
  margin: 0;
}



/* TASKS AREA */

/* Drupal view, edit, etc. buttons (aka primary tabs) */

#tasks {
  position: absolute;
  z-index: 9;
  left: 0;
  top: 0;
  font-family: Arial, Lucida, Helvetica, "Bitstream Vera Sans", sans-serif;
  margin: 0;
  padding: 0 0 2px 0;
  border: none;
  background-color: transparent;
}
#tasks ul.primary {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
}
#tasks ul.primary li a {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border: 2px solid #505050;
  border-radius: 4px;
  background-color: #e0e0e0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #000000;
}
#tasks ul.primary li a span {
  display: none;
}
#tasks ul.primary li a:hover,
#tasks ul.primary li a.active {
  background-color: #ffffff;
}



/* ACTION LINKS */

/* such as "Add redirect" on 404 page */

.content-inner ul.action-links {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  margin: 0 0 0 5px;
  padding: 0 0 2px 0;
  border: none;
  background-color: transparent;
}
.content-inner ul.action-links li {
  display: inline;
  font-family: Arial, Lucida, Helvetica, "Bitstream Vera Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #000000;
}
.content-inner ul.action-links li a {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border: 2px solid #505050;
  border-radius: 4px;
  background-color: #e0e0e0;
  background-image: none;
  color: #000000;
  text-decoration: none;
}
.content-inner ul.action-links li a:hover,
.content-inner ul.action-links li a.active {
  color: #000000;
  text-decoration: none;
  background-color: #ffffff;
}



/* UNPUBLISHED */

#page article.article-unpublished,
#page article.comment-unpublished {
  background-color: transparent;
}
#page article.article-unpublished::before {
  content: "UNPUBLISHED";
  display: block;
  width: 100%;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #ff6060;
  padding: 8px;
  text-align: center;
  background-color: #ffe8e8;
  color: #707070;
}



/* EDIT LINKS IN VIEWS */

#page .vieweditlink {
  font-family: Arial, Lucida, Helvetica, "Bitstream Vera Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
#page .vieweditlink a {
  display: inline-block;
  padding: 4px 6px;
  border: 1px solid #505050;
  border-radius: 2px;
  background-color: #eaeaea;
  color: #000000;
  text-decoration: none;
}
#page .vieweditlink a:hover,
#page .vieweditlink a.active {
  color: #000000;
  background-color: #ffffff;
  text-decoration: none;
}



/* CONTEXTUAL LINKS */

/* hide them on certain blocks because they are annoying! */

html.js div.contextual-links-wrapper {
  font-family: Arial, Lucida, Helvetica, "Bitstream Vera Sans", sans-serif;
  display: none;
}
html.js .block-address div.contextual-links-wrapper,
html.js .block-alert div.contextual-links-wrapper {
  display: block;
}




/**************************************/
/**************************************/
/*********** PRINT STYLES *************/
/**************************************/
/**************************************/

@media print {

  .screenonly {
    display: none;
  }
  .printonly {
    display: initial;
  }
  /* note: IE does not understand 'initial', so we need the following */
  .printonly {
    display: block;
  }
  img.printonly,
  span.printonly {
    display: inline;
  }

  /* WINDOW */

  body.html {
    background-color: transparent;
  }

  /* MOBILE MENU */

  #divmobmenu {
    display: none;
  }

  /* PAGE */

  #page {
    background-image: none;
  }


  #page > div {
    padding: 0;
  }

  /* BLOCK DEFAULT STYLES */

  .block h1,
  .block h2,
  .block h3,
  .block h4,
  .block h5,
  .block h6,
  .block p,
  .block li,
  .block a {
    color: #000000;
  }

  /* TOP PANELS BAND */

  #page #top-panels-wrapper {
    padding-bottom: 0;
    background-image: none
  }

  /* ALERT BLOCK */

  #top-panels-wrapper .three-3x33 .region-three-33-first {
    display: none;
  }

  /* LOGO REGION */

  #top-panels-wrapper .three-3x33 .region-three-33-second {
    padding-top: 0;
  }

  /* PRIMARY NAVIGATION REGION */

  #top-panels-wrapper .three-3x33 .region-three-33-third {
    display: none;
  }

  /* MAIN CONTENT TEXT STYLES */

  .content-inner h1,
  .content-inner h2,
  .content-inner h3,
  .content-inner h4,
  .content-inner h5,
  .content-inner h6,
  .content-inner p,
  .content-inner li,
  .content-inner a {
    color: #000000;
  }

  /* FOOTER BAND */

  .region-footer {
    background-image: none;
    padding-top: 0;
  }

  /* HOME PAGE */

  body.page-type-homepage #page {
    background-image: none;
  }
  body.page-type-homepage #columns {
    padding-top: 32px;
  }



  /* ADMINISTRATIVE ELEMENTS */

  #page .block-menu-admin,
  #messages-help-wrapper,
  #tasks,
  .content-inner ul.action-links,
  .vieweditlink {
    display: none;
  }


  /* try to save us from the worst of Corolla's print.css........ */

  body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
  }

  /* HTML elements */
  h1,h2,h3,h4,h5,h6,#site-name {
    font-family: Arial, Helvetica, sans-serif;
  }
  h1#page-title {
    margin-top: 0;
  }
  header {
    padding-bottom: 0;
  }

  /* Images */
  img {
    float: none;
    margin: 0;
    page-break-inside: avoid;
  }

  /* Links */
  a:link[href^="http://"]::after,
  a[href^="http://"]:visited::after,
  a:link[href^="https://"]::after,
  a[href^="https://"]:visited::after {
    display: none;
  }

  /* Articles */
  .article {
    margin: 0;
    border: none;
  }

}
