/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2014-02-24, 11:50:13
    Author     : KK
*/




@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,800&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,500,700,800&subset=latin,latin-ext);

@font-face {
  font-family: 'recharge';
  src: url('../font/recharge.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
    /* color: #042C4F */
    --q-color-primary-dark: color-mix(in srgb, var(--q-color-primary), black 25%);

    /* color: #012544 */
    --q-color-primary-darker: color-mix(in srgb, var(--q-color-primary), black 35%);

    /* color: #6DDAFF */
    --q-color-secondary-light: color-mix(in srgb, var(--q-color-secondary), white 25%);

    /* color: #21c7ff */
    --q-color-secondary-dark: color-mix(in srgb, var(--q-color-secondary), black 3%);
}

/*?? CZy zwiększyć padding, by łatwiej było chwytać?*/
.jqx-window-header-inventia{
    /*padding-top: 24px;
    padding-bottom: 8px;*/
}

/* aby dropdowny pokazywały się na oknach dialogowych*/
.dropDownButton.jqx-widget-content {
    z-index: 9000 !important;
}

/*w css-ach dataportalu jest coś co blokuje...*/
label {
    /*dlaczego jak tego nie ma, to nie działa selector .jqx-window-inventia label???*/
}

.jqx-window-content-inventia input/*[type="checkbox"]*/ {
    display: block;
}
.jqx-window-content-inventia input[type="radio"] {
    display: inline;
}
.jqx-combobox-input-inventia{
    background-color: white;
}
/*
input[type="radio"] {
    display: block;
}*/

.jqx-window-content-inventia{
    padding-left: 8px;
    padding-right: 8px;
}


#inventiasvg_top_div label, .jqx-window-inventia label {
    width: 49%;
    font-weight: normal;
    margin: 0px;
    margin-right: 4px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, arial, sans-serif;
    font-size: 13px;
}

#inventiasvg_top_div p, .jqx-window-inventia p {
    font-weight: bold;
    margin: 0px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, arial, sans-serif;
    font-size: 13px;
}

#inventiasvg_top_div textarea, .jqx-window-inventia textarea {
    font-weight: normal;
    /*margin: 0px;
    margin-right: 4px;*/
    font-family: "Roboto", "Helvetica Neue", Helvetica, arial, sans-serif;
    font-size: 13px;
    color: black;
}

#test_edytora {
    width: 100%;
    height: 600px;
}

#inventiasvg_top_div > *{
    border: 0px;
}

.inventia_main_field {
    position: relative;
    display: flex;
    flex-flow: column;
    background: #fff9f2;
}

#inventiasvg_top_bar{
    width: 100%;
    flex: none;
}

#inventiasvg_top_bar_right{
    /*width: 120px;*/
    float: right;
    background: var(--q-color-primary);
    /*height: 39px;
    /display: flex;*/
    box-sizing: content-box;
    display: inline-block;
    overflow: hidden;
}

#inventiasvg_top_bar_left {
    overflow: auto;
    background: var(--q-color-secondary);
    
}

.inventiasvg_top_bar_left_button{
    background: var(--q-color-secondary);
    /*border-color: #3ACDFF;*/
    border: 0px;
    height: 23px;
    color: var(--q-color-dark);
    font-weight: bold;
    font-size: 14px;
    /*padding: 10px 15px;*/
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right:10px;
    text-align: center;
    font-family: Dosis;
}

.inventiasvg_top_bar_left_button.jqx-fill-state-pressed-inventia {
    /*color: #063864;*/
    color: var(--q-color-secondary-dark);
    background: var(--q-color-dark);
    border-color: var(--q-color-dark);
    
}
.inventiasvg_top_bar_left_button.jqx-fill-state-hover-inventia {
    /*color: #21c7ff;*/
    color: var(--q-color-primary);
    background: var(--q-color-dark);
    border-color: var(--q-color-dark);
    
}

.inventiasvg_top_bar_right_button {
    color: var(--q-color-dark);
    background: transparent;
    border: 0px;
    padding: 6px;
}
.inventiasvg_top_bar_right_button.jqx-fill-state-hover-inventia {
    color: var(--q-color-secondary-light);
}
.inventiasvg_top_bar_right_button.jqx-fill-state-pressed-inventia {
    
}

#window_inventiasvg_toolkit{
    background: transparent !important;
    border: 0px;
}

#window_inventiasvg_toolkit > .jqx-window-header-inventia{
    display: none;
}

#window_inventiasvg_toolkit_panel{
    font-size: 16px;
    background: transparent !important;
    border: 0px;
    padding: 0px;
}

.checkbox_popover_inventiasvg_topbar .jqx-checkbox-default-inventia {
    background: var(--q-color-secondary);
}

