
/******************************************************************************************************************************//*
* Contextual links
********************************************************************************************************************************/

.contextual .trigger {
  float: none;
}
.contextual.open .trigger,
.contextual .trigger:hover {
  float: right;
}
.contextual-region .contextual .contextual-links a {
  color: #333 !important;
}
.no-touchevents .contextual-region .contextual .contextual-links li a:hover {
  color: #000 !important;
}

/******************************************************************************************************************************//*
* Tabs
********************************************************************************************************************************/

.tabs.primary > li {
  margin-right: 0.2rem;
}
.tabs.primary a {
  font-family: 'Roboto', Helvetica, 'Arial', sans-serif;
  padding: 0.2em .75em;
  border: 1px solid transparent;
}
.tabs.primary a.is-active,
.tabs.primary .is-active > a {
  font-weight: 700;
  background-color: #f3f3f3;
}
.tabs.primary a.is-active:hover,
.tabs.primary a.is-active:focus,
.tabs.primary .is-active > a:hover,
.tabs.primary .is-active > a:focus {
  background-color: #e5e5e5;
  border: 1px solid #ccc;
}
.tabs.primary a.is-active,
.tabs.primary .is-active > a,
.tabs.primary a:hover,
.tabs.primary a:focus {
  border: 1px solid #e3e3e3;
}

/******************************************************************************************************************************//*
* Navigation bar
********************************************************************************************************************************/

.header #navigation {
  clear: left;
}
#navigation .links,
#navigation ul.menu {
  text-align: left;
}
#navigation .sections-menu li.menu-item {
  float: left;
}
.sections-menu li.menu-item,
#navigation .links li,
#navigation ul.menu li {
  padding: 0 4px 0 0;
  list-style-type: none;
  list-style-image: none;
}
.with-slashes li.menu-item:before {
  content: " \00A0\002F\00A0"; /* Slash as menu divider */
}
.with-slashes li.menu-item.first-link::before {
  display: none; /* Remove divider for first menu item */
}
.sections-menu .menu-item a,
.sections-menu .menu-item span {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .050em;
  font-weight: 500;
}
.header ul.menu {
  clear: left;
  margin: 0;
}

/* The active item in a Drupal menu. */
.menu a.active {
  color: #000;
}

/******************************************************************************************************************************//*
* Mega-menu toggle
********************************************************************************************************************************/

.sections-menu .megamenu-toggle,
.sections-menu .menu-item.megamenu-toggle {
  padding: 0 !important;
}
.sections-menu .megamenu-toggle span {
  display: inline-block;
  margin-top: -0.5rem;
  cursor: pointer;
  cursor: hand;
  min-width: 70px;
  font-weight: 700;
  font-size: 15px;
  text-transform: capitalize;
}
.mobile-tablet-display.megamenu-toggle-wrapper {
  float: left;
  height: 25px;
  margin: 0.3rem 3% 0 0;
}
.mobile-tablet-display li.megamenu-toggle {
  list-style: none;
}
.megamenu-toggle > span::before {
  content: "\002630"; /* The "hamburger" icon in unicode, U+2630 */
  display: inline-block;
  text-align: center;
}
.mobile-tablet-display .megamenu-toggle > span::before {
  font-size: 2rem;
  width: 25px;
  height: 25px;
}
.megamenu-toggle span.clicked::before {
  font-size: 1.5rem;
  margin-top: 0.2rem;
}
.menu .megamenu-toggle > span::before {
  width: 18px;
  font-size: 1.3rem;
  margin-right: 4px;
}
.megamenu-toggle span.clicked::before {
  content: "\002715"; /* The "close/X" icon in unicode, U+2715 */
}
.menu .megamenu-toggle span.clicked::before {
  font-size: 1rem;
}

@media all and (min-width: 800px) {
  .mobile-tablet-display.megamenu-toggle-wrapper {
    height: 30px;
    margin: 1.25rem 3% 0 0;
  }
  .mobile-tablet-display .megamenu-toggle > span::before {
    font-size: 2.5rem;
    width: 30px;
    height: 30px;
  }
  .megamenu-toggle span.clicked::before {
    font-size: 1.8rem;
  }
}

