#table-container {
	padding: 10px;
	height: calc(100vh - 285px);
}

/*for Rich Text Email Editor screen*/
.email-overlay > * > #table-container {
	height: 100%;
}


@media ( min-height : 768px) and ( max-height : 950px) {
	#table-container {
		height: calc(100vh - 360px);
	}
}

.event-processor #table-container{
	padding: 10px;
	overflow: auto;
    box-sizing: border-box;
    height: 100% !important;
}

#table-container h2 {
	padding: 0px;
	margin: 8px 0px;
	/*text-transform: uppercase;*/
	font-weight: bold !important;
    font-size: 13px !important;
}

.stream-condition-builder-header {
	width: 100%;
	display: inline-flex;
}

.stream-condition-builder-body {
	width: 100%;
	display: block;
}

.stream-condition-builder-body input, .stream-condition-builder-body select {
	width: 100%;
}

.stream-condition-builder-body-row {
	width: 100%;
	display: inline-flex;
}

.stream-condition-builder-header-text {
	display: inline;
	padding: 5px;
	width: 50%;
	text-transform: capitalize;
	border: 1px solid #CCC;
	font-weight: bold !important;
    font-size: 13px !important;
    background: #e2e2e2;
}

.stream-condition-builder-body-control {
	display: inline-flex;
	padding: 5px;
	width: 50%;
	text-transform: uppercase;
	border: 1px solid #CCC;
}

.stream-condition-builder-body-control>input {
	width: 100%;
}

.stream-condition-builder-footer {
	display: inline-flex;
	width: 100%;
}

.stream-condition-builder-footer-buttons {
	padding: 5px;
	text-align: right;
	width: 100%;
	border: 1px solid #CCC;
}

#stream-condition-builder-window {
	display: flex;
}

#stream-condition-builder-window .window-column {
	display: inline-flex;
	width: 32%;
	padding: 5px;
	border: 1px solid #CCC;
}

#stream-condition-builder-window input, #stream-condition-builder-window select {
	width: 100%;
}

#stream-query-table {
	width: 99%;
	display: block;
}

#stream-query-table-container {
	width: 500px;
	display: inline-block;
}

@media (min-height: 768px) and (min-width: 1024px) and (max-height : 1024px) and (max-width: 1280px) {
	#table-container {
		height: calc(100vh - 350px);
	}

}

#container-del{
	width:99% !important;
}
/*#container-del #table-container3{
	width:100% !important;
}*/
#stream-query-table input[type="button"]#delete-row{
	background-image: url('../themes/green/images/icons/buttons/delete.png') !important;
	background-repeat: no-repeat !important;
	background-position: center;
	border: none;
	margin: 4px 3px 3px 3px;
	width:26px;
	height:26px;
}
#stream-query-table input[type="button"][disabled]#delete-row{
    opacity: 0.5;
}
#stream-condition-builder-add-row{
	font-size: 13px!important;
	color: #FFFFFF;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
	padding: 5px 6px 5px 26px;
	background-image: url('../themes/green/images/icons/buttons/add.png') ;
    background-repeat: no-repeat;
    background-position: 5px;
    border:none;
}
#tream-condition-builder-header{
	width: 100%;
    display: inline-flex;
}
#tream-condition-builder-header .window-column{
	display: inline;
    padding: 5px;
    width: 50%;
    text-transform: capitalize;
    border: 1px solid #CCC;
    font-weight: bold !important;
    font-size: 13px !important;
    background: #e2e2e2;
}
#stream-query-table-filterHelper .stream-condition-builder-footer{
	display: none;
}
.stream-condition-builder-body-control select, .stream-condition-builder-body-control input[type=text],
.window-column select, .window-column input[type=text], .window-column input[type=number]{
	margin-bottom: 0px !important;
}

.eventstream-attributes-container.custom-table-component .entity-table-row input[type*="text"],
.eventstream-attributes-container.custom-table-component .entity-table-row select{
	width:98%;
	height:30px;
	margin-bottom:0px;
}

#ruleExpressionContainer .section{
	border: 1px solid #c4c4cc;
    margin-top: 10px;
    padding: 5px;
    box-sizing: border-box;
}
#ruleExpressionContainer .section .section-label {
	display: block;
    font-weight: bold;
    color: #666;
}
#ruleExpressionContainer table.custom_table_container,
#ruleExpressionContainer table.custom_table_container td {
	border: 1px solid #cccccc;
	padding:5px;
	box-sizing:border-box;
	text-align:center;
}

#ruleExpressionContainer table.custom_table_container th {
	height: 30px;
	background:#e4e4e4;
}

#ruleExpressionContainer table.custom_table_container td select,
#ruleExpressionContainer table.custom_table_container td input {
	margin-bottom:0px;
	width: 95%;
}

#ruleExpressionContainer .window-functions-container table.custom_table_container th {
	width:33%;
}

#ruleExpressionContainer .group-by-container table.custom_table_container th:nth-child(1) {
	width:70%;
}

#ruleExpressionContainer .group-by-container table.custom_table_container th:nth-child(2) {
	width:30%;
}


#ruleExpressionContainer .rule-expresion-container table.custom_table_container th:nth-child(1),
#ruleExpressionContainer .rule-expresion-container table.custom_table_container th:nth-child(3),
#ruleExpressionContainer .having-container table.custom_table_container th:nth-child(1),
#ruleExpressionContainer .having-container table.custom_table_container th:nth-child(3) {
	width:29%;
}

#ruleExpressionContainer .rule-expresion-container table.custom_table_container th:nth-child(2),
#ruleExpressionContainer .having-container table.custom_table_container th:nth-child(2) {
	width:20%;
}

#ruleExpressionContainer .rule-expresion-container table.custom_table_container th:nth-child(4),
#ruleExpressionContainer .having-container table.custom_table_container th:nth-child(4){
	width:15%;
}

#ruleExpressionContainer .rule-expresion-container table.custom_table_container th:nth-child(5),
#ruleExpressionContainer .having-container table.custom_table_container th:nth-child(5)  {
	width:8%;
}

#ruleExpressionContainer .switch-field {
	/* margin-bottom: 0px;
    margin-top: 4px; */
    width: 90%;
    margin: 4px auto;
    margin-bottom: 0px;
}

#ruleExpressionContainer .switch-field label{
	width: 50%;
    margin-right: 10px;
    border-radius: 8px;
    font-weight: bold;
    padding: 5px 16px;
    line-height: unset;
}