/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

@import url(../../../warp/css/layout.css);


/* Spacing
----------------------------------------------------------------------------------------------------*/

.module {
	margin: 10px;
	position:relative;
	top:-5px;
	margin-bottom:5px;
}

#menu .module { margin: 10px; }

#top-a,
#top-b,
#bottom-a,
#bottom-b,
#main { margin: 15px 20px; }

#menu .module { margin: 10px 5px; }

#header { margin: 15px 20px 10px 20px; }

#toolbar,
#headerbar { margin-bottom: 5px; }
#headerbar .module { margin: 15px 0 5px 15px; }

#breadcrumbs,
#content { margin: 10px; }

#footer .module { margin: 0; }


/* Layout
----------------------------------------------------------------------------------------------------*/

/* Background */
body#page {
	background: url(/images/graphics/bg_texture.png);
	background-repeat: repeat;
}

/* Menubar */
#menubar {
	background: url("/images/graphics/menu_bar.png") repeat-x scroll 0 0 #426a88;
	height:35px;
	width:960px;
	position:relative;
	left:-20px;
	top:-5px;
}

/* Search */
#search { margin: 6px 6px 0 0; }

/* Blocks */
#top-a,
#top-b,
#bottom-a,
#bottom-b,
#main {
	border: 1px solid #ddd;
	background: #FFF;
	border-radius: 2px;
	-moz-box-shadow: 1px 1px 2px 1px #dddede;
	-webkit-box-shadow: 1px 1px 2px 1px #dddede;
	box-shadow: 1px 1px 2px 1px #dddede;
	overflow:hidden;
}

#main .content {
	font-size:15px;
	line-height:18px;
}

#main img {max-width:560px;}

/* Added for site-wide sidebar */
#custom_sidebar {position:relative;left:15px;}

#main_sidebar {
	border: 1px solid #ddd;
	background: #FFF;
	border-radius: 2px;
	-moz-box-shadow: 1px 1px 2px 1px #dddede;
	-webkit-box-shadow: 1px 1px 2px 1px #dddede;
	box-shadow: 1px 1px 2px 1px #dddede;
	position:relative;
	left:-20px;
	top:5px;
	float:left;
	width:320px;
	margin-bottom:10px;
}

#primary_sidebar {
	position:relative !important;
	width:320px !important;
}

#innertop { border-bottom: 1px solid #eee; }
#innerbottom { border-top: 1px solid #eee; }

/* Sidebar Backgrounds */
#sidebar-a,
#sidebar-b { position: relative; }

#sidebar-a:before,
#sidebar-b:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 0 solid #eee;
}

.sidebar-a-right #sidebar-a:before,
.sidebar-b-right #sidebar-b:before { border-width: 0 0 0 1px; }

.sidebar-a-left #sidebar-a:before,
.sidebar-b-left #sidebar-b:before { border-width: 0 1px 0 0; }

/* Footer */
#footer {
	clear:both;
	font-size: 14px;
	line-height: 18px;
	position:relative;
	padding-top:20px;
	margin-top:10px;
}

#copyright {
	padding-top:5px;
	margin-bottom:5px;
}

/* ToTop Scroller */
#totop-scroller {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	width: 21px;
	height: 21px;
	border: 1px solid #ddd;
	background: #fff url(../../../images/totop_scroller.png) 50% 50% no-repeat;
	border-radius: 4px;
	text-decoration: none;
}

#totop-scroller:hover {
	border-color: #ccc;
	background-color: #EEE;
}

/* P.G.H new classes  */

.primary_content {width:60%;}

#top_banner_ad {float:left;max-width:728px;overflow:hidden;}

#logo_with_text {
	height:10px;
}

#logo_caption {position:relative;left:110px;}


#submit_button {
	width:100px;
	height:34px;
	background: url(/images/graphics/submit_button.png);
	background-repeat:no-repeat;
	border: 0;
	margin-top:-20px;
}

