/************************************************************
  GENERAL
************************************************************/
#region-preface-first {
  float: left;
  width: 46%;
  margin: 0px;
  padding: 0px 3% 0px 0px;
}
#region-preface-first .region-inner {
  padding-left: 10px;
}
#region-preface-second {
  border-left: 1px solid #ddd;
  margin: 0px;
  float: right;
  width: 47%;
  padding: 0px 0px 0px 3%;
}
#region-preface-second .region-inner {
  padding-right: 10px;
}

/************************************************************
 SUPERFISH MAIN MENU NONMOBILE
************************************************************/
/* THE TOPS */
#block-menu-block-congress-main-menu-superfish {
  text-align: center;
}
.sf-menu {
  display: inline-block;
  margin-bottom: -4px;
}

.sf-menu li {
  display: inline;
  width: auto;
	padding: 0;
}
.sf-menu  li.first{
	border-left:none;
}
.sf-menu a {
  padding: .7em .35em;
}

/* THE DROPS */
#block-menu-block-congress-main-menu-superfish ul.menu li {
  margin: 0;
}
.sf-menu ul { /* Dropdown background*/
  width: 249px;
  background: #fff;
  background: rgba(255, 255, 2255, 0.95);
}

.sf-menu li .leaf{
	background: none repeat scroll 0 0 transparent;
	border-left:none;
	padding: 0;
	display: block;
	*display: none; /* IE7 and below does not display drops */
  line-height: 1.3em;
}
.sf-menu li .leaf a{
  padding: 10px;
  text-transform: none;
  font-size: 15px;
}
.sf-menu li.last.leaf.no-leaf {
	padding-bottom: 0;
	background: none transparent;
}

/************************************************************
FLEXSLIDERS ALL CAROUSELS AND ROTATOR
************************************************************/

.flex-control-nav {
	display: block;
  bottom: 0;
}

/************************************************************
HOMEPAGE ROTATOR
************************************************************/
#region-header-first {
  margin-bottom: 1px;
}
.view-congress-hprotator .views-field-field-congress-featured-media {
  width: 50%;
  max-width: 800px !important;
  height: auto;
  background: none repeat scroll 0 0 transparent;
  float: left;
}
.hprotator-text-block {
  width: 46%; /* shows in all browsers */
	*width: 45%; /* notice the * before the property - shows in IE7 and below */
	padding: 2%;
	float:right;
}

/************************************************************
HOMEPAGE MULTI ITEM CAROUSEL
************************************************************/

#hp-multi-carousel-wide .flex-control-nav {
	display: block;
}


/************************************************************
BLOCKS AND BOXES
************************************************************/

/* ALERT BOX */
.block-cng-alert-box-block-alert-box {
background: url("../images/bg-alertbox.png") no-repeat scroll left center #EEE;
padding: 0.75em 0.75em 0.75em 200px;
}
.block-cng-alert-box-block-alert-box a{
padding: 0 1.5em;
}
.block-cng-alert-box-block-alert-box h2 {
    font-size: 0;
    text-indent: -9999px;
}
/****HOMEPAGE ALERT****/
.front .block-views-cng-alert-box-block-alert-box{
clear: both;
padding: 0;
margin-bottom: 0;
padding: 1px 0 0 0;
}
.front .block-cng-alert-box-block-alert-box .views-row{
padding: 0;
}
.front .block-views-cng-alert-box-block-alert-box span.field-content{
display: block;
}

.front .block-cng-alert-box-block-alert-box .content .views-field-title a{
margin: 10px 20px 50px 0;
float: left;
}

/* VOTES */
th.vote-date, td.vote-date {
	display: table-cell;
}

.front #block-boxes-social-media-large {
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

#block-boxes-google-translate {
  float: right;
  margin-left: 15px;
}

/************************************************************
OFFICE FOOTER LOCATIONS NONMOBILE
************************************************************/

#block-views-congress-offices-footer-offices {
  padding-top: 30px;
}
.block-congress-offices-footer-offices .footer-office-location-tabs {
  padding: 0;
  width: 55%;
	float: left; /* contains office name control tabs */
}
.block-congress-offices-footer-offices .attachment .view-content {
  padding: 0;
  width: 100%;
  float: left; /* makes the control tabs work CAUTION */
}
.block-congress-offices-footer-offices .view-content {
  padding: 0;
  width: 40%;
  float: left; /* contains office info and image */
}
.block-congress-offices-footer-offices .office-info {
  padding: 1%;
  width: 98%;
  float: left; /* contains office info */
}
.block-congress-offices-footer-offices .field-content img{
  width: 200px;
  float: left; /* contains image */
  display: block;
  margin: 1%;
}
.block-congress-offices-footer-offices .tab.flex-active:before {
  content:none;
}

/************************************************************
OFFICE FOOTER LOCATIONS --NOSLIDE-- NONMOBILE
************************************************************/

