button, 
button:active, 
button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.add_adapter{
    padding: 0 2.3% 0 0;
    background: url(../images/icons/add.png) no-repeat 100% 50%;
}
/*#adapter-description{
    width: 280px;
}*/
#modal_adapter > div > div > div.modal-body > div{
    width: auto;
    float: none;
    margin: 0;
}

#adapter-adapter_model_id{
    width: 280px;
}

#modalHeader > button{
    width: 50px;
    height: 50px;
    margin: 0 0 0 91%;
    font-size: 3em;
}
#modalHeader > button:hover{
    cursor: pointer;
}
#modal > div > div > div.modal-body > div
{
    margin: 0;
}
#close_button
{
    top: 3px;
}

#modalHeader{
    border-width: 0;
    height: 40px;
    padding: 0;
}

#loadMainContent:hover{
    cursor: pointer;
}

#adapter_general_info{
    height: 333px;    
}

div.module-box.grid_4.alpha.plot,
#adapter_general_info{
    width: 455px;
    margin: 10px 10px 0 0;
}
div.plot-little > p{
    margin: 0 0 0 30px;
}
div#chart-1,
div#chart-2,    
div#chart-3,    
div#chart-4,
div#chart-5,
div#chart-6,
div#chart-7,
div#chart-8,
div#chart-9,
div#chart-10,
div#chart-11{
    margin: 0 0 15px 0;
    clear: none;
}
div.legend > table
{
    width: auto;
}

div.legend > table > tbody > tr > td.legendColorBox,
div.legend > table > tbody > tr > td.legendColorBox > div,
div.legend > table > tbody > tr > td.legendColorBox > div > div
{
    line-height: 0;
}    

div.legend > table > tbody > tr{
    height: 16px;

}
div.legend > table > tbody > tr > td.legendColorBox{
    padding: 0 !important;   
}
div.legend > table > tbody > tr > td.legendColorBox > div{
    margin: 2px;
}

div.plots-left{
    width: 50%;
    float: left;
}
div.plots-right{
    width: 50%;        
    float: right;
}

.img-is_increment{
    margin: 0 0 0 35px;
}
div.adapter-view,
div.adapter-view > h5
{
    color: red;
}
.container_12 .grid_3,.container_16 .grid_4{
    margin: 10px 13px 5px 0;
}

div.modalBody{
    margin-top: 0;
}
#adapter_form .form-group{
    float: left;
    /*margin: 0 1% 0 0;*/
    margin: 15px 1%;
    width: 42%;
}
#adapter_form .form-group:last-child{
    margin: 2.9% 0 0 8px;
    width: 11%;
}
#adapter_form > div.form-group.field-adapterrulesform-rule{
    width: 35%;
}
#adapter_form > div.form-group.field-adapterrulesform-value{
    width: 15%;
}
#adapter_form .field-adapterrulesform-is_active,
#adapter_form .field-adapterrulesform-is_increment{
    width: 90%;
    clear: both;
    margin: 0 0 10px 1%;
    padding: 0;
}
.adapter_form_all #adapter_form .form-group:last-child{
    margin: 40px 0 10px 1%;
}
select{
    width: auto;
}
form{
    overflow: hidden;
    margin-bottom: 0;
}
#adapterrulesform-adapter_id,
#adapterrulesform-field,
#adapterrulesform-rule,
#adapterrulesform-value{
    width: 100%;
}
#adapterrules-value{
    width: 100%;
    padding: 9px 4px;
}
.adapter_field{

}
.field-adapterrules-value{
    width: 10% !important;
}
.adapter_rule_helper{
    margin-top: 5%;
}
.adapter_rule_helper p:first-child,
.see_example,
.adapter_rule_helper label{
    font-weight: bold;
}
.adapter_rule_helper label{
    display: inline;
    font-size: 14px;
    cursor: auto;
}
.adapter_rule_example{
}
.adapter_rule_example tbody td{
    background: #F5F4F4;
}


