/*
Theme Name: 	NYU Policing Project
Description: 	Custom theme for NYU
Version: 		1.0
*/

/* ======================= global resets ======================= */
/* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td { margin:0; padding:0 }
table 					{ border-collapse:collapse; border-spacing:0 }
fieldset, img 			{ border:0 }
address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
caption, th	 			{ text-align:left }
q:before, q:after 		{ content:''}
a img 					{ border:none } /* Gets rid of IE's blue borders */
input[type="submit"]	{ cursor:pointer; -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ }
input[type="submit"]::-moz-focus-inner { border:0; } /* helps with input and submit sizing */
/* html5 reset */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }
audio,
canvas,
video 					{ display:inline-block; }
audio:not([controls]) 	{ display:none; }
@-ms-viewport			{ width:device-width; }
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }
:link img 			{ border:none; }
a 					{ outline:none; }
.hidden 			{ display:none; }
br.clear 			{ clear:both; display:block; height:1px; margin:-1px 0 0 0 }
.clearfix:after 				{ visibility:hidden; display:block; font-size:0; content:" "; clear:both;  height:0; }
* html .clearfix             	{ zoom:1; } /* IE6 */
*:first-child+html .clearfix 	{ zoom:1; } /* IE7 */
/* responsive */
img, object, embed 	{ max-width:100%; height:auto; }
object, embed		{ height:100%; }
img				 	{ -ms-interpolation-mode: bicubic; }

/*======================= Architecture ======================= */
html {
	height:100%;
}
body { 
	height:100%;
	margin:0; 
	padding:0; 
	background:#eee; 
	color:#5a5a5a;
	font-family:'adelle', serif; 
	/*
	weights
	100, 300, 400, 700
	*/
	font-size:16px; 
	font-weight:normal; 
	text-align:left; 
	overflow-x:hidden;
}
@media only screen and (min-width: 1001px) {
	body {
		word-wrap:normal;
		-webkit-hyphens:none !important;
	    -moz-hyphens:none !important;
	    -ms-hyphens:none !important;
	    hyphens:none !important;
	}
}
/*
#bodywrap {
	position:relative;
	width:100%;
	min-height:100%;
	overflow-x:hidden;
}
*/
.pagewidth {
	margin:0 4%;
}
#page-wrap { 
	position:relative;
	width:1000px;
	min-height:100%;
 	margin:0 auto;
 	padding:0 0 50px 0; 
 	background:#fff; 
 	-webkit-box-shadow: 0px 1px 15px 0px rgba(0,0,0,0.40);
	-moz-box-shadow: 0px 1px 15px 0px rgba(0,0,0,0.40);
	box-shadow: 0px 1px 15px 0px rgba(0,0,0,0.40);
}
#topbar {
	position:relative;
	background:#26669a;
	width:1000px;
	margin:0 auto;
	padding:5px 4% 2px 4%;
}
#masthead { 
	position:relative; 
	margin:0; 
	padding:30px 0 0px 0; 
	z-index:1000; 
}
#content-wrap { 
	margin:0; 
	padding:20px 0; 
}
#primary { 
	width:75%; 
	float:right; 
	margin:0; 
	padding:0; 
}
#primary .inner	{ 
	margin:0; 
	padding:0 0 0 10%; 
}
#secondary { 
	width:25%; 
	float:left; 
	margin:0; 
	padding:0; 
}
#secondary .inner { 
	margin:0; 
	padding:0; 
}
#copyright { 
	position:absolute;
	width:100%;
	bottom:0;
	left:0;
	font-size:12px;
}

