/*
Mobile version
*/

.desktop { display: none }
.mobile { display: block; } 
.full-width { width: 100%; }

/* Header */
.header--main {
}

.header--main .mobile-top-link {
  padding: 6px;
}

.header--mobile {
  background: #f5f5f5; height: 39px; overflow: hidden;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
} 

.mobile-top-links {
  float: right;
  font-size: 0;
  padding-right: 23px;
} 
.toggle--mobile {
  float: left;
  padding: 6px 12px 6px 24px;
  font-size: 15px;
  display: block;
  cursor: pointer;
}
.mobile-top-links .mobile-top-link {
  font-size: 14px;
  border-left: 1px solid white;
  display: inline-block;
  padding: 8px 13px;
  color: rgba(0,0,0,0.5);
} 
.logo--header {
  margin-right: 36px;
  margin-top: 54px;
  width: 170px;
  right: 0;
  position: absolute;
}

  /* Menu */
  .menu {
    position: fixed;
    background: white;
    border: none;
    width: 211px;
    z-index: 1000;
    top: 39px;
    height: 100%;
    margin: 0;
    overflow: auto;
    padding-bottom: 50px;
    display: none;
  }

  .is-open-menu .menu {
    display: block;    
  }
  .menu__item {
    display: block; float: none; 
    font-size: 16px; padding: 26px 24px;
    line-height: 23px;
  }

/* Footer */
.footer--main .copyright {
  float: none; text-align: left;
  line-height: 13px; padding-right: 80px;
}

.footer--main {
  padding-bottom: 0;
}

.footer--main .social__link.twitter {
  height: 17px; width: 28px;
  background-size: 20px auto;
}

.footer--main .social__link.facebook {
  height: 25px; top: -4px;
  background-size: 11px auto;
}

  /* Newsletter */
  .newsletter {
    margin-top: 10px;
  }

  .newsletter__title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .newsletter__row {
    font-size: 11px;
  }

  .mc4wp-response, .newsletter__notice {
    font-size: 12px; max-width: 230px;
  }

  /* Footer bottom */
  .footer-bottom {
    margin-top: 13px;
  }

  .footer-bottom__inner {
    gap: 18px;
  }

  .footer-bottom * {
    font-size: 10px; 
  }

  .footer-bottom__title {
    text-align: center; 
    line-height: 1.2; 
  }

  .footer-bottom__donate {
    padding: 7px 9px; line-height: 1;    
  }

  .social__link {
    transform: scale(0.7);
    margin: 6px 2px 0;
    
  }


/* Timeline */
.timeline { display: none; }
.is-timeline-open .timeline {
  display: block;
  position: fixed;
  top: 133px;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  z-index: 10;
  background: white;
}
.is-timeline-open .timeline__container {
  width: auto;
  position: fixed;
  top: 100px;
  left: 175px;
  right: 0;
  bottom: 0;
  height: auto;
}
  /* Legend */
  .is-timeline-open .logo--header {
    background-color: white; position: fixed;
  }
  .is-timeline-open .header--main .inner {
    content: ' ';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: white;
    z-index: 100;
  }
  .is-timeline-open .timeline__note { display: none }
  .timeline__toggle { display: none; }

  .is-timeline-open .timeline__legend { left: 20px; top: 21px; font-size: 11px;}
  .timeline__legend:before { display: none }

  /* Info */
  .event__info { left: 20px; width: 100px;line-height: 1.2em;}
  .event__title { margin-bottom: 0px; }
  .event__subtitle { margin-bottom: 0 }
  .event__link { color: rgba(0,0,0,0.6); display: block; padding: 14px 0}

/* Content */
.content {
  width: auto;
  margin: 147px 40px -6px 40px;
}

.main-column { float: none; margin: 0; width: auto;}

/* Homepage */
.update { width: 100%;height: auto;float: none;}
.updates__title { font-size: 14px; color: rgba(0,0,0,0.6); }
.updates__title:after { display: none }
.update__image { height: 124px;}
.update__title {font-size: 14px;line-height: 17px;font-family: 'Open Sans Hebrew'}
.update__text {font-size: 14px;line-height: 17px; margin-top: 6px;margin-bottom: 6px;}

/* Updates */
.donate-sidebar, .donate-button { display: none }
.twitter-feed { width: 100%; margin-top: 0; }

.hp-events__title {
  text-align: start; padding: 11px 16px 8px;
  font-size: 14px;
  border-bottom: none;
  margin-bottom: 5px;
}

.hp-event__title {
  font-size: 14px;
  letter-spacing: 0;
}

.hp-banners {
  gap: 11px; margin-bottom: 11px;
}

.hp-banner__link {
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  height: auto;
  padding: 16px 25px;
  height: 100%;
}

/* Page */
.page--basic {
  margin: 0;
  width: auto;
  padding-top: 38px;
} 
.page--basic p.is-empty { display: none; }
.page__title.page__section__title .inner {
  font-size: 14px;
  padding: 8px 0 16px 0;
}
.column__1, .column__2  {
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  text-align: inherit;
}
.page__section--one_column_side.is-open .page__section__content {
  margin-top: -12px;
}
.column__1.subtitle {
  margin-bottom: 14px;
}

