﻿
html, body {
    height: 100%;
    width: 100%;
    margin: 0px;
    overflow: visible !important;
}
body.dhxlayout_fullscreened {
	overflow:hidden !important;
}

.cl_button{
	float:left;
	margin-top:2px;
	margin-right:6px;
	text-align: center;
	min-width: 80px; 
	height: 23px;
	padding: 2px 2px 2px 2px;
	cursor: pointer;
}

.cl_float_left{
	float:left;
}

.cl_buttons_MainTollbar{
	cursor:pointer;
	padding: 5px;
}

.cl_buttons_MainTollbar:hover{
	padding: 4px;
	border: 1px grey solid;
	box-shadow: 0px 1px 0px #aaa; 
	border-radius:5px;
	border-top: 1px #ffffff solid;
	border-left: 1px #ffffff solid;
	border-right: 1px #666666 solid;
	border-bottom: 1px #666666 solid;
}

#id_div_btns {
    position: absolute;
    bottom: 6px;
    right: 6px;
}

#id_div_cell_a,#id_div_cell_b{
	width:100%;
	height:100%;
}

#id_div_MainToolbar{
	font-family:Tahoma;
	position:absolute;
	top:0px;
	bottom:0px;
	left:0px;
	right:0px;
	background: #016AB4;
    color: #ffffff;
}

#MainToolbarButtons {
    border :0px !important; 
    background: none;
    margin-top: 2px;
}

.clLogoMainToolbar {
    margin-top: 12px;
    margin-left: 7px;
    margin-right: 10px;
}

#id_btn_visible_columns{
	display:none;
}
#id_div_label_request{
	width:75px;
	text-align:right;
}
#id_div_buttons{
	z-index:1;
	margin:3px;
	position:absolute;
	top: 0px;
	bottom:0px;
	left: 150px;
	width:500px;
	overflow:auto;
	float:left;
}
#id_div_tableName{
	margin:-34px auto;
	font-size:18px;
	text-align:center;
    white-space: nowrap;
}
		
#id_div_Content{
	margin:6px;
	position:absolute;
	top: -5px;
	bottom:0px;
	left: 0px;
	right:-5px;
	overflow:auto;
}
	
#id_div_TxTableGrid{
	width: 100% !important;
	height: 100% !important;
	overflow:hidden;
}
.wrapperWidgetTableView{
    position:relative;
    width:100%;
    height:100%;
}
.sousWrapperWidgetTableView{
    position:absolute;
    width:100%;
    height:100%;
}
.parent_Widget_Table{
	width: calc(100% - 29px); 
	display:inline-block; 
	height:100%;
}
.layout_Widget_Table{
    width: 100%;
    height: 100%;
    background: rgba(226, 239, 255, 0.65);
    position: absolute;
    z-index: 20;
    display: none;
}
.imgLoadingWidget{
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding-top: 75px;
    width: 55px;
}
.dataLoadingsInfo{
    color: #0069b4;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    text-align: center;
    padding-top: 10px;
}
.div_TxTableGrid td p, .div_TxTableGrid td li{
	display: inline;
}
.div_TxTableGrid td ul {
    display: inline;
    -webkit-padding-start: 10px;
}
	
.div_TxTableGrid_widget{
	width:100% !important;
    box-sizing: border-box;
}
.widgetWithToolbar {
    height: calc(100% - 32px) !important;
}
.widgetWithoutToolbar {
    height: 100% !important;
}
.cl_div_filter_value{
	float:left;
}
.cl_input_filter{
    height: 26px;
	padding: 1px 0px;
    border: 1px solid #dfdfdf;
}
.cl_div_btn_filter{
	float:right;
    width: 18px;
    margin: 7px 5px;
}
.cl_btn_filter{
	margin-right:5px;
	margin-top:1px;
}

.div_TxTableGrid img {
	max-width: 16px;
	height: auto;
}

.cl_div_filter_value .dhxcombo_dhx_skyblue {
	width: 100% !important;
}

