/**
 * AAMDSIF Global Typography (based on 2016 site)
 */
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic");
/*!
 *
 * EJW: Override bootswatch in bootstrap.min.css
 *
 * bootswatch v3.3.7
 * Homepage: http://bootswatch.com
 * Copyright 2012-2016 Thomas Park
 * Licensed under MIT
 * Based on Bootstrap
*/
html {
 font-family:sans-serif;
 font-display: fallback; /* Used for body text - allows user to start reading as soon as possible and avoid shifting text around as a new font loads in. */
 -ms-text-size-adjust:100%;
 -webkit-text-size-adjust:100%
}

@font-face {
  font-family: 'MuseoSlab-100';
  font-display: auto; /* Used for headers - allow browser to decide display strategy. */
  src: url('../fonts/museo/302EA4_0_0.eot');
  src: url('../fonts/museo/302EA4_0_0.eot?#iefix') format('embedded-opentype'), url('../fonts/museo/302EA4_0_0.woff2') format('woff2'), url('../fonts/museo/302EA4_0_0.woff') format('woff'), url('../fonts/museo/302EA4_0_0.ttf') format('truetype');
}
@font-face {
  font-family: 'MuseoSlab-300';
  font-display: auto; /* Used for headers - allow browser to decide display strategy. */
  src: url('../fonts/museo/302EA4_1_0.eot');
  src: url('../fonts/museo/302EA4_1_0.eot?#iefix') format('embedded-opentype'), url('../fonts/museo/302EA4_1_0.woff2') format('woff2'), url('../fonts/museo/302EA4_1_0.woff') format('woff'), url('../fonts/museo/302EA4_1_0.ttf') format('truetype');
}
@font-face {
  font-family: 'MuseoSlab-500';
  font-display: auto; /* Used for headers - allow browser to decide display strategy. */
  src: url('../fonts/museo/302EA4_2_0.eot');
  src: url('../fonts/museo/302EA4_2_0.eot?#iefix') format('embedded-opentype'), url('../fonts/museo/302EA4_2_0.woff2') format('woff2'), url('../fonts/museo/302EA4_2_0.woff') format('woff'), url('../fonts/museo/302EA4_2_0.ttf') format('truetype');
}
@font-face {
  font-family: 'trend_sans_oneregular';
  font-display: auto; /* Used for headers - allow browser to decide display strategy. */
  src: url('../fonts/TrendSans-One-webfont.eot');
  src: url('../fonts/TrendSans-One-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/TrendSans-One-webfont.woff') format('woff'), url('../fonts/TrendSans-One-webfont.ttf') format('truetype'), url('../fonts/TrendSans-One-webfont.svg#trend_sans_oneregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'MuseoSlab-300';
}
#main-content {
  font-family: 'MuseoSlab-100';
}
/* Global Typography END *************************************************  */


/**
 * AAMDSIF - Elements from T.Messer's "blueprint" LESS/CSS 
 * (used in previous bootstrap_aamds theme).
 */
.tuck-1 {
  padding:0 1% 0 1%;
}
.tuck-2 {
  padding:0 2% 0 2%;
}
.tuck-3 {
  padding:0 3% 0 3%;
}
.tuck-4 {
  padding:0 4% 0 4%;
}
.tuck-5 {
  padding:0 5% 0 5%;
}

.row.top-margin-5  {
  margin-top:1.42735042735%;
  margin-bottom:1.42735042735%;
}
.row.top-margin-10  {
  margin-top:3.854700854701%;
  margin-bottom:3.854700854701%;
}
.row.top-margin-20  {
  margin-top:5.854700854701%;
  margin-bottom:5.854700854701%;
}

