
/************************************************************
  GENERAL
************************************************************/

body { 
	 background: #fff; 
	 color: #333;
	 font: 15px/1.5 'Open Sans', sans-serif;
	 font-weight: 300; 
	 /* GLOBAL/MOBILE BACKGROUND IS WHITE. CHANGE THIS IN ALL THEMES*/ }
	
#logo { background: transparent; max-width: 200px; }

.not-front #zone-preface-wrapper h1#page-title {
    color: #fff;
    padding: 0.5em 0 0 .5em;
    font-size: 48px;
    position: relative;
    text-transform: uppercase;
    margin-top: 440px;
}

/************************************************************
  REGIONS
************************************************************/ 

#page { margin: 0; }

#zone-branding-wrapper { 
  /*background: rgba(0,0,0,0.1); */
  position: fixed; 
  z-index: 999; 
  top: 5px;
}

.not-front #section-header { background: transparent; }

.not-front #zone-branding-wrapper { 
  position: fixed;
  top: 1px;
}

.not-front.admin-menu #zone-branding-wrapper {
  top: 30px;
  position: fixed;
}

#section-content { position: relative; top: 0; }

.not-front #section-content { background: #000; position: relative; top: 0; }

#region-branding { float: right; width: 100%; }

.logo-img { background: transparent; }

#zone-content-wrapper { margin-top: 0px; }

#zone-content { background: #fff; min-height: 600px; padding-top: 10px; }

.front #zone-content { min-height: auto; }

.not-front #zone-preface-wrapper { min-height: 600px; }

#zone-preface-wrapper {
  min-height: 500px;
}

#zone-branding { 
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
}

#region-branding { order: 3; }

#region-menu { order: 1; width: 80%; }

#region-user-first { order: 2; }

/************************************************************
  NAVIGATION ON SCROLL
************************************************************/ 

#zone-branding-wrapper.fixed {
  background: #6f6758;
  background: rgba(111, 103, 88, 0.9);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: fixed;
  z-index: 999; 
  transition: all 0.2s ease 0s;
  top: 0;
}

#zone-branding-wrapper .logo-img { 
	 transition: all 0.1s ease 0s;
  margin-bottom: 10px; 
  max-width: auto;
  width: 100%; 
} 

#zone-branding-wrapper.fixed .logo-img { 
  filter: none; 
  transition: all 0.3s ease 0s;	
  width: 50%; }

#zone-branding-wrapper.fixed #logo { max-width: 100px; }

.admin-menu #zone-branding-wrapper {
  top: 30px;
}

.not-front.admin-menu #zone-branding-wrapper {
  top: 30px;
}

.admin-menu #zone-branding-wrapper.fixed {
  position: fixed;
  z-index: 999;
  top: 30px;
}

#region-user-first { float: right; }

#zone-branding-wrapper.fixed #region-menu, .admin-menu #zone-branding-wrapper.fixed #region-menu, #zone-branding-wrapper.fixed #region-user-first, .admin-menu #zone-branding-wrapper.fixed #region-user-first { padding-top: 1.5em; }

#zone-branding-wrapper #region-menu { width: 80%; order: 2; }

.admin-menu #zone-branding-wrapper.fixed #region-menu, #zone-branding-wrapper.fixed #region-menu { width: auto; order: 2; }

#zone-branding-wrapper.fixed #region-branding { width: 200px; float: left; order: 1; }

#zone-branding-wrapper .sf-menu a { padding: 1.4em 2em; }

#zone-branding-wrapper.fixed .sf-menu a { padding: 1.4em 1.4em; }

.admin-menu #zone-branding-wrapper.fixed .sf-menu li.sfHover > ul, .admin-menu #zone-branding-wrapper.fixed .sf-menu li:hover > ul, #zone-branding-wrapper.fixed .sf-menu li.sfHover > ul, #zone-branding-wrapper.fixed .sf-menu li:hover > ul {
	 top: 4.5em;
}

#zone-social-wrapper h2.block-title { font-size: 60px; }

/************************************************************
 SUPERFISH MAIN MENU NONMOBILE
************************************************************/

