/*
Theme Name: Uberty V2.0
Theme URI: http://u.prosthes.us
Description: Uberty Theme
Author: Joshua Johnson
Version: 1.0
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	-webkit-text-size-adjust:none;
}

body {
	font-family: 'Note Serif', times, serif;
	font-size: 16px;
	letter-spacing: 0.05em;
	background: #fbfaf8;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

a {
	text-decoration: none;
	color: #ff9900;
}

a:hover {
	color: #333;
}

p {margin-bottom: 15px;}

h1 {
	font-family: 'Raleway', helvetica, arial, sans-serif;
	font-weight: 300;
}

h2 {
	font-family: 'Raleway', helvetica, arial, sans-serif;
	padding: 10px 0px 10px 0px;
	color: #333;
	font-size: 18px;
	width: intrinsic;
	font-weight: 300;
}


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

#wrapper {
	margin: 0px 40px;
}

#header {
	border-bottom: 1px solid #333;
	overflow: hidden;
	height: 40px;
}

	#header h1 {
		float: left;
		width: intrinsic;
		padding: 5px 20px;
		border-right: 1px solid #333;
		height: 100%;
		font-size: 24px;
	}

	#head-flip {
		float: left;
		padding: 10px 20px;
		font-size: 14px;
		font-family: 'Raleway', helvetica, arial, sans-serif;
		color: #666;
	}
	

#main {
	margin-top: 200px;
	width: 100%;
}

#footer {
	width: 100%;
	font-size: 12px;
	margin-bottom: 70px;
	text-align: center;
}

#upbutton {
	position: fixed;
	left: 0px;
	bottom: 0px;
	background: #fbfaf8;
	height: 20px;
	padding: 5px 0;
	border-top: 1px solid #333;
	width: 100%;
	text-align: center;
	color: #333;
	cursor: pointer;
	-webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
}

.clearfix {
	clear: both;
}

.notfound {
	background-color: #ff9900;
	padding: 40px;
	color: #fbfaf8;
	overflow: hidden;
	font-size: 20px;
	text-align: center;
	
}

/* Main Menu */

