/**
 * Place your custom styles here.
 */
body {
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
} 
#header{
background-color: #FFFFFF !important;
background-image: none !important;
color: black;
}
.region-header{
	background: url(/sites/default/files/inline-images/ONS-web-banner-03.png) no-repeat;
    background-size: 100% 100%;
    width: 100%;
}
.region-header a:link, .region-header a:visited, .region-header a:active{
	color:#fff !important;
}
p {
  font-size: 16px;
}
	a, a.link {
    text-decoration: none;
    border-bottom: none !important;
	
}
.site-branding__logo {
    display: inline-block;
    margin-right: 1em;
    margin-bottom: 0.286em;
    width: 115px !important;
    border-bottom: 0;
}
.display,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
h2 {
    font-size: 1.75em;
    line-height: 1em;
    color: #00467f;
    margin-bottom: 10px;
    margin-top: 1em;
}
h3 {
    font-size: 1.5em;
    line-height: 1em;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 1em;
}
h4 {
    font-size: 18px;
    line-height: 1em;
    font-weight: 700;
    color: #00467f;
}
h5 {
    font-size: 16px;
    line-height: 1em;
    font-weight: 700;
}
ul, ol {
font-size:16px;	
	line-height:130%
}
ul, ul {
	line-height:130%
}
li {
line-height:;	
}

.card { 
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
} 

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
.container {
  padding: 2px 16px;
}
.text--large {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 10px;
}
.text--regular {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
}
.text--small {
    font-size: 14px;
    line-height: 1.2;
}
.flex-container {
  display: flex;
  background-color: ;
}

.flex-container > div {
  background-color: ;
  margin: 10px;
  padding: 20px;
  
}
.caption, .caption--image {
    color: #727678;
    font-size: 14px;
    line-height: 1.2;
    font-style: italic;
}
.hero-banner { 
    margin-top:61px; 
	max-height: 150px; 
	width:100%;
    background-size: auto,cover;
    background-repeat: no-repeat;
    background-attachment: scroll,fixed;
    background-position: 0 0,50% 0;
    background-color: #007eb2;
    background-image: linear-gradient(135deg,rgba(2,22,39,0.73),rgba(0,51,93,0.59) 50%,rgba(6,45,98,0));
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;

}
.hero-banner h1{ 
position: absolute;
    z-index: 500;
    top: 50%;
    right: 0;
	left:20%; 
	    font-size:3em;
    margin: 0 auto;
	color: #fff;
}
.hero-banner img{ 
max-width: 100%;
  height: auto;
	max-height:250px;
	position: relative;
	z-index:2;
}
.highlighted .block {
width: 100% !important;
    margin: 0 auto;
	border: solid 1px red;
margin:0 auto; 

}
.highlighted .block .content {
    margin-top: 0 !important;
    margin-bottom:8px;
min-height:350px;
margin: 0 auto;
    width: 100%;
    padding: 0;
    position: relative;
    box-sizing: border-box;



}
.highlighted .block .content img{
    position: absolute;
left: 0px;
  top: 0px;
  z-index: 1;
}
.highlighted .block .content h1{
    color: #fff;
    z-index: 1;
    position: relative;
    top: 100px;
    font-size:3em;
    left: 20px;

}
.site-branding__logo{
    max-width: 315px;
    width: 100%;
}
.site-branding__name a{
 color:black !important;
}    

img { /***** MODIFIED IMG TO MAKE ALL IMAGES RESPONSIVE *****/
	max-width: 100%;
	height: auto;
	
}

.imgShadow {
	box-shadow:0px 0px 10px #323232;
	margin-bottom:15px;
}

.imgBlueBorder {
	border: 1px solid #0980a1;
	padding: 5px;
}

.imgBlueBorderDouble {
	border: double #0980A1;
	padding: 5px;
}
#block-voicespopup {/***** this is for the voices disclaimer  *****/
  display: none;

}
.roundedCornersBlue2px {
    border-radius: 25px;
    border: 2px solid #0980A1;
    padding: 10px;   
}

.verticalAlignMiddle { /**** THIS WILL VERTICAL ALIGN TEXT AND IMAGES - /regions/hawaii/hi-esr*****/
	display:flex;
    align-items:center;
}

a.white {
	color:#FFF;
}

.activeLink {
	background-color:#90d8f0;
	padding:8px;
}

.logo { /***** SIZE AND POSITION OF LOGO *****/
	width:200px;
}

.name { /***** DISPLAY SITE NAME NEXT TO LOGO *****/
	display:none;
}

