
/************************************************************
COMMITTEE ON APPROPRIATIONS
************************************************************/ 

body { 
	 background: #fff;
	 color: #58585a;
	 font: 15px/1.6 "Roboto", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
	 font-weight: 300; 
	 transition: all 0.2s ease 0s; } 

#section-header { z-index: 900; }

.admin-menu #section-header { /*position: fixed; top: 29px; z-index: 900; */}

#zone-branding-wrapper { box-shadow: none; }

#zone-menu { margin: 0 auto; max-width: 1400px; width: 100%; 
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: flex;
  justify-content: space-between;
}



#region-menu { margin: 0; padding: 0; width: 60%; }

#region-branding { margin: 0; width: 25%; max-width: 360px; }

#region-user-first { margin: 0; width: 15%; }

#region-preface-first { margin: 0; }

#zone-events,
#zone-postscript,
#zone-twitter { margin: 0 auto; padding: 0; width: 100%; max-width: 1400px; }

#region-events-first { margin: 0; padding: 0; width: 100%; }

#zone-documents { display: flex; }

#region-documents-first { background: #253373; margin: 0; width: 33%; padding: 1% 5%; clip-path: polygon(0% 0%, 95% 0%, 100% 52%, 95% 100%, 0% 100%); }

#region-documents-second { margin: 0; padding: 0; width: 67%; }

#region-postscript-first { margin: 0; padding: 0; width: 100%; }

.logo-img { padding: 10px 10px 0; }

.logo-img img { max-height: 140px; }

.not-front .logo-img {
  height: auto;
  width: 100%;
  margin: 0 auto;
} 

/************************************************************
  NAVIGATION
************************************************************/

#zone-menu-wrapper { background: #fff; border: none; margin: 0; padding: 0; width: 100%; animation: showBar 1s; transition: top .3s ease-in-out; transform: translate3d(0, 0, 0); position: relative; z-index: 999; }

.not-front #zone-menu-wrapper { position: absolute; top: 0; }

.admin-menu.not-front #zone-menu-wrapper { position: fixed; top: 29px; }

#zone-menu-wrapper.fixed {
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position:fixed;
  z-index: 999; 
  top: 0px;
  animation: showBar 1s;
  transition: top .3s ease-in-out;
}

.admin-menu #zone-menu-wrapper.fixed {
  position:fixed;
  z-index: 999;
  top: 29px;
  animation: showBar 1s;
  transition: top .3s ease-in-out;
}

#zone-menu-wrapper.fixed .sf-menu li {
  vertical-align: middle;
}

@-webkit-keyframes showBar {
	from {
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes showBar {
	from {
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

/************************************************************
BLOCKS, BOXES and VIEWS
************************************************************/

h2.block-title { font-size: 36px; margin-top: 15px; }

.front h2.block-title {
    padding: 13px 50px 19px 45px;
}

#block-boxes-documents-title h2.block-title { font-size: 36px; }

/************************************************************
  SEARCH
************************************************************/ 

#block-search-form { background: #fff;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
  border: 1px solid #ddd; 
  position: absolute;
  width: 300px;
  left: auto;
  right: 110px;
  box-shadow: 2px 2px 3px rgba(102,102,102,0.1);
  top: 60px;
  line-height: 1.2em;
  z-index: 9999;
  display: none;
}

#block-search-form::before {
  background: #fff;
  position: absolute;
  display: block;
  content: "";
  top: -8px;
  right: 40px;
  width: 14px;
  height: 14px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  border-color: #ddd;
  border-style: solid;
  border-width: 1px;
  border-right: none;
  border-bottom: 0;
}

#search-block-form .form-item { width: 80%; }

#search-block-form .form-item input {
	 color: #666;
	 width: 100%;
  font-size: 1em;
  border-radius: 5px; 
}

.not-front #search-block-form .form-item input { 
	 margin-top: 0px;
}

.fa-search { display: inline-block; }

#search-block-form { text-align: right; }

#search-block-form input:focus { box-shadow: none; }

/************************************************************
 SUPERFISH MAIN MENU MOBILE & UNIVERSAL
************************************************************/

#block-menu-block-congress-main-menu-superfish {
  position: static;
  top: auto;
  left: auto;
  width: auto;
  box-shadow: none;
  padding: 0;
  z-index: 1;
  max-height: none;
  overflow: visible;
  opacity: 1;
  text-align: center;
  visibility: visible;
} 

.sf-menu ul {
  background: #58585a;
  box-shadow: none;
  border-radius: 0; 
  width: 240px; 
  border-top: 6px solid #58585a;
  border-bottom: 6px solid #58585a;
}

.sf-menu li.sfHover > ul, .sf-menu li:hover > ul {
  position: absolute;
	 top: 100%;
	 left: auto;
}

#zone-menu-wrapper.fixed .sf-menu li.sfHover > ul, #zone-menu-wrapper.fixed .sf-menu li:hover > ul { 
}

.sf-menu li {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin: 0; 
  float: none;
}

.sf-menu a {
  font-size: 16px;
  padding: 67px 12px 67px; 
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #58585a;
  font-weight: 600;
}

.sf-menu li .menu .leaf a { 
  border-bottom: none; 
	 font-size: 15px;
  font-weight: 300;
  margin-top: 0;
	 padding: 7px 15px;
  line-height: 1.2em;
  text-decoration: none;
} 

.sf-menu a, .sf-menu a:link, .sf-menu a:visited {
  border-bottom: medium none;
  color: #58585a;
}

.sf-menu a.active-trail {
  background: none;
}

.sf-menu a:focus, .sf-menu a:hover {
  background: #58585a;
 	color: #fff;
	 text-decoration: none;
}

