/*
  .open_dict {
    border: 1px solid #96abc9;
    margin: 0;
    padding: 0;
    margin-top: 1em;
    padding: 1px;
  }
  */
  
  .open_dict .blank {
    border:none;
  }
  .open_dict .handling {
    color: #fff;
    text-align: left;
    padding: 10px;
    border: 0 none;
  }

  .open_dict .handling_header {
    background-color: #96abc9;
  }
  /* 
  .open_dict .source, #source_heading {
    border-right: 2px solid white;
  }

  .open_dict .source, .open_dict .target {
    padding: 10px 10px 0;
    vertical-align: top;
    width: 50%;
  }
  */

  .open_dict .handling .empty { display: none; }
  .edit_entry_version, .new_entry_version { display: none; }

  .open_dict .handling .submit .button {
    margin-left: 0.3em;
  }
  .open_dict .additional_options_container {
    border: 0 none;
    /*
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    */
    padding: 10px;
    text-align: left;
  }

  .open_dict .additional_options_container textarea {
    height: 80px !important;
  }

  .open_dict form .row-fluid .span4,
  .open_dict form .row-fluid .span6,
  .open_dict form .row-fluid .span8,
  .open_dict form .row-fluid .span12
  {
    padding: 10px;
  }

  /*
  .open_dict table tbody td input.text {
    width: 90%;
  }
  */

  /*
  .open_dict table tbody td textarea {
    font-family: Arial, sans-serif;
    color:       #00377F;
    font-size:   12px;

    width: 92%;
    border-color: #999999 #CCCCCC #CCCCCC #999999;
    border-style: solid;
    border-width: 1px;
  }
  */
  .open_dict label {
    color: #01377F;
    /*
    font-weight: bold;
    */ 
  }
  .open_dict .additional_options_content { display: none; }

  /*
  .open_dict .additional_options_content input {
      width: 15em;
  }
  */

  .open_dict .additional_options_content select {
    margin-bottom: 0;
  }

  .open_dict .additional_options_content p label span {
    width: 10em;
    display: block;
    float: left;
    margin-top: 0.2em;
  }

  .open_dict .additional_options_content .row-fluid {
    margin-bottom: 0.2em;
  }
  .open_dict .additional_options_content select,
  .open_dict .additional_options_content input {
    width: 95%;
  }

  .open_dict .submit {
    background-color: #96ABC9;
    padding: 10px; 
    text-align: left;
  }
  .open_dict .add {
    background-color: #96ABC9;
    padding: 10px;
    text-align: left;
  }
  .open_dict .add a {
    color: #01377f;
  }
  .open_dict.entry .select_lang {
    text-align: center;
  }

  .open_dict .additional_options_switcher_container {
      /*
      padding-right: 2.5em;
      margin: 0.2em;
      text-align: right;
      */
    margin-bottom: 10px;   
  }

  #opendict_preview { margin-top: 1em; }
 
  /*
  .open_dict input.text {
    border-color:#999999 #CCCCCC #CCCCCC #999999;
    border-style:solid;
    border-width:1px;
    color:#00377F;
    font-family: Arial, sans-serif;
    font-size:14px;
    height:20px;
    margin-right:2px;
    padding:4px;
  }
  */
  
  .open_dict .button_loading_indicator {
    display: none;
  }
  
  form.new_entry_version,
  form.edit_entry_version {
    position: relative;
    overflow: hidden;
  }

  #edit_entry_version {
    display: none;
  }

  #edit_entry_version.privileged_editor {
    display: block;
  }

  form.new_entry_version .form_load_indicator,
  form.edit_entry_version .form_load_indicator {
    width: 100%;
    height: 600px;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #ffffff;
    z-index: 1;
    opacity: 0.66;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=66)";
    filter:alpha(opacity=66);
    cursor: wait;
  }
  
  form.new_entry_version .form_load_indicator_spinner,
  form.edit_entry_version .form_load_indicator_spinner {
    background: url("../images/small_indicator.gif") no-repeat 300px 175px transparent;
    z-index: 2;
    opacity: 1;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter:alpha(opacity=100);
  }
  
  .new_entry_version button { display: inline; }
  /* see also patch_wake.css for ie handling */
  .new_entry_version .add { display: table-cell; }
  .add a:hover,.add a:active, .add a:focus {
    text-decoration: none;
  }
  .add a:hover > span, .add a:active > span, .add a:focus > span {
    text-decoration: underline;
  }

  .edit_entry_version, .new_entry_version { display:block; }

  .usage { 
      float: right; 
      margin: -0.5em 0.5em -0.5em 0; 
      height: 100%;
  }
  .usage .stack { 
    position: relative; 
    width: 15px; 
    height: 100%;
    min-height: 75px;
    min-width: 16px;
    top: 0; right: 0; 
  }

  .usage .up         { position: absolute; top: 0; }
  .usage .down       { position: absolute; bottom: 0; }
  .usage .remove     { position : absolute; top: 50%; margin-top: -7px; }
  .usage .move.upper { position : absolute; top: 25%; margin-top: -2px; }
  .usage .move.lower { position : absolute; top: 75%; margin-top: -5px; }

  .usage .up, .usage .down, .usage .remove, .usage .move { left: 50%; }
  .usage .up, .usage .down, .usage .remove { margin-left: -7px; }
  .usage .move { margin-left: -6px; }

  .usage .stack img { cursor : pointer; }
  .usage .stack .move { cursor : move; }

  .usage .up,          .usage .down          { visibility: hidden; }
  .hovered .usage .up, .hovered .usage .down { visibility: visible; }
  
  .open_dict input, .open_dict textarea { width: 80%; }
  .open_dict select { width: 80%; }
  
  #opendict_preview table { width: 100%; }
  
  .open_dict .open_dict_line {
    margin-top: 1px;
    margin-bottom: 1px;
    position: relative;
    background-color: #d6dfea;
  }

  .additional_options_content label {
    display: inline;
  }

  .additional_options_container .moveup_handle,
  .additional_options_container .remove_handle,
  .additional_options_container .movedown_handle {
    position: absolute;
    right: 1em;
    z-index: 1;
  }

  .additional_options_container .handle_disabled a i {
    color: #ffffff;
  }
  .additional_options_container .handle_disabled a:hover i{
    color: #ffffff;
    cursor: default;
  }

  .additional_options_container .moveup_handle { bottom: 30px; }
  .additional_options_container .remove_handle { top: 10px; }
  .additional_options_container .movedown_handle { bottom: 10px; }

  .open_dict .row-fluid.handling { margin-top: 0px; margin-bottom: 0px; }
  
  .widget_content_form input,
  .widget_content_form textarea { 
    width: 95%;
  }

  .open_dict .popover-title,
  .open_dict .popover-content {
    color: #333333;
  }

  #templates {
    display: none;
  }

  .authors-and-versions {
    text-align: right;
  }

  table.open-dict-entries th.actions {
    width: 285px;
  }

  ul.timeline-links {
    margin: 0;
  }
  ul.timeline-links li {
    display: inline-block;
    list-style-type: none;
    height: 50px;
    vertical-align: top;
  }
  ul.timeline-links li.last {
    width: 250px;
  }

  .links-with-spacers a {
    padding-left: 3px;
    padding-right: 3px;
  }

  #save_and_approve_confirmation_header, #save_and_approve_confirmation_buttons {
    display: none;
  }

  .office .pagination .current {
    text-decoration: underline;
  }

  .office .current-flection-language {
    font-weight: bold;
  }

  .office .current-flection-form {
    background-color: #ccffcc;
  }

  .office .current-flection-form {
    background-color: #ccffcc;
  }

  .office .flection-language-index-table .icon-remove {
    color: #800000;
  }

