/*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: 75%;
}
}

@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: 22px;
    width: 14px;
    height: 14px;
}

#block-search-form {
    background: #fff;
    float: right;
    margin: -10px 23px -23px 0;
    padding: 10px 12px 0 0;
    text-align: center;
    width: 50%;
    border: none;
    border-radius: 10px;
    box-shadow: 2px 2px 15px rgba(102,102,102,0.2);
	right: -20px;
}

#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;
}

/* AMK CHANGES */

#block-views-congress-news-block-latest-news {
  text-align: center;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.section {
  width: 1200px;
  margin: 0 auto;
  max-width: 1200px;
}

#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;
}

/*
#boxes-box-cornavirus_updates a {
  color: #fff;
  font-size: 32px !important;
  letter-spacing: 3px;
  font-weight: 800;
}
*/
#zone-branding-wrapper {
  margin: 5px 0 0;
  position: relative;
  z-index: 20;
  max-width: 1200px;
  width: 1200px;
}

#zone-preface-wrapper {
  margin: 0 auto;
  position: relative;
  width: 100%;
  overflow: hidden;
}

#zone-branding {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

#region-branding {
  width: auto;
  flex: 15%;
  margin: 0 0 0 -89px;
}
#block-views-congress-hprotator-rotator {
  padding: 0;
  max-width: 1200px;
  width: 1200px;
}

/*
#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%;
}*/

#zone-branding-wrapper.fixed {
  background: #ffffff none repeat scroll 0 0;
  margin: 0px 0 0 0;
  position: fixed;
  z-index: 11;
  border-bottom: 3px solid #114577;
  width: 100%;
}
#region-menu {
  margin: 3px -15px 0 0;
  width: auto;
  transition: width ease-in-out .5s;
  flex: 17%;
}
h5, .h5 {
  font-size: 18px;
  font-family: 'Open Sans';
  line-height: 26px;
}

#block-menu-block-congress-main-menu-superfish {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  display: flex;
  width: 1200px;
  max-width: 1200px;
  float: left; 
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.sf-menu ul { width: 20em; }

.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 15px;
}
 
/*#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: 50em;
}*/


/*@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: 29em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 50em;
}
}*/

/*** ROTATOR BUTTONS ***/

#region-preface-third {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 0%;
    margin: 0 auto;
    padding: 2em 0;
    overflow: hidden;
    position: absolute;
    top: 75%;
    width: 100%;
    z-index: 5;
}

#region-preface-third .region-inner {
    width: 1400px;
    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;
    left: 0;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    top: 78%;
    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%;
    height: 150px;
    width: 100%;
    z-index: 5;
  }

  .button-container a {
    font-size: 1.5px;
  }
  
  .flexslider .slides img {
    width: 100%;
    display: block;
}


  .button-container i.fa { display: block; width: 100%; margin-left: -10px; }
  
  .button-container span { display: block; text-align: center; width: 100%; }
  
  .button-container span.button-text { font-size: 18px; }
  
  i.fa-newspaper::before { content: '\f1ea';
    display: block;
    font-family: FontAwesome;
    font-weight:normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 1em;
    text-align: center;
    width: 100%;
  }

  i.fa-file-alt::before { content: '\f15c';
    display: block;
    font-family: FontAwesome;
    font-weight:normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 1em;
    text-align: center;
    width: 100%;   
  }
 
  i.fa-gavel::before { content: '\f0e3';
    display: block;
    font-family: FontAwesome;
    font-weight:normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 1em; 
    text-align: center;
    width: 100%;    
  }
}  

#boxes-box-buttons {
  align-items: center;
  display: flex;
  justify-content: space-between;
  text-align: center;
  width: 100%;
}

#boxes-box-buttons .boxes-box-content {
  width: 100%;
}

.button-container a {
  background: none;
  float: none;
  margin: 0 0 0 0;
  padding: 0 10px;
  text-align: center;
  width: 100%;
  color: #0b2265;
	 text-decoration:none;
	 font-weight:bold;
}

#block-boxes-congress-committee-twitter h2, #block-boxes-facebook-post h2, #block-boxes-congress-committee-youtube h2 {
  color: #0b2265;
  font-size: 1.8em;
  margin-bottom: 20px;
  margin-top: 10px;
}

.press {
    border: medium none;
    border-radius: 0;
    float: left;
    font-size: 14px;
    text-align: center;
    width: 80%;
    margin: 0 10%;
}

.icon {
    float: right;
    margin: 0;
    width: auto;
}

.buttons {
    width: 33%;
    float: left;
}

.button-container a:hover {
  background: transparent;
	 color: #ae060b;
}

.button-container a:hover > .icon {
	border-left:10px solid #0b2265;
}

#block-boxes-buttons .button-container.align-center {
    margin: 0 auto;
    text-align: center;
    display: flex;
    width: auto;
    float: none;
}

/*** 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;
    border-radius: 0;
}

/*** INVESTIGATIONS ***/

#block-views-oversight-investigations-block .view-oversight-investigations .views-row {
    width: 33.33%;
    float: left;
    padding: 0;
    height: auto;
    margin: -1px 0 0 0;
}

.views-field.views-field-nothing {
    position: relative;
}

.investigation-title {
    position: absolute;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4% 2%;
    z-index: 1;
    background: #0b2265;
    width: 60%;
    left: 23%;
    color: #fff !important;
    text-align: center;
    float: left;
    top: 60%;
}

.color > .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%;
}

/*** AGENDA ***/

.button-container a.agenda::after {
    content: '\f18e';
    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.agenda::after {
    content: '\f18e';
    font-family: FontAwesome;
    font-weight:normal;
    font-style: normal;
    margin: -5px 0px 0px 10px;
    font-size: 15px;
}
}

/*** BIOGRAPHY ***/

#bio_text {
    width: 50%;
    float: left;
    font-size: 1.4em;
    line-height: 1.6em;
    word-wrap: inherit;
    margin: 40px 0 0 80px;
}

#bio_img {
    position: relative;
    right: 0;
    z-index: -1;
    width: 32%;
    float: right;
    margin: 0;
    padding: 0;
    top: 0;
}

/*** FOOTER ***/

#region-footer-first, #region-footer-second, #region-footer-third  {
    width: 33.33%;
    float: left;
    margin: 0 auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: baseline;
    border-bottom: none;
   	padding:10px 0;
}

#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-wrapper {
  background: #000 !important;
  max-height: 50px;
}

#zone-footer-bottom {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

#region-footer-bottom {
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

table {
  width: 100% !important;
}

.context-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%;
}

#zone-user-wrapper {
  background: #0b2265 none repeat scroll 0 0;
  /*z-index: -1;*/
 
}

#region-footer-bottom .region-inner {
    width: 100%;
    display: flex;
    justify-content: center;
}

#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: none !important;
  display: table-cell;
  vertical-align: top;
  text-align: left;
  width: 25% !important;
}*/

#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: 25em;
    justify-content: center;
    margin: auto;
    text-indent: -9999px;
    width: 50em;
}

.front #region-footer-bottom .block-boxes-simple h2 {
    display: none;
}

#region-footer-bottom {
  margin: 0 auto;
  display: flex;
  width: 100%;
  padding: 0;
  float: left;
}

#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;
}

ul.menu {
  border: none;
  list-style: none;
  text-align: left;
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.sf-menu ul { width: 20em; }
