.btn_icon
{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	pointer-events: none;
	overflow: hidden;  	
}


/* ========= MAIN LAYOUT BUTTONS =========  */
    .cinegy
    {
        position: absolute!important;
        right: 0px;
        height: 100%;
        width: 100px;
        margin-top: 0px!important;
        display: block;
        overflow: hidden;
        padding: 0px!important;
        text-align: center;
    }
        .cinegy > *
        {
            height: 70px;
            width: 70px;
            top: -15px;
            background-color: var(--black);
            left: auto;
            right: 20px;
			transition: transform 0.3s ease, background-color 1s ease;
        }

        .cinegy > *:before
        {
			content: '';
			position: absolute;
			width: 300%;
			height: 300%;
			top: -150px;
			left: -220px;
			/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+1,ffffff+50,ffffff+100&0+14,1+50,0+92 */
			/* IE9 SVG, needs conditional override of 'filter' to 'none' */
			background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjElIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz4KICAgIDxzdG9wIG9mZnNldD0iMTQlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz4KICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iOTIlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
			background: -moz-linear-gradient(-32deg,  rgba(255,255,255,0) 1%, rgba(255,255,255,0) 14%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 92%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
			background: -webkit-gradient(linear, left top, right bottom, color-stop(1%,rgba(255,255,255,0)), color-stop(14%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(92%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0))); /* Chrome4-9,Safari4-5 */
			background: -webkit-linear-gradient(-32deg,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 14%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 92%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
			background: -o-linear-gradient(-32deg,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 14%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 92%,rgba(255,255,255,0) 100%); /* Opera 11.10-11.50 */
			background: -ms-linear-gradient(-32deg,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 14%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 92%,rgba(255,255,255,0) 100%); /* IE10 preview */
			background: linear-gradient(122deg,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 14%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 92%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */

        }		
		
		.cinegy:hover > *
		{
			transform: scale(1.05);
			animation: bgChange 1s ease 1s forwards;
		} 

		.cinegy > *:not(:hover) {
			transform: scale(1);
			background-color: var(--black); /* Reset to original color */
		}		
		
			.cinegy:hover > *:before
			{
				transition: all ease 2.3s;						
				top: 0;
				left: 220px;
			}				

		@keyframes bgChange {
			to {
				background-color:  var(--white); /* New background color */
			}
		}

	/* === MAIN ICONS === */

	
	
	#layout_tree h1 span
	{
		width: 30px;
		height: 30px;
		top: 6px;
		left: 6px;
		background-color: var(--light-gray-2);
	}

		#button_holder h1 span,
		#button_holder.off h1 span,
		#side.off * h1:after,	
		#layout_tree.off h1 span,
		#layout_tree h1:hover span
		{
			background-color: var(--light-gray-1);
		}	

		#button_holder.off h1:hover,					
		#side.off * h1:hover
		{
			background-color: var(--border-gray-1);
		}


		#button_holder.off h1:hover span,		
		#side.off * h1:hover:after,
		#layout_tree.off h1:hover span
		{
			background-color: var(--white);
		}			

		/* === === === */

		#properties h1:after
		{
			content: '';
			position: absolute;
			display: block;

			width: 35px;
			height: 35px;
			top: 7px;
			left: 2px;
		}

		#side.off * h1:after
		{
			left: 4px;			
			top: 2px;
		}		

			.prop_layout h1:after
			{
				background-color: var(--white);	
			}		

			.prop_camera h1:after
			{
				background-color: var(--camera-1);	
			}

			.prop_digi h1:after
			{
				background-color: var(--digi-1);	
			}

			.prop_time h1:after
			{
				background-color: var(--time-1);	
			}

			.prop_cpu h1:after
			{
				background-color: var(--cpu-1);	
			}

			.prop_text h1:after
			{
				background-color: var(--text-1);		
			}

			.prop_image h1:after
			{
				background-color: var(--image-1);		
			}

			.prop_box h1:after
			{
				background-color: var(--box-1);	
			}		

		/* === === === */

		#button_holder h1 span
		{
			width: 30px;
			height: 30px;
			left: -4px;
		}

		#button_holder.off h1 span
		{
			width: 40px;
			height: 40px;
			left: 4px;
			top: 4px;
		}		
		/* === === === */


/* ========= HEADER BUTTONS =========  */


/* ========= MENU BOTTOM =========  */
	.menu_btn
	{
		position: relative;
		display: block;	
		left:0px;
		float:left;
		top:0px;
		width: 40px;
		height: 40px;
		z-index: 2;
		border-radius: 5px;

		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		overflow: hidden;    
	}
		

		.menu_btn+.menu_btn
		{
			margin-left: 6px;	
		}

		.menu_btn:nth-of-type(4),
		.menu_btn:nth-of-type(6),
		.menu_btn:nth-of-type(10),
		.menu_btn:nth-of-type(13),
		.menu_btn:nth-of-type(16)
		{
			margin-left: 24px;		
		}

		 /* COLOR */		
		.menu_btn
		{
			background-color: var(--bg-gray-1);
			border-width: 1px;
			border-style: solid;	
			border-color: transparent;	
		}			 

			.menu_btn span
			{
				background-color: var(--btn-img);
			}			 


		 /* ONCLICK & HOVER */
		.menu_btn:hover,
		.menu_btn:active
		{
			border-color: var(--click-bg);		
		}

		.menu_btn:active
		{
			background-color: var(--click-bg);	
		}			

			.menu_btn:hover span,
			.menu_btn:active span
			{
				background-color: var(--btn-click-img);	
			}		



	/* DISABLED */

	.menu_btn.disabled
	{
		border: none;
		pointer-events: none;
		-webkit-filter: brightness(0.5);
		filter: brightness(0.5);
		background-color: var(--black);				
	}


/* ========= BUTTON HOLDER =========  */

	.cntrl_btn
	{
		position: relative;
		width: 64px;
		height: 64px;
		border-radius: 5px;
		float: left;
		background-position: 200% top;
		background-size: 400% 100%; 
		overflow: hidden;
		border-radius: 5px;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;    
	}


	.cntrl_btn+.cntrl_btn
	{
		margin-top: 16px;
	}

		.cntrl_btn:before
		{
			content: "";
			position: absolute;
			width: 100%;
			height: 3px;
			left: 0px;
			bottom: 0px;

			display: block;
			transition: height 0.2s ease;        
		}

		.cntrl_btn:hover:before
		{
			height: 5px;
		}



	.cntrl_btn:hover
	{
		border: 1px solid  var(--border-gray-1);    
	}

	.cntrl_btn:active,
	.cntrl_btn span
	{
		background-color: var(--click-bg);	
	}


	.cntrl_btn:hover span
	{
		background-color: var(--border-gray-1);	
	}
	
	.cntrl_btn:active span
	{
		background-color: var(--light-gray-1);	
	}		

	#button_holder.but_dis .cntrl_btn{
		pointer-events: none;
		background-color: var(--black-10);	
	}

	#button_holder.but_dis #dynamic *:before,
	#button_holder.but_dis #static  *:before
	{
		background-color:  var(--bg-gray-1);	
	}

	

/* ========= LAYOUT TREE =========  */	



		.icon_layout
		{
			background-color:  var(--list-text-1);				
        }

		.on_h .icon_layout,
		.list_title:hover .icon_layout
		{
			background-color:  var(--white);				
        }

        .list_content .row .cont_name:before
        {
            content:"";
            position: absolute;
            display: block;

            width: 4px;
            height: 100%;
            top: 0px;
            left: 0px;
        }        

        .cont_thumb
        {
            position: absolute;
            width: 25px;
            height: 25px;
            left: 7px;
			background-color:  var(--list-text-1);     			
        }

        .cont_name
        {
			position: relative;
        } 		

			.cont_name:after
			{
				content:"";
				position: absolute;
				display: block;

				width: 28px;
				height: 28px;
				top: -1px;
				right: 0px;
			}  
				.cont_name.locked:after
				{
					background-color:  var(--list-text-1);     						
				}  		

        /* .row_title.on_h  .cont_thumb, */
		

		.list_content .row:hover .delete_object span,		
        .list_content .row:hover .cont_thumb,
		.list_content .row:hover .cont_name.locked:after
        {
			background-color:  var(--btn-click-img);         
        }

		.list_content .row:hover .delete_object span,
		.list_content .row:hover .cont_thumb,
		.list_content .row:hover .cont_name.locked:after
		{
			background-color:  var(--black);	                 
		}


		.row_title.dis  .cont_thumb,
		.row_title.dis:hover  .cont_thumb,
		.row_title.dis:hover  .delete_object span,
		.row_title.on_h  .cont_thumb,
		.row_title:active  .cont_thumb,
		.row_title:hover:active  .cont_thumb,
		.row_title.on_h  .cont_name.locked:after,
		.row_title:active  .cont_name.locked:after,
		.row_title:hover:active  .cont_name.locked:after,
		.row_title.on_h  .delete_object span,
		.row_title:active  .delete_object span,
		.row_title:hover:active  .delete_object span
		{
			background-color:  var(--white);	                 
		}
				




		.delete_object
		{
			position: relative;
			cursor: pointer;
		}

			.delete_object span
			{
				transform: scale(0.75);
				background-color:  var(--list-text-1);		
			}

			.delete_object:hover span
			{
				background-color:  var(--white)!important;		
			}			

		.dis
		{
		background: var(--black)!important;
		color: var(--white)!important;
		}

		.dis:hover
		{
		background: var(--bg-gray-1)!important;
		}		

		.dis .cont_name:after
		{
			background-color: var(--white)!important;
			mask-position: calc(100% / 11 * 10) calc(100% / 6 * 0)!important;
		}


	/* ARROWS */


	.scroll_btn
	{
		position: relative;
		margin-top: 10px;
		width: 20px;
		height: 20px;
		display: block;
		background-color: var(--bg-gray-1);
		border-radius: 5px;
	}

		.scroll_btn+.scroll_btn
		{
			margin-right: 10px;
		}

		.scroll_btn:hover
		{
			background-color: var(--btn-img);
		}	

		.scroll_btn:active
		{
			background-color: var(--btn-click-img);
		}

		.scroll_btn span
		{
			background-color: var(--light-gray-2);
		}

		.scroll_btn:hover  span
		{
			background-color: var(--light-gray-2); 
		}	

		.scroll_btn:active  span
		{
			background-color: var(--light-gray-1);
		}			

 		


/* ========= PROPERTIES =========  */			

	.lock
	{
		position: absolute;

		border: none;
		margin: 0;
		padding: 0;
		text-align: inherit;
		font: inherit;
		border-radius: 0;
		appearance: none;  

		border-radius: 5px;
		/* background-color: var(--bg-gray-1); */

		width: 25px;
		height: 25px;
		right: 130px;
		overflow: hidden;
		text-indent: 100px;
		top: 13px;    
	}

		.lock.off:hover,
		.lock.on
		{
			background-color: var(--black-50);	     
		}

		.lock.on:hover,    
		.lock.off
		{
			background-color: transparent;
		}

		.lock span
		{

			width: 35px;
			height: 35px;
			top: -5px;
			left: -5px;

			background-color:  var(--list-text-1);	                 
		}

		.lock.on span
		{
        	mask-position: calc(100% / 11 * 8) calc(100% / 6 * 0);  			
			background-color:  var(--list-text-1);	 	                 
		}	
		
		
	/* === === === */

	.color_holder{
		position: relative;
		width: 100%;
		height: 100%;
		
	}

	.color_holder input{
		position: relative;
		height: 30px;
		top: 17px;
		max-width: calc(100% - 50px);
		left: 0px;
		border: 2px dashed var(--border-gray-1);
	}	

		.resetColorBtn
		{
			position: relative;
			width: 30px;
			height: 30px;
			margin-left: 10px;
			border-radius: 5px;
			background-color:  var(--bg-gray-1);
			opacity: 0;
			pointer-events: none;
		}

			.resetColorBtn.on
			{
				opacity: 1;
				pointer-events: all;
			}

			.resetColorBtn:hover
			{
				background-color:  var(--btn-img);
			}		


		.resetColorBtn span
		{
			background-color:  var(--list-text-1);
		}


			.resetColorBtn:hover  span
			{
				background-color:  var(--btn-click-img);
			}	














/* ========= MAIN =========  */	


	.canvas_menu span
	{
		/* position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		background-color: var(--bg-gray-1);
		background-size: contain;
		background-position: center;
		

		background-repeat: no-repeat;  
		border-radius: 5px;         
		opacity: 1; */
	}

	.canvas_menu .zoom_btn
	{
		position: absolute;
		display: block;
		width:58px;
		height: 58px;
		background-color: var(--bg-gray-1);
		background-size: contain;
		background-position: center;
		

		background-repeat: no-repeat;  
		border-radius: 5px;         
		opacity: 1;
		top:-5px;
	}	

		.canvas_menu .zoom_btn span
		{
			background-color: var(--light-gray-2)
		}		

	.canvas_menu:hover .zoom_btn
	{
		display: none;
	}





	.lyt_new_btn
	{
		position: relative;
		float: left;
		width: 60px;
		height: 55px;
		line-height: 55px;
		text-align: center;
		border-top: thin solid var(--btn-img);
		font-size: 36;    
		color: var(--btn-click-img);
	}
		.lyt_new_btn:hover
		{
			color: var(--white);
		}


	/* === === === */

	.lyt_btn
	{
		position: relative;
		float: left;
		width: 180px;
		height: 55px;
		line-height: 55px;
		text-align: center;
		font-size: 14px;
		color: var(--btn-img);
		
		border-left: thin solid var(--btn-img);
		border-top: thin solid var(--btn-img);
		overflow: hidden;
	}

		.lyt_btn button
		{
			display: block;
			width: 100%;
			height: 100%;
			top: 0px;
			left: 0px;
			z-index: 1;
			color: var(--btn-img);  
		}

			.lyt_btn:before
			{
				position: absolute;
				content: "";
				width: 100%;
				height: 3px;
				background:none;
				bottom: 0px;
				left: 0px;
				z-index: 1;
			}		

	.lyt_btn.on button
	{
		color: var(--white);
		
	}

	.lyt_btn.on:before, .lyt_btn.on:hover
	{
		background-color: var(--light-gray-2);
	}

	.lyt_btn.on:hover:before
	{
		background-color: var(--white);
	}	

	.lyt_btn:hover button, .lyt_btn.on:hover button
	{
		color: var(--white);
	}

	.lyt_btn:last-of-type
	{
		border-bottom-right-radius: 10px;    
	}




	/* === === === */

	.delete_btn
	{
		position: absolute;
		width: 30px;
		height: 30px;
		right: 9px;
		top: 12px;
		display: block;
		
		line-height: 30px;
		border-radius: 5px;
		 
		background-color: var(--bg-gray);	
		z-index: 10;	
		cursor: pointer;   		
	}
		.delete_btn span
		{
			pointer-events: none;
			background-color: var(--light-gray-2);	
		}

	.delete_btn:hover
	{
		background-color: var(--btn-img);	
	}
	
	.delete_btn:active
	{
		background-color: var(--click-bg);	
	}		

		.delete_btn:hover span
		{
			background-color:  var(--light-gray-1);	
		}					