.checkbox_popover_inventiasvg_topbar .jqx-checkbox-default-inventia.jqx-checkbox-hover-inventia {
    border-color: var(--q-color-dark);
}

.button_popover_inventiasvg_topbar {
    background: var(--q-color-secondary);
}

.div_popover_inventiasvg_topbar_cell {
    display: flex;
    flex: none;
    align-items: center;
    margin-bottom: 4px;
}


.inventiasvg_toolkit_button{
    font-family: "Dosis", "Helvetica Neue", Helvetica, arial, sans-serif;
    color: var(--q-color-dark);
    background: var(--q-color-primary);
    font-size: 14px;
    text-align: center;
    padding-top: 4px;
    padding-bottom: 4px;
    border-style: solid;
    border-color: var(--q-color-primary);
    border-width: 2px;
    margin-top: 1px;
    cursor: default;
    box-sizing: border-box;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}
.inventiasvg_toolkit_button.inventiasvg_toolkit_button_opened{
    color: var(--q-color-secondary-dark);
}
.inventiasvg_toolkit_button.inventiasvg_toolkit_button_docked{
    background: var(--q-color-dark);
}

#popover_inventiasvg_topbar_options{
    margin-top: 1px;
    border: 0px;
    background-color: var(--q-color-secondary);
}

#popover_inventiasvg_topbar_options .jqx-popover-arrow{
    display: none;
}

.div_inventiasvg_accept{
    text-align: center;
}

.inventiasvg_accept_button_changed.jqx-fill-state-normal-inventia{
    /* background: #ff4a60; */
    /* background: #32c891; */
    background: #00c853;
}
.inventiasvg_accept_button_changed.jqx-fill-state-hover-inventia{
    /* background: #FF5465; */
    /* background: #37e0a2; */
    background: #00e676;
    /* border-color: #dd4a60; */
    /* border-color: #37e0a2; */
    border-color: #00e676;
}
.inventiasvg_accept_button_changed.jqx-fill-state-pressed-inventia{
    /* background: #FF6370; */
    /* background: #37e0a2; */
    background: #00e676;
    /* border-color: #dd4a60; */
    /* border-color: #37e0a2; */
    border-color: #00e676;
}

.inventiasvg_save_button_changed {
    color: red !important;
}

.inventiasvg_toolkit_button:hover{
    color: var(--q-color-secondary-light);
}

.inventiasvg_toolkit_button:active{
    color: var(--q-color-secondary);
}



#inventiasvg_bottom_bar{
    margin-top: 1px;
    width: 100%;
    height: 30px;
    padding: 4px;
    box-sizing: border-box;
    flex: none;
    background: var(--q-color-primary);
    display: flex;
}

.inventiasvg_bottom_bar_button{
    margin-left: 8px;
    user-select: none;
}

#inventiasvg_toolbar {
    /*position: relative;
    top: 0;
    left: 0;*/
    overflow: hidden;
    padding: 2px;
    /*box-shadow: 0 0 12px #000000;*/
}

#inventiasvg_editor {
    border: 0px;
    flex: auto;
    background: #fff9f2;
    overflow: hidden;
    position: relative; /*hack dla chrome'a!*/
    /*position: absolute;
    left: 0;
    top: 30px;
    bottom: 0px;*/
    /*position: relative;
    width: 100%;
    height: 100%;
    flex: 2;
    cursor: default;
    overflow: auto;*/
    
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#panelWrapperinventiasvg_editor{
    /*flex: 1;*/
    position: absolute !important;  /*hack dla chrome'a!*/
}

#panelContentinventiasvg_editor{
    background: transparent;
}

.inventia_loading_div {
    background: url('img/spinner_inventia.gif') no-repeat center center;
    background-size: contain;
}

.div_inventiasvg_dialog_separator {
    background: #ffffff;
    height: 2px;
    margin-top: 4px;
}

.div_inventiasvg_flex_center {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.div_inventiasvg_sinle_line {
    margin-top: 4px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.inventiasvg_flex_center_right{
    margin-left: auto;
    margin-right: 4px;
}

#inventiasvg_root {
    overflow: visible;
    /*
    position: absolute;
    overflow: visible;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;  */      
}

#inventiasvg_content {
    overflow: visible;
    /*
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;  */      
}

#inventiasvg_canvas{
    overflow: visible;
}

.inventiasvg_animations_group{
    border-style: solid; 
    border-color: white; 
    border-width:1px;
    padding: 4px;
    width: 100%;
    margin-right: 4px;
    box-sizing: border-box;
}

.li_inventiasvg_animations_group>div:nth-child(3)/*.jqx-fill-state-hover-inventia*/{
    background: transparent;
    border-color: transparent;
    /*color: black;*/
}