.page__section.is-open .page__section__title .inner {
  padding-top: 10px;
  padding-bottom: 19px;
}

.page__section.is-open .page__section__content {
  height: 0;
}
.page__section.is-open .page__section__content {
  height: auto;
  max-height: none !important;
}
.page__section--one_column .column__1 { width: auto;}
.page__section--one_column .has-iframe { margin: 0; }
.news__content__body a, .page__section__content a {
  display: inline-block; color: inherit;
}
  /* Team */
  .staff__description {
    width: auto;
    font-size: 12px;
    line-height: 18px;
    font-family: 'Alef';
    text-align: inherit;
  }
  .team__members { width: auto; }
  .team__member {
    float: none; width: auto; padding-right: 0; margin-right: 0
  }
  .team__member__image { margin-bottom: 2px; }
  .team__member__name { font-weight: bold;font-size: 14px; line-height: 19px; margin-bottom: 2px}
  .team__member__description {
    font-family: 'Alef';
  }

  /* Hierarchy */
  .hierarchy { margin-top: 26px; width: auto;}
  .hierarchy .hierarchy__category__title a {
    font-size: 16px; font-weight: bold;
    padding-top: 17px; padding-bottom: 25px;

  }
  .hierarchy__category.is-open a.hierarchy__category__close {
    display: block;
  }

  .hierarchy__item__title {
    font-size: 16px; padding: 27px 20px; background: none;
  }

  .hierarchy__item.is-open .hierarchy__item__title {
    background: none;
  }
  .hierarchy__item__text {
    position: relative; left: 0; top: 0; width: auto;
    text-align: inherit; font-family: Alef;
    font-size: 16px; line-height: 22px;
    margin-left: 21px; margin-top: -8px;
  }

/* Article */
.categories { display: none; }
.article__main { margin: 0; width: auto; padding-top: 51px; }
.article__title {margin-bottom: 3px;font-size: 14px;line-height: 11px;}
.article__date {font-size: 12px;margin-bottom: 12px;}
.article__share {margin-bottom: 11px;margin-top: 12px;}
.article__author { margin-bottom: 15px;}
.article__author, .article__content {
  font-size: 14px;
  line-height: 18px;
  font-family: "Alef";
}

.article__numbers {
  position: relative;
  left: 0;
  right: 0;
  top: 0;
  text-align: left;
  border: 1px solid rgba(0,0,0,0.1);
  border-left: none;
  border-right: none;
  width: auto;
  padding: 10px 0;
}
.number__number {font-size: 12px;}
.number__description {font-size: 13px;margin-top: 0px;margin-bottom: 8px;}

  /* Links */
  .is-full .chapter-links,
  .chapter-links {
    position: static; margin: 0; width: 100%;
    margin-bottom: 22px;
  }
  .is-full .chapter-link,
  .chapter-link {
    width: 100%;
  }

  .chapter-links {
    margin: 20px 0 28px; 
  }

  .chapter-link {
    font-size: 13px;
    line-height: 23px;
    background-position-y: 4px;
  }

  .article__intro a, .chapter__content a {
    top: 1px;
  }

  /* Thumbnails */
  .thumbnail,
  .chapter .thumbnail {
    height: auto;
    margin: 0 0 20px 0;
    float: none;
  }

  .thumbnail--video {
    width: 100%;
  }

  .thumbnail__image {
    width: 100%;
    height: auto;
  }
  .article__gallery__thubnails {
    padding: 0; width: auto; margin-left: 0; margin-right: 0;
    max-width: none;
  }
  .thumbnail__description {
    max-height: 80%; overflow: auto;
  }

  iframe {
    width: 100% !important; height: 204px;
  }

  .mobile-slideshow {
    display: none;
  }

    /* Slideshow mode */
    @media (max-width: 750px) {


      .isotope .thumbnail.thumbnail--image, .thumbnail {
        width: 100%; height: auto;
        position: relative !important;
        top: 0 !important; left: 0 !important;
        margin: 0 0 11px 0;
      }

      .thumbnail .mobile-slideshow, .mobile-slideshow .zoom__container {
        display: block; top: 0; left: 0; right: 0; bottom: 0; position: absolute;
        width: auto; height: auto;
      }

      .mobile-slideshow .zoom__container {
        overflow: hidden;
      }

      .mobile-slideshow .zoom__image {
        display: block; width: 100%; height: auto;
        border: none;
      }

      .mobile-slideshow .slideshow__slide {
        background: none !important; border: none; z-index: 0 !important;
      }

      .thumbnail:hover .thumbnail__info {
        display: none;
      }

      .thumbnail.is-hover .thumbnail__info {
        display: block; opacity: 0.85;
        height: auto; bottom: 0; top: auto; z-index: 9999;
        padding-bottom: 34px;
      }

      .isotope .thumbnail__image {
        object-fit: none;
        border: none;
        opacity: 0;
      }
    }

  /* Slideshow */
  .popups {
    left: 20px; top: 56px; right: 20px;
    transform: none;
    -webkit-transform: none;
  }
  .popup {
    width: 100%;
    margin: auto;
    height: calc(100% - 10px);
  }
  .popup__info {
    overflow: auto;
  }

  .popup__info .social {
    left: 15px; right: 15px; top: 0px;
  }

  .popup__column.popup__info {
    padding-top: 51px;
  }

  .popup__column {
    width: 100%;
    height: 50%;
    padding: 20px;
  }
  .popup .slideshow__prev {
    margin: 0;
  }

  .popup__info .popup__text, .popup__info .popup__title {
    max-width: none; max-height: none;
  }

  /* Popup */
  .is-zoom .zoom__container {
    width: auto; height: auto; top: 40px; left: 0; right: 0; bottom: 0;
    position: fixed; z-index: 2000;
    left: 0; background: black; 
  }

  .is-zoom .zoom__image {
    position: absolute; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%);
  }

  /* Full article */
  .sidebar-image, .sidebar-links { display: none }
  .footnote.is-open .footnote__content { padding: 9px 20px; }

