/* nmmnhs.css
/* Created 5/20/15 by Simone Seagle for overriding Foundation base theme options.

/*Francois One webfont declaration */
@font-face {
    font-family: 'francois_oneregular';
    src: url('../fonts/francois_one_regular/francoisone-webfont.eot');
    src: url('../fonts/francois_one_regular/francoisone-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/francois_one_regular/francoisone-webfont.woff2') format('woff2'),
         url('../fonts/francois_one_regular/francoisone-webfont.woff') format('woff'),
         url('../fonts/francois_one_regular/francoisone-webfont.ttf') format('truetype'),
         url('../fonts/francois_one_regular/francoisone-webfont.svg#francois_oneregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* General Style ---------------------------------------------------------------------*/
body {
  background: #084267;
  background-image: url(../images/nmmnhs/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
}

h1, h2 {
  font-family: 'francois_oneregular', 'Helvetica', sans-serif;
  color: #084267;
  text-transform: uppercase;
}

a {
  color: #0468a9;
}

section.row.l-footer-columns {
    background: #fff;

}

main.row.l-main {
    background: #fff;
}

/* Specifically, this is for the volcano map: */

group-content area {
  cursor: pointer;
}

article {
  margin-bottom: 10px;
}


/* Menu style overrides --------------------------------------------------------------*/

.top-bar-section li a:not(.button) {
  background: #fff;
  color: #084267;
  font-size: large;
  font-stretch: semi-expanded;
}

.top-bar {
  font-family: 'francois_oneregular', sans-serif;
  background: #fff;
  color: #084267;
  text-transform: uppercase;
  font-stretch: semi-expanded;
}

.top-bar-section ul li.active > a {
  /*color: #006b65;*/
  background: #eee;
}

.top-bar-section .dropdown li.title h5 a {
    color: #084267;
}

li.expanded ul.dropdown ul.dropdown li a {
  font-size: 0.9em;
}

/* Header items -------------------------------------------------------------------------*/
#top_bar_socialmedia {
  width: 100%;
  background-color: #0468a9;
  height: 45px;
}

/*social links hover states, etc */

.social-icons {
  margin-right: 3px;
  margin-top: -3px;
}

#top_bar_socialmedia img.facebook:hover {
  background-image: url("../images/nmmnhs/social-media-icons/facebook_hover.png");
}

#top_bar_socialmedia img.twitter:hover {
  background-image: url("../images/nmmnhs/social-media-icons/twitter_hover.png");
}

#top_bar_socialmedia img.youtube:hover {
  background-image: url("../images/nmmnhs/social-media-icons/youtube_hover.png");
}

#top_bar_socialmedia img.google-plus:hover {
  background-image: url("../images/nmmnhs/social-media-icons/googleplus_hover.png");
}

#top_bar_socialmedia img.pinterest:hover {
  background-image: url("../images/nmmnhs/social-media-icons/pinterest_hover.png");
}

#top_bar_socialmedia img.rss:hover {
  background-image: url("../images/nmmnhs/social-media-icons/rss_hover.png");
}

#header_logo_box {
  z-index: 99;
  position: absolute;
  top: 5px;
  left: 15px;
  max-width: 14%;
}

#header_logo_box img {
  height: auto;
  max-height: 100%;
  box-shadow: 2px 2px 9px #372e0f;
}

.row {
  background: #fff;
  box-shadow: 0px 10px 10px #372e0f;
}

/* We don't want shadows on internal rows. */
.row .row {
  box-shadow: none;
  padding: 5px;
}

.row .row ul {
  margin-left: 15px;
}

.social-media-links {
    background: none;
    color: #eca04f;
    max-width: 62.5em;
    margin: 0 auto;
    margin-bottom: 0;
  overflow: visible;
}

#header_block_museum_title h1 {
  text-align: center;
}

#header_block_museum_title a {
  color: #006b65;
  text-transform: uppercase;
  font-size: 4.5vw;
}

