﻿@charset "utf-8";

@import url("admin/fonts/roboto-condensed/font.css");




.TabContainer {
	/*
		display: inline-block; 
	position: absolute;
	*/
	display: flex;
	flex-flow: column;
	
	/*
	top: 100px;
	left: 200px;
	width: calc(100vw - 200px);	
	*/
	height: 100%;	
	
    overflow: visible;
    /*overflow: hidden;*/
    
    width: auto;	
	z-index:10;	  


    /*background-color: white;*/
    background-color: transparent;
}

#main_container {
    background-repeat: no-repeat;
    background-position: center center;
}

.TabContainer>ul.container_titles  {
	background-color: #777777;	
	padding-left: 25px;
	padding-right: 40px;
}

.DraggablePanel.TabContainer>ul.container_titles  {
	cursor: move !important;
}

    

.TabContainer .ui-tabs-panel {
	overflow: auto;
	flex: 2;	
	z-index: 1;
	
	/*background-color: white;*/
}

.TabContainer .ui-tabs-panel:not(.nodePanel) {	
	box-shadow: 0px 0px 41px -4px rgba(0,0,0,1);
        background-color: white;
}
.TabContainer .ui-tabs-panel.nodePanel {	
        padding-top: 0px;
        padding-bottom: 0px;
}


#main_container>.ui-tabs-panel {    
    background-color: white;
}

.TabContainer>ul.container_titles>li {
	background-color: #666666;
	color: white;
        
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
        max-width: 100%;
}

.TabContainer>ul.container_titles>li>* {
	color: white;
}

.ui-tabs-anchor {
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 3em !important;
    max-width: 100%;
}


.DraggablePanel  .ui-tabs-anchor  {
	cursor: move !important;
}

.ui-tabs-anchor:focus {outline:0;}


.TabContainer>ul.container_titles.hideInactive>li:not(.ui-tabs-active)  {
	display: none;
}



.TabContainer>ul.container_titles>li.ui-tabs-active
{	
	background-color: white;
	color: black;
	z-index: 2;
	
}

.TabContainer>ul.container_titles>li.ui-tabs-active>*
{	
	color: black;
}


.TabContainer>ul.container_titles>li:hover {
	background-color: var(--color-highlight);
	color: white !important;
	z-index: 2;
}
.TabContainer>ul.container_titles>li:hover>* {
	color: white !important;
}
	

.TabContainer.DraggablePanel {
		z-index: 100;
}


.editor :not([data-structure="set"])>[data-structure="entity"]>[data-structure="field"],
.editor :not([data-structure="set"])>[data-structure="entity"]>[data-template]>[data-structure="field"] 
{
	margin-top: 20px;
	margin-bottom: 20px;	
}

.editor [data-structure="entity"]>[data-type="textarea"],
.editor [data-structure="entity"]>[data-template]>[data-type="textarea"] 
{
	min-height: 4em;
	max-height: 20em;	
	overflow-y: scroll;
}


/*
.editor [data-structure="entity"]{
	margin-top: 20px;
	margin-bottom: 20px;
	line-height: 1.75em;	
}
*/


.editor .label {
	font-weight: bold;
}

.admin {
	background-color: #666666;
	z-index: 200;	
	font-size:18px;
}



.admin_panel {
        background-image: linear-gradient(to bottom right, #666666, #484848);
        
        /*background-color: var(--color-headline);*/
        border: 1px solid var(--color-highlight);
        
	width: 52px;
/*	padding-left: 10px;
	padding-right: 10px;
	padding-top: 8px;
	padding-bottom: 8px;*/
	position: fixed !important;
	top:30vh;
	/*left:0px;*/
        right: 0px;
	
	

	max-height: 52px;
	overflow: hidden;

	/* Set our transitions up. */
	-webkit-transition: max-height 1.0s;
	-moz-transition: max-height 1.0s;
	transition: max-height 1.0s;
	
-webkit-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);
box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);
	

    touch-action: unset;
}

    
body.admin_panel_expanded .admin_panel {
    max-height: 700px;
}
body.admin_panel_pinned{
    padding-bottom: 40px;
}

body.admin_panel_pinned .admin_panel{
    z-index: 200;
    position: fixed;
    width: 100%;
    bottom: 0px;
    top: auto;
}


/*.admin_panel:hover {
	max-height: 500px;
}*/

.admin_panel button {
    color: white;
    text-shadow: 2px 2px 4px #1f1f1f;
    font-size: 22px;
}

body:not(.admin_panel_pinned) .admin_panel button {
    color: white;
    font-size: 28px;
    text-shadow: 2px 2px 8px #1f1f1f;
    transform: scale(0.8);
}

.admin_panel button:hover {
    transform: scale(1);	
}


body:not(.admin_panel_pinned) .admin_panel button:after {
    display: none !important;
}

