/*
	AOCS 2.0 GUI
*/

div[gridster],
div[aocs-template],
.aocs-template {
	position: relative;

	width: 100%;
	height: 100%;
}


.aocs-element {
	position: relative;
	width: 100%;
	float: left;
	min-height: 30px;
	height: auto;
	background-color: transparent;
}

/*

	CANVAS SECTION

*/

.aocs-canvas-section {
	position: relative;

	margin: 0px;
	padding: 0px;

	overflow: auto;

	width: 100%;
	height: auto;

	min-height: 100%;
}

.designer-element-section-remove {
	/*position 	: absolute;*/
	position: relative;

	top: 0px;
	right: 0px;

	cursor: pointer;

	z-index: 100;
}

.aocs-canvas-section-designer {
	position: absolute;

	/*background-color:  ; */
	top: 0px;
	left: 0px;

	width: 100%;
	height: 100%;

	margin: 0px;
	padding: 0px;


	overflow: auto;

	border: 1px solid rgba(10, 10, 10, 0.0);
}

#aocs-designer-view-controller .gridster-item {
	overflow-y: auto;
	padding: 5px;
	border: 1px solid rgba(134, 134, 134, 0.5);
	border-radius: 2px;
}

/*
.aocs-canvas-section-designer:hover
{
	border : 1px solid rgba(100,240,255,1);
}
*/


/*
	LIST
*/
.aocs-list-item {
	position: relative;
	width: 100%;
	height: auto;

	padding: 10px;
	margin-top: 2px;

	border: 1px solid rgba(100, 240, 255, 0.0);

	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;

	background-color: rgba(50, 50, 50, 0.7);
	color: rgba(255, 255, 255, 0.7);
}

.aocs-list-item:hover {
	background-color: rgba(100, 240, 255, 0.05) !important;
	color: rgba(255, 255, 255, 1.0) !important;
	border: 1px solid rgba(100, 240, 255, 1) !important;
}

.aocs-list-item:active,
.aocs-list-item.selected {
	background-color: rgba(100, 240, 255, 0.2) !important;
}

/*
	TEXTBOX
*/

.aocs-textbox {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	background-image: none;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	background-color: var(--theme-input-box-bg);
	border: 1px solid rgba(125, 125, 125, 0.25);
	color: var(--theme-body-color);
}

.aocs-textbox[disabled] {
	background-color: transparent;
	color: rgba(100, 100, 100, 1);
}


.aocs-textbox:hover {
	/*border: 1px solid var(--theme-800) !important;*/
}

/*
	CHECKBOX
*/
.aocs-checkbox {
	position: relative;
	height: 20px;
	width: 20px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	cursor: pointer;
	border: 1px solid var(--gray-500);
}

.aocs-checkbox.checked {
	background-color: rgba(100, 240, 255, 0.2) !important;
}

/*
	Accordian
*/
.aocs-accordion {
	cursor: pointer;
	padding: 10px;
	width: 100%;
	text-align: left;
	outline: none;
	transition: 0.4s;
	border-bottom: 1px solid rgba(94, 94, 94, 0.22);
}

.aocs-accordion.active {
	border-left: 4px solid var(--theme-800) !important;
}

.aocs-accordion:hover {
	border-left: 4px solid var(--theme-600) !important;
}

.aocs-accordion:after {
	content: '\002B';
	font-weight: bold;
	float: right;
	margin-left: 0px;
}

.aocs-accordion.active:after {
	content: "\2212";
	float: right;
}

.aocs-panel {
	padding: 0 10px;
	max-height: 0;
	overflow: hidden;
	overflow-y: overlay;
	background-color: var(--theme-container-bg);
	transition: max-height 0.2s ease-out;
}

.aocs-panel.active {
	transition: all 0.5s ease-in-out;
}

/*
	BUTTON
*/

.aocs-button-status {
	position: relative;
	width: 50px;
	height: auto;

	border: 1px solid red;
}


.aocs-loader {
	border: 3px solid var(--theme-light-2);
	border-radius: 50%;
	border-top: 3px solid var(--theme-dark-2);
	/*
	border-bottom: 5px solid var( --theme-dark-2 );
	*/
	width: 20px;
	height: 20px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;

	/*display:none;*/
}

div[aocs-button-object] {
	position: relative;

	color: rgb(255, 180, 0);
	min-width: 120px;
	width: 120px;

	padding: 0px;
	margin: 0px;

	overflow: hidden;

	border: none;
}


div[aocs-button-object] > button:hover,
div[aocs-button-object]:hover {
	border: none;
}


div[aocs-button-object] > button,
div[aocs-button-object] > table {
	position: relative;
	width: 100%;

	padding: 0px;
	margin: 0px;

	padding-top: 10px;
	padding-bottom: 10px;
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}


/*

Tab

*/

thead {
	/*background-color: var(--theme-800);*/
}

td {
	min-width: 0px;
}

span[aocs-label],
.aocs-label {
	width: 100%;
}


.aocs-tabs {
	width: 100%;
	margin: 0px;
	border-bottom: 2px solid var(--theme-700);
}

.aocs-tab {
	position: relative;
	min-width: 150px;
	padding: 10px 50px 10px;
	margin: 0;
	text-align: center;
	cursor: pointer;
}

.aocs-tab.error {
	color: var( --theme-text-error );
}

.aocs-tab.selected {
	background-color: var(--theme-700);
	color: #fff;
}