.view-header-taxonomy-view {
  padding-top: 95px;
  text-align: center;
}

.header-section-name {
  color: #eaecee;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0px;
}

/*  Section names are sized differently according to their length so that they fill up most of the header. */
.section-name-xlong {
  font-size: 6vw;
  margin-top: 45px;
}

.section-name-long {
  font-size: 7vw;
}

.section-name-medium {
  font-size: 10vw;
  margin-bottom: 0px;
}

.section-name-short {
  font-size: 16vw;}

.section-name-xshort {
  font-size: 17vw;
  margin-bottom: -25px;
}

/* Front page Specific -----------------------------------------------------------------*/
.thumbnail-info {
  background-color: rgba(190,190,190,0.7);
  color: #006b65;
  position: absolute;
  top: 0px;
  left: -220px;
  width: 220px;
  height: 220px;
  webkit-transition: left 1s;
  transition: left 1s;
  padding: 10px;
  
}

.thumbnail-info h3 {
  color: white;
  font-size: 1.1em;
}

.frontpage-thumbnail-view {
  padding: 7px;
  background-image:  url("../images/nmmnhs/front_thumbnail_border.jpg");
  overflow: hidden;
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0px auto;
}

.frontpage-thumbnail-view:hover {
  background-size: 200%;
  padding: 9px;
}

div.small-4 a {
  color: #006b65;
}

.frontpage-thumbnail-view div {
  overflow: hidden;
}

.frontpage-thumbnail-view:hover .thumbnail-info {
  left: 0px; 
}

.thumbnail-view-label {
  font-family: 'bebasregular', sans-serif;
  text-transform: uppercase;
  text-align: center;
  
}

h2.pane-title {
  font-family: 'francois_oneregular', 'Helvetica', sans-serif;
  background-image: url("../images/nmmnhs/mini_banner.png");
  background-repeat: no-repeat;
  background-size: contain;
  text-transform: uppercase;
  width: 218px;
  height: 46px;
  font-size: 1.2em;
  padding-top: 6px;
  padding-left: 6px;
  color: #004743;
  text-shadow: 0px 1px 1px white;
}

h2.pane-title a {
  color: #004743;
}

h2.pane-title a:hover {
  color: #031f1d;
}

h3.pane-title {
  font-family: 'francois_oneregular', 'Helvetica', sans-serif;
  font-size: 1.1em;
  text-transform: uppercase;
}

h4.pane-title {
  font-size: 1em;
}

/*----------------- Slider style overrides --------------------------------------------*/
.views-slideshow-pager-field-item {
  float: left;
  padding: 10px;
  margin-left: 5px;
  background: #0468a9;
  border: 2px solid #969696;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  color: transparent;
  box-shadow: 1px 1px 8px black;
}

.views-slideshow-pager-field-item a {
  color: transparent;
}

.views-slideshow-pager-field-item.active {
  background: #eca04f;
  border: 2px solid #ccc;
}

#views_slideshow_cycle_teaser_section_featured_content-block .views-field-title {
  top: 0px;
  left: 0px;
  position: absolute;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 6px 0;
  padding: 10px;
}

#views_slideshow_cycle_teaser_section_featured_content-block .views-field-title a {
  color: #ccc;
  text-shadow: 2px 2px #000;
}

.views-slideshow-controls-bottom {
  position: absolute;
  right: 35px;
  bottom: 25px;
  z-index: 10;
}

.views-slideshow-cycle-main-frame {
  max-width: 100% !important;
  margin: 0px auto;
}

.views-slideshow-cycle-main-frame img {
  width: 100% !important;
  margin: 0px auto;
}

.view-content .skin-default {
  position: relative;
  margin-bottom: 15px;
}

/* Interior Content --------------------------------------------------------------------*/