.row.no-gutters > [class^="col-"], .row.no-gutters > [class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* T.Messer's Blueprint END **********************************************  */


/**
 * Bootstrap column clearfixes.
 * 
 * Automatically fix issues where a left-hand column keeps an item to the right
 * from clearing properly.  For more information see:
 * http://www.bluthemes.com/blog/3/clearing-bootstrap-3-columns
 */

/*  Tablet  */
@media (min-width:767px){

  /* Column clear fix */
  .col-lg-1:nth-child(12n+1),
  .col-lg-2:nth-child(6n+1),
  .col-lg-3:nth-child(4n+1),
  .col-lg-4:nth-child(3n+1),
  .col-lg-6:nth-child(2n+1),
  .col-md-1:nth-child(12n+1),
  .col-md-2:nth-child(6n+1),
  .col-md-3:nth-child(4n+1),
  .col-md-4:nth-child(3n+1),
  .col-md-6:nth-child(2n+1){
    clear: none;
  }
  .col-sm-1:nth-child(12n+1),
  .col-sm-2:nth-child(6n+1),
  .col-sm-3:nth-child(4n+1),
  .col-sm-4:nth-child(3n+1),
  .col-sm-6:nth-child(2n+1){
    clear: left;
  }
}


/*  Medium Desktop  */
@media (min-width:992px){

  /* Column clear fix */
  .col-lg-1:nth-child(12n+1),
  .col-lg-2:nth-child(6n+1),
  .col-lg-3:nth-child(4n+1),
  .col-lg-4:nth-child(3n+1),
  .col-lg-6:nth-child(2n+1),
  .col-sm-1:nth-child(12n+1),
  .col-sm-2:nth-child(6n+1),
  .col-sm-3:nth-child(4n+1),
  .col-sm-4:nth-child(3n+1),
  .col-sm-6:nth-child(2n+1){
    clear: none;
  }
  .col-md-1:nth-child(12n+1),
  .col-md-2:nth-child(6n+1),
  .col-md-3:nth-child(4n+1),
  .col-md-4:nth-child(3n+1),
  .col-md-6:nth-child(2n+1){
    clear: left;
  }
}

/*  Large Desktop  */
@media (min-width:1200px){

  /* Column clear fix */
  .col-md-1:nth-child(12n+1),
  .col-md-2:nth-child(6n+1),
  .col-md-3:nth-child(4n+1),
  .col-md-4:nth-child(3n+1),
  .col-md-6:nth-child(2n+1),
  .col-sm-1:nth-child(12n+1),
  .col-sm-2:nth-child(6n+1),
  .col-sm-3:nth-child(4n+1),
  .col-sm-4:nth-child(3n+1),
  .col-sm-6:nth-child(2n+1){
    clear: none;
  }
  .col-lg-1:nth-child(12n+1),
  .col-lg-2:nth-child(6n+1),
  .col-lg-3:nth-child(4n+1),
  .col-lg-4:nth-child(3n+1),
  .col-lg-6:nth-child(2n+1){
    clear: left;
  }
}

/* Bootstrap column clearfixes END ***************************************  */


/**
 * AAMDSIF - Elements from bootstrap starterkit, bootstrap_barrio, etc.
 */
body { 
  padding: 0; 
  overflow-x: hidden;

  font-size: 16px;
  line-height: 175%;

  color: #111;
}

dd {
  margin: 0.5em 0 0.5em 2em;
}

a,
.views-row h2 a {
  color: #8c3232;
}
a:visited,
.views-row h2 a:visited {
  color: #8c6c6c;
}
a:hover, 
a:focus,
.views-row h2 a:hover, 
.views-row h2 a:focus {
  color: #989295;
  text-decoration: underline;
}

a.lexicon-term {
  border-bottom: 1px dotted #999;
  color: #999;
}

.logo { display: block; line-height: 52px; position: relative; z-index: 3; }
.logo img { height: 100px; }

.header { position: relative; }

/*
#block-system-user-menu { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.25); position: absolute; right: 0; top: 52px; }
#block-system-user-menu .menu a { color: white; }
#block-system-user-menu .menu a { background: transparent; text-decoration: underline; }

@media(max-width: 769px) {
  #block-system-user-menu { top: 0; }
}
*/

.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus {
  color: #e0e0e0;
  text-decoration: none;
  outline: 0;
  background-color: #999;
}

.navbar { 
  border-width: 0 1px 0 1px;
  margin-bottom: 0; /* Override bootstrap */
  /* Warmgreys-04 - #faf9f8 */
  border-bottom: 1px solid #ccc;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#faf9f8+0,efedee+65,e5e3e4+100 */
  background: rgb(250,249,248); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(250,249,248,1) 0%, rgba(239,237,238,1) 65%, rgba(229,227,228,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(250,249,248,1) 0%,rgba(239,237,238,1) 65%,rgba(229,227,228,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(250,249,248,1) 0%,rgba(239,237,238,1) 65%,rgba(229,227,228,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#faf9f8', endColorstr='#e5e3e4',GradientType=0 ); /* IE6-9 */  
}

.navbar .navbar-nav > li > a, .navbar-brand {
  color: #666;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.navbar .btn { 
  background: none repeat scroll 0 0 #e1e1e1; border: 0 none; border-radius: 0; float: right; height: 52px; line-height: 52px; padding: 0 15px; 
}

.navbar #main-nav li a { 
  line-height: 52px; 
  height: 52px; 
  padding: 0 15px; 
  text-transform: capitalize; /* Google Translate sometimes makes text lowercase -- this overrides it. */
}
.navbar #main-nav li a a { display: none; }
.navbar #main-nav li a:hover,
.navbar #main-nav li:hover a { 
  background: #ccc;
}
.navbar #main-nav li:hover li a { background: #fff; }
.navbar #main-nav li:hover li a:hover { background: #999; }

.navbar #main-nav .dropdown-menu { display: none; }
.navbar #main-nav .open .dropdown-menu { display: block; }

/**
 * Styling for specific menu items.
 */
.navbar #main-nav li.menu-item-donate {
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);

  /* http://colorzilla.com/gradient-editor/#ffffff+0,efedee+65,e5e3e4+100 */
  background: rgb(255,255,255); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(239,237,238,1) 65%, rgba(229,227,228,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(239,237,238,1) 65%,rgba(229,227,228,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(239,237,238,1) 65%,rgba(229,227,228,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e3e4',GradientType=0 ); /* IE6-9 */
}
.navbar #main-nav li.menu-item-donate a {
  /* color: #fff; */
}

.navbar #main-nav li.menu-item-sub-donate a::before,
.navbar #main-nav li.menu-item-sub-anniversary a::before {
/*    content: "\e103";*/
}

.navbar #main-nav li.menu-item-btn-donate a {
  /* background-color: #8c1924; */
  background-color: #8c3232;
  color: #fff;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8c3232+0,8c1924+100 */
  background: rgb(140,50,50); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(140,50,50,1) 0%, rgba(140,25,36,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(140,50,50,1) 0%,rgba(140,25,36,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(140,50,50,1) 0%,rgba(140,25,36,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c3232', endColorstr='#8c1924',GradientType=0 ); /* IE6-9 */
  
  border-bottom: 1px solid rgb(135,20,31);
  border-radius: 8px;
}
.navbar #main-nav li.menu-item-btn-donate a:hover {
  opacity: 0.8;
}
/*
   EJW: div.main-container may need adjustment depending 
   on device, navbar fixed vs. static, etc. 
   See also: script.js which adds calculated margins to div.main-container
*/

div#content-wrapper {
  padding: 0;
  margin: 0;
}

/* EJW: Basic defaults (for graceful failure without jQuery) */
.front .main-container { padding: 2em 0 1em 0; } 
.not-front .main-container { padding: 2em 0 1em 0; }
@media(max-width: 769px) {
  .not-front .main-container { padding: 1px 0 1em 5px; }
  .front .main-container { padding: 1px 0 1em 5px; }
}

/* EJW: jQuery added classes (see script.js) */
/*
body.pe-navbar-fixed-top .main-container {
  padding-top: 1px;
}
body.pe-navbar-static-top .main-container {
  padding-top: 1px;
}
*/

.more-link { text-align: center; }

.page-header {
  margin: 0.5em 0 0.5em;
  border-bottom: 1px solid #eeeeee;
}

#luxe-login { float: left; width: 45%; }
#luxe-login-register { float: right; width: 45%; }

.well {
  border-radius: 0;
  border: none;
  
  /* Standard callout / notice styling. */
  /* border-top: 1px solid #e7e6e5; */
  /* border-radius: 5px; */
  border-bottom: 1px solid #e7e6e5;
  background: #faf9f8;
  padding: 1em;
  margin: 0 0 1em 0;
  color: #111;

  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}


.btn {
  border-width: 0 1px 3px 1px;
}

.btn-default {
  color: #666;
  background-color: #faf9f8;
  border-color: #e7e6e5;
}
.btn-default:hover, .btn-default:focus, .btn-group.open .dropdown-toggle.btn-default {
  background-color: #faf9f8;
  border-color: #e7e6e5;
  opacity: 0.8;
}

.btn-primary,
.btn-info {
  color: #ffffff;
  background-color: #d32011;
  border-color: #ba1c0f; /* ~5% darker than styleguide element. */
}
.btn-primary:hover, .btn-primary:focus, .btn-group.open .dropdown-toggle.btn-primary,
.btn-info:hover, .btn-info:focus, .btn-group.open .dropdown-toggle.btn-info {
  background-color: #d32011;
  border-color: #ba1c0f; /* ~5% darker than styleguide element. */
  opacity: 0.8;
}

.btn .glyphicon {
  left: 3px;
}

a.btn {
  color: #fff;
}
a.btn:visited {
  color: #eee;
}

/* Special use buttons */
.btn-aamdsif-eventbright-reg {
  display: inline-block;
  background-image: url('//assets.aamds.org/images/eventbrite--register-now-button.png');
  text-indent: -9999px;
  width: 166px;
  height: 36px;
  margin-bottom: 0.5em;
}
.btn-aamdsif-eventbright-reg:hover {
  opacity: 0.8;
}


.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  z-index: 3;
  color: #666;
  background-color: #faf9f8;
  border-color: #e7e6e5;
  cursor: default;
}