#block-views-congress-offices-of-noslide .views-row {
    display: inline-block;
    vertical-align: text-top;
    font-size: 0.8em;
    padding: 0 1%;
    width: 14%; /* width and padding set for 6 offices - change for less offices as needed */
}

/************************************************************
BLOCKS
************************************************************/
#block-menu-menu-congress-action-center {
  padding: 0px;
  margin: 0px;
  text-align: center;
}

.block-menu-congress-action-center .content ul li{
  float: left;
  display: block;
  border-right: 1px solid #ddd;
  margin: 0px;
  padding: 1.5em 1em;
}

.front #block-boxes-congress-newsletter-signup form {
  clear: left;
}

#block-views-congress-press-releases-block-1 .views-field-field-press-image {
  display: block;
}

#block-views-congress-press-releases-block-1 .views-field-title {
  min-height: 65px;
}
#block-views-congress-press-releases-block-1 .views-field-view-node {
  display: block;
  margin-bottom: 7px;
}

#block-views-congress-press-releases-block-1 .views-field-view-node a {
  border: 1px solid #006B94;
  color: #046E97;
  background: #F8F8F8;
  width: 70px;
  text-align: center;
  padding: 3px;
  margin-top: 14px;
  -webkit-transition: background 310ms ease;
  transition: all 310;
  box-shadow: 0 1px 1px #EEE;
  text-decoration: none;
  font-size: 13px;
}
#block-views-congress-press-releases-block-1 .views-field-view-node a:hover {
  background: #fff;
}

/************************************************************
QUICKTABS NON MOBILE
************************************************************/

ul.quicktabs-tabs {
  margin-bottom: 0;
  padding: 2em 0em;
}
ul.quicktabs-tabs li, ul.quicktabs-tabs li a {
  display: inline;
}

#block-quicktabs-home-page-tabs {
  padding: 0px;
}

/************************************************************
SOCIAL MEDIA BLOCK AND WIDGETS
************************************************************/
/* FACEBOOK */

/***********************************************************
ENEWS POP UP - NEW
***********************************************************/
.popup-text {
  background: none repeat scroll 0 0 transparent;
  float: left;
  padding: 6% 6% 2%;
  text-align: left;
  width: 60%;
}
.popup-form {
	background-color: rgb(255,255,255)/*The Fallback*/;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px 5px 5px 5px;
  float: right;
  margin: 2%;
  padding: 3%;
  width: 70%;
  -moz-box-shadow: 0 0 10px 1px  #8F8A85;
  -webkit-box-shadow: 0 0 10px 1px  #8F8A85;
    box-shadow: 0 0 10px 1px #8F8A85;
	}
.popup-signup {
  border-bottom: 1px solid #CCC;
}
.popup-connect {
  border-bottom: 1px solid #CCC;
  padding-bottom: 20px;
}
.popup-skip, .popup-skip h3 {
  display: none;
}
.block.block-congress-enews-popup, .block.block-house-enews-popup {
  background: none repeat scroll 0 0 transparent;
	filter: none;
  border: medium none;
  margin-bottom: 0;
  padding: 0;
	width: 100%;
	display: block;
	color: #333;
}
.block-congress-enews-popup h2.block-title {
  display:none;
  font-size:0;
}

#boxes-box-congress_enews_popup h2, #boxes-box-congress_enews_popup h2 a {
  font-weight: normal;
	display: block;
	color: #333;
}
#boxes-box-congress_enews_popup .content label {
  font-size: 1.30em;
  font-weight: normal;
}
#house_enews_popup {
  margin: 0;
}
#house_enews_popup input#signup-email {
width: 100%;
}
#house_enews_popup .form-submit {
  background: none repeat scroll 0 0 #A09D9D;
  border: 1px solid #666666;
  border-radius: 3px 3px 3px 3px;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  height: 30px;
  margin: 10px 5px 0;
  padding: 0 0.5em;
  text-shadow: none;
}

/***********************************************************
ENEWS POP UP - COOPTED FROM MODULE
***********************************************************/

/****SPLASH*****/

#boxes-box-congress_enews_popup {
  background:  url("/sites/adamsmith.house.gov/files/smith-survey-popup.jpg") no-repeat scroll center top #FFFFFF;
  background-size: cover;
border: 15px solid #FFFFFF;
  box-shadow: 0 0 20px 5px #222222;
  -moz-box-shadow: 0 0 20px 5px #222222;
  -webkit-box-shadow: 0 0 20px 5px #222222;
  color: #333333;
  display: none;
  font-weight: normal;
  left: 40%;
  line-height: 1.5em;
  margin: 0 0 0 -225px;
  max-width: 625px;
  padding: 0;
  position: fixed;
  top: 20%;
  width: 100%;
  z-index: 10000;
}
#close-enews-popup {
  background: #426b9e;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 35px;
  color: #FFF;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  height: 35px;   width: 35px;
  line-height: 35px;
  position: absolute;
  right: -30px;   top: -30px;
  text-align: center;
}
#html-greyed-out {
                background: rgb(0, 0, 0) /* the Fallback */;
                background: rgba(0, 0, 0, .5);
  *background: none; /*  shows in IE7 and below */
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