.sf-menu li.sfHover, .sf-menu li.sfHover a {
 	background: #58585a;
 	color: #fff;
	 text-decoration: none;
}
 
.sf-menu li .menu .leaf a:hover {
 	background: #d8262f; 
 	color: #fff;
}

li.menu-mlid-842 { position: static; }

li.menu-mlid-842 ul.menu {
  background: #58585a; 
  position: fixed;
  top: 100%;
  left: 0;  
  min-width: 240px;
  text-align: left;
  vertical-align: top;
  display: flex;
  justify-content: center;
  align-content: space-around;
  align-items: flex-start;
  flex-flow: row;
  flex-wrap: wrap;
  padding: 1% 15%;
  width: 100%;  
}

li.menu-mlid-842 ul.menu li {  
  flex: 1 22%; 
  margin: 20px;
  padding-left: 20px;
}

.menu-mlid-842 ul li .first a, .menu-mlid-842 ul li .last a { border: none !important; }

.sf-menu ul.menu li a::before { 
  background-clip: padding-box;
  color: #fff;
  content: "\f101";
  font-family: 'FontAwesome';
  font-size: 0.9em;
  float: left;
  position: relative;
  display: block; 
  padding-right: 5px;
} 

/************************************************************
  TOP NEWS/LATEST NEWS VIEWS
************************************************************/ 

.front .view-congress-news .view-content, .view-top-news .view-content { display: flex; flex-wrap: wrap; }

.front .view-congress-press-releases .views-row, .front .view-congress-news .views-row, .view-top-news .views-row {
  flex: 1 0 33.3%; 
  padding: 20px;  
  border-bottom: none;
} 

.front .view-congress-press-releases .view-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 0 -2px;
}

/************************************************************
  LEGISLATION
************************************************************/

#leg-container { display: flex; flex-direction: column; }

.subcom { display: flex; flex-direction: row; margin-bottom: 20px; padding: 0 0 20px;
border-bottom: 1px solid #ddd; }
 
.subcom .boxed { width: 45%; display: flex; justify-content: center; }

.subcom .boxed span.text { color: #fff; font-size: 30px; line-height: 1.2em; }

.subcom .action { width: 55%; }

/************************************************************
  HOMEPAGE VIDEO
************************************************************/  

#block-boxes-approps-vid { padding: 0; margin: 0; }

video {
  display: inline-block;
  vertical-align: top;
}

#block-boxes-approps-vid .contextual-links-wrapper { 
  top: 20px;
  z-index: 200;
}

#block-boxes-approps-vid .intro-section {
  position: relative;
  padding-bottom: 0; /* 16:9 */
	 padding-top: 0;
	 height: auto;
}

#block-boxes-approps-vid .bg-video-holder { 
  background: url(../media/placeholder-photo.jpg);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-size: cover;
  background-position: 50% 50%;
  z-index: 2;
  height: 100%;
  width: 100%;
}

#block-boxes-approps-vid .bg-video-holder .bg-video {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
  pointer-events: none;
}

.intro-content { 
  display: flex; 
  justify-content: center; 
  align-items: center;
  padding: 120px 0;
}

#block-boxes-approps-vid .intro-content blockquote {
  font-size: 16px;
}

.intro-blockquote q {
  font-size: 24px;
}

/************************************************************
  YOUTUBE VIDEOS
************************************************************/ 

#block-views-congress-videos-latest .views-row {
  border: 0;
  display: inline-block;
  margin: 10px 0;
  padding: 1%;
  vertical-align: text-top;
  width: 33%;
}

/************************************************************
  MEMBERSHIP
************************************************************/

.view-congress-subcomittee-membership .views-row {
  flex: 0 23%; 
  margin: 0 1% 2%;
  padding: 0 0 4px;
}

.each-member img { width: 100%; height: auto; }

.hover-state { position: relative; overflow: hidden; height: 175px; }

/************************************************************
  DOCUMENTS
************************************************************/ 

.files-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 30px 0 10px;
}

.files-list li {
  line-height: 1.2;
  list-style: none;
  width: 48%;
  margin: 0 0 23px;
}

/************************************************************
  SOCIAL MEDIA
************************************************************/

#quicktabs-tabpage-congress_committee_home_page-1 { text-align: center; }

#block-boxes-social-media-fontawesome-small i.fa, #block-boxes-fontawesome-medium i.fa {
  font-size: 1.5em;
  margin: 0 12px 0 0;
}

/************************************************************
  SUBCOMMITTEE VIEWS
************************************************************/

.front .view-congress-subcommittees .view-content { display: flex; flex-wrap: wrap; }

.front .view-congress-subcommittees .views-row {
  flex: 1 0 22%;
  text-align: center;
  padding: 20px;
  border: none;
  background: rgba(24,44,92, 0.9);
  margin: 20px;
}

.front .view-congress-subcommittees .views-row:hover, .front .view-congress-subcommittees .views-row:hover h3.field-content a {
  background: #419aee;
  color:#fff !important;
  font-size: 1.1em;
  text-decoration: none;
  transform: scale(1.05);
  transition: all 0.5s ease;
}

#block-views-congress-subcommittees-sub-comm h3 { font-size: 14px; }

#block-views-congress-subcommittees-sub-comm .views-row::before {}

#block-boxes-social-media-fontawesome-footer { text-align: right; }

#block-menu-menu-congress-footer-utility ul.menu, #block-menu-block-congress-site-map ul.menu {
  text-align: right;
  color: #FFF;
}

#block-boxes-footer-contact-block {
  padding-left: 100px;
}

#region-footer-fourth { padding-right: 100px; }
