@import "./styles-partials/variables";
@import "./styles-partials/reset";
@import "../../assets/libs/bootstrap-grid/bootstrap-grid.min";
@import "./components/editor-codemirror/codemirror/lib/codemirror";
@import "./components/editor-codemirror/codemirror/theme/monokai";
@import "./components/input-color/color-picker/color-picker.css";

@import '~alertifyjs/build/css/alertify.css';

.gs-book-showcase-loader,
.gs-book-showcase-loader:before,
.gs-book-showcase-loader:after {
	border-radius: 50%;
	width: 2em;
	height: 2em;
	animation-fill-mode: both;
	animation: load7 1.8s infinite ease-in-out;
}
.gs-book-showcase-loader {
	color: rgba(0, 0, 0, 0.2) !important;
	font-size: 4px;
	position: relative;
	text-indent: -9999em;
	transform: translateZ(0);
	animation-delay: -0.16s;
	display: block;
	margin: auto;
}

#wpfooter {
	display: none;
}

.gs-book-showcase-loader:before,
.gs-book-showcase-loader:after {
	content: '';
	position: absolute;
	top: 0;
}
.gs-book-showcase-loader:before {
	left: -3.5em;
	animation-delay: -0.32s;
}
.gs-book-showcase-loader:after {
	left: 3.5em;
}
@keyframes load7 {
	0%,
	80%,
	100% {
		box-shadow: 0 2.5em 0 -1.3em;
	}
	40% {
		box-shadow: 0 2.5em 0 0;
	}
}

.gs-book-showcase-loader--circle {
	display: inline-block;
	position: relative;
	width: 30px;
	height: 30px;
}

.gs-book-showcase-loader--circle span {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	border: 4px solid transparent;
	border-radius: 50%;
	animation: gs-book-showcase-loader--circle 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-top-color: $brand_color;
}

.gs-book-showcase-loader--circle span:nth-child(1) {
	animation-delay: -0.45s;
}

.gs-book-showcase-loader--circle span:nth-child(2) {
	animation-delay: -0.3s;
}

.gs-book-showcase-loader--circle span:nth-child(3) {
	animation-delay: -0.15s;
}