#block-menu-block-congress-main-menu-superfish { background: transparent; float: left; margin-top: 10px; display: block; }

.sf-menu ul { 
  /* Fallback for web browsers that don't support RGBa */
  background-color: rgb(1, 37, 95);
  /* RGBa with 0.6 opacity */
  background-color: #fff;
  /* For IE 5.5 - 7*/
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";  
  border-bottom: none;
	 border-left: none;
  border-right: none;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, .5);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}

.sf-menu ul li a {
	 border-left: none; } 

.sf-menu li, .sf-menu.sf-navbar {
  background: none repeat-x scroll 0 0 transparent;
}

.sf-menu li.sfHover > ul, .sf-menu li:hover > ul {
	 top: 4.5em;
}

.sf-menu li { 
	 border-right: none;
  margin-right: 5px;
}

.sf-menu ul.menu li {
	 border: none;
}

/*.sf-menu li.first a { 
	 border-left: none; 
	 padding: 1.35em 1.2em; } */

.sf-menu a { 
	 color: #fff; 
	 font-size: 18px;
	 font-family: 'Oswald', 'Open Sans', sans-serif;
	 font-weight: normal;
	 text-decoration: none !important;
	 text-transform: Uppercase;
	 padding: 1.4em 1.3em;
}

.sf-menu li .menu .leaf a { 
	 color: #333;
  border-bottom: 1px dashed #afaeac; 
	 font-size: 16px;
	 font-family: 'Oswald', sans-serif;
	 padding: 0.8em 1em !important; }
  
.sf-menu li .menu .last a { border-bottom: none; }

.sf-menu a, .sf-menu a:link, .sf-menu a:visited {
  border-bottom: medium none;
  color: #fff;
}

.sf-menu a.active, .sf-menu a.active-trail { /* active state */
	 background: #333;
  background: rgba(51, 51, 51, 0.5); 
  background-clip: padding-box;
	 color: #fff; 
}

.sf-menu a:focus, .sf-menu a:hover, .sf-menu li.sfHover {
  background: rgba(161, 151, 130, 0.5);
  background-clip: padding-box;
  color: #fff; 
 	text-decoration: none;
}

.sf-menu  ul.menu li.leaf a {
	 font-weight: normal;
	 margin-right: 0;
	 text-transform: capitalize !important;
}/* No longer used */


.sf-menu li .last {
	 background: none; 
  border-bottom: 5px;
	 padding-bottom: 0; /* needed for bg image */
}

.sf-menu li .leaf a:hover {
  /* Fallback for web browsers that don't support RGBa */
  background-color: #686154;
  background-clip: padding-box;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
	 color: #fff;
}

.sf-menu li .first.leaf a:hover {  
  background-clip: padding-box;
  border-top-left-radius: 0px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.sf-menu li .last.leaf a:hover {
  background-clip: padding-box;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.sf-menu li .first.last.leaf a:hover {
  background-clip: padding-box;
  border-top-left-radius: 0px;
  border-top-right-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
  
/************************************************************
  SEARCH
************************************************************/ 

#block-search-form { background: #fff;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
  border: 1px solid #ddd; 
  position: absolute;
  width: 300px;
  left: -90px;
  box-shadow: 2px 2px 3px rgba(102,102,102,0.1);
  top: 90%;
  line-height: 1.2em;
  z-index: 9999;
  display: none;
}

#block-search-form::before {
  background: #fff;
  position: absolute;
  display: block;
  content: "";
  top: -8px;
  right: 40px;
  width: 14px;
  height: 14px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  border-color: #ddd;
  border-style: solid;
  border-width: 1px;
  border-right: none;
  border-bottom: 0;
}

#search-block-form .form-item { width: 80%; }

#search-block-form .form-item input {
	 color: #666;
	 width: 100%;
  font-size: 1em;
  border-radius: 10px; 
  height: 40px;
}

.not-front #search-block-form .form-item input { 
	 margin-top: 0px;
}

.fa-search { display: inline-block; cursor: pointer; }

#search-block-form { text-align: right; }

#search-block-form input:focus { box-shadow: none; }
 