.navbar-default {
  rgba(248,248,248,0.9);
}
#main-nav { padding: 0; }
#main-nav ul { margin: 0; }

.breadcrumb {
  border-style: none;
  border-width: 0;

  /* Standard callout / notice styling. */
  border-bottom: 1px solid #e7e6e5;
  background: #faf9f8;
  padding: 0.5em;
  margin: 0 0 1em 0;
  color: #333;

  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Bootstrap elements END ************************************************  */


/**
 * AAMDSIF:  CSS from bootstrap_aamds/content_fields.less (legacy)
 */

/* Fields for interviews */
.region-content .field-name-field-interviewee {
  border-left: 4px solid #e7e6e5;
  background-color: #faf9f8;
  padding-left: 4px;
  margin-top: 20px;
}
.region-content .field-name-field-interviewee .submitted {
}


/**
 * Node-embeds styling.  See: node--node_embed.tpl.php.
 */
.region-content div.node-embed-topic-section,
.region-content div.node-embed-default {
}

/* Node Embed Views 7.x-1.0-dev */
.region-content .view-field-collection-view-subsection .views-field-delete-link,
.region-content .view-field-collection-view-subsection .views-field-edit-link,
.region-content .view-field-collection-view-subsection .view-footer a {
  float: left;
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 4px 1em;
  margin-right: 2px;
  background-color: #f6f6f6;
  display: inline-block;
}
.region-content .view-field-collection-view-subsection .view-footer {
  margin-top: 12px;
}

/* node_embed with filter "title-intro" and "intro" */
.region-content .field-name-body .node-embed-filter-title-intro .field-name-field-intro, 
.region-content .field-name-body .node-embed-filter-intro .field-name-field-intro {
  padding:0 2% 0 2%; /* .tuck-2 */
}
.region-content .field-name-subsections .node-embed-filter-title-intro .field-name-field-intro, 
.region-content .field-name-subsections .node-embed-filter-intro .field-name-field-intro {
  border-top: 1px dashed #e7e6e5;
  border-bottom: 1px dashed #e7e6e5;
  margin-bottom: 0.5em;
}

.region-content .node-embed h3 {
  font-weight: 500;
}
.region-content .node-embed h2.field-title-display {
  font-weight: 600;
}

/**
 * NRD: Content manually added to lists of embedded nodes.
 */
.region-content article.node h3.section-title {
}
.region-content article.node h4.section-title {
}
.region-content article.node p.section-intro {
}

/**
 * NRD: Fields for search.
 */
.region-content .search-results .search-result .search-snippet-info .search-field-event-date {
  color: #666;
  font-size: 0.9em;
  padding:0 5% 0 5%;
}
.region-content .search-results .search-result .search-snippet-info .search-snippet {
  padding:0 5% 0 5%;
}
.region-content .search-results .search-result .search-snippet-info .search-info {
  color: #aaa;
  font-size: 0.9em;
  padding:0 5% 0 5%;
}


/**
 * AAMDSIF:  CSS from bootstrap_aamds/style.css (legacy)
 */
.submitted {
  margin-bottom: 1em;
  font-style: italic;
  font-weight: normal;
  color: #777;
}

ul.action-links {
  margin-bottom: 2em;
}

ul.action-links li {
  display: inline;
  padding-right: 1.5em;
}

ul.action-links [class^="icon-"],
ul.action-links [class*=" icon-"] {
  padding-right: .5em;
}

/**
 * Admin Styling
 */

/* Fix Toolbar for .navbar-fixed-top */
body.toolbar .navbar-fixed-top {
  top: 30px;
}

body.toolbar-drawer .navbar-fixed-top {
  top: 65px;
}

/* NRD: These break with the current theme on desktop.
@media(min-width: 980px) {

  body.toolbar {
    padding-top: 94px !important;
  }

  body.toolbar-drawer {
    padding-top: 129px !important;
  }
}
*/

html.overlay-open .navbar-fixed-top {
  z-index: 400;
}

/**
 * Search form stylings.
 */

#block-multiblock-2 form#search-block-form {
/*
  margin-bottom: 5px;
  margin-top: 5px;
*/
}


#block-multiblock-2 form#search-block-form input {
  width: 100%;
}
#block-multiblock-2 form#search-block-form button {
  background-color: #666465;
}

@media(max-width: 979px) {
  #block-multiblock-2 form#search-block-form {
    float: none;
  }
}

fieldset.search-advanced {
  padding-bottom: 1.5em;
  margin-top: 1em;
}

/* Admin toolbar fix */
body.admin-expanded.admin-vertical.admin-nw .navbar,
body.admin-expanded.admin-vertical.admin-sw .navbar {
  margin-left: 260px;
}

div#admin-toolbar {
  z-index: 500;
}

/* Admin_menu fix */
#admin-menu {
  z-index: 1000;
  position: fixed;
}

body.admin-menu .navbar-fixed-top {
  top: 30px;
}

#admin-menu .dropdown li {
  line-height: normal;
}

/* System base fix */
.container-inline div,
.container-inline label {
  display: block;
}

/* Default form fields to auto */
input,
textarea,
select,
.uneditable-input {
  width: auto;
}

/* Default textfield styles inside vertical tabs */
.vertical-tabs .form-type-textfield input {
  -moz-box-sizing: inherit;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  width: auto;
}

/* Vertical tabs form elements alighment */
.vertical-tabs .form-item {
  margin: 1em 0;
}

/* Collapsible field groups fix */
html.js fieldset.collapsed {
  height: auto;
}

/* throbber fix */
html.js input.form-autocomplete {
  background-position: 100% 8px; /* LTR */
  background-repeat: no-repeat;
}

html.js input.throbbing {
  background-position: 100% -13px; /* LTR */
}

.navbar-search .control-group {
  margin-bottom: 0px;
}

input.error {
  color: #b94a48;
  border-color: #b94a48;
}

/**
 * Password strength indicator.
 */
.password-strength {
  width: 17em;
  float: right;  /* LTR */
  margin-top: 1.4em;
}

.password-strength-title {
  display: inline;
}

.password-strength-text {
  float: right; /* LTR */
  font-weight: bold;
}

.password-indicator {
  background-color: #c4c4c4;
  height: 0.3em;
  width: 100%;
}

.password-indicator div {
  height: 100%;
  width: 0%;
  background-color: #47c965;
}

input.password-confirm,
input.password-field {
  width: 16em;
  margin-bottom: 0.4em;
}

div.password-confirm {
  float: right;  /* LTR */
  margin-top: 1.5em;
  visibility: hidden;
  width: 17em;
}

