/*test */

.not-front table td[class*="col-"], .not-front table th[class*="col-"] {
  width: 50%;
}

.page-legislation table td[class*="col-"], .not-front table th[class*="col-"] {
  position: static;
  float: none !important;
  display: table-cell;
  vertical-align: top;
  text-align: left;
  width: 50%;
}

.mean-container .mean-nav ul li a {
  display: block;
  float: left;
  width: 90%;
  padding: 1em 5%;
  margin: 0;
  text-align: left;
  color: #fff;
  border-top: 1px solid #383838;
  border-top: 1px solid rgba(255,255,255,.5);
  text-decoration: none;
  text-transform: capitalize;
  font-family: 'Open Sans';
}

.pane-congress-subcomittee-membership-panel-pane-1.ranking-member .col-1 , .context-members .panel-col-last .pane-congress-subcomittee-membership-panel-pane-1 .col-1 { width: 100%; }

.pane-congress-subcomittee-membership-panel-pane-1.ranking-member h2.pane-title, .pane-congress-subcomittee-membership-panel-pane-1 h2.pane-title { font-size: 24px; }

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .not-front #region-header-first{
	width:100%;
	position:absolute;
	z-index:2;
	left:0;
	top:35%;
} 
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   #block-boxes-header-photo{
	width:100%;
}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .not-front #region-header-first .block p img{
	max-width:40%;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .not-front #region-header-first .block p{
		position:absolute;
		display:flex;
		justify-content:center;
		top:0;
		left:0;
	}
}

#region-preface-third {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  top: 71%;
  width: 80%;
  z-index: 5;
}

/*** SEARCH ***/

#zone-user-wrapper {
   
    background: #0b2265 none repeat scroll 0 0;
    position: relative;
    top: 0;
    /*z-index: -1;*/
    padding: 0;
}

#zone-user-wrapper.fixed{
	position:relative;
}

#block-search-form {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  float: right;
  margin: -22px 24px -23px 0;
  padding: 0;
  text-align: center;
  width: 50%;
  border: none;
}


#edit-submit {
  background: #0b2265 none repeat scroll 0 0;
  border: medium none; 
  color: #ffffff;
  font-size: 1.5em;
  padding: 5px 10px 5px 10px;
  text-shadow: none;
  border-radius: 10px;
  vertical-align: middle;
  margin-bottom: 6px;
}


#zone-latest-news {
  margin: 0 auto;
}



#block-boxes-header-social-media a {
    color: #0b2265;
    margin: 0 .5%;
}

/*

/* AMK CHANGES

.section {
  width: 600px;
  margin: 0 auto;
  max-width: 600px;
}


#zone-branding-wrapper {
  margin: 5px 0 0;
  position: relative;
  z-index: 6;
  max-width: 600px;
}

#zone-branding {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

#region-branding {
  width: auto;
  flex: 33%;
  float: left;
  margin: 0 auto;
  padding: 0;
}

#region-menu {
  margin: 0 auto;
  padding: 0;
  width: auto;
  max-width: 600px;
}

#region-preface-second {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 100%;
    z-index: 10;
    background: red;
    max-width: 600px;
}

#block-boxes-fontawesome-medium {
  float: right !important;
  background: none !important;
  width: 100%;
}

#boxes-box-fontawesome_medium {

}
 */

/* ORIGINAL */


/*** MENU ***/

.sf-menu a, .sf-menu a:link, .sf-menu a:visited {
    border-bottom: medium none;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 10px 5px;
}

/*** BRANDING ***/

#zone-branding-wrapper {
    margin: 5px 0 0;
    position: relative;
    z-index: 6;
}

#zone-branding-wrapper.fixed{
	position:relative;
	z-index:11;
	background:#fff;
	margin:0 0 0 0;
}

#zone-branding {
  display: flex;
  width: 100%;
}

#region-branding {
    width: auto;
    flex: 40%;
    float: left;
    margin: 0 0 0 -30px;
    padding: 0;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  #region-branding img { max-width: 100%; 
  }
}

#block-search-form::before {
    background: #fff;
    position: absolute;
    display: block;
    content: "";
    top: -8px;
    right: 16px;
    width: 14px;
    height: 14px;
}

#block-search-form {
    background: #fff;
    float: right;
    margin: -10px 20px -23px 0;
    padding: 10px 10px 0px 10px;
    text-align: center;
    width: 240px;
    border: none;
	border-radius: 10px;
} 

#region-menu {
    margin: 0;
    width: auto;
    transition: width ease-in-out .5s;
    flex: 48%;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 40%;
}

#region-user-second {
    float: none;
    width: 100%;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.sf-menu ul {
    background: #0b2265 none repeat scroll 0 0;
    border-radius: 0 20px 20px 20px;
    margin-top: -10px;
}

.sf-menu a {
    font-size: 1em;
    font-weight: bold;
    padding: 0.6em; 
}

#block-boxes-search-icon a {
    border-radius: 200px;
    height: 50px;
    margin: 0;
    padding: 10px;
    text-align: center;
    width: 50px;
}

/*** ROTATOR ***/
/*

#region-preface-second {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: center;
    position: relative;
    top: 5%;
    background: #ae060b;
    margin-top: 7px;
    margin-left: auto;
    width:  100%;
}
/*** ROTATOR BUTTONS ***/

#block-views-congress-hprotator-rotator{
	margin:0;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  #region-preface-first { height: 600px; }
}

