/* [Ignore this comment, unknown author, meaning unclear] This file will hold styles for all layouts using the alpha grid (i.e. not the mobile layout). */

/* PMEL: */
/* Layout	Size	CSS Stylesheet						Description */
/* Mobile	All		global								Apply first to all device widths. */
/* Tablet	>=740px	pacific-marine-alpha-default		Inherit Mobile, add/override from Tablet. */
/* Desktop	>=980px	pacific-marine-alpha-default-normal	Inherit Global & Tablet; add/override from Desktop. */


html body.admin-menu {
  margin-top: 29px !important; 
}

body {
  height: 100%;
  width: 100%;
  position: relative;
  min-height: 970px;
}

#body-bg-top {
  background: url('../images/header-bg.jpg') 0 top no-repeat;
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-size: 100%;
}

#body-bg-bottom {
  background: url('../images/footer-bg.jpg') 0 bottom no-repeat;
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-size: 100%;
}    

#region-branding,
#region-menu {
  margin-left: 0;  
}

#region-header-first,
#region-menu {
  margin-right: 0;
}

#region-header-first {
  width: 310px;
}

#region-menu {
  width: 720px;
}

.logo-img {
  margin-right: 0;
  background: none;
  height: inherit;
  width: inherit;
}

.logo-img img {
  display: block;
}

#block-search-form {
  float: right;
  margin-top: 10px;
  display: block;
}

#block-search-form input {
  padding: 5px 20px;
  font-size: 14px;
  width: auto;
  margin: 0;
}

#hamburger,
#search {
  display: none;
}

/** main menu **/
#block-system-main-menu {
  margin: 15px 0;
  display: block;
  padding: 0;
}  

#block-system-main-menu .content li {
  padding: 0px;
  margin: 0px;
  float: none;
  width: auto;
  display: inline;
}

#block-system-main-menu .content li a {
  background: #5e96c9;
  padding: 5px 11px;
  border: 1px solid #5F9FD6;
  border-radius: 3px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  line-height: inherit;
  display: inline-block;
  margin-right: 3px;
  width: auto;
  text-align: left;
}

#block-system-main-menu li a:after {
  display: none;
}

#block-system-main-menu .content li.last a {
  margin-right: 0;
}

#block-system-main-menu .content li a:hover {
  background: #fff;
  color: #5e96c9;
}

#block-system-main-menu .content li.expanded  {
  position: relative;
}

#block-system-main-menu .content li.expanded  ul.menu {
  display: none;
  position: absolute;
  left: 0;
  top: 20px;		/* Original value: 21px; Made 1 px less to make drop-downs open upon mouseover - tn */
  text-align: left;
}

#block-system-main-menu .content li.expanded:hover ul.menu {
  display: block;
  z-index: 10;
  width: 200px;
  padding: 0;
  background: #fff;
  border-radius: 0px;
  border: 1px solid #0269b1;
}

#block-system-main-menu .content li.expanded:hover ul.menu a {
  background: none;
  border: none;
  border-radius: 0px;
  padding: 3% 10%;
  width: 80%;
  color: #5e96c9;
  font-weight: normal;
  font-size: 15px;
}

#block-system-main-menu .content li.expanded:hover ul.menu a:hover {
  color: #fff;
  background: #5F9FD6;
}

/** content zone **/
.not-front #zone-content {
  background-color: #fff;
	-moz-box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	-webkit-box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	margin-bottom: 30px;
}

.front #zone-content .region {
  background-color: #fff;
	-moz-box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	-webkit-box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	margin-bottom: 15px;
}

.front #zone-content .region-inner {
  padding: 10px;
}

.sidebar #zone-content #region-sidebar-first .region-inner {
  padding: 20px 0 20px 20px;
}

.sidebar #zone-content #region-content .region-inner {
  padding: 20px 20px 20px 0px;
}

.not-front .no-sidebar #zone-content .region-inner {
  padding: 20px 20px 20px 20px;
}

.front #region-content {
  margin-left: 0;
  margin-right: 0;
  width: 720px;
}

/* Homepage, full-width content beneath rotating banner images - tn */
.front #region-postscript-fourth {
  margin-left: 0;
  margin-right: 0;
  width: 720px;
}

/** home page PMEL themes slideshow **/
.view-pmel-themes {
	width: 100%
}

.view-pmel-themes .view-content {
  position: relative; /* This protects the inner element from being blurred */
	background-color: #fff;
	padding: 0;
	width: 100%;
}

.view-pmel-themes .views_slideshow_main {
  width: 525px;
  background: #a8b8cf;
  padding: 5px;
}

.view-pmel-themes .views-slideshow-cycle-main-frame {
  max-width: 100% !important;
}

