/* SITEWIDE */
body .is-desktop { display: none; }
body .is-mobile { display: block; }
body nav#hamburger { display: block; } /* make sure to override desktop.css */
nav#hamburger { margin-top: 0px; }
body.admin-menu nav#hamburger { margin-top: 30px; }
body #page #navbar { background: transparent; }
body #page #navbar-inner { width: auto; }
body #hirschfeld-search-cat-searchform h3 { font-size: 1em; }
body .ctct-inline-form div.ctct-form-embed .ctct-form-field { display: block; width: auto;}
body div.ctct-form-embed form.ctct-form-custom input.ctct-form-element { display: block; }
.view-piece .views-field-title, .view-nodequeue-2 .views-field-tiel {
  font-size: 30px;
}

#hamburger ul.hmenu li.expanded ul {
  position: relative;
  left: initial;
}
#hamburger ul.hmenu li.expanded ul li:first-child { border: 0; }
#hamburger ul.hmenu li.expanded ul li { border-left: 0; border-right: 0; padding: 15px 0 0 0; }
#hamburger ul.hmenu li.expanded ul li:last-child { border: 0; padding-bottom: 0; }
#hamburger ul.hmenu li.expanded ul li a { background: transparent; }

#hamburger ul.hmenu li.expanded ul li#menu-bio { display: none; }

body #content,
body #footer-inner {
  width: auto;
  margin: 0 20px;
}

#header { padding-bottom: 10px; }
nav.shop {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
}

/* HOME PAGE */

body.front #content_main { width: auto; }

/* home page search box */

/* put it at the top on mobile front page */
body.front .region-content-main { display: flex; flex-flow: column; }
body.front .region-content-main #block-views-piece-block-1 { order: 2; }
body.front .region-content-main #block-hirschfeld-search-cat { order: 1; }

/* #hirschfeld-search-cat-searchform .form-item { display: block; } */
#block-hirschfeld-search-cat { text-align: center; margin-left: -20px; position: relative; width: 100vw; }
#hirschfeld-search-cat-searchform {
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-left: 0;
  border-right: 0;
  text-align: left;
  padding: 10px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}
#hirschfeld-search-cat-searchform .form-item-type {
  text-align: left;
  border-right: 1px solid;
  padding-right: 15px;
  /* width: 51%; */
  width: 70%;
  box-sizing: border-box;
  vertical-align: middle;
}
#hirschfeld-search-cat-searchform .form-item-type input { border: 0; width: 100%; }
#hirschfeld-search-cat-searchform .form-item-category { display: none; border-right: 1px solid; padding-right: 5px; }
#hirschfeld-search-cat-searchform .form-item-category select { border: 0; color: #666; font-size: 12px; }
#hirschfeld-search-cat-searchform input.form-submit { padding-left: 7px; display: inline-block; vertical-align: middle; }

body.front .view-piece .views-field-view-node { width: auto; }
body.front #block-views-piece-block-1 img { max-width: 100%; height: auto; }

@media screen and (min-width: 600px) {
  #hirschfeld-search-cat-searchform .form-item-type input { width: 180px; }
  #hirschfeld-search-cat-searchform .form-item-category { padding-right: 15px; }
}

body #footer #block-menu-block-2, body #footer #block-block-1 {
  display: block;
  text-align: center;
}


body #primary, body .menu-name-menu-footer-menu { text-align: center; }
body #footer-inner #block-block-1 { width: auto; }

body #footer .menu-name-menu-footer-menu .menu a { font-size: 14px; }


/* ABOUT PAGE */
body #hirschfeld_bio .bio_image { width: 100%; float: none; margin-right: 0; padding-top: 0;  }
body #hirschfeld_bio .bio_image img { max-width: 100%; height: auto; }
body #hirschfeld_bio .bio_text { width: auto; float: none; }

/* ABOUT: FOUNDATION PAGE */
body.section-foundation .bio_text { float: none; width: auto; }