div.form-item div.password-suggestions {
  padding: 0.2em 0.5em;
  margin: 0.7em 0;
  width: 38.5em;
  border: 1px solid #b4b4b4;
}

div.password-suggestions ul {
  margin-bottom: 0;
}

.confirm-parent,
.password-parent {
  clear: left; /* LTR */
  margin: 0;
  width: 36.3em;
}
/* added an extra clear both in the situation the form actions is preceded by an badly wrapped float element and they overlap
e.g. multipage*/

.form-actions {
  clear: both;
}
/* Override Dropdown  Menu to allow on-hover behaviour */
.dropdown-menu {
  margin:0;
}

.navbar-is-fixed-top .logo pull-left img {
  max-height:40px;
}

/**
 * Debugging.
 */

/* Highlight elements with bootstrap col classes with a hover state. */
/*
[class*="col"]:hover { 
  background-color:rgba(170,70,70,0.02);
}
[class*="col"] [class*="col"]:hover { 
  background-color:rgba(170,70,70,0.04);
}
*/


/**
 * NRD: 03/04 - Style lexicon index and pagination
 */
.pagination > li > a,
.pagination > li > span {
    /* color: #af282e; */
    color: #8c3232;
}
.pagination > li > a:hover,
.pagination > li > a:focus {
    color: #616366;
}

.lexicon-links {
  /* Jump index at the top of the glossary pages */
  text-align: left;
  padding: 0.25em 1em;
  background: #eeeeee;
}
a.lexicon-term {
  /* Lexicon terms in content. */
  color: #766e72;
  border-bottom: none;
}


/**
 * NRD: Styles for tooltips
 */
abbr[title], 
abbr[data-original-title] {
  text-decoration: none;
}

[rel~=tooltip]:after {
    content: '?';
    display: inline-block;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    width: 1.8ex;
    height: 1.8ex;
    font-size: 1.6ex;
    line-height: 1.8ex;
    border-radius: 1.2ex;
    margin-left: 4px;
    padding: 1px;
    color: #333;
    background: #faf9f8;
    border: 2px solid #333;
    text-decoration: none;
}
[rel~=tooltip]:hover:after {
    color: #e7e6e5;
    background: #333;
    border-color: #e7e6e5;
    text-decoration: none;
}

abbr[rel~=tooltip] {
  border-bottom: none;
}

#tooltip {
  text-align: center;
  color: #fff;
  background: #111;
  position: absolute;
  z-index: 100;
  padding: 15px;
}
  #tooltip:after { /* triangle decoration */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #111;
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
  }
 
    #tooltip.top:after {
      border-top-color: transparent;
      border-bottom: 10px solid #111;
      top: -20px;
      bottom: auto;
    }
 
    #tooltip.left:after {
      left: 10px;
      margin: 0;
    }
 
    #tooltip.right:after {
      right: 10px;
      left: auto;
      margin: 0;
    }


/**
 * Adjust a few core Bootstrap defaults.
 */
img.pull-right {
  margin-left: 2em;
}
.bg-info {
  background-color: #faf9f8;
}
img.img-thumbnail {
  border: none;
}
.bg-primary, .bg-success, .bg-info, .bg-warning, .bg-danger {
  border: 1px solid #e7e6e5;
  border-radius: 5px;
  padding: 15px;
}
.modal-dialog {
  margin-top: 100px !important;
}


/**
 * Per-section styling (via Context module)
 */
/*
body.context-section-CONTEXT h1.page-header {
  background-color:rgba(70,170,70,0.150);
} 
*/


/**
 * NRD: Style administrator "actions" on nodes (this includes the "Node Clone" feature).
 */
ul.action-links li a {
  border-radius: px;
  border: 1px solid #e7e6e5;
  padding: 4px 1em;
  margin-right: 2px;
  background-color: #f6f6f6;
  display: inline-block;
}

.faq-edit-links a {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 4px 1em;
  margin-right: 2px;
  background-color: #f6f6f6;
  display: inline-block;
}


/**
 * NRD: 03/08 - Calendar testing
 */
 
/* Pagers */
.view .date-nav-wrapper .date-prev {
  background: none;
  right: 80px;
}
.view .date-nav-wrapper .date-next {
  background: none;
}
/* Event links */
.calendar-calendar td a {
  font-weight: normal;
}
/* Single day event background color */
.calendar-calendar .month-view .full td.single-day div.monthview, 
.calendar-calendar .week-view .full td.single-day div.weekview, 
.calendar-calendar .day-view .full td.single-day div.dayview {
    background: #f4f2f0;
}
.calendar-calendar td .inner div.calendar div, 
.calendar-calendar td .inner div.calendar div a {
    padding: 1px 1px;
    line-height: 12px;
}


/**
 * NRD: 10/25 - Pulse / beacon for matching challenge.
 */
@-webkit-keyframes beacon-x2 {to {box-shadow: 0 0 0 90px rgba(232, 76, 61, 0);}}
@-moz-keyframes beacon-x2 {to {box-shadow: 0 0 0 90px rgba(232, 76, 61, 0);}}
@-ms-keyframes beacon-x2 {to {box-shadow: 0 0 0 90px rgba(232, 76, 61, 0);}}
@keyframes beacon-x2 {to {box-shadow: 0 0 0 90px rgba(232, 76, 61, 0);}}

.beacon-x2-img {
  display: inline-block;
  position: relative;
  width: 26px;
  height: 26px;
  vertical-align: middle;
  border: 1px solid rgba(255,60,60,0.33);
  box-shadow: 0 0 0 0 rgba(255, 120, 120, 0.8);
  border-radius: 50%;
  background-image: url(//www.aamds.org/sites/all/themes/bootstrap_aamds/img/icons/appeal-x2-v2-sq.png);
  background-repeat: no-repeat;
  cursor: pointer;
  
  /* This bezier is basically a more extreme version of "ease-in-out" */
  -webkit-animation: beacon-x2 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -moz-animation: beacon-x2 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -ms-animation: beacon-x2 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  animation: beacon-x2 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
}
.beacon-x2-img:hover {
  -webkit-animation: none;-moz-animation: none;-ms-animation: none;animation: none;
}

/** 
 * NRD: 10/30 - Testing for content-top region blocks
 */
#region-content-top .block {
  border-top: 1px solid #e7e6e5;
  border-bottom: 1px solid #e7e6e5;
  background: #faf9f8;
  padding: 5px;
  margin-bottom: 0.5em;
  border-radius: 5px;
}

/**
 * YTV (Youtube JS API) styling
 */
article div#ytv-responsive,
article div#ytv-responsive-1,
article div#ytv-responsive-2,
article div#ytv-responsive-3 {
  min-height: 360px;
  width: 100%;
  background-color: #faf9f8;
}

/**
 * Timeline Page styling
 */