.create_rule{
    display: none;
}
.modal-header{
    min-height: 0;
    padding: 0;
    border-bottom: 0;
}
.modal-body{
    padding: 0;
    overflow: hidden;
}
.modal-header .close{
    opacity: 1;
    position: absolute;
    margin: 0.7% 0 0 94%;
    color: #CC0000;
    z-index: 10;
    font-size: 30px;
}
.adapter_form_all{
    margin: 0;
}
.pages-table td a span{
    display: none;
}
.pagination li a,
.pagination .active a,
.pagination li a:hover{
    padding: 9px;
    margin: 0 1px;
    text-align: center;
    line-height: 0.1;
    width: auto;
    height: auto;
}
.pagination li a:hover{

}
.getForm{
    margin: 0;
}
#form_field .grid_16{
    width: 100%;
}
.modal-lg{
    width: 425px;
}
.btn-success,
.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active,
.btn-success:active:focus,
.btn-success.active:focus{
    background-color: #E9E9E9;
    border: none;
    color: #333;
    padding: 7px 12px;
}
.container_12 .grid_12,
.container_16 .grid_16{
    width: 920px;
}
.globalRulesLabel{
    display: block;
    margin: 0 0 16px 4px;
    clear: both;
}
.globalRulesLabelHide{
    display: none;
}
.globalRules{
    display: block;
    margin: 0 0 23px 5px;
    list-style-type: none;
    clear: both;
}
.globalRules li{
    margin: 0;
    clear: both;
}
.globalRules li input{
    margin: -3px 5px 0 0;
}
input[type="checkbox"]{
    cursor: pointer;
}
.model_adapter #modal .modal-dialog,
.model_adapter .adapter{
    width: 542px;
}
.model_adapter #modal .modal-dialog .form-group{
    width: 48%;
    float: left;
    margin: 0 1%;
}
.field-adapter-serialnumber,
.field-adapter-description,
.model_adapter #modal .modal-dialog .form-group:last-child{
    clear: both;
}
.model_adapter #modal .modal-dialog .field-adapter-description{
    width: 98%;
}
#form_field .module-box{
    margin: 0;
}
.field-adapter-serialnumber,
.field-adapter-description,
.model_adapter #modal .modal-dialog .form-group:last-child{
    clear: both;
}
.model_adapter #modal .modal-dialog .field-adapter-description{
    width: 98%;
}
#form_field .module-box{
    margin: 0;
}
.admin_checkbox{
    width: 20px;
    height: 20px;
    margin: -4px 0 0 0;
}
.button_control_box{
    width: 80px;
}
.user_plot{
    background: url(../images/plots_images/section.png);
    margin: 0 6px 10px 3px;
    padding: 0;
    position: relative;
    width: 99%;
}
.user_plot .title{
    overflow: hidden;
    padding-left: 7px;
    min-height: 44px;
}
.chart_box,
.chart_box_ul{
    width: 100%;
    margin: -1px 0 0;;
    list-style-type: none;
    padding-bottom: 0;
    border-top: 1px solid #ccc;
    cursor: default;
    background: #fff;
    min-height: 264px;
}
.chart_box{
    min-height: 242px;
    min-width: 242px;
    background: url(../images/plots_images/add_chart_sm.png)no-repeat;
    background-size: 40px;
}
#plots_field .chart_box{
    background: #fff;
}
.chart{
    height: 220px;
    margin: 0 10px;
    margin-bottom: 10px;
    margin-top: 20px; 
}
.module-box.grid_4.alpha.user_plot{
    width: 427px;
}
#left_column,
#right_column{
    width: 50%;
    min-height: 350px;
    padding-bottom: 50px;
    list-style-type: none;
    float: left;
}
#right_column{
}
#plots_field .module-box-inner{
    padding: 0;
}
.button_box{
    width: 100%;
}
.layout_control{
    position: absolute;
    z-index: 9;
    right: -5%;
    top: 42%;
    padding: 21px 5px;
    border-radius: 1px 20px 20px 0;
    -webkit-transition: all 1s ease-in; /*для браузеров с webkit*/
    -moz-transition: all 1s ease-in ;/*для FF*/
    -o-transition: all 1s ease-in; /*для Opera*/
    transition: all 1s ease-in ;
    opacity: 0;
    background: #fff;
}
.add_section,
.remove_layout{
    margin: 0px 0%;
    padding: 1px 4px;
    margin: 0 3px 0 0;
    display: block;
}
.add_section,
.remove_layout{
    height: 40px;
    width: 40px;
    background-image: url(../images/plots_images/add_section1.png);
    background-repeat: no-repeat;
    background-size: 38px;
    background-color: transparent;
}
.remove_layout{
    height: 46px;
    width: 43px;
    clear: both;
    background-image: url(../images/plots_images/remove_layout.png);
    background-size: 41px;
}
.charts_ul_list{
    position: relative;
    padding: 10px 6px 0;
    background: transparent;
    border-radius: 4px;  
    margin: 0 0 10px;
}
#plots_field .charts_ul_list{   
     min-height: 329px;
    border: 2px dashed #fff;
}
#layouts .charts_ul_list{
    border: 2px dashed transparent;
}

