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

body { 
	 background: #fff;
  color: #777;
	 font: 16px/1.5 sans-serif;
	 font-weight: 300; 
	 transition: all 0.2s ease 0s; } 

.admin-menu body { 
	 background: #fff; }

/************************************************************
  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
************************************************************/ 

.col-md-12 { padding-left: 0px; padding-right: 0px; }

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

.front #zone-preface, .front #region-preface-first, .front #zone-postscript, .front #region-postscript-first { margin: 0 auto; width: 100%; }

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

#section-header {
  background: linear-gradient( #f6f6f6, #ffffff);
}

#section-content { min-height: 600px; }

#zone-menu-wrapper.fixed { position: relative; }

#zone-search-wrapper { background: rgba(0, 0, 0, 0.7); padding: 10px; display: none; position: relative; width: 100%; }

#section-footer { background: #DBDBDB; }

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

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

.pane-content .container { width: auto; }

/************************************************************
  BREADCRUMB
************************************************************/

.breadcrumb-wrapper {
  border-bottom: none;
}

#breadcrumb {
  background: transparent;
  border: 0; 
  margin: .5em 1em 0;
  padding: 0;
}

/************************************************************
  AMERICA WITHOUT FAITH
************************************************************/ 

.context-americawithoutfaith h1#page-title, .context-americawithoutfaith .pane-node-body, .context-americawithoutfaith .region-sidebar-first { margin-left: auto; margin-right: auto; width: 1200px; } 

.context-americawithoutfaith #zone-branding-wrapper { position: relative; z-index: 999; }

.context-americawithoutfaith #breadcrumb { margin: 0 auto; width: 1200px; display: block; float: none; padding: 0 15px; }

.context-americawithoutfaith #section-header { background: transparent; }

.context-americawithoutfaith img#logo { display: none; }

.context-americawithoutfaith .branding-data { visibility: visible; }

.context-americawithoutfaith #zone-branding-wrapper div.logo-img a::after { 
  content: url(../images/logo-RSC.png); width: 65%; margin-left: 0; }
  
.context-americawithoutfaith #zone-branding-wrapper.fixed div.logo-img a::after { content: url(../images/logo-RSC-red.png); }

.context-americawithoutfaith {
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
}

#block-boxes-america-faith h2.block-title {
  font-weight: 700;
  font-size: 90px;
  letter-spacing: -2px;
  line-height: 90px;
  color: #fff;
  margin: 80px auto 120px;
  padding-left: 0;
  text-align: left;
  text-shadow: 1px 1px 1px #323232;
  text-transform: none;
}

.context-americawithoutfaith .views-row { border-bottom: none; margin-bottom: 30px; }

.context-americawithoutfaith .view-congress-listing-page-page-listing .views-row img {
  float: none;
  width: 100%;
}

.context-americawithoutfaith .views-field-title h3.field-content {
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
}

.context-americawithoutfaith .views-field-field-featured-image {
  background-attachment: fixed;
  background-size: 100% auto;
  margin-bottom: 40px;
}

.context-americawithoutfaith .pane-node-field-featured-image img {
  height: 50%; }

.context-americawithoutfaith #region-sidebar-first { width: 100% !important; }

.context-americawithoutfaith #block-views-congress-related-related, .context-americawithoutfaith #block-menu-block-congress-section-menu { margin-left: auto; margin-right: auto; width: auto; padding: 1em 0 .5em; }


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

#zone-branding-wrapper.fixed {
  background: #fff;
  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-right: 0;
  max-width: auto;
  width: 80%; 
} 

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

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

#region-menu { padding-top: 1em; }

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

.admin-menu #zone-branding-wrapper.fixed #region-menu { }

#region-user-first { padding: 1.4em 0 0 0; }

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

.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: 5em;
}

/************************************************************
  TWITTER
************************************************************/ 

#region-preface-second {
  display: flex;
  flex-direction: column;
  margin: 2%;
  padding: 0;
  position: absolute;
  right: 0;
  z-index: 2;
  overflow: hidden;
  height: 90%; 
}

#region-preface-second {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  padding: 0;
}

#block-boxes-congress-committee-twitter {}

/************************************************************
  CONTENT
************************************************************/ 

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

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

#block-menu-block-congress-section-menu h2.block-title { color: #999; padding: 20px 8px 0; }

/************************************************************
  NEWSLETTER WRAPPER
************************************************************/

#block-boxes-fontawesome-medium { text-align: center; }
  
#block-boxes-fontawesome-medium i.fa { color: #333; font-size: 1em; margin-right: 3px; }

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

#block-search-form { background: #fff;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
  border: 1px solid #ddd; 
  position: absolute;
  width: 300px;
  left: -140px;
  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-right-style: solid;
    border-bottom-style: solid;
  border-width: 1px;
    border-right-width: 1px;
    border-bottom-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; }