/* Timeline year bubbles (navigation elements / links) */

#timeline-container a,
#timeline-container-mobile a { 
  text-decoration: none; 
}

#timeline-container ul,
#timeline-container-mobile ul { 
  min-height:370px;
  position:relative;
}

#timeline-container ul,
#timeline-container ol,
#timeline-container-mobile ul,
#timeline-container-mobile ol { 
  margin:0; padding:0; 
  list-style:none; 
}
#timeline-container ul li,
#timeline-container-mobile ul li { 
  position:absolute; 
  background:#c6c5c5; 
  border-radius:50%; 
  text-align:center;
  z-index:0;
}
#timeline-container ul li a,
#timeline-container-mobile ul li a { 
  color:#fffefe;
}
#timeline-container ul li.active,
#timeline-container-mobile ul li.active {
  background: #b7212d;
  background: -moz-radial-gradient(center, ellipse cover, #b7212d 1%, #6d0019 66%, #4c0010 99%); /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover, #b7212d 1%,#6d0019 66%,#4c0010 99%); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center, #b7212d 1%,#6d0019 66%,#4c0010 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7212d', endColorstr='#4c0010',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  z-index:100;
}
#timeline-container ul li.active:before,
#timeline-container-mobile ul li.active:before { 
  border:3px solid #8c1924; 
  border-radius:50%; 
  position:absolute; 
  content:"";
}
#timeline-container-mobile ul li.active:before {
  border:2px solid #8c1924; 
}

/* Text bubbles */
#timeline-container ul li.year-txt {
  width:88px;
  height:88px;
  padding: 30px 0 0 0;
}
#timeline-container ul li.year-txt a {
  font-size:30px;
}
#timeline-container ul li.year-txt.active:before {
  left:-8px; 
  top:-8px; 
}
#timeline-container ul li.year-txt:before {
  width:104px; 
  height:104px;
}

#timeline-container-mobile ul li.year-txt {
  width:82px;
  height:82px;
  padding: 25px 0 0 0;
}
#timeline-container-mobile ul li.year-txt a {
  font-size:28px;
}
#timeline-container-mobile ul li.year-txt.active:before {
  left:-7px; 
  top:-7px; 
}
#timeline-container-mobile ul li.year-txt:before {
  width:96px; 
  height:96px;
}

/* Large year bubbles */
#timeline-container ul li.year-lg {
  width:92px;
  height:92px;
  padding: 30px 0 0 0;
}
#timeline-container ul li.year-lg a {
  font-size:35px;
}
#timeline-container ul li.year-lg.active:before {
  left:-8px; 
  top:-8px; 
}
#timeline-container ul li.year-lg:before {
  width:108px; 
  height:108px;
}

#timeline-container-mobile ul li.year-lg {
  width:82px;
  height:82px;
  padding: 25px 0 0 0;
}
#timeline-container-mobile ul li.year-lg a {
  font-size:30px;
}
#timeline-container-mobile ul li.year-lg.active:before {
  left:-7px; 
  top:-7px; 
}
#timeline-container-mobile ul li.year-lg:before {
  width:96px; 
  height:96px;
}

/* Medium year bubbles */
#timeline-container ul li.year-md {
  width:70px;
  height:70px;
  padding: 20px 0 0 0;
}
#timeline-container ul li.year-md a {
  font-size:26px;
}
#timeline-container ul li.year-md.active:before {
  left:-7px; 
  top:-7px; 
}
#timeline-container ul li.year-md:before {
  width:84px; 
  height:84px;
}

#timeline-container-mobile ul li.year-md {
  width:60px;
  height:60px;
  padding: 16px 0 0 0;
}
#timeline-container-mobile ul li.year-md a {
  font-size:21px;
}
#timeline-container-mobile ul li.year-md.active:before {
  left:-6px; 
  top:-6px; 
}
#timeline-container-mobile ul li.year-md:before {
  width:72px; 
  height:72px;
}

/* Small year bubbles */
#timeline-container ul li.year-sm {
  width:40px;
  height:40px;
  padding: 6px 0 0 0;
}
#timeline-container ul li.year-sm a {
  font-size:16px;
}
#timeline-container ul li.year-sm.active:before {
  left:-6px; 
  top:-6px; 
}
#timeline-container ul li.year-sm:before { 
  width:52px; 
  height:52px;
}

#timeline-container-mobile ul li.year-sm {
  width:38px;
  height:38px;
  padding: 6px 0 0 0;
}
#timeline-container-mobile ul li.year-sm a {
  font-size:15px;
}
#timeline-container-mobile ul li.year-sm.active:before {
  left:-5px; 
  top:-5px; 
}
#timeline-container-mobile ul li.year-sm:before { 
  width:48px; 
  height:48px;
}

/* Year bubble positioning */
/* #timeline-container ul li  { left:-999px; top:-999px; } */

/* xs/sm/md positioning - right to left (mobile container only) */
@media screen and (max-width: 991px) {
  /* #timeline-container-mobile ul { border-left: 1px solid #0f0; } */
  #timeline-container-mobile ul li.year-1983 { left:1px; top:1px; }
  #timeline-container-mobile ul li.year-1984 { left:110px; top:15px; }
  #timeline-container-mobile ul li.year-1989 { left:65px; top:75px; }
  #timeline-container-mobile ul li.year-1993 { left:30px; top:135px; }
  #timeline-container-mobile ul li.year-1994 { left:110px; top:155px; }
  #timeline-container-mobile ul li.year-1997 { left:20px; top:180px; }
  #timeline-container-mobile ul li.year-1999 { left:95px; top:240px; }
  #timeline-container-mobile ul li.year-2000 { left:160px; top:255px; }
  
  #timeline-container-mobile ul li.year-2002 { left:120px; top:1px; }
  #timeline-container-mobile ul li.year-2004 { left:50px; top:18px; }
  #timeline-container-mobile ul li.year-2005 { left:90px; top:70px; }
  #timeline-container-mobile ul li.year-2006 { left:175px; top:120px; }
  #timeline-container-mobile ul li.year-2007 { left:135px; top:201px; }
  #timeline-container-mobile ul li.year-2008 { left:90px; top:245px; }
  #timeline-container-mobile ul li.year-2009 { left:1px; top:255px; }
  #timeline-container-mobile ul li.year-2010 { left:105px; top:300px; }
  
  #timeline-container-mobile ul li.year-2011 { left:140px; top:1px; }
  #timeline-container-mobile ul li.year-2012 { left:190px; top:5px; }
  #timeline-container-mobile ul li.year-2013 { left:165px; top:90px; }
  #timeline-container-mobile ul li.year-2014 { left:85px; top:75px; }
  #timeline-container-mobile ul li.year-2015 { left:75px; top:140px; }
  #timeline-container-mobile ul li.year-2016 { left:5px; top:170px; }
  #timeline-container-mobile ul li.year-2017 { left:95px; top:205px; }
  #timeline-container-mobile ul li.year-2018 { left:140px; top:210px; }
  #timeline-container-mobile ul li.year-now { left:225px; top:255px; }
}

