//  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
.mce_layerslider_button,
.mce-i-layerslider_button {
	font: 400 20px/1 dashicons !important;
	padding: 0;
	vertical-align: top;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-left: -2px;
	padding-right: 2px;
}

span.mce_layerslider_button:before,
.mce-i-layerslider_button:before {
	content: "\f233";
}

// Popup
.ls-pointer {
	width: 330px;
	min-height: 100px;
	position: absolute !important;
	margin: 40px 0 0 0;
	z-index: 9999992;
	background: rgba(white, 0.95);
	box-shadow: 0px 0px 10px #666;
	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;
	    border-bottom: 1px solid #dfdfdf;
		text-align: center !important;
	    color: #333;
	    text-shadow: 0px 1px 0px #fff;
		text-transform: none !important;
	}

	ul.sep {
		border-top: 1px solid #dedede;
		padding-top: 5px !important;
	}

	div.inner {
		border-top: 1px solid #dedede;
		text-align: justify;
		font-size: 12px;
		color: #777;
	}

	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;
			text-align: left;

			&:hover {
				background: #2ea2cc;
				color: white;

				a {
					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: 2px;
				float: left;

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

			div.title {
				display: inline-block;
			}

			a {
				color: #444;
				transition: none !important;
			}
		}
	}
}