.breadcrumbs {
  background-color: transparent;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

aside.sidebar section {
  padding: 5px;
}

aside.sidebar section ul {
  list-style-image: url('../images/nmmnhs/bullet.png');
  margin-left: 18px;
}

aside.sidebar section a {
  color: #7b7972;
}

aside.sidebar section a:hover {
  color: #006b65;
}

aside.sidebar section h2, 
aside.sidebar section h3 {
  color: #084267;
  text-transform: uppercase;
  font-family: 'francois_oneregular', 'Helvetica', sans-serif;
  text-align: center;
  border-bottom: 1px solid #7b7972;
  border-top: 1px solid #7b7972;
  padding: 5px;
  font-size: 1.5em;
  margin: 10px 18px;
}

/*----- New Mexico Tyrannosaur State interactive ---------------------------------------*/

.trex-map-area {
  position: absolute;
  width: 130px;
  height: 65px;
  text-align: center;
}

.trex-map-area a {
  display: none;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  background: white;
  border: 3px solid #006b65;
  padding: 5px;
  font-weight: bold;
}

.trex-map-area:hover a {
  display: block;
}

.trex-specimen {
  background-color: rgba(195, 206, 206, 0.3);
  border-top: 1px solid #bbb;
  padding: 5px;
  display: inline-block;
  width: 100%;
}

/* Views overrides ---------------------------------------------------------------------*/
.views-row {
  margin-bottom: 15px;
}

.img-free-teasers img {
  display: none;
}

.view-section-taxonomy-view hr {
  margin: -0.75em 0 0.1875em;
}

.view-section-taxonomy-view hr:first-of-type {
  margin-top: 0px;
}

.views-row .group-top {
  float: left;
  margin-left: 30px;
}

.views-row .group-left {
  float: left;
  margin-left: 10px;
}

.views-row .group-above-left {
  float: left;
  margin-left: 30px;
}

.views-row .group-right {
  float: right;
  margin-right: 10px;
}

.views-row .group-above-right {
  float: right;
  margin-right: 30px;
}

.views-row .large-6 {
  width: 45%;
}

.view-alerts {
  border: 2px solid #9d1710;
  padding: 10px;
  background-color: rgba(157,23,16,0.75);
  text-align: center;
  color: white;
  margin-bottom: 10px;
}

.view-alerts h3 {
  font-family: 'francois_oneregular', 'Helvetica', sans-serif;
  color: white;
  text-transform: uppercase;
  text-shadow: 0px 0px 7px rgba(0,106,101,0.9);
}

.view-taxonomy-sub-section-view .views-row, aside.sidebar section, .view-taxonomy-term .views-row, .breadcrumbs {
  
  background-image: url('../images/nmmnhs/section-background-pattern.png');
  background-repeat: repeat;
  border: 1px solid rgba(0,0,0,0.12);
}

.view-taxonomy-sub-section-view .views-row img, .view-taxonomy-term .views-row img {
  border: 1px solid white;
}

/* Because there is like row-ception going on */
.views-row .row {
  background: none;
}

.views-row a:hover {
  color: #eca04f;
}

.field-type-text-with-summary, .field-name-field-location, .field-name-field-publish-date, .field-name-field-event-date {
  /* Match the paragraph style */
  padding: 0px 4px;
  font-family: inherit;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1.25em;
  text-rendering: optimizeLegibility;
}

span.date-display-single {
  display: table-row;
  font-weight: bold;
}


/* ---- To prevent some serious weirdness with the taxonomy pages ----------------------*/

.view-taxonomy-term + section.contextual-links-region {
  position: initial;
}

/* ---- Just the staff list view -------------------------------------------------------*/
.staff-table table {
  width: 95%;
}

.staff-table table caption {
  font-weight: bold;
  margin-top: 5px;
}

.staff-table td.views-field-title {
  width: 30%;
}

.staff-table td.views-field-job-title {
  width: 40%;
}

.staff-table td.views-field-field-phone-number {
  width: 30%;
}

/* ---- Dynatheater/Planetarium show tables --------------------------------------------*/

.view-theater-time-listing table {
  width: 95%;
}

.view-theater-time-listing td.views-field-title {
  width: 65%;
}

.view-theater-time-listing td.views-field-field-event-date {
  width: 35%;
}

.views-table tr.odd {
  background-color: #fff;
}

.views-table tr.even {
  background-color: #f9f9f9;
}

/* Calendar Month View -----------------------------------------------------------------*/

.calendar-calendar .month-view .full td.single-day div.monthview {
    background: #f6c59c;
  }
  
  .calendar-calendar .month-view .full td.multi-day div.monthview {
    background: #acc4c2;
  }
  
  .calendar-calendar .month-view .full a {
    color: #006b65;
  }

.view-calendar .item-list ul {
  list-style: none;
}

.view-calendar .item-list .views-row {
  margin-bottom: 25px !important;
}

@media screen and (max-width: 768px ) {
  .view .date-nav-wrapper .date-heading {
    text-align: left;
  }
  
  .calendar-calendar .month-view table.full {
    position: relative;
  }
  
  .calendar-calendar .month-view .full tr td {
    width: 100%;
    float: left;
    text-align: center;
  }
  
  .calendar-calendar tbody tr:hover td {
    background: none;
  }
  
  .calendar-calendar .month-view .full tr.single-day {
    border-top: 1px solid #ccc;
  }
  
  .calendar-calendar .month-view .full tr td.single-day:before {
    content:attr(headers) ",\0000a0" attr(data-day-of-month);
    font-weight: bold;
    text-align: center;
  }
  
  .calendar-calendar .month-view .full tr td.no-entry, 
  .calendar-calendar .month-view .full tr td.empty {
    content:attr(headers) ",\0000a0" attr(data-day-of-month);
    font-weight: bold;
    text-align: center;
  }
  
  .calendar-calendar .month-view .full tr th.days, 
  .calendar-calendar .month-view .full tr td.date-box,
  .calendar-calendar .month-view .full thead tr{
    display: none;
  }
  
  .calendar-calendar .month-view .full tr td.single-day div.monthview {
    background: none repeat scroll 0 0 #fff;
    overflow: hidden;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  
  .calendar-calendar .month-view .full td.single-day .inner div, 
  .calendar-calendar .month-view .full td.single-day .inner div a,
  .calendar-calendar .month-view .full td.multi-day .inner div, 
  .calendar-calendar .month-view .full td .inner div.calendar.monthview div,
  .calendar-calendar .month-view .full td .inner div.calendar.monthview div a {
    display: block;
    background: #98B3B1;
  }
  
  
}

/* Misc --------------------------------------------------------------------------------*/
.bosque-inset {
  padding: 5px;
  border: 2px dotted #1b1b1b;
}

.BEG-sidebar {
  padding: 5px;
  border: 2px dotted #1b1b1b;
}

.BEG-bar {
  background-color: #869fb6;
}

/* Forms overrides ---------------------------------------------------------------------*/
.webform-container-inline select {
  width: auto !important;
}

/* Footer ------------------------------------------------------------------------------*/

/* Facebook */

.fb-like {
  margin-top: 4px;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
}

/* Upper Footer */

section.row.l-footer-columns {
  padding-top: 10px;
    background: #084267;
    color: white;
}

section.row.l-footer-columns li {
  margin-bottom: 2px;
  margin-top: 3px;
  border-bottom: 1px solid #376d6a;
  list-style: none;
}

section.row.l-footer-columns a {
  color: #e2dfdb;
  
}

section.row.l-footer-columns a:hover {
  color: #eca04f;
  
}

/* for the search box */
section.row.l-footer-columns table {
  background: transparent;
  margin-top: 10px;
}

section.row.l-footer-columns td.gse-input {
  padding-right: 0px;
}

section.row.l-footer-columns table.gsc-search-box td {
  vertical-align: top;
}

section.row.l-footer-columns table.gsc-search-box tbody {
 border-top: none;
}

section.row.l-footer-columns table.gsc-search-box .gsc-clear-button {
  visibility: hidden;
  
}


footer.l-footer {
  background-color: #1b1b1b;
  background-image: url("../images/nmmnhs/footer_bk.png");
  background-size: cover;
  background-repeat: no-repeat;
  
}

footer.l-footer .row {
  background: transparent;
}

footer.l-footer p {
  color: white;
}

/* Media Queries -----------------------------------------------------------------------*/
@media only screen and (min-width: 940px) {
  .contain-to-grid {
    background: none;
  }
  
  .top-bar-section li a:not(.button) {
    padding: 10px;
  }
  
  .top-bar-section ul.right li .dropdown li .dropdown {
    left: 100%;
  }

}

/* Screens large enough to see the full div plus a lot of background */

@media only screen and (min-width: 1024px) {
    /*  Section names are sized differently according to their length so that they fill up most of the header. */
.section-name-xlong {
  font-size: 5em;
  margin-top: 45px;
}

.section-name-long {
  font-size: 6em;
}

.section-name-medium {
  font-size: 9em;
  margin-bottom: 0px;
}

.section-name-short {
  font-size: 11em;
  }

.section-name-xshort {
  font-size: 14em;
  margin-bottom: -25px;
}
  
  #header_block_museum_title a {
  font-size: 1.5em;
}
}

@media only screen and (max-width: 940px) {
  .top-bar {
    background: none;
  }
  
  .top-bar.expanded .title-area {
    background: #251d0b;
  }
  
  .top-bar .title-area {
    background: #251d0b;
  }
  
  #header_logo_box {
    height: 80px;
  }
}

