/* This file is for SWEB.CSS */

body{overflow-x: hidden;}

.block-views-exp-search-site-search #edit-search-api-views-fulltext {
  display: none;
}
.expanded #edit-search-api-views-fulltext {
  display: block;
}
.block-views-exp-search-site-search.expanded {
  background: #fff;
}

#section-header .block--exp-search-site-search .views-submit-button {
  float: right;
}
#section-header section.block-menu-block {
  position: fixed;
  left: 0px;
}

.expanded #edit-submit-search {
  background: none !important;
  color: #211261 !important;
  font-size: 1em !important;
  font-family: "proxima_novaregular", sans-serif;
}

.views-widget-filter-search_api_views_fulltext {
  width: 90%;
}

/* admin bar fixes */
#admin-menu {
  z-index: 9999;
}

/* Return To Top */
#return-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-image: url(../images/icons/arrow-up.png) !important;
  background-size: 100%;
  width: 50px;
  height: 50px;
  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;
  opacity: 1;
}
#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 {
  opacity: 1;
}
#return-to-top:hover i {
  color: #fff;
  top: 5px;
}

h4 {
  text-transform: lowercase;
}
h4::first-letter {
  text-transform: uppercase;
}

h2 {
  text-transform: lowercase;
}
h2::first-letter {
  text-transform: uppercase;
}

.field-items > div > div {
  float: left;
  width: 100%;
}

.pager-show-more-next a {
  pointer-events: none;
}
.pager-show-more-next a.pointer-events {
  pointer-events: unset;
}

element.style {
  display: block;
}
/*#menu-5017-1 ul {
  display: none;
}*/
#menu-5017-1{
height:auto;
}

.sf-menu > li.menuparent {
  height: 60px;
}
.sf-menu li li:hover > ul, .sf-menu li li.sfHover > ul {
    left: 0em!important;
  }
.block-superfish-1 {
  display: none;
}

.hidden{
  display: none;
}


@media (max-width: 1300px) {
  .sf-menu li:hover > ul,
  .sf-menu li.sfHover > ul {
    left: 0;
    top: 0;
    position: relative;
  }

  .sf-menu li.menuparent {
    height: auto;
  }
}
/* pdf file content types */
.node-type-pdf #pdf_reader {
  margin: 1em auto;
  width: 100%;
}
.node-type-pdf footer.submitted {
  display: none !important;
}

/*** new css for 3-col+ tables needed 01.10.2021 by scarlett w/codepen:https://codepen.io/WebAdvanced/pen/MKqJeB */

.table__wrapper {
  width: 100%;
}

.table__wrapper .table {
  width: 100%;
  max-width: 100%;
}

/* ------- Presentational Formatting --------- */
/*h1 {
  text-align: center;
}*/

.center {
  margin: 0 auto;
}

/*.table {
  border: 1px solid #f0f0f0;
  border-collapse: collapse;
}

.table tr {
  border-bottom: 1px solid #f0f0f0;
}

.table thead tr {
  border-bottom: 2px solid #f0f0f0;
}
*/
.table td,
.table th {
  padding: 0.5em !important;
  text-align: center !important;
}

.table__wrapper .table th {
  font-size: 1em;
  color: #333 !important;
  font-family: "proxima_novaregular", sans-serif;
  font-weight: 400;
  line-height: 1.65em;
  margin-bottom: 1em;
  text-align: right !important;
}

@media screen and (max-width: 991px) {
  .table__wrapper .table {
    margin: 0 auto;
    width: 100%;
    border-spacing: 0;
  }
  .table__wrapper .table thead {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }
  .table__wrapper .table tbody,
  .table__wrapper .table tr,
  .table__wrapper .table th,
  .table__wrapper .table td {
    display: block;
    padding: 0;
    text-align: left;
    white-space: normal;
  }
  .table__wrapper .table tr td,
  .table__wrapper .table tr th {
    padding: 2em 1em;
    vertical-align: middle;
    overflow: hidden;
    position: relative;
    vertical-align: top;
    border: 1px solid #edf0f1;
    border-top: none;
    white-space: normal;
  }
  .table__wrapper .table th[scope="row"] {
    text-align: center;
    font-weight: bold;
    display: block;
    background-color: #dfdfdf;
    margin: 0 auto;
    padding: 0.5em 0;
    font-size: 1em !important;
  }
  .table__wrapper .table td[data-header]:before {
    content: attr(data-header);
    display: block;
    float: left;
    width: 50%;
    color: #000000;
    font-weight: bold;
    text-align: left;
  }
  .table__wrapper .table td[data-header] > * {
    display: block;
    width: 50%;
    float: right;
    clear: right;
    padding-left: 1em;
    margin-top: 0;
  }
  .table__wrapper .table td[data-header]:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    border-right: 1px solid #edf0f1;
    padding-bottom: 200%;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .center {
    width: 100%;
  }
}

