/*
 * (c) All rights reserved. ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE,
 * Switzerland, VPSI, 2017.
 */

.modalchoices {
  display: none;
  border: 1px solid #474e52;
  background-color: #fff;
  min-width: 324px;
  padding: 0;
}

.width100 {
  width: 100%;
}

.width300px {
  max-width: 300px;
}

.width980px {
  max-width: 980px;
}

.modalchoices .modal-content {
  padding: 4px 8px;
}

.modalchoices h3 {
  margin: 0 0 20px 0;
  background-color: #474e52;
  color: #fff;
  padding: 2px 8px 2px 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 15px;
  line-height: 19px;
}

#switch-ask-new-tag-link img, #switch-list-articles-link img {
  vertical-align: -6px;
}

#preview-news-tag-name {
  width: 195px;
  margin-top: 10px;
}

.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}

.ui-menu .ui-menu-item {
  padding-left: 5px;
}

.ui-menu .ui-menu-item a {
  background: white;
  color: black;
}

.ui-menu .ui-menu-item a:hover {
  cursor: pointer;
}

.draggable-sugg {
  opacity: 0.6;
}

#favorite-tags-list, #suggested-tags {
  margin: 10px 0px;
  line-height: 30px;
  overflow: hidden;
}

#favorite-tags-list {
  min-height: 35px;
}

#suggested-tags {
  height: auto;
}

#favorite-tags-list>div, #suggested-tags>div {
  float: left;
}

.favorite-tags-list-bcg {
  background-color: #d5d5d5;
}

.favorite-tags-list-active {
  background-color: #a4ff48;
}

.favorite-tags-list-hover {
  border: 1px solid #00b700;
}

.favorite-tag {
  border: 1px solid black;
  padding: 3px;
  margin-right: 8px;
  margin-bottom: 5px;
  background-color: white;
}

.remove-favorite-item, .add-favorite-item {
  background: white;
  border: none;
  color: black;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  padding: 0 4px;
}

.remove-favorite-item {
  margin-left: 8px;
}

.remove-favorite-item:hover, .add-favorite-item:hover {
  background: black;
  color: white;
}

#favorite-related-articles table {
  width: 950px;
  margin-top: 10px;
  border: 1px solid grey;
}

.favorite-related-article-col1 {
  width: 10px;
}

.favorite-related-article-col2 {
  width: 70px;
}

.favorite-related-article-col3 {
  width: 30px;
}

.favorite-related-article-col4 {
  width: 220px;
}

.favorite-related-article-col5 {
  width: 600px;
}

.favorite-related-article-col6 {
  width: 20px;
}

.modal-content-related-articles {
  overflow: visible;
  max-height: 350px;
}

.panel-content-tags {
  margin: 1em 0;
}

.news-tags-box {
  font: italic .815em/1em Georgia, "Times New Roman", Times, serif;
  letter-spacing: .07em;
  padding: 3px;
  margin-right: 5px;
  margin-bottom: 5px;
  background-color: #dddddd;
  display: block;
  float: left;
  border-radius: 8px;
}

.news-tags-box img {
  width: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

.news-tags-box label {
  margin-right: 5px;
  vertical-align: middle;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 280px;
  white-space: nowrap;
  display: inline-block;
  height: 15px;
  padding-top: 5px;
}

.no-pointer {
  pointer-events: none;
}
