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

body { 
	 background: #fff url(../images/background-body.jpg);
	 color: #4d4d4d;
	 font: 16px/1.5 'Work Sans', 'Helvetica', sans-serif;
	 font-weight: normal; 
	 transition: all 0.2s ease 0s; 
  overflow-x: hidden; 
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
}

.admin-menu body {}
  
.logo-img { background: none; display: block; max-width: 90%; padding: 15px 10px 0; margin: 0 auto; }

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

#zone-menu-wrapper, #block-menu-block-congress-main-menu-superfish {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

#zone-alert, #zone-menu, #zone-menu, #zone-content, #zone-connect, #zone-postscript { padding: 0; margin: 0 auto; width: 100%; max-width: 1400px; }

#region-branding { width: 20%; }

#region-menu { padding: 0; margin: 0; width: 60%; }

#region-user-first { padding: 0; margin: 0; width: 20%; }

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

#region-alert-first, #region-preface-first, #region-highlights-first { width: 100%; } 

.page-legislation #zone-content { display: block; }

#region-content { width: 74%; margin: 0 1% 0 0; padding: 0;}

#region-sidebar-first { width: 25%; margin: 0; padding: 0; }

#region-connect-first, #region-postscript-first { margin: 0; width: 100%; } 

.not-front #region-content.grid-24 { width: 100%; }

#section-header {
  background: transparent;
  position: relative;
  /**
  THIS WILL GET IN THE WAY OF THE OVERLAY
  z-index: 999; **/
  transition: all 0.5s ease 0.5s;
  margin-top: 0;
  min-height: 260px;
}

.not-front #section-header { min-height: 240px; }

#section-content {}

#section-footer { background: rgba(16,49,67,0.9); }

#zone-footer-wrapper { background: transparent; padding: 40px 0; }

#region-footer-first { margin: 0; width: 50%; } 

#region-footer-second { margin: 0; width: 50%; }

#zone-footer-bottom-wrapper { background: rgba(0,0,0,0.4); }

#region-footer-third { margin: 0; width: 50%; }

#region-footer-fourth { margin: 0; width: 50%; }

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

#zone-menu-wrapper.fixed {
  background: #103143;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  position: fixed;
  z-index: 999; 
  transition: all 1s ease;
  top: 0;
}

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

#zone-menu-wrapper.fixed #region-branding, #zone-menu-wrapper.fixed #region-user-first { width: 10%; }

#zone-menu-wrapper.fixed #region-menu { width: 80%; }

#zone-menu-wrapper.fixed .logo-img { max-width: 90%; padding: 15px 10px 10px; margin: 0 auto; }  

#zone-menu-wrapper.fixed #block-boxes-fontawesome-medium { display: none; }

#zone-menu-wrapper.fixed #block-menu-block-congress-main-menu-superfish {
  margin: 10px 0 0 0;
}
    
#zone-menu-wrapper #home-logo { display: none; transition: all 0.5s ease 1s; }

#zone-menu-wrapper.fixed ul.main-menu li { vertical-align: middle; }

#zone-menu-wrapper.fixed #home-logo { display: inline-block; vertical-align: middle; }

#zone-menu-wrapper.fixed #home-logo a {
  background: url(../images/rules_header.png) 0 center no-repeat;
  background-size: contain; 
  margin-top: 0;
  transform: matrix(1, 0, 0, 1, 0, 0);
  transition: all 0.5s ease 1s; 
  font-size: 0px;
  text-indent: -9999px;
  height: 110px;
  width: 300px;
}

#block-boxes-header-profile .boxes-box-content { background: none;
  display: block;
  max-width: 90%;
  padding: 15px 10px 0;
  margin: 0 auto;
}

#block-boxes-header-profile, #block-boxes-header-profile p { margin: 0; padding: 0; }

#zone-menu-wrapper.fixed #block-boxes-header-profile img { margin: 0 auto; border: 3px solid rgba(255,255,255,0.8); }

