/*******************************
E&C DEMS
*******************************/

body { 
	background: #fff; 
	color: #333;
	font: 16px/1.5 'Oswald', sans-serif;
	font-weight: 300;
	line-height: 26px;
	/* GLOBAL/MOBILE BACKGROUND IS WHITE. CHANGE THIS IN ALL THEMES*/ }
	
#logo { 
	background: transparent; padding: 15px; }

a:link, a:visited {
    color: #01326d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.views-row {
    border-bottom: none;
    padding: 0.5em 0;
}

/******************************
REGION CHANGES
******************************/ 

#zone-menu { 
	background: #0e550e; } 
	
#region-preface-second { background: #fff; }

#zone-mobile-menu, #zone-branding { background: #388537; }

#zone-preface { background: #fff; }

.not-front #zone-preface { background: #fff; border: none; padding: none; }

#region-homepage-content-first { margin-top: 10px; margin-bottom: 10px; }

#zone-footer { background: #237420; }

#zone-footer-bottom { background: #113a10; }

.not-front #region-content {
    background: #ddd none repeat scroll 0 0;
}

.not-front #zone-content {
    background: #ddd none repeat scroll 0 0;
}

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

.block, .block-views {
    margin-bottom: 0;
    padding: 0em;
}

.content { padding: 1em; }

.front #zone-content .content { padding: 0; }

.front #zone-content { border: none; }

.block, .block-views, .flexslider {
    background: transparent;
}

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

h1, .h1, h2, .h2, h3, .h3 {
    margin-bottom: 10px;
    margin-top: 10px;
}

h2.block-title { background: #093909; color: #fff; font-family: "Oswald", sans-serif; margin-top: 0px; padding: 0.4em 0.6em; text-align: left; }

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

h2.block-title a.active-trail { background: transparent; }

h2 { font-size: 24px; }

#breadcrumb {
	margin-bottom: 0;
    padding-left: 1em;
}

ul.pager { background: #eee; padding: 5px 0; }

.pager li.pager-current {
    background: #093909 none repeat scroll 0 0;
	color: #fff;
}

.block-congress-site-map {
    padding: 0em;
}

#block-menu-block-congress-section-menu { background: #ccc; margin-top: 15px; }

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

#region-menu { margin: 10px; }

#block-menu-block-congress-main-menu-superfish .content { padding: 0; } 

.sf-menu a { 
	color: #fff; 
	font-size: 16px;
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	text-decoration: none !important;
	text-transform: capitalize;
	padding: 10px;
}

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

.sf-menu a.active, .sf-menu a.active-trail { /* active state */
	background: #041d04;
	color: #eccc3e; 
}

.sf-menu a:focus, .sf-menu a:hover, .sf-menu li.sfHover {
	background: #041d04;
	color: #eccc3e; 
	text-decoration: none;
}

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

#block-search-form .content { padding: 0; text-align: center; }

#block-search-form {
    background: none repeat scroll 0 0 transparent;
	border: medium none;
	filter: none;
    border-radius: 4px;
	border: none;
    padding: 0;
	box-shadow: none;
	-webkit-box-shadow: none;
	margin-left: 0px;  
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
	width: 100%;
}

#search-block-form {
	background: #fff;
	border: none;
	box-shadow: inset 0px 0px 10px 0px #333;
	-webkit-box-shadow: inset 0px 0px 10px 0px #333;
	-moz-box-shadow: inset 0px 0px 10px 0px #333;
	-o-box-shadow: inset 0px 0px 10px 0px #333;
    height: 36px;
}

#search-block-form .form-item input { 
    background: none repeat scroll 0 0;
	filter: none;
    border: medium none;
	box-shadow: none;
	color: #666; 
	font-style: italic; 
	font-family: Georgia; 
	padding: 10px;
	width: 208px;
}

#search-block-form .form-actions input {
    margin-right: 0;
    background: none repeat scroll 0 0 transparent;
	filter: none;
    border: medium none;
	height: 40px;
}

input[type="search"], #search-block-form input[type="submit"] {
    background: url(../images/button_submit_glass.png) no-repeat scroll 0 0 transparent;
    border: 0 none;
    border-radius: 0 0 0 0;
	height: 36px;
	margin-left: 2px;
    padding: 0px;
    text-indent: -9999px;
	width: 40px;
}