/*======================= Typography ======================= */
p { 
	margin:0 0 15px 0; 
	line-height:1.5; 
	letter-spacing:.3px;
}
blockquote { 
	margin:20px; 
	padding:10px 20px; 
	border-left:4px solid #ccc; 
	font-size:22px; 
}
blockquote p { 
	font-style:italic; 
	margin:0; 
}
small { 
	font-size:11px; 
}
strong, b { 
	font-weight:700; 
}
em, i { 
	font-style:italic; 
}
/* lists */
ul { 
	margin:0; 
	padding:0; 
}
ul li {
 	margin:0; 
 	padding:0; 
 	list-style:none; 

}
ul li ul li	{ 
	list-style:circle; 
}
ol { 
	margin:10px 0px 20px 0; 
	padding:0; 
}
ol li { 
	text-align:left; 
	margin:0 0 0 30px;
	padding:0; 
	list-style:decimal; 
	line-height:1.5; 
}
/* tables */
table { 
	border-collapse:collapse; 
}
table tr td	{ 
	padding:5px; 
}
/* headings */
h1,h2,h3,h4,h5,h6 { 
	text-align:left; 
	font-weight:400; 
	color:#2c6b9b; 
	line-height:1.2;  
}
h1 { 
	font-size:35px; 
	margin:0 0 20px 0; 
	font-weight:100;
}
h2 { 
	font-size:24px; 
	margin:0 0 10px 0; 
}
h3 { 
	font-size:20px; 
	margin:0 0 10px 0;
}
h4 { 
	font-size:18px; 
	margin:0 0 10px 0; 
}
h5 { 
	font-size:14px; 
	margin:0 0 10px 0; 
}
h6 { 
	font-size:12px; 
	margin:0 0 10px 0; 
}
/* default links & buttons */
a { 
	color:#2c6b9b; 
	text-decoration:none; 
}
a:hover { 
	color:#2a2f3a; 
	text-decoration:none; 
}
a.button { 
	background:#2c6b9b; 
	display:inline-block; 
	margin:0; 
	padding:5px 15px; 
	float:left; 
	width:auto; 
	color:#fff; 
	font-size:12px; 
}
/* Forms */
label { 
	display:block; 
	margin:0 0 5px 0; 
}
input,
textarea,
select { 
	display:block; 
	color:#555;
	font-family:'adelle', serif; 
	margin:0 0 15px 0; 
	font-size:16px;
	padding:5px; 
	border:1px solid #ccc; 
	-webkit-appearance:none;
    border-radius:0;  
	/* keep all boxes equal */ 
	box-sizing:content-box; 
	-ms-box-sizing:content-box; 
	-moz-box-sizing:content-box; 
	-webkit-box-sizing:content-box; 
}
input[type="submit"] {
	background:#26669a;
	color:#fff;
	padding:7px 10px;
	border:none;
	outline:none;
}
select { 
	line-height:28px; /* this is needed to keep height on select elements in safari */
} 
/* placeholder font color */
::-webkit-input-placeholder { 
	color:#333; 
}
:-moz-placeholder { 
	/* Firefox 18- */ color:#333; 
}
::-moz-placeholder { 
	/* Firefox 19+ */ color:#333; 
}
:-ms-input-placeholder { 
	color:#333; 
}

/* ======================= #topbar ======================= */
#topbar a.nyu-law-home {
	display:block;
	float:right;
	width:91px;
	margin:2px 0 0 15px;
}
#topbar #search {
	width:150px;
	float:right;
}
form#searchform	{ 
	position:relative; 
	margin:0; 
	padding:0; 
}
input#s { 
	font-family:'adelle',serif;
	width:96%; 
	font-size:10px;
	line-height:15px;
	margin:2px 0 0 0; 
	padding:0px 2%; 
	background:transparent url(images/bg/icon-search-small.png) no-repeat 98% 2px; 
	border:1px solid #b1c8dc; 
	outline:none; 
	color:#b1c8dc; 
} 
input#s:focus { 
	border:1px solid #fff; 
}
input#searchsubmit { 
	position:absolute; 
	right:0px; 
	top:0px; 
	width:23px; 
	height:25px; 
	background:none; 
	border:none; 
	outline:none; 
	text-indent:-999px; 
}

/* ======================= #masthead ====================== */
#masthead .pagewidth {
	padding:0 0 10px 0;
	border-bottom:7px solid #c3c3c3;
}
#masthead #logo { 
	width:25%; 
	float:left; 
	margin:0; 
	padding:0; 
} 
#masthead #logo h1 { 
	line-height:1; 
	margin:0; 
}
#masthead .right {
	width:75%; 
	float:right;
}
#masthead .right .inner {
	padding:0 0 0 10%;
}
#masthead #nav-wrap	{ 
	float:right; 
	margin:25px 0 0 0; 
}	
/* tagline */
#masthead h2.site-tagline {
	padding:4px 0 0 0;
	text-align:right;
}
#masthead h2.site-tagline img {
	width:100%;
	height:auto;
}
h2.site-tagline-text {
	display:none;
	clear:both;
	font-size:18px;
	padding:20px 0 0 0;
}
 