/******************************************************************************************************************************//*
* Call-to-action menus in branding area in header
********************************************************************************************************************************/

.header .cta-nav.menu,
.header .cta-nav ul.menu {
  clear: none;
}
.cta-nav li.menu-item {
  float: right;
  list-style: none;
  font-weight: 500;
  padding-right: 0 !important;
}
.sticky-page-header .cta-nav li.menu-item {
  clear: none;
}
.sticky-page-header .cta-nav li.menu-item a,
.not-sticky.cta-nav li.menu-item a {
  line-height: 120%;
  font-family: "Roboto", sans-serif;
  padding: 0.5rem 0.25rem 0.4rem;
}
.site-branding .cta-nav a {
  float: right;
  font-size: 0.8rem;
  line-height: 120%;
  display: inline-block;
}
.site-branding .mobile-nav a {
  clear: right;
}
.site-branding .cta-nav .header-cta-button {
  color: #000 !important;
}

/******************************************************************************************************************************//*
* Mega-menus styling
********************************************************************************************************************************/

.region-megamenu.menu_open {
  position: absolute;
  left: 0;
  margin-top: 1px;
  background-color: #f2f2f2;
  color: #000;
  border-top: 1px solid #fff;
  z-index: 100;
  width: 100%;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
}
#megamenu .show-hide-block {
  display: none;
}
#megamenu .block-menu,
#megamenu .header-search-form {
  display: none;
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1rem;
}
#megamenu .free-newsletters-cta {
  margin-top: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
}
#megamenu .block-menu {
  padding: 0 0 1.5rem;
}
#megamenu .block-menu ul {
  margin: 0;
  padding: 0;
}
#megamenu .block-menu ul li {
  list-style: none;
  padding: 0;
}
#megamenu ul.menu .earthbeat,
#megamenu ul.menu .national-catholic-reporter,
#megamenu ul.menu .global-sisters-report {
  padding-top: 0.75rem;
}
.translate-this-page span {
  color: #6807a4;
  cursor: pointer;
}
ul.menu > li#block-googletranslator {
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
  float: none;
  text-align: left;
}
#megamenu ul.menu .translate-this-page span,
#megamenu ul.menu .gsr-en-español a,
#megamenu ul.menu .national-catholic-reporter a,
#megamenu ul.menu .earthbeat a,
#megamenu ul.menu .global-sisters-report a {
  font-size: 1.3rem;
}
#megamenu .block-menu > ul.menu > .menu-item {
  box-sizing: border-box;
  margin-bottom: 1rem;
}
#megamenu ul.menu li.small-column-label > span,
#megamenu ul.menu .no-column-label > span {
  line-height: 200%;
}
#megamenu ul.menu .no-column-label > span {
  display: inline-block;
  text-indent: -9999px;
}
#megamenu ul.menu .no-column-label > span,
#megamenu .publications-list ul.menu ul.menu,
#megamenu ul.menu li.small-column-label > span {
  font-size: .8rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 200;
}
#megamenu .publications-list ul.menu ul.menu {
  line-height: 1.1rem;
  padding-top: .4rem;
  margin-left: 0;
  margin-top: -5px;
  margin-bottom: 0.75rem;
}
#megamenu ul.menu li.small-column-label > span {
  text-transform: uppercase;
  display: block;
}
#megamenu ul.menu li.small-text a,
#megamenu ul.menu li.large-text a {
  display: block;
  padding: 5px 0;
  line-height: 140%;
}
#megamenu ul.menu li.with-lines li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
#megamenu .block-menu li.small-text li {
  font-size: 1rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 200;
}