@media only screen and (max-width: 929px) {


  #header_block_museum_title a {
  font-size: 5.5vw;
}
  
  .section-name-xlong {
    margin-bottom: 10px;
  }

  .section-name-long {
    font-size: 10vw;
    margin-bottom: 9px;
  }

  .section-name-medium {
    margin-bottom: 0px;
  }

  .section-name-short {
    margin-bottom: 0px;
  }

  .section-name-xshort {
    margin-bottom: 0px;
    margin-top: 10px;
  }*/
  
  .views-row .group-top {
  float: left;
  margin-left: 22px;
}

}

@media only screen and (max-width: 769px) {
  /* Hide the rollover thumbnails on mobile devices.  They won't work anyway. */
  .pane-content .frontpage-thumbnail-view {
    display: none;
  }
  
  .header-section-name {
  margin-top: auto;
  }

/*  Section names */
  /*.section-name-xlong {
    font-size: 3em;
    margin-bottom: 10px;
  }

  .section-name-long {
    font-size: 3em;
    margin-bottom: 9px;
  }

  .section-name-medium {
    font-size: 5em;
    margin-bottom: 0px;
  }

  .section-name-short {
    font-size: 8em;
    margin-bottom: -7px;
  }

  .section-name-xshort {
    font-size: 7em;
    margin-bottom: -10px;
  }*/
  
  .views-row .group-top {
  float: left;
  margin-left: 22px;
}

}

@media only screen and (max-width: 500px) {
  .views-row .large-6 {
    width: 90%;
  }
  
.views-row .group-left {
  float: left;
  margin-left: 10px;
}

.views-row .group-above-left {
  float: left;
  margin-left: 22px;
}

.views-row .group-right {
  float: left;
  margin-left: 10px;
}

.views-row .group-above-right {
  float: left;
  margin-left: 22px;
}
  /* hide the section names on mobile */
  .section-name-xlong, .section-name-long, .section-name-medium, .section-name-short, .section-name-xshort {
    visibility: hidden;
    margin: 0;
    font-size: 0em;
  }

}