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

/*** SEARCH ***/

#zone-user-wrapper {
    display: none;
    background: #114577 none repeat scroll 0 0;
    position: relative;
    top: 0;
    z-index: 6;
    padding: 10px;
}

#zone-user-wrapper.fixed{
	position:relative;
}

#block-boxes-header-social-media, #block-search-form {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    float: left;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 50%;
}

#block-search-form #edit-search-block-form--2 {
    min-width: 70%;
} 

#block-boxes-header-social-media a {
    color: #3d6d9b;
    margin: 0 .5%;
}

/*** 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: inline;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

#region-branding {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  #region-branding img { max-width: 100%; 
  }
}

#block-boxes-search-icon {
    background: none;
    margin: 10px auto 0 auto;
    padding: 0;
    height: auto;
    display: flex;
    justify-content: center;
}

#region-menu {
    margin: 0 0 20px 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    float: right;
}

#region-user-second {
    float: none;
    width: 100%;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.sf-menu ul {
    background: #114577 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;
  left: 0;
  position: absolute;
  top: -9%;
}

/* @media screen and (-webkit-min-device-pixel-ratio:0) {
    #region-preface-second {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: center;
    position: absolute;
    top: 5%;
}
}*/

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  #region-preface-second {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: center;
    position: absolute;
    top: 0;
  } 
} 

/* #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: 20em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 14em;
}*/

@media screen and (-webkit-min-device-pixel-ratio:0) {

/*#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: 20em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 14em;
}*/
}

/*** ROTATOR BUTTONS ***/

#block-views-congress-hprotator-rotator{
	margin:0;
}

#region-preface-first {
  height: 300px;
}

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

/*** 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: #0062a0;
    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 ***/

#boxes-box-social_media_icons_fontawesome a {
    margin: 0 0;
    text-align: center;
    vertical-align: middle;
}

/*** BIOGRAPHY ***/

#bio_text {
    width: 100%;
    float: left;
    font-size: 1.4em;
    line-height: 1.6em;
    word-wrap: inherit;
    margin: 20px 0 0 0;
    color: #114577;
}

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

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