#search-block-form .container-inline div {
    float: left; 
	margin: 0;
}

#search-block-form #edit-actions {
    float: right;
}

/******************************
ROTATOR
******************************/

#block-panels-mini-congress-home-page-rotator .content { padding: 10px; margin-bottom: 50px; }

#mini-panel-congress_home_page_rotator .content { padding: 0; }

.view-congress-hprotator {
    background: none repeat scroll 0 0 transparent;
}

#block-views-congress-hprotator-rotator .block, #block-views-congress-hprotator-rotator .block-views {
	margin: 0 !important; 
	padding: 0px 0px 20px 0px;
}

#block-views-congress-hprotator-rotator .flexslider {
	border: 0px;
	box-shadow: none;
	margin: 0px; 
}
 
.hprotator-text-block {
	background: url(../images/background_textblock.png) repeat scroll 0 0 #000;
	height: 55%;
    width: 100%;
	float: none;
	display: block;
	color: #fff;
	padding: 15px;
	position: absolute;
	text-align: left;
	top: 65%;
}

/* text block */
.hprotator-text-block {
	text-align: center;
	float: none;
}

.hprotator-text-block h2 {
	color: #e9ca3e !important;
	font-family: "Oswald", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height:  18px;
	margin: 0 0 5px 0;
	text-align: left;
}

.hprotator-text-block h2 a {
	color: #e9ca3e !important;
	font-weight: 300;
	line-height: 18px;
}

.panel-display .field-name-body {
    padding-top: 0px;
}

.hprotator-text-block .field-name-body {
	color: #fff;
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	font-weight: 300;
	line-height: 14px; 
	margin: 0;	
	text-align: left;
}

.view-congress-hprotator .flex-control-nav {
	margin: 3px; 
	width: 95%;
}

/***** read more *****/
#hp_top_read_more, .field-read-more {
	margin: 15px; }

.hprotator-text-block .field-name-body a, #hp_top_read_more a, .field-read-more a { 
	color: #93bee6; 
	font-family: "Oswald", sans-serif;  
	font-size: 12px; 
	text-decoration: none;
	text-transform: Capitalize; 
} 

.flex-control-paging li a {
    background: #fff;
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3) inset;
    cursor: pointer;
    display: block;
    height: 15px;
    text-indent: -9999px;
    width: 15px;
} 

.flex-control-paging li a.flex-active, .flex-control-paging li a:hover {
    background: none repeat scroll 0 0 rgba(233, 202, 62, 1);
	box-shadow: none;
    cursor: default;
}

.view-congress-hprotator .flex-control-nav {
    bottom: -30px; }

.flex-direction-nav a { color: #ccc; line-height: 1.42857;  }

/******************************
QUICK TABS
******************************/

#block-quicktabs-congress-committee-home-page .content { padding: 0; }

#block-quicktabs-congress-committee-home-page ul.quicktabs-tabs { margin-bottom: 0; }

#block-quicktabs-congress-committee-home-page ul.quicktabs-tabs li { display: inline-block; }

#block-quicktabs-congress-committee-home-page ul.quicktabs-tabs li.first { background: #00aced; padding: 0em; text-align: center; width: 50%; }

#block-quicktabs-congress-committee-home-page ul.quicktabs-tabs li.last { background: #3b5998; padding: 0em; text-align: center; width: 50%; }

#block-quicktabs-congress-committee-home-page ul.quicktabs-tabs li a { background: transparent; color: #fff; font-size: 1.5em; } 	

#block-quicktabs-congress-committee-home-page .quicktabs-tabpage { padding: 1em; }

/************************************************************
 Social Media
************************************************************/

#block-widgets-s-cng-medium-profile { margin-bottom: 0px; margin-top: 15px; padding: 0.5em; text-align: center; }

#block-widgets-s-cng-medium-profile .content { padding: 0; }
 
#block-widgets-s-cng-medium-profile div.widgets-element-horizontal {
	display: inline-block;
    float: none;
}

#block-widgets-s-cng-medium-profile a {
    margin: 0 2px;
}

/************************************************************
  Social Icons Footer | Small icons 
************************************************************/