#middle_a {
	border: 1px solid #ddd;
	background: #FFF;
	border-radius: 2px;
	margin-left:20px;
	margin-right:15px;
	-moz-box-shadow: 1px 1px 2px 1px #dddede;
	-webkit-box-shadow: 1px 1px 2px 1px #dddede;
	box-shadow: 1px 1px 2px 1px #dddede;
	width:200px;
	float:left;
	display:inline;
	overflow:hidden;
}


#middle_b {
	border: 1px solid #ddd;
	background: #FFF;
	border-radius: 2px;
	margin-right:20px;
	-moz-box-shadow: 1px 1px 2px 1px #dddede;
	-webkit-box-shadow: 1px 1px 2px 1px #dddede;
	box-shadow: 1px 1px 2px 1px #dddede;
	width:365px;
	float:left;
	display:inline;
	overflow:hidden;
}

#middle_c {
	border: 1px solid #ddd;
	background: #FFF;
	border-radius: 2px;
	margin-left:20px;
	margin-right:15px;
	margin-top:15px;
	-moz-box-shadow: 1px 1px 2px 1px #dddede;
	-webkit-box-shadow: 1px 1px 2px 1px #dddede;
	box-shadow: 1px 1px 2px 1px #dddede;
	width:200px;
	float:left;
	display:inline;
	clear:both;
	overflow:hidden;
}


#middle_d {
	border: 1px solid #ddd;
	background: #FFF;
	border-radius: 2px;
	margin-right:20px;
	margin-top:15px;
	-moz-box-shadow: 1px 1px 2px 1px #dddede;
	-webkit-box-shadow: 1px 1px 2px 1px #dddede;
	box-shadow: 1px 1px 2px 1px #dddede;
	width:365px;
	float:left;
	display:inline;
	overflow:hidden;
}

#home_col1 {
	float:left;
	width:238px;
}

#home_col2 {
	float:left;
	width:380px;
}

#full_width_bottom {
	clear:both;
}

#colored_footer {
	clear:both;
	background-color:#5887a5;
	color:#F5F4F4;
}

#colored_footer a {
	color:#F5F4F4;
}

/* Misc Sidebar Widgets */

#FR_signup_module {margin:-25px 0 10px 0;}

#first_DFP_unit {width:320px;padding:5px 0 20px 0;}

#second_DFP_unit {width:320px;margin-top:-5px;margin-bottom:0;}

/* Tabbed Recent/Popular/Emailed Widget */

#tabbed_widget_outside_container {margin: -15px 0 0 0;}

#tabbed_container {
}

#tabbed_container_sponsored {
	background-color:#f0e4a0;
}

#tabbed_container_sponsored a {
	color:#165a0e
}

.tabbed_thumb {
	float:left;
}

.tabbed_thumb img  {
	max-width:60px !important;
}

.tabbed_title_link {
	font-weight:bold;
	font-size:14px;
}

/* .tabbed_date {
	font-style:italic;
	color:#9e1825;
	margin:0;
	padding:0;
	font-size:11px;
} */

.tabbed_excerpt {
	margin:0;
	padding:0 0 10px 0;
}

.wp-caption-text {
	margin:0;
	padding:3px;
	font-size:12px;
	color:#999999;
	font-style:italic;
}

/* Breaking News Posts Beside Slider */

/* .breaking_news_date {
	font-style:italic;
	color:#9e1825;
	margin:0;
	padding:0 0 10px 0;
	font-size:11px;
} */

#top-a .module {
	padding:0 !important;
	margin:0 !important;
}

#homepage_slider {
	float:left;
	width:360px;
	min-height:370px;
}

#latest_news_section {
	float:left;
	width:100%;
}

.breaking_news_item {
	border-top:1px solid #ccc;
	padding:12px 10px 12px 10px;
	min-height:70px;
	clear:both;
	margin:0;
}

.breaking_news_item_sticky {
	border-top:1px solid #ccc;
	min-height:70px;
	clear:both;
    -moz-box-shadow: 0px 5px 5px #888888;
    -webkit-box-shadow: 0px 5px 5px #888888;
    box-shadow: 0px 5px 5px #888888;
    padding:12px 12px 12px 12px;
}