@keyframes gs-book-showcase-loader--circle {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.gs-book-showcase-single-book-wrapper {
	width: 20%;
	float: left;
	a {
		width: 100%;
		height: 100%;
		padding: 30px;
		text-align: center;
		display: flex;
		align-items: center;
	}
	.gs-book-showcase-single-book {

		display: flex;
		align-items: center;
		margin: auto;

		img {
			margin: auto;
			width: auto;
			height: auto;
			max-width: 100%;
			max-height: 100%;
			display: inline-block;
		}
	}
}

.gs-book-showcase-slider-container {
	display: flex;
	align-items: center;
	overflow: hidden;
	width: auto;
	height: auto;
}

/*================= alertify =====================*/

.alertify-notifier {

	z-index: 99999999;

	.ajs-message {
		display: flex;
	    align-items: center;
	    line-height: 1.5;
	    color: #fff;
	    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	    border-radius: 3px;
		min-height: 48px;
		width: 290px;
		padding: 15px;
		margin-top: 12px !important;
		font-family: Roboto,sans-serif;

		&.ajs-error {
		    background: #ef5350!important;
		}

		&.ajs-success {
		    background: #66bb6a!important;
		}

		&.ajs-warning {
			background: #ffee58!important;
			color: #424242;
		}

		&.ajs-info {
			background: #424242!important;
		}

		&.ajs-complete {
			background: $brand_color !important;
		}

		&.ajs-visible {
			transition-duration: 300ms;
			transition-timing-function: ease-out;
		}

		.zmdi {
			margin-right: 12px;
			font-size: 20px;
		}
	}

	&.ajs-right {
		right: 15px;

		.ajs-message {
		    right: 290px;
		    transform: translateX(30px);

		    &.ajs-visible {
		    	transform: translateX(0px);
		    }
		}
	}

	&.ajs-bottom {
		bottom: 20px;
	}

}

.app-container {
    margin-left: -20px;
    background-color: $container_color;
    min-height: 800px;
    min-height: 100vh;
    font-family: 'Open Sans', sans-serif;
	
	.logo-area {
		display: inline-flex;
		a {
			display: inline-block;
			line-height: 0;
		}
	}

   	.color-white {
   		color: #fff;
   	}

    .text-left {
    	text-align: left;
    }

    .text-center {
    	text-align: center;
    }

    .text-right {
    	text-align: right;
    }

    .row-align-cnetered {
    	display: flex;
    	align-items: center;
    }

    .font-600 {
    	font-weight: 600;
    }

    .font-16 {
    	font-size: 16px;
    }

    .font-18 {
    	font-size: 18px;
    }

    img {
    	max-width: 100%;
    }

    .max-width-600 {
    	max-width: 600px;
    }

    .text-danger {
    	color: #e25454;
    }
}

.gs-book-showcase-header {
	min-height: 68px;
	background-color: #fff;
	padding-left: 15px;
    padding-right: 5px;
    box-shadow: 0px 1px 10px rgba(63, 66, 87, 0.06);
	
	.book-area {
		padding-top: 11px;
		a {
			display: inline-block;
			text-decoration: none;
			outline: none !important;
			box-shadow: none !important;
		}
		img {
			height: 48px;
		}
	}
	.menu-area {
		text-align: right;
		ul {
			display: inline-block;
			margin: 0;
			padding: 0;

			li {
				display: inline-block;
				list-style: none;
				margin: 0;
				position: relative;

				a {
					display: block;
					font-size: 14px;
					color: $text_color_1;
					text-decoration: none;
					outline: none !important;
					box-shadow: none !important;
					padding: 24px 17px 24px;
					border-bottom: 2px solid transparent;
				}

				&.activation {
					padding-right: 10px;
					&:after {
						content: "";
						width: 5px;
						height: 5px;
						background: $brand_color;
						position: absolute;
						border-radius: 50%;
						top: 23px;
						right: 19px;
					}
				}

				&.router-link-exact-active {
					a {
						border-color: $brand_color;
					}
				}
			}
		}
	}
}

.copy-holder {
	background: #e8edf1;
	padding: 6px 8px;
	font-size: 11px;
	font-weight: bold;
	border-radius: 2px;
	position: relative;
	cursor: pointer;
	color: #8d98a0;

	&:before {
		content: "";
		position: absolute;
		border: 6px solid transparent;
		right: 100%;
		border-right-color: #e8edf1;
		top: 6px;
	}

	&:hover {
		color: $text_color_1;
	}

	&.copied, &.copied:hover {
		background: $success_color;
		color: #fff;
		&:before{
			border-right-color: $success_color;
		}
	}
}

.copy-holder--wrapper {
	
	margin-bottom: 26px;
    border-bottom: 1px solid #edf2f6;
	padding-bottom: 20px;
	
	> * {
		display: inline-block;
		vertical-align: middle;
	}
	
	.shortcode-input {
		padding: 2px 8px;
		border-radius: 3px;
		margin-right: 12px;
	}

	.copy-holder {
		// padding: 10px 18px;
		font-size: 12px;
		&:before {
			top: 8px;
		}
	}
	
}


tr.is-last-cloned {
    background: rgba(249, 255, 201, 0.3);
}

.gsbook--general-settings .shortcode-input {
	box-shadow: none !important;
	outline: none !important;
	border: none !important;
	text-align: center;
	background: #edf2f6 !important;
	border-radius: 2px !important;
	margin-right: 16px;
	width: 200px;
}


.gs-book-showcase-app-view-container {

    padding: 30px 15px;
    font-size: 13px;
    color: $text_color_1;


    *, input[type=text] {
    	color: inherit;
    }

    h1, h2, h3, h4, h5, h6, ul, p {
    	margin: 0;
    }

    h1, h2, h3, h4, h5, h6 {
    	font-weight: bold;
    }

    a {
    	outline: none !important;
    	box-shadow: none !important;
    	transition: all .3s ease;
    }

    code, kbd {
	    color: #747a80 !important;
	}

	small {
		font-size: 85%;
	}

    p {
    	line-height: 1.8;
	}
	
	.ul-list {
		list-style: disc;
		margin-left: 16px;
		margin-top: 12px;
		margin-bottom: 16px;
	}

	hr {
		height: 1px;
		width: 100%;
		background-color: #edf2f6;
		border: none;
	}

    .link {
    	text-decoration: underline;
    	color: $brand_color;
    }

    .font-13 {
    	font-size: 13px;
    }

    .font-14 {
    	font-size: 14px;
    }

    .row.row-20 {
    	margin-left: -10px;
    	margin-right: -10px;
    	> .gs-col-xs-1, 
    	> .gs-col-sm-1, 
    	> .gs-col-md-1, 
    	> .gs-col-lg-1, 
    	> .gs-col-xs-2, 
    	> .gs-col-sm-2, 
    	> .gs-col-md-2, 
    	> .gs-col-lg-2, 
    	> .gs-col-xs-3, 
    	> .gs-col-sm-3, 
    	> .gs-col-md-3, 
    	> .gs-col-lg-3, 
    	> .gs-col-xs-4, 
    	> .gs-col-sm-4, 
    	> .gs-col-md-4, 
    	> .gs-col-lg-4, 
    	> .gs-col-xs-5, 
    	> .gs-col-sm-5, 
    	> .gs-col-md-5, 
    	> .gs-col-lg-5, 
    	> .gs-col-xs-6, 
    	> .gs-col-sm-6, 
    	> .gs-col-md-6, 
    	> .gs-col-lg-6, 
    	> .gs-col-xs-7, 
    	> .gs-col-sm-7, 
    	> .gs-col-md-7, 
    	> .gs-col-lg-7, 
    	> .gs-col-xs-8, 
    	> .gs-col-sm-8, 
    	> .gs-col-md-8, 
    	> .gs-col-lg-8, 
    	> .gs-col-xs-9, 
    	> .gs-col-sm-9, 
    	> .gs-col-md-9, 
    	> .gs-col-lg-9, 
    	> .gs-col-xs-10, 
    	> .gs-col-sm-10, 
    	> .gs-col-md-10, 
    	> .gs-col-lg-10, 
    	> .gs-col-xs-11, 
    	> .gs-col-sm-11, 
    	> .gs-col-md-11, 
    	> .gs-col-lg-11, 
    	> .gs-col-xs-12, 
    	> .gs-col-sm-12, 
    	> .gs-col-md-12, 
    	> .gs-col-lg-12 {
    		padding-left: 10px;
    		padding-right: 10px;
    	}
    }

    .text_color_1 {
    	color: $text_color_1;
    }

    .text_color_2 {
    	color: $text_color_2;
    }

    .text_color_2_dark {
    	color: $text_color_2_dark;
    }

    .text_color_3 {
    	color: $text_color_3;
    }

    .text-right {
    	text-align: right;
    }

    .text-center {
    	text-align: center;
    }

    .text-left {
    	text-align: left;
    }

    .btn {
	    background: $blue_color;
	    padding: 12px 27PX;
	    display: inline-block;
	    text-transform: uppercase;
	    font-weight: 700;
	    font-size: 14px;
	    text-decoration: none !important;
	    outline: none;
	    box-shadow: none;
	    color: #fff;
	    border: none;
	    border-radius: 3px;
	    transition: all .3s ease;

	    &:disabled {
	    	opacity: .3;
	    	cursor: not-allowed;
	    }

	    * {
	    	color: #fff;
	    	vertical-align: middle;
	    	display: inline-block;
	    }

	    i {
	    	font-size: 20px;
	    	margin-right: 10px;
	    	margin-top: -1px;
	    }

	    &.btn-sm {
	    	padding: 14px 15px 12px;
	    	font-size: 12px;
	    	i {
	    		font-size: 18px;
	    		margin-top: -2px;
	    	}
	    }

	    &.btn-xs {
	    	padding: 9px 12px 7px;
	    	font-size: 12px;
	    	i {
	    		font-size: 18px;
	    		margin-top: -2px;
	    	}
	    }

	    &.btn-md {
	    	padding: 10px 24PX;
	    }

	    &:hover {
			background: $blue_color_dark;
	    }

	    &.btn-brand {
	    	background: $brand_color;

	    	&:hover {
	    		background: $brand_color_dark;
	    	}
	    }

	    &.btn-success {
	    	background: $success_color;

	    	&:hover {
	    		background: $success_color_dark;
	    	}
	    }

	    &.btn-red {
	    	background: $red_color;

	    	&:hover {
	    		background: $red_color_dark;
	    	}
	    }

	    &.btn-default {
	    	background: $text_color_3;

	    	&:hover {
	    		background: $text_color_2_dark;
	    	}
	    }
	}


	.btn-close {
	    background: transparent;
	    color: #3f4257;
	    width: 30px;
	    height: 30px;
	    padding: 0;
	    text-align: center;
	    line-height: 30px;
		
		i {
		    color: inherit;
		    margin: 0;
		}

		&:hover,
		&:active,
		&:focus,
		&:active:hover {
			background: transparent;
			color: #3f4257;
		}
		&:active:focus {
			color: $brand_color;
		}
	}

	.align-flex-center {
		display: flex;
		align-items: center;
	}

	.width-350 {
		width: 350px !important;
		max-width: 100% !important;
	}

	.m-0 {
		margin: 0px !important;
	}

	.m-t-0 {
		margin-top: 0px !important;
	}

	.m-t-3 {
		margin-top: 3px !important;
	}

	.m-t-6 {
		margin-top: 6px !important;
	}

	.m-t-5 {
		margin-top: 5px !important;
	}

	.m-t-10 {
		margin-top: 10px !important;
	}

	.m-t-15 {
		margin-top: 15px !important;
	}

	.m-t-20 {
		margin-top: 20px !important;
	}

	.m-t-30 {
		margin-top: 30px !important;
	}

	.m-t-40 {
		margin-top: 40px !important;
	}

	.m-b-0 {
		margin-bottom: 0px !important;
	}

	.m-b-5 {
		margin-bottom: 5px !important;
	}
	.m-b-10 {
		margin-bottom: 10px !important;
	}
	.m-b-15 {
		margin-bottom: 15px !important;
	}
	.m-b-20 {
		margin-bottom: 20px !important;
	}
	.m-b-25 {
		margin-bottom: 25px !important;
	}
	.m-b-30 {
		margin-bottom: 30px !important;
	}
	.m-b-40 {
		margin-bottom: 40px !important;
	}

	.m-r-5 {
		margin-right: 5px !important;
	}

	.m-r-10 {
		margin-right: 10px !important;
	}

	.m-r-20 {
		margin-right: 20px !important;
	}

	.m-y-10 {
		margin-top: 10px !important;
		margin-bottom: 10px !important;
	}

	.p-t-30 {
		padding-top: 30px !important;
	}

	.p-y-30 {
		padding-top: 30px !important;
		padding-bottom: 30px !important;
	}

	.p-x-30 {
		padding-left: 30px !important;
		padding-right: 30px !important;
	}

	.p-30 {
		padding: 30px !important;
	}

	.p-r-0 {
		padding-right: 0px !important;
	}

	.font-110 {
		font-size: 110%;
	}

	.border-bottom-none {
		border-bottom: none !important;
	}

	.color-success {
		color: $success_color_dark;
	}
	.color-brand {
		color: $brand_color;
	}
	.color-red {
		color: $red_color;
	}

	label {
		color: #333544;
		margin-bottom: 6px;
		display: inline-block;
		font-size: 14px;
	}

	strong label,
	span label {
		display: inline;
		vertical-align: inherit;
	}

	.width-parcentage-30 {
		width: 30%;
	}
	.width-parcentage-70 {
		width: 70%;
	}

	.bi-form-group {
	    margin-bottom: 25px;
	    .bi-form-group-heading {
	    	margin-bottom: 19px;
	    }
	}

	.bi-input-control {
		width: 100%;
		background: #fbfbfb !important;
		box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.04) inset !important;
		border: 1px solid rgba(0, 0, 0, 0.16) !important;
		padding: 6px 15px;
		border-radius: 3px;
		outline: none;
		color: $text_color_1;
		transition: all .3s ease;

		&:focus {
			border-color: $brand_color !important;
		}
	}

	input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
		color: $placeholder_color;
	}
	input::-moz-placeholder { /* Firefox 19+ */
		color: $placeholder_color;
	}
	input:-ms-input-placeholder { /* IE 10+ */
		color: $placeholder_color;
	}
	input:-moz-placeholder { /* Firefox 18- */
		color: $placeholder_color;
	}

	.separator {
		&.separator-hr {
			height: 1px;
			background: #3f4257;
			opacity: .1;
		}
	}

	.notice-text {
		color: $text_color_2;
		background: #f5f5f5;
		padding: 11px 15px;
		border-radius: 6px;
		display: inline-block;
		width: 470px;
		max-width: 100%;
		line-height: 1.7;
		a {
			color: $brand_color;
		}
	}

	.section-title-01 {
		font-size: 17px;
		font-weight: 400;
		color: $text_color_1;
	}

	.section-title-02 {
		font-size: 16px;
		font-weight: bold;
		color: $text_color_1;
	}

	.bi-text-help {
		color: $text_color_2;
		font-size: 14px;
		line-height: 1.8;
		margin: 10px 0px;

		&.bottom-space {
			margin-bottom: 11px;
		}

		&.left-space {
			margin-left: 15px;
		}
	}

	.input-increment-area {
		label {
			margin-top: 9px;
		}
	}

	.range-slider-area {
		label {
			margin-top: 5px;
		}
	}

	.input-select-width {
		width: 192px;
		max-width: 100%;
	}

	.range-slider-container {
		position: relative;
		width: 100%;
		padding: 0px 20px 0px 65px;

		&.no-right-info {
			padding-right: 0px;
		}

		> span, > input {
			position: absolute;
			top: 5px;
			font-size: 13px;
			color: $text_color_2;

			&.slider-left-info {
				left: 0;
				top: 0px;
				width: 50px !important;
				border: 1px solid rgba(0, 0, 0, 0.1);
				background: #f8f8f8;
				color: $text_color_2 !important;
				border-radius: 4px !important;
				padding: 4px 5px 2px !important;
				text-align: center;
				transition: all .3s ease;
				box-shadow: none !important;

				&:focus {
					outline: none !important;
					border-color: $brand_color;
				}
			}

			&.slider-right-info {
				right: 0;
			}
		}
	}

	.bi-children-middle {
		& > * {
			display: inline-block;
			vertical-align: middle;
		}
	}

	.gs-book-showcase-box {
	    padding: 30px;
	    background: #fff;
	    border-radius: 4px;
		box-shadow: 0px 1px 10px rgba(63, 66, 87, 0.06);
		position: relative;

	    &.box-accordion {
		    padding: 0;
		}
	}

	.box-accordion {

		.top-area {
		    padding: 18px 30px 16px;

		    h3 {
				font-size: 14px;
				color: $text_color_1;
		    }

			.accordion-control {
				position: relative;
				display: inline-block;

				a {
					position: absolute;
					top: -24px;
					right: -13px;
					width: 34px;
					height: 34px;
					text-align: center;
					line-height: 40px;
					text-decoration: none;

					&:before, &:after {
						content: "";
						width: 12px;
						height: 2px;
						background: $text_color_1;
						display: inline-block;
						position: absolute;
						top: 16px;
						left: 12px;
						transition: all .35s ease;
					}

					&:after {
						transform: rotate(90deg);
					}
				}
			}
		}

		.bottom-area {
		    border-top: 1px solid rgba(63, 66, 87, 0.1);
		    display: none;
		    padding: 30px;
		}

		&.accordion-open-icon {
			.accordion-control {
				a {
					&:before {
						transform: rotate(180deg);
					}
					&:after {
						transform: rotate(180deg);
					}
				}
			}
		}

		&.accordion-open {
			.bottom-area {
				display: block;
			}
		}

	}

	.devider {
		background-color: $blue_color;
		opacity: .1;
		height: 1px;
		margin-top: 30px;
		margin-bottom: 30px;
		width: 100%;
	}

	.head-section {
		h2 {
			margin-bottom: 12px;
			font-size: 26px;
			font-weight: 400;
		}
		p {
			font-size: 14px;
			margin-bottom: 24px;
			color: $text_color_2;
			opacity: .85;
		}
	}

	.gs-book-showcase-table {
		width: 100%;
		margin-top: 40px;

		tr {
			border-top: 1px solid #ebecee;
			&:last-child {
				border-bottom: 1px solid #ebecee;
			}

			th {
				padding: 14px 10px 12px;
				background: #fafbfd;
				text-align: left;
				color: $text_color_2;
				font-weight: 400;
				text-transform: uppercase;
				font-size: 12px;
				width: 20%;

				&:last-child {
					width: 100%;
				}
			}

			td {
				padding: 15px 10px;
				transition: all .3s ease;
				opacity: 1;
			}

			.shortcode-link {
				color: $brand_color;
				font-weight: bold;
			}

			.shortcode-actions {
				
				color: $text_color_2;

				a {
					color: $text_color_3;
					margin-right: 20px;

					* {
						display: inline-block;
						vertical-align: middle;
						color: inherit;
					}

					i {
						margin-right: 5px;
						font-size: 17px;
					}

					&:hover {
						color: $brand_color;
					}
				}

				.shortcode-restore {
					a {
						color: $brand_color;
					}
				}
			}
		}

		.statues {
			span {
				margin-right: 3px;
			}
		}

	}

	.cache-time-setting-area {
		.range-slider-container {
			width: 350px;
			max-width: 100%;
		}
	}

    .shortcodes-container {
    	.gs-book-showcase-box {
    		min-height: 650px;
    		min-height: 70vh;
    	}
    }

    .edit-shortcode-container {
		font-size: 14px;

		.shortcode-name-area-box .devider {
			margin-bottom: 20px;
		}

		.shortcode-name-area {
			label {
				margin-bottom: 10px;
			}
			input.bi-input-control {
				width: 408px;
				max-width: 100%;
				padding: 10px 15px;
				margin-right: 15px;
				vertical-align: middle;
			}
			.btn.btn-sm {
				padding: 16px 18px 15px;
				height: 50px;
				vertical-align: middle;
			}
		}
    }

	.gsbook--visibility-settings {
		h3 {
			padding: 15px 8px;
			margin-bottom: 8px;
			margin-top: 32px;
			border-bottom: 2px solid #d6d7db;
			background: #ebeef3;
			font-size: 16px;
		}

		label {
			margin: 0 0 2px 0 !important;
		}

		input {
			margin: 0;
		}

		table tr td {
			vertical-align: middle;
		}

		table tr td:first-child {
			user-select: none;
			cursor: pointer;
		}

		.visibility-device {
			background: #e1e2eb;
			color: #62646e;
			padding: 4px;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 4px;
			position: relative;

			svg {
				width: 16px;
				height: 16px;
			}

			span {
				position: absolute;
				background: #4b4b51;
				color: #f2f2ff;
				bottom: calc(100% + 10px);
				font-size: 13px;
				left: 50%;
				transform: translateX(-50%);
				padding: 2px 6px;
				border-radius: 4px;
				opacity: 0;
				transition: all .15s ease;
				white-space: nowrap;
				z-index: 1;

				&:after {
					border: 6px solid transparent;
					content: "";
					position: absolute;
					top: 100%;
					border-top-color: #4b4b51;
					left: calc(50% - 5px);
				}
			}

			&:hover span {
				opacity: 1;
			}
		}
	}
}