/* Percentage based positioning for md and larger.  Added 2019-01-09 */
@media screen and (min-width: 992px) {
  #timeline-container ul li.year-1983 { left:0.88%;  top:1px; }
  #timeline-container ul li.year-1984 { left:2.19%;  top:120px; }
  #timeline-container ul li.year-1989 { left:8.77%;  top:75px; }
  #timeline-container ul li.year-1993 { left:14.00%; top:35px; }
  #timeline-container ul li.year-1994 { left:16.67%; top:135px; }
  #timeline-container ul li.year-1997 { left:19.30%; top:15px; }
  #timeline-container ul li.year-1999 { left:25.44%; top:100px; }
  #timeline-container ul li.year-2000 { left:26.75%; top:185px; }
  #timeline-container ul li.year-2002 { left:33.30%; top:130px; }
  #timeline-container ul li.year-2004 { left:35.09%; top:45px; }
  #timeline-container ul li.year-2005 { left:37.72%; top:125px; }
  #timeline-container ul li.year-2006 { left:44.30%; top:215px; }
  #timeline-container ul li.year-2007 { left:49.50%; top:135px; }
  #timeline-container ul li.year-2008 { left:52.63%; top:95px; }
  #timeline-container ul li.year-2009 { left:54.82%; top:5px; }
  #timeline-container ul li.year-2010 { left:60.96%; top:100px; }
  #timeline-container ul li.year-2011 { left:64.47%; top:140px; }
  #timeline-container ul li.year-2012 { left:64.91%; top:190px; }
  #timeline-container ul li.year-2013 { left:71.49%; top:150px; }
  #timeline-container ul li.year-2014 { left:73.68%; top:75px; }
  #timeline-container ul li.year-2015 { left:78.51%; top:30px; }
  #timeline-container ul li.year-2016 { left:82.02%; top:50px; }
  #timeline-container ul li.year-2017 { left:86.40%; top:150px; }
  #timeline-container ul li.year-2018 { left:88.60%; top:190px; }
  #timeline-container ul li.year-now {  left:92.11%; top:90px; }
}

/* md positioning - top to bottom*/
/* Using percentage based positioning now. Pixel positioning removed 2019-01-09
@media screen and (min-width: 992px) {
  #timeline-container ul li.year-1983 { left:10px;  top:1px; }
  #timeline-container ul li.year-1984 { left:25px;  top:120px; }
  #timeline-container ul li.year-1989 { left:100px; top:75px; }
  #timeline-container ul li.year-1993 { left:170px; top:35px; }
  #timeline-container ul li.year-1994 { left:190px; top:125px; }
  #timeline-container ul li.year-1997 { left:220px; top:25px; }
  #timeline-container ul li.year-1999 { left:290px; top:105px; }
  #timeline-container ul li.year-2000 { left:310px; top:185px; }
  #timeline-container ul li.year-2002 { left:375px; top:130px; }
  #timeline-container ul li.year-2004 { left:400px; top:50px; }
  #timeline-container ul li.year-2005 { left:425px; top:125px; }
  #timeline-container ul li.year-2006 { left:485px; top:215px; }
  #timeline-container ul li.year-2007 { left:530px; top:145px; }
  #timeline-container ul li.year-2008 { left:565px; top:95px; }
  #timeline-container ul li.year-2009 { left:575px; top:1px; }
  #timeline-container ul li.year-2010 { left:620px; top:105px; }
  #timeline-container ul li.year-2011 { left:655px; top:140px; }
  #timeline-container ul li.year-2012 { left:650px; top:190px; }
  #timeline-container ul li.year-2013 { left:705px; top:145px; }
  #timeline-container ul li.year-2014 { left:705px; top:65px; }
  #timeline-container ul li.year-2015 { left:740px; top:15px; }
  #timeline-container ul li.year-2016 { left:785px; top:30px; }
  #timeline-container ul li.year-2017 { left:815px; top:135px; }
  #timeline-container ul li.year-2018 { left:810px; top:185px; }
  #timeline-container ul li.year-now {  left:870px; top:100px; }
}
*/

/* lg positioning - top to bottom*/
/* Using percentage based positioning now. Pixel positioning removed 2019-01-09
@media screen and (min-width: 1200px) {
  #timeline-container ul li.year-1983 { left:10px;   top:1px; }
  #timeline-container ul li.year-1984 { left:25px;   top:120px; }
  #timeline-container ul li.year-1989 { left:100px;  top:75px; }
  #timeline-container ul li.year-1993 { left:170px;  top:35px; }
  #timeline-container ul li.year-1994 { left:190px;  top:125px; }
  #timeline-container ul li.year-1997 { left:220px;  top:15px; }
  #timeline-container ul li.year-1999 { left:290px;  top:105px; }
  #timeline-container ul li.year-2000 { left:305px;  top:185px; }
  #timeline-container ul li.year-2002 { left:375px;  top:130px; }
  #timeline-container ul li.year-2004 { left:400px;  top:45px; }
  #timeline-container ul li.year-2005 { left:430px;  top:125px; }
  #timeline-container ul li.year-2006 { left:505px;  top:215px; }
  #timeline-container ul li.year-2007 { left:540px;  top:135px; }
  #timeline-container ul li.year-2008 { left:600px;  top:95px; }
  #timeline-container ul li.year-2009 { left:625px;  top:5px; }
  #timeline-container ul li.year-2010 { left:695px;  top:100px; }
  #timeline-container ul li.year-2011 { left:735px;  top:140px; }
  #timeline-container ul li.year-2012 { left:740px;  top:190px; }
  #timeline-container ul li.year-2013 { left:815px;  top:150px; }
  #timeline-container ul li.year-2014 { left:840px;  top:75px; }
  #timeline-container ul li.year-2015 { left:895px;  top:30px; }
  #timeline-container ul li.year-2016 { left:935px;  top:50px; }
  #timeline-container ul li.year-2017 { left:985px;  top:150px; }
  #timeline-container ul li.year-2018 { left:1010px; top:190px; }
  #timeline-container ul li.year-now {  left:1050px; top:90px; }
}
*/