#inventiasvg_content p{
    border:1px solid red;
    -moz-user-select: text;
    -khtml-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.ui-slider-horizontal{
    width: 20%;
    margin-left: 2%;
    display: inline-table;
}

#selector {
    position: absolute;
    display: none;
    border: 2px dashed red;
    pointer-events: none;
}

.no-close .ui-dialog-titlebar-close {
  display: none;
}

#inventiasvg_icons {
    margin: 0;
    padding: 0;
}
#inventiasvg_icons li {
    margin: 2px;
    position: relative;
    padding: 4px 0;
    cursor: pointer;
    float: left;
    list-style: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dialog_tool_button {
    width: 26px !important;
    height: 26px !important;
    padding: 3px;
    position: relative;
    text-align: center;
    vertical-align: bottom;
}

.dialog_tool_button img {
    width: 100%;
    height: 100%;
}

.toolbox_align_buttons {
    width: 26px !important;
    height: 26px !important;
    padding: 3px;
    position: relative;
    text-align: center;
    vertical-align: bottom;
}

.toolbox_align_buttons img {
    width: 100%;
    height: 100%;
}
.ui-icon-svg-pointer{
    width: 16px;
    height: 16px;
    background: url("img/pointer.ico") !important;
}

.ui-icon-svg-rect{
    width: 16px;
    height: 16px;
    background: url("img/rect.ico") !important;
}

.ui-icon-svg-line{
    width: 16px;
    height: 16px;
    background: url("img/line.ico") !important;
}

.ui-icon-svg-circle{
    width: 16px;
    height: 16px;
    background: url("img/circle.ico") !important;
}
.ui-icon-svg-path{
    width: 16px;
    height: 16px;
    background: url("img/polygon.ico") !important;
}
.ui-icon-svg-text{
    width: 16px;
    height: 16px;
    background: url("img/text.ico") !important;
}

.ui-icon-svg-chart{
    width: 16px;
    height: 16px;
    background: url("img/chart.ico") !important;
}

.ui-icon-svg-chart-x-y{
    width: 16px;
    height: 16px;
    background: url("img/chart_x_y.ico") !important;
}

.ui-icon-svg-chart-hist{
    width: 16px;
    height: 16px;
    background: url("img/chart_hist.ico") !important;
}

.ui-icon-svg-chart-stat-x{
    width: 16px;
    height: 16px;
    background: url("img/chart_stat_x.ico") !important;
}

.ui-icon-svg-chart-stat-s{
    width: 16px;
    height: 16px;
    background: url("img/chart_stat_s.ico") !important;
}

.ui-icon-svg-chart-stat-r{
    width: 16px;
    height: 16px;
    background: url("img/chart_stat_r.ico") !important;
}

.ui-icon-svg-image{
    width: 16px;
    height: 16px;
    background: url("img/image.ico") !important;
}

.ui-icon-svg-align-left{
    width: 16px;
    height: 16px;
    background: url("img/align_left.ico") !important;
}
.ui-icon-svg-align-right{
    width: 16px;
    height: 16px;
    background: url("img/align_right.ico") !important;
}
.ui-icon-svg-align-top{
    width: 16px;
    height: 16px;
    background: url("img/align_top.ico") !important;
}
.ui-icon-svg-align-bottom{
    width: 16px;
    height: 16px;
    background: url("img/align_bottom.ico") !important;
}
.ui-icon-svg-align-vert{
    width: 16px;
    height: 16px;
    background: url("img/align_vert.ico") !important;
}
.ui-icon-svg-align-hori{
    width: 16px;
    height: 16px;
    background: url("img/align_hori.ico") !important;
}

#table_color .ui-selecting {
    background: #FECA40; 
}
#table_color .ui-selected {
    background: #F39814;
    color: white; 
}

#animations input{
    width: 80px;
}

.dd-selected-text{
    color: #444444;
}

.dd-option-text{
    color: #555555
}

.ui-dialog{
    position: absolute;
}

.div_inventia_anim{
    border: 1px solid #404040;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px;
}

.table_animations_select{
    
}

.table_animations_select .ui-selected{
    /*background: #F39814;*/
    background: #404040;
}
.table_charts_select .ui-selected{
    /*background: #F39814;*/
    background: #404040;
}

#table_anim_table_settings .ui-selected{
    background: #404040;
}
#table_inventia_pick_source .ui-selected{
    background: #404040;
}


#prop_tabs .ui-state-hidden{
      display: none;
}

#div_svgchartsource_tabs .ui-state-hidden{
    display: none;
} 

#gridRect {
    pointer-events: none;
}

.inventia_dialog_buttonset_panel{
    border-top-width: 1px;
    border-top-color: rgb(64, 64, 64);
    border-top-style: solid
}

.inventia_dialog_buttonset_container{
    float: right;
}