/* Timeline*/
/*header block*/
.timeline_page ul {
  margin: 10px auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  align-content: center;
  max-width: 1280px;
  padding: 50px;
}

/* policy page changes to hero 2022 */
/*.ase-hero .policy_advocacy_page .timeline_page li*/ #block-block-87 > div > div.content.clearfix > ul > li{
  width: auto!important;
}

.timeline_page li {
  max-width: 100%;
  border: 1px solid #ffffff;
  color: #ffffff!important;
  display: flex;
  border-radius: 5px;
  margin: 10px;
  width: 130px;
}
.timeline_page ul > li > a{
  padding: 10px 20px;
    width: 100%;
    color: #fff;
}
.timeline_page li:hover{
  background: rgba(255,255,255,.25);
}
#node-page-1297385 > div.content.clearfix > div {
  margin: 0 auto;
  width: 100% !important;
  max-width: 100%;
}
.timeline {
  background-color: #fff;
  /*height: 100vh;*/
}
.year.left, p.year.right{
   display: flex!important;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
    font-size: 6em;
    font-family: "proxima_novabold";
    text-transform: capitalize;
    color: #f1f1f1;
    display: inline-block;
}

p.year.left{
    transform: rotate(-90deg);
}
p.year.right{
    transform: rotate(90deg);
}

.timeline-menu {
  z-index: 20;
  /*display: flex;
  flex-direction: column;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);*/
  position: fixed;
  float: none !important;
  right: 0 !important;
  top: 50% !important;
  margin-right:0px;
}
.timeline-menu li a.active,
.timeline-menu li a:not(:focus):hover {
  background-color: rgb(38, 33, 94) !important;
}
.timeline-menu li a.overDark {background-color: transparent !important; border: 1px solid rgb(255, 255, 255) !important;}
.timeline-menu li a.active.overDark {
  background-color: rgb(255, 255, 255) !important;  border: 1px solid rgb(38, 33, 94) !important;
}
.timeline-menu ul {
  list-style-type: none !important;
  width: 0;
  float: left;
  padding: 18px 5.5px;
  display: table;
  margin-left: 60px!important;
}
.timeline-menu li {
  width: 14px;
  margin: 7.5px 10px;
  position: relative;
  padding: 0 0 17px 0;
}
.timeline-menu li a {
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background: transparent;
  font-size: 0;
  float: left;
  transition: 0.35s;
  border: 1px solid rgb(38, 33, 94);
}
.timeline-tooltip {
  position: absolute;
    background: #fff;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 30px;
    width: 60px;
    border-radius: 20px;
    text-align: center;
    padding: 12px 16px;
    line-height: 110%;
    transition: all 0.2s ease;
    opacity: 0;
    box-shadow: 0px 10px 15px -3px rgb(0 0 0 / 10%);
    visibility: hidden;
    display: none;
}
.timeline-menu li a:not(:focus):hover> .timeline-tooltip {
  display: block !important;
  opacity: 1;
  visibility: visible;
}
.timeline-tooltip span {
  font-size: 18px;
  font-weight: 600;
  color: rgb(38, 33, 94);
  right: 70px;
  line-height: 130%;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /*height: calc(100vh - 100px);*/
  height: 100%;
  min-height: 600px;
  margin-top: 10px;
}
.timeline {
  float: none !important;
  z-index: 1;
}
.body-content-timeline .columns {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  vertical-align: middle;
  margin: 5px 10px;
}
.body-content-timeline .column {
  display: flex;
  justify-content: center;
  vertical-align: middle;
  flex-direction: column;
  flex: 1;
  border: 0px solid gray;
  margin: 2px;
  padding: 10px;
}
.body-content-timeline .column:first-child {
  margin-left: 0;
  flex-basis: 30%;
  z-index: 1;
}
.body-content-timeline .column:nth-child(2) {
  margin-right: 0;
  flex-basis: 40%;
  z-index: 1;
    padding: 50px;
}
.body-content-timeline .column:last-child {
  margin-right: 0;
      flex-basis: 2%;
    z-index: 0;
    width: 100px;
}

/* add slight column changes */

.body-content-timeline .second .column:first-child {
    flex-basis: 2%;
    z-index: 0;
    width: 100px;
}
.body-content-timeline .second .column:second-child {
  flex-basis: 40%;
  z-index: 1;
}
.body-content-timeline .second .column:last-child {
  flex-basis: 30%;
  z-index: 1;
}
.timeline .columns h2 {
  text-align: left;
  color: #26215e;
}
.timeline blockquote {
  margin: 20px 40px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #26215e;
  font-size: 20px;
  border-top: 0;
  border-bottom: 0;
  padding: 0;
}