/* Timeline content (each year is in its own .timeline-content container) */
.timeline-content { 
  min-height: 300px;
  display: none; 
  opacity: 0;
}
.timeline-content.active {
  display: block;
  opacity: 1;
}
.timeline-content h2 { 
  font-size:41px; 
  text-align:center; 
  position:relative;
  color: #8c1924; 
  margin: 0 0 18px 0; 
  padding: 0 0 5px 0;
  border-top: 1px solid #c6c5c5;
  border-bottom: 1px solid #c6c5c5;
}
.timeline-content h2 a { 
  color:#8c1924; 
  display:block; 
  position:absolute; 
  width:18px;
  height:37px;
  top:6px; 
  transition:none;
  -webkit-transition:none;
  -moz-transition:none;
  -ms-transition:none;
}
.timeline-content h2 a:hover {}
.timeline-content h2 .prev { 
  left:50%;
  margin-left:-90px;
  font-size: 70px;
  line-height: 20px;
}
.timeline-content h2 .next { 
  right:50%;
  margin-right: -70px;
  font-size: 70px;
  line-height: 20px;
}

.timeline-content img { 
  float:right; margin:0;
}
.timeline-content img.figure { 
  max-width: 300px;
}
.timeline-content .caption {}
.timeline-content .caption p { 
  font-size: 1.25em;
  line-height: 
  margin:0 0 10px 0;
  padding: 5px 0 10px 82px; 
  min-height: 62px;
}

#timeline-container-mobile .timeline-content img {}
#timeline-container-mobile .timeline-content img.figure {
  max-width: 100px;
}
#timeline-container-mobile .timeline-content .caption {
}
#timeline-container-mobile .timeline-content .caption p { 
  font-size: 1.0em;
  margin:0 0 10px 0;
  padding: 5px 0 10px 82px; 
  min-height: 50px;
}

.timeline-content .caption p strong { 
  background-color: #8c1924;
  color: #fff;
  padding: 3px;
}

.timeline-content .caption p.oversight { background:url(//www.aamds.org/sites/all/themes/bootstrap_aamds/img/icons/timeline/icon-caption-oversight.png) no-repeat; }
.timeline-content .caption p.foundation { background:url(//www.aamds.org/sites/all/themes/bootstrap_aamds/img/icons/timeline/icon-caption-foundation.png) no-repeat; }
.timeline-content .caption p.continued { background:url(//www.aamds.org/sites/all/themes/bootstrap_aamds/img/icons/timeline/icon-caption-continued.png) no-repeat; }
.timeline-content .caption p.impact { font-size: 1.4em; }


/**
 * Download blocks.
 */

.downloads-block a[download] {
  font-size: 1.5rem;
  font-weight: 500;
  padding-left: 2.5em;
}
.downloads-block a[download]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-download.svg);
  display: inline-block;
  height: 2rem;
  position: relative;
  top: 0.75rem;
  right: 2rem;
  width: 2rem;
}

.downloads-block a[download][href$=".mov"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-movie.svg);
}

.downloads-block a[download][href$=".m4a"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-podcast.svg);
}

.downloads-block a[download][href$=".pdf"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-manual.svg);
}

.downloads-block a[download][href$=".mp3"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-music.svg);
}

.downloads-block a[download][href$=".zip"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-zip.svg);
}

.downloads-block a[download][href$=".txt"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-script.svg);
}

.downloads-block a[download][href$=".stl"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-3d.svg);
}

.downloads-block a[download][href$=".docx"]::before {
  content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/11907/download-icon-documentation.svg);
}

.downloads-block p {
  margin: 0;
}

.downloads-block small {
  font-size: 1em;
}

.downloads-block a {
  /* color: #e2231a; */
  color: #8c3232;
  -webkit-text-decoration-skip: ink;
          text-decoration-skip: ink;
}
.downloads-block a:visited {
  color: #8c6c6c;
}
.downloads-block a:focus, a:hover {
  color: #999;
  text-decoration: none;
}
.downloads-block a:active {
  color: #999;
}

.downloads-block abbr[title] {
  border-bottom: 1px dotted;
  cursor: help;
  text-decoration: none;
}

.downloads-block .disclosure {
  margin-bottom: 2em;
}

@media screen and (min-width: 30em) {
  .downloads-block {
    border: 1px solid var(#f0f0f0);
    border-radius: 0.75rem;
    padding: 1px;
  }
  @supports (display: grid) {
    .downloads-block {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(384px, 1fr));
      grid-auto-rows: minmax(5rem, auto);
      grid-gap: 2rem;
    }
  }
}

.downloads-block .download {
  margin-top: 2rem;
}
@media screen and (min-width: 30em) {
  @supports (display: grid) {
    .downloads-block .download {
      margin-top: 0;
    }
  }
}
.downloads-block .download__instructions {
  color: #888;
  line-height: 1.3;
  padding-top: 0.4rem;
  padding-left: 3.6rem;
}
.downloads-block .download__properties {
  color: #aaa;
  display: block;
  font-size: 80%;
  text-transform: uppercase;
  margin-top: 0.65em;
}

.downloads-block .sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
/* style.css END *********************************************************  */


/**
 * AAMDSIF: Regions
 * 
 */
#header {
  margin-top: 10px;
}
#postcript_top {
  background-color: #766e72;
  color: #ffffff;
  padding: 1em;
}

#region-leader-slideshow--DEPRECATED { /* Red gradiant version of slideshow region */
  margin-top: 0;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8c3232+0,8c1924+100 */
  background: rgb(140,50,50); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(140,50,50,1) 0%, rgba(140,25,36,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(140,50,50,1) 0%,rgba(140,25,36,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(140,50,50,1) 0%,rgba(140,25,36,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c3232', endColorstr='#8c1924',GradientType=0 ); /* IE6-9 */

}


#region-leader-slideshow { /* Simple white slideshow region */
  margin: 1em 0;
}


/* Block styling in region-content */
.region-content-top .block {
  /*
  border-top: 1px solid #e7e6e5;
  border-bottom: 1px solid #e7e6e5;
  background: #faf9f8;
  padding: 5px;
  margin-bottom: 0.5em;
  border-radius: 5px;
  */

  /* Standard callout / notice styling. */
  /* border-top: 1px solid #e7e6e5; */
  /* border-radius: 5px; */
  border-bottom: 1px solid #e7e6e5;
  background: #faf9f8;
  padding: 1em;
  margin: 0 0 1em 0;
  color: #333;

  box-shadow: 0 1px 4px rgba(0,0,0,0.1);

}
.region-content ul, 
.region-content p,
.region-content .views-row .row div.field {
  color: #000; /* #111; */
  /*margin: 0 0 1.5em;
  font-size: 18px;*/
  font-weight: 100;
}

.region-sidebar-first section.block,
.region-sidebar-second section.block {
  font-weight: 300; /* 100 */
  margin-bottom: 2em;
}
.region-sidebar-first h2.block-title,
.region-sidebar-second h2.block-title {
  font-family: 'MuseoSlab-100';
  margin-top: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid #e7e6e5;
}

footer.footer { 
  padding-bottom: 0;
  margin-bottom: 0;
}

footer.footer h2,
footer.footer h3,
footer.footer h4,
footer.footer h5,
footer.footer h6,
footer.footer a {
  color: #e7e6e5;
}

footer #region-footer-row-first h2, 
footer #region-footer-row-first h3, 
footer #region-footer-row-first h4, 
footer #region-footer-row-first h5,
footer #region-footer-row-first h6, 
footer #region-footer-row-first a {
  color: #fff;
}

