
/* XML-Editor */
/*menu*/
.xml_editor_container .xml_editor_header {
    border: 0px;
}

.xml_editor_container .xml_submit_status, .xml_editor_container .send_xml {
    display: none;
}

.menu-container {
    height: 30px;
    width: 100%;
}

.export-btn {
    float: left;
    padding-left: 0px;
    display: inline-block;
}

.filename-input-container {
    padding-left:5px;
    display: inline-block;
}
.filename-text {
    height: 20px;
    margin-top: 5px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-container {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    float: left;
}

.btn-edit-xml {
    width: 70px;
}

.icon-container {
    float: right;
}

.icon-edit {
    font-size: 18px;
    padding-top: 4px;
    color: #1d2227;
}

.onoffswitch {
    margin-top: 5px;
    position: relative;
    width: 65px;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #999999;
    border-radius: 20px;
    margin-bottom: 0px;
}
.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 20px;
    padding: 0;
    line-height: 20px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    font-size: 10px;
    content: "XML";
    padding-left: 10px;
    background-color: #1D2227;
    color: #C1D92A;
}
.onoffswitch-inner:after {
    font-size: 10px;
    content: "TEXT";
    padding-right: 10px;
    background-color: #1D2227;
    color: #C1D92A;
    text-align: right;
}
.onoffswitch-switch {
    display: block;
    width: 14px;
    margin: 4px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 43px;
    border: 1px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

#unsaved {
      width: 6px;
      height: 6px;
      display: inline-block;
      margin-bottom: 5px;
      margin-left: 3px;
      -webkit-border-radius: 25px;
      -moz-border-radius: 25px;
      border-radius: 25px;
      background: #888;
    }

/*editor*/
.clear {
    clear: both;
}

.xml_editor_container .xml_menu_container {
    height: 260px;
    max-height: 1000px !important;
}

.xml_editor_container .xml_tab_area {
    padding-top: 0px !important;
}

.xml_editor_container .xml_root_element {
    margin-top: 0px;
    height: 260px;
    overflow-y: scroll;
    background: #efefef;
}

.xml_editor_container .xml_work_area {
    width: 80%;
}

.xml_editor_container .xml_menu_column {
    width: 20%;
    left: 80% !important;
    padding-left: 10px;
}

.xml_editor_container .xml_tab_area .gui_content, .xml_editor_container .xml_tab_area .text_content {
    padding-top: 0px;
    background-color: #fafafa;
    min-height: 260px;
    height: 260px !important;
}

.xml_editor_container .xml_tab_area .ace_editor {
    height: 440px !important;
    margin-top: 5px;
}

.xml_editor_container .ace-tm .ace_gutter {
    height: 425px;
}

.xml_editor_container .xml_tab_area .gui_content, .xml_editor_container .xml_tab_area .text_content {
    background-color: #eee;
}
.xml_dialog.ui-dialog {
    z-index: 1000;
}

.xml_editor_header, .xml_editor_header_backing {
    display: none;
}

/* Font size */
.xml_root_element > .element_header > .element_name {
    font-size: 12px;
}

.xml_element {
    font-size: 12px;
}

.top_level_element_group.xml_element > .element_header > .element_name {
    font-size: 12px;
}

.element_name {
    font-size: 12px;
}

.xml_element .content_block {
    padding: 0px 10px 4px 10px;
}

.xml_element.selected > .element_header {
    background-color: #1D2227;
    background: -webkit-gradient(linear, left top, left bottom, from(#AAA), color-stop(0.5, #555), to(#1D2227)) !important;
    background: -moz-linear-gradient(top, #AAA, #555, #1D2227) !important;
    background: linear-gradient(to bottom, #AAA, #555, #1D2227) !important;
}

.selected > .element_header > .element_name {
    color: #C1D92A;
}

.xml_element.selected {
    border: 1px solid #d9edf7;
    box-shadow: 0px 0px 6px 1px !important;
}

.attribute_container.selected {
    background-color: #d9edf7;
}

top_level_element_group > .element_header {
    background-color: #dddddd;
    background: -webkit-gradient(linear, left top, left bottom, from(#CCC), to(#AAA));
    background: -moz-linear-gradient(top, #CCC, #AAA);
    background: linear-gradient(to bottom, #CCC, #AAA);
}

.xml_text_node .xml_input_column {
    background-color: #fff;
}

.xml_element {
    background-color: #ddd;
    box-shadow: 4px 3px 3px 0 #c4c5be;
}

.xml_text_node.selected {
    background-color: #d9edf7;
}

.xml_text_node {
    background-color: #efefef;
}

.xml_textarea:focus, .xml_input:focus {
    border: 1px solid #000 !important;
}

.top_level_element_group > div > .xml_children > .xml_element > div > .xml_children > .xml_element > .element_header {
    background-color: #f1f1f3;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
    background: -moz-linear-gradient(top, #FFF, #DDD);
    background: linear-gradient(to bottom, #FFF, #DDD);
}

.top_level_element_group > div > .xml_children > .xml_element > div > .xml_children > .xml_element > div > .xml_children > .xml_element > .element_header {
    background-color: #f5f5f9;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
    background: -moz-linear-gradient(top, #FFF, #DDD);
    background: linear-gradient(to bottom, #FFF, #DDD);
}

.top_level_element_group > div > .xml_children > .xml_element > .element_header {
    background-color: #e9e9eb;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
    background: -moz-linear-gradient(top, #FFF, #DDD);
    background: linear-gradient(to bottom, #FFF, #DDD);
}

/*.xml_content .element_header {
    background: #EFEFEF;
}*/