#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: 42px; 
  line-height: 42px;
	 margin-bottom: 0px;
  padding: 0 0 0 14px; 
}

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

h3 { font-size: 32px; }

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

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

#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: 5px; 
  border-top: 5px solid #003A5D;
  min-width: 250px;
  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: 2.9em;
	 left: auto;
}

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

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

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

.sf-menu a { 
	 background: transparent;
  font-family: sans-serif;
	 font-size: 15px;
	 font-weight: bold;
	 text-decoration: none !important;
	 text-transform: Uppercase;
	 padding: 1.2em 0.7em;
	 width: auto;
}

.sf-menu .expanded a:after { 
  font-family: FontAwesome;
  content: "\f0dd";
  margin-left: 3px;
  padding-right: 1em;
  position: absolute;
  top: 15px;
}

.sf-menu .expanded ul a:after { 
  content: "";
}

.sf-menu .expanded a {
  padding: 1.2em 1.5em 1.2em 0.7em;
}

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

.sf-menu a.active, .sf-menu a.active-trail { /* active state */
	 background: #003A5D;
  border-radius: 5px;
  color: #fff;
}

.sf-menu li .menu .leaf a { 
  background: #fff;
  border-bottom: 1px dotted #e9e9e9;
  color: #777;
  font-family: 'Open Sans', sans-serif;
	 font-size: 14px;
	 padding: 0.8em 1em;  
}

.sf-menu li .menu .leaf a:first-child:hover { 
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.sf-menu li .menu .leaf a:last-child:hover { 
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

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

.sf-menu li.sfHover {
 	background: #003A5D; 
  border-radius: 5px;
 	color: #fff;
	 text-decoration: none;
}

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

.sf-menu li.sfHover a {
  background: #003A5D;
  border-radius: 5px;
  color: #fff;
}

.sf-menu  ul.menu li.leaf a {
  border-bottom: 1px dotted #ddd;
	 font-weight: normal;
	 text-transform: capitalize !important;
}/* No longer used */

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

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

.sf-menu ul.menu li.leaf a:hover, .admin-menu #zone-branding-wrapper.fixed .sf-menu li .leaf a:hover {
  /* Fallback for web browsers that don't support RGBa */
  background: #f4f4f4; 
  color: #777;
}

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

#block-boxes-fontawesome-medium i.fa { background: #fff; color: #333; display: inline-block; font-size: 14px; margin-right: 2px; border-radius: 30px; height: 30px; padding-top: 7px; width: 30px; box-shadow: 1px 1px 8px rgba(0,0,0,.3); }

#block-boxes-fontawesome-medium { padding: 5px; }

/************************************************************
  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; }

.view-congress-hprotator .views-field-field-congress-featured-media {
  float: none;
  width: 100%;
}

.hprotator-text-block { background: transparent; bottom: 0; right: 0; margin: 0 auto; position: absolute;
	 padding: 2%; 
	 text-align: left; transition: all 0.2s ease 0s;
	 width: 100%; }

.hprotator-text-block h2 {
	 color: #fff;
	 font-family: sans-serif;
	 font-weight: 700;
	 font-size: 60px;
 	line-height: 1em;
	 margin: 10px 10px .75em;
  width: 100%;
}

.hprotator-text-block h2 a {
	 font-size: 60px;
}

.hprotator-text-block h2 a {
	 color: #fff;
  text-shadow: 1px 1px 1px #323232;
}

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

.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;*/
}

#hp_top_read_more a {
  font-size: 18px;
}

.view-congress-hprotator .flex-control-nav { 
  background: transparent;
  display: block;
  bottom: 10%;
  left: 51px;
  margin-top: 0;
  width: 240px;
  position: absolute;
}

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

#zone-content-title-wrapper { background: #D5292F; }

#block-boxes-latest-news-title h2.block-title { 
  color: #fff;
  font-size: 2.6em;
  line-height: 44px;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}

#block-views-congress-news-block-latest-news .views-row {
  background: #F4F4F4;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  float: none;
  margin: 10px 0;
  padding: 0;
  vertical-align: text-top;
}

#block-views-congress-news-block-latest-news .views-field-created { display: inline-block; padding: 15px 0 15px 15px; color: #23527c; font-weight: bold; width: 20%; vertical-align: top; }

#block-views-congress-news-block-latest-news .views-field-title { display: inline-block; padding: 15px; width: 75%; }

#block-views-congress-news-block-latest-news .views-field-body { background: #fff; display: none; padding: 15px; width: 100%; }


#block-views-congress-news-block-latest-news .views-row:first-child .views-field-body { display: inline-block; padding: 15px; width: 100%; }

.context-news .views-field-created, .context-news .views-field-title { display: inline; }

.context-news .views-field-created { color: #23527c; font-weight: bold; }

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

#block-views-congress-offices-of-noslide .views-row {
  border-right: 1%;
  width: 24%;
}

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

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