.aocs-tab:hover {
	border: none !important;
}


/*
	AOCS TABLE
*/

.aocs-table-row {
	margin: 0px;
	padding: 0px;
	border: 2px transparent rgba(100, 240, 255, 0.0);

}

.aocs-table-row:hover {
	/*
	border 			: 2px solid rgba(100,240,255,0.2);
	border-radius 	: 4px;
	*/

	background-color: rgba(100, 240, 255, 0.05) !important;

}

.aocs-table-cell {
	margin: 0px;
	padding: 0px;
	border: 1px transparent rgba(100, 240, 255, 0.0);
}

.aocs-table-cell:hover {
	background-color: rgba(100, 240, 255, 0.05) !important;
}

.aocs-table-cell.active {
	background-color: rgba(255, 180, 255, 0.5);
}

.aocs-table-cell-sort {
	font-size: xx-small;
	color: rgba(255, 255, 255, 0.3);
}

.aocs-table-cell-sort:hover {
	color: rgba(255, 255, 255, 0.5) !important;
}

.aocs-table-cell-sort.active {
	color: rgba(255, 255, 255, 1.0);
}

.aocs-table-cell-sort.active:hover {
	border: 2px solid rgba(100, 240, 255, 0.5) !important;
}


.aocs-table-row.selected {
	border: 2px solid rgba(100, 240, 255, 0.5);
	border-radius: 4px;

	background-color: rgba(100, 240, 255, 0.2);
}

.aocs-table-row.active {
	background-color: rgba(255, 180, 0, 0.5);
	border: 2px solid rgba(100, 240, 255, 0.0);
}


.aocs-table-row.active:hover,
.aocs-table-row.selected.active {
	border: 2px solid rgba(100, 240, 255, 0.5) !important;
}

.aocs-table-cell-content {
	position: relative;
	padding: 10px;
}

.aocs-table-cell-editable-icon {
	color: rgba(255, 255, 255, 0.2);
}

.aocs-table-cell-editable-icon:hover {
	color: rgba(255, 255, 255, 1.0);
}

.filter:hover {
	/* color: rgba(100,240,255,1); */
	color: rgba(100, 240, 255, 0.5);
}

tr[class=aocs-table-row]:nth-child(odd) {
	background-color: rgba(100, 100, 100, 0.1) !important;
}

/*

IFRAME

*/

.aocs-iframe {
	position: relative;
	width: 100%;
	min-height: 300px;
	height: 100%;

	border: none;

	overflow-y: auto;
}

/*

	Wrap

*/

.wrap {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

textarea {
	max-width: 100%;
	height: 100px;
}


/*

	STATUS CLASSES

*/

/* FOR DARK BACKGROUND */
.success {
	color: var(--theme-light-2);
}

.error {
	color: rgba(200, 0, 0, 1);
}


/* FOR LIGHT BACKGROUND */
.success-2 {
	color: var(--theme-dark-2);
}

.error-2 {
	color: rgba(150, 0, 0, 1);
}

.validation {
	padding: 5px;
	height: 30px;

}

.hidden {
	visibility: hidden;
}


/*  FLAGS */
.flag {
	position: absolute;
	top: 0px;
	right: 0px;
	height: 0px;
	width: 0px;

	border: none;
	border-bottom: 20px solid rgba(255, 180, 0, 0);
}

.flag.NONE {
}

.flag.SENT {
	border-right: 30px solid rgba(100, 100, 100, 1.0);
}

.flag.PENDING {
	border-right: 30px solid rgba(255, 180, 0, 1.0);
}

/*.flag.SUCCESS 	{ border-right 	: 40px solid rgba(  0,200,  0,1.0); }*/
.flag.SUCCESS {
	border-right: 30px solid rgba(100, 240, 255, 0.5);
}

.flag.FAILED {
	border-right: 30px solid rgba(255, 0, 0, 1.0);
}

/*

	DISPLAY

*/

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

.aocs-style-align-centre {
	text-align: center;
}

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

.aocs-style-font-normal {
	font-weight: normal;
}

.aocs-style-font-bold {
	font-weight: bolder;
}

.aocs-style-text-underline {
	text-decoration: underline;
}

.aocs-style-font-italic {
	font-style: italic;
}

.aocs-style-visibility-visible {
	visibility: visible;
}

.aocs-style-visibility-hidden {
	visibility: hidden;
}

.aocs-style-visibility-collapse {
	visibility: collapse;
}

.aocs-style-visibility-initial {
	visibility: initial;
}

.aocs-style-visibility-inherit {
	visibility: inherit;
}

.aocs-text-xxsmall {
	font-size: 6px;
}

.aocs-text-xsmall {
	font-size: 8px;
}

.aocs-text-small {
	font-size: 10px;
}

.aocs-text {
	font-size: 12px;
}

.aocs-text-medium {
	font-size: 12px;
}

.aocs-text-large {
	font-size: 14px;
}

.aocs-text-xlarge {
	font-size: 16px;
}

.aocs-text-xxlarge {
	font-size: 20px;
}

.aocs-text-super1 {
	font-size: 40px;
}

.aocs-text-super2 {
	font-size: 60px;
}

.aocs-text-super3 {
	font-size: 100px;
}

.aocs-text-super4 {
	font-size: 150px;
}

.aocs-text-super5 {
	font-size: 200px;
}