.admin_panel .menu>li
{
    display: inline-block;
    height: 32px;
    list-style: outside none none;
    width: 32px;
    cursor:pointer;
	margin-top: 2px;
	margin-bottom: 2px;    
}

body:not(.admin_panel_pinned) .admin_panel button.unpin {
    display: none;
}
body.admin_panel_pinned .admin_panel button.pin {
    display: none;
}
body.admin_panel_pinned .admin_panel button.expander {
    display: none;
}
body.page_admin .admin_panel button.saveHtml {
    display: none;
}


body:not(.admin_mode_editor) .admin_panel .adminModeEditor {
    display: none !important;
}

body.admin_mode_editor .admin_panel .adminModeAdmin {
    display: none !important;
}
body.admin_mode_editor .editorControls,
body.admin_mode_editor .admin_panel .saveHtml,
body.admin_mode_editor .admin_panel .reload,
body.admin_mode_editor .admin_panel .folderImages,
body.admin_mode_editor .admin_panel .folderDownloads,
body.admin_mode_editor .admin_panel .gotoAdmin
{
    display: none !important;
}


/*
.admin_panel li.config
{
	background-image: url(icons/config.png);		
}


.admin_panel li.store
{
	background-image: url(icons/save.png);		
}


.admin_panel li.on
{
	background-image: url(icons/control_play_blue.png);		
}

.admin_panel li.off
{
	background-image: url(icons/control_power_blue.png);		
}

.admin_panel li.restorePage
{
	background-image: url(icons/page_refresh.png);		
}
.admin_panel li.newText
{
	background-image: url(icons/new_text.png);		
}
.admin_panel li.logout
{
	background-image: url(icons/logout.png);		
}


.admin_panel li.showPictureFileManager
{
	background-image: url(icons/folder_picture.png);		
}
*/



.editable
{
	min-height: 15px;
	min-width: 15px;
}


.editable.editing
{
	color: transparent !important;
}





@media not print {
/*
	.editable:hover
	{
		outline: double #CCCCCC 1px;
	}

	.editable.dataChanged {
		outline: double red 1px;
	}
*/
}


.fieldEditor
{
	max-width:none;
	max-height:none;
	padding:0px;
	border:0px none;	

    background-color: transparent; 
    
}



.fieldEditor.trash
{
	opacity: 1;
}

.fieldEditor input, .fieldEditor textarea
{
	width:100%;
	height:100%;
	border: 0px none;
	
	background-color:transparent;
	
	
}


.fieldEditor .qtip-content 
{
	padding:0px;
}







.fieldEditor .menubar
{
	/*
	background-color:white;
	border-radius: 20px;
	padding:10px;
	box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
	*/
	margin:3px;
}


.DisplaySet_Header>* {
    vertical-align: middle;
}

.DisplaySet_Header>[data-icon="toggleCollapse"]{
    margin-right: 0.5em;
}

.DisplaySet_Header .title {
	margin-right: 10px;
        vertical-align: sub;
        vertical-align: -webkit-baseline-middle;
}

.DisplaySet_Header .controller>button {
	/*margin-left: 4px;*/
}


.menubar button
{
	width:32px;
	height:32px;
	background-size: 100% 100%;
	border:3px solid transparent;
	background-repeat: no-repeat;
	opacity:0.6;
	
	line-height: 100%;
	font-size: 100%;
		
	
	color: white;
}


.menubar button:hover
{
	border-radius: 5px;	
	/*
	box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.75);
	*/
	opacity:1;
	
	
}

button.edit_field
{
	background-image:url(icons/textfield.png);	
}

button.edit_entity
{
	background-image:url(icons/database_edit.png);	
}

.trash button.trash_entity
{
	display:none;
}
button.trash_entity
{
	background-image:url(icons/database_delete.png);	
}

button.untrash_entity
{
	display:none;
	background-image:url(icons/database_add.png);	
}
.trash button.untrash_entity
{
	display:inline-block;
}

button.undo
{
	background-image:url(icons/arrow_turn_left.png);	
	display:none;
}

button.redo
{
	background-image:url(icons/arrow_turn_right.png);
	display:none;	
}

button.restore
{
	background-image:url(icons/arrow_refresh.png);	
}

button.store
{
	background-image:url(icons/save.png);	
/*
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 50px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 */	
}
/*
button.store:before
{
  content: "\f0c7";
}
*/
button.addItem { background-image: url(icons/add_item.png);	}


.editor-Dialog {
	position: fixed;
	
	
}






@media print
{
	.fieldEditor, .admin
	{
		display:none !important;
	}	
	
}










.DraggablePanel {
	position:fixed !important; 
	left:0px; 
	height:400px; 
	width:400px; 
	top:140px; 
	-webkit-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75); 
	-moz-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);    
	box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75); 
	
	z-index:500;	

	color: white;
    
	
}