/************************************************************
  HOMEPAGE ROTATOR
************************************************************/
 
#block-views-congress-hprotator-rotator { margin: 0 auto; padding: 0; text-align: center; }

.flexslider .slides img { border-radius: 0px; } 

.hprotator-text-block { bottom: 0; left: 0; margin: 0 auto; position: absolute; right: 0; text-align: left; 
	 width: 100%; }

.hprotator-text-block h2 {
	 color: #fff !important;
	 font-family: 'Oswald', sans-serif;
	 font-size: 64px;
	 font-weight: 700;
	 line-height: 70px;
	 margin: 10px;
}

.hprotator-text-block h2 a {
	 color: #fff !important;
	 font-weight: 400;
}

.hprotator-text-block .field-name-body {
	 color: #fff;
	 font-size: 16px;
  margin: 20px auto;
} 

#hp_top_read_more {
	 display: block;
  margin: 10px 15px;
	 text-align: left; }

#hp_top_read_more a {
	 background: #9D9684;
	 border-radius: 5px;
	 color: #fff;
	 display: block;
	 font-family: 'Open Sans', sans-serif;
	 font-weight: normal;
	 font-size: 16px; 
	 margin: 10px 0;
  padding: 10px;
	 text-align: center;
	 text-decoration: none;
	 text-transform: Capitalize; 
	 width: 125px; 
}
 
.hprotator-text-block h2, .hprotator-text-block .field-name-body, .hprotator-text-block  #hp_top_read_more { 
	 margin-left: auto;
	 margin-right: auto;
}

/************************************************************
  FOOTER
************************************************************/

.menu-block-congress_site_map > .menu li {
  display: inline;
  margin-left: 0;
}

.menu-block-congress_site_map  ul.menu { text-align: center; } 

.menu-block-congress_site_map > ul > li, .menu-block-congress_site_map_top_level > ul > li {
  float: none;
  margin: 0 2em; 
  width: auto;
}
 
#block-menu-menu-congress-footer-utility { text-align: center; padding: 1em; }

#block-menu-menu-congress-footer-utility ul.menu { text-align: center; }

/***********************************************************
  FOOTER OFFICES  
***********************************************************/

.office-info { float: left; width: 33%; } 

/************************************************************
  HEARINGS
************************************************************/

#block-views-congress-hearings-bl-hear .view-content { 
  display: flex; 
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: stretch; 
  align-content: stretch;
  margin-bottom: 1em; }

#block-views-congress-hearings-bl-hear .views-row {
  background: #fff; 
  padding: 1em;
  width: 31%;
}

/************************************************************
  LATEST NEWS
************************************************************/

#block-views-congress-news-block-latest-news .view-content { 
  display: flex; 
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch; 
  align-content: stretch; 
  margin-bottom: 1em; }

#block-views-congress-news-block-latest-news .views-row {
  background: #fff; 
  padding: 1em;
  width: 31%;
}

/************************************************************
  SUBCOMMITTEE
************************************************************/

#block-views-congress-subcommittees-sub-comm .view-content { 
  display: flex; 
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start; 
  align-content: stretch; }

#block-views-congress-subcommittees-sub-comm .views-row {
  padding: 0.5em 0.5em;
  width: 24%;
}

 
/***********************************************************
  ALERT BOX
***********************************************************/
 
#block-views-cng-alert-box-block-alert-box .views-row { border: none; padding: 0; }

#block-views-cng-alert-box-block-alert-box { background: #b2c000; border: 1px solid #a9af5f; }

#block-views-cng-alert-box-block-alert-box h2.block-title { text-indent: -9999px; }

#block-views-cng-alert-box-block-alert-box a { color: #203f49; }

/***********************************************************
  ENEWS POP UP - Platform has new popup module. Don't use old CSS.
***********************************************************/

/************************************************************
  Social Icons in Top Nav | Small icons 
************************************************************/

#boxes-box-facebook_responsive { overflow: scroll; }

#block-boxes-fontawesome-medium { margin-bottom: 0; padding: 1.5em 0 0; text-align: right; }

 #block-boxes-fontawesome-medium a {
  margin-right: 14px;
}