/************************************************************
  SUBCOMMITTEES LISTING
************************************************************/

/*.view-congress-subcommittees .views-field-field-congress-body { float: left; width: 30%; }*/

/************************************************************
BLOCKS, BOXES and VIEWS
************************************************************/

.block, .block-views { /* THIS AFFECTS ALL BLOCKS UNLESS YOU OVERRIDE */
  background: transparent;
  border: none;
  margin-bottom: 0px;
  padding: 1.5em 1em;
}

/************************************************************
  SOCIAL MEDIA
************************************************************/

#block-boxes-congress-committee-twitter #twitter-widget-0 { height: 600px !important; overflow-x: auto; }

#block-boxes-fontawesome-medium { padding: 1.5em 1em 0; }

#block-boxes-fontawesome-medium div { display: inline; }

#block-boxes-fontawesome-medium { text-align: center; } 

#block-boxes-social-media-fontawesome-footer { float: right; padding: 20px; }

/************************************************************
  QUICKTABS
************************************************************/ 

ul.quicktabs-tabs li {
  display: inline-block;
  margin: 0;
  text-align: center;
  width: 50%;
}
  
/************************************************************
  SEARCH
************************************************************/ 

#block-search-form { background: #fff;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
  border: none; 
  position: absolute;
  width: 300px;
  left: auto;
  right: 10px;
  box-shadow: 2px 2px 3px rgba(102,102,102,0.1);
  top: 120px;
  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: #4d4d4d;
	 width: 100%;
  font-size: 1em;
}

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

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

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

#search-block-form input:focus { box-shadow: none; }

/************************************************************
 HEADERS
************************************************************/

h1#page-title {
  border-bottom: none; 
  font-size: 42px;
  font-weight: 800; 
  margin-bottom: 0; 
  line-height: 1em; 
  padding: 20px 0 0 20px; 
  letter-spacing: 0px;
}

.not-front #region-content h1#page-title {
  padding: 0 15px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1em;
}

h3 { font-size: 20px; }

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

.admin-menu #block-menu-block-congress-main-menu-superfish { margin: 0; }

#block-menu-block-congress-main-menu-superfish {
  background: transparent;
  display: flex;
  float: none;
  justify-content: flex-end;
  margin: 20px 0 0 0;
  padding: 0;
  text-transform: uppercase;
  width: 100%;
  z-index: 11;
  text-align: center;
} 

#block-menu-block-congress-main-menu-superfish ul.main-menu li {
  display: inline-block;
  float: none;
} 

#block-menu-block-congress-main-menu-superfish ul.menu li {
  margin: 0;
}

.sf-menu ul {
  background-color: #fff;
  box-shadow: 1px 1px 8px rgba(0,0,0,.5);
  border-radius: 3px; 
  width: auto;   
}

.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: 100%;
	 left: auto;
} 

#zone-menu-wrapper.fixed .sf-menu li.sfHover > ul {
	 top: 100%;
}

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

.sf-menu ul.menu li {
	 border-bottom: 1px dashed #ccc;
}

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

.sf-menu a { 
	 background: transparent;
  font-family: 'Work Sans', Helvetica, Arial, 'sans-serif';
	 font-size: 16px;
	 font-weight: 600;
	 text-decoration: none !important;
	 text-transform: none;
	 padding: 1.25em 0.6em;
	 width: auto;
}

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

.sf-menu a.active, .sf-menu a.active-trail { /* active state */
	 background: transparent;
  color: #ead9a9;
}

.sf-menu li .menu .leaf a.active { background: #103143; color: #fff; }

.sf-menu li .menu .leaf a, #zone-menu-wrapper.fixed .sf-menu li .menu .leaf a { 
  border-bottom: none;
  color: #103143;
  font-family: 'Work Sans', 'Helvetica', sans-serif;
	 font-size: 16px;
	 padding: 0.8em 1em;
}

#zone-menu-wrapper.fixed .sf-menu li .menu .leaf a:hover { color: #fff; } 

.sf-menu .menu .leaf a:first-child { 
  border-bottom: none;
}

.sf-menu .menu .leaf a:last-child { 
  border-bottom: none;
}

.sf-menu .menu .leaf a:last-child:hover { 
  border-bottom: none;
}

.sf-menu .menu .leaf a:hover { border-radius: 0px; }

.sf-menu .menu .first a:hover { 
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.sf-menu .menu .last a:hover { 
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
} 

.sf-menu a:focus, .sf-menu a:hover {
  background: #103143;
 	color: #fff;
	 text-decoration: none;
  border-radius: 4px;
}

.sf-menu li.sfHover {
 	background: transparent; 
 	color: #fff;
	 text-decoration: none;
}

.sf-menu li.sfHover a {
  background: #103143;
  border-radius: 4px;
}

#zone-menu-wrapper.fixed .sf-menu li.sfHover a, #zone-menu-wrapper.fixed .sf-menu li.last.leaf a:hover {
  background: #fff;
  color: #103143;
  border-radius: 4px;
}

.sf-menu li.sfHover > ul a {
  background: transparent;
 	color: #fff;
}

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

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

.sf-menu li .leaf a:hover, #zone-menu-wrapper.fixed .sf-menu li .leaf a:hover {
  /* Fallback for web browsers that don't support RGBa */
  background: #386c9b; 
  color: #fff;
}

#zone-menu-wrapper.fixed .sf-menu ul.menu .last.leaf a:hover {
  background: #386c9b!important;
  color: #fff; 
} 

/************************************************************
  BILLS
************************************************************/  

#block-views-congress-bills-block-bills .views-row { width: 33.3%; display: block; float: left; padding: 2em; margin: 0; text-align: center; color: #fff; } 

/************************************************************
  ACTIVE LEGISLATION
************************************************************/

.view-active-legislation-on-homepage .views-row { width: 32%; margin: 0 0.5%; }

/************************************************************
  ACTION CENTER
************************************************************/  

#block-boxes-congress-service-center { text-align: center; margin: 50px 0; padding: 0; } 
	
#block-boxes-congress-service-center .item a { display: flex;
  flex-flow: row nowrap;
  justify-content: left;
  align-items: center;
  position: relative;
  color: #103143;
  line-height: 1;
  padding: 15px;
  background: rgba(255, 255, 255, 0.35);
  text-align: left;
  text-shadow: none;
  transition: background-color 0.2s;
  border-radius: 3px;
  white-space: nowrap;
}

#block-boxes-congress-service-center .link-title {
  display: inline-block;
  font-size: 16px;
  overflow: visible;
  vertical-align: middle;
  white-space: normal;
}

#block-boxes-congress-service-center .item a:hover { background: #103143; color: #fff; text-decoration: none; transform: scale(1); transition: all 0.1s ease; }

#block-boxes-congress-service-center { color: #fff; text-align: center; }

#block-boxes-congress-service-center ul { margin: 0; padding: 0; } 

#block-boxes-congress-service-center ul li { list-style: none; display: inline-block; margin: 0 10px 10px; text-align: center; width: 14%; vertical-align: top; } 

#block-boxes-congress-service-center i { 
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 36px;
  margin-right: 15px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  font-size: 2em;
  padding-top: 0;
}  


#block-boxes-congress-service-center .more-link a:hover { 
  border: 1px solid #ead9a9;
	 text-decoration: none;
  background: transparent;
}

/************************************************************
  HOMEPAGE ROTATOR 
************************************************************/

#block-panels-mini-congress-home-page-rotator { margin-top: 30px; } 

#block-views-congress-hprotator-rotator, #mini-panel-congress_home_page_rotator, #block-panels-mini-congress-home-page-rotator { 
 	background: transparent; margin: 0px auto 0px auto; padding: 0; text-align: center; }

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

