/*test */

@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;
 	}
}

#block-search-form::before {
    background: #fff;
    position: absolute;
    display: block;
    content: "";
    top: -8px;
    right: 15px;
    width: 14px;
    height: 14px;
}

#block-search-form {
    background: #fff;
    float: right;
    margin: -8px 22px -23px 0;
    padding: 10px 10px 0 0;
    text-align: center;
    width: 50%;
    border: none;
    border-radius: 10px;
}
  
  #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;
  }
  

/* Customer Specific Font  */

@font-face {
    font-family: 'Spartan';
    src: url("../fonts/Spartan.otf") format('opentype');
  font-weight: normal;
    font-style: normal;
  }
  

  #boxes-box-cornavirus_updates {

    width: 100%;
    background: none;
  
}

#boxes-box-cornavirus_updates a {
        color: #fff;
    font-size: 14px !important;
    letter-spacing: normal;
    font-weight: 800;  
text-align: center;
text-transform: none;
text-decoration: none;
width: 100%;
}


#zone-branding {

    display: flex;
    justify-content: space-between;
    width: 100%;

}

.logo-img {
    width: 100%;
}


/* ALERT BANNER */

/*
#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%;
}
/*
#block-views-cng-alert-box-block-alert-box {
    width: 100%;
    box-shadow: inset 0px 0px 60px 0px rgba(0,0,0,0.75);
    background: #ae060b;
}*/

#boxes-box-cornavirus_updates a {
    background: #ae060b none repeat scroll 0 0;
color: #ffffff;
float: left;
    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;
}

#zone-user-wrapper {
    
    background: #0b2265 none repeat scroll 0 0;
    position: relative;
    top: 0;
    /*z-index: -1;*/
   
}
/*** BRANDING ***/


/* AMK CHANGES */

h3, .h3 {
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Open Sans';
    letter-spacing: normal;
}
  
#region-branding {
    width: auto;
    flex: 15%;
    margin: 0 0 0 -55px;
}

#region-menu {
    margin: 0 auto;
    padding: 0;
    width: auto;
    flex: 34%;
    float: right;
    text-align: right;
} 
 

#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: #0b2265 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;
}


/*** ROTATOR ***/



@media screen and (-webkit-min-device-pixel-ratio:0) {
    #region-preface-second {
        align-items: center;
        display: flex;
        height: auto;
        justify-content: center;
        position: relative;
        top: 5%;
        width: 100%;
    }
}

 @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: relative;
        top: 5%;
        width: 100%;
    }

}



@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: relative;
    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: #0b2265;
	 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: #0b2265;
			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;
}

#zone-preface-wrapper {
    margin: 0 auto;
    position: relative;
    width: 100%;
    overflow: hidden;
}

#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: #0b2265;
}

#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;
}

#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;
  }