.div_information_grid {
	border: 1px solid #a4bed4;
	background-color: #e2efff;
	background: linear-gradient(#e2efff,#d3e7ff);
	background: -webkit-linear-gradient(#e2efff,#d3e7ff);
	text-align: center;
	width: 100%;
	display: none;
}
	
.tableViewPopupFilter{
	display:none;
    height: 100%;
    font-size: 13px;
}
.tvPopupFilterLine{
	width:100%;
	height:32px;
    margin-bottom: 6px;
}
.tvPopupFilterLabel{
	float:left;
	width: 120px;
	text-align: right;
	margin-right:5px;
}
    .tvPopupFilterLabel label {
        font-weight: unset;
    }
.tvPopupFilterData{
	position: relative;
}
.tvPopupFilterField{
    border: 1px solid #dfdfdf;
	width:202px;
	margin: 0;
    padding-left: 6px;
    height: 28px;
    font-size: 13px;
}
.tvPopupFilterDateField {
    border: 1px solid #dfdfdf;
    width: 145px;
    margin: 0;
    padding-left: 6px;
    font-size: 13px;
}
			
.img_calendar{
	position: absolute;
	right: 4px;
	top: 1px;
}

.editable .clDivIconCCalendar {
    margin-left: 2px !important;
    border: 0px !important;
}

.idDivBtnSorting {
    float: left;
    height: 20px;
    padding: 5px 0px 5px 6px;
}
.idDivSortAsc {
    height: 12px;
    line-height: 8px;
}
    .idDivSortAsc input {
        height: 8px;
    }
.idDivSortDesc {
    position: relative;
}
    .idDivSortDesc input {
        position: absolute;
        top: 0px;
        left: -1px;
        height: 8px;
    }
.tvPopupFilterButtons{
	float:right;
}
.tvPopupFilterButtons input{
    padding: 1px 5px;
    line-height: normal;
}

#id_div_TxTableGridToolbar {
	margin:0px !important;
	width: 100%;
	position:absolute;
	top: 0px;
	bottom:0px;
	left: 0px;
	right:0px;
	overflow:auto;
    height: 100%;
}
.div_TxTableGridToolbar {
    box-sizing: border-box;
}
	
.not_m_line{
    white-space:nowrap; 
	overflow:hidden;
	text-overflow : ellipsis;
}
.not_m_line br {
    display: none;
}
	
.img_widget_TxTable{
	cursor:pointer;
	padding: 2px;
    padding-left: 5px;
    padding-right: 3px;
	display: block;
}
.sepButtonVerticalToolbar {
    margin: -8px 11px !important;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.imgWidgetTxTableNoHover{
	padding: 2px;
    padding-left: 5px;
    padding-right: 3px;
	display: block;
}
.img_widget_TxTable:hover{
	padding: 1px;
    padding-left: 4px;
    padding-right: 4px;
	border: 1px #ffb552 solid;
    background-color: rgb(245, 218, 182); 
    box-sizing: border-box;
}
	
.wrap_img_OpenTab{
	display: inline-block;
    padding-left: 1px !important;
	width: 29px;
	position: absolute;
    height: 100% !important;
    box-sizing: border-box;
        border-right: 1px solid #a4bed4;
        border-top: 1px solid #a4bed4;
        border-bottom: 1px solid #a4bed4;
}
	
#id_ind_MCS{
	background: rgba(226, 239, 255, 0.45);
    position: absolute;
    top: 0px;
    right: 0px;
    height: 46px;
    padding-left: 6px;
    padding-top: 5px;
}
	
	
.btn_switch_MCS{
	display:inline-block;
    float: right;
}
	
.MCS_information{
    float: left;
    font-size: 10px;
    line-height: 12px;
    width: 120px;
    max-width: 120px;
}

#viewportWindows {
	width: 1200px;
	height: 800px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -600px;
	margin-top: -400px;
	z-index: 20;
	display: none;
}

.cellLinkValue {
    color: #3399cc;
    text-decoration: underline;
    cursor: pointer;
}
div.headerCellTableView {
    text-overflow: ellipsis !important;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
}

/***** Popup Editors CSS *****/

.rowFrom {
    font-family: Tahoma,Helvetica;
    font-size: 13px;
    line-height: 30px;
    height: 30px;
    padding-bottom: 6px;
}
    .rowFrom:last-child {
        padding-bottom: 0px;
    }