.indent-20px {
	padding-left: 20px;
}

#block-alaskanavigation {
	position:relative;
	margin-top:-123px;
	background-image:url(/sites/default/files/images/subMenuBG-05617A-50opacity.png);
}

#block-alaskanavigation-menu {
	padding:0px 40px;
}

#block-californiacurrentnavigation-2 {
	position:relative;
	margin-top:-123px;
	background-image:url(/sites/default/files/images/subMenuBG-05617A-50opacity.png);
}

#block-californiacurrentnavigation-2-menu {
	padding:0px 40px;
}

#block-gulfofmexiconavigation {
	position:relative;
	margin-top:-123px;
	background-image:url(/sites/default/files/images/subMenuBG-05617A-50opacity.png);
}

#block-gulfofmexiconavigation-menu {
	padding:0px 40px;
}

#block-hawaiinavigation-2 {
	position:relative;
	margin-top:-123px;
	background-image:url(/sites/default/files/images/subMenuBG-05617A-50opacity.png);
}

#block-hawaiinavigation-2-menu {
	padding:0px 40px;
}

#block-northeastnavigation {
	position:relative;
	margin-top:-123px;
	background-image:url(/sites/default/files/images/subMenuBG-05617A-50opacity.png);
}

#block-northeastnavigation-menu {
	padding:0px 40px;
}
li.menu-item.menu-item--expanded.menu-item--active-trail-menu {
	background-color: #90d8f0 !important;
}
 .region-header .block {
    float: left !important; /* LTR */
    margin-top: 0.357em;
  }
.site-header__logo {
    margin-right: 10px;
}
.site-header__logo-text {
    margin-top: 10px;
    max-width: 315px;
    width: 100%;
}
span.block-voicespopup-modal-close.spb_close{
display:none !important; 

}
#block-voicespopup{
color:#000 !important;
}
.site-footer {
	background: #0071b3 !important;
}
/***************************************************
 * END CODE TO PLACE TEXT/REGION MENU OVER IMAGE
 **************************************************/
@media only screen and (max-width: 959px) {
    .regionName {
        display:none;
    
    }
}


/**********************************************************
   ALIGN MENU CENTER [ALEX VALDERRAMA | 13-MAR-19 ]
***********************************************************/
.clearfix .menu2 {
/*   padding:0px 300px;*/
   text-align:left;
}

/**********************************************************
   RESET MENU FOR TABLETS AND PHONES [ALEX VALDERRAMA | 13-MAR-19 ]
***********************************************************/
@media only screen and (max-width: 844px) {
    ul.clearfix.menu2.show-on-mobile {
      display: block !important;
      padding:0px;
      text-align:left;
    }

    body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle--hide { /* REMOVES HIDE MENU TEXT */
      display: none !important;
    }

    body:not(:target) .region-primary-menu .menu-toggle{ /* REMOVES SHOW MENU TEXT */
      display: none !important;
    }

}



/***************************************************
 * HIGHLIGHT ACTIVE LINK ON MAIN MENU
 **************************************************/
.active{
  background-color:#90D8F0;
  color:#fff;
}

/*
.is-active {
	background:#90D8F0 !important;
}
*/

/*
a {
    color:#000;
    text-decoration:none;
}
a:hover {
    text-decoration:underline;
}
a:visited {
    color:#000;
}

.menu nav {
    padding:10px;
    border:solid 1px #c0c0c0;
    border-radius:5px;
    float:left;
}
.menu nav li {
    list-style-type:none;
    float:left;
    margin:0 10px;
}
.menu nav li a {
    text-align:center;
    width:55px;
    float:left;
}
.menu nav li.active {
    background-color:green;
}
.menu nav li.active a {
    color:#fff;
    font-weight:bold;
}
*/


/********************************************************
 * REDUCE SPACE BETWEEN REGIONAL NAVIGATION AND CONTENT
 ********************************************************/
.region .region-region-bar {
	border:1px solid red;
	background-color:lime;
}

/********************************************************
 * MAKE ALL VIDEOS RESPONSIVE
 ********************************************************/
.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}


/********************************************************
 * CODE BELOW USED ON NORTHEAST SUB-REGIONS PAGE
 ********************************************************/
.greenBG {
	background-color: #bfd38b;
	border-radius: 5px;
	padding: 10px;
	text-transform: uppercase;
	color: white;
	font-weight: bold;
	opacity: 0.7;
}
		