#menu-wrapper {
	position: fixed;
	background: #fbfaf8;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #333;
	-webkit-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
}

	.submit {
		border-left: 1px solid #333;
		display: block;
		padding: 10px 20px;
		margin-bottom: 20px;
		width: intrinsic;
		float: right;
		height: 100%;
	}
	
		.submit a {
			color: #333;
		}
		
		.submit a:hover {
			color: #ff9900;
		}
		
	.share {
		float: left;
		margin-left: 1px;
	}
	
		.share li {
			padding: 20px;
			background: #333;
			color: #fbfaf8;
			display: block;
			float: left;
			border-right: 1px solid #fbfaf8;
			height: 20px;
		}
		
		.share li:first-child {
			background: #ff9900;
			font-family: 'Raleway', helvetica, arial, sans-serif;
			padding: 20px;
			font-weight: 300;
			font-size: 14px;
		}
		
		.share a {
			color:#fbfaf8;
		}
		
		.share a:hover {
			color: #ff9900;
		}
	
	.search-bar {
		width: 100%;
		height: 40px;
		overflow: hidden;
		border-bottom: 1px solid #333;
		background: #333;
	}
	
	.search-bar input {
		background: #333;
		color: #ff9900;
		border: none;
		padding: 10px 20px;
		font-size: 16px;
		width: 90%;
		margin:0;
		outline: 0;
	}
	
		.search-bar input::-webkit-input-placeholder {
			color: #ff9900;
			font-family: 'Raleway', helvetica, arial, sans-serif;
			padding-left: 2px;
		}

		.search-bar input::-moz-placeholder {
			color: #ff9900;
			font-family: 'Raleway', helvetica, arial, sans-serif;
			padding-left: 2px;
		}		
		

	ul.letter-menu {
		overflow: hidden;
		width: 100%;
		height: 40px;
		padding: 0;
		border-bottom: 1px solid #333;	
	}
	
		ul.letter-menu li{
			padding: 10px 0;
			width: 3.7037%;
			background: transparent;
			display:block;
			font-size: 18px;
			text-align: center;
			float: left;
			margin-left: -1px;
			border-right: 1px solid #333;
		}
	
		ul.letter-menu li:first-child {
			background: #ff9900;
			padding: 8px 0;
			font-family: 'Raleway', helvetica, arial, sans-serif;
			font-weight: bold;
			font-size: 19px;
		}
		
		ul.letter-menu li:last-child {
			border-right: none;
		}
	
		.letter-menu a {
			color: #333;
		}
		
		.letter-menu a:hover {
			color: #ff9900;
		}
		
		.letter-menu li:first-child a:hover {
			color: #fbfaf8;
		}
		
	ul.tag-menu {
		position: fixed;
		top: 160px;
		left: 0;
		z-index: 900;
		color: #fbfaf8;
		background: #333;
		width: 100%;
		overflow: hidden;
		font-size: 10px;
		padding-top: 10px;
		padding-bottom: 20px;
		text-transform: uppercase;
		-webkit-box-shadow: 0 0 20px 10px rgba(0,0,0,0.2);
		-moz-box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
		box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.2);
		border-bottom: 1px solid #fbfaf8;		
		
	}
	
		ul.tag-menu a {
			color: #fbfaf8;
		}
		
		ul.tag-menu a:hover {
			color: #ff9900;
		}
	
		ul.tag-menu li {
			display: block;
			float: left;
			background: #333;
			padding: 10px 0 0 20px;
		}
		
		.inactive {
			display: none;
		}
		
		.tag-button {
			cursor: pointer;
			text-align: center;
			color: #ff9900;
			padding: 10px 0;
			font-family: 'Raleway', helvetica, arial, sans-serif;
		}
		
		.tag-button:hover {
			color: #333;
		}

	#feature-posts {
		width: 100%;
	}
	
		.recommend-intro, .recommend-archive-button {
			color: #fbfaf8;
			background-color: #ff9900;
			padding: 10px;
			font-size: 12px;
			font-family: 'Raleway', helvetica, arial, sans-serif;
		}
			
			.recommend-archive-button {
				margin-bottom: 15px;
				text-align: center;
				font-size: 12px;
				padding: 10px;
				border-top: 1px solid #fbfaf8;
			}
			
			.recommend-archive-button a {
				color: #fbfaf8;
			}
			
			.recommend-archive-button a:hover {
				color: #333 !important;
			}
			
			#recommend-single {
				color: #fbfaf8;
				background-color: #ff9900;
				padding: 10px;
				font-size: 12px;
				font-family: 'Raleway', helvetica, arial, sans-serif;
				background-color: #ff9900;
				margin-bottom: 0;
			}
			
			#recommend-single .single-archive {
				float: right;
			}
			
				.single-archive a {
					color: #fbfaf8;
				}
				
				.single-archive a:hover {
					color: #333;
				}
		
		h3 {
			padding-left: 0px;
			margin: 40px 0 5px 0;
			font-family: 'Raleway',helvetica, arial, sans-serif;
			font-weight: 300;
		}
		
		.recommend-author {
			width: 100%;
			margin: 0;
			padding: 0;
			border-top: 1px solid #fbfaf8;
			color: #fbfaf8;
			background: #333;
		}
		
		.recommend-author h2{
			font-size: 18px;
			margin: 0 0 0 0;
			padding: 10px 0px 10px 210px;
			color: #fbfaf8;
			font-family: 'Raleway', helvetica, arial, sans-serif;

		}
		
		ul.recommend-feature {
			color: #fbfaf8;
			background-color: #333;
			border-top: 1px solid #fbfaf8;
			font-size: 14px;
			min-height: 150px;
		}
		
			li.recommend-thumb, li.recommend-thumb-big, li.recommend-thumb-small {
				width: 150px;
				height: auto;
				border-right: 1px solid #fbfaf8;
				border-bottom: 1px solid #fbfaf8;
				margin-right: 10px;
				margin-bottom: 5px;
				line-height: 0;
				float: left;
			}
			
				li.recommend-thumb-big {
					width: 200px;
				}
				
					li.recommend-thumb img, li.recommend-thumb-big img {
						width: 100%;
						height: auto;
					}
				
				li.recommend-thumb-small {
					width: 40px;
					margin-bottom: 0;
				}
		
			li.recommend-excerpt, li.recommend-content, li.recommend-archive, li.recommend-list {
				padding: 10px;

			}
							
				li.recommend-content {
					font-size: 16px;
					min-height: 130px;
					padding-left: 210px;
				}
				
				li.recommend-list {
					height: 20px;
				}
				
				li.recommend-excerpt p {
					margin-bottom: 0;
				}
				
				li.recommend-content p {
					width: 75%;
				}
				
				li.recommend-archive p {
					width: 75%;
					margin-bottom: 5px;
				}
				
				li.recommend-content a:hover {
					color:#fbfaf8;
				}
				
				li.recommend-archive a:hover {
					color: #fbfaf8;
				}
				
				.recommend-title{
					font-size: 16px;
					margin-bottom: 10px;
					display: block;
					font-family: 'Raleway', helvetica, arial, sans-serif;

				}
				
				.commentary {
					background: #333;
					padding: 10px;
					font-size: 14px;
					border-bottom: 1px solid #fbfaf8;					
				}
				
				.commentary p {
					width: 65%;
					color: #fbfaf8;
				}
				
		
		.recent-recommend {
			width: 60%;
			float: left;
		}
		
		.recent-posts {
			width: 40%;
			float: right;
		}
		
		.recommend-head, .recent-head {
			padding: 10px 0;
			overflow: hidden;
			font-family: 'Raleway',helvetica, arial, sans-serif;
			font-size: 14px;
		}
		
		.recent-head {
			margin-left: 40px;
		}
		
		.recent-posts a, .recent-recommend a {
			color: #fbfaf8;
		}
		
		.recent-posts a:hover, .recent-recommend a:hover {
			color: #ff9900;
		}
		
		ul.recent-entry {
			margin-left: 40px;
			background-color: #333;
			padding: 10px;
			color: #fbfaf8;
			overflow: hidden;
			border-bottom: solid 1px #fbfaf8;
			font-size: 12px;
		}
		
		ul.recent-entry li {
			float: left;
		}
	
			li.recent-author {
				width: 40%;
				min-height: 1px;
			}
				
			li.recent-documents {
				width: 60%;
				min-height: 1px;
				font-family: 'Raleway', helvetica, arial, sans-serif;
				font-size: 11px;
			}
			
				ul.recent-entry li.recent-documents ul li {
					margin-left: 10px;
				}
			
				ul.recent-entry li.recent-documents ul li:before {
					content: ", ";
				}
		
				ul.recent-entry li.recent-documents ul li:first-child:before {
					display: none;
				}