/* navigation */
#nav-wrap {
	float:right;
}
ul#nav { 
	margin:0; 
	padding:0; 
	float:right; 
}
ul#nav li { 
	list-style:none; 
	position:relative; 
	float:left; 
	padding:0; 
	margin:0; 
}
ul#nav li a { 
	margin:0; 
	padding:10px 10px 18px 10px; 
	font-size:12px; 
	color:#7e7e7e;
	font-weight:700;
	line-height:1; 
	display:block; 
	letter-spacing:1px;
	text-transform:uppercase; 
	text-decoration:none; 
}
ul#nav li.donate a {
	padding:10px 0 10px 25px;
	color:#2c6b9b;
	background:url(images/bg/star.png) no-repeat 13px 10px;
}
ul#nav li a:hover { 
	color:#2c6b9b;
	text-decoration:none; 
}
ul#nav li.menu-item-has-children.active a {
	background:url(images/bg/sub-menu-arrow.png) no-repeat 40px bottom;
}
ul#nav > li.current-menu-item > a {  

}
ul#nav li ul { 
	display:none; 
	background:#26669a; 
	position:absolute; 
	left:10px; /* must match top link padding */ 
	top:100%; 
	margin:0; 
	padding:0; 
	z-index:100; 
	border:none; 
}
ul#nav li:hover > ul { 
	display:block; 
}
ul#nav li ul li { 
	float:none; 
	margin:5px 0; 
}
ul#nav li ul li a { 
	float:none; 
	width:190px; 
	display:block; 
	color:#d9e5ee;
	line-height:1.3;
	text-transform:none;
	font-size:13px;
	font-weight:normal;
	padding:3px 10px; 
	background:none; 
}
ul#nav li ul li a span {
	display:none;
	width:10px;
	height:10px;
	background:url(images/bg/star-white.png) no-repeat center 1px;
}
@media only screen and (min-width: 1001px) {
	ul#nav li ul li a:hover,
	ul#nav li ul li.current-menu-item a {
		color:#fff;
	}
	ul#nav li ul li a:hover span,
	ul#nav li ul li.current-menu-item a span {
		display:inline-block;
	}
}
ul#nav li ul li ul { 
	left:100%; 
	top:0; 
}
/* dead links */
li.nolink > a {
	cursor:default;
	text-decoration:none;
}
li.nolink > a:hover { 
	cursor:default; 
	text-decoration:none; 
}

/* ======================= .post ====================== */
.post h1.entry-title {
	font-weight:300;
	font-size:38px;
	margin:0 0 15px 0;
	line-height:1;
}
span.sub-title {
	display:block;
	font-size:27px;
	font-style:italic;
}
h1 span.sub-title {
	margin-top:10px;
}
.post { 
	padding:0; 
	margin:0; 
	position:relative; 
}
p.date { 
	margin:0 0 5px 0; 
}	
.post .featured-img	{ 
	margin:0 0 25px 0; 
}
.post .sub-page-links {
	display:none;
}
/* lists */
.post ul { 
	margin:0 0 15px 0; 
	padding:0; 
}
.post ul li {
 	margin:0; 
 	padding:0 0 0 19px; 
 	line-height:1.5;
 	background:url(images/bg/star-gray.png) no-repeat 0 6px;
}
.post ul li ul li	{ 
	list-style:circle; 
}
.post ol { 
	margin:0 0 15px 20px; 
	padding:0; 
}
.post ol li { 
	text-align:left; 
	margin:0;
	padding:0; 
	list-style:decimal; 
	line-height:1.5; 
}
/* content headings */
.post h1 {
	font-weight:300;
	font-size:32px;
	margin:0 0 10px 0;
}
.post h1 img.alignleft {
	position:relative;
	top:7px;
}
.post h2 {
	font-size:28px;
	font-weight:100;
}
.post h5 {
	font-size:16px;
	font-weight:600;
	letter-spacing:.5px;
	margin:0 0 15px 0;
	line-height:1.5;
}
.post h6 {
	font-size:16px;
	color:#5a5a5a;
	font-weight:600;
	letter-spacing:.5px;
	margin:0 0 15px 0;
	line-height:1.5;
}
.sharify-container ul li {
	background:none;
}

