/**********************************
	Quick Post Popup
**********************************/

.persona-overlay{
	position: fixed;
	z-index: 999998;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.7);
}

.new-post-popup{
	display: none;
	position: fixed;
	z-index: 999999;
	top: 25%;
	left: 50%;
	width: 500px;
	height: 240px;
	margin-left: -250px;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	background-color: #FFF;
}

.new-post-popup a.close{
	position: absolute;
	padding: 12px 20px;
	color: #B7B5B5;
	position: absolute;
	right: 0;
	text-shadow: 0 1px 0 #FFFFFF;
	text-decoration: none;
}

.new-post-popup a.close:hover{
	color: #333;
}

.new-post-popup h3{
	background-color: #DCDCDC;
	height: 28px;
	color: #656565; 
	border-radius: 4px 4px 0 0;
	text-align: center;
	text-shadow: 0 1px 0 #FFFFFF;
	cursor: default;
	border-bottom: 1px solid #CDCDCD;
	font-weight: 100;
	margin: 0;
	padding-top: 12px;
	background-image: -webkit-linear-gradient(top, #E8E8E8, #E6E6E6); 
	background-image:    -moz-linear-gradient(top, #E8E8E8, #E6E6E6);
	background-image:     -ms-linear-gradient(top, #E8E8E8, #E6E6E6);
	background-image:      -o-linear-gradient(top, #E8E8E8, #E6E6E6);
}

.new-post-popup input[disabled],
.new-post-popup textarea[disabled]{
	background-color: #FFF;
	opacity: 0.5;
}

.new-post-popup input[disabled="disabled"],
.new-post-popup textarea[disabled="disabled"]{
	background-color: #FFF;
	opacity: 0.5;
}

.new-post-popup a.submit,
.new-post-popup a.submit{
	background-color: #21759B;
	background-image: -webkit-linear-gradient(top, #2A95C5, #21759B); 
	background-image:    -moz-linear-gradient(top, #2A95C5, #21759B);
	background-image:     -ms-linear-gradient(top, #2A95C5, #21759B);
	background-image:      -o-linear-gradient(top, #2A95C5, #21759B);
	border-color: #21759B #21759B #1E6A8D;
	box-shadow: 0 1px 0 rgba(120, 200, 230, 0.5) inset;
	color: #FFFFFF;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
	border-radius: 3px;
	float: right;
	font-size: 14px;
	-moz-box-sizing: border-box;
	padding: 10px 20px 10px 20px;
	text-align: center;
	border-style: solid;
	border-width: 1px;
	cursor: pointer;
	display: inline-block;
	margin: 0 20px 0 0;
}

.new-post-popup a.submit.disable{
	color: #7BB0C2;
}

.new-post-popup a.submit.enable{
	color: #FFF;
}

#new-status-popup input.status-title{
	margin: 10px 20px 0 20px;
	width: 300px;
	font-size: 14px;
	border: none;
	float: left;
	font-family: 'PT Sans', Arial, Helvetica, sans-serif;
	padding: 0 20px 0 0;
	color: #C6C6C6;
}

#new-status-popup input.status-title:focus{
	color: #333;
	box-shadow: none;
}

#new-status-popup input.status-title.loading{
	background-image: url('../images/loading.gif');
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

#new-status-popup textarea.new-status{
	margin: 30px 20px 20px 20px;
	border: none;
	border-bottom: 1px solid #DCDCDC;
	font-family: 'PT Sans', Arial, Helvetica, sans-serif;
	width: 460px;
	resize: none;
	height: 85px;
	font-size: 16px;
	padding: 0 0 10px 0;
	box-shadow: none;
}

#new-status-popup.show,
#new-image-popup.show{
	display: block;
	opacity: 1;
	-webkit-transition: all 0.8s ease; 
	-moz-transition: all 0.8s ease; 
	transition: all 0.8s ease;
}

#new-status-popup.hide,
#new-image-popup.hide{
	opacity: 0;
	-webkit-transition: opacity 0.3s ease; 
	-moz-transition: opacity 0.3s ease; 
	transition: opacity 0.3s ease;
}

#new-image-popup{
	top: 50%;
	max-height: 600px;
	height: auto;
	padding-bottom: 20px;
	margin-top: -300px;
}

#new-image-popup img{
	max-width: 100%;
	display: block;
	margin: 0 auto;
	max-height: 375px;
}

#new-image-popup div{
	margin: 15px 20px 10px 20px;
}