.divForm {
    padding: 6px;
    height: Calc(100% - 12px);
}
.wrapperDivTree{
    height: calc(100% - 6px);
}
.div_tree_popup {
	height: calc(100% - 30px);
}
.div_tree_popup span{
	font-family: Tahoma,Helvetica;
    font-size: 11px !important;
}

.col1 {
    text-align: right;
    width: 75px;
    height: 30px;
    margin: 0;
    float: left;
    margin-right: 2px;
}
.col2 {
    width: 188px;
    height: 30px;
    display: block;
    float: left;
    margin: 0;
}
    .col2 input {
        height: 24px;
        width: 184px;
    }
    .col2 select {
        height: 28px;
    }

.textPopupValidation {
	color: #3399cc;
	padding: 6px;
}
.textError {
    color: red;
	padding: 6px;
}
.divBtnsAction {
	position: absolute;
	bottom: 6px;
	right: 6px;
}

#contentWdowQueryFile .gridbox_material {
    border: 0px !important;
}

/* Display Data */
.displayCellPreviewText {
    background-color: rgba(230, 230, 230, 0.6);
    border: 1px solid #ccc;
}
.displayCellPreviewText .mce-panel {
    border: 0px !important;
}
.displayCellPreviewText .mce-toolbar-grp {
    display: none;
}
.clFullScreenPreviewText {
    height: Calc(100% - 42px) !important;
    margin: 6px !important;
    border: 1px solid #ccc !important;
}
.clFullSreenContentContainerPreviewText {
    height: Calc(100% - 42px) !important;
}
.clFullSreenContentPreviewText {
    height: 100% !important;
}
.displayCellDataForm{
    position: relative; 
    margin: 6px 6px 6px 6px;    
}
.displayCellDataForm .GenericLabel{
    display: none !important;    
}
.displayCellDataForm .GenericField{
    width: auto !important;
    display: flex;
    margin-right: 6px;
    /*margin: 6px !important; */
}
.displayCellDataForm .GenericField .gridbox_dhx_skyblue {
    height: 100% !important;
    margin-bottom: 6px;
}
.displayCellDataForm .GenericField .objbox {
    height: 100% !important;
}

.displayCellDataForm .objbox {
    overflow-x: hidden !important;
}
.displayCellDataForm .objbox td:not(:first-child) {
    border: 1px solid lightgray;
    box-sizing: border-box;
}
.displayCellDataForm .objbox td:first-child {
    border: 1px solid rgb(164, 190, 212);
}
.displayCellDataForm .objbox {
    overflow-x: hidden !important;
}
.displayCellDataForm div.accItemLabel{
    background-color: #E3EFFF;
    white-space:nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 24px;
}
/*.displayCellDataForm div.accItemLabel div.accLabelWithIcon{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-right: 10px;
    display: inline-block;
    margin-top: 0;
    margin-left: 5px;
    position: unset;
    vertical-align: middle;
}*/
 
    .displayCellDataForm div.accItemContentAreaCustom{
    height: auto;
    padding: 10px 10px 10px 10px;
        padding: 6px;
    }
    .displayCellDataForm div.accItemContentAreaCustom img {
        max-height:350px;
        max-width:350px;
    }
    .displayCellDataForm div.accItemContentAreaCustom img.fullScreenImg {
        max-height:400px !important;
        max-width:800px !important;
    }
    .clEditableTextArea {
        position: absolute;
        resize:none;
        width: 300px;
        height: 150px;
        z-index: 1000;
    }
    .dataItemLink {
        white-space: normal;
        color:-webkit-link; 
        text-decoration: underline;
    }
    .dataItemLink:hover{
        cursor:pointer;
    }
    .buttonDisplay{
        float:right;
        margin-top: 10px;
    }
    .buttonDisplay:hover{
        cursor:pointer;
    }
    .tvAccLabelButtonRight {
        vertical-align: middle;
    }
    .tvAccObjectContent {
        width:100%; 
        height:300px;
    }

.clWindowRichText {
    margin: 6px;
}

