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

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

.admin-menu body { 
	 background: #fff; }
  
.logo-img a img { display: block; }

.logo-img a { height: auto; background: 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: #002E57;
  background: #336285;
  margin-bottom: 0;
  padding: 0;
}

#zone-menu, #region-menu {}

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

#region-preface-first, #region-preface-second { float: left; }

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

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

#section-header {
  background: #fff;
  background: rgba(11,35,67,0.9);
  position: relative;
  z-index: 999; 
  transition: all 0.5s ease 0.5s;
  margin-top: 0;
}

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

#section-footer { 
background: #428ee3; 
background: #233955; 
background: #0B2343;
}

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

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

}

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

#zone-menu-wrapper #home-logo { display: none; opacity: 0; transition: all 0.5s ease 1s; }

#zone-menu-wrapper.fixed #home-logo { display: block; opacity: 1; transform: matrix(1, 0, 0, 1, 0, 0); transition: all 0.5s ease 1s; }

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

#zone-menu-wrapper.fixed .sf-menu a { 
	 padding: 1.8em 0.6em;
  padding-right: 0.6em;
  font-size: 17px;
}

#zone-menu-wrapper.fixed .sf-menu li .menu .leaf a { 
	 padding: 1em;  
}

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

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

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

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

/************************************************************
  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: 1px solid #ddd; 
  position: absolute;
  width: 300px;
  left: 25px;
  box-shadow: 2px 2px 3px rgba(102,102,102,0.1);
  top: 100px;
  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; 
}

.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: 28px; 
  line-height: 1.4;
	 margin-bottom: 0px;
  padding: 20px 0 0 20px; 
}

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

h3 { font-size: 20px; }

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

#block-menu-block-congress-main-menu-superfish { background: transparent; margin-bottom: 0; padding: 0 1em; text-align: center; }

#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: 3.6em;
	 left: auto;
}

#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-bottom: 1px dashed #ccc;
}

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

.sf-menu a { 
	 background: transparent;
  font-family: 'Montserrat', Helvetica, Arial, 'sans-serif';
	 font-size: 17px;
	 font-weight: bold;
	 text-decoration: none !important;
	 text-transform: Uppercase;
	 padding: 1.2em 1.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: #fff;
}

.sf-menu li .menu .leaf a.active { 
	background: #002E57; color: #FFF; 
}

.sf-menu li .menu .leaf a { 
  border-bottom: none;
  color: #336285;
  font-family: 'Montserrat', 'Helvetica', sans-serif;
	 font-size: 16px;
	 padding: 1em;  
}

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

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

.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: #1a3151;
 	color: #fff;
	 text-decoration: none;
}

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

.sf-menu li.sfHover a {
  background: #1a3151;
  color: #fff;
}

.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, .admin-menu #zone-branding-wrapper.fixed .sf-menu li .leaf a:hover {
  /* Fallback for web browsers that don't support RGBa */
  background: #428ee3; 
  color: #FFF;
}

/************************************************************
  SUBCOMMITTEE MENU
************************************************************/ 

#block-menu-menu-frontpage-subcommittee-menu { padding: 1em; }

#block-menu-menu-frontpage-subcommittee-menu ul.menu {
  display: flex;
  margin: 1em auto;
  padding: 0;
  flex-wrap: wrap;
  max-width: 1200px;
}

li.sub_menu a:link, li.sub_menu a:visited  {
  border-bottom: medium none;
  color: #fff;
  text-decoration: none;
 	transition: all 0.3s ease-in-out;
}

li.sub_menu {
    width: 16.65% !important;
}

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

#block-boxes-cng-social-media-fa-large { margin-top: 0; padding: 1.9em 0; }

#block-boxes-cng-social-media-fa-large i.fa { color: #fff; }

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

#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 { margin: 0 auto; width: auto; }

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

.hprotator-text-block { background: rgba(0, 0, 0, 0.6); bottom: 0; right: 0; margin: 0 auto; position: absolute;
	 padding: 10px 20px 10px; 
	 text-align: left; transition: all 0.2s ease 0s;
	 width: 60%; }

.hprotator-text-block h2 {
	 color: #fff;
	 font-family: 'Montserrat', 'Helvetica', sans-serif;
	 font-size: 32px;
	 font-weight: 500;
  line-height: 1.2;
	 margin: 10px 10px 0;
}

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

.hprotator-text-block h2 a:hover {
  /* color: #D1C72D; */
}

.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: 14px;
  letter-spacing: 2px;
}

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

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


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