/* NEWS PAGES */
body.page-search-news .field-created,
body.section-news .field-created,
body .view-news .views-field-created { font-size: 12px; }
body.section-news .node-news .node-inner h2.title,
body .view-news .attachment .view-display-id-attachment_1 .views-field-title-1 {
  font-size: 30px;
}
body.page-search-news .view-news .attachment .views-field-field-news-image,
body.section-news .view-news .attachment .views-field-field-news-image {
  width: auto;
  max-width: 100%;
}

body.page-search-news .view-news .views-field-title-1 { font-size: 28px; line-height: 1.2em;padding-bottom: 10px; }

body.page-search-news .view-news .views-field-field-piece-image,
body.page-search-news .view-news .views-field-field-news-image,
body.section-news .view-news .views-field-field-news-image {
  max-width: 46%;
  display: inline-block;
  vertical-align: top;
}
body.page-search-news .view-news .views-field-field-news-image img,
body.section-news .view-news .views-field-field-news-image img {
  max-height: 200px;
  width: auto;
}

body.page-search-news .view-news .views-field-field-news-image,
body.section-news .view-news .views-field-field-news-image {
  display: inline-block;
  vertical-align: top;
}
body.page-search-news .view-news .views-field-field-subtitle,
body.section-news .view-news .views-field-field-subtitle {
  display: inline-block;
  width: 46%;
}
body.page-search-news .view-news .views-field-field-piece-image img,
body.page-search-news .view-news .views-field-field-news-image img {
  max-width: 100%;
  height: auto;
}

body.section-news .view-news .item-list ul.pager { text-align: center; }
body.section-news .view-news .item-list ul.pager li { font-size: 18px; }
body.section-news #block-views-news-block-1 { text-align: center; }
body.section-news .node-inner .image { text-align: center; }

body.section-news .node-inner .field-items img { max-width: 100%; height: auto; }
body.section-news .node-inner .field-items .node-piece h1.title,
body.section-news .node-inner .field-items .node-piece .options { width: auto; }

.region-page-bottom { background: purple;}
/* override the above for main featured item */
body.section-news .view-news .attachment .views-field-field-subtitle,
body.section-news .view-news .attachment .views-field-field-news-image {
  display: block; width: auto;
}
#hirschfeld-search-news-searchform { text-align: center; }
#hirschfeld-search-news-searchform .form-item-keywords input {
  font-size: 20px;
  padding: 6px;
}
#hirschfeld-search-news-searchform input.form-submit {
  height: 40px;
}

/* EXHIBITIONS */
body.page-exhibitions .view-exhibitions .views-row { width: 31%; }
body.page-exhibitions .view-exhibitions .views-exhibition-chosen-image img {
  width: 100%; height: auto;
}
.view-exhibitions .attachment .views-field-path, .view-exhibitions .attachment .views-exhibition-chosen-image { float: none; width: auto; margin-right: 0; }
.node-exhibition .field-field-exhibition-quote-attribution, .view-exhibitions .views-field-field-quote-attribution { text-align: left; } 

.view-exhibitions .attachment .views-field-field-exhibition-quote,
.view-exhibitions .attachment .views-field-field-exhibition-quote .field-content,
.view-exhibitions .attachment .views-field-field-quote-attribution,
.view-exhibitions .attachment .views-field-field-quote-attribution .field-content {
  display: inline; 
}
.view-exhibitions .attachment .views-field-field-quote-attribution .field-content:before { content: "- "; }


.section-exhibitions .node-exhibition .field-name-field-exhibition-image img { max-width: 100%; height: auto; }

.section-exhibitions .exhibition_pager .exhibition_pager_item { width: 55%; }

.section-exhibitions .exhibition_pager .prev_exhibitions .exhibition_pager_item:not(:first-child),
.section-exhibitions .exhibition_pager .next_exhibitions .exhibition_pager_item:not(:first-child) { display: none; }