@-moz-document url-prefix() { 
  .view-pmel-themes .views-slideshow-cycle-main-frame img {
    width: 100% !important; /* for FF */
  }
}

.view-pmel-themes .views-slideshow-controls-bottom {
  position: absolute;
  right: 0;
  top: 0;
  width: 145px;
}

.view-pmel-themes .widget_pager .views-slideshow-pager-field-item {
  margin: 5px 0px;
  position: relative;
  padding: 10px;
  width: auto;
  float: none;
  text-align: left;
}

.view-pmel-themes .widget_pager .views-slideshow-pager-field-item a {
  padding: 0;
}

.view-pmel-themes .widget_pager .views-slideshow-pager-field-item .views-content-name {
  padding: 9px;
  width: auto;
  height: auto;
  display: block;
}

.view-pmel-themes .widget_pager .views-slideshow-pager-field-item:before {
  position: absolute;
  left: -3px;
  top: 40%;
  content: '';
  height: 0;
  width: 0;  
}

/* Commented out to get rid of little black arrow on rotating banner text - tn */
/*.view-pmel-themes .widget_pager .views-slideshow-pager-field-item.active:before {
  border-right: 10px solid #000;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
}*/

/** what's new block **/
.node-type-news-story .field-name-field-atom,
.view-what-s-new .views-row .views-field-field-atom {
  width: 50%;
  padding-bottom: 33%;
  float: left;
  margin: 0 14px 0 0;
  height: auto;
}

.node-type-news-story .field-name-field-news-story-image,
.view-what-s-new .views-field-field-news-story-image,
.view-featured-publications.view-display-id-page .views-field-field-featured-pub-image {
  max-width: 50% !important;
  width: auto;
}

.node-type-news-story .field-name-field-news-story-image,
.view-what-s-new .views-field-field-news-story-image,
.view-featured-publications.view-display-id-page .views-field-field-featured-pub-image,
.view-what-s-new .image-caption-wrapper {
  margin: 0px 14px 0px 0px;
  max-width: 50% !important;
  float: left;
}

/** postscript **/
#zone-postscript .region {
  background-color: #fff;
	-moz-box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	-webkit-box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	box-shadow: 0px 0px 10px 2px rgba(68,68,68,0.6);
	position: relative;
}

#zone-postscript .region .view-footer {
  position: absolute;
  bottom: 0;
}

#zone-postscript .region .view-footer p {
  margin-bottom: 10px; 
}

#zone-postscript .grid-6.region {
  width: 350px;
  margin-left: 0;
}

#zone-postscript .grid-3.region {
  width: 170px;
  margin-left: 5px;
}

.front #region-postscript-third {
  margin-right: 0;
}

#zone-postscript .region-inner {
  padding: 10px 10px 40px 10px;
}

/** footer **/
#section-footer {
  text-align: left;
  padding: 0;
  margin-bottom: 30px;
}

#block-block-1 {
  float: left;
  margin-right: 10px;
}

#block-block-1 img {
  width: 70px;
}

#block-block-2,
#block-menu-menu-footer-first-menu {
  float: left;
}

#block-block-2 p {
  margin-bottom: 10px;
}

#block-block-3 p {
  margin: 0 0 23px 0;
  text-align: right;
}

#block-menu-menu-footer-first-menu ul li {
  margin: 0;
}

#block-menu-menu-footer-second-menu {
  margin-top: 10px;
  float: right;
}

/** node-specific **/
.node-type-pmel-theme #page-main,
.node-type-page #page-main {
  float: left;
  width: 73%;
  padding-right: 2%;
}

.node-type-pmel-theme #page-right,
.node-type-page #page-right {
  float: left;
  width: 25%;
}

/* scientists view and pages */
.view-scientists .views-row {
  width: 49%;
  clear: none;
  margin-bottom: 20px;
}

.view-scientists .views-row-odd {
  margin-right: 2%;
}

/* third level menu items */
#block-system-main-menu .content li.expanded ul.menu li ul.menu {
  display: none;
  position: absolute;
  left: 200px;
  top: -7px;
  text-align: left;
}
#block-system-main-menu .content li.expanded ul.menu li:hover ul.menu {
  display: block;
  z-index: 20;
  width: 200px;
  padding: 0;
  background: #fff;
  border-radius: 0px;
  border: 1px solid #0269b1;
}
/* Node Gallery – listing of all galleries - tn */
.view-node-gallery-gallery-summaries h2 {
	font-size: 16px;
	border-bottom-style: none;
	line-height: 1.2em;
}
/* Node Gallery – individual photo gallery – tn */
.view-node-gallery-gallery-item-views .views-row {
	width: 16%;			/* Basically, 5 columns */
	float: left;
	margin: 2% 2% 1% 2%;
}