/*.charts_ul_list:hover{
    padding-top: 30px;
    background: #000;
}*/
.charts_ul_list:hover .layout_control{
    opacity: 1;
}
/*.remove_layout{
    height: 22px;
    width: 22px;
    background-image: url(../images/icons/remove.png);
    background-repeat: no-repeat;
    background-size: 22px 22px;
}
.add_section{
    height: 22px;
    width: 22px;
    background-image: url(../images/icons/add.png);
    background-repeat: no-repeat;
    background-size: 22px 22px;
}*/

/*.move{
    float: left;
    height: 22px;
    width: 22px;
    background-image: url(../images/icons/cursor_drag_arrow.png); 
    background-repeat: no-repeat;
    background-size: 22px 22px;
    margin: 9px 5px 0 0;
}*/
.rename,
.delete,
.save_name_section{
    padding: 0;
    float: right;
    margin: 9px 5px 0 0 ;
    display: block;
}
.rename{
    float: left;
    height: 18px;
    width: 16px;
    background: url(../images/icons/pencil.png) no-repeat 0 61%;
    border: none;
}
.section_btn_box{
    float: right;
    /*display: none;*/
}
.save_name_section{
    background-image: url(../images/icons/save.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    float: left;
    height: 20px;
    width: 20px;
    display: none;
    border: none;
    border-radius: 0;
}
.delete{
    /*background-image: url(../images/icons/selection_delete.png);*/
    background-image: url(../images/plots_images/delete_chart.png);
    background-repeat: no-repeat;
    background-size: 25px 25px;
    height: 25px;
    width: 25px;
    margin: 8px 3px 0 0;
    border: none;
}
.delete:hover::after { 
    content: attr(data-title); 
    position: absolute;
    z-index: 100;
    display: block;
    left: 100%;
    bottom: 2%;
}
.title .section_input{
    margin: 4px 0 3px;
    width: 70px;
    display: none;
    float: left;
}
.datatable tr td:first-child{
    width: 40px;
}
.user_chart_select{
    display: none;

}
.add_parameter_field{
    float: right;
    margin: 3px 0 0;
}
.move_chart{
    height: 50px;
    width: 50px;
    background-image: url(../images/plots_images/move_chart.png);
    background-repeat: no-repeat;
    background-size: 49px 49px;
    background-color: transparent;
    margin: 88px 0px 0 62px;
}
.edit_chart{
    height: 50px;
    width: 50px;
    background-image: url(../images/plots_images/view_chart.png);
    background-repeat: no-repeat;
    background-size: 49px 49px;
    background-color: transparent;
    margin: 88px 7px 0 13px;
}
.remove_chart{
    height: 50px;
    width: 50px;
    /*background-image: url(../images/icons/remove.png);*/
    background-image: url(../images/plots_images/delete_chart.png);
    background-repeat: no-repeat;
    background-size: 49px 49px;
    background-color: transparent;
    margin: 89px 0 0;
}
.chart_control{
    overflow: hidden;
    margin: 477px 0 0 457px;
    position: absolute;
    width: 296px;
    height: 252px;
}
.user_chart_select_parameter{
    display: block;
    margin: 4px 0 0 175px;
    width: 120px;
}
.selected_adapter_fields div{
    margin: 0 2%;
    overflow: hidden;
}
.selected_adapter_fields{
    margin: 27px 0 0;
    padding: 0;
    list-style-type: none;
}
.selected_adapter_fields li{
    width: 100px;
    padding: 1px 5px 0 0;
    margin: 0;
    cursor: pointer;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.remove_field{
    background: url(../images/icons/remove.png) no-repeat 0 50%;
    background-size: 11px;
    float: right;
    margin: 2px 3px 0 7px;
    padding: 6px;
    font-size: 11px;
    border: none;
}
.chart p{
    margin: 38px 0 0 79px;
    padding: 0;
    clear: both;
}
.chart .max_parameters{
    display: none;
    font-size: 15px;
    margin: 38px auto 0;
    text-align: center;
    color: #4CAF50;
}
.single_column_field,
.two_column_field,
.three_column_field{
    margin: 0 0 0 292px;
    background-image: url(../images/plots_images/single_column.png);
    background-repeat: no-repeat;
    background-size: 95px 33px;
    background-position: 44% 40%;
    height: 45px;
    width: 110px;
}
.two_column_field{
    background-image: url(../images/plots_images/two_column.png);
    margin: 0;
}
.three_column_field{
    background-image: url(../images/plots_images/three_column.png);
    margin: 0;
}
.single_column_box,
.two_column_box,
.three_column_box{
    clear: both;
    cursor: move;
}
.single_column_box .add_parameter_field{
    margin: 4px 0 0 41%;
    width: 15%;
}
.single_column_box .p_add_parameter{
    margin: 43px 0 0 34%;
}
.single_column_box .user_chart_select_parameter{
    margin: 5px 0 0 41%;
    width: 15%;
}
.single_column_box .column{
    width: 906px;
}
.two_column_box .column{
    width: 449.19px;
    /*float: left;*/
    padding: 0 4px 0 0;
}
.two_column_box .user_chart_select_parameter{
    margin: 5px 0 0 35%;
    width: 30%;
}
.two_column_box .add_parameter_field{
    margin: 4px 0 0 35%;
    width: 30%;
}
.two_column_box .column:last-child{
    padding: 0 0 0 3px;
}
.button_box{
    overflow: hidden;
    padding-bottom: 10px;
}
.three_column_box .user_plot{
    margin: 0 6px 10px 3px;
    list-style-type: none;
}
.three_column_box .chart{
    margin-bottom: 10px;
    margin-top: 20px;
}
.single_column_box .add_chart,
.two_column_box .add_chart,
.three_column_box .add_chart{
    width: 25px;
    height: 25px;
    margin: 8px 3px 0 0;
    background-image: url(../images/icons/add_chart.png);
    background-repeat: no-repeat;
    background-size: 26px 25px;
    padding: 0;
    border: none;
    float: left;
}
.three_column_box .column{
    width: 33%;
    padding: 0 6px 0 0;
}
.three_column_box .column:last-child{
    padding: 0;
}
.three_column_box .user_chart_select_parameter{
    margin: 2px 0 0 67px;
    width: 100px;
    height: 23px;
    padding: 2px;
}
.three_column_box .remove_field{
    font-size: 9px;
    margin: 2px 4px 4px 6px;
    display: inline-block;
    vertical-align: middle;
}
.add_chart_box{
    float: left;
    width: 100%;
    min-height: 10px;
}
.column{
    width: 33.3%;
    margin-bottom: 0;
    display: inline-block;
    vertical-align: top;
    list-style-type: none;
}
.single_column{
    width: 100%;
    margin-bottom: 0;
}
.placeholder{
    background: #fff;
    opacity: 0.4;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-radius: 3px;
    display: block;
}
/*.add_parameter_box{
    display: none;
}*/
#tooltip {
    width: 20px;
    position: absolute;
    z-index: 10;
    border: 1px solid #1593db;
    background-color: #e5f5fe;
    font: 1em verdana;
    color: #000;
    padding: 5px;
    opacity: 0.75;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    right:  0;
}
.user_plot .legend{
    margin-bottom: 0;
}
.connectedSortable{
    /*padding: 0;*/
    min-height: 319px;
    border-right: 2px dashed #fff;
}
.connectedSortable:last-child{
    border-right: 0;
}

.legend table .legendLabel{
    padding: 0 !important;

}
.chart div.legend > table > tbody > tr > td.legendLabel{
    line-height: 17px;
}
.modal-footer{
    border: none;
    padding: 0 15px 15px 0; 
}
.modal-dialog{
    width: 950px;
}
#save,
#cancel{
    float: right;
    margin: 0 15px 15px 0;
}
.legend table td{
    font-size: 14px;
}
.modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 300px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -300px, 0);
    transform: translate3d(0, -300px, 0);
    opacity: 1;
}
/*******************************Control bar************************************/
.control_bar_box{
    position: fixed;
    position: fixed;
    top: 188px;
    left: 0;
    background: #234461;
}
.control_bar_box ul{
    list-style-type: none;
    
}
.control_bar_box li{
    padding: 0;
    margin: 15px;
    cursor: pointer;
}
.choose_layout,
.choose_section,
.choose_chart,
.choose_parameter,
.trash{
    width: 60px;
    height: 60px;
    background-image: url(../images/plots_images/add_layout.png);
    background-repeat: no-repeat;
    background-size: 60px 60px;   
}
.choose_section{
    background-image: url(../images/plots_images/add_section2.png);
}
.choose_chart{
    background-image: url(../images/plots_images/add_chart.png);
}
.choose_parameter{
    background-image: url(../images/plots_images/add_parameter.png);
}
.trash{
    background-image: url(../images/plots_images/trash.png);
    transition: 0.5s ease-in-out;
}
.trash:hover{
    -webkit-transform: scale(1.3);
          transform: scale(1.3);
}
#layouts,
.generated_section_ul,
.generated_chart{
    margin: 0px 0 0 75px;
    /*width: 50px;*/
    background: #41607B;
    position: fixed;
    top: 26.5%;
    left: 1%;
    display: none;
}
.generated_section_ul{
    display: none;
    height: 50px;
    top: 33.5%;
}
.generated_chart{
    display: none;
    height: 50px;
    top: 43.5%;
}
#layouts:before,
.generated_section_ul:before,
.generated_chart:before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-right: 10px solid #41607B;
    border-bottom: 7px solid transparent;
    margin: 13px 0 0 -8px;
}
/*#layouts .charts_ul_list,*/
.generated_section_ul .user_plot,
.generated_chart .chart_box{
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 5px;
    background-size: 40px 40px;
    background-repeat: no-repeat;
}
.generated_chart .chart_box{
    min-width: 0;
    min-height: 0;
}
.generated_chart .chart{
    width: 268.3px;
    height: 220px;
} 
.generated_section_ul .user_plot .title,
.generated_section_ul .user_plot .chart_box_ul{
    display: none;
}
.generated_section_ul .module-box-inner{
    padding: 0;
}
.connect_layouts{
    min-height: 200px;
    overflow: visible;
}
#layouts .connect_layouts{
    min-height: 0;
}
#layouts .placeholder{
    display: none;
}
#layouts .charts_ul_list{
    margin: 0 0 26px 41px;
}
#layouts .column{
    margin: 0;
    display: none;
}
#layouts .chart_box,
.generated_section_ul .chart_box{
    background: #fff;
}
#layouts .single_column_box .chart,
.single_column_box .chart{
    width: 878px;
    height: 220px;
}

#layouts .two_column_box .chart,
.two_column_box .chart{
    width: 421.17px;
    height: 220px;
}
#layouts .three_column_box .chart,
.three_column_box .chart,
.generated_section_ul .chart{
    width: 268.3px;
    height: 220px;
}
.move_layout{
    width: 35px;
    height: 35px;
    position: absolute;
    left: -35px;
    top: -1px;
    border: 1px dotted #fff;
    border-right: none;
    background: url(../images/plots_images/move_layout.png) no-repeat;
    background-size: 35px 35px;
    background-position: 0 0;
}
#plots_field .move_layout{
    display: block;
}
#plots_field .two_column_box .column{
    clear: both;
}
.move_to_trash_item{
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}
.move_to_trash_item .placeholder{
    height: 0 !important;
}
.column .module-box-inner{
    
    padding: 0;
}
.flot-overlay,
.chart_box,
.user_plot{
    cursor: move;
}
.generated_parameters_list{
    position: fixed;
    top: 185px;
    left: -81px;
    display: none;
}