/* ======================= sidebar.php ====================== */
/* typography */
/* lists */
#secondary ul { 
	margin:0 0 15px 0; 
	padding:0; 
}
#secondary ul li {
 	margin:0; 
 	padding:0 0 0 19px; 
 	font-size:14px;
 	line-height:1.5;
 	background:url(images/bg/star-gray.png) no-repeat 0 6px;
}
#secondary ul li ul li	{ 
	list-style:circle; 
}
#secondary ol { 
	margin:0 0 15px 20px; 
	padding:0; 
}
#secondary ol li { 
	text-align:left; 
	font-size:14px;
	margin:0;
	padding:0; 
	list-style:decimal; 
	line-height:1.5; 
}
#secondary blockquote { 
	margin:15px; 
	padding:0; 
	border-left:none; 
}
#secondary blockquote p { 
	font-style:italic; 
	font-size:14px;
	margin:0; 
}
#secondary h3.menu-title {
	margin:0 0 10px 0;
}
/* sidebar headings */
#secondary h1 {
	font-size:30px;
	font-weight:100;
	margin:0 0 10px 0;
}
#secondary h2 {
	font-size:24px;
	font-weight:100;
	margin:0 0 10px 0;
}
#secondary h3 {
	margin:0 0 2px 0;
}
#secondary h5 {
	font-size:14px;
	font-weight:600;
}
#secondary h6 {
	font-size:14px;
	color:#5a5a5a;
	font-weight:600;
}
#secondary .widget {  
	padding:0 0 5px 0;
	margin:0 0 8px 0; 
	position:relative; 
	border-bottom:4px solid #c3c3c3;
}
#secondary .widget:last-child {
	border:none;
}
#secondary p { 
	font-size:14px;
	line-height:1.5; 
	letter-spacing:.3; 
	margin:0 0 10px 0; 
}
#secondary p.edit { 
	position:absolute; 
	top:0; 
	right:0; 
	font-size:11px; 
}
#secondary .widget_categories ul,
#secondary ul.menu {
	margin:0 0 31px 0;
	padding:0;
}
#secondary ul.menu ul.sub-menu {
	margin-bottom:0px;
}
#secondary ul.menu ul.sub-menu li:first-child {
	border-top:0px;
}
#secondary ul.menu ul.sub-menu li a {
	font-weight:normal;
	padding-left:20px;
}
#secondary ul.menu ul.sub-menu li a span {
	height: 0px;
	width: 0px;
}
#secondary .widget_categories ul li,
#secondary ul.menu li {
	margin:0;
	padding:0;
	list-style:none;
	background:none;
}
#secondary .widget_categories ul li:first-child,
#secondary ul.menu li:first-child {
	border-top:1px solid #c3c3c3;
}
#secondary .widget_categories ul li a,
#secondary ul.menu li a {
	color:#5a5a5a;
	letter-spacing:.5px;
	font-size:14px;
	display:block;
	margin:0;
	padding:5px 0;
	font-weight:700;
	border-bottom:1px solid #c3c3c3;
}
#secondary ul.menu li a span {
	display:none;
	width:10px;
	height:10px;
	background:url(images/bg/star.png) no-repeat center 1px;
}
/* hide sub-menus */
#secondary ul.menu li ul.sub-menu {
	display:none;
}
/* display only active menu */
#secondary ul.menu li.current-menu-item ul.sub-menu,
#secondary ul.menu li.current-menu-parent ul.sub-menu {
	display:block;
}

@media only screen and (min-width: 1050px) {
	#secondary ul.menu li a:hover,
	#secondary ul.menu li.current-post-parent a,
	#secondary ul.menu li.current-menu-item > a {
		color:#2c6b9b;
	}
	#secondary ul.menu li a:hover span,
	#secondary ul.menu li.current-post-parent a span,
	#secondary ul.menu li.current-menu-item a span {
		display:inline-block;
	}
}

#secondary div.hr { 
	width:100%; 
	height:4px; 
	clear:both; 
	margin:20px 0 7px 0; 
	background:#c3c3c3;
}

