#result-box {
    display: none;
}
#collapseOrders {
    max-height: 680px;
    overflow-y: scroll;
}
#collapseLinks, #to-box-master {
    /*max-height: 300px;*/
    overflow-y: scroll;
}
#to-box-disp {
    max-height: 490px;
    overflow-y: scroll;
}
.alert {
    word-break: break-word;
}
.card-body {
    border-width: 3px;
    cursor: pointer;
}
.order_link label {
    padding-top: 0;
    padding-bottom: 0;
}
.order_link {
    padding-top: 10px;
}
/*.sorting_order_status,*/ .sorting_link_status {
    opacity: 0.3;
}
/*.sorting_order_status.selected,*/ .sorting_link_status.selected {
    opacity: 1;
}
#link-form, #exec_answer_box {
    border-width: 2px!important;
    border-radius: 2rem!important;
}
.font-sm {
    font-size: 0.9rem;
}
#master_link_form {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.link-card {
    border: 2px solid #333;
}
.link-card.bg-light {
    background-color: #F8F9E7!important;
}
.btn-success {
    background-color: mediumseagreen;
}
.bg-master-links-5 {
    background-color: #fff3b5!important;
}
.bg-master-links-10 {
    background-color: #99ff99!important;
}

#stat_master_list, #stat_masters, #stat_agent_list, #stat_agents, #stat_to_master_list, #stat_to_masters, #stat_to_agent_list, #stat_to_agents {
    overflow-y: scroll;
}
.stat_master_list_button, .stat_to_master_list_button {
    max-height: 50px;
}
#stat_agent_list #agent_autoautocomplete-list, #stat_to_agent_list #stat_to_agent_autoautocomplete-list {
    top: auto;
    border: none;
}
#stat_devices_tab td, #stat_devices_tab .form-control {
    padding: .4rem;
    vertical-align: middle;
}
#stat_to_device_period_result {
    top: 0;
}
.link_del {
    border: 1px solid gray;
    border-radius: 50%;
    padding: 5px;
    padding-left: 8px;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.link_del:cover {
    border: 1px solid red;
}
/*#oper_main_content .btn {
    font-size: 1rem;
}*/


/*autocomplete*/
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}
.autocomplete-items input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}
.autocomplete-items input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}
.autocomplete-items input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  padding-right: 5px;
  padding-left: 5px;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 8px;
  cursor: pointer;
  background-color: #fff; 
  border: 1px solid #d4d4d4; 
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9; 
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}
/*autocomplete end*/