/* SEARCH */
body .search_result_row { width: auto; }
body .search_results .search_header .left { width: 70%; }
body .search_results .search_header .right { width: 30%; }
body .search_result {
  width: calc(50% - 2%);
  margin-right: 1%;
  /*box-sizing: border-box;*/
}
body .search_result .result_image {
  width: 100%; height: auto;
  aspect-ratio: 277 / 183;
}
body .search_result .result_image img {
  object-fit: contain;
  width: 100%; height: 100%;
}
body .search_result .result_info .title { font-size: 14px; line-height: 1.2em; }
body .search_result .result_info .date { font-size: 14px; }

/* ADVANCED SEARCH */
#hirschfeld-search-searchform-advanced .left,
#hirschfeld-search-searchform-advanced .right { float: none; width: auto; margin: 0;}
/*
#hirschfeld-search-searchform-advanced .right { position: relative; top: -73px; }
*/

.page-search-advanced .node-piece h1.title,
.page-search-advanced .node-piece h3,
.page-search-advanced .node-piece .options { display: none; }
.page-search-advanced .node-piece .image img  {max-width: 100%; height:auto;}

/* CONTACT PAGE */
body.page-contact .panel-col-top h2.pane-title {
  background-image: url(../images/contact-header-500.jpg);
}
body.page-contact .pane-2,
body.page-contact .pane-3 { display: block; width: auto; }

/* PIECE PAGE */

.section-piece .piece-detail .field-name-field-piece-image img { 
  max-width: 100%; height: auto;
}

.node-piece .bottom { width: auto; }
.node-piece .bottom .left,
.node-piece .bottom .right { float: none; width: auto; }

.node-piece .bottom .right-inside { padding: 20px 0 0 0; }

body #similar_images .views-row { width: calc(32% - 10px); }

body.page-links #content-area {
  background-image: url(../images/Sausage-Queen-med-gradient.jpg);
  padding-left: 0;
  padding-top: 350px; 
  background-position: center top;
}

/* NON-DIGITAL EXHIBIT PAGES */
body:not(.section-digital-exhibitions) nav#hamburger {
  right: initial;
  left: 0;
}

#page #navbar-inner { height: auto; }
#page #navbar { text-align: left; padding-bottom: 0; }

body:not(.section-digital-exhibitions) nav#hamburger { }
body:not(.section-digital-exhibitions) nav#hamburger .hmenu {
  right: auto;
  left: 11px;
  width: auto;
  padding: 0;
}
body:not(.section-digital-exhibitions) nav#hamburger .hmenu li:first-child {
  border-top: 1px solid;
}
body:not(.section-digital-exhibitions) nav#hamburger .hmenu li:last-child {
  border-bottom: 1px solid;
  padding-bottom: 10px;
}
body:not(.section-digital-exhibitions) nav#hamburger .hmenu li {
  border-left: 1px solid;
  border-right: 1px solid;
  text-wrap: nowrap;
}

body.admin-menu #login_logout { margin-top: 19px !important; }

body:not(.section-digital-exhibitions) #login_logout { width: auto; float: none; margin-left: 55px; text-align: left; margin-top: 0; }

body:not(.section-digital-exhibitions) #menuToggle { margin-top: 10px;}

body #login_logout #site-name a:hover { background-color: transparent; }

body #site-name { margin-top: 0px; }
body #site-name a {
  background-image: url(../images/logo-hirschfeld-sigf-rollover.png);
  background-size: 60px;
  width: 60px;
  height: 30px;
  margin: 0;
}
body #site-name a:hover {
  background-position: 0 -30px;
}

/* TIMELINE */
.node-timeline span.decade_image { display: none !important; }
.timeline_nav ul li { padding: 0 3px; }
.node-timeline .content_left,
.node-timeline .content_right { width: auto; margin-right: 0; }
.timeline_featured_row { width: auto; }
.timeline_featured_item { float: none; display: inline-block; width: 49%; }
.timeline_nav ul.decades, .timeline_nav ul.years { overflow: auto; white-space: nowrap; font-size: 18px; }
/* this is in hirschfeld.css now 
.timeline_nav ul.decades .selected, .timeline_nav ul.years .selected { display: inline; }
*/

