/* Custom CSS - The CSS properties in this stylesheet will over-write any original template styles if the same class names are used in addition to custom styles which can also be added. */



/***** This code changes the <h1> font size for the home page header-slideshow-banner *****/ 
h1.customSize{
  font-size: 31px;
}

/***** force centering *********/
th.centered
	{text-align: center;
	}

/***** This code adjusts the appearance of the second level navigation links in the heading include 'navigation2.html' **********/
li.customUnit{
border-top: 0px solid #FDB81E;
  border-bottom: 0px solid #046B99;
  border-left: 0px solid #d6d6d6;
  border-right: 0px solid #d6d6d6;
  background: #F5F9FB; 
}
  
  li.customUnit2{
border-top: 0px solid #FDB81E;
  border-bottom: 0px solid #046B99;
  border-left: 0px solid #d6d6d6;
  border-right: 0px solid #d6d6d6;
  background: #FFFFFF; 
}


img.partners {padding:4px;}

.list-overstated li,
.list-understated li {
  background: url(http://www.waterboards.ca.gov/images/ca_department/arrow_blue.gif) no-repeat 0 3px transparent;
  padding: 0 0 14px 18px;
  /* Rotates disc arrow down when used with accordion */
}

/* This code is to allow anchors to work with fixed headers.  */
.offset:before { 
	display: block; 
 	content: " "; 
  	height: 150px;      /* Give height of your fixed element */
        margin-top: -150px; /* Give negative margin of your fixed element */  	
        visibility: hidden; 
}


/*This code is to remove the bullets and padding for section lists.  */
.list-section ul {
	font-size: 0;
}	
	
.list-section li {
  margin: 0%;
  background: none;
  padding-left: 0;
}

/* New Logo*/
.branding .header-organization-banner img {
    width: 300px;
}
@media (max-width: 1279px) and (min-width: 992px) {
  .branding .header-organization-banner img {
    max-width: 250px;
  }
}
@media (max-width: 992px) and (min-width: 767px) {
  .branding .header-organization-banner img {
    max-width: 200px;
  }
}
@media (max-width: 767px) {
  .branding .header-organization-banner {
    position: absolute;
    margin-top: -5px;
    padding-right: 150px;
  }
	.branding .header-organization-banner img {
    max-width: 270px;
  }
}

@media (min-width: 992px) {
  .fixed.compact .main-navigation {
    min-height: 46px;
  }
  .fixed.compact .first-level-link [class^="ca-gov-icon-"] {
    display: none;
  }
  .fixed.compact .main-navigation {
    margin-top: -45px;
  }
  .fixed.compact .branding {
    height: 45px !important;
  }
  .fixed.compact .header-organization-banner {
    height: 45px;
    line-height: 45px;
  }
  .fixed.compact .header-organization-banner img {
    width: 255px;
  }
}
@media (min-width: 992px) {
  .search-container,
  .featured-search.active {
    position: absolute;
    top: 96px;
  }
}
@media (min-width: 992px) {
  .global-header .mobile-controls {
    display: none !important;
  }
}