.breaking_news_item img {
	border:1px solid #9E1825;
	float:left;
	margin:0 10px 5px 0;
}

.breaking_news_item_sponsored {
	border-top:1px solid #ccc;
	padding-top:12px;
	padding-bottom:12px;
	background-color:#f0e4a0;
}

.breaking_news_item_sponsored a {
	color:#165a0e;
}

.breaking_news_title_link {
	font-weight:bold;
	font-size:14px;
}

.breaking_news_excerpt {
	
}

/* Notebook Posts Top B */

.NB_container {
	display: table;
	width:100%;
}

.featured_stories_1, .featured_stories_2, .featured_stories_3 {
	width:28%;
	display:inline-block;
	padding:10px;
	text-align:center;
	vertical-align: middle;
	min-height:100px;
}

.featured_stories_title {
	margin-top:5px;
	margin-bottom:5px;
	font-weight:bold;
}

/* SOCIAL MEDIA ON POSTS */

#social_media  {
	display:inline;
	float:left;
	margin-top:10px;
	margin-bottom:-5px;
}

#google_plus  {
	display:inline;
	float:left;
}

#twitter  {
	display:inline;
	margin-left:-20px;
	float:left;
}

#facebook  {
	display:inline;
	margin-left:-20px;
	width:200px;
	float:left;
}

/* Search Box & Social Media
----------------------------------------------------------------------------------------------------*/
#search_social_media_container {
	position:relative;
	left:-120px;
	top:-12px;
}


#search_social_media {
	position:relative;
	top:20px;
	left:7px;
	margin-bottom:-10px;
	display:inline;
	float:left;
	height:30px;
	width:560px;
}

#shadowed_icon:hover {
	-moz-box-shadow: 1px 1px 2px 1px #acacac;
	-webkit-box-shadow: 1px 2px 1px 1px #acacac;
	box-shadow: 1px 1px 2px 1px #acacac;
}

#searchbox {
	width: 260px;
	height: 30px;
	padding: 0;
	float:left;
	display:inline;
	position:relative;
	left:160px;
}

#searchbox input {
	height: 18px;
	width:200px;
	color: #333;
	font-size: 14px;
	display:inline;
}

#search_button {
	display:inline;
	float:right;
	width:40px !important;
	height:28px !important;
}

#searchbox input:-moz-placeholder { color: #999; }
#searchbox input::-webkit-input-placeholder { color: #999; }
#searchbox input.placeholder { color: #999; }

#searchbox.filled button {
	width: 25px;
	background: url(../images/searchbox_reset.png) 50% 50% no-repeat; 
}
#searchbox.loading button { background: url(../images/searchbox_loader.gif) 50% 50% no-repeat; }

/* Drop-Down Results */
#searchbox .results {
	top: 42px;
	right: -1px;
	width: 300px;
	border: 1px solid #ddd;
	background: #ffffff;
	border-radius: 4px;
}

#searchbox .results li.results-header { border-bottom: 1px solid #ddd; }
#searchbox .results li.more-results { border-top: 1px solid #ddd; }
#searchbox .results li.result { border-top: 1px solid #eee; }
#searchbox .results li.results-header + li.result { border-top: none; }

#searchbox .results li.result.selected { background-color: #fafafa; }

#top_right_house_ad {float:left;}

/*--------SUBMIT BUTTONS AND GRAPHIC --------*/

#RS_submit {
	background-image: url(http://mmedianyc.com/images/graphics/RS_button.png);
	background-color:#fff;
	width:250px;
	height:80px;
	text-align:center;
	padding:0;
	margin:0;
	border:none;
}

#esub_big_form {
	position:relative;
	top:-60px;
}

/* ------ TOP 10 GOVS STYLING ------ */

#top_10_content {
  width: 560px;
  margin: 10px auto 10px auto;
  font-family: arial, helvetica, sans-serif;
  font-size: 14px; }

#top_section {
  display: table-cell;
  width: 100%;
  height: 350px; }

#profile_pic {
  display: inline-block;
  float: left;
  width: 320px;
  height: 350px; }
  