.flection-forms-table-row {
  display: flex;
  width: 100% ;
  justify-content: center;
}
.flection-forms-table-row:hover {
  background-color: #ffffcc;
}
.flection-forms-table-cell {
  display: flex;
  height: 2rem;
  align-items: center;
}
.flection-forms-table-position {
  width: 5%;
  justify-content: center;
}
.flection-forms-table-form {
  width: 70%;
  justify-content: left;
}
.flection-forms-table-form form {
  margin-bottom: 0;
}
.flection-forms-table-preview {
  width: 10%;
  justify-content: left;
}
.flection-forms-table-move_down {
  width: 5%;
  justify-content: center;
}
.flection-forms-table-move_up {
  width: 5%;
  justify-content: center;
}
.flection-forms-table-delete {
  width: 5%;
  justify-content: center;
}
.flection-forms-table-delete .icon-remove {
  color: #800000;
}

.flection-table-row {
  display: flex;
  width: 100% ;
  justify-content: center;
}
.flection-table-row-header {
  font-weight: bold;
}
.flection-table-row:hover {
  background-color: #ffffcc;
}
.flection-table-cell {
  display: flex;
  height: 2rem;
  align-items: center;
}
.flection-table-headword {
  width: 20%;
  justify-content: left;
  padding-left: 1em;
}
.flection-table-forms {
  width: 20%;
  justify-content: left;
  display: inline-block;
  overflow: hidden;
  padding-right: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.flection-table-grammar {
  width: 15%;
  justify-content: left;
  display: inline-block;
  overflow: hidden;
  padding-right: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.flection-table-meaning {
  width: 20%;
  justify-content: left;
  display: inline-block;
  overflow: hidden;
  padding-right: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.flection-table-position {
  width: 5%;
  justify-content: left;
}
.flection-table-actions {
  width: 15%;
  justify-content: left;
}
.flection-table-move_down {
  width: 5%;
  justify-content: left;
}
.flection-table-move_up {
  width: 5%;
  justify-content: left;
}
.flection-table-delete {
  width: 5%;
  justify-content: left;
}
.flection-table-delete .icon-remove {
  color: #800000;
}