.imageViewer .btnPrevious
{
	position:absolute;
	top:0px;
	bottom:0px;
	width:50%;
	left:0px;
	background-image: url(gfx_gallery/sliderNaviButtonPrevious.png);
	background-repeat: no-repeat;
	background-position: left center;
}

.imageViewer .btnNext
{
	position:absolute;
	top:0px;
	bottom:0px;
	width:50%;
	right:0px;	
	background-image: url(gfx_gallery/sliderNaviButtonNext.png);
	background-repeat: no-repeat;
	background-position: right center;
}

.singleUploader
{
	max-width:600px;
}
.singleUploader .ui-widget-header
{
	color:white !important;
}







.btnReleaseContainer {
	background-color: rgba(0,0,0,0.6);
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    float: right;
    margin-left:8px;
    margin-top: 7px;
    padding: 6px;
    position: relative;
    color:white;
    font-family: "FontAwesome" !important;   
    font-size:17px; 
    width: 34px;
    cursor: pointer;	
}

.btnReleaseContainer:before{
	content : "";
}









.editorControls {
        
	position: absolute !important;
	top: 150px; 

	
	
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    
    /*max-height: 52px;
    */
	
	display: inline-block;
	
	-webkit-transition: max-height 1.0s;
    -moz-transition: max-height 1.0s;
    transition: max-height 1.0s;
    -webkit-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);
    box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);

    background-color: #666666;
    background-image: linear-gradient(to bottom right, #666666, #484848);
    z-index: 201;
    font-size: 18px;	
	
	color: white;
}

.editorControls button.icon {
	color: white;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.65);
}



.editorControls>ul{    
    z-index:0;
}

.editorControls>ul>li{    
    z-index:0;
}

.editorControls>ul ul:before {
	/* REQUIRED TO PREVENT SUBMENU FROM COLLAPSING TO EARLY 
	background-color: red;
	*/
	position: absolute;
	top: 0px;
	left: 0px;
	height:47px;
    top: -47px;
    width: 51px;
    display: block;
	content: " ";
}

.editorControls>ul ul {
    position: absolute;
    
    /* top: 0px; 
        padding-top: 2em;
    */
    
    margin-top: 8px;
    margin-top: 8px;
    
    padding-left: 10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-bottom: 8px;
    padding-top: 8px;
    
    z-index:-10;
    
    
	-webkit-transition: max-height 1.0s;
    -moz-transition: max-height 1.0s;
    transition: max-height 1.0s;
    -webkit-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);
    box-shadow: 2px 3px 19px -5px rgba(0,0,0,0.75);

    background-color: #666666;
    background-image: linear-gradient(to bottom right, #666666, #484848);
    font-size: 18px;	
	
	color: white;    
}
.editorControls ul li
{
    white-space: nowrap;
    vertical-align: middle;
}

.editorDialog input, .editorDialog textarea {
    color: black;
} 


.ui-tabs-nav button {
	padding-top:10px;
	/*padding-right: 8px;*/	
	color: #999999 !important;

        position: absolute;
}

.ui-tabs-nav button.tabRelease {
    right: 1.5em;
}

.ui-tabs-nav button.tabClose {
    right: 0.5em;
}


.editable[data-structure="field"] {
    background-color: #f5fdfd;
    padding: 0.5em;
    padding-right: 1.5em;
    border-radius: 1px;
    outline: 1px solid rgba(210, 235, 203, 0); /*#d2ebcb;*/
    transition: background-color 0.5s, outline 0.5s,  outline-offset 0.3s;
}
.editable.dataChanged[data-structure="field"] {
    outline: 1px solid var(--color-headline);
}
.editable[data-structure="field"][data-label] {
    padding-top: 0.8em;
}

.editable[data-structure="field"]:hover {
    background-color: #ffffff;
    outline: 1px solid var(--color-headline);
    outline-offset: 4px;
    z-index: 2;
}

[data-structure="field"][data-label][data-type="boolean"]:after {
	position:relative;
	font-size: 100%;
	padding-left: 1.75em;
	display: inline-block;
	color: inherit;
	margin-top: -1.45em;
	background-color: transparent;
	word-break: break-word;
	line-height: inherit;
}

.editable[data-required="true"]:before {
	content: "\f304";
	font-family: "FontAwesome";
	color: inherit;
	position: absolute;
	right: 0.5em;
}

.editable[data-valid="false"] {
    outline: 1px solid #ff0000 !important;
    border-radius: 0px;
}
.editable[data-valid="false"]:before {
    content: "\f141";
	font-family: "FontAwesome";
	color: #ff0000;
	position: absolute;
	right: 0.5em;
}

.editable.dataChanged[data-valid="true"]:before {
	content: "\f058";
	font-family: "FontAwesome";
	color: var(--color-headline);
	position: absolute;
	right: 0.5em;
}

.editable[data-type="textarea"] {
	min-height: 10em;
}