/* 
	Twitter feed styling will only work with the third party plugin:
   	Simple Twitter Tweets by Ashley Sheinwald 
   	https://wordpress.org/plugins/simple-twitter-tweets/
*/
#secondary ul.tweets {
	margin:0;
	padding:0;
}
#secondary ul.tweets li {
	margin:0 0 15px 0;
	padding:0;
	background:none;
	/*
	padding:16px 0 0 0;
	background:url(images/bg/twitter-feed-list-item.png) no-repeat 0 0;
	*/
}
#secondary ul.tweets li img {
	display:none;
}
.intent-meta a span:nth-child(2) {
	display:none !important;
}
img.intentions {
	display:block;
}
#secondary .widget.PI_SimpleTwitterTweets {
	border-bottom:none;
	margin-bottom:0;
	padding-bottom:0;
}
#secondary .widget.PI_SimpleTwitterTweets .intent-meta {
	margin-top:0 !important;
}
/* constant contact form */
#mc_embed_signup label {
	font-size:14px;
}
#mc_embed_signup input[type="text"],
#mc_embed_signup input[type="email"] {
	font-size:14px;
	margin:0 0 8px 0;
	padding:2px 2%;
	width:96%;
	max-width:320px;
}
#mc_embed_signup input[type="submit"] {
	background:#c3c3c3;
	color:#fff;
	margin:15px 0 0 0;
	padding:2px 5px;
	font-size:14px;
}
#secondary a.read-more {
	background:none;
	padding:0;
}


/* WP widgets */
.widget_recent_entries {  }
.widget_recent_entries ul {  }
.widget_recent_entries ul li { 
	margin:0 0 10px 0; 
}
.widget_recent_entries span.post-date { 
	display:block; 
	font-size:13px; 
	font-style:italic; 
}
.widget_categories { 
	margin:0 0 0 15px; 
}

/* ======================= archive.php / search.php ====================== */
.archive h1.entry-title,
.search h1.entry-title,
.blog h1.entry-title {
	padding:0 0 10px 0;
	font-weight:300;
font-size:38px;
	border-bottom:4px solid #c3c3c3;
	line-height:1;
}
/* also shared by recent posts */
.post.excerpt { 
	margin:0 0 30px 0;
}
.post.excerpt .excerpt-content {
	line-height:1.5;
}
.post.excerpt .thumb {
	width:13%;
	float:left;
	margin:5px 3% 0px 0;
}
.post.excerpt .entry-title-wrap.has-thumb {
	width:84%;
	float:left;
}
h3.excerpt-title {
	font-size:32px;
	margin:0 0 5px 0;
	font-weight:300;
}

/* paging */
div.pagination { 
	margin:20px 0 10px 0; 
}

/* ======================= #copyright ======================= */
#copyright .pagewidth {
	padding:5px 0 15px 0;
	border-top:4px solid #c3c3c3;
}
#copyright .left {
	width:90%;
	float:left;
}
#copyright .right {
	width:10%;
	float:right;
	text-align:right;
}

/* ======================= Page Templates ====================== */
.home h1.entry-title {
	display:none;
}
.home #primary { 
	width:75%; 
	float:left; 
	margin:5px 0 0 0; 
	padding:0; 
}
.home #primary .inner	{ 
	margin:0; 
	padding:0 10% 0 0; 
}
.home #secondary { 
	width:25%; 
	float:right; 
	margin:0; 
	padding:0; 
}
.home #secondary .inner { 
	margin:0; 
	padding:0; 
}

/* ======================= Presentational classes generated by WordPress ======================= */
.aligncenter { 
	display:block; 
	margin:0 auto; 
}
.alignleft { 
	float:left; 
}
.alignright { 
	float:right; 
}
img.alignright { 
	margin:0 0 5px 20px; 
}
img.alignleft { 
	margin:0 20px 5px 0; 
}
p img.alignleft, p img.alignright {
	margin-top:5px;
}
/* WP captions */
.wp-caption	{ 
	margin:0 0 20px 0; 
}
.wp-caption.alignleft { 
	margin-top:5px;
	margin-right:20px; 
}
.wp-caption.alignright { 
	margin-top:5px;
	margin-left:20px; 
}
p.wp-caption-text { 
	margin:0;
	color:#aaa; 
	font-style:italic; 
	font-size:11px;
	line-height:1.1; 
}

/* ======================= Plugin Styling ======================= */
/* recent posts widget */
.recent-14 h3 {
	margin:0 0 4px 0;
	font-size:14px;
	letter-spacing:.4px;
	font-weight:bold;
}
.recent-14 h3 a {
	color:#5a5a5a;
}
.recent-14 p.date {
	font-size:12px;
	margin:0 0 5px 0 !important;
}

