/**
 * Plugin admin end styles
 *
 * @package Storefront_Pro_Skins
 * @version 1.0.0
 */
#customize-header-actions #sfp-skins-save-dialog {
	position: absolute;
	top: 0;
	left: 52px;
}

#sfp-skins-overlay, #sfp-skins-notice, #sfp-skins-dialog {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	background: rgba(0,0,0,0.5);
	z-index: 97;
}

#sfp-skins-notice {
	height: 52px;
	width: 520px;
	text-align: center;
	background: none;
}

#sfp-skins-notice-message {
	padding: 1em 1.6em;
	display: inline-block;
	font: 200 25px lato, sans-serif;
	background: #0085ba;
	color: #fff;
	border-radius: 99px;
}

#sfp-skins-dialog {
	background: none;
	width: 90vw;
	max-width: 520px;
	height: 120px;
	background: #fff;
	padding: 0 16px;
	header {
		padding: 16px 16px 11px;
		font: 300 16px sans-serif;
		background: #ddd;
		text-transform: uppercase;
		margin: 0 -16px 16px;
		.dashicons-no {
			float: right;
			margin: -16px;
			padding: 13px;
			cursor: pointer;
		}
	}
	> input, > button {
		text-align: center;
		line-height: 35px;
		padding: 0;
		margin: 0;
		box-sizing: border-box;
		height: auto;
		box-shadow: none;
		float: left;
		width: 21%;
		border-radius: 0 5px 5px 0;
	}
	input {
		padding: 0 0.5em;
		text-align: left;
		width: 79%;
		border-radius: 5px 0 0 5px;
	}
	.notice.already-exists {
		width: 100%;
		position: absolute;
		bottom: 124%;
		padding: 1em;
		box-sizing: border-box;
		left: 0;
		margin: 0;
		border-radius: 5px;
		* {
			margin: 0;
		}
		button {
			float: right;
		}
	}
}

.no-skins {
	font-size: 1.1em;
	color: #777;
}

h3.sfp-skin-button {
	padding: 1em;
	background: #fff;
	border: 1px solid #ccc;
	cursor: pointer;
	opacity: 0.88;
	position: relative;
	overflow: hidden;
	&:hover {
		opacity:1;
	}

	.sync,
	.delete {
		position: absolute;
		top: 50%;
		margin-top: -10px;
		right: 0.5em;
	}

	.sync {
		background: inherit;
		right: 1.6em;
		margin-top: -15px;
		padding: 5px 0;
		transition: opacity 0.35s;
		opacity: 0;
	}

	&:hover {
		.sync {
			opacity: 1;
		}
	}
	~ .no-skins {
		display: none;
	}
}

#sfp-skins-actions {
	position: absolute;
	top: 45px;
	left: 0;
	right: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0 1em;
	display: none;
	#customize-header-actions + & {
		display: block;
	}
	.button {
		margin: 7px 0;
		padding: 0 10px 0 7px;
		.dashicons {
			vertical-align: middle;
			margin-bottom: 2px;
		}
	}

	#sfp-skins-view {
		float: left;
	}
}

body #customize-controls {
	#customize-notifications-area,
	.wp-full-overlay-sidebar-content {
		top: 90px;
	}
}

body[class*='sfps-logged-'] {
	#sfps-connecting {
		display: none;
	}
}

#accordion-section-sfp_skins_section > .accordion-section-title {
	display: none;
}

#sfps-new-user a.btn,
#sfps-user-actions a.btn {
}

#sfps-user-actions {
	a.btn {
		&.right {
			//width: 25%;
		}
	}
}

#sfps-app-wrap, #sfps-app {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000000;
	background: rgba(0,0,0,0.25);
	margin: auto;
}

#sfps-app {
	z-index: 0;
	background: #fff;
	width: calc( 100vw - 50px );
	height: calc( 100vh - 50px );
}

#sfps-app-wrap > i {
	display: block;
	float: right;
	font-size: 35px;
	color: #fff;
	padding: 3px;
	position: relative;
	z-index: 7;
	cursor: pointer;
	height: auto;
	width: auto;
	text-shadow: -1px 1px 3px rgba(0,0,0,.5);
}

#sfps-new-user,
#sfps-user-actions {
	display: none;
}

.sfps-logged-out #sfps-new-user,
.sfps-logged-in #sfps-user-actions {
	display: block;
}