.clRichTextButtonBar {
    z-index: 1;
}

.clRichTextButtonBar .clBtn {
    margin-right: 12px !important;
    margin-left: 0px !important;
}

/*.cl_btn_action:hover {
	background-color: #f1f7ff;
	background: linear-gradient(#f1f7ff,#e2efff);
	background: -webkit-linear-gradient(#f1f7ff,#e2efff);
}*/
/****************** DHTML fix CSS *********************/

div.div_TxTableGrid table.hdr td {
	height: 13px !important;
}

div.div_TxTableGrid div.xhdr {
    height: auto !important;
}
    
div.div_TxTableGrid div.xhdr tr:first-child + tr {
	height: 27px !important;
	overflow: hidden !important;
	white-space: nowrap;
}

div.div_TxTableGrid div.xhdr tr:first-child + tr + tr {
	height: 42px !important;
	overflow: hidden !important;
	white-space: nowrap;
}

div.div_TxTableGrid table.hdr td {
    padding: 5px 0px 0px 0px !important;
}
div.div_TxTableGrid div.gridbox table.obj tr td {
    padding: 0px 4px !important;
    height: 32px !important;
    box-sizing: unset; /* Pb with bootstrap.min */
}
    div.div_TxTableGrid table.obj tr td input {
        line-height: 24px;
    }


div.div_TxTableGrid div.hdrcell {
    padding-left: 4px !important;
}

/* open window in center of screen if there is scroll in portals */
div.dhtmlx_window_active, div.dhtmlx_window_inactive {
	position: fixed !important;
}
div.dhx_modal_cover_dv {
    position: fixed !important;
}
	
/* edited cell */
div.div_TxTableGrid table.obj.row20px tr td.editable {
    padding-left: 4px;
}
	
/* scroll option combo*/
div.div_TxTableGrid div.dhxcombolist_dhx_skyblue div.dhxcombo_option {
    overflow: visible !important;
}

/* useless margin in filter header */
.cl_div_filter_value .dhxcombo_input {
    margin-left: 2px !important;
}

/** Fix resize grid **/

div.div_TxTableGrid .gridbox_not_existing_skin {
    height: 100% !important;
}
div.div_TxTableGrid .gridbox_not_existing_skin + div {
    height: 100% !important;
}
div.div_TxTableGrid .gridbox_material {
    height: 100% !important;
}
div.div_TxTableGrid .gridbox_material + div {
    height: 100% !important;
}
.div_TxTableGrid .objbox {
    height: calc(100% - 70px) !important;
}
div.div_TxTableGrid .gridbox_dhx_terrace .objbox {
    height: calc(100% - 82px) !important;
}
.widgetWithoutFilter .objbox {
    height: calc(100% - 28px) !important;
}

.wrap_img_OpenTab.dhx_toolbar_material.dhxtoolbar_icons_18 img {
    padding: 0px !important;
    margin-left: -2px !important;
}

/*Fix filters*/
.tvPopupFilterData .dhxcombo_material {
    margin-bottom: 6px;
}

.tvComboFilterValues {
    width: 210px !important;
    display: inline-block;
}

/******************************************** CODE SWITCH BUTTON ********************************************/
.Switch {
    display: inline-flex;
    font-size: 13px;
    color: #ccc;
    background: #A9BACC;
    text-align: center;
    cursor: pointer;
    margin: 6px;
    width: 60px;
    height: 22px;
}
	
.Switch .Toggle {
    position: absolute;
    top: 11px;
    width: 31px;
    height: 22px;
    background: #016ab4;
    box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.3), inset 0 0 1px rgba(0, 0, 0, 0.3);
    z-index: 15;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
}
	
.Switch span {
	display: inline-block;
	width: 100%;
    padding-top: 3px;
    box-shadow: inset 0 0px 2px rgba(0, 0, 0, 0.5), inset 0 0 2px rgba(0, 0, 0, 0.5);
}
	
.Switch span.On {
	color: #DED066;
    background: #fff;
}

.Switch span.Off {
    color: #fff;
}
	
.Switch.On .Toggle { left: 82%; }
.Switch.Off .Toggle { left: 66%; }