.caption {
  font-style: italic;
  color: #919191;
  font-size: 85%;
  line-height: 1.25em;
  margin-bottom: 2em;
}
.body-content-timeline {
  background-color: #fff;
  min-height: 400px;
  max-width: 1280px;
  margin: 3em auto;
}
.body-content-timeline p a{
  font-weight: 600;
}
.timeline iframe{
  width: 444px;
  height: 330px;
}
.timeline img, .timeline iframe {
  border-radius: 5px;
  box-shadow: 0px 10px 15px -3px rgb(0 0 0 / 10%);
  margin: -16px auto;
  width: 100%!important;
}

/* Parallax */

.parallax-content {
  text-align: center;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.parallax-slider {
  color: white;
  opacity: 1;
  background-size: cover !important;
  background-attachment: fixed!important;
  width:100%;
  height: 600px;
  max-height: 600px;
  position: -webkit-sticky; /* Safari */
}
.parallax-content p {
  font-size: 24px;
  line-height: 1.333em;
  margin: 0 0 1.4em;
}
.parallax-content h4 {
  color: #fff;
}
.parallax-content h3 span {
  text-transform: lowercase;
}

/* Green Bar */
.mobile .sub-bars{display: none;}
.btn-open {display: none; }
.mobile .btn-open {
	display: block;
    position: absolute;
    right: -7px;
    top: 15px;
    width: 24px;
    height: 24px;
    text-align: center;
	background: no-repeat url(../images/icons/icon-plus.png);
  background-size: 16px;
}
.mobile .opened > .btn-open {background: no-repeat url(../images/icons/icon-minus.png); background-size: 16px;}

.green-bar.mobile ul li.leaf{margin: 0;}
.green-bar.mobile ul.menu li{position:relative; }
.menu .sub-menu{display: none;}

.leaf.active{background-color: #5a873d;}

.green-bar.mobile .leaf > a:not(.btn-open){display: block; padding: 10px; width: 85%;}

.green-bar.mobile .deepest-active > a:not(.btn-open){background-color: #5a873d; }

.green-bar.mobile ul li.leaf:hover {background-color: transparent;}

.sub-bar .leaf.active, .green-bar .sub-bar  ul li.leaf:hover{background-color: #f2f2f2;}
.sub-bar .sub-menu {
	max-width: 1280px;
    margin: 0 auto!important;
    text-align: center;
}
.sub-bar{
	background-color: #fff;
}
.sub-bar:first-child{
  -webkit-filter: drop-shadow(0px 0 4px rgba(0,0,0,.1));
    filter        : drop-shadow(0px 0 4px rgba(0,0,0,.1));
}
.green-bar .sub-bar a{color: #61a60d !important;}


.mobile .opened > .sub-menu{display: block; margin-left: 15px;     margin-bottom: 0px;}

@media screen and (max-width: 1023px) {
#block-block-87 > div > div.content.clearfix > ul{display: none;  } 
/* hiding these buttons for now */

.sub-bars{display: none;}
.leaf.active{background-color: transparent;}

}

@media screen and (min-width: 1481px) {
	.menu ul ul {display: none !important;}
}

@media (max-width: 980px) {
  .body-content-timeline .columns,
  .body-content-timeline .column {
    margin-bottom: 5px;
    flex-basis: 40%;
  }
  .body-content-timeline .columns.first{
    flex-direction: column-reverse;
  }
  .body-content-timeline .column :nth-last-child(2) {
    margin-right: 0;
  }
  .body-content-timeline .column:last-child {
    flex-basis: 100%;
    margin: 0;
  }
  .page-node-1297385 #block-system-main {
    width: 100%!important;
  }
  .parallax-slider {
    opacity: 1!important;
    width: 100%;
}
.body-content-timeline{
    max-width: 700px;
}
.body-content-timeline .column:nth-child(2) {
  padding: 10px;
}
html .timeline-item #block-system-main, html #node-page-1297385, html #node-page-1297385 #block-system-main {
    width: 100%!important;
  }
  .timeline-item{
    min-height: 300px!important;
  }
 html p.year.left, html p.year.right{
    display: none!important;
  }
  html .timeline blockquote {
    font-size: 1.15em!important;
    margin: 0!important;
}
.timeline img, iframe {
    max-width: 80vw!important;
  }
.body-content-timeline .column:nth-child(2){
    padding: 10px!important;
}
}

@media (max-width: 767px){

#block-block-87 > div > div.content.clearfix > ul > li {
    width: calc(100% - 50%)!important;
  }

  .timeline_page ul{
    margin-bottom: 8vh;
  }
  .timeline_page .scroll-down {
    left: 46%;
    width: 25px;
    height: 25px;
}
.page-node-1297385 #block-system-main {
    width: 100%!important;
  }
  .timeline-menu li a.active > .timeline-tooltip {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}
.body-content-timeline{
  margin: 2em!important;
}
}
@media screen and (max-width: 680px) {
  .body-content-timeline .columns,
  .body-content-timeline .column {
    flex-basis: 100%;
    margin: 0 0 5px 0;
    padding: 10px!important;
  }

}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .parallax-slider {
    background-attachment: scroll!important;
}
}