#profile_pic img {
    border: 2px solid #47728e; }
    
#profile_pic_legislators {
  display: inline-block;
  float: left;
  width: 260px;
  height: 280px; }
  #profile_pic img {
    border: 2px solid #47728e; }
    
#profile_pic_legislators img {
    border: 2px solid #47728e; }

#profile_info {
  display: inline-block;
  vertical-align: top;
  float: right;
  width: 230px;
  height: 305px;
  margin:5px 0 0 10px;}
  
#profile_info_legislators {
  display: inline-block;
  vertical-align: top;
  float: right;
  width: 290px;
  height: 305px;
  margin:5px 0 0 10px;}

#quick_info, #social_info {
  margin: 0 10px 10px 10px; }

#profile_name {
  font-weight: bold;
  font-size: 22px;
  line-height:24px;
 }

#profile_nav {
  display: table-cell;
  vertical-align: bottom;
  width: 240px;
  height: 30px;
  text-align: center;
  padding: 10px;
  position: relative;
  bottom: 0;
  left: 50%; }

#profile_title {
  font-style: italic;
  margin-top:5px;}
  
#profile_party {
  margin-top:5px;
}

#profile_CV {
  margin-top: 10px;}
  
#profile_CV_legislators {
  margin-top: 10px;
  font-size: 12px;}

#social_info {
  line-height: 22px;
  float:left;
  width:100%;
  margin:15px 0 0 10px; }

#twitter {
  display: inline-block;
  position: relative;
  float:left;
  width:100px;
  bottom: 8px;
  left: 3px; }

#facebook {
  display: inline-block;
  position: relative;
  float:left;
  width:100px;
  left: 8px;
  top:5px;}

#twitter_icon {
  width: 30px;
  height: 25px;
  float:left;
  background: url(/apps/application/assets/images/twitter.png);
  display: inline-block;
  margin-right:22px;
  margin-top:-10px;}

#fb_icon {
  width: 17px;
  height: 30px;
  float:left;
  background: url(/apps/application/assets/images/facebook.png);
  display: inline-block;
  margin-left:5px;
  margin-right:24px;}

#left_nav {
  display: inline-block;
  background: url(/apps/application/assets/images/prev.png) no-repeat;
  width: 88px;
  height: 35px;
  margin-right: 20px; }
  
#left_nav:hover {
  background: url(/apps/application/assets/images/prev_hover.png) no-repeat;
}

#right_nav {
  display: inline-block;
  background: url(/apps/application/assets/images/next.png) no-repeat;
  width: 88px;
  height: 35px;
  position: relative; }
  
#right_nav:hover {
  background: url(/apps/application/assets/images/next_hover.png) no-repeat;
}

#middle_section {
  width: 100%; }

#top_10_social_media {
  width: 100%;
  height: 20px; }

#bottom_section {
  width: 100%;
  background: #e4e9f1;
  border: 1px solid #2968a2;
  border-radius: 2px; }

#nav_row_1 {
  display: table-cell;
  width: 100%;
  height: 100px;
  position: relative;
  left: 10px;
  padding: 10px 0 0 0; }

#nav_row_2 {
  display: table-cell;
  width: 100%;
  height: 100px;
  position: relative;
  left: 10px; }

#nav_row_2 {
  padding-top: 0;
  padding-bottom: 5px; }

#pic_1, #pic_2, #pic_3, #pic_4, #pic_5, #pic_6, #pic_7, #pic_8, #pic_9, #pic_10 {
  display: inline-block;
  margin: 0 10px 0 10px; }
  
#bottom_gov_nav {
	margin:10px;
}

.view_all_govs {
	color:#426A88;
	font-size:18px;
	text-align:center;
	font-weight:bold;
}

#profile_thumb_row {
	display:table-cell;
	width:100%;
	height:60px;
}

.profile_thumb_container {
	display:inline-block;
	width:110px;
	height:80px;
}

.profile_thumb {
	text-align:center;
	height:50px;
	margin-right:10px;
}

.profile_thumb img {
	width:40px;
	height:auto;
	text-align:center;
}