/*
 * Styles specifically for the Yellow Pages Reviews widget in the WP admin interface
 * Is only loaded on widgets.php
 */

.clearfix, .widget-liquid-right .widget, .inactive-sidebar .widget, .widget-liquid-right {
	*zoom: 1;
}

.clearfix:before, .clearfix:after, .widget-liquid-right .widget:before, .inactive-sidebar .widget:before, .widget-liquid-right:before, .widget-liquid-right .widget:after, .inactive-sidebar .widget:after, .widget-liquid-right:after {
	display: table;
	content: "";
	line-height: 0;
}

.clearfix:after, .widget-liquid-right .widget:after, .inactive-sidebar .widget:after, .widget-liquid-right:after {
	clear: both;
}

.hide-text {
	font: 0/0 a;
	color: transparent;
	text-shadow: none;
	background-color: transparent;
	border: 0;
}

.input-block-level {
	display: block;
	width: 100%;
	min-height: 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.ypr-small-descption {
	font-size: 11px;
	margin-top: 4px;
	display: block;
}

/*----------------------------------------
Toggle Sections
-------------------------------------------*/

.ypr-widget-toggler {
	padding: 10px;
	margin: 0 0 10px;
	cursor: pointer;
	background-color: #EBEBEB;
	border: 1px solid #E5E5E5;
	display: block;
}

.ypr-widget-toggler span {
	background: url('../images/arrows.png') no-repeat 60% -107px;
	float: right;
	height: 12px;
	display: inline-block;
	width: 12px;
}

.ypr-widget-toggler.toggled span {
	background-position: 60% 1px;
}

.toggle-item {
	display: none;
}

.toggle-item p {
	padding: 0;
	margin: 0 0 10px;
}

.toggle-item.toggled {
	display: block;
}

.toggle-item select {
	background: #FFF;
}

.ypr-method-span:hover, .search-api-option:hover, .business-api-option:hover {
	cursor: pointer;
}

.ypr-method-label {
	padding-left: 4px;
}

.new-window {
	background: url('../images/new-window-icon.png') no-repeat right 4px rgba(0, 0, 0, 0);
	padding-right: 13px;
}

.ypr-usage-description {
	font-size: 11px;
	font-style: italic;
}

.ypr-usage-description span {
	display: block;
	font-weight: bold;
	font-style: normal;
}

/*----------------------------------------
Alerts
-------------------------------------------*/

.ypr-alert {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	padding: 8px 14px;
	color: #c09853;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-size: 13px;
	margin: 20px 0;
}

.ypr-alert > p {
	margin: 0 0 10px;
}

.ypr-alert > p:last-of-type {
	margin-bottom: 0;
}

.ypr-error {
	color: #B94A48;
	background-color: #F2DEDE;
	border-color: #EED3D7;
}

.ypr-error a {
	color: #B94A48 !important;
	font-weight: bold;
}

.ypr-widget-align-left {
	float: left;
	margin: 0 30px 30px 0;
}

.ypr-widget-align-right {
	float: right;
	margin: 0 0 30px 30px;
}

.set-business {
	margin: 0 0 15px;
}

.set-business > p {
	margin: 0 0 10px;
}

/* Cache */
.ypr-clear-cache {
	float: left;
}

.cache-clearing-loading.spinner {
	float: left;
}

.cache-message {
	float: right;
	max-width: 160px;
	font-style: italic;
	color: #B9B9B9;
	display: none;
}

/* Widget Footer Links */

.ypr-widget-footer-links {
	font-style: italic;
	font-size: 11px;
}

.ypr-widget-footer-links a {
	margin-right: 10px;
}

/* Pro Upgrades */

.pro-only {
	padding: 10px;
	border-radius: 8px;
	color: #C09853;
	background-color: #FCF8E3;
	border: 1px solid #FBEED5;
	margin: 0 0 10px;
}

.pro-only-p, .widget .widget-inside p.pro-only-p {
	padding: 0;
	margin: 0;
}
.pro-only a {
	font-weight: bold;
	color: #C09853;
	text-decoration: none;
}

.pro-only-p > a  {
	display: inline-block;
	margin: 0 0 10px;
	font-weight: bold;
	color: #C09853;
	cursor: pointer;
}

.pro-upgrade-bottom {
	margin: 0 0 10px;
}


p.pro-field {
	opacity: 0.6;
	padding: 8px;
	border: 1px solid #CCC;
	border-radius: 5px;
	background: rgba(255, 255, 0, 0.17);
}