.orangeBG {
	background-color: #fbb344;
	border-radius: 5px;
	padding: 10px;
	text-transform: uppercase;
	color: #daf2fe;
	font-weight: bold;
	opacity: 0.7;
}
		
.redBG {
	background-color: #e61616;
	border-radius: 5px;
	padding: 10px;
	text-transform: uppercase;
	color: #daf2fe;
	font-weight: bold;
	opacity: 0.7;
}

.blueBG {
	background-color: #0055a0;
	border-radius: 5px;
	padding: 10px;
	text-transform: uppercase;
	color: #daf2fe;
	font-weight: bold;
	opacity: 0.7;
}

/*
span:hover {
	color: white;
	text-decoration: underline;
	text-transform: uppercase;
	color: white;
	font-weight: bold;
	opacity: 1;
}
/*

/********************************************************
 * CODE BELOW USED ON PROJECTS AND PUBLICATIONS PAGES
 ********************************************************/
.blueRoundedBorder {
	border-radius: 5px;
	border: 1px solid #0980a1;
	padding: 10px;
}

.greyButton {
	background-color: #5c697b;
	border-radius: 5px;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	padding: 10px;
}


/********************************************************
 * CODE BELOW USED FOR SEARCH FIELD
 ********************************************************/
.input-group input[type=search] {
	width: 150px;
	float: right;
	-webkit-transition: width 0.4s ease-in-out;
	transition: width 0.4s ease-in-out;
}

.input-group input[type=search]:focus {
	width: 100%;
}

.dimmed {
	filter: blur(3px);
	opacity: .2;
	transition: all .3s;
}

.sbox {
	transform: translate(0, -5em);
	-webkit-transition: transform 1s ease-in-out;
	-moz-transition: transform 1s ease-in-out;
	-o-transition: transform 1s ease-in-out;
	transition: transform 1s ease-in-out;
}


/********************************************************
 * BEGIN HOVER IMAGES - /regions/alaska/ebs-ecosystem-status-report
 ********************************************************/
.hoverImage img:last-child{
	display:none;
}
.hoverImage:hover img:first-child{
	display:none;
}
.hoverImage:hover img:last-child{
	display:inline-block;
}
/********************************************************
 * END HOVER IMAGES - /regions/alaska/ebs-ecosystem-status-report
 ********************************************************/

body:not(:target) .region-primary-menu .menu-item {
  height: auto !important;
  overflow: hidden;
}  

/**********************************************************
   REALIGNED TEXT LOGO NEXT TO LOGO FOR TABLETS AND PHONES [ALEX VALDERRAMA | 13-MAR-19 ]
***********************************************************/
@media only screen and (max-width: 844px) {
    .site-header__logo-text {
      max-width: 315px;
      width: 65%;
      margin: 30px 0px;
    }
}




@media all and (min-width: 560px) {
  .node .field--type-image {
    float:none !important; /* LTR */
    margin: 0 1em 0 0; /* LTR */
  }
  [dir="rtl"] .node .field--type-image {
    float: right;
    margin: 0 0 0 1em;
  }
  .node .field--type-image + .field--type-image {
    clear: both;
  }
}
.ds-2col-stacked-fluid > .group-left {
  float: left; /* LTR */
  width: 30%;
}

[dir="rtl"] .ds-2col-stacked-fluid > .group-left {
  float: right;
}

.ds-2col-stacked-fluid > .group-right {
  float: right; /* LTR */
  width: 70%;
}.field--type-entity-reference .field__label, .field--type-entity-reference ul.links {
font-size: 1em !important;
font-weight:bold !important;
}  
.taxonomy-term h2 a{
font-size:.75em;

margin-top:-2px !important;
margin-bottom:0 !important;
line-height:1 !important;
} 
.field--type-entity-reference{
margin:0 !important;
}
.field__item h2{
margin: 0 0 0.5em !important;
}
audio::-internal-media-controls-download-button {
    display:none !important;
} 
audio::-webkit-media-controls-enclosure {
    overflow:hidden !important;
}
audio::-webkit-media-controls-panel {
    width: calc(100% + 30px) !important; /* Adjust as needed */
}
.footer__logo-text {
    color: #ffffff;
    font-style: italic;
    font-size: 18px;
}
.footer__links-item {
    display: inline-block;
}
.footer__links {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    text-align: center;
    color: #ffffff;
 }   
@media screen and (min-width:1200px){.footer__logo{-ms-flex-preferred-size:30%;flex-basis:30%;text-align:left;}}       