.inventia_table_edit {
    border-collapse: collapse;
}

.inventia_table_edit td{
    border: 1px solid grey;
    min-width: 80px;
}

.inventia_default_label{
    margin-right: 12px
}

#dialog_create_new_tag td:nth-child(odd){
    width: 85px;
}
#dialog_create_new_tag td:nth-child(even){
    margin-left: 4px;
    margin-right: 4px;
    box-sizing: border-box;
    width: 145px;
}

#table_anim_table_settings th{
    padding-right: 12px;
}

#div_chart_style td{
    padding-right: 4px;
}

.jstree-contextmenu{
    z-index: 100000
}

#div_inventiasvg_explorer .jstree-anchor {
    margin-right: 100px;
}

.inventiasvg_explorer_context_menu_div {
    display: inline-flex;
    margin-left: 12px;
}

.inventiasvg_explorer_context_menu_div :hover {
    color: var(--q-color-secondary)
}

#explorer_inventiasvg_screen_element > .jstree-children > li:last-child {
    margin-bottom: 16px;
}


/*
.jstree-default-dark li a .inventiasvg_explorer_context_menu_div :hover {
    color: var(--q-color-secondary)
}*/
/*
.inventiasvg_explorer_context_menu_item :active {
    color: red !important;
}*/

/* Mój styl dla jqxGrid     */

.jqx-widget-inventia .jqx-grid-column-header-inventia, .jqx-widget-inventia .jqx-grid-cell-inventia, .jqx-widget-inventia .jqx-grid-group-cell-inventia, .jqx-grid-cell-inventia {
    border-color: var(--q-color-primary-darker);
}

/* domains */
.class_inventiasvg_domains_domain{
    padding: 8px;
}
.class_inventiasvg_domains_content{
    border: 1px solid black;
    background: aliceblue;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.class_inventiasvg_domains_content:hover {
    border: 1px solid brown;
}

.class_inventiasvg_domains_content.clicked {
    border: 1px solid crimson;
    background: azure;
}

.handle {
    z-index: 1;
}

.class_inventiasvg_domains_title {
    padding: 0.4rem;
    font-style: italic;
    z-index: 1;
}

#inventiasvg_domains_panel .class_inventiasvg_domains_big_label{
    font-family: "Dosis", "Helvetica Neue", Helvetica, arial, sans-serif;
    font-size: 14px;
    text-align: center;
    width: auto;
    margin: 0px;
}

.jqx-combobox-input-inventia {
    background-color: white;
}

.class_inventiasvg_domains_view {

}

.class_inventiasvg_domains_input_classes {
    width: 100%;
    margin-top: 0px !important;
    height: 23px;
}

.class_inventiasvg_domains_table_classes td, .class_inventiasvg_domains_table_classes th {
    text-align: center;
}

.class_inventiasvg_domains_table_classes td:nth-child(1){
    width: 40%
}
.class_inventiasvg_domains_table_classes td:nth-child(2){
    width: 30%
}
.class_inventiasvg_domains_table_classes td:nth-child(3){
    width: 30%
}

.class_inventiasvg_domains_toggle_button{
    width: 100%;
    margin-top: 0px !important;
    height: 25px;
}

.class_inventiasvg_domains_top_bar_button{
    background: var(--q-color-secondary);
    /*border-color: var(--q-color-secondary);*/
    border: 0px;
    height: 23px;
    color: var(--q-color-dark); 
    font-weight: bold;
    font-size: 14px;
    /*padding: 10px 15px;*/
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right:10px;
    text-align: center;
    font-family: Dosis;
}

.class_inventiasvg_domains_top_bar_button.jqx-fill-state-pressed-inventia {
    /*color: #063864;*/
    color: var(--q-color-secondary-dark);
    background: var(--q-color-dark);
    border-color: var(--q-color-dark);
    
}
.class_inventiasvg_domains_top_bar_button.jqx-fill-state-hover-inventia {
    /*color: #21c7ff;*/
    color: var(--q-color-primary);
    background: var(--q-color-dark);
    border-color: var(--q-color-dark);

}

 

/*
.col-xs-12 { width: 100%; }
 .col-xs-11 { width: 91.66666667%; }
 .col-xs-10 { width: 83.33333333%; }
 .col-xs-9 { width: 75%; }
 .col-xs-8 { width: 66.66666667%; }
 .col-xs-7 { width: 58.33333333%; }
 .col-xs-6 { width: 50%; }
 .col-xs-5 { width: 41.66666667%; }
 .col-xs-4 { width: 33.33333333%; }
 .col-xs-3 { width: 25%; }
 .col-xs-2 { width: 16.66666667%; }
 .col-xs-1 { width: 8.33333333%; }
*/
/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }
