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

body { 
	 font: 16px/1.5 'Open Sans', 'Century Gothic', sans-serif;
	 font-weight: 300; 
	 transition: all 0.2s ease 0s; } 

.admin-menu body { 
	 background: #fff; }
  
.logo-img { background: transparent; display: block; margin-top: 0; padding: 0; max-width: 80%; }

/************************************************************
  REMOVING TABLE STYLING
************************************************************/

td img {
  /* CHROME img thumbnail in tables fix */
	 max-width: none;
}

table {
  border: none;
}

td, th { vertical-align: top; }
thead th, th {
  background: none;
  border-bottom: none;
  color: #333;
  vertical-align: top;
}

th.active {
  background: none;
  border-left: none;
  border-right: none;
}

tr.even td {
  background: none;
}

tr.odd td {
  background: none;
}

td.active {
  border-left: none;
  border-right: none;
}

tr.even td.active {
  background: none;
}
tr.odd td.active {
  background: none;
}

tr:hover td, tr.even:hover td.active, tr.odd:hover td.active {
  background: none;
}

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

#zone-menu-wrapper {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
  text-align: right;
}

#region-user-first { text-align: right; }

#zone-branding-wrapper { padding: 0; }

.container-24, .grid-24, .container-24 .grid-24 { width: 100%; }   

.front #zone-preface, .front #region-preface-first { margin: 0 auto; width: 100%; min-height: 280px; text-align: center; }

.admin-menu #zone-preface { max-height: 480px; }

#section-header { background: #fff; position: relative; top: 0; z-index: 999; margin: 0; box-shadow: none; }

.admin-menu #section-header { top: 0; }

#region-header-first { margin: 0; width: 70%; }

#region-header-second { margin: 0; width: 30%; float: right; }

#zone-menu, #zone-branding, #region-user-first, #zone-content, #zone-actioncenter, #region-action-first, #zone-header, #zone-postscript, #region-postscript-first, #zone-stay-connected { width: 100%; max-width: 100%; margin: 0 auto; }

#zone-contact { width: 100%; max-width: 1400px; margin: 0 auto; }

#region-contact-first, #region-contact-second { width: 50%; margin: 0; }

#section-content { margin-top: 0; }

.front #region-sidebar-first { padding: 0; margin: 0; width: 50%; }

.front #region-content { padding: 0; margin: 0; width: 50%; }

.not-front #zone-content { min-height: 800px; }  

#section-footer { background: #666; }

#zone-footer { text-align: center; width: 100%; }

#region-footer-second { margin-left: auto; margin-right: auto; float: none; }

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

#zone-footer-wrapper .block { padding: 0; }

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

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

#zone-menu-wrapper { position: relative;
  top: 0;
  background: #fff;
  transition: all 1s ease;
}

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

#zone-menu-wrapper #region-branding { margin: 0; width: 30%; }

#zone-menu-wrapper #region-menu-first { margin: 2em 0 0; width: 70%; }

.admin-menu #zone-menu-wrapper {
  top: 0;
}

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

/************************************************************
  INTERIOR PHOTO
************************************************************/

.not-front #zone-preface-wrapper {}
  
.not-front #zone-preface {}

/************************************************************
  CONSTITUENT STATS
************************************************************/

.view-constituent-service-by-number, .view-constituent-service-by-numbers { 
  width: 80%;
  margin: 0 auto; }

.view-constituent-service-by-number h2.block-title, .view-constituent-service-by-numbers h2.block-title {
  margin: 0;
}

.view-constituent-service-by-number h2.block-title a, .view-constituent-service-by-numbers h2.block-title a {
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
}

ul#const_stats {
  display: flex;
  padding: 0;
  margin: auto;
  flex-wrap: wrap; 
}

ul#const_stats li {
  list-style: none;
  font-weight: 700;
  color: #00034e;
  flex: auto;
  font-size: 21px;
}

.const_stats_label {
  displaY: block;
  font-weight: normal;
  font-size: 16px;
  margin-top: -5px;
} 

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

#block-boxes-congress-service-center h2.block-title { margin-bottom: 0px; }

#block-boxes-congress-service-center ul li { margin: 1%;
  width: 14%; 
}

#block-boxes-congress-service-center i { display: block;
  background: none;
  color: #00034e;
  font-size: 4em;
  height: 70px; 
  padding: 15px 25px 0 25px;
  width: 150px;
}

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

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

#breadcrumb { 
  margin: 5px 0 0 30px; }

/************************************************************
  SEARCH
************************************************************/ 

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

#block-search-form::before {
  background: #fff;
  position: absolute;
  display: block;
  content: "";
  top: -8px;
  right: 27px;
  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: 0; 
}

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

.fa-search { display: inline-block; border-left: 1px solid #23527c; padding-left: 15px!important; }

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

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

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

h1#page-title {
  border-bottom: none; 
	 font-weight: bold;
  font-size: 48px; 
  line-height: 48px;
	 margin-bottom: 0px;
  padding: 20px 0 0 20px; 
}

.not-front #region-content h1#page-title {
  padding: 0 26px;
	 font-size: 48px; 
}

h3 { 
  font-size: 24px; 
  font-weight: 500; 
}

h2.block-title {
  font-size: 42px;
  font-weight: 300; 
}

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

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

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

#zone-menu-wrapper.fixed .sf-menu ul {
  background: rgba(235,235,235,1);
}

.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.2em;
	 left: auto;
}

.sf-menu li.sfHover > ul, .sf-menu li.last:hover > ul {
  left: 0; }

#zone-menu-wrapper.fixed .sf-menu li.sfHover > ul, #zone-menu-wrapper.fixed .sf-menu li:hover > ul {
	 top: 4.2em;
	 left: auto;
}

.sf-menu li { 
 	border-right: none;
  float: none;
  display: inline-block;
}

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

.sf-menu a { 
	 background: transparent;
  font-family: 'Montserrat', 'Open Sans', 'Century Gothic', sans-serif;
	 font-size: 18px;
	 font-weight: bold;
  letter-spacing: 2px;
	 text-decoration: none;
	 text-transform: Uppercase;
  margin-top: 0;
	 padding: 25px 15px;
	 width: auto;
}

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

.not-front .sf-menu a { color: #00034e; }

.sf-menu a.active, .sf-menu a.active-trail { /* active state */
	 background: transparent;
  color: #666;
  border-bottom: 4px solid #00034e;
}

/**
#zone-menu-wrapper.fixed .sf-menu a { font-size: 16px; padding: 30px 25px; }

#zone-menu-wrapper.fixed .sf-menu a, #zone-menu-wrapper.fixed #block-boxes-cng-social-media-fa-small a i.fa { color: #00034e; }

#zone-menu-wrapper.fixed .sf-menu a:hover, #zone-menu-wrapper.fixed .sfHover a, #zone-menu-wrapper.fixed #block-boxes-cng-social-media-fa-small a i.fa:hover { color: #ab0000; }

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

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

.sf-menu li .menu .leaf a, #zone-menu-wrapper.fixed .sf-menu li .menu .leaf a { 
  border-bottom: none;
  color: #00034e;
  font-family: 'Open Sans', 'Century Gothic', sans-serif;
	 font-size: 16px;
  margin-top: 0;
	 padding: 0.6em 0.9em;
  text-decoration: none;
}

.sf-menu li .menu .leaf a.active, #zone-menu-wrapper.fixed .sf-menu li .menu .leaf a.active { background: #00034e; color: #fff; }

.sf-menu a:focus, .sf-menu a:hover {
  background: transparent;
 	color: #ab0000;
	 text-decoration: none;
}

.sf-menu li.sfHover {
 	background: rgba(235,235,235,1); 
 	color: #ab0000;
	 text-decoration: none;
} 

/*#zone-menu-wrapper.fixed .sf-menu li.sfHover { background: transparent; }

.sf-menu li.sfHover a {
  background: transparent;
  color: #ab0000; 
}*/

.sf-menu li.sfHover > ul a {
 	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: #ab0000; 
  color: #fff;
} 

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

#block-views-congress-hprotator-rotator .contextual-links-wrapper { margin-top: 150px; }

#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: #00034e; margin: 0px auto 0px auto; padding: 0; text-align: center; }

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

.hprotator-text-block { 
  background: transparent; 
  bottom: 50px; right: 0; margin: 0 auto; position: absolute;
	 padding: 10px 20px 10px; 
	 text-align: center; transition: all 0.2s ease 0s;
	 width: 50%;
  z-index: 2;
}

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

.hprotator-text-block h2 a {
	 color: #fff;
	 font-weight: 700;
	 font-size: 48px;
	 line-height:  48px;
}

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

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

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

#hp_top_read_more a {
  font-size: 14px;
  margin-top: 10px;
  padding: 11px 30px;
}

.view-congress-hprotator .flex-control-nav { 
  background: transparent; 
  bottom: 15px;
  left: 0;
  margin-top: 0;
  width: 100%;
  position: absolute;
}

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

.flex-control-nav li:last-child {
  margin-right: 0;
}

.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: 102px;
  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: 102px;
  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;
}

.flex-control-paging li a.flex-active {
  background: #fff;
}

.flex-control-paging li a:hover { background: #ab0000; }

.flex-control-paging li a {
  border: 2px solid #fff;
}

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

/************************************************************
  FAQ PAGE
************************************************************/ 

.faq ul {
  padding: 0;
  column-count: 2;
}

.faq ul li {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0 0 10px;
}

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

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

#block-boxes-newsletter-signup-simple-bs { margin: 0 auto; }

#block-boxes-newsletter-signup-simple-bs label { 
  display: inline-block;
  margin: 0 20px;
}

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

#block-boxes-newsletter-signup-simple-bs input#signup-email { 
  box-shadow: none;
  float: none;
  height: 52px;
  margin: 0 20px;
  width: 50%;
}

.front #block-boxes-newsletter-signup-simple-bs button { display: inline-block; }

.not-front #block-boxes-newsletter-signup-simple-bs input#signup-email {
  margin: 0;
}

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

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

.front #block-views-congress-news-block-latest-news .view-congress-news .view-content {
  display: flex;
  flex-wrap: wrap;
}

#block-views-congress-news-block-latest-news .views-row, #block-views-congress-news-block-news-photos .views-row {
  border: 0;
  display: inline-block;
  margin: 0;
  padding: 1%;
  vertical-align: text-top;
  width: 96%;
}

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

#block-views-congress-news-block-news-photos .views-field-field-featured-image { margin-bottom: 1em; }

#block-views-congress-news-block-news-photos h3 a { color: #333; }

#block-views-congress-news-block-news-photos h3 a:hover { color: #ab0000; }

#block-views-congress-news-block-news-photos .views-field-created, #block-views-congress-news-block-news-photos .views-field-field-congress-article-type { text-transform: uppercase; }

#block-views-congress-news-block-latest-news .views-field-body, #block-views-congress-news-block-news-photos .views-field-body { margin-top: 0px; }

/************************************************************
  GOOGLE TRANSLATE
************************************************************/

#block-boxes-google-translate { width: 220px; text-align: center; display: inline-block; padding: 10px 0; vertical-align: top; }

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

#block-boxes-cng-social-media-fa-small { padding: 10px 0; text-align: right; width: 240px; display: inline-block; }

#block-boxes-congress-fb-responsive, #block-block-1 { text-align: center; }

#block-boxes-cng-social-media-fa-small i.fa, #block-boxes-cng-social-media-fa-medium i.fa, #block-boxes-cng-social-media-fa-large i.fa {
  background: transparent;
  color: #00034e;
  font-size: 1.5em;
  margin-right: 10px;
  padding: 0 5px;
  text-align: right;
}

 #block-boxes-cng-social-media-fa-large {
  text-align: center;
  padding-bottom: 1.5em;
}

#block-boxes-congress-youtube-box .block-inner { display: block; vertical-align: middle; min-height: 650px; }

.block-congress-youtube-box .youtube-wrapper {
  padding-bottom: 55%;
  margin-top: 22.5%;
}

#block-boxes-new-twitter .content {
  max-height: 420px;
  padding: 0 5%;
  overflow-y: scroll;
}

#block-boxes-new-twitter { padding-bottom: 20px; }

/************************************************************
  ISSUES
************************************************************/

#block-views-congress-issues-block-default .col-1, #block-views-congress-issues-block-default .col-2, #block-views-congress-issues-block-default .col-3 { 
 	margin-bottom: 0;
 	padding: 2%;
	 width: 33%; 
} 

#block-views-congress-issues-block-default table td[class*="col-"], #block-views-congress-issues-block-default table th[class*="col-"] { 
  display: table-cell;
} 

#block-views-congress-issues-block-default h3.field-content a { font-size: 21px; color: #ab0000; font-weight: bold; text-transform: uppercase; }

#block-views-congress-issues-block-default h3.field-content a:hover { font-size: 21px; color: #25365c; }

/************************************************************
  FOOTER SLIDER
************************************************************/ 

.footer-slider {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  height: 280px;
  margin: 0 auto;
  padding: 0;
}
.footer-slider li {
  position: relative;
  background: none no-repeat center/cover;
  min-height: 100%;
  overflow: hidden;
  flex-grow: 1;
  transition: 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-slider li:hover {
  flex-grow: 5;
}
.footer-slider li:hover h1 {
  transform: rotateZ(0) translateY(0);
}
.footer-slider li:hover p {
  transform: translateY(calc((100% + 2rem) * -1)) rotateZ(0);
}
.footer-slider a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.footer-slider h1 {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  font-size: 2.6rem;
  background: transparent;
  padding: 5px;
  color: white;
  text-transform: uppercase;
  transform-origin: left top;
  transform: rotateZ(90deg) translateY(-1em);
  font-family: 'Montserrat';
  transition: 0.25s cubic-bezier(0.35, 0, 0, 1);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.55);
}
.footer-slider p {
  position: absolute;
  top: 100%;
  right: 1rem;
  left: 1rem;
  padding: 1rem;
  font: 14px/1.5 'Open Sans','Century Gothic',sans-serif;
  transform-origin: left top;
  transform: translateY(0) rotateZ(90deg);
  transition: 0.5s cubic-bezier(0.35, 0, 0, 1);
  width: 25em;
  color: rgba(255, 255, 255, 1);
  background: rgba(0, 3, 78, 0.9);
  line-height: 1.5;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
} 
 
@media all and (max-width: 980px) {
  .footer-slider {
     height: 40vh;
  }
}

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

#congress_district_map {
  padding-bottom: 25% !important;
}

#block-views-congress-offices-of-noslide .views-row {
  margin: 0 5px 0;
  text-align: center;
  vertical-align: top;
  width: 23%;
}

#block-views-congress-offices-of-noslide .office-info { font-size: 1.1em; }

#block-views-congress-offices-of-noslide h3, #block-views-congress-offices-of-noslide h3 a {
  font-size: 1.2em;
}

#block-menu-menu-congress-footer-utility { text-align: center; padding: 1em; }

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

/***********************************************************
  ALERT BOX
***********************************************************/
 
#block-views-cng-alert-box-block-alert-box { margin: 0; padding: 0 0 0 20px; }

#block-views-cng-alert-box-block-alert-box .views-row { border: none; float: left; width: 75%; padding: 10px 0; }

#block-views-cng-alert-box-block-alert-box { background: transparent; }

#block-views-cng-alert-box-block-alert-box h2.block-title { background: none; color: #fff; float: left; text-align: left; font-size: 1.2em; margin: 10px 0 0; padding: 0; width: 25%; }

#block-views-cng-alert-box-block-alert-box a {}

#block-views-cng-alert-box-block-alert-box .block-inner { margin: 0 auto; }