/****************************************** MANAGE TABLEVIEW ******************************************/
.clPopupConfig .accItemLabel {
    border-bottom: 1px solid #dfdfdf;
}

.TxTableListConfigs {
    list-style: none;
    display: -webkit-inline-box;
    width: 100%;
    padding-left: 0;
}

.TxTableListConfigs li:hover {
    border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}

.TxTableListConfig {
    border: 1px solid #fff;
    display:inline-block;
    width:185px;
    padding:6px;
}

.focusedConfiguration {
    border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
    background-color: #bbf2ff;
    outline: #ccc;
}

.TxTableListConfigImg {
    width:16px;
    margin-right:6px;
}

.detailsTxTableListConfig {
    display:inline-block;
}

.TxTableListConfigText {
    display:inline-block;
    width:150px;
    vertical-align: middle;
}

.TxTableListConfigName {
    font-size:13px;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap;
}

.clTvWindowEditConfig {
    width:100%;
    height:100%;
}

.clTvWindowConfigName {
    width: Calc(100% - 12px);
    margin-top: 6px;
    margin-left: 6px;
    display:inline-flex;
}

.clDivBeforeInputName {
    margin-right: 6px;
    margin-top: 6px;
    font-size: 13px;
}

.clDivBeforeComboOT {
    margin-left: 6px;
    margin-right: 6px;
    margin-top: 6px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
}

.clNameContainerDiv {
    width: Calc(60% - 75px);
    display: inline-flex;
}

.clNameContainerDivFull {
    width: 100%;
    display: inline-flex;
}

.clInputConfigName {
    height: 26px;
    margin-left: 5px;
    font-size: 13px;
    border: 1px solid #dfdfdf;
    padding-left: 6px;
}

.clLabelConfigName {
    width: 140px;
    font-size: 13px;
    text-align: right;
    display: inline-block;
}

.clOTComboContainer {
    width: 40%;
    display: inline-flex;
}

.clInputComboOT {
    width: calc(100% - 120px) !important;
    margin-top: -2px;
    display: block;
    float: left;
}

.clTvTabbarConfig {
    width:Calc(100% - 12px);
    height:Calc(100% - 78px);
    margin: 6px;
}

.clTabConfigContent {
    width:100%;
    height:100%;
}

.clEditConfigTreeAttribute {
    position: absolute;
    bottom: 0px;
    top: 0px;
    left: 0px;
    right: 0px;
}

.clEditConfigCGrid {
    height:100%;
}

.clEditConfigButtonToSwitch {
    height: 100%;
    position: relative;
}

.clEditConfigButtonsCols {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    cursor: pointer;
}
.clEditConfigButtonsCols:nth-child(1){
    margin-top: -25px;
}
.clEditConfigButtonsCols:nth-child(2){
    margin-top: 5px;
}

.clConfigCGrid {
    position: absolute;
    bottom: 30px;
    top: 0px;
    left: 0px;
    right: 0px;
}

.clConfigCGridToolbar {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.clTextCheckboxes {
    margin-left: -6px;
    white-space: nowrap;
}

.clBtnRemoveConfig {
    font-family: 'icomoon' !important;
    font-size: 9px;
    float:right;
    margin-top: 5px;
    transition: all 0.2s ease-in;
    text-decoration:none;
    color: #A32727;
    display:none;
}

.clBtnRemoveConfig:hover {
    border-radius: 5px;
    text-shadow: 0 0 3px #A32727;
}

.clTvWindowEditConfigButtons .clBtn {
    margin-right: 6px !important;
    margin-left: 0px;
}

.clDivLayoutEditConfigCell {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

    .clDivLayoutEditConfigCell fieldset {
        margin: 0px !important;
        font-size: 13px;
    }

        .clDivLayoutEditConfigCell fieldset legend {
            padding-left: 5px;
            padding-right: 5px;
            font-weight: bold;
        }

    .clDivLayoutEditConfigCell .clLabelEditConfigObjectType {
        display: block;
        float: left;
        width: 110px;
        text-align: right;
        margin-right: 6px;
        font-size: 13px;
        margin-top: 5px;
    }