#megamenu ul.menu .underlined-label span {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#megamenu ul.menu .ctas li {
  font-size: .9rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: 200;
}
#megamenu ul.menu .ctas .donate a {
  border-radius: 10px;
  border: none;
  display: inline-block;
  text-decoration: none;
  margin: 1em 1em 1em 0;
  padding: 0.75em 2em 0.65em 2em;
  background: rgba(255,204,0,1);
  background: radial-gradient(at 0 0, rgb(246, 241, 94) 0%, rgba(255,204,0,1) 100%);
  color: #000;
  text-transform: uppercase;
  letter-spacing: .15rem;
  transition-property: background;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  line-height: 120%;
  font-size: .9rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  outline: solid 0px #fff;
  transition: outline 0.1s ease-in-out;
  font-weight: normal;
}
#megamenu ul.menu .ctas .donate a:hover {
  background: rgba(255,204,0,1);
  outline: solid 5px #fff;
  box-shadow: 0px 0px 10px rgba(0,0,0,.8);
}

/* Sections Menu that is displayed when megamenu is closed. */
.main-menu-block,
.cta-menu-block {
  display: none;
}
.main-menu-block ul.menu {
  *zoom: 1;
}
.main-menu-block ul.menu:before,
.main-menu-block ul.menu:after {
  content: "";
  display: table;
}
.main-menu-block ul.menu:after {
  clear: both;
}
.header .main-menu-block:first-child {
  clear: left;
}

@media all and (min-width: 800px) {
  .cta-nav li.menu-item {
    clear: right;
  }
  .not-sticky.cta-nav li.menu-item a {
    padding: 0.1rem 0;
  }
  .site-branding ul.menu {
    padding-left: 0;
  }
  ul.menu .megamenu-toggle {
    margin-right: 15px;
  }
}

@media all and (min-width: 1000px) {
  #megamenu .free-newsletters-cta {
    display: none !important;
  }
  .site-branding .cta-nav {
    margin-top: 0;
  }
  .cta-nav li.menu-item {
    float: right;
    clear: none;
  }
  .sticky-page-header .cta-nav li.menu-item a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .not-sticky.cta-nav li.menu-item a {
    padding: 0.3rem 0.5rem 0.2rem;
  }
  .sticky-page-header .cta-nav li.menu-item:first-child a,
  .not-sticky.cta-nav li.menu-item:first-child a {
    padding-right: 0;
  }
  .cta-nav li.menu-item .button {
    color: #000;
    margin: 0 !important;
    padding: 0.3333rem 0.5rem;
    letter-spacing: .1rem;
  }
  .cta-nav li.menu-item .button:hover {
    color: #222 !important;
  }
  .site-branding .header-cta-button {
    display: none;
  }
  ul.menu .megamenu-toggle {
    margin-right: 15px;
    font-size: 14px;
  }
  ul.menu .megamenu-toggle span::before {
    font-size: 1.2rem;
  }

  /* Megamenu */
  .region-megamenu.menu_open {
    background-color: #fff;
    color: #000;
    border-top: 1px solid #fff;
  }
  #megamenu .block-menu {
    padding: 0;
  }
  #megamenu .block-menu > ul.menu {
    display: grid;
    grid-template-columns: 21.75% 21.75% 25.75% 21.75%;
    grid-column-gap: 3%;
  }
  #megamenu .block-menu > ul.menu > .menu-item {
    margin: 2rem 0;
  }
  #megamenu ul.menu li.with-lines li {
    border-top-color: rgba(112, 112, 112, 0.15);
  }
  #megamenu ul.menu .underlined-label span {
    border-bottom-color: rgba(112, 112, 112, 0.15);
  }
  #megamenu .block-menu ul .more {
    border-left: 2px solid rgba(112, 112, 112, 0.15);
    border-right: 2px solid rgba(112, 112, 112, 0.15);
    padding: 0 10%;
  }
}

@media all and (min-width: 1250px) {
  ul.menu .megamenu-toggle {
    margin-right: 20px;
    font-size: 15px;
  }
  ul.menu .megamenu-toggle span::before {
    font-size: 1.3rem;
  }
}
