/*
Copyright 2017 Ziadin Givan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

https://github.com/givanz/VvvebJs
*/

$builder-header-top-height:40px !default;
$builder-bottom-panel-height:35px !default;
$builder-border-color: #ddd !default;

$builder-left-panel-width:300px !default;
$builder-right-panel-width:300px !default;
$builder-canvas-margin:0px !default;
$builder-filemanager-height:200px !default;
$drag-items-tabs-height:90px !default;
$builder-background-color: #4285f4 !default;

$canvas-width-substract: $builder-left-panel-width + $builder-right-panel-width + $builder-canvas-margin;
$canvas-no-right-width-substract: $builder-left-panel-width  + $builder-canvas-margin;
$canvas-height-substract: $builder-header-top-height + $builder-bottom-panel-height;

$builder-left-panel-width:15vw;
$builder-right-panel-width:15vw;

$builder-left-panel-width-sm:25vw;
$builder-right-panel-width-sm:25vw;

$builder-left-panel-width-md:20vw;
$builder-right-panel-width-md:20vw;

$builder-left-panel-width-lg:20vw;
$builder-right-panel-width-lg:20vw;

$builder-left-panel-width-xl:15vw;
$builder-right-panel-width-xl:15vw;



$font-size-base: .875rem;


@import "csstree";

@mixin component-list-element() {
		width: 42%;
		margin: 0% 1% 5% 5%;
		text-align: center;
		font-weight: normal;
		font-size: 11px;
		color: #000;
		background-repeat: no-repeat;
		padding-top: 55px;
		padding-bottom: 7px;

		border-color:#ddd;
		border-style:solid;
		border-width:0px;
		/*		  
		border-left-width:1px;
		border-top-width:1px;
		*/
		background-position: 50% 30%;
		background-size: auto 38px;
		z-index: 100;
		background-color: transparent;
		cursor:pointer;
		opacity:0.75;
		box-shadow:0px 1px 5px 0px rgba(0, 0, 0, 0.2);
		-webkit-box-shadow:0px 1px 5px 0px rgba(0, 0, 0, 0.1);
		background-color:#fff;

		zoom: 1;
}

@mixin block-list-element() {
		width: 90%;
		height:180px;
		text-align: center;
		font-weight: normal;
		font-size: 11px;
		color: #000;
		background-repeat: no-repeat;
		padding-top: 150px;
		margin-bottom: 14px;

		border-color:#ddd;
		border-style:solid;
		border-width:0px;
		box-shadow: 0px 0px 2px 1px #ccc;
		background-position: top center;
		
		/*		  
		border-left-width:1px;
		border-top-width:1px;
		*/
		background-size: 250px 150px;
		z-index: 100;
		background-color: transparent;
		cursor:pointer;
		opacity:0.75;

		zoom: 1;
}

@mixin webkit-scrollbar()
{
	&::-webkit-scrollbar {
		width: 0.5rem;
		background-color: rgba(255,255,255, 0.1);
		-webkit-box-shadow:none;
	}
	 
	&::-webkit-scrollbar-track {
		-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.05);
	}
	 
	&::-webkit-scrollbar-thumb {
	  background-color: rgba(0,0,0, 0.15);
	  outline: 1px solid slategrey;
	}
}

body
{
	background:#eee;
	--builder-filemanager-height: #{$builder-filemanager-height};
	--builder-canvas-margin: #{$builder-canvas-margin};
	
	--builder-header-top-height:#{$builder-header-top-height};
	--builder-bottom-panel-height:#{$builder-bottom-panel-height};
	--drag-items-tabs-height:#{$drag-items-tabs-height};
	
	
    @include media-breakpoint-up(sm) { 
		--builder-left-panel-width:25vw;
		--builder-right-panel-width:25vw;
    }
    
    @include media-breakpoint-up(md) { 
		--builder-left-panel-width:25vw;
		--builder-right-panel-width:25vw;
    }

    @include media-breakpoint-up(lg) { 
		--builder-left-panel-width:25vw;
		--builder-right-panel-width:25vw;
    }
    
    @include media-breakpoint-up(xl) { 
		--builder-left-panel-width:20vw;
		--builder-right-panel-width:20vw;
    }

    @media (min-width: 1600px) {
		--builder-left-panel-width: 15vw;
		--builder-right-panel-width: 15vw;
    }

    @media (min-width: 2000px) {
		--builder-left-panel-width: 12vw;
		--builder-right-panel-width: 12vw;
    }
	
	scrollbar-color: rgba(0,0,0, 0.1) #fff;
	scrollbar-width: thin;
	@include webkit-scrollbar();
}