.section-timeline .node-timeline .node-inner,
.section-timeline .node-timeline .node-inner .content_left .search_links {
  display:flex;
  flex-flow: column;
}

.section-timeline .node-timeline .node-inner .timeline_nav { order: 1; }
.section-timeline .node-timeline .node-inner .content_left { order: 4; }
.section-timeline .node-timeline .node-inner .content_right { order: 2; }
.section-timeline .node-timeline .node-inner .timeline_featured { order: 3; }
.section-timeline .node-timeline .node-inner .field-name-field-timeline-bio { order: 5; }

.section-timeline .node-timeline .node-inner .content_left .search_links .theatre_links { order: 1; }
.section-timeline .node-timeline .node-inner .content_left .search_links .years { order: 2; margin-bottom: 20px; }

.section-timeline .node-timeline .node-inner .timeline_featured { overflow: auto; white-space: nowrap; }

.section-timeline .timeline_featured .timeline_featured_item {
  width: calc(50% - 2%);
  margin-right: 1%;
  /*box-sizing: border-box;*/
}
.section-timeline .timeline_featured .timeline_featured_item .timeline_featured_image {
  width: 100%; height: auto;
  aspect-ratio: 277 / 183;
}
.section-timeline .timeline_featured .timeline_featured_item .timeline_featured_image img {
  object-fit: contain;
  width: 100%; height: 100%;
}

.section-timeline .timeline_featured .timeline_featured_item .tooltip_content { white-space: normal; }

/* SCREENING ROOM */
body .node-video { position: relative; }
body .node-video .field-name-field-video, body .view-nodequeue-4 .field-name-field-video {
  aspect-ratio: 500/220;
  width: 100%;
  height: auto;
  background-position: center top;
  background: none;
  /*height: 356px;*/
}

body.section-screeningroom .view-video ul.videos { text-align: center; padding: 0; }

body.section-screeningroom .view-video ul.videos li {
  width: 49%;
  height: 190px;
  background-size: 100%;
}
body.section-screeningroom .view-video .item-list ul li { margin-left: 0; }

body.section-screeningroom .view-video .views-field-title {
  height: 90px;
  font-size: 14px;
}

.node-video .field-name-field-video .field-items,
.view-nodequeue-4 .field-name-field-video {
  /*width: 65%; 
  padding-top: 25px;*/
  margin: auto;
  padding-bottom: 10px;
}

.node-video .field-name-field-video .field-items, .view-nodequeue-4 .field-name-field-video .field-items { padding-top: 0; }

body.section-screeningroom .view-display-id-page .item-list { text-align: center; }
body.section-screeningroom .view-display-id-page .item-list ul { width: auto; }

body .node-video .field-name-field-video .media-youtube-video,
body .view-nodequeue-4 .field-name-field-video .media-youtube-video,
.media-youtube-video {
  position:relative;
  padding-bottom:56.25%;
  padding-top:0px !important;
  height:0;
  overflow:hidden;
}
.node-video .field-name-field-video .field-items .media-youtube-video embed,
.node-video .field-name-field-video .field-items .media-youtube-video iframe,
.view-nodequeue-4 .field-name-field-video .media-youtube-video iframe,
body .node-video .field-name-field-video .field-items .media-youtube-video object {
  position:absolute; top:0; left:0; width:100%; height:100%; max-width: 100%; 
}

/* SPOTLIGHT */

.piece_scroller .nav { font-size: 47px; }

.spotlight_scroller .nav_left, .spotlight_scroller .nav_right {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.piece_scroller .piece_scroller_content .scroll_item { 
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}
.piece_scroller .piece_scroller_content .scroll_item img { width: 100%; height: auto; }

@media screen and (max-width: 600px) {
  #block-views-spotlight-block-2 .view-display-id-block_2 .views-row { width: 32%; }
}

.node-spotlight .content .field-name-field-subtitle { width: auto; }