/* Post Types */

.add-post {
	margin: 40px 0;
}
	
	.add-post .text{
		width: 100%;
		background: #333;
		border-bottom: 1px solid #fbfaf8;
	}
	
	.add-post .text p {
		font-size: 10px;
		padding: 10px;
		width: 70%;
		color: #fbfaf8;
		border-bottom: 1px solid #333;
		margin-bottom: 0;
		font-family: 'Raleway', helvetica, arial, sans-serif;
		
	}

	.acf-th-document_url, .field_type-file, .order, .remove, .acf-th-document_file, .no-file {
		display: none! important;
	}
	
	.add-post .field {
		background: #ff9900;
		padding: 20px;
		border-bottom: 1px solid #fbfaf8;
	}
	
	.add-post h3 {
		display: none;
	}
	
	.add-post p {
		font-size: 12px;
		margin-bottom: 10px;
		width: 50%;
	}
	
	.add-post p label {
		font-size: 16px;
		font-weight: bold;
		display: block;
		margin-bottom: 5px;
	}
	
	.add-post input.text {
		width: 600px;
		margin-bottom: 5px;
		border: 1px solid #333;
		padding: 5px;
		color: #333;
		background: #fbfaf8;
		outline: 0;
	}
	
	.add-post select {
		margin-bottom: 20px;
	}
	
	.acf-th-full_name {
		text-align: left;
	}
	
	
	.acf-th-full_name span {
		font-size: 12px;
	}
	
	.sub-field-instructions {
		font-size: 12px;
		font-weight: normal;
	}
	
	.row-clone {
		display:none;
	}

	.add-row-end {
		background: #333;
		color: #fbfaf8;
		padding: 5px;
		font-size: 12px;
		margin-bottom: 5px;
	}
	
	.add-row-end:hover {
		color:#ff9900;
	}