#new-image-popup input.image-title{
	border: none;
	border-bottom: 1px solid #DCDCDC;
	font-family: 'PT Sans', Arial, Helvetica, sans-serif;
	font-size: 20px;
	padding: 0 0 10px 0;
	font-weight: 900;
	text-align: center;
	width: 100%; 
}

#new-image-popup input.image-excerpt{
	border: none;
	padding: 5px 0 20px 0;
	margin: 15px 0 10px 0;
	border-bottom: 1px solid #E7E7E7;
	width: 100%; 
}

#new-image-popup .select-category{
	opacity: 0.5;
	margin: 10px 0 0 20px;
	color: #333;
}

#new-image-popup .select-category:hover{
	opacity: 1;
}

span.loading{
	width: 12px;
	height: 12px;
	background: #FFF url('../images/loading.gif') no-repeat;
	float: right;
	margin: 13px 30px 0 0;
}

.persona-background-pattern:hover{
	cursor: pointer;
}

.persona-background-pattern #background-pattern-picker{
	background-color: #FFF;
	width: 320px;
	height: 307px;
	cursor: default;
	padding: 10px 0 0 10px;
}

#wpadminbar #background-pattern-picker .save-pattern{
	position: absolute;
	height: 37px;
	z-index: 99999;
	bottom: 0;
	left: 0;
	width: 100%; 
}

#wpadminbar #background-pattern-picker .save-pattern a{
	background-color: #DCDCDC;
	background-image: -moz-linear-gradient(bottom, #EBEBEB, #F4F4F4);
	text-align: center;
	text-shadow: 0 1px 0 #FFF;
	padding: 5px;
	border-top: 1px solid #EAEAEA;
}

#wpadminbar #background-pattern-picker .save-pattern.disabled a{
	color: #A0A0A0;
	cursor: default;
}

#wpadminbar #background-pattern-picker .save-pattern.enabled a{
	color: #737373;
}

#wpadminbar #background-pattern-picker ul{
	overflow: hidden;
	padding-bottom: 50px;
	height: 220px; 
	overflow: auto;
}

#wpadminbar #background-pattern-picker ul li{
	width: 50px;
	height: 50px;
	display: block;
	float: left;
	margin: 10px;
}

#wpadminbar #background-pattern-picker ul li:last-child{
	margin-bottom: 25px;
}

#wpadminbar #background-pattern-picker ul li a{
	width: 50px;
	height: 50px;
	padding: 0;
	display: block;
	border-radius: 3px;
	border: 4px solid #DCDCDC;
	overflow: hidden;
}

#wpadminbar #background-pattern-picker ul li a:hover{
	border: 4px solid #C2C2C2;
}

#wpadminbar #background-pattern-picker ul li a.selected{
	border: 4px solid #5B9AF9;
}



#wp-admin-bar-persona-quick-image .ab-icon{
	width: 22px; 
	background-image: url('../images/drop.png');
	background-repeat: no-repeat;
	background-position: 0;
}

#wp-admin-bar-persona-background-pattern .ab-icon{
	width: 16px;
	height: 16px; 
	background-image: url('../images/settings.png');
	background-repeat: no-repeat;
	background-position: 0;
}

@media screen and
	(-o-min-device-pixel-ratio: 5/4),
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi) {

	#wp-admin-bar-persona-quick-image .ab-icon{
		background-image: url('../images/drop@2x.png');
		background-size: 22px 14px;
	}

	#wp-admin-bar-persona-background-pattern .ab-icon{
		background-image: url('../images/settings@2x.png');
		background-size: 16px 16px;
	}

}