footer #region-footer-row-second {
  background-color: #4f5152;
  color: #aaa;
  padding-top: 1em;
  padding-bottom: 2em;
}



/**
 * AAMDSIF: Tweaks
 *
 */

.navbar-default .navbar-toggle {
  border-color: #ddd;
  height: 54px;
  width: 46px;
}
.navbar-toggle .icon-bar {
  height: 3px;
  width: 24px;
}

menu>.active>a:hover, 
.dropdown-menu>.active>a:focus {
    color: #ddd;
}
 
.container > .navbar-header, 
.container-fluid > .navbar-header, 
.container > .navbar-collapse, 
.container-fluid > .navbar-collapse {
  width: 100%;
}

.navbar .logo {
  padding-top: 10px;
  padding-bottom: 10px;
}
.navbar .logo img {
  height: 123px;
}

.navbar .site-slogan {
  font-weight: 300;
  font-size: 20px;
}

@media (min-width: 768px)
.lead {
    font-size: 22px;
}
.lead {
  line-height: 1.5;

  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  background-color: #fafafa;
  border-radius: 4px;
}

/**
 * AAMDSIF: Page / context specific tweaks
 */
body.front h1.page-header {
  display: none;
}


/** 
 * AAMDSIF: Audience tweaks
 */
 
/* Audience: patients */
.navbar #main-nav li.menu-item-patients {
  border-bottom: 4px solid #721520;
}
.navbar #main-nav li.menu-item-patients:hover li a:hover { 
  background-color: #aa7379;
}
body.context-patients-section .region-sidebar-first .nav>li.active-trail>a,
body.context-patients-section .region-sidebar-second .nav>li.active-trail>a {
  border-bottom-color: #8e444d;
}
body.context-patients-section h1.page-header,
body.context-patients-section .region-sidebar-first h2.block-title,
body.context-patients-section .region-sidebar-second h2.block-title {
  color: #721520;
}
body.context-patients-section .main-container .lead {
  background-color: #e3d0d2;
  border-top: 4px solid #8e444d;
  border-bottom: 4px solid #8e444d;
}

/* Audience: caregivers */
.navbar #main-nav li.menu-item-caregivers {
  border-bottom: 4px solid #2c4a58;
}
.navbar #main-nav li.menu-item-caregivers:hover li a:hover { 
  background-color: #80929b;
}
body.context-caregivers-section .region-sidebar-first .nav>li.active-trail>a,
body.context-caregivers-section .region-sidebar-second .nav>li.active-trail>a {
  border-bottom-color: #566e79;
}
body.context-caregivers-section h1.page-header,
body.context-caregivers-section .region-sidebar-first h2.block-title,
body.context-caregivers-section .region-sidebar-second h2.block-title {
  color: #2c4a58;
}
body.context-caregivers-section .main-container .lead {
  background-color: #d5dbde;
  border-top: 4px solid #566e79;
  border-bottom: 4px solid #566e79;
}

/* Audience: professionals */
.navbar #main-nav li.menu-item-professionals {
  border-bottom: 4px solid #759cb4;
}
.navbar #main-nav li.menu-item-professionals:hover li a:hover { 
  background-color: #acc4d2;
}
body.context-professionals-section .region-sidebar-first .nav>li.active-trail>a,
body.context-professionals-section .region-sidebar-second .nav>li.active-trail>a {
  border-bottom-color: #91b0c3;
}
body.context-professionals-section h1.page-header,
body.context-professionals-section .region-sidebar-first h2.block-title,
body.context-professionals-section .region-sidebar-second h2.block-title {
  color: #759cb4;
}
body.context-professionals-section .main-container .lead {
  background-color: #e3ebf0;
  border-top: 4px solid #91b0c3;
  border-bottom: 4px solid #91b0c3;
}

/**
 * Menu-glyphs (like glyphicons but for menu items)
 */
.nav .menuglyph {}
.nav .menuglyph .glyphicon {}

/**
 * Return to top button
 */
#return-to-top {
  position: fixed;
  bottom: 50px; /* We need lots of room for the Zopim contact box */
  right: 50%;
  z-index: 100;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  margin-right: -15px; /* Negative half of width + 10px */
  display: block;
  text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
  border-radius: 35px;
  display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (min-width:992px){
  #return-to-top {
    margin-right: -25px; /* Negative half of width. */
  }
}

#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 16px;
  top: 13px;
  font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#return-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
  color: #fff;
  top: 5px;
}

/**
 * General purpose pulse for block level elements
 */
@-webkit-keyframes pulse-5 {to {box-shadow: 0 0 0 5px rgba(232, 76, 61, 0);}}
@-moz-keyframes pulse-5 {to {box-shadow: 0 0 0 5px rgba(232, 76, 61, 0);}}
@-ms-keyframes pulse-5 {to {box-shadow: 0 0 0 5px rgba(232, 76, 61, 0);}}
@keyframes pulse-5 {to {box-shadow: 0 0 0 5px rgba(232, 76, 61, 0);}}

@-webkit-keyframes pulse-10 {to {box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);}}
@-moz-keyframes pulse-10 {to {box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);}}
@-ms-keyframes pulse-10 {to {box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);}}
@keyframes pulse-10 {to {box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);}}

@-webkit-keyframes pulse-20 {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}
@-moz-keyframes pulse-20 {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}
@-ms-keyframes pulse-20 {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}
@keyframes pulse-20 {to {box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);}}

.pulse-5, .pulse-10, .pulse-20 {
  box-shadow: 0 0 0 0 rgba(255, 120, 120, 0.8);
  cursor: pointer;  
  padding-left: 5px;
  padding-right: 5px;
}

.pulse-5 {
  /* This bezier is basically a more extreme version of "ease-in-out" */
  -webkit-animation: pulse-5 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -moz-animation: pulse-5 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -ms-animation: pulse-5 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  animation: pulse-5 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
}
.pulse-10 {
  /* This bezier is basically a more extreme version of "ease-in-out" */
  -webkit-animation: pulse-10 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -moz-animation: pulse-10 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -ms-animation: pulse-10 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  animation: pulse-10 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
}
.pulse-20 {
  /* This bezier is basically a more extreme version of "ease-in-out" */
  -webkit-animation: pulse-20 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -moz-animation: pulse-20 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  -ms-animation: pulse-20 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
  animation: pulse-20 3.0s infinite cubic-bezier(0.66, 0, 0.33, 1);
}

.pulse-5:hover, .pulse-10:hover, .pulse-20:hover {
  -webkit-animation: none;-moz-animation: none;-ms-animation: none;animation: none;
}