/* Contact */
.page--contact { padding-top: 34px; width: auto;}
.page__title { margin-bottom: -12px; }
.page__title .inner { font-size: 20px;}

#wrapper .page--contact form { width: auto; }
#wrapper .page--contact input[type="text"], #wrapper .page--contact input[type="email"], 
#wrapper .page--contact textarea, #wrapper .page--contact input[type="number"] {
  padding: 18px;
}
#wrapper .page--contact label { font-size: 14px; margin-bottom: 2px;}

#wrapper .page--contact input[type="submit"] {
  padding: 9px 17px;
}

.contact__info, .contact__social  { display: none }
.page-template-contact .wrapper { padding-bottom: 0;}
.ninja-forms-response-msg { line-height: 16px; }

/* Search */
.page--search {
  padding-top: 34px;
}
.search {
  margin: 20px 0 0 0;
  width: auto;
  float: none;
}

.search .content input[type="text"] {
  background: #f5f5f5;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 4px;
  font-size: 14px;
  margin-top: 26px;
}

.search__results {
  position: relative;
  margin-top: 45px;
}

.search__result {
  font-size: 20px;
  margin: 0 0 58px  0;
}

/* News */
.news-list, .page--news {
  width: 100%;
  float: none;
  height: auto !important;
}

.news-list {
  margin-top: 0;
}

.single-news-item .content,
.page-template-news .content {
  margin-left: 30px; margin-right: 30px;
}

  /* List */
  .news-thumb__photo__link {
    width: 81px;
    height: 61px;
    margin-right: 10px;
    margin-top: -2px;
  }

  .news-thumb__info {
    float: none;
    width: auto;
    max-width: 330px;
  }

  .news-thumb__excerpt {
    clear: both; font-size: 11px;
  }

  .news-thumb {
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
  }

  .news-thumb:last-child { border: none; }

  .news-list__pager { text-align: left;}

  .news-thumb__date {
    margin-bottom: 0; font-size: 11px; margin-bottom: 0px;
  }

  /* Single news item */
  .slideshow__close, .slideshow__next, .slideshow__prev {
    width: 30px; height: 30px; z-index: 10;
  }

  .popup .slideshow__prev,
  .popup .slideshow__next {
    z-index: 200;
  }

  .news__date { font-size: 10px; margin-bottom: -8px;  }
  .news__title { font-size: 12px;}
  .credit, .news__photo__subtitle { font-size: 10px;}
  .credit {height: 17px;font-size: 10px;line-height: 16px;color: black;min-width: 100px;left: 20px;background: rgba(255,255,255,0.75); z-index: 50; left: 0; }
  .news__content__body { font-size: 12px; line-height: 17px;}
  .page--news { padding: 0; border: none;margin-bottom: 60px;}

  .page--news-list .page--news { display: none; }

/* Search */

.page--search {
  padding: 0;
  margin: 0;
  max-width: none;
}

.page--search .search-terms {
  display: none;
}

.page--search .page__title .title-inner:after {
  display: none;
}

.page--search .page__title .title-inner {
  border-top: 2px solid;
  padding-top: 5px;
  display: inline-block;
}

.page--search .page__title {
  font-weight: bold;
  border-top: 1px solid #ccc;
  margin-bottom: 12px;
}

.search__results {
  margin-top: 1px;
}

.search-block {
  position: relative; top: 0; left: 0; float: none;
  margin: 0;
}

.search-block input[type="text"] {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);

}

.result__date {
  font-size: 11px;
  margin-bottom: 0px;
}

.result__title {
  font-size: 14px;
  margin-bottom: 0px;
}

.result__excerpt, .result .continue-reading {
  font-size: 12px;
  line-height: 16px;
  max-width: 420px;
}

.result {
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid #aaa;
}

.result:last-child {
  border: none;
}