@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:24%;
} 
}

@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:30%;
}
}

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


#zone-user-wrapper {
    display: none;
    background: #114577 none repeat scroll 0 0;
    position: relative;
}

/*** BRANDING ***/

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

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #zone-branding {
    display: flex; 
    justify-content: flex-start;
    align-items: center;
  }
}

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

#region-menu {
    margin: 0 auto;
    width: auto;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    float: none;
    transition: width ease-in-out .5s;
}

#block-menu-block-congress-main-menu-superfish {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    display: block;
    width: auto;
    float: left;
}

#block-boxes-search-icon {
    background: none;
    margin: 0 5px;
    padding: 0;
    height: auto;
    width: auto;
    float: left;
}

.sf-menu ul {
    background: #114577 none repeat scroll 0 0;
    border-radius: 0 20px 20px 20px;
    margin-top: -6px;
}

.sf-menu a {
    font-size: 0.9em;
    font-weight: bold;
    padding: 1em; 
}

.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: 12px 10px;
}

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

#region-user-second {
    float: right;
    width: auto;
    bottom: 0;
    right: 0;
}

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

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

@media screen and (-webkit-min-device-pixel-ratio:0) {
    #boxes-box-rotator_logo {
    align-items: center;
    background: rgba(0, 0, 0, 0) url(../images/rotator_logo.png) no-repeat scroll center center / 100% auto;
    display: flex;
    height: 28em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 43em;
}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
    #boxes-box-rotator_logo {
    align-items: center;
    background: rgba(0, 0, 0, 0) url("../images/rotator_logo.png") no-repeat scroll center center / 100% auto;
    display: flex;
    height: 22em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 400px;

}  
}

/*** ROTATOR BUTTONS ***/

#region-preface-third {
    align-items: center;
    display: flex;
    justify-content: center; 
    margin: 0 auto;
    overflow: hidden;
    padding: 1em 0;
    position: absolute;
    top: 75%;
    width: 100%;
    z-index: 5;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   #region-preface-third {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 0;
    margin: 0 auto;
    overflow: hidden;
    position: absolute;
    top: 75%;
    width: 100%;
    z-index: 5;
}
}

#region-preface-third .region-inner {
    width: 960px;
    display: flex;
    justify-content: center;
    align-items: center;
}

 @media screen and (-webkit-min-device-pixel-ratio:0) {
    #region-preface-third {
    align-items: center;
    display: flex;
    justify-content: center; 
    margin: 0 auto;
    overflow: hidden;
    position: absolute;
    top: 71%;
    width: 100%;
    z-index: 5;
}
}

/*  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  #region-preface-third {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 30px;
    margin: 0 auto;
    overflow: hidden;
    position: absolute;
    top: 70%;
    width: 95%;
    z-index: 5;
}  
}  */

#boxes-box-buttons {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

#boxes-box-buttons .boxes-box-content {
    width: 100%;
}

.button-container a {
  background:  none;
  float: left;
  margin: 0 11% 0 0;
  padding: 20px;
  text-align: center;
  width: 250px;
  color: #114577;
	 text-decoration:none;
	 font-weight:bold;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
		.button-container a {
			background: none;
			float: left;
			margin: 0 11% 0 0;
			padding: 20px;
			text-align: center;
			width: 297px;
			color: #114577;
			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;
}

 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  .button-container a.press::after {
    content: '\f1ea';
    font-family: FontAwesome;
    font-weight:normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 15px;
} 
}

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

 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  .button-container a.letters::after {
    content: '\f15c';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 15px;
}
}

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

 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  .button-container a.hearings::after {
    content: '\f0e3';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 15px;
}
}

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

 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  .button-container a.bullhorn::after {
    content: '\f0a1';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 15px;
}
}
*/

.press {
    border: medium none;
    border-radius: 0;
    float: left;
    font-size: 14px;
    text-align: center;
    width: auto;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  .press { width: 33%; 
}

.icon {
    float: right;
    margin: 0;
    width: auto;
}

.buttons {
    width: 100%;
}

.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: auto;
    float: left;
}

/*** FRAUD ***/

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

/*** INVESTIGATIONS ***/

#block-views-oversight-investigations-block .view-oversight-investigations .views-row {
    width: 33.33%;
    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: 50%;
    left: 28%;
    color: #fff !important;
    text-align: center;
    float: left;
    top: 60%;
}

.investigation-title:hover{
    position: absolute;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4% 0;
    z-index: 1;
    background: #ae060b;
    width: 50%;
    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: 45%;
    float: left;
    font-size: 1.4em;
    line-height: 1.6em;
    word-wrap: inherit;
    margin: 20px 0 0px 30px;
    color: #114577;
}

#bio_img {
    position: relative;
    right: 0;
    z-index: -1;
    width: 51%;
    float: right;
    margin: 0;
    padding: 0;
    top: 0px;
}

/*** FOOTER ***/

#region-footer-first, #region-footer-second, #region-footer-third, #region-footer-fourth {
    width: 33%;
    float: left;
    margin: 20px auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: baseline;
    border-bottom: none;
    padding: 10px 0px;
}

#region-footer-second {
  border-bottom: none;
  border-right: 1px solid #444;
	 border-left: 1px solid #444;
}


#block-boxes-oversightdems-office h2 {
    font-size: 18px;
    text-align: center;
}

/*** FOOTER UTILITY ***/

#zone-footer-bottom {
    width: 100%;
}

#region-footer-bottom {
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#block-menu-menu-congress-footer-utility .menu li a {
    font-size: 1em;
}

.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: 27em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 42em;
}