/*Email**/
#block-widgets-s-cng-medium-profile #widgets-element-widgets_custom-markup {
background: transparent url('../images/icons/icon-mail.png') 50% 50% no-repeat;
}
#block-widgets-s-cng-medium-profile #widgets-element-widgets_custom-markup a { float: left; width: 40px; height: 40px; }
#block-widgets-s-cng-medium-profile #widgets-element-widgets_custom-markup a img { display: none; }

/*Facebook*/
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-facebook-profile-button {
background: transparent url('../images/icons/icon-facebook.png') 50% 50% no-repeat;
}
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-facebook-profile-button a { float: left; width: 40px; height: 40px; }
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-facebook-profile-button a img { display: none; }

/*Twitter*/
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-twitter-profile-button {
background: transparent url('../images/icons/icon-twitter.png') 50% 50% no-repeat;
}
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-twitter-profile-button a { float: left; width: 40px; height: 40px; }
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-twitter-profile-button a img { display: none; }

/*YouTube*/
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-youtube-profile-button {
background: transparent url('../images/icons/icon-youtube.png') 50% 50% no-repeat;
}
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-youtube-profile-button a { float: left; width: 40px; height: 40px; }
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-youtube-profile-button a img { display: none; }

/*Instagram*/
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-instagram-profile-button {
background: transparent url('../images/icons/icon-instagram.png') 50% 50% no-repeat;
}
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-instagram-profile-button a { float: left; width: 40px; height: 40px; }
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-instagram-profile-button a img { display: none; }

/*RSS*/
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-rss-feed-button {
background: transparent url('../images/icons/icon-rss.png') 50% 50% no-repeat;
}
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-rss-feed-button a { float: left; width: 40px; height: 40px; }
#block-widgets-s-cng-medium-profile #widgets-element-socialmedia_socialmedia-rss-feed-button a img { display: none; }
 
/******************************
FOOTER
******************************/

.menu-block-congress_site_map > ul > li > a { color: #fff; }

.menu-block-congress_site_map > ul > li > a.active { color: #f2c93d; }

/******************************
SPECIFIC
******************************/

#block-boxes-energycommercedems-facebook { text-align: center; }

#block-boxes-energycommercedems- { text-align: center; }

#block-boxes-energycommercedems-office, #block-menu-menu-congress-footer-utility a { color: #fff; font-size: 0.9em; }

#block-boxes-energycommercedems-office .content { padding: 1.2em; }

#block-boxes-energycommercedems-office img { max-width: 100%; padding: 0 0 15px 0; }

#block-boxes-energycommercedems-office p { line-height: 17px; }

#block-widgets-s-cng-medium-profile { margin-bottom: 0; }

#boxes-box-energycommercedems_ .subcomm-icons { float: left; font-size: 1em; height: 190px; width: 50%; }

#boxes-box-energycommercedems_ .subcomm-icons img { margin-bottom: 5px; }

#block-menu-menu-congress-footer-utility { line-height: 1em; }

#block-menu-menu-congress-footer-utility ul.menu li {
    margin: 0;
    padding: 0 0.4em 0 0.3em;
    border-right: 1px solid #fff;
}

#block-menu-menu-congress-footer-utility ul.menu li.last {
	padding: 0 0 0 0.3em;
	border-right: none; 
}

#block-boxes-energycommercedems-rankingmember { background: transparent url(../images/chairman.jpg) top center no-repeat; min-height: 200px; margin-bottom: 10px; }

#block-boxes-energycommercedems-rankingmember h2 { 
	/* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 0, 0.5);
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
	position: absolute;
	top: 155px; 
	margin-bottom: 0;
	width: 100%; 
}

#block-boxes-energycommercedems-activity h2 { 
	/* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 0);
    /* RGBa with 0.6 opacity */
    background-color: rgba(0, 0, 0, 0.5);
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
	position: absolute;
	bottom: 0; 
	margin-bottom: 0;
	width: 100%; 
}

#block-boxes-energycommercedems-activity { background: transparent url(../images/activity.jpg) top center no-repeat; min-height: 200px; }


#block-boxes-button-selectpaneldems-energy .content{
	padding: 0;
}

.block p img {
    max-width: 100%;
    padding: 0;
}
