.mdl-badge[data-badge]:after {top: 1px!important;}

.icon-badge{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: -8px;
  margin-top: -16px;
}


th.sortable-header{
    cursor: pointer;
}
.corpora-row{
    margin-top: 15px;
    position: relative;
}

.floating-buttons-wrapper{
    position: absolute; right: 150px;
}

.floating-buttons {
    padding: 23px 15px 23px 15px;
    position: fixed;
    bottom: 0;
    z-index: 21;

}

.floating-buttons > a, .floating-buttons > button {
    display: block;
    margin-top: 7px;
}

.pagination {
    display: inline-block;
}

.query .pagination  a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    width: 64px;
    border-radius: 4px;
    font-weight: 700;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

/*.pagination > .active > a, .pagination > .active > a:focus,
.pagination > .active > a:hover, .pagination > .active > span,
.pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #16616B;
    border-color: #16616B;
}

.pagination > li > a, .pagination > li > span {
    color: #16616B;
}*/

/* Medium Devices, Desktops */
@media only screen and (max-width: 991px) {
    .floating-buttons{
        display: none;
    }
    .buttons-row{
        display: block;
    }
}

:root {
  --modal-duration: 1s;
}

.top_menu {
    margin-left: 20px;
}

.modal_own {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content_own {
    max-height: 98%;
    margin: 1% auto auto;
    max-width: 98%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
    animation-name: modalopen;
    animation-duration: var(--modal-duration);
    display: inline-block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#visualization_modal .modal-content_own {
  width: 95%; /* set for dependency trees svg visualization scaling */
}


.modal_own.non-interactive {
  pointer-events: none;
}

.modal_own.interactive {
  pointer-events: auto;
}

.modal-header_own {
  background: var(--modal-color);
  padding: 5px;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.modal-body_own {
  --main-bgnd: white;
  padding: 10px 20px;
  background: var(--main-bgnd);
}

.modal-footer_own {
  background: var(--modal-color);
  padding: 5px;
  color: #fff;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.close_own {
  float: right;
  font-size: 30px;
  color: var(--modal-color);
  margin-top: 5px;
  margin-right: 20px;
}

.close_own:hover,
.close_own:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.chart {
  align-content: center;
  overflow: scroll;
  max-height: 100%;
  margin-top: 1rem;
}

.chart_compact {
  align-content: center;
  overflow: scroll;
  max-height: 650px;
  margin-top: 1rem;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.chart_boxes {
    align-content: center;
    overflow: scroll;
    margin-top: 1rem;
    min-width: 90vw;
    min-height: 50vh;
}

.hierplane--theme-light #passage {
    font-size: 1.75em !important;
}
div#passage p {
    font-size: 10px !important;
}

#chart_boxes .hierplane {
    height: 100%;
}

.remove-meta-button{
    color: red;
    font-size: 16px;
    position: absolute;
    right:5px;
    top:5px;
    cursor: pointer;
}

.custom-meta-item .remove-meta-button{
    right:15px;;
    top:15px;
    z-index: 1;
}
ul.metadata-form-field{
    padding-left: 0px;
}
#edit-metadata-modal-add-new-meta-button {
    border: none;
}

.mdl-textfield__input::placeholder {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(0,0,0,.26);
    pointer-events: none;
    position: absolute;
    display: block;
    top: 0px;
}
#edit-metadata-modal-add-new-meta-button{
    height: 32px;
    width: 32px;
    min-width: 32px;
}
#edit-metadata-modal-add-new-meta-button .material-icons {
    font-size: 22px;
}
.green-dot {
  height: 20px;
  width: 20px;
  background-color: #16616B;
  border-radius: 50%;
  display: inline-block;
}
.red-dot {
  height: 20px;
  width: 20px;
  background-color: red;
  border-radius: 50%;
  display: inline-block;
}
.yellow-dot {
  height: 20px;
  width: 20px;
  background-color: yellow;
  border-radius: 50%;
  display: inline-block;
}
.grey-dot {
  height: 20px;
  width: 20px;
  background-color: grey;
  border-radius: 50%;
  display: inline-block;
}
.csv-stats-button{
    margin-top: 30px;
    display: None;
}
.content{
    display: None;
}

.tooltip-icon {
    margin-bottom: 10px;
}

.tooltip-icon:hover {
    cursor: default;
}

.btn-stat {
    background-color: #16616B;
    color: white;
}

.btn-stat:hover {
  background-color: #ECFBFC;
  border-color: #16616B;
}

.showHideColumn.highlighted {
  text-decoration: line-through;
}

option:checked {
  background-color: #16616B;
  color: white;
}
option:hover {
  background-color: #F8F8F8;
}
#dropdownContent {
    display: none;
}
#dropdownContent.show {
    display: block;
}
