﻿/* Main UI Editor Classes*/

.ui-edit-panel {
    height: 80vh;
    position: fixed;
    right: 10px;
    top: 165px;
    width: 33%;    
}

	.ui-edit-panel > .panel-heading {
		background-color: var(--sub-heading);
		border-radius: 0px;
	}

	.ui-edit-panel > .panel-heading > .panel-title {
		color: white;
	}

		.ui-edit-panel > .panel-heading button {
			color: white !important;
			margin: -10px;
			padding: 12px 15px 15px 0px;
			font-weight: normal;
			text-shadow: none;
		}
		
.ui-edit-wrapper {
	min-width: 30px;
	min-height: 30px;
	padding: 0px;
	margin: 5px;
	border: 2px solid white;
	border-radius: 5px;
	opacity: 1;
	position: relative;
	z-index: 10;
	cursor: pointer;
	background-color: white;
	color: black;
	display: inline-block;
}


.ui-editor {
	overflow: auto;
	z-index: 12;
	height: 100%;
	flex: .7;
}

.ui-edit-hdn-element {
	display: none;
}

.ui-role-container, .ui-table-container {
	overflow-y: auto;
	overflow-x: hidden;
}

.ui-edit-panel .ui-role-container {
	max-height: 46vh;
}

.ui-table-container {
	max-height: 40vh;
}

.ui-edit-footer {
	
	right: 0px;	
	background-color: white;
}

.ui-footer {
	padding: 15px;
	text-align: right;
	
}

.ui-footer-buttons {
	background-color: transparent;
}


/* Classes to apply outside of editor itself */
.ui-edit-selectable {
	border: 2px solid var(--highlight);
	border-radius: 5px;
}

.ui-edit-selected {
	border: 2px solid var(--highlight);
	border-radius: 5px;
}


.ui-dim {
	background-color: black;
	opacity: .5;
	height: 100%;
	width: 100%;
	z-index: 4;
	position: fixed;
	left: 0;
	right: 0;
}

.ui-modal-dim {
	background-color: black;
	opacity: .5;
	height: 100%;
	width: 100%;
	z-index: 10;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

/* Minor Formatting Classes - may tweak*/
.spacer { /*Used for spacing between rows*/
	margin-top: 20px;
}

.unavailable {
	filter: blur(5px);
	pointer-events: none;
	display: none !important;
}
/*.unavailable a {
    color: lightgrey;
}*/

.colrow, .colrow label {
	cursor: pointer;
}



/*Modal Specific Classes*/
.ui-modal-container {
	max-height: 380px;
	overflow-y: auto;
	overflow-x: hidden;
}

.ui-modal-editor {
	z-index: 10;
	opacity: 1;
	position: relative;
	z-index: 1;
	background-color: white;
	color: black;
	width: 100%;
	display: inline-block;
}

.ui-modal-title {
	font-size: large;
	font-weight: 300;
	padding: 15px;
	background-color: var(--sub-heading);
}



/* Makes content section of table Elements scrollable for readability of controls */
#TableContent {
	overflow-x: auto;
	white-space: nowrap;
}

	#TableContent .col-sm-4 {
		display: inline-block;
		float: none;
	}

    /*Make Custom Field Section scrollable when adding custom fields*/
    #ui-edit-panel {
        overflow-y: auto;
       
    }


#pageFields {
   
}

#pageFields::after{
   
}

#ui-editor-footer, #pageFields::after{
       
 }

#ui-editor-footer {
    
}

#ui-editor-footer-buttons {
      
}

#ui-editor-container {
   
}


.template-hidden {
    display: none;
}
    