#boxes-box-congress_enews_popup a#popup-survey-title{
width: 215px;
margin-right: 20px;
padding: 17px 1.1em;
margin: 0px 20px 0 0;
display: block;
color: #fff;
font-family: 'Roboto Slab', Georgia, serif;
text-shadow: 0 1px 0 #7A2F2F;
background: url("/sites/adamsmith.house.gov/files/survey-arrow.png") left center no-repeat;
font-size: 24px;
}
#boxes-box-congress_enews_popup #popup-survey-body p{
width: 287px;
color: #414141;
text-shadow: 0 -1px 0 #FFF;
font-size: 14px;
font-weight: 700;
font-family: 'Roboto Slab', Georgia, serif;
padding: 10px 12px;
margin-bottom: 5px;
}

#boxes-box-congress_enews_popup a#popup-survey-golink{
border-bottom: 1px solid #284161;
margin-left: 10px;
width: auto;
text-shadow: 0 1px 0 #284161;
color: #fff;
background: #426b9e;
padding: 5px 10px;
font-family: 'Roboto Slab', Georgia, serif;
margin-bottom: 0px;
display: block;
width: 130px;
}


/***********************************************************
 THUMB ROTATOR
***********************************************************/
.pane-congress-hprotator-panel-pane-thumbs .flex-direction-nav {
    display: none;
}
/*slider*/
.pane-congress-hprotator-panel-pane-thumbs .slider {
	width: 65%;
	float: left;
}
.pane-congress-hprotator-panel-pane-thumbs .view-congress-hprotator .views-field-field-congress-featured-media {
	width: 100%;
	max-width: 800px !important;
	height: auto;
	background: none repeat scroll 0 0 transparent;
	float: left;
}
.pane-congress-hprotator-panel-pane-thumbs .hprotator-text-block {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
	color: #FFF;
    bottom: 0;
    float: none;
    padding: 2%;
    position: absolute;
	height: 110px;
    width: 96%;
	*width: 95%; /* notice the * before the property - shows in IE7 and below */
}
.pane-congress-hprotator-panel-pane-thumbs .hprotator-text-block a:link,
.pane-congress-hprotator-panel-pane-thumbs .hprotator-text-block a:visited {
	color: #FFF;
}
/*slidenav*/
.pane-congress-hprotator-panel-pane-thumbs .slidenav {
	width: 35%;
	float: left;
}
.pane-congress-hprotator-panel-pane-thumbs .view-congress-hprotator .slidenav .views-field-field-congress-featured-media {
    float: left;
    padding: 1.85%;
    width: 30%;
}
.slidenav h3 {
    display: inline;
    float: left;
    font-size: 15px;
    padding: 3% 0;
    width: 50%;
}
.flexslider .slidenav ul.slides {
    width: 100% !important;
}
.pane-congress-hprotator-panel-pane-thumbs .slidenav li {
    background: none repeat scroll 0 0 #EEEEEE;
    border-bottom: 1px solid #CCCCCC;
    display: block !important;
    float: left !important;
    width: 100% !important;
}
.pane-congress-hprotator-panel-pane-thumbs .slidenav li:hover,
.pane-congress-hprotator-panel-pane-thumbs .slidenav li.flex-active-slide {
	background: none repeat scroll 0 0 #FFF;
}
.pane-congress-hprotator-panel-pane-thumbs .slidenav li:hover {
	cursor: pointer;
}

/** FOOTER UTILITY **/
.block-menu-congress-footer-utility .content a{
  font-size: 16px;
}

/** GOOGLE TRANSLATE **/
#block-boxes-google-translate .trans {
  width: 470px;
}
#block-boxes-google-translate .trans li {
  font-size: 15px;
  padding: 8px;
}

/** TRANSLATION PAGES **/
.multilingual #zone-menu, .multilingual #zone-user, .multilingual #zone-header,
.multilingual #zone-content, .multilingual #zone-preface, .multilingual #zone-footer,
.multilingual #zone-footer-bottom {
    width: 1100px;
}
.multilingual .region-inner{
    width: 80%;
    margin: 0 auto;
}

.multilingual .region-menu .boxes-box-content ul li{
    float: left;
}
.multilingual #region-header-first .odd img{
    float: left;
    padding: 0 100px 0 10px;
}
.multilingual #section-content .contact-section{
    width: 65%;
    float: left;
}
.multilingual #section-content .contact-aside{
   width: 32%;
    float: right;
}