//  BASE VARS
//----------------------------------------------------------------
$fontHelvetica: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
$boxHeaderGradient: 3% 10%;
$boxHeaderGradientDark: 10% 20%;
$boxHeaderGradientBlue: #2a95c5 #21759b;

// Import
@import "mixins";
@import "layout";
@import "interface";

// Editor button
.wp_themeSkin span.mce_layerslider_button {
	background: url(../img/icon_16x16.png) 2px 2px no-repeat;
}

// Popup
.ls-pointer {
	width: 250px;
	min-height: 100px;
	position: absolute !important;
	margin: 40px 0 0 0;
	z-index: 2001;
	background: rgba(white, 0.95);
	box-shadow: 0px 0px 5px black;
	opacity: 0;

	&:before {
		content: '';
		display: block;
		position: absolute;
		top: -10px;
		left: 50%;
		z-index: -1;
		width: 20px;
		height: 20px;
		margin-left: -10px;
		border: 1px solid #dfdfdf;
		background: #f7f7f7;
		box-shadow: 0px 0px 5px black;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.header {
		height: 28px;
		margin: 0;
		border-top: 0 !important;
		font: normal normal bold 12px/28px Arial, serif;
		text-align: center !important;
	}
}

.ls-shortcode-pointer ul.inner,
.ls-font-search ul.inner  {
	max-height: 250px;
	overflow: auto;
	padding: 0 !important;
	margin: 5px !important;

	li {
		margin: 0;
		padding: 5px;
		border-radius: 3px;
		font: normal normal normal 14px/20px $fontHelvetica;
		cursor: pointer;

		&:hover {
			background: #2d92c7;
			@include gradient(#2d92c7, #23739d);
			color: white;
		}

		&.unselectable {
			background: none;
			color: black;
			cursor: normal;
		}

		div.preview {
			display: inline-block;
			width: 20px;
			height: 20px;
			position: relative;
			margin-right: 10px;
			overflow: hidden;
			border-radius: 3px;
			float: left;

			img {
				height: 20px;
				position: absolute;
				top: 0;
				left: 50%;
				margin-left: -10px;
			}
		}

		div.title {
			display: inline-block;
		}
	}
}

