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

body { 
	 background: #fff;
  border-top: 2px solid #004065;
  color: #333;
	 font: 16px/1.5 'Open Sans', sans-serif;
	 font-weight: 500; 
	 transition: all 0.2s ease 0s; } 

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

#zone-menu-wrapper .logo-img { 
  filter: none;
} 

/************************************************************
  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, #block-menu-block-congress-main-menu-superfish {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
}

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

#zone-menu { width: 100%; } 

#region-branding { width: 45%; }

#region-menu { width: 50%; } 

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

.front #region-preface-first { float: left; width: 55%; margin: 0; }

.front #region-preface-second { float: left; width: 45%; margin: 0; }

#region-preface-second { margin: 0 auto; text-align: center; }

#section-header { background: transparent; z-index: 999; top: 0; border-top: 2px solid #fff; }

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

#section-content { margin-top: 150px; }

.not-front #section-content { margin-top: 180px; min-height: 600px; }

#section-footer { background: #164c76; padding: 15px 0; }

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

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

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

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

#zone-menu-wrapper .logo-img { 
	 transition: all 0.2s ease 0s;
}

#zone-menu-wrapper.fixed .logo-img { 
  width: 70%; 
  filter: none; 
  text-align: center;
  transition: all 0.2s ease 0s;
  float: none;
  margin: 0 auto;
}


#zone-menu-wrapper { position: fixed; 
  box-shadow: none;
  top: 2px;
  z-index: 999; 
}

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

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

#zone-menu-wrapper.fixed #region-user-first {
  padding: 30px 0 0 0;
} 

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

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

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

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

/************************************************************
 CHAIRS
************************************************************/

#block-views-congress-members-block-chairs img, .view-congress-members img { border-radius: 50%; max-width: 80%; }

#block-views-congress-members-block-chairs .view-content {}

#block-views-congress-members-block-chairs .views-row, .view-congress-members .views-row { border-bottom: none; display: inline-block; text-align: center; vertical-align: top; width: 32%; }

#block-views-congress-members-block-chairs .views-field-title a, .view-congress-members .views-field-title a { display: block; padding: 4px; font-size: .5em; color: #666; text-transform: uppercase; }

.page-members .panel-panel .views-row { width: 50%; }

.page-members .panel-panel .view-content {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.page-members .panel-panel .views-row {
  flex: 1 0 21%;
}

.page-members .panel-panel .views-row-1 {
  flex: 1 0 21%;
}

.page-members .panel-panel .views-row-2 {
  flex: 1 0 21%;
}

.page-members .panel-panel .views-row-3 {
  flex: 1 0 21%;
} 


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

#block-boxes-cng-social-media-fa-small, #block-boxes-cng-social-media-fa-medium, #block-boxes-cng-social-media-fa-large {
  text-align: right;
}

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

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


#block-boxes-cng-social-media-fa-small i.fa { color: #ddd; font-size: 1.5em; }

#block-boxes-cng-social-media-fa-medium i.fa { color: #1A355E; font-size: 1.5em; }

#block-boxes-cng-social-media-fa-large i.fa { color: #000; font-size: 1.5em; }

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

#block-search-form { background: #fff;
  padding: 10px;
  border-radius: 0;
  border: 1px solid #ddd; 
  position: absolute;
  width: 300px;
  box-shadow: 2px 2px 3px rgba(102,102,102,0.1);
  right: -7px;
  top: 75px;
  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 #1A355E; padding-left: 12px; }

#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 {
  color: #1A355E;
  padding: 0 16px;
	 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: left;
  justify-content: flex-start;
  margin-bottom: 0; 
  padding: 30px 0;
  text-transform: uppercase;
  width: 100%;
  z-index: 11;
}

#block-menu-block-congress-main-menu-superfish ul.main-menu { text-align: center; }

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

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

.sf-menu ul {
  background: rgba(255,255,255,1);
  box-shadow: 1px 1px 8px rgba(0,0,0,.5);
  border-radius: 0; 
  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: 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;
}

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

.sf-menu a { 
	 background: transparent;
  border-right: 1px solid #e4e4e4; 
  font-family: 'Open Sans', sans-serif;
	 font-size: 18px;
	 font-weight: 700;
	 text-decoration: none;
	 text-transform: Uppercase;
  margin-top: 0;
	 padding: 20px 12px;
	 width: auto;
}

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

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

.not-front .sf-menu a, .not-front #block-boxes-cng-social-media-fa-medium a i.fa { color: #1A355E; }

.sf-menu a.active, .sf-menu a.active-trail, #zone-menu-wrapper.fixed .sf-menu a .sf-menu a.active-trail { /* active state */
	 background: transparent;
  color: #1A355E;
}

.sf-menu li .menu .leaf a { 
  border-bottom: none;
  border: none;
  color: #1A355E;
  font-family: 'Open Sans', sans-serif;
	 font-size: 16px;
  margin-top: 0;
	 padding: 1em 1em;
  text-decoration: none;
}

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

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

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

.sf-menu li.sfHover a {
  background: transparent;
  color: #e00d14; 
}

.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 {
  /* Fallback for web browsers that don't support RGBa */
  background: #1A355E; 
  color: #fff;
}


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

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

/************************************************************
  LEADERSHIP AND MEMBERSHIP BUTTONS
************************************************************/ 

#block-block-9 { padding: 25% 0 10% 0; }

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

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

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

#region-preface-first.grid-24 { margin-left: 10px; margin-right: 10px; transition: all 0.2s ease 0s; }

.front #zone-preface, .front #region-preface-first {}

#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: 0; }

.view-congress-hprotator .views-field-field-congress-featured-media {
    background: #000 none repeat scroll 0 0;
    height: auto;
    width: 100%;
}

.hprotator-text-block { 
  background: transparent; 
  top: 20px; 
  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: #226599;
	 font-family: 'Open Sans', sans-serif;
	 font-size: 42px;
	 font-weight: 700;
 	line-height: 42px;
	 margin: 20px 10px;
}

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

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

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

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

.view-congress-hprotator .flex-control-nav { 
  background: transparent;
  display: block;
  bottom: 20px;
  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: 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;
}

/************************************************************
  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, #block-views-congress-news-block-news-photos .views-row {
  border: 0;
  display: inline-block;
  margin: 0;
  padding: 1% 1% 0;
  vertical-align: text-top;
  width: 48%;
}

#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.2em;
  font-weight: bold;
  margin-top: 0.5em;
  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: #cb203c; }

#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: 10px; }

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

#block-boxes-contact-caucus-box img { float: left; max-width: 160px; }

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

#block-menu-menu-congress-footer-utility ul.menu { font-size: 1em; text-align: right; }

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

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

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

#block-views-cng-alert-box-block-alert-box h2.block-title { background: none; float: left; font-size: 1.2em; padding: 0 0 0 45px; width: 18%; }

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

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