.hprotator-text-block { background: transparent; 
  top: 5%; 
  left:  10%; 
  margin: 0 auto; position: absolute;
	 padding: 0; 
	 text-align: left; 
  transition: all 0.2s ease 0s;
	 width: 80%;
  z-index: 111;
}

.hprotator-text-block h2 {
	 color: #fff;
	 font-family: 'Work Sans', 'Helvetica', sans-serif;
	 font-size: 48px;
	 font-weight: bold;
  line-height: 1;
	 margin: 10px 10px 0;
  text-shadow: 1px 1px 5px rgba(0,0,0,.5);
}

.hprotator-text-block h2 a {
	 color: #fff;
}

.hprotator-text-block h2 a:hover {
  color: #fff; 
}

.hprotator-text-block .field-name-body {
	 color: #fff;
	 font-size: 21px;  
  font-weight: normal;
  margin-bottom: 15px;
  text-shadow: 1px 1px 5px rgba(0,0,0,.5);
} 

.hprotator-text-block h2, .hprotator-text-block .field-name-body, .hprotator-text-block  #hp_top_read_more { 
	 margin-left: auto;
	 margin-right: auto;
}

#hp_top_read_more a {
  font-size: 14px;
  letter-spacing: 2px;
}

.view-congress-hprotator .flex-control-nav { 
  background: transparent;
  display: block;
  bottom: -4%;
  left: 10%;
  margin-top: 0;
  width: 100%;
  position: relative;
  text-align: center;
}

.flex-control-nav li {
  margin: 0px 20px 0px 0px;
}

.flexslider .flex-direction-nav a {
  display: block;
}

.flex-direction-nav .flex-prev {
  left: -50px;
}

.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}

.flex-direction-nav a {
  width: 78px;
  height: 108px;
  line-height: 108px;
  text-decoration: none;
  top: 44%;
  transition: all 360ms;
  margin: -20px 0 0;
  position: absolute;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}

.flex-direction-nav a::before {
  width: 78px;
  height: 108px;
  content: '';
  background: url(../images/icon-arrow-lf.png) no-repeat;
}

.flex-direction-nav a.flex-next::before {
  content: '';
  background: url(../images/icon-arrow-rt.png) no-repeat;
}

.flexslider .slide-cover {
  width: 100%;
  height: 100%;
  background: url(../images/feature-gradient.png) no-repeat;
  position: absolute;
  background-size: cover;
  z-index: 1;
}


/************************************************************
  NEWSLETTER
************************************************************/ 

#block-boxes-newsletter-signup-text { padding: 4em 0; }

#block-boxes-newsletter-signup-simple-bs { margin: 15px 0; text-align: center; }

#block-boxes-congress-newsletter-signup .form-text { 
  text-align: center; 
}

#block-boxes-newsletter-signup-simple-bs input#signup-email {
	 border-radius: 5px; 
  box-shadow: none;
  float: none;
  height: 50px;
  margin-right: 10px;
  width: 50%;
}

#block-boxes-newsletter-signup-simple-bs .btn-success:hover, #block-boxes-newsletter-signup-simple-bs .btn:hover, #block-boxes-newsletter-signup-simple-bs .form-submit:hover { 
 	background: #bc9101;
	 border: none;
}

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

#block-views-congress-news-block-latest-news ul.slides li .views-field { padding: 0 10px 0 0; }

#block-views-congress-news-block-latest-news .views-row {
  border: 0;
  display: inline-block;
  margin: 10px 0;
  padding: 2% 1%;
  vertical-align: text-top;
  width: 32%;
}

#block-views-congress-news-block-latest-news .views-row h3.field-content {
  font-size: 1.5em;
  text-align: left;
}

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

#block-boxes-chairman-footer-block {}

#block-boxes-chairman-footer-block strong, #block-boxes-chairman-footer-block b {
  font-weight: bold;
  font-size: 1.4em;
  color: #fff;
}

#block-menu-menu-congress-footer-utility { text-align: left; }

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

ul.menu li {
  margin: 0 0 0 0;
}