.modal-content
{
	font-size:.875rem;
}

.modal-footer .btn {
    font-size: .875rem;
}

#vvveb-builder
{
	// panels
	#left-panel, #right-panel
	{
		border-color: $builder-border-color;	
		border-style:solid;
		border-width:0px;
		
		background-color: #fff;
		height: 100%;

		position: fixed;
		top: $builder-header-top-height;
		z-index: 10;
	}
	
	#left-panel
	{
		float:left;
	
		border-right-width: 1px;	
		overflow:hidden;
		//border-top-width: 1px;	
/*
		box-shadow: 1px 0px 2px rgba(0,0,0,.1);
		-moz-box-shadow: 1px 0px 2px rgba(0,0,0,.1);
		-webkit-box-shadow: 1px 0px 2px rgba(0,0,0,.1);
*/
		background:-moz-linear-gradient(left, #fff 85%, #fafbfc 100%);
		background:-webkit-linear-gradient(left, #fff 85%, #fafbfc 100%);
		background:linear-gradient(left, #fff 85%, #fafbfc 100%);
		box-shadow: -1px -2px 2px #f3f3f3 inset;

		width: $builder-left-panel-width;
		width: calc(var(--builder-left-panel-width));
		height:100%;
		max-height:100%;

		#filemanager
		{
			height:$builder-filemanager-height;
			width:$builder-right-panel-width + 15;
			height: var(--builder-filemanager-height);
			width:calc( var(--builder-left-panel-width));
			border-bottom: 1px solid #ddd;
		
			.header
			{
				font-size: 11px;
				font-weight: 600;
				height: 2rem;
				margin: 0;
				padding: 0;
				width: 100%;
				line-height: 2rem;
				text-align: left;
				padding-left: 1rem;
				border-bottom: 1px solid #ddd;
				margin-bottom:0rem;
				padding:0.0rem 0.5rem;
				padding:0rem 0rem 0.5rem 1rem;
			  
				a 
				{
				  color: #007bff;
				}
			}
			
			.tree
			{
				height:$builder-filemanager-height - $builder-header-top-height;
				height:calc( var(--builder-filemanager-height) - #{$builder-header-top-height});
				padding:0.5rem 0rem;
				overflow-y: hidden;
				overflow-x: hidden;
				
				&:hover
				{
					overflow-y: auto;
				}
				
				@include webkit-scrollbar();
			}
		}
		
		.components-list, .blocks-list, .component-properties
		{
			width:var(--builder-left-panel-width);
		}
	}
	
	#right-panel
	{
		float:right;
		right:0px;
		
		border-left-width: 1px;	
		//border-top-width: 1px;	
		float:right;

		transition: margin-right 0.1s linear;
		-moz-transition: margin-right 0.1s linear;
		-webkit-transition: margin-right 0.1s linear;

		background:-moz-linear-gradient(right, #fff 85%, #fafbfc 100%);
		background:-webkit-linear-gradient(right, #fff 85%, #fafbfc 100%);
		background:linear-gradient(right, #fff 85%, #fafbfc 100%);
		box-shadow: 1px -2px 2px #f3f3f3 inset;
		
				
		width: $builder-right-panel-width;
		width: var(--builder-right-panel-width);
		
		.components-list, .blocks-list, .component-properties
		{
			width:var(--builder-right-panel-width);
		}
	}
	
	#top-panel
	{
		height:$builder-header-top-height;
		border-bottom:1px solid #ccc;
		text-align:center;
		background-color:#fafafa;
		overflow:hidden;
		
		.btn-group
		{
			.btn
			{
				padding: 0.25rem 0.5rem;
				font-size: 1.25rem;
			}
			
			&.responsive-btns
			{
				.btn
				{
					font-size: 1.6rem;
					padding:0rem 0.5rem
				}
			}
		}
		
	}
	
	#bottom-panel
	{
		width:auto;
		height:$builder-bottom-panel-height;
		bottom:0px;
		position:fixed;
		border-top:1px solid #ddd;
		left: $builder-left-panel-width;
		left: calc($builder-left-panel-width +  $builder-canvas-margin);
		left: calc( var(--builder-left-panel-width) + var(--builder-canvas-margin));
		right: $builder-right-panel-width;
		right: var(--builder-right-panel-width);
		background-color:#fff;
		
		#vvveb-code-editor 
		{
			//height:calc( 100% - #{$builder-bottom-panel-height});
			width:100%;
			height:100%;
			
			textarea
			{
				height:100%;
				width:100%;
				border:none;
				font-size:14px;
				margin-bottom:10px;
				background:#fafafa;
			}
		}
	}
	
	&.bottom-panel-expand
	{
		#bottom-panel
		{
			height:50%;
		}	
		
		#canvas
		{
			height:50%;
		}
	}

	.drag-elements
	{
		padding-top: 0rem;

		> .header
		{
			background:#fafafa;
			
			.search 
			{	
				position:relative;
				.form-control
				{
					border-color:#fff;
					border-bottom-color: #ddd;
					border-radius:0px;
				}
				
				.form-control:focus
				{
					border-color:#80bdff;
				}
				

				.form-control::placeholder
				{
					/*font-size: $font-size-sm;*/
					font-size: .75rem;
				}

				
				.clear-backspace
				{
					border:none;
					background:none;

					position: absolute;
					top: 3px;
					right: 0px;
					
					i {
						font-size:13px;
					}

					opacity:0.8;
					
					&:hover
					{
						opacity:1;
					}
				}
				
				input:focus + #clear-backspace,
				input:hover + #clear-backspace
				{
					opacity:1;
				}					
			}
		}
		
		
		.nav-item
		{
			.nav-link
			{
				text-align:center;
				border-top-color: #fff;
				border-radius:0px;
				min-width:5rem;
				color:$dark;
				line-height:1.2rem;
				
				i.la-lg
				{
					font-size:1.2rem;
				}
				
				small
				{
					font-size:70%;
				}
				
				&.active, &:hover
				{
					color:$primary;
				}
			}
		}
		
		&#add-section-box .nav-item:first-child .nav-link
		{
			border-left:none;
		}
	}
	
	.components-list, .blocks-list, .component-properties
	{
		height:98%;
		height:calc(100% - #{$builder-filemanager-height} - #{$drag-items-tabs-height} - #{$builder-header-top-height});
		height:calc(100% - var(--builder-filemanager-height) - #{$drag-items-tabs-height} - #{$builder-header-top-height});
		overflow-x: hidden;
		list-style:none;
		background: #fafbfc;
		//scrollbar on hover
		overflow-y:hidden;
		
		&:hover
		{
			overflow-y:auto;
		}
		
		@include webkit-scrollbar();
		
	}

	.component-properties
	{
		background:#fff;
	}

	& #add-section-box 
	{
		.header > div.section-box-actions 
		{
			position:absolute;
			top:1rem;
			right:1rem;
		}
	
		.components-list, .blocks-list, .component-properties {
			width:auto;
			height:auto;
			padding: 0px;
			height: 200px;
			
			ol 
			{
				padding:0rem 0rem 0rem 1rem;
				
				li
				{
					width:14%;
					min-width:90px;
					float:left;
					margin:0% 1% 1% 1%;
					
					a
					{
						display:block;
						color: #333;
						text-decoration: none;
						text-shadow: none;
						margin-top:5px;
					}
				}
			}

		}
		
					
		.blocks-list
		{
			ol 
			{
				li
				{
					@include block-list-element();
					width:29%;
					margin-right:1.5rem;
				}
			}
		}
	}
	

	
	.component-properties-sidepane {
	  z-index: 0;
	  margin: 0;
	  -webkit-touch-callout: none;
	  -webkit-user-select: none;
	  -khtml-user-select: none;
	  -moz-user-select: none;
	  -ms-user-select: none;
	  user-select: none;
	  height: auto;
	  width: 100%;
	  overflow-y: auto;
	 
		> div
		   {
			position:absolute;
			height:100%;
		   }	
		
		@include webkit-scrollbar();		   
	}
	
	.component-properties
	{
		height:95%;
		height:calc(100% - #{$builder-header-top-height});
		
		#right-panel
		{
			color:#777;
		}

		&, select, input
		{
			font-size:12px;
		}

		label
		{
			margin-top:4px;
		}
		
		.custom-select
		{
			height:auto;
		}
		.form-control, .custom-select
		{
			padding:.275rem 0.25rem;
		}

		.form-group
		{
			margin-right:0px;			
			margin-left:0px;			
			
			[class^="col-sm-"]
			{
				padding-left:10px;
				padding-right:10px;
			}
			
			> label
			{
				font-size:11px;
				margin-bottom:5px;
				font-weight:600;
				color:#555;
				
				i
				{
					font-size:14px;
				}
			}
			
			.input
			{
				width:100%;
			}
			
			.custom-control
			{
				min-height:1.1rem;
			}
		}
	}

	
	// canvas
	#canvas
	{
	        margin-right: $builder-right-panel-width;
		margin-left: $builder-left-panel-width;
	   	margin-right: var(--builder-right-panel-width);
		margin-left: var(--builder-left-panel-width);
		width:100%;
		height:100%;
		width: calc( 100vw - #{$canvas-width-substract});
		height: calc( 100vh - #{$canvas-height-substract});
		top:$builder-header-top-height;
		width: calc( 100vw - (var(--builder-left-panel-width) + var(--builder-right-panel-width) + var(--builder-canvas-margin)));
		height: calc( 100vh - (var(--builder-header-top-height) + var(--builder-bottom-panel-height)));
		top:var(--builder-header-top-height);
		position:fixed;
		transition:width 0.35s, left 0.35s;
		//border-top: 1px solid $builder-border-color;	
	
		#iframe-wrapper, iframe, iframe  body
		{
			width:100%;
			height:100%;
			border:none;
		}
		
		&.tablet
		{
			width:768px !important;
			left: calc(50% - #{(768 / 2) + $builder-left-panel-width});
			left: calc(50% - ((768px / 2) + var(--builder-left-panel-width)));
		}

		&.mobile
		{
			width:320px !important;
			left: calc(50% - #{(320 / 2) + $builder-left-panel-width});
			left: calc(50% - ((320px / 2) + var(--builder-left-panel-width)));
		}
	}
	
	&.preview 
	{	
		#canvas
		{
			width:100%;
			margin-left:0px;
			margin-right:0px;
		}
		
		#left-panel, #right-panel
		{
			display:none;
		}
	}

	&.no-right-panel 
	{	
		--builder-right-panel-width:0px;
		
		#right-panel
		{
			display:none;
		}
	}



	#iframe-layer {
		overflow: hidden;
		pointer-events: none;
		white-space: nowrap;
	}


	#highlight-box
	{
		position:absolute;
		border:1px solid $builder-background-color;
		width:0px;
		height:0px;
		top:0px;
		left:0px;
		display:none;
	}

	.text-edit#select-box
	{
		border-style:dashed;
		/*border-width:1px;*/
		background:transparent;
	}

	#select-box
	{
		position:absolute;
		border:1px solid $builder-background-color;
		background:rgba( $builder-background-color, 0.1);//rgba(66, 133, 244, 0.1);
		width:0px;
		height:0px;
		top:0px;
		left:0px;
		display:none;
	}

	#select-actions, #wysiwyg-editor
	{
		position:absolute;
		right:-1px;
		top:-25px;
		background:$builder-background-color;
		color:#fff;
		padding:0px 0px;
		border-radius:3px 3px 0px 0px;
	}

	#wysiwyg-editor
	{
		top:-22px;
		right:auto;
		left:-1px;
		display:none;
	}

	#select-actions a, #wysiwyg-editor a, #section-actions a#add-section-btn
	{
		pointer-events: auto;
		color:#fff;
		font-size:16px;
		padding-right:2px;
		padding:2px 5px;
		
		&:hover
		{
			text-decoration:none;
			background:darken( $builder-background-color, 10%)
		}
	}

	#section-actions
	{
	
		bottom: 0px;
		position: absolute;
		border-radius: 3px 3px 0px 0px;
		bottom: -10px;
		left: 50%;
		left: calc(50% - 12px);

		&.outside
		{
			bottom:-25px;
		}

		
		a#add-section-btn
		{
			position: relative;
			bottom: 0px;
			background: #4285f4;
			color: #fff;
			font-size: 18x;
			border-radius: 20px;
			width: 20px;
			height: 20px;
			padding: 4px 5px;
			cursor:pointer;
			
		}
	}
	
	#add-section-box
	{
		width: 50%;
		min-height: 300px;
		max-height: 400px;
		position: absolute;
		background: #fff;
		top: 100px;
		left: 100px;
		box-shadow: 0px 0px 2px 0px #ccc;
		border: 1px solid #ddd;
		min-width: 500px;
		max-width: 800px;
		pointer-events:auto;
		display:none;
		background:#fff;
	}

	#highlight-name
	{
		background:$builder-background-color;
		font-size:12px;
		color:#fff;
		position:relative;
		top:-22px;
		left:-1px;
		width:auto;
		padding:2px 5px;
		display:inline-block;			
		border-radius:3px 3px 0px 0px;
	}



	::-webkit-scrollbar {
	  width: 0.8em;
	  background: #fafafa;
	}
	::-webkit-scrollbar-thumb {
	  background: #ccc;
	}




		   
	.nav-tabs .nav-item:first-child .nav-link
	{
		border-left:none;
	}

	.nav-tabs .nav-link
	{
		text-align:center;
	}

	.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {

		color: #495057;
		background-color: #fff;
		border-color: #fff #dee2e6 #fff #dee2e6;
		border-radius: 0px;

	}
	.nav-fill .nav-link
	{
		padding-left:0rem;
		padding-right:0rem;
	}

}

/* style for drag element */
li[data-type]
{
	@include component-list-element(); 
	/*border-width:1px;*/
	list-style: none;
	a
	{
		display:none;
	}
}

.drag-elements-sidepane {
  z-index: 0;
  margin: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: auto;
  width: 100%;
  overflow-y: auto;
 
  @include webkit-scrollbar();
 
   > div
   {
	position:absolute;
	height:98%;
   }	
	width:100%;

	ul {
	  z-index: 1;
	  margin: 0;
	  padding: 0;
	  white-space: nowrap;
	  text-align: center;

	  > li
	  {	
	  
		list-style: none;
		float: none;
		clear:both;

		&.header
		{
			height: auto;
			margin: 0;
			padding: 0;
			width: 100%;
			position:relative;
			//border-top: 1px solid #ddd;

			label
			{
				font-size: 11px;
				font-weight: 600;
				line-height: 32px;
				text-align: left;
				//padding-left:1rem;
				padding:0.5rem 0rem 0.5rem 1rem;
			  
				> a 
				{
				  padding-left: 1rem;
				  color: #007bff;
				}
			   
			}

			&:first-child
			{
				margin-top:0rem;
				border-top:none;
			}
		}

		 ol {
		 
			margin:0px;
			padding:0rem;
			padding-bottom:0rem;
			
			@extend .clearfix;
		 
			li {
			  list-style: none;
			  float: left;

				a {
				  color: #333;
				  text-decoration: none;
				  text-shadow: none;
				  margin-top:5px;
				}
			

			&[data-type] {
				border:none;
				list-style: none;
				
				a
				{
					display:none;
				}

				&:hover {
				  cursor:hand;
				  cursor:grab;
				  cursor:-moz-grab;
				  cursor:-webkit-grab;
				  background-color: #fff;
				  opacity:1;
				  text-align:center;

				  a {
					//color:$blue;
				  }

				}
				
				a
				{
					display:block;
				}

			}
		}
	 }
    }
  }
}

#blocks .drag-elements-sidepane
{
	li[data-type]
	{
		@include block-list-element(); 
		
		a {
			background: #fff;
			padding: 5px 0px 0px 0px;
		}
	}
}


#components .drag-elements-sidepane,
#add-section-box
{
	li[data-type]
	{
		@include component-list-element(); 
		
		&:hover
		{
			box-shadow: 0px 0px 1px 0px $builder-background-color;
			background-color:rgba( $builder-background-color, 0.1);
		}
	}
}
/*
#right-panel 
{
*/
label.header
{
	font-size: 11px;
	font-weight: 600;
	height: auto;
	margin: 0;
	padding: 0;
	width: 100%;
	line-height: 32px;
	text-align: left;
	padding:0.3rem 0 0 0.3rem;
	padding:0.5rem 0rem 0.5rem 0.5rem;
	border-top: 1px solid #ddd;
	color: #007bff;
	cursor:pointer;
	position:relative;

	&:first-child
	{
		margin-top:0rem;
		border-top:none;
	}
	
	.header-arrow
	{
		@extend .la;
		@extend .la-angle-down;
		padding:0.7rem;
		cursor:pointer;
		position:absolute;
		right:15px;
		
		&.expanded
		{
			@extend .la-angle-right;
		}
	}
	
	:checked
	{
		color:red;
	}
}

input.header_check
{
	position: absolute;
	left: 0;
	margin-left: 0;
	opacity: 0;
	z-index: 2;
	cursor: pointer;
	height: 1em;
	width: 1em;
	top: 0;
}

input.header_check:checked + div.section,
li.header > input.header_check:checked + ol
{
	display:block;
}

div.section, .header > ol
{
	display:none;
}

#right-panel 
{

	label.header
	{
		.header-arrow
		{
			right:5px;
		}

	}
}

.toggle {
	position: relative; width: 65px;
	-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.toggle-checkbox {
	display: none;
}
.toggle-label {
	display: block; overflow: hidden; cursor: pointer;
	border: 2px solid #FFFFFF; border-radius: 30px;
}
.toggle-inner {
	display: block; width: 200%; margin-left: -100%;
	transition: margin 0.3s ease-in 0s;
}
.toggle-inner:before, .toggle-inner:after {
	display: block; float: left; width: 50%; height: 20px; padding: 0; line-height: 20px;
	font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
	box-sizing: border-box;
}
.toggle-inner:before {
	content: "ON";
	padding-left: 14px;
	background-color: #007BFF;
}
.toggle-inner:after {
	content: "OFF";
	padding-right: 14px;
	background-color: #999999; color: #333333;
	text-align: right;
}
.toggle-switch {
	display: block; width: 18px; margin: 4px;
	background: #FFFFFF;
	position: absolute; top: 0; bottom: 0;
	right: 39px;
	border: 2px solid #FFFFFF; border-radius: 30px;
	transition: all 0.3s ease-in 0s; 
}
.toggle-checkbox:checked + .toggle-label .toggle-inner {
	margin-left: 0;
}
.toggle-checkbox:checked + .toggle-label .toggle-switch {
	right: 0px; 
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
}


input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}


.custom-select.small-arrow
{
	background-position:right .15rem center;
}

.input-group.auto input[type="number"]
{
	display:none;
}

.input-group.auto .input-group-append
{
	width:100%;
}


.btn-group.btn-group-fullwidth
{
	display:flex;
	width:100%;
}

.btn-group.btn-group-fullwidth .btn
{
	flex:1 1 auto;
}


.btn-group .btn.btn-gray.active
{
	background-color:#ddd;
}

.btn-group .btn i
{
	vertical-align:middle;
}

.form-control::placeholder
{
	opacity:0.7;
}

.btn-link:hover {
	text-decoration:none;
}

/* autocomplete */
input.autocomplete-loading
{
	background-image:url(../libs/autocomplete/autocomplete.gif);
	background-position: center right;
	background-repeat:no-repeat;
}
ul.autocomplete 
{
    position: absolute;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid ButtonFace;
    margin: 0px;
    padding: 0px;
    list-style: none;
    color: #000;
	display:none;
	z-index:1000;
}
ul.autocomplete li 
{
  display: block; 
  padding: 0.3em; 
  overflow: hidden;
  width: 100%;
  cursor:pointer;
}

ul.autocomplete li.selected 
{
  background-color: Highlight ; 
  color: #fff;
}


.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle {
	box-shadow: 0px 0px 1px 0px rgba( 255,255,255, 0.1);
	background-color:rgba( $builder-background-color, 0.07);
	border-radius:0px;
	border-color: transparent;
	&:focus {
		box-shadow: 0px 0px 1px 0px rgba( $builder-background-color, 0.2);
	}
}

 	   
.nav-tabs .nav-item:first-child .nav-link
{
	border-left:none;
}

.nav-tabs .nav-link
{
	text-align:center;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {

	color: #495057;
	background-color: #fff;
	border-color: #fff #dee2e6 #fff #dee2e6;
	border-radius: 0px;

}
.nav-fill .nav-link
{
	padding-left:0rem;
	padding-right:0rem;
}
