/**
 * Included on administration / settings screens that use the settings api
 */
.input-prepend {
    margin-bottom: 5px;
    font-size: 0;
    white-space: nowrap;
    vertical-align: top;
}
.input-prepend.add-on {
	font-size: 12px;
}

#lp_twitter {
	width: 15em;
	margin-right: 10px;
}

#lp_phone_number {
	width: 206px;
	margin-right: 10px;
}

.input-prepend input {
    position: relative;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius:    0 3px 3px 0;
    border-radius:         0 3px 3px 0;
}

.input-prepend .add-on,
.input-prepend.add-on {
    display: inline-block;
    width: auto;
    min-width: 16px;
    height: 15px;
    padding: 3px 5px;
    margin: 1px -2px 1px 0px;
    line-height: 15px;
    text-align: center;
    text-shadow: 0 1px 0 #ffffff;
    background-color: #eeeeee;
    border: 1px solid #ccc;
}

.input-prepend .add-on:first-child,
.input-prepend.add-on:first-child {
    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius:    3px 0 0 3px;
    border-radius:         3px 0 0 3px;
}

table.description {
    font-style: italic;
    color: #666;
}

table.description tr td:first-child {
    padding-left: 0;
}

#icon-livepress-settings {
    background-image: url("../img/admin-screen-icon.png"); /* TODO This icon (and it's 2x) could use some graphic designer love to look more like wp icons. ~tddewey */
}

/**
 * API Authentication styles
 */
#api_key {
	font-family: Monoco, monospace;
	font-size: 16px;
	margin: 0 10px;
	padding: 5px;
}

#api_key_status {
    padding: 7px 0 2px 18px;
    width: 150px;
}

#api_key_status.valid_api_key {
    background: url(../img/icon-authenticated.png) 5px 10px no-repeat;
    color: green;
    font-size: 11px;
}

#api_key_status.invalid_api_key {
    color: red;
}

/**
 * Settings screen error (and success) messages
 */

.error h2 {
	padding-bottom: 0;
}

div.lp-connection,
div.lp-enabled,
div.lp-authorization-key,
div.lp-activated {
	background-image: url(../img/livepress-logo-large.png);
	background-repeat: no-repeat;
	background-position: 15px 15px;
}

div.lp-connection p,
div.lp-enabled p,
div.lp-authorization-key p,
div.lp-activated p,
div.lp-connection h2,
div.lp-enabled h2,
div.lp-authorization-key h2,
div.lp-activated h2 {
	padding-left: 85px; /* background image is 60px wide, 15px left position */
}

div.lp-connection,
div.lp-enabled,
div.lp-authorization-key,
div.lp-activated {
	background-image: url(../img/livepress-logo-large.png);
	background-repeat: no-repeat;
	background-position: 15px 15px;
}

span.lp-verification-code {
	font-family: monospace;
	font-size: 22px;
	font-weight: bold;
	color: #228B22;
}

.error .explanation,
.lp-enabled .explanation {
	font-size: 16px;
}

.error .solution,
.lp-enabled .solution {
	font-size: 12px;
}

div.lp-connection {
	border-left-color: #ffba00;
}

.error .lp-button {
	text-decoration: none;
}

.lp-button {
	display: inline-block;
	cursor: pointer;
	height: 40px;
	font: italic bold 14px/40px Aller, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #262324;
	padding: 0 15px;
	border: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-webkit-transform: skew(-10deg, 0);
	-moz-transform: skew(-10deg, 0);
	-ms-transform: skew(-10deg, 0);
	-o-transform: skew(-10deg, 0);
	transform: skew(-10deg, 0);
	background: #fff000;
	background: -moz-linear-gradient(top, #fff000 0%, #ffcf00 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff000), color-stop(100%, #ffcf00));
	background: -webkit-linear-gradient(top, #fff000 0%, #ffcf00 100%);
	background: -o-linear-gradient(top, #fff000 0%, #ffcf00 100%);
	background: -ms-linear-gradient(top, #fff000 0%, #ffcf00 100%);
	background: linear-gradient(to bottom, #fff000 0%, #ffcf00 100%);
	/*	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff000', endColorstr='#ffcf00',GradientType=0 );
	*/
	-webkit-box-shadow: inset 0 1px 0 #ffff00, 0 1px 1px rgba(0, 0, 0, .25);
	-moz-box-shadow: inset 0 1px 0 #ffff00, 0 1px 1px rgba(0, 0, 0, .25);
	-ms-box-shadow: inset 0 1px 0 #ffff00, 0 1px 1px rgba(0, 0, 0, .25);
	-o-box-shadow: inset 0 1px 0 #ffff00, 0 1px 1px rgba(0, 0, 0, .25);
	box-shadow: inset 0 1px 0 #ffff00, 0 1px 1px rgba(0, 0, 0, .25);
	outline: 0;
}

.lp-button span {
	display: block;
	-webkit-transform: skew(10deg, 0);
	-moz-transform: skew(10deg, 0);
	-ms-transform: skew(10deg, 0);
	-o-transform: skew(10deg, 0);
	transform: skew(10deg, 0);
}

.lp-button:hover {
	background: #ffcf00;
	background: -moz-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffcf00), color-stop(100%, #fff000));
	background: -webkit-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: -o-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: -ms-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: linear-gradient(to bottom, #ffcf00 0%, #fff000 100%);
	color: #262324;
	/*	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffcf00', endColorstr='#fff000',GradientType=0 );
	*/
}

.lp-button:active {
	background: #ffcf00;
	background: -moz-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffcf00), color-stop(100%, #fff000));
	background: -webkit-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: -o-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: -ms-linear-gradient(top, #ffcf00 0%, #fff000 100%);
	background: linear-gradient(to bottom, #ffcf00 0%, #fff000 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcf00', endColorstr='#fff000', GradientType=0);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 1px rgba(0, 0, 0, .25);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .5), inset 0 1px 1px rgba(0, 0, 0, .25);
	-ms-box-shadow: 0 1px 0 rgba(255, 255, 255, .5), inset 0 1px 1px rgba(0, 0, 0, .25);
	-o-box-shadow: 0 1px 0 rgba(255, 255, 255, .5), inset 0 1px 1px rgba(0, 0, 0, .25);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .5), inset 0 1px 1px rgba(0, 0, 0, .25);
}

/**
 * HiDPI Graphics
 */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
    #icon-livepress-settings {
        background-image: url("../img/admin-screen-icon-2x.png");
        background-size: 32px auto;
    }

	div.lp-connection,
	div.lp-enabled,
	div.lp-authorization-key,
	div.lp-activated {
		background-image: url(../img/livepress-logo-large-2x.png);
		background-size: 60px auto;
	}
}
