/*
// Copyright (c) 2020, Planet Innovation
// 436 Elgar Road, Box Hill VIC 3128 Australia
// Phone: +61 3 9945 7510
//
// The copyright to the computer program(s) herein is the property of
// Planet Innovation, Australia.
// The program(s) may be used and/or copied only with the written permission
// of Planet Innovation or in accordance with the terms and conditions
// stipulated in the agreement/contract under which the program(s) have been
// supplied.
//
*/

@media (min-width: 768px) {
  .window-annotation-update-backdrop.in {
    opacity: 0.2;
  }

  .modal.window-annotation-update {
    width: 100%;
    /* avoid showing a scrollbar if window is too short for annotation update modal */
    overflow-y: hidden;
    height: 100%;
  }

  .window-annotation-update.modal.fade .modal-dialog {
    transform: translate(0, 0);
  }

  .window-annotation-update .modal-dialog.modal-sm {
    width: 250px;
    margin: 0 auto;
    bottom: 95px;
    left: 265px;
    position: absolute;
  }

  .window-annotation-update .annotation-update {
    margin-top: 0;
  }

  .window-annotation-update .annotation-update .header {
    background-color: inherit;
    color: #285884;
  }

  .window-annotation-update .annotation-update .footer {
    height: 16px;
  }

  .window-annotation-update .reference-image,
  .window-annotation-update .annotation-list-item {
    width: auto;
    font-size: 16px;
    padding: 6px 15px;
    cursor: pointer;
  }

  .window-annotation-update .reference-image:hover,
  .window-annotation-update .annotation-list-item:hover {
    background-color: #BDCDDA;
  }

  .window-annotation-update .reference-image {
    border-top: 1px solid #eee;
  }

  .window-annotation-update .reference-image .annotation-icon,
  .window-annotation-update .annotation-list-item .annotation-icon {
    width: 24px;
  }

  .window-annotation-update .reference-image .name,
  .window-annotation-update .annotation-list-item .name {
    margin-left: 8px;
  }

  .annotation-list-item--negative .name {
    color: red;
  }

  .window-annotation-update .callout::before {
    content: "";
    width: 0px;
    height: 0px;
    border: 0.8em solid transparent;
    position: absolute;
    left: 45%;
    bottom: -30px;
    border-top: 18px solid white;
  }

  .window-annotation-update .inflight {
    float: right;
  }
}