/* ======================= Theme custom short codes ======================= */
span.star {
	display:inline-block;
	width:10px;
	height:10px;
	position:relative;
	top:1px;
	background:url(images/bg/star.png) no-repeat 0 bottom;
}
a.read-more {
	display:block;
	text-transform:uppercase;
	letter-spacing:1px;
	font-size:11px;
	font-weight:700;
	margin:0 0 5px 0;
	padding:0;
}
.home a.read-more {
	color:#2c6b9b;
}
a.read-more.inline {
	display:inline-block;
	padding:0 0 0 12px;
	background:url(images/bg/star.png) no-repeat 0px 2px;
}
.deck a.read-more {
	display:inline-block;
}
/* horizontal rule */
div.hr, hr { 
	width:100%; 
	height:4px; 
	clear:both; 
	margin:20px 0; 
	background:#c3c3c3;
}
.fpo { 
	background:#e6e6e6; 
	margin:0 0 10px 0; 
}
.fpo span { 
	display:inline-block; 
	width:100%; 
	text-align:center; 
	color:#bbb; 
	font-size:150%;  
}
.deck {
	font-size:20px;
	color:#6a6a6a;
}

/* show / hide content */
.sh-title { 
	cursor:pointer; 
	position:relative; 
	padding-right:50px; 
}
.sh-title span { 
	display:inline-block; 
	width:0; 
	height:0; 
	margin:0 0 0 10px; 
	border-left:6px solid transparent; 
	border-right:6px solid transparent; 
}
.sh-title.inactive span { 
	border-top:9px solid #fe0329; 
}
.sh-title.active span { 
	border-bottom:9px solid #fe0329; 
}

/* recent posts - uses content-archive styling */

/* ======================= WP Comments ======================= */
ol.commentlist { 
	margin:0 0 20px 0; 
	padding:15px 0 0 0;  
}
ol.commentlist li { 
	list-style:none; 
	margin:0 0 30px 0; 
	padding:0; 
	overflow:hidden; 
}
.comment-body div.comment-author { 
	width:15%; 
	float:left; 
	margin:0 20px 10px 0; 
	} /* if settings in comments.php change for avatar output then change here too! */
.comment-body div.comment-author img { 
	display:block; 
}
.comment-body div.comment-author cite.fn { 
	font-size:13px; 
} 
.comment-body div.comment-meta { 
	font-style:italic; 
	font-size:12px; 
} 
.comment-body p { 
	padding:0px 0px 0px 0px; 
}
.comment-body div.reply { 
	display:none; 
	position:absolute; 
	width:75px; 
	right:0; 
	bottom:0; 
	padding:4px; 
	text-align:center; 
	margin:10px 0 0 10px; 
}
/* additional styling for LEVELS */
ol.commentlist ul.children li.depth-2 { 
	margin:0 0 0 30px; 
}
ol.commentlist ul.children li.depth-3 { 
	margin:0 0 0 60px; 
}
ol.commentlist ul.children li.depth-3 .reply { 
	display:none; 
} 