#region-preface-third {
  margin: 0 auto;
  padding: 0;
  text-align: center;
  width: 100%;
  z-index: 5;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  #region-preface-third { top: 50%; height: auto; }
  .button-container a {
    font-size: 4px;
  }
}

#boxes-box-buttons .boxes-box-content {
  width: 100%;
}

.button-container a {
  background:  none;
  color: #0b2265;
  display: block;
  float: none;
  margin: 0 auto;
  padding: 20px;
  place-content: center;
  text-align: center;
  width: 100%;
 	text-decoration:none;
 	font-weight:bold;
}
/*
.button-container a.press::after {
    content: '\f1ea';
    font-family: FontAwesome;
    font-weight:normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 1.5em;
}

.button-container a.letters::after {
    content: '\f15c';
    font-family: FontAwesome;
    font-weight:normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 1.5em;
}

.button-container a.hearings::after {
    content: '\f0e3';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 1.5em;
}

.button-container a.bullhorn::after {
    content: '\f0a1';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 1.5em;
}
*/
.press {
  border: medium none;
  border-radius: 0;
  float: left;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

.buttons {
  width: 100%;
}

.icon {
  float: left;
  margin: -30px 0 0 200px;
  width: auto;
}

.button-container a:hover {
  background: none;
	 color:#ae060b;
}

.button-container a:hover > .icon {
 	border-left:10px solid #ae060b;
}

#block-boxes-buttons .button-container.align-center {
  margin: 0 auto;
  text-align: center;
  display: flex;
  width: 100%;
  float: left;
}

#boxes-box-cornavirus_updates a {
  background: #ae060b none repeat scroll 0 0;
  color: #ffffff;
  font-size: 14px !important;
  letter-spacing: normal;
  font-weight: 800;
  font-family: "open sans";
  font-weight: bold;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  text-transform: none;
  width: 55%;
}

/*** FRAUDD ***/

#block-boxes-report-fraud .button-container a {
  background: #ae060b none repeat scroll 0 0;
  color: #ffffff;
  display: flex;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  width: auto;
  justify-content: center;
  align-items: center;
	 text-decoration:none;
	 font-weight:bold;
}

/*** INVESTIGATIONS ***/

#block-views-oversight-investigations-block .view-oversight-investigations .views-row {
  width: 50%;
  float: left;
  padding: 0;
  margin: 0;
  height: auto;
}

.views-field.views-field-nothing {
  position: relative;
}

.investigation-title {
    position: absolute;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4% 0;
    z-index: 1;
    background: #0b2265;
    width: 65%;
    left: 28%;
    color: #fff !important;
    text-align: center;
    float: left;
    top: 60%;
}

.investigation-title {
    position: absolute;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4% 0;
    z-index: 1;
    background: #ae060b;
    width: 65%;
    left: 28%;
    color: #fff !important;
    text-align: center;
    float: left;
    top: 60%;
}

/*** SOCIAL MEDIA SECTION ***/

#block-boxes-fontawesome-medium {
    float: right !important;
    background: none !important;
    font-size: .7em;
    margin-right: 0;
}

#boxes-box-fontawesome_medium a {
  color: #fff;
  font-size: 8px;
  margin-right: 5px;
  padding: 5px 5px 5px 5px;
  border-radius: 25%;
  width: 35px;
  height: 35px;
  text-align: center;
  background-color: #0b2265;
}
/*** BIOGRAPHY ***/

#bio_text {
    width: 100%;
    float: left;
    font-size: 1.4em;
    line-height: 1.6em;
    word-wrap: inherit;
    margin: 20px 0 0 0;
    color: #0b2265;
}

#bio_img {
    position: relative;
    right: 0;
    z-index: -1;
    width: 450px;
    float: none;
    margin: 0 auto;
    padding: 0;
    top: 0;
    text-align: center;
}

/*** FOOTER ***/

#region-footer-first, #region-footer-second, #region-footer-third, #region-footer-fourth {
    width: 100%;
    float: left;
    margin: 10px auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
} 

#region-footer-first, #region-footer-second{
    border-bottom: 1px solid #444;
    border-right: none;
}

#block-boxes-oversightdems-office h2 {
    color: #fff;
    font-size: 18px;
    text-align: center;
}

#boxes-box-facebook_post ._5pcb._5tmf._50f3 {
    width: 100% !important;
}

/*** FOOTER UTILITY ***/

#block-menu-menu-congress-footer-utility .menu li a{
    font-size:11px;
}

.not-front table td[class*="col-"], .not-front table th[class*="col-"] {
    position: static;
    float: left !important;
    display: table-cell;
    width: 100%;
}



#boxes-box-rotator_logo {
    align-items: center;
    background: rgba(0,0,0,0) url(/sites/democrats.oversight.house.gov/themes/oversight_dems/images/rotator_logo.png) no-repeat scroll center center / 100% auto;
    display: flex;
    height: 33em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 40em;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  #boxes-box-rotator_logo { height: 20em; }  
}

#zone-footer-bottom-wrapper {
  background: #000;
}

#region-footer-bottom #boxes-box-social_media_icons_fontawesome a {
  color: #0b2265;
  font-size: 8px !important;
  margin-right: 5px;
  padding: 5px 5px 5px 5px;
  border-radius: 25%;
  width: 35px;
  height: 35px;
  text-align: center;
  background: #ffff;
  display: inline-block;
}

#zone-footer-bottom {
  background: #000;
}