.resource-post {
	color: #333;
	
	margin: 40px 0;
}
	
	ul.resource-cat {
		padding: 10px;
		overflow: hidden;
		font-family: 'Raleway',helvetica, arial, sans-serif;
		font-size: 14px;
	}
	
	ul.resource-cat li {
		float: left;
	}
	
	ul.resource-entry {
		background-color: #ff9900;
		padding: 10px;
		color: #fbfaf8;
		overflow: hidden;
		border-bottom: solid 1px #fbfaf8;
	}
	
	ul.resource-entry a {
		color: #fbfaf8;
	}
	
	ul.resource-entry a:hover {
		color: #333;
	}
	
	ul.resource-entry li {
		float: left;
	}
	
		li.resource-author {
			width: 20%;
			min-height: 1px;
		}
		
		li.resource-other {
			width: 20%;
			min-height: 1px;
		}
		
		li.resource-documents {
			width: 35%;
			min-height: 1px;
		}
		
		li.resource-tags {
			width: 20%;
			min-height: 1px;
		}
		
		li.resource-format {
			width: 5%;
			min-height: 1px;
		}
	
	ul.resource-entry li ul li {
		float: none;
		width: auto;
	}
	
		ul.resource-entry li.resource-tags ul, ul.resource-entry li.resource-documents ul {
			margin-right: 10px;
		}
		
		ul.resource-entry li.resource-documents ul li {
			display: inline;
			padding-right: 0;
			margin-right: 0;
			font-family: 'Raleway', helvetica, arial, sans-serif;
			font-weight: 600;
			font-size: 14px;
		}
		
		ul.resource-entry li.resource-documents ul li:before {
			content: ", ";
		}
		
		ul.resource-entry li.resource-documents ul li:first-child:before {
			display: none;
		}
	
		ul.resource-entry li.resource-tags ul li {
			display: inline;
			font-size: 12px;
			text-transform: uppercase;
		}
		
		ul.resource-entry li.resource-tags ul li:before {
			content: " / ";
		}
		
		ul.resource-entry li.resource-tags ul li:first-child:before {
			display: none;
		}
		
		ul.resource-entry li.resource-format {
			font-size: 12px;
			text-align: center;
		}	


/* Mobile Styles */

@media only screen and (max-width:650px) and (min-device-width :700px), 
only screen and (max-device-width:480px) and (orientation:portrait), 
only screen and (max-device-width:480px) and (orientation:landscape) {
	
	#wrapper {
		margin: 0 10px;
	}
	
	#header {
		float: left;
		width: 30%;
	}
	
	#header h1 {
		line-height: 20px;
		text-align: center;
		border: none;
		font-size: 20px;
		padding: 10px 0px;
		text-alin: center;
		width: 100%;
		margin: 0 auto;
		font-weight: normal;
	}
	
	#head-flip {
		display: none;
	}
	
	.submit {
		display: none;
		
	}
	
	.search-bar {
		float: right;
		width: 70%;
	}
	
	.search-bar input {
		padding: 10px 10px;
	}
	
	ul.letter-menu {
		height: 50px;
	}
	
	ul.letter-menu li {
		font-size: 14px;
		padding: 5px 0 0 0;
		border-right: none;	
		margin-left: 0;
		width: 7.14%;
	}
	
	ul.letter-menu li:first-child {
		font-size: 16px;
		padding: 14px 0;
		background: #ff9900;
		border-right: 1px solid #333;
		margin-left: -1px;
		height: 50px;	
	}
	
		ul.letter-menu li:first-child a {
			color: #333;	
		}
		
		ul.letter-menu li:first-child a:hover {
			color: #fbfaf8;	
		}
	
	.tag-button {
		height: 18px;
		font-size: 14px;
		padding: 10px 0;
	}
	
	ul.tag-menu {
		position: absolute;
		top: 128px;
		left: 0;
		z-index: 900;
		padding: 0;
		padding-top: 5px;
		border: none;
	}
	
	ul.tag-menu li {
		float: none;
		border-bottom: 1px solid #fbfaf8;
		padding-bottom: 10px;
		font-size: 14px;
	}
	
	.recent-recommend, .recent-posts {
			width: 100%;
			float: none;
	}
	
	.recent-head {
		margin-left: 0;
	}
	
	#main {
		margin-top: 150px;
	}
	
	ul.recent-entry {
		margin-left: 0;
	}
	
		li.resource-author {
			width: 50%;
			min-height: 1px;
		}
		
		li.resource-other {
			display: none;
		}
		
		li.resource-documents {
			width: 50%;
			min-height: 1px;
		}
		
		li.resource-tags {
			display: none;
		}
		
		li.resource-format {
			display: none;
		}
		
	li.recommend-content p {
		width: 100%;
	}
				
	li.recommend-archive p {
		width: 100%;
	}
	
	.commentary p {
		width: 100%
	}
	
	.recommend-author h2{
			padding: 10px 0px 10px 10px;
	}
	
	li.recommend-content {
		padding-left: 10px;
	}
}
	