/* ======================= Responsive ======================= */
#dimensions { 
	position:fixed; 
	top:80px; 
	left:5px; 
	z-index:500; 
	background:#fff;
	padding:2px;
	color:#888;
	font-size:12px; 
}
/* mobile search */
#mobile-search-icon {
	display:none;
	width:14px;
	height:16px;
	float:right;
	background:transparent url(images/bg/icon-search.png) no-repeat center 2px; 
}
#mobile-search-icon.open {
	background:transparent url(images/bg/search-close.png) no-repeat 1px 3px; 
}
#mobile-search {
	display:none;
	position:absolute;
	top:100%;
	left:0;
	z-index:5000;
	width:100%;
	margin:0;
	padding:0;
	background:#26669a;
}
#mobile-search .inner {
	padding:15px 4% 10px 4%;
}
#mobile-search input.field {
	font-family:'adelle',serif;
	width:96%;
	max-width:300px;
	padding:5px 2%;
	font-size:16px;
	background:transparent url(images/bg/icon-search-large.png) no-repeat 96% 6px;
	outline:none;
	border:1px solid #b1c8dc;
	color:#b1c8dc;
}
#mobile-search input.field:focus { 
	border:1px solid #fff; 
}
#mobile-search input.submit { 
	position:absolute; 
	right:0px; 
	top:0px; 
	width:23px; 
	height:25px; 
	background:none; 
	border:none; 
	outline:none; 
	text-indent:-999px; 
}
.thumb.wide {
	display:none !important;
}
/* responsive navigation */
a#hamburger { 
	display:none;
	width:34px; 
	height:34px; 
	float:right; 
	text-align:right; 
	background:url(images/bg/hamburger.png) no-repeat center center; 
}
/* the drop down */
#resp-nav {  
	display:none;
	position:absolute;
	background:#26669a;
	color:#fff;
	z-index:9999;
	width:220px;
	min-height:100%;
	right:-220px;
	top:0;
}
#resp-nav .menu-wrap {  
	margin:30px 0 0 30px;
	padding:0;  
}
#resp-nav .menu-wrap > ul { 
	border-top:1px solid #fff;
	margin:0; 
	padding:0; 
}
#resp-nav .menu-wrap ul li { 
	margin:0; 
	padding:0; 
	list-style:none; 
}
#resp-nav .menu-wrap ul li a { 
	display:block; 
	letter-spacing:1px;
	font-weight:600;
	font-size:16px;
	color:#fff;
	margin:0; 
	padding:10px 0; 
	border-bottom:1px solid #fff;
}
#resp-nav .menu-wrap ul li ul li a { 
	display:none;
}
#resp-nav .menu-wrap ul li ul li ul li a { 
	padding-left:30px; 
}
#resp-nav a.close {
	display:block;
	padding:15px 10px 20px 30px;
	color:#fff;
	text-transform:uppercase;
	letter-spacing:1px;
	font-size:11px;
}

@media only screen and (min-width: 1001px) {
	ul#nav { 
		display:block !important; 
	}
}

@media only screen and (max-width: 1000px) {
	#page-wrap { 
		width:100%; 
	 	-webkit-box-shadow:none;
		-moz-box-shadow:none;
		box-shadow:none;
	}
	#topbar {
		width:100%;
	}
	body {
		-webkit-hyphens:auto !important;
	    -moz-hyphens:auto !important;
	    -ms-hyphens:auto !important;
	    hyphens:auto !important;
	}
}

@media only screen and (max-width: 850px) {
	#nav-wrap {
		display:none;
	}
	a#hamburger {
		display:block;
	}
}

@media only screen and (max-width: 750px) {
	#search {
		display:none;
	}
	#mobile-search-icon {
		display:block;
	}
	#primary { 
		width:100%; 
		float:none; 
	}
	#primary .inner	{
		padding:0; 
	}
	#secondary {
		width:100%;
		float:none;
	}
	.single #secondary {
		display:none;
	}
	#secondary ul.menu {
		display:none;
	}
	#secondary ul.menu li a {
		padding:8px 0;
	}
	#secondary h3.menu-title {
		cursor:pointer;
	}
	#secondary h3.menu-title span {
		display:inline-block; 
		margin:0; 
		width:0; 
		height:0;
		border-left:5px solid transparent; 
		border-right:5px solid transparent; 
		border-top:9px solid #26669a;
	}
	#secondary h3.menu-title.open span {
		border-top:none;
		border-left:5px solid transparent; 
		border-right:5px solid transparent; 
		border-bottom:9px solid #26669a; 
	}
	/* remove hover effects for mobile */
	#secondary ul.menu li a:hover {
		color:inherit;
	}
	#secondary ul.menu li a:hover span {
		display:none;
	}
	#secondary .custom-sidebar,
	#secondary .posts-sidebar,
	#secondary .primary-sidebar { 
		display:none; 
	}
	.post .sub-page-links {
		display:block;
	}
	body.single #secondary {
		display:none;
	}
	#topbar a.nyu-law-home {
		float:left;
		margin:0 10px 0 0;
	}

	/* home page */
	.home #primary { 
		width:100%; 
		float:none; 
	}
	.home #primary .inner { 
		padding:0; 
	}
	.home #secondary { 
		display:none;
	}

	/* WP generated classes */
	.alignleft { 
		float:none; 
		margin:0; 
	}
	.alignright { 
		float:none; 
		margin:0; 
	}
	.wp-caption	{ 
		max-width:100%; 
	}
	.wp-caption.alignleft { 
		margin:15px 0; 
	}
	.wp-caption.alignright { 
		margin:15px 0; 
	}
	img.alignright { 
		margin:0 0 15px 0; 
	}
	img.alignleft { 
		margin:0 0 15px 0; 
	}
	ul.col-2 li	{ 
		width:100%; 
		float:none; 
	}
	ul.col-3 li	{ 
		width:100%; 
		float:none; 
	}
}