.demo-data--import-section {

	font-size: 14px;

	h3 {
		font-weight: 400;
		font-size: 20px;
		margin-bottom: 6px;
	}

	p {
		font-size: 14px;
		color: #66717d;
	}

}

/* Vue Transition
======================================*/
.break-point-enter-active,
.break-point-leave-active {
	transition: all .5s;
}
.break-point-enter {
	opacity: 0;
	transform: translateY(20px);
}
.break-point-leave-to {
	opacity: 0;
	transform: translateY(-20px);
}

/* Input Tag Component
======================================*/
.input-tag {
	background: #f8f8f8;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0px 2px;
    position: relative;
    font-size: 13px;
    cursor: text;
    transition: all .3s ease;

    &.input-focused {
    	border-color: $brand_color !important;
    }

    > * {
		display: inline-block;
		vertical-align: middle;
		margin-left: 2px;
		margin-right: 2px;
		margin-bottom: 3px;
		margin-top: 3px;
    }

	.single-tag {
	    position: relative;
	    padding: 7px 15px;
	    background: $brand_color;
	    border-radius: 30px;
	    color: #fff;
	    padding-right: 30px;
	    cursor: pointer;

		span {
			position: absolute;
			top: 8px;
			right: 9px;
			font-size: 16px;
			line-height: 1;
		}

		&.tag-matched {
			background: #2ecc71;
		}
	}

	.tags-placeholder {
		margin-left: 13px;
		input {
			background: none !important;
			border: none !important;
			box-shadow: none !important;
			outline: none !important;
			display: inline-block;
			padding: 7px 0px;
		}
	}
}

