/*

Colors:
------- 

font-family:'Open Sans Hebrew', 'Alef', ';

*/

/* Debugging */
#comps-overlay-inner img { width: auto; }
#comps-wrapper { bottom: 40px; }
#comps-overlay, #comps-wrapper {
  z-index: 2000000000;
}
/* General */
body, html { 
  font-family: 'Open Sans Hebrew', serif; 
  color: black;
  font-size: 16px; line-height: 24px;  
  background: #f5f5f5;
} 
*, *:before, *:after {
  box-sizing: border-box;
}
.wrapper { background: white; padding-bottom: 110px;}
.is-timeline-open .wrapper {
  height: 822px; overflow: hidden;
}
.full-width { width: 1000px; margin: 0 auto; position: relative; }
.mobile { display: none } 
.hebrew { display: none; }
.page { height: 100%; } 

::-webkit-input-placeholder { color: #999999; }
:-moz-placeholder { color: #999999; opacity: 1; }
::-moz-placeholder { color: #999999; opacity: 1; }
:-ms-input-placeholder { color: #999999; }
::selection { background: black; color: white; opacity: 1; }
::-webkit-selection { background: black; color: white; }

a { color: inherit; text-decoration: none;  }
h1,h2,h3,h4,h5,h6,p,ol,ul { margin-top: 0; } 
li { display: block; list-style: none }
ul, ol { padding: 0; }

/* Header */
.logo--header {
  width: 163px;
  margin-top: 45px;
  display: block;
  float: left;
  margin-left: -3px;
} 

  /* Menu */
  .menu {
    float: left; margin-top: 99px; margin-left: 40px; width: 598px;
    border: 1px solid rgba(0,0,0,0.3); border-left: none; 
    border-right: none; line-height: 15px; padding: 2px 0;
  }

  .menu__item {
    text-decoration: none;
    font-size: 12px;
    margin-right: 13px;
    letter-spacing: -0.02em;
  }

  .menu__item:hover, .menu__item.current-menu-item {
    color: rgba(0,0,0,0.65);
  }

  /* Search */
  .search-block { 
    float: right; width: 154px; 
    margin-top: 96px; overflow: hidden;
  }
  .search-block input[type="submit"] { display: none }
  .search-block input[type="text"] {
    width: 100%; border: 1px solid rgba(0,0,0,0.3);
    outline: none; font-size: 12px; padding: 1px 9px;
  }

  .search__results {
    position: absolute; background: white; width: 154px;
    padding: 10px 0; font-size: 0;
  }
  .search__result {
    font-size: 12px; font-family: 'Alef'; 
    line-height: 17px; font-style: normal; 
    display: block; position: relative;
  }
  .search__result:hover {
    opacity: 0.6;
  }
  .search__result span { 
    border-bottom: 1px solid transparent; 
    display: inline-block;
    line-height: 13px;
  }
  .search__result:hover span {
    border-bottom-color: black;
  }

  .search__result:before { content: '> '}

  .search__remove {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

  /* Languages */
  .languages {
    position: absolute; right: 0;
  }
  .language {
    font-size: 10px; font-family: 'Alef';
    border: 1px solid #c3c3c3; margin-left: -1px;
    display: block; float: left; width: 52px;
    line-height: 10px; text-align: center;
    padding: 4px 0; letter-spacing: -0.03em;
  }

  #wrapper .language { font-family: 'Alef' }

  .language:hover {
    background: rgba(0,0,0,0.05);
  }

  .language.is-current {
    background: #c3c3c3;
  }

/* Footer */ 
.footer--main {
  padding: 14px 0 40px 0;
  font-size: 9px;
}

.footer--main .copyright {
  float: left; 
}

.footer--main .social { 
  float: right;
  display: flex;
}

.social__link {
  width: 21px;
  height: 27px;
  display: block;
  float: left;
  background: url('../images/facebook.svg') 50% 50% no-repeat;
  background-size: auto 100%;
  position: relative;
}

.social__link.facebook {
  background-position: 50% 1px;
}

.social__link.twitter {
  background-image: url('../images/twitter.svg');
  background-position: 50% 100%;
  width: 48px;
  background-size: auto 85%;
  top: 0px;
}
.social__link.mail {
  background-image: url('../images/mail.png');
  width: 51px;
  background-size: auto 87%;
  background-position: 50% 6px;
}
.social__link.download {
  background-image: url('../images/download.png');
  background-size: auto 130%;
  background-position: 50% -7px;
}

.social__link.download-translation {
  background-image: url('../images/download-translation.png');
  background-size: 21px auto;
  background-position: 50% 0;
  height: 39px;
}

.social__link.zoom {
  background-image: url('../images/zoom.png');
  background-size: auto 79%;
  background-position: 50% -2px;
  position: absolute;
  bottom: 16px; margin-left: -21px; top: auto;
}

.thumbnail__large__link {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 20;
}

  /* Newsletter */
  .newsletter__wrapper {
     margin-top: 39px; 
  }

  .newsletter {
    display: flex; 
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.25s all;
  }

  .newsletter[loading]  {
    pointer-events: none;
    opacity: 0.5;
  }

  .newsletter[submitted] .newsletter__row,
  .newsletter[submitted] .newsletter__notice {
    display: none;
  }

  .newsletter__title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .newsletter__row {
    display: flex;
    border: 1px solid;
    font-size: 14px;
    margin-bottom: 12px;
    height: 34px;
    width: 260px;
  }

  .newsletter__row  > * {
    border: none;
    border-radius: none; 
    appearance: none;
    -webkit-appearance: none;
    padding: 4px 11px;
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .newsletter__row input:first-of-type {
    border-inline-end: 1px solid;
  }

  .newsletter__submit {
    background: black; color: white;
    flex: 0 0 min-content;
  }
  
  .mc4wp-response,
  .newsletter__message,
  .newsletter__notice {
    max-width: 285px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    margin: auto;
  }

  .newsletter__message {
    margin-top: 20px;
  }

  /* Footer bottom */
  .footer-bottom {
    margin-top: 25px;
  }

  .footer-bottom__inner {
    display: flex; justify-content: center; 
    align-items: center;
    border-top: 1px solid #d8d8d8;
    width: 100%;
    font-size: 14px;
    gap: 27px;
    padding: 27px;
  }

  .footer-bottom__donate {
    background: #839036;
    color: white;
    display: flex; align-items: center; text-align: center;
    padding: 5px 12px;
  }

  .footer-bottom__donate:active {
    background: #586124;
  }

  .footer-bottom__title {
    font-size: 12px; margin: 0; line-height: 1;
    font-weight: normal;
  }

  /* Popup */

  .popup .social__link.download {
    background-size: 16px auto; 
    background-position: 0 100%;
    height: 36px;
    width: 26px;
  }

  .popup .social__link.download-translation {
    background-size: 15px auto; 
    background-position: 0 100%;
    height: 31px;
  }

  .popup .social__link.facebook {
    background-size: 9px auto; 
    background-position: 0 100%;
    height: 40px;
    width: 9px;
  }

  .popup .social__link.mail {
    background-size: 25px auto; 
    background-position: 0 104%;
    height: 40px;
    width: 30px;
  }

  .popup .social__link.twitter {
    background-size: 18px auto; 
    background-position: 50% 99%;
    height: 40px;
    width: 26px;
  }




/* Timeline */
.timeline {
  position: absolute;
  display: block;
  left: 141px;
  top: 151px;
  z-index: 200;
  background: white;
  display: none;
}

.is-timeline-open .timeline { background: white ;height: 90%;min-height: 500px;width: 860px;}

.timeline__container {
  width: 24px;
  height: 440px;
  overflow: hidden;
  margin-top: 59px;  
}

.is-timeline-open .timeline__container  {
  width: 657px;
  overflow: auto;
  background: white;
}


.timeline__toggle {
  display: block;
  width: 23px;
  position: absolute;
  height: 100%;
  background: url('../images/right.svg') 9px 14px no-repeat;
  background-size: 10px;
  cursor: pointer;
  z-index: 20;
}

.timeline__years {
  font-size: 10px;
  line-height: 20px;
  height: 440px;
  float: left;
  top: -5px;
  position: relative;
}

.timeline__year {
  opacity: 0.6;
}

.timeline__year:nth-child(10n - 1) {
  opacity: 1;
}

.timeline__events { 
  display: none;
}

.is-timeline-open .timeline__events {
  display: block;
  top: 2px;
  bottom: 0;
  left: 30px;
  background: white url('../images/timeline-bg.png');
  width: 609px;
  position: relative;
}

.timeline__event {
  position: absolute; width: 14px;
}
.timeline__event--period {
  background: none !important;
  border: 2px dashed;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  transform: translateX(50%);
  -webkit-transform: translateX(50%);
}

.timeline__event:hover .timeline__event__hover {
  opacity: 1; visibility: visible;
}

.timeline__event__hover {
  position: absolute; top: -31px;
  min-width: 90px; background: black;
  color:  white; font-size: 10px; 
  padding: 0px 10px  2px 10px;

  opacity: 0; visibility: hidden;
  transition: 0.25s all;
  -webkit-transition: 0.25s all;
}
.timeline__event__hover:before {
  content: ' '; display: block; position: absolute;
  width: 0; height: 0; bottom: -11px; left: 4px;
  border: 6px solid black;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.timeline__note {
  position: absolute;
  font-size: 9px;
  top: 12px;
  right: 203px;
  display: none;
}

.is-timeline-open .timeline__note { 
  display: block;
}

  /* Legend */
  .timeline__legend:before {
    content: ' ';
    display: block;
    border-top: 2px solid black;
    position: absolute;
    top: -34px;
    width: 19px;
    left: -1px;
  }

  .timeline__legend {
    position: absolute;
    left: -140px;
    top: 54px;
    font-size: 10px;
    line-height: 20px;
    display: none;
  }

  .is-timeline-open .timeline__legend {
    display: block;
  }
  
  .legend__color {
    width: 10px; height: 10px; margin-right: 4px;
    display: inline-block;
  }

  .legend__title {
    display: inline-block;
  }

  /* Event info */
  .event__info {
    position: absolute;
    left: -141px;
    top: 251px;
    font-size: 12px;
    display: none;
  }
  .is-timeline-open .event__info {
    display: block;
  } 
  .event__title {
    font-weight: bold; margin-bottom: -7px;
  }
 
/* Home page */
.main-column {
  float: left;
  margin-left: 200px;
  margin-top: 40px;
  width: 600px;
}

.donate-sidebar {
  position: absolute; top: 124px; inset-inline-end: 0
}

.donate-sidebar,
.twitter-feed {
  float: right;
  width: 157px;
  overflow: hidden;
  margin-top: 38px;
  margin-right: 0;
}


.tp_recent_tweets {
  float: none;
  clear: both;
}

.tp_recent_tweets li {
  line-height: 15px;
  width: 100%;
  float: none;
  background-size: 18px auto;
  padding-left: 28px;
}

.tp_recent_tweets i {
  display: none;
}

.tp_recent_tweets .twitter_time {
  font-style: normal; font-size: 10px;
}
  /* Support us */
  .donate-button {
    background: #839036;
    color: white;
    width: 80px; height: 80px;
    display: flex;
    justify-content: center; align-items: center;
    margin: auto;
    text-align: center;
    font-size: 17px;
    line-height: 1.0;
    border-radius: 50%;
    margin-top: 7px;
    margin-bottom: 17px;
    transition: 0.15s all;
  }

  .donate-button:hover {
    background: #5f6928;
  }

  [lang="en-US"] .donate-button {
    padding: 10px;
    font-size: 13px;
    font-weight: bold;
  }

  /* Events */
  .hp-events__wrapper {
    background: #475669;
    color: white;
  }

  .hp-events__title {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid;
    font-size: 16px;
  }

  .hp-events {
    padding: 0px 16px 16px 16px;
  }

  .hp-event__title {
    font-size: 12px;
    letter-spacing: 0.045em;
  }

  .hp-event {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 17px;
  }

  .hp-event:last-child {
    margin-bottom: 10px;
  }

  .hp-event a > * {
    margin-bottom: 4px;
  }

  .hp-event__arrow {
    height: 12px;
  }

  /* Updates */
  .updates__title { 
    font-size: 11px; font-weight: 400; position: relative;
  }

  .updates__title .inner {
    background: white; padding-right: 10px; display: inline-block;
    position: relative; z-index: 2;
  }

  .updates__title:after {
    content: ' '; display: block; border-top: 1px solid rgba(0,0,0,0.2);
    position: absolute; top: 14px; left: 0; right: 0; height: 1px;
  }

    /* Single update */
    .updates__list {
      margin-left: -21px;
      margin-right: -21px;
    }
    .update {
      width: 50%; height: 199px;
      float: left; overflow: hidden;
      padding: 5px 20px;
    }
    .update__image {
      width: 100%;
      height: 99px;
      display: block;
      background-size: cover;
    }
    .update__title {
      font-size: 14px;
      line-height: 15px;
      margin-top: 7px;
      margin-bottom: 2px;
    }
    .update__text {
      font-size: 13px; line-height: 1.36em;
      font-family: 'Alef';
    }
    .read-more {
      opacity: 0.5;
    }

    /* Bottom banners */
    .hp-banners {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 40px;
    }  

    .hp-banner__link {
      background: black;
      color: white;
      font-family: 'alef', sans-serif;
      font-weight: bold;
      display: flex; align-items: center; justify-content: center;
      height: 60px;
      font-size: 18px;
      text-align: center;
      padding: 10px;
      transition: 0.15s all;
    }

    [lang="en-US"] .hp-banner__link {
      font-size: 16px;
      line-height: 1.2;
      padding: 10px 20px;
    }

    .hp-banner .hp-banner__link:hover, 
    .hp-banner--blue .hp-banner__link {
      background: #123261;
    }

    .hp-banner--blue .hp-banner__link:hover {
      background: black;
    }
  


/* Contact */
.page--contact {
  width: 600px; margin: 0 auto;
  margin-top: 80px;
}
.page__title {
  border-top: 1px solid rgba(0,0,0,0.25);
  display: block;
}
.page__title .inner {
  display: inline-block; position: relative; font-size: 14px; 
  text-transform: uppercase; font-weight: bold; padding-right: 34px;
  border-top: 4px solid; top: -1px; padding-top: 11px;
}
.page-template-contact .wrapper {
  padding-bottom: 48px;
}



  /* Form */
  .ninja-forms-required-items { display: none }
  #wrapper .page--contact form { font-family: 'Alef'; width: 550px; }
  #wrapper .page--contact label { font-size: 12px; font-weight: normal; clear: both;}
  #wrapper .page--contact  .ninja-forms-req-symbol { 
    color: inherit; line-height: 27px;
    padding-right: 1px; font-size: 14px; 
  }

  #wrapper .page--contact input[type="text"], 
  #wrapper .page--contact  input[type="email"],
  #wrapper .page--contact textarea, 
  #wrapper .page--contact input[type="number"] {
    background: #f3f3f3; border: 1px solid #dcdcdc;
    padding: 6px 8px; outline: none; font-size: 12px;
  }

  #wrapper .page--contact textarea {
    height: 118px;
  }

  #wrapper .page--contact .ninja-forms-error input[type="text"], 
  #wrapper .page--contact .ninja-forms-error input[type="email"],
  #wrapper .page--contact .ninja-forms-error textarea, 
  #wrapper .page--contact .ninja-forms-error input[type="number"] {
    border-color: red;
  }

  #wrapper .page--contact input[type="submit"] {
    background: black; border: none; color: white; 
    font-size: 12px; outline: none; padding: 2px 9px;
    float: right; margin-top: -15px;
  }

  .contact__info {
    font-size: 12px; line-height: 18px;
    margin-top: -4px; margin-bottom: 32px;
  }

  .first-name-wrap, .last-name-wrap {
    width: 50%; float: left; padding-right: 15px;
  }
  .email-wrap { clear: both; }
  .field-wrap { position: relative; }
  .last-name-wrap { padding-left: 15px; padding-right: 0;}

  .ninja-forms-field-error {
    position: absolute; font-size: 12px; margin-top: 1px;
  }

  .ninja-forms-response-msg {
    font-size: 12px;
    margin: 20px 0;
  }

  
/* Page */
.page--basic {
  margin-left: 200px;
  margin-top: 83px;
  min-height: 500px;
  width: 600px;
}
.page__title.page__section__title .inner {
  border: none; padding: 5px 0 4px 0;
}

.is-open .page__section__title .inner {
  border-top: 4px solid; padding-right: 36px; 
  padding-top: 10px; padding-bottom: 17px;

}
.page__section:last-child page__section {
  border-bottom: 1px solid rgba(0,0,0,0.25);
}
.page__section__content,
.page--404 .page__content {
  max-height: 0 !important;
  height: 100%;
  font-family: 'Open Sans Hebrew';
  overflow: hidden;
  font-size: 14px;
  line-height: 21px;
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
}

.page--404 .page__content {
  max-height: none !important;
}

.page__section__content a {
  color: #888;
}

.page__section.is-open .page__section__content,
.show-all-sections .page__section__content { 
/*  max-height: 1500px !important;*/
  max-height: 2200px !important;
}

  /* Columns */
  .column__1, .column__2 {
    float: left;
    width: 50%;
    padding-right: 20px;
    text-align: justify;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;  
  }
  .column__1.subtitle {
    text-transform: uppercase; 
  }
  .column__2 { 
    padding-right: 0; padding-left: 20px;
  }
  .page__section--one_column_side.is-open .page__section__content { 
    margin-top: -19px; 
  }
  .page__section--one_column .column__1 {
    width: 500px; text-align: left;
  }

  .page__section--one_column .has-iframe {
    margin-inline-end: -120px;
  }

  /* Team */
  .staff__description {
    width: 500px; text-align: justify;
  }

  .teams { margin-top: 23px;margin-bottom: 22px;}
  .team__title {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 4px;
  }
  .team__members {
    width: 700px;
  }
  .team__member {
    float: left;
    width: 278px;
    margin-right: 41px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    margin-bottom: 10px;
    padding-bottom: 17px;
    padding-top: 17px;
    height: 220px;
  }
  .team__member__image { margin-bottom: 11px; }
  .team__member__name {font-weight: bold; margin-bottom: 0;}

  /* Hierarchy */
  .hierarchy {
    position: relative ;
    width: 220px;
    border-top: 1px solid rgba(0,0,0,0.25);
    padding-top: 11px;
    min-height: 530px;
  }

  .hierarchy__item__text {
    position: absolute;
    left: 320px; top: 0; width: 280px;
    border-top: 1px solid rgba(0,0,0,0.25);
    padding-top: 17px;
    text-align: justify;
    display: none;
  }

  .hierarchy__item.is-open .hierarchy__item__text {
    display: block;
  }

  .page__section--hierarchy.is-open .page__title {
    height: 48px;
  }
  .hierarchy__category h3, .category__title {
    font-weight: normal;
    font-size: 14px;
    padding-top: 2px;
    padding-bottom: 1px;
    margin-bottom: 0;
    cursor: pointer;
  }

  .hierarchy__category .hierarchy__category__title {
    position: relative;
  }

  .hierarchy__category .hierarchy__item__title a,
  .hierarchy__category .hierarchy__category__title a {
    text-decoration: none; border: none;
    display: block;
    line-height: 1.32;
  }
  .hierarchy__category .hierarchy__category__title a {
    font-weight: bold;
  }

  .hierarchy__category .hierarchy__item__title a:hover,
  .hierarchy__category .hierarchy__category__title a:hover {
    color: #999;
  }
  .hierarchy__category a.hierarchy__category__close {
    top: 0; bottom: 0; right: 0; left: 0; position: absolute;
    display: none;
  }

  .hierarchy__category, .category {
    border-bottom: 1px solid rgba(0,0,0,0.25);
  }
  .hierarchy__category .hierarchy__items {
    display: none;
  }
  .hierarchy__category.is-open .hierarchy__items {
    display: block;
    padding-top: 3px;
    padding-bottom: 19px;
  }
  .hierarchy__item {
    padding-top: 0px;
  }
  .page__section__content .hierarchy__item,
  .page__section__content .hierarchy__category {
    display: block;
  }

  .hierarchy__item__title {
    font-weight: normal; margin-bottom: 0;
    font-size: 13px;
    cursor: pointer;
  }

  .hierarchy__item__title {
    padding-left: 18px;
    line-height: 14px;
    display: block;
    padding-top: 5px;
    padding-bottom: 6px;
  }

  .hierarchy__item__title:hover,
  .hierarchy__category__title:hover {
    color: #999;
  }

  .hierarchy__item.is-open .hierarchy__item__title {
    color: #999; 
    background: url('../images/bullet-right.svg') -2px 50% no-repeat;
    background-size: 11px;
  }

/* Article */
  /* Chapters */
  .chapter-links {
    margin-top: 41px; margin-left: -14px;
  }
  
  .chapter-link {
    display: block; font-weight: bold; font-size: 12px;
    font-family: 'Open Sans Hebrew';
    padding-left: 18px; line-height: 21px;
    background: url('../images/nav-right.svg') 0 3px no-repeat;
    background-size: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
  }  

  .chapter-link.is-current {
    color: #999; 
    background-image: url('../images/nav-down.svg');
  }

  .is-full .chapter-links {
    position: fixed;
    margin-left: -276px;
    top: 442px;
    z-index: 100;
    background: white;
  }

  .is-full .chapter-link {
    display: block; width: 228px; 
  }

  .chapter {
    position: relative;
  }

  .chapter__title {
    font-size: 16px;
    font-family: 'Open Sans Hebrew';
  }
  
  /* Category */
  .categories {
    width: 221px;
    position: absolute;
    background: white;
    top: 201px; 
  }
  .categories * {
    font-size: 13px;
  }

  .categories *::selection { background: none; color: inherit; }

  .category { display: none }
  .category.is-open { display: block; }
  .categories__nav {
    position: absolute;
    right: 0;
    top: 2px;
    right: -4px;
  }
  .categories__nav__next,
  .categories__nav__prev {
    text-indent: -10000px;
    width: 13px;
    height: 13px;
    display: inline-block;
    background: url('../images/nav-right.svg') 50% 50% no-repeat;
    cursor: pointer;
  }
  .categories__nav__next {
    background-image: url('../images/nav-left.svg');
  }

  .category__title {
    font-weight: bold;
    padding-bottom: 0;
    font-size:  12px;
  }
  
  .sub-category__title {
    border-top: 1px solid rgba(0,0,0,0.25);
  }

  .sub-category__title,
  .category__article__link {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 18px;
    padding: 4px 0 5px;
    display: block;
    cursor: pointer;
  }

  .sub-category .category__article  {
    padding-left: 17px; 
  }

  .category__article.is-current {
    color: #888;
  }
 
  .category__articles { display: none }
  .sub-category.is-open .category__articles { display: block }

  /* Article main */
  .article__main {
    width: 455px; margin-left: 274px; 
    margin-top: 77px;
  }
  .article__title {
    font-size: 21px; margin-bottom: 12px;
  }
  .article__date {
    font-size: 14px;
    margin-bottom: 19px;
  }
  .article__share {
    display: block;
    clear: both;
    margin-bottom: 22px;
  }
  
  .article__author {
    font-size: 12px;
    padding-bottom: 5px;
    display: block;
  }

  .article__content {
    font-size: 14px;
    text-align: left;
    line-height: 22px;
    /* font-family: 'Alef'; */
  }

  .article__content ul li {
    display: list-item;
    list-style: disc inside
  }
  
  .article__content ol li {
    display: list-item;
    list-style: decimal inside
  }

  /* Numbers */
  .article__numbers {
    position: absolute;
    top: 336px;
    right: 11px;
    text-align: center;
    border-left: 1px solid rgba(0,0,0,0.25);
    padding-left: 0px;
    padding-top: 0;
    padding-bottom: 0;
    width: 240px;
  }

  .number__number {
    font-weight: bold;
    font-size: 14px;
    line-height: 13px;
  }
  .number__description { 
    margin: 0 0 13px 0; font-size: 12px; 
  }
  .number__description:last-child {
    margin-bottom: 0;
  }

  /* PDFs */
  @media (min-width: 1000px) {
    .pdfs {
      clear: both;
      margin-top: 80px;
      margin-inline-start: 280px;
    }
  }

  .pdf {
    height: calc(100vh - 200px);
    width: 100%;
  }

  /* Show PDFs last */
  .page--article--show-pdf-last {
    display: flex; flex-direction: column;
  }

  .page--article--show-pdf-last .pdfs {
    order: 2;
  }

  @media (hover: hover) {
    .pdf__caption a:hover {
      text-decoration: underline;
    }
  }

  /* Gallery */
  .article__gallery__thubnails {
    max-width: 768px;
    width: auto;
    padding-top: 65px;
    padding-left: 0;
    text-align: left;
    position: relative;
    margin-left: 272px;
  }

  .chapter .article__gallery__thubnails { 
    width: auto; margin: 20px -8px;
    text-align: center;
    padding-top: 0;
  }


  .thumbnail {
    display: inline-block; height: 261px;
    margin: 7px; position: relative;
  }


  .thumbnail--video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .article__gallery--single {
    text-align: center;
  }
  
  .article__gallery--single .thumbnail {
    float: none;
    display: inline-block; 
  }

  .mobile-slideshow {
    display: none;
  }


  .chapter .thumbnail {
    height: 190px;
  }

  .thumbnail__image {
    height: 100%; width: auto; 
    border: 1px solid #999;    
  }

  iframe { height: 100%; border: none;}
  iframe[src*="youtube.com"],
  iframe[src*="vimeo.com"]{
     aspect-ratio: 16 / 9;
     width: 100%;
    height: auto;
  }

  .thumbnail__info { display: none }
  .thumbnail:hover .thumbnail__info,
  .thumbnail.is-hover .thumbnail__info  {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    font-size: 12px;
    line-height: 16px;
    border-top: 4px solid;
    border-bottom: 1px solid;
    padding: 20px;
  }

  .thumbnail__description {
    font-size: 14px;
    line-height: 23px;
    text-align: left; 
  }

    /* Links */
    .thumbnail__links {
      position: absolute;
      top: 21px;
      left: 57px;
      right: 47px;
      text-align: center;
    }

    .social__left {
      float: left; 
    }

    .social__right {
      float: right; position: relative; top: -3px;
    }

    .thumbnail .thumbnail__links {
      bottom: 0px;
    }
 
    .thumbnail__link {
      display: inline-block; float: none;
    }

    /* Isotope mode */
    .isotope {
      margin: -12px; 
    }

    .isotope .thumbnail--isotope-0 { /* Medium. It's 0 because it's a default */
      width: 185px;
      height: 246px;
    }

    .isotope .thumbnail--isotope-1 { /* Small */
      width: 80px;
      height: 111px;
    }

    .isotope .thumbnail--isotope-2 { /* Large */
      width: 288px;
      height: 381px;
    }
    
    .isotope  .thumbnail--isotope-3 { /* Landscape */
      width: 184px;
      height: 111px;
    }

    .isotope .thumbnail {
      margin: 12px;
      overflow: hidden;
      border: 1px solid #999;
      display: block;
      position: relative;
    }

    .isotope .thumbnail__image {
      object-fit: cover;
      border: none;
      height: 100%;
      width: 100%;
      object-position: 50% 0;
      display: block;
    }

   /* Episode */
   @media (min-width: 980px)  {
     .page--episode .article__main {
       margin-inline-start: 200px;
       max-width: 598px;
       width: auto;
     } 

     .page--episode .article__content > *:not(.has-iframe) {
       max-width: 455px;
     }
   } 


   /* Slideshow */
  .popups {
    visibility: hidden;
    opacity: 0;
    display: none;
    z-index: 200;
    background: white;
    position: fixed !important;
    top: 50%;
    left: 0;
    right: 0;
    height: calc(100% - 70px);
    width: calc(100% - 70px);
    margin: 0 auto;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);

    transition: 0.5s max-height;
    -webkit-transition: 0.5s max-height;
  }
  .popups.is-open {
    visibility: visible;
    opacity: 1;
    display: block;
    overflow: visible;
  }
  .popup {
    height: 100%;
    width: 100%;
    background: white;
    display: none;
    margin: 0 auto;
  }
  .popup.is-current {
    display: block;
  }
  .popup__column {
    width: 50%;
    float: right;
    height: 100%;
    position: relative;
  }
  .popup__info {
    border: 2px solid;
    font-size: 14px;
    padding: 121px 44px 61px 44px;
  }

  .popup__info .popup__text,
  .popup__info .popup__title {
    max-width: 550px; 
  }

  .popup__title { 
    font-size: 14px; margin-bottom: 9px; text-align: left;
  }
  .popup__text {
    line-height: 20px;
    max-height: calc(100% - 70px); overflow: auto;
  }

  .popup__text li, .page__section__content li,
  .news__content__body li {
    display: list-item;
    list-style: disc inside;
  }

  .popup__text ol li, .page__section__content ol li,
  .news__content__body ol li {
    list-style: decimal inside; 
  }

  .popup__text p {
    margin-bottom: 10px;
    min-height: 16px;
  }
  .slideshow__image {
    background-size: contain;
    background-position: 50% 50%;
    background-color: black;
    background-repeat: no-repeat;
    position: absolute;
    border-right: 2px solid;
    top: 0;
    lefT: 0;
    right: 0;
    bottom: 0;
  }

    /* Nav */
    .popup__close, 
    .zoom__toggle,
    .slideshow__next,
    .slideshow__prev {
      display: block; width: 30px; height: 30px;
      position: absolute; left: 0; top: 50%; z-index: 200;
      margin-top: -15px;
      text-indent: -100000px; cursor: pointer;
      background: black url('../images/slideshow-left.svg') 50% 50% no-repeat;
    }

    .zoom__toggle {
      top: 0px; margin-top: 0;
      background: black url('../images/zoom-w.svg') 50% 50% no-repeat;
      background-size: 16px auto;
    }

    .thumbnail .zoom__toggle {
      display: none;
    }

    .popup__close {
      margin-top: 0;
    }

    .popup .slideshow__prev {
      margin-left: -100%;
    }

    .is-single .slideshow__next,
    .is-single .slideshow__prev {
      display: none;
    }

    .popup::selection, 
    .slideshow__next::selection,
    .slideshow__prev::selection {
      background: none;
    }

    .slideshow__next {
      background-image: url('../images/slideshow-right.svg');
      left: auto; right: 0;
    }

    .popup__close {
      background-image: url('../images/close.svg');
      background-size: 25px 25px;       
      top: 0; bottom: auto; right: 0; left: auto;
    }

    .popup__overlay {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      display: none;
      z-index: 2;
    }

    .popup__overlay.is-open {
      display: block;
    }

      /* Zoom */
      .zoom__container {
        width: 200%;
        height: 100%;
        position: absolute;
        left: -100%;
        overflow: auto;
        z-index: 20;
        display: none;
        border: 2px solid black;
        background: black;
      }

      .is-zoom .zoom__container {
        display: block;
      }

      .is-zoom .slideshow__image {
        border: none;
      }

      .is-zoom .slideshow__next,
      .is-zoom .slideshow__prev,
      .is-zoom ~ .popup__close {
        display: none;
      }

      .is-zoom .zoom__toggle {
        right: 0; left: auto;
        background-image: url('../images/minus-w.svg');
      }

      .zoom__image {
        height: auto; width: 100%;
        position: absolute; top: 50%; left: 0; right: 0;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
      }

    /* Sidebar images */
    .article__sidebar {
      position: absolute;
      top: 210px;
      width: 1000px;
      background: red;
    }
    .sidebar-image, .sidebar-links {
      width: 200px;
      position: absolute;
      border: 1px solid rgba(0,0,0,0.25);
      border-right: none;
      border-left: none;
      font-weight: bold;
      font-size: 14px;
      line-height: 17px;
      padding: 16px 0 21px 0;
      left: -270px;
    }

    .image-wrapper {
      position: relative;
    }

    .sidebar-image img {
      width: 100%;
      display: block;
    }
    .sidebar-image--right,
    .sidebar-links--right {
      right: -270px;
      left: auto;
    }
    .sidebar-image p { margin: 0; }
    .sidebar-image.with-image {
      border: none;
    }
    .sidebar-image.with-image .sidebar-image__text {
    border: 1px solid rgba(0,0,0,0.25);
    border-left: none;
    border-right: none;
    margin-top: 11px;
    padding: 10px 0 16px;
    }

    .sidebar-image__subtitle {
      font-size: 11px; font-weight: normal; margin-top: 4px;
    }
    .sidebar-image__text {
      font-size: 15px;
    }

    /* Links */
    .sidebar-links {
      border: none; padding: 0;
      top: 0 !important;
    }

    .sidebar-links__title {
      text-transform: uppercase;
      font-family: 'Open Sans Hebrew';
      font-weight: bold;
      margin-bottom: 15px;
    }


    .series-item__content-inner a,
    .article__content a,
    .event__content a, 
    .sidebar-links__link,
    .article__intro a,
    .chapter__content a,
    .popup__text a,
    .news__content__body a, .page__section__content a {
      font-size: 16px; font-weight: normal;
      display: block; float: left; line-height: 13px;
      clear: both; margin-bottom: 16px;
      margin-left: 17px; position: relative;
      text-decoration: none;
      border-bottom: 1px solid blue;
    }

    .sidebar-links__link {
      border: none; line-height: 1.4em;
      font-size: 14px; text-decoration: none;
    }

    .sidebar-links__link span {
      text-decoration: none;
    }

    .series-item__content-inner a,
    .content .article__intro a,
    .content .chapter__content a {
      display: inline;
      float: none;
      position: static;
      padding: 0;
      margin: 0;
    }


    .series-item__content-inner a:hover,
    .event__content a:hover,
    .article__content a:hover,
    .sidebar-links__link:hover,
    .article__intro a:hover,
    .chapter__content a:hover,
    .popup__text a:hover {      
      color: blue;                  
    }

    .sidebar-links__link span:hover {
      text-decoration: underline;
    }

    .event__content a,
    .article__intro a, .chapter__content a,
    .popup__text a, .news__content__body a,
    .page__section__content a {
      margin: 0; padding: 0; line-height: 16px;
      position: relative; top: 2px; margin-right: 5px;
      font-size: inherit;
    }

    .content a.has-image {
      border: none;
    }

    .article__content a,
    .event__content a,
    .news__content__body a,
    .page__section__content a {
      margin: 0;
      top: 0;
      float: none;
      display: inline;
      color: inherit;
    }

    .event__content a:hover,
    .sidebar-links__link:hover,
    .article__intro a:hover,
    .chapter__content a:hover,
    .popup__text a:hover,
    .news__content__body a:hover,
    .page__section__content a:hover {
      color: blue;
    }   

    .content .article__content .footnote__number {
      border: none; position: relative; left: -4px; right: -4px; top: 0;
    }

    .sidebar-links__link:before {
      content: ''; position: absolute; left: -17px;
      font-weight: bold;
      width: 10px; height: 18px;
      background: url('../images/nav-right.svg') 0 3px no-repeat;
      background-size: 10px;
    }

    /* Images */
    .content .page--article figure a,
    .content .page--article figure img {
      border: none; display: block;
      width: 100%;
      height: auto;
    }

    .alignleft {
      float: left; 
      margin-right: 30px;
    } 
      
    .alignright {
      float: right; 
      margin-left: 30px;
    } 

    .aligncenter {
      margin: 0 auto;
    }

    figcaption {
      font-size: 12px;
      line-height: 1.3em;
      margin-top: 7px;
      margin-bottom: 20px;      
    }
      
    /* Footnote */
    .footnote { color: #996633; display: inline-block;}
    .footnote.is-open {display: inline;}
   
    .footnote__number {
      display: inline;
    } 

    .footnote.is-open .footnote__number {
      display: inline;
      position: relative;
      right: -5px;
      left: -5px;
      top: 0px;
    } 

    .footnote__content {
      font-weight: normal;
      display: block; border: 2px solid black; 
      border-right: none; border-left: none;
      padding: 13px 52px; position: relative;
      margin: 7px 0;
    }

    .footnote__content .is-empty {
      display: none;
    }

    .footnote a { cursor: pointer; margin-right: 0; }
    .content .page--article .footnote__close {
      display: block; width: 16px; height: 16px; 
      position: absolute; right: 0; top: 0;
      background: black url('../images/close.svg') 50% 50% no-repeat;
    }

/* News items */
.page--news, .news-list {
  width: 50%; float: right;
  margin-top: 59px;
}

.news-list {
  padding-right: 22px;
  float: left;
} 

.page--news {
  padding-left: 50px;
  border-left: 1px solid rgba(0,0,0,0.3);
}
  
  /* News list */
    
    /* Thumbnails */
    .news-thumb {
      margin-bottom: 33px;
    }
      
    .news-thumb__photo {
      width: 100%;
      display: block;
    }

    .news-thumb__photo__link {
      float: left; width: 139px;
      display: block; height: 88px;
      overflow: hidden; margin-right: 35px;
    }

    .news-thumb__info {
      float: left; width: 300px;
      font-size: 12px; line-height: 16px;
    }

    .news-thumb__date {
      margin-bottom: 4px; margin-top: -3px;
    }

    .news-thumb__title {
      font-size: 14px; font-weight: bold;
      margin-bottom: 6px;
    }

    /* Pager */
    .news-list__pager {
      text-align: center; font-size: 12px;     
    }

    .news-list__pager * {
      color: rgba(0,0,0,0.5);      
    }

    .page-number {
      margin: 0 3px;
    }

    .page-number.current {
      color: black;
    }

  /* Main news item */
  .page-next, .page-prev {
    position: relative;
  }

  .page-prev {
    float: left;
  }

  .page-next {
    float: right;
  }

  .news__date {
    font-size: 12px; margin-top: 9px; margin-bottom: -5px;
  }

  .news__title {
    margin-top: 0; font-size: 14px; font-weight: bold; margin-bottom: 9px;
  }

  .news__photo, .news__photo__photo {
    width: 100%; display: block;
  }

  .news__photo__container { position: relative; }

  .credit {
    position: absolute; background: rgba(255,255,255,0.5);
    bottom: 0; left: 0; z-index: 20; font-size: 11px;
    padding: 0 9px; min-width: 125px; margin: 0;
  }

  .news__photo__subtitle {
    font-size: 12px;
  }

  .news__content {
    margin-top: 10px;
  }

  .news__content .news__title {
    margin-bottom: 0px;
  }

  .news__content__body {
    font-size: 14px; line-height: 20px;
  }

  .continue-reading {
    color: rgba(0,0,0,0.5);
  }

  /* Loader */
  .page--news {
    position: relative;
  }

  .page--news:after {
    content: '' ; display: block; z-index: 200;
    position: absolute; top: 0; left: 0; bottom: 0; right: 0;
    margin-left: 5px; margin-top: -25px;
    background: rgba(255,255,255,0.8) url('../images/loader.gif') 250px 250px no-repeat;    
    opacity: 0; visibility: hidden;
    transition: 0.15s all;
    -webkit-transition: 0.15s all;    
  }

  .is-loading .page--news:after {
    opacity: 1; visibility: visible;
  }


/* Search page */
.page--search {
  max-width: 415px;
  margin-left: 200px; 
  margin-top: 64px;
}

.page--search .page__title {
  border: none;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 32px;
}

.page--search .page__title .title-inner:after {
  content: ' > '; display: inline-block;
  margin: 0 6px 0 10px;
}

.page--search .page__title .search-terms {
  font-weight: bold;
}

.result {
  margin-bottom: 26px;
}

.result__date {
  font-size: 13px;
  margin-bottom: 0;
  line-height: 14px;
  color: #888;
}

.result__title {
  font-size: 15px;
  margin-bottom: 4px;
  letter-spacing: -0.019em;
}

.result__excerpt {
  font-size: 13px;
  line-height: 17px;
  font-family: 'Alef';
}

.result__excerpt p {
  margin: 0;
}

.result .continue-reading {
  font-size: 13px;
  line-height: 17px;
  display: block;
  color: #888;
  font-family: 'Alef';
}