@media only screen and (max-width: 700px) {
	#topbar {
		padding:4px 4% 0px 4%;
	}
	#masthead { 
		padding:20px 0 0px 0; 
	}
	#topbar #search {
		display:none;
	}
	#masthead #logo { 
		width:50%;  
	} 
	#masthead #logo img { 
		max-width:200px;  
	} 
	#masthead .right {
		width:50%; 
		float:right;
	}
	#masthead .right .inner {
		padding:0;
	}
	#copyright span {
		display:block; 
	}
	h2.site-tagline {
		display:none;
	}
	h2.site-tagline-text {
		display:block;
	}
}
@media screen and (max-device-width: 480px) {
	/* this prevents iphone from making fonts larger */
  	body {
    	-webkit-text-size-adjust: none;
  	}
}
@media only screen and (max-width: 400px) {
	.archive h1.entry-title, .blog h1.entry-title {
		border-bottom:none;
	}
	.post h1 {
		line-height:1;
		margin:0 0 13px 0 !important;
	}
	.post h1 img.alignleft {
		display:block;
		float:none;
		top:0px;
	}
	.post.excerpt .thumb {
		width:150px;
		float:none;
	}
}



/*======================= Custom Pages ======================= */

/*
Added as per Clayton for custom pages
*/

.page-template-new-page-php #primary {
	float: none;
	width: 100%;
}

.page-template-new-page-php #primary .inner {
	padding: 15px 45px;
}

.page-template-new-page-php  #topbar {
	display: none;
}

.page-template-new-page-php #masthead {
	display: none;
}

.page-nypd-body-worn-camera-feedback h1.entry-title, .page-nypd-body-worn-camera-proposed-policy-fact-sheet h1.entry-title {
	display: none;
}

.page-nypd-body-worn-camera-proposed-policy-fact-sheet ol, .page-nypd-body-worn-camera-proposed-policy-fact-sheet ul {
	padding-left: 20px;
}

.page-template-new-page-php .langchoice {
	float: right;
	padding-bottom: 20px;
	font-size: 14px;
	font-family: Verdana, sans serif;
}

.page-template-new-page-php .langchoice a {
	text-decoration: underline;
	}

.page-template-new-page-php .langselected {
	color: #9e9e9e;
	
}

.page-template-new-page-php .buttonRow {
	margin: auto;
	padding-top: 20px;
	display: flex;
	justify-content: center;
	flex-flow: wrap;
	}

.page-template-new-page-php .button {
	float: left;
	padding-right: 20px;
	margin-bottom: 20px;
}

.page-template-new-page-php .btn {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #7f8182), color-stop(1, #c3c3c3));
	background:-moz-linear-gradient(top, #7f8182 5%, #c3c3c3 100%);
	background:-webkit-linear-gradient(top, #7f8182 5%, #c3c3c3 100%);
	background:-o-linear-gradient(top, #7f8182 5%, #c3c3c3 100%);
	background:-ms-linear-gradient(top, #7f8182 5%, #c3c3c3 100%);
	background:linear-gradient(to bottom, #7f8182 5%, #c3c3c3 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7f8182', endColorstr='#c3c3c3',GradientType=0);
	background-color:#7f8182;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:16px;
	padding:8px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #545454;
}
.page-template-new-page-php .btn:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c3c3c3), color-stop(1, #7f8182));
	background:-moz-linear-gradient(top, #c3c3c3 5%, #7f8182 100%);
	background:-webkit-linear-gradient(top, #c3c3c3 5%, #7f8182 100%);
	background:-o-linear-gradient(top, #c3c3c3 5%, #7f8182 100%);
	background:-ms-linear-gradient(top, #c3c3c3 5%, #7f8182 100%);
	background:linear-gradient(to bottom, #c3c3c3 5%, #7f8182 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c3c3c3', endColorstr='#7f8182',GradientType=0);
	background-color:#c3c3c3;
	color:#ffffff;
}
.page-template-new-page-php .btn:active {
	position:relative;
	top:1px;
}