/* Input Increment Component
======================================*/
.input-increment {

	> * {
		display: inline-block;
		vertical-align: middle;
		height: 40px;
		margin: 0 !important;
		padding: 0 !important;
		border-radius: 4px !important;
		outline: none !important;
		border: 1px solid rgba(63, 66, 87, 0.16) !important;
		box-shadow: none !important;
		background: #fbfbfb !important;
		color: $text_color_2 !important;
		text-align: center !important;
		margin-right: 1px !important;
		transition: all .3s ease !important;

		&:last-child {
			margin-right: 0px !important;
		}
	}

	button {
		font-size: 17px;
		line-height: 40px;
		width: 40px;
		user-select: none;
		&:hover {
			color: #fff !important;
			background-color: $brand_color !important;
		}
	}
	input {
		width: 70px;
		padding: 0 10px !important;
		font-size: 13px !important;

	    &:focus {
	    	border-color: $brand_color !important;
	    }
	}
}

.gs-containeer {
    max-width: 100%;
}

/* Range Slider Component
======================================*/

.vue-slider-wrap {
	position: relative;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 100% !important;
}
.vue-slider-wrap.vue-slider-disabled {
	opacity: .5;
	cursor: not-allowed;
}
.vue-slider-wrap.vue-slider-has-label {
	margin-bottom: 15px;
}
.vue-slider-wrap.vue-slider-disabled .vue-slider-dot {
	cursor: not-allowed;
}
.vue-slider-wrap .vue-slider {
	position: relative;
	display: block;
	border-radius: 15px;
	background-color: rgba(136, 141, 168, 0.4);
}
.vue-slider-wrap .vue-slider::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.vue-slider-process {
	position: absolute;
	border-radius: 15px;
	background-color: $brand_color;
	transition: all 0s;
	z-index: 1;
}
.vue-slider-horizontal .vue-slider-process {
	width: 0;
	height: 100%;
	top: 0;
	left: 0;
	will-change: width;
}
.vue-slider-vertical .vue-slider-process {
	width: 100%;
	height: 0;
	bottom: 0;
	left: 0;
	will-change: height;
}
.vue-slider-horizontal-reverse .vue-slider-process {
	width: 0;
	height: 100%;
	top: 0;
	right: 0;
}
.vue-slider-vertical-reverse .vue-slider-process {
	width: 100%;
	height: 0;
	top: 0;
	left: 0;
}
.vue-slider-dot {
	position: absolute;
	border-radius: 50%;
	background-color: $brand_color;
	box-shadow: 0px 1px 12px rgba(63, 66, 87, 0.19);
	transition: all 0s;
	will-change: transform;
	cursor: pointer;
	z-index: 3;
}
.vue-slider-horizontal .vue-slider-dot {
	left: 0;
}
.vue-slider-vertical .vue-slider-dot {
	bottom: 0;
}
.vue-slider-horizontal-reverse .vue-slider-dot {
	right: 0;
}
.vue-slider-vertical-reverse .vue-slider-dot {
	top: 0;
}
.vue-slider-tooltip-wrap {
	display: none;
	position: absolute;
	z-index: 9;
}
.vue-slider-tooltip {
	display: block;
	font-size: 14px;
	white-space: nowrap;
	padding: 2px 5px;
	min-width: 20px;
	text-align: center;
	color: #fff;
	border-radius: 5px;
	border: 1px solid #3498db;
	background-color: #3498db;
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-top {
	top: -9px;
	left: 50%;
	transform: translate(-50%, -100%);
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-bottom {
	bottom: -9px;
	left: 50%;
	transform: translate(-50%, 100%);
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-left {
	top: 50%;
	left: -9px;
	transform: translate(-100%, -50%);
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-right {
	top: 50%;
	right: -9px;
	transform: translate(100%, -50%);
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-top .vue-slider-tooltip::before {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border: 6px solid transparent\0;
	border-top-color: inherit;
	transform: translate(-50%, 0);
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-bottom .vue-slider-tooltip::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 50%;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border: 6px solid transparent\0;
	border-bottom-color: inherit;
	transform: translate(-50%, 0);
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-left .vue-slider-tooltip::before {
	content: '';
	position: absolute;
	top: 50%;
	right: -10px;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border: 6px solid transparent\0;
	border-left-color: inherit;
	transform: translate(0, -50%);
}
.vue-slider-tooltip-wrap.vue-slider-tooltip-right .vue-slider-tooltip::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -10px;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border: 6px solid transparent\0;
	border-right-color: inherit;
	transform: translate(0, -50%);
}
.vue-slider-dot.vue-slider-hover:hover .vue-slider-tooltip-wrap {
	display: block;
}
.vue-slider-dot.vue-slider-always .vue-slider-tooltip-wrap {
	display: block!important;
}
.vue-slider-piecewise {
	position: absolute;
	width: 100%;
	padding: 0;
	margin: 0;
	left: 0;
	top: 0;
	height: 100%;
	list-style: none;
}
.vue-slider-piecewise li {
	position: absolute;
	width: 8px;
	height: 8px;
}
.vue-slider-piecewise .vue-slider-piecewise-dot {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.16);
	border-radius: 50%;
	transform: translate(-50%, -50%);
    z-index: 2;
	transition: all .3s;
}
.vue-slider-piecewise li:first-child .vue-slider-piecewise-dot, .vue-slider-piecewise li:last-child .vue-slider-piecewise-dot {
	visibility: hidden;
}
.vue-slider-piecewise .vue-slider-piecewise-label {
	position: absolute;
	display: inline-block;
	top: 15px;
	left: 50%;
	white-space: nowrap;
	font-size: 12px;
	color: #333;
	transform: translateX(-50%);
	visibility: visible;
}


/* Input Checkbox Component
======================================*/
.custom-checkbox, .custom-radio {
	user-select: none;
	position: relative;

	label {
		margin: 0px;
	}

	input {
		position: absolute !important;
		opacity: 0 !important;
		top: 0;
		left: 0;
		visibility: hidden !important;
	}

	span {
		display: inline-block;
		vertical-align: middle;
	}

	.input-ui {
		border: 2px solid $text_color_2;
		position: relative;
		margin-right: 7px;
		transition: all .2s ease;
		overflow: hidden;

		&:after {
			content: "";
			display: inline-block;
			position: absolute;
			opacity: 0;
			transition: all .2s ease;
		}
	}

	&.custom-checkbox .input-ui {
		width: 16px;
		height: 16px;
		border-radius: 2px;
		margin-left: 1px;

		&:after {
			content: "\f26a";
			font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
			font-size: inherit;
			text-rendering: auto;
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
			transform: scale(.2);
			color: $brand_color;
			font-size: 21px;
			top: -4px;
			left: -2px;
		}
	}

	&.custom-radio .input-ui {
		width: 18px;
		height: 18px;
		border-radius: 50%;
		margin-right: 5px;

		&:after {
			width: 100%;
			height: 100%;
			background: $brand_color;
			border-radius: 50%;
			transform: scale(0.3);
		}
	}

	.input-label {
		color: #888da8;
		font-size: 13px;
		margin-top: 1px;
	}

	&.custom-checkbox.is-checked {
		.input-ui {
			border-color: $brand_color;
			&:after {
				transform: scale(1);
				opacity: 1;
			}
		}
	}

	&.custom-radio.is-checked {
		.input-ui {
			border-color: $brand_color;
			&:after {
				transform: scale(0.64);
				opacity: 1;
			}
		}
	}
}



/* Input Toggle Button Component
======================================*/
.custom-toggle-button--wrapper {

	display: inline-flex;
    align-items: center;
	
	.custom-toggle--status {
		text-transform: uppercase;
		margin-left: 10px;
		font-size: 12px;
		color: #c5c8d0;
		line-height: 1;
		letter-spacing: .3px;
	}

	.custom-toggle-button {
		height: 25px;
		width: 46px;
		background: rgba(63, 66, 87, 0.13);
		border-radius: 50px;
		position: relative;
		cursor: pointer;
		transition: all .15s;
		display: inline-block;
	
		&:after {
			content: "";
			width: 17px;
			height: 17px;
			border-radius: 50%;
			background: #fff;
			position: absolute;
			top: 4px;
			left: 5px;
			box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.16);
			transition: all .15s;
		}
	
		label {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			z-index: 1;
	
			input {
				display: none !important;
				visibility: hidden !important;
				opacity: 0 !important;
			}
		}
	
	}

	&.is-checked {

		.custom-toggle-button {
			background: $brand_color;
			&:after {
				left: 24px;
			}
		}
		
		.custom-toggle--status {
			color: $brand_color;
		}

	}

}



/* Editor CM
======================================*/
.custom-code-editor-cm {
    width: 100%;
    max-width: 100%;

	.cm-s-monokai {
		border-radius: 4px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}



/* Input Select Component
======================================*/
.v-select {
	position: relative;
	font-family: sans-serif;
	background: #fbfbfb;
}
.v-select,
.v-select * {
	box-sizing: border-box;
}
/* Open Indicator */
.v-select .open-indicator {
	position: absolute;
    bottom: 12px;
    right: 9px;
    display: inline-block;
    cursor: pointer;
    pointer-events: all;
    transition: all 150ms cubic-bezier(1, -0.115, 0.975, 0.855);
    transition-timing-function: cubic-bezier(1, -0.115, 0.975, 0.855);
    opacity: 1;
    transition: opacity .1s;
    height: 16px;
    width: 16px;
    color: $text_color_2;
}
.v-select .open-indicator:before {
	content: '\f2f9';
	height: 16px;
	width: 16px;
	transition: all 150ms cubic-bezier(1, -0.115, 0.975, 0.855);
	transition-timing-function: cubic-bezier(1, -0.115, 0.975, 0.855);
	display: inline-block;
	font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 18px;
	text-align: center;
	line-height: 16px;
}
/* Open Indicator States */
.v-select.open .open-indicator:before {
	transform: rotate(180deg);
}
.v-select.loading .open-indicator {
	opacity: 0;
}
/* Dropdown Toggle */
.v-select .dropdown-toggle {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	padding: 0;
	background: none;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 4px;
	white-space: normal;
	transition: border-radius .25s;
}
.v-select .dropdown-toggle:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
/* Dropdown Toggle States */
.v-select.searchable .dropdown-toggle {
	cursor: text;
}
.v-select.unsearchable .dropdown-toggle {
	cursor: pointer;
}
.v-select.open .dropdown-toggle {
	border-color: $brand_color;
	border-bottom-color: transparent;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
/* Dropdown Menu */
.v-select .dropdown-menu {
	display:block;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 160px;
	padding: 5px 0;
	margin: 0;
	width: 100%;
	overflow: auto;
	border: 1px solid $brand_color;
	border-top-color: rgba(0, 0, 0, 0.16);
	border-radius: 0 0 4px 4px;
	text-align: left;
	list-style: none;
	background: #fbfbfb;
}
.v-select .no-options {
	text-align: center;
}
/* Selected Tags */
.v-select .selected-tag {
	background-color: #f0f0f0;
	border: 1px solid #ccc;
	border-radius: 4px;
	float: left;
	line-height: 24px;
    height: 30px;
    margin: 6px 3px 0px 3px;
    padding: 2px 8px;
	transition: color .2s ease;
}
.v-select.single .selected-tag {
	position: absolute;
	top: 1;
	left: 1;
    height: 33px;
    margin: 6px 1px 0px 3px;
    padding: 1px 11px;
	background-color: transparent;
	border-color: transparent;
	overflow: hidden;
}
.v-select:not(.single) .open-indicator {
	display: none;
}

.v-select.single.open .selected-tag {
	color: $placeholder_color;
}
.v-select.single.open.searching .selected-tag,
.v-select.single.loading .selected-tag {
	display: none;
}
.v-select .selected-tag .close {
	float: none;
	margin-right: 0;
	font-size: 17px;
	appearance: none;
	padding: 0;
	cursor: pointer;
	background: 0 0;
	border: 0;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	filter: alpha(opacity=40);
	opacity: .4;
}
.v-select.single.searching:not(.open):not(.loading) input[type="search"] {
	opacity: .2;
}
/* Search Input */
.v-select input[type="search"]::-webkit-search-decoration,
.v-select input[type="search"]::-webkit-search-cancel-button,
.v-select input[type="search"]::-webkit-search-results-button,
.v-select input[type="search"]::-webkit-search-results-decoration {
	display: none;
}
.v-select input[type="search"]::-ms-clear {
	display: none;
}
.v-select input[type="search"],
.v-select input[type="search"]:focus {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	line-height: 1.42857143;
	height: 40px;
	border: none;
	outline: none;
	margin: 0;
	padding: 0 15px;
	width: 100%;
	max-width: 100%;
	background: none;
	position: relative;
	box-shadow: none;
	float: left;
	clear: none;
	box-sizing: border-box;
}

.v-select.single input[type=search],
.v-select.single input[type=search]:focus {
	width: 100% !important;
}

.v-select:not(.single) input[type="search"],
.v-select:not(.single) input[type="search"]:focus {
	padding: 0 6px;
}
/* Search Input States */
.v-select.unsearchable input[type="search"] {
	max-width: 1px;
}
/* List Items */
.v-select li {
	line-height: 1.42857143; /* Normalize line height */
	margin: 0px;
}
.v-select li > a {
	display: block;
	padding: 7px 15px;
	clear: both;
	color: $text_color_1; /* Overrides most CSS frameworks */
	// white-space: nowrap;
	transition: all .2s ease;
	text-decoration: none !important;
	outline: none !important;
	border: none !important;
}
.v-select li:hover {
	cursor: pointer;
}
.v-select .dropdown-menu .active > a {
	color: #fff;
	background: $brand_color !important;
}
.v-select .dropdown-menu > .highlight > a {
	background: $blue_color;
	color: #fff;
}
.v-select .dropdown-menu > .disabled > a {
	background: #bcbcbc;
	color: #888888;
}
.v-select .dropdown-menu > .disabled.active > a {
	color: #fff;
}
.v-select .highlight:not(:last-child) {
	margin-bottom: 0; /* Fixes Bulma Margin */
}
/* Loading Spinner */
.v-select .spinner {
	opacity: 0;
	position: absolute;
	top: 5px;
	right: 10px;
	font-size: 5px;
	text-indent: -9999em;
	overflow: hidden;
	border-top: .9em solid rgba(100, 100, 100, .1);
	border-right: .9em solid rgba(100, 100, 100, .1);
	border-bottom: .9em solid rgba(100, 100, 100, .1);
	border-left: .9em solid rgba(60, 60, 60, .45);
	transform: translateZ(0);
	animation: vSelectSpinner 1.1s infinite linear;
	transition: opacity .1s;
}
.v-select .spinner,
.v-select .spinner:after {
	border-radius: 50%;
	width: 5em;
	height: 5em;
}
/* Loading Spinner States */
.v-select.loading .spinner {
	opacity: 1;
}
/* KeyFrames */
@keyframes vSelectSpinner {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
/* Dropdown Default Transition */
.fade-enter-active,
.fade-leave-active {
	transition: opacity .15s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.fade-enter,
.fade-leave-to {
	opacity: 0;
}


.custom-color-picker {
	
	margin-bottom: 10px;

	.input-label {
		display: inline-block;
		vertical-align: middle;
		color: $text_color_2;
		margin-left: 7px;
	}
}

.sp-container {
    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    *display: inline;
    *zoom: 1;
    /* https://github.com/bgrins/spectrum/issues/40 */
    z-index: 9999994;
    overflow: hidden;
}
.sp-container.sp-flat {
    position: relative;
}

/* Fix for * { box-sizing: border-box; } */
.sp-container,
.sp-container * {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position:relative;
  width: 100%;
  display:inline-block;
}
.sp-top-inner {
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
}
.sp-color {
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:20%;
}
.sp-hue {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:85%;
    height: 100%;
}

.sp-clear-enabled .sp-hue {
    top:33px;
    height: 77.5%;
}

.sp-fill {
    padding-top: 80%;
}
.sp-sat, .sp-val {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.sp-alpha-enabled .sp-top {
    margin-bottom: 25px;
}
.sp-alpha-enabled .sp-alpha {
    display: block;
}
.sp-alpha-handle {
    position:absolute;
    top:-4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}
.sp-alpha {
    display: none;
    position: absolute;
    bottom: -20px;
    right: 0;
    left: 0;
    height: 10px;
}
.sp-alpha-inner {
    border: solid 1px #ddd;
}

.sp-clear {
    display: none;
}

.sp-clear.sp-clear-display {
    background-position: center;
}

.sp-clear-enabled .sp-clear {
    display: block;
    position:absolute;
    top:0px;
    right:0;
    bottom:0;
    left:84%;
    height: 28px;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button  {
    -webkit-user-select:none;
    -moz-user-select: -moz-none;
    -o-user-select:none;
    user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
    display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
    display: none;
}
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
    display: none;
}
.sp-palette-only .sp-picker-container {
    display: none;
}
.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear,  0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
    background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
    background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
    background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */
.sp-1 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}
.sp-2 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}
.sp-3 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}
.sp-4 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}
.sp-5 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}
.sp-6 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color { right: 40%; }
    .sp-hue { left: 63%; }
    .sp-fill { padding-top: 60%; }
}
.sp-dragger {
   border-radius: 5px;
   height: 5px;
   width: 5px;
   border: 1px solid #fff;
   background: #000;
   cursor: pointer;
   position:absolute;
   top:0;
   left: 0;
}
.sp-slider {
    position: absolute;
    top:0;
    cursor:pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

.sp-container {
    border-radius: 0;
    background-color: #fbfbfb;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
    padding: 0;
}
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
    font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.sp-top {
    margin-bottom: 3px;
}
.sp-color, .sp-hue, .sp-clear {
    border: solid 1px #ddd;
}

/* Input */
.sp-input-container {
    float:right;
    width: 100px;
    margin-bottom: 4px;
}
.sp-initial-disabled  .sp-input-container {
    width: 100%;
}
.sp-input {
   font-size: 12px !important;
   border: 1px inset;
   padding: 5px 10px;
   margin: 0;
   width: 100%;
   background:transparent;
   border-radius: 3px;
   color: #222;
}
.sp-input:focus  {
    border: 1px solid orange;
}
.sp-input.sp-validation-error {
    border: 1px solid red;
    background: #fdd;
}
.sp-picker-container, .sp-palette-container {
    float:left;
    position: relative;
    padding: 15px;
    padding-bottom: 300px;
    margin-bottom: -290px;
}
.sp-picker-container {
    width: 172px;
}

/* Palettes */
.sp-palette-container {
    border-right: solid 1px #ccc;
}

.sp-palette-only .sp-palette-container {
    border: 0;
}

.sp-palette .sp-thumb-el {
    display: block;
    position:relative;
    float:left;
    width: 24px;
    height: 15px;
    margin: 3px;
    cursor: pointer;
    border:solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: orange;
}
.sp-thumb-el {
    position:relative;
}

/* Initial */
.sp-initial {
    float: left;
    border: solid 1px #333;
}
.sp-initial span {
    width: 30px;
    height: 25px;
    border:none;
    display:block;
    float:left;
    margin:0;
}

.sp-initial .sp-clear-display {
    background-position: center;
}

/* Buttons */
.sp-palette-button-container,
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
	overflow: hidden;
	cursor: pointer;
	display: inline-block;
	border: solid 1px rgba(63, 66, 87, 0.16);
	vertical-align: middle;
	border-radius: 50%;
}
.sp-replacer.sp-disabled {
    cursor:default;
    border-color: silver;
    color: silver;
}
.sp-dd {
    display: none !important;
}
.sp-preview {
	position: relative;
	width: 28px;
	height: 28px;
	border: none;
	margin-right: 0;
	float: left;
	z-index: 0;
	border-radius: 50%;
	overflow: hidden;
}

.sp-palette {
    *width: 220px;
    max-width: 220px;
}
.sp-palette .sp-thumb-el {
    width:16px;
    height: 16px;
    margin:2px 1px;
    border: solid 1px #d0d0d0;
}

.sp-container {
    padding-bottom:0;
}


/* Buttons: http://hellohappy.org/css3-buttons/ */
.sp-container button {
  background-color: #eeeeee;
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}
.sp-container button:hover {
    background-color: #dddddd;
    background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
    background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd;
}
.sp-container button:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
.sp-cancel {
    font-size: 11px;
    color: #d93f3f !important;
    margin:0;
    padding:2px;
    margin-right: 5px;
    vertical-align: middle;
    text-decoration:none;

}
.sp-cancel:hover {
    color: #d93f3f !important;
    text-decoration: underline;
}


.sp-palette span:hover, .sp-palette span.sp-thumb-active {
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el {
    position:relative;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
    display:block;
    position:absolute;
    top:0;left:0;bottom:0;right:0;
}

.sp-palette .sp-thumb-inner {
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
    background-repeat:no-repeat;
    background-position: center;
    background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}

fieldset {
    border: 0;
    margin: initial;
    padding: initial;
}

.gs-book-showcase-header {
	.gs-roow {
		align-items: center;
	}
}

	
.shortcode-settings-area-box {
	display: flex;
	flex-wrap: wrap;
	min-height: 60vh;
		
	.gs-book-showcase-settings-tab {
		width: 360px;
		flex: 0 0 auto;
		margin-right: 30px;
		height: 100%;
		overflow-y: auto;
	}

	.gs-book-showcase-right-panel {
		background-color: #ffffff;
		padding: 30px;
	}

}

.bi-text-help--area {
	display: none;
}

button.gsbook-show--info {
    padding: 4px;
    border: none;
    outline: none;
    line-height: 0;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
	margin: 3px 0px 0px 0px;
	transition: all .25s ease-in-out;
	background: transparent;

	&:hover {
		color: $brand_color;
	}
}

.shortcode-setting--row {
	border-bottom: 1px solid #edf2f6;
    margin-bottom: 14px;
	padding-bottom: 16px;

	&.sh-disabled {
		position: relative;

		&:before {
			content: "";
			background: rgb(255 255 255 / 60%);
			position: absolute;
			width: 100%;
			height: 100%;
			z-index: 10;
			top: 0;
			left: 0;
		}

		&:after {
			content: "Pro Feature";
			position: absolute;
			top: 50%;
			left: 50%;
			z-index: 20;
			background: rgba(93, 106, 227, 0.7);
			color: #fff;
			padding: 10px 30px;
			width: 100%;
			text-align: center;
			border-radius: 34px;
			white-space: nowrap;
			transform: translateX(-50%) translateY(-50%);
			opacity: 0;
			transition: all 0.25s ease;
		}

		&:hover {
			&:after {
				opacity: 1;
			}
		}
	}
}


@media (min-device-width: 1024px) {
	
	button.gsbook-show--info {
		visibility: hidden;
		opacity: 0;
	}
	
	.shortcode-setting--row:hover {
		button.gsbook-show--info {
			visibility: visible;
			opacity: 1;
		}
	}

}


ul.gs-book-showcase--tab-links {
	border-bottom: 2px solid #edf2f6;
	margin-bottom: 30px;
	margin-top: -10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	
	li {
		margin: 0;

		button {
			display: block;
			border: none;
			background: none;
			outline: none;
			padding: 10px 0;
			border-bottom: 2px solid transparent;
			margin-bottom: -2px;
			font-size: 16px;
			line-height: 1;
		}

		&.is-active {
			button {
				border-color: $brand_color;
			}
		}
		
	}

}

.action-btn--area {
	display: flex;
	align-items: center;
	gap: 16px;
}

.gs-book-showcase-right-panel {
	flex: 1 0 0;
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.preview-shortcode-iframe-wrapper {

	line-height: 0;
	height: 100%;

	> iframe {
		width: 100%;
		height: 100%;
		overflow: hidden;
		border-radius: 4px;
		box-shadow: 0px 1px 10px rgba(63, 66, 87, 0.06);
	}

}


.demo-data--processing {
    text-align: center;
}

.demo-data--processing .gs-book-showcase-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-data--processing h3 {
    font-size: 26px;
}

.demo-data--processing p {
    font-size: 16px;
}

.demo-data--processing .gs-book-showcase-loader {
    color: rgba(0, 0, 0, 0.3) !important;
}

.import-manually {

	a {
		text-decoration: underline;
		font-size: 15px;
		font-style: italic;
	}

}


.gs-book-showcase-app-view-container {

	.vc-container {
		border-radius: 4px;
		width: 400px;
		box-shadow: 0px 0px 60px rgba(64, 63, 80, 0.2);
	}
	
	.vc-text-grid {
		padding: 20px 20px 20px;
	}

	
	.vc-title {
		font-weight: 400;
		font-size: 22px;
		margin-bottom: 14px;
	}
	
	.vc-text {
		font-size: 15px;
		line-height: 1.6 !important;
	}
	
	.vc-btn-grid {
		border-radius: 0 0 4px 4px;
	}

	.vc-btn {
		border-radius: 0px;
		font-size: 16px;
		font-weight: 400;
	}

}

.gs-she-tabs--buttons {
	margin-top: 36px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;

	button {
		background: #ecedf0;
		border: none;
		padding: 16px 20px;
		width: 50%;
		border-top: 2px solid #e4e6e9;
		cursor: pointer;

		&.is-active {
			border-color: #5E6BE5;
			background: transparent;
		}
	}
}


.device-switcher--wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;

	label {
		margin: 0 !important;
		margin-bottom: -10px !important;
	}

	button {
		background: #efefef;
		border: 1px solid #efefef;
		border-radius: 4px;
		display: inline-flex;
		justify-content: center;
		align-items: center;
		height: 24px;
		cursor: pointer;


		svg {
			width: 15px;
			height: auto;
		}

		&:hover {
			background: #efefef;
			color: #5E6BE5;
			border-color: #c4c6d7;
		}

		&.is-active {
			background: #5E6BE5;
			border-color: #5E6BE5;
			color: #fff;
		}
		
	}
}


.gsbook--visibility-settings {

	h3 {
		padding: 15px 8px;
		margin-bottom: 8px;
		margin-top: 32px;
		border-bottom: 2px solid #d6d7db;
		background: #ebeef3;
		font-size: 16px;
	}

	label {
		margin: 0 0 2px 0 !important;
	}

	input {
		margin: 0;
	}

	table tr td {
		vertical-align: middle;
	}

	table tr td:first-child {
		user-select: none;
		cursor: pointer;
	}

	tbody.popup-sortable {

		tr.sortable-row {

			td:nth-child(2) {
				text-align: left;
			}
		}
	}

	.visibility-device {
		background: #e1e2eb;
		color: #62646e;
		padding: 4px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 4px;
		position: relative;

		svg {
			width: 16px;
			height: 16px;
		}

		span {
			position: absolute;
			background: #4b4b51;
			color: #f2f2ff;
			bottom: calc(100% + 10px);
			font-size: 13px;
			left: 50%;
			transform: translateX(-50%);
			padding: 2px 6px;
			border-radius: 4px;
			opacity: 0;
			transition: all .15s ease;
			white-space: nowrap;
			z-index: 1;

			&:after {
				border: 6px solid transparent;
				content: "";
				position: absolute;
				top: 100%;
				border-top-color: #4b4b51;
				left: calc(50% - 5px);
			}
		}

		&:hover span {
			opacity: 1;
		}
	}


	.table-visibility {

		max-width: 700px;

		.table-row>div {
			padding: 14px 18px;
		}

		.table-row>div:not(:first-child) {
			text-align: center;
		}

		.visibility-device {
			background: #e1e2eb;
			color: #62646e;
			padding: 4px 8px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			border-radius: 4px;
			position: relative;

			span {
				position: absolute;
				background: #4b4b51;
				color: #f2f2ff;
				bottom: calc(100% + 10px);
				font-size: 13px;
				left: 50%;
				transform: translateX(-50%);
				padding: 2px 6px;
				border-radius: 4px;
				opacity: 0;
				transition: all 0.15s ease;
				white-space: nowrap;
				z-index: 1;

				&:after {
					border: 6px solid transparent;
					content: "";
					position: absolute;
					top: 100%;
					border-top-color: #4b4b51;
					left: calc(50% - 5px);
				}
			}

			svg {
				width: 16px;
				height: 16px;
			}

			&:hover span {
				opacity: 1;
			}
		}

		.table-row {
			display: flex;
			margin: 0;
			padding: 0;
			max-width: 100% !important;
			width: 100%;
			box-shadow: none;
			border: none;
			background: #fff;

			--item-width: max(15%, 80px);

			.sortable-icon-title {
				i {
					margin-right: 10px;
				}
			}

			&>div:nth-child(1) {
				width: calc(100% - (var(--item-width) * 4));
			}

			&>div:nth-child(2) {
				width: var(--item-width);
			}

			&>div:nth-child(3) {
				width: var(--item-width);
			}

			&>div:nth-child(4) {
				width: var(--item-width);
			}

			&>div:nth-child(5) {
				width: var(--item-width);
			}
		}

		.ui-sortable--table {
			width: 100%;
			max-width: 100%;
			position: relative;
			display: flex;
			gap: 2px;
			margin-top: 2px;
			flex-direction: column;
		}
	}

	.post-center {
		table td:not(:first-child) {
			text-align: center;
		}
	}

	.popup-center {
		table td:nth-child(n+3) {
			text-align: center;
		}
	}

}

.gsbooks-shortcode-preview--page {
    padding: 30px;
}