/*Site-wide*/
body .modal-open {
  overflow: scroll; !important;
}
.navbar-brand {
  pointer-events: none;
}
.splash-container {
  margin-top: 10%;
  top: 106px;
}

#userInfoSlide {
  position:absolute;
  top: 91px;
  right: -50%;
  background: black;
  color: white;
  padding: 10px 50px 10px 20px;

  transition: all 1s;
}
#userInfoSlide.active {
  right: 0;
}

/*Search pane*/
.search-pane {
  top: 106px;

  transition: all .5s;
}
@media(min-width:576px){
  .search-pane {
    margin-top: 15%;
  }
  .search-pane.slideup {
    margin-top: 5%;
  }
}

#searchInput {
  padding-right: 140px;
  color: black;
}
.btn-search-find {
  position: relative;
  top: -50px;
  left: calc(100% - 130px);
}
.search-feedback {
  font-size: 1.4em;

  transition: all .5s;
}
.details-img {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 200px;

  background: #dddddd;
  box-shadow: 0px 10px 15px 3px rgba(0,0,0,0.5);
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.75);

  transition: all .5s;
}
.search-info {
  color: black;

  transition: all .5s;
}
.details-source-p {
  padding-left: 20px;
}

.details-source-div {
  padding-left: 10px;
}



/*Library pane*/
.library-pane {
  top: 100px;

  transition: all .5s;
}

a.anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

.footer {
  width: 100%;
  height: 60px;
  line-height: 60px;

  transition: all .5s;
}
#site-footer {
  bottom: -200px;
}
#update-panel {
  background-color: #1a1a1a;
  position: fixed;
  bottom: -60px;
}
#update-panel.active {
  bottom: 0;
}
#update-text {
  color: orange;
}
#total-counter {
  color: rgba(255,255,255,0.7);
  pointer-events: none;

  transition: all .5s;
}
#quick-add {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 35px;
  margin:auto;

  pointer-events: all;
}

.library-sidebar {
  position: fixed;
  top:15%;
  left: -20%;

  transition: left .5s;
}
.library-sidebar.active {
  left: 0;
}
.library-sidebar img {
  width: 40px;

  border-radius: 50%;
  margin: 5px 0;
  padding: 5px;
  background-color: black;

  transition: all .25s;
}
.library-sidebar img.active {
  filter: invert(100%);
}
@media(min-width:576px){
  .library-sidebar img {
    width: 51px;
    border-radius: 50%;
    margin: 5px 0;
    padding: 5px;
    background-color: black;
    border: 1px solid white;
  }
}

#helpModal, #addModal, #detailsModal {
  top: 15%;
}

#quickInputFeedback {
  transition: all .5s
}
.tooltip > .tooltip-inner {
  background-color: white;
  color: black;
  border: 1px solid #999999;

  max-width: 300px;
  max-height: 200px;
}
.tooltip.tooltip-bottom .tooltip-inner::before, .tooltip.bs-tether-element-attached-top .tooltip-inner::before {
  border-bottom-color: #999999;
}
.codex-entry {
  max-width: 285px;
  margin: auto;
}
@media(min-width:576px){
  .codex-entry {
    max-width: 25%;
    margin: 0;
  }
  .codex-entry h5 {

  }
}
@media (min-width: 768px) {
  .codex-entry h5 {
    display: block;
    font-size: .75em;
  }
}
@media (min-width: 992px) {
  .codex-entry h5 {
    font-size: 1em;
  }
}


.codex-img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 100%;

  background: #dddddd;
  box-shadow: 0px 10px 15px 3px rgba(0,0,0,0.5);
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.75);

  transition: all .5s;
}
.codex-entry.mastered .codex-img{
  background: black;
  opacity: .75;
}
.dirty .codex-img {
  opacity: 0.5;
  background: #666666;
  border: 7px solid green;
}
.codex-entry.mastered.dirty .codex-img {
  opacity: 0.5;
  background: #666666;
  border: 7px solid orange;
}

.gilded-img {
  height: auto;
  width: auto;
  max-width: 80%;
  max-height: 80%;
  position: absolute;
  top: 5px;
  left: 17%;
  opacity: 0;
  float:right;

  transition: all .5s;
}
@media(min-width:576px){
  .gilded-img {
    left: 10%;
  }
}

.mastered:not(.dirty) .gilded-img, :not(.mastered).dirty .gilded-img {
  opacity: 1;
}

.codex-entry.mastered h5 {
  text-decoration: line-through;
}
.codex-entry.mastered.dirty h5 {
  text-decoration: none;
}
.codex-entry.dirty h5 {
  text-decoration: line-through;
}


/*Bootstrap overwrite*/
strong {
  font-weight: bold;
}
span.twitter-typeahead {
  position: relative;
  display: block !important;
  width: 100%;
}
.tt-hint {
  padding-right: 140px;
  color: #bbbbbb;
}
.tt-menu {
  /*display: block !important;*/

  padding: 10px 5px;
  width: 50%;
  font-size: 1.3em;
  overflow-y: scroll;
  max-height: 300px;

  background: white;
  border: 1px solid rgba(0,0,0,0.15);
  border-top: 0;
  box-shadow: 10px 10px 5px #888888;
}
.tt-cursor {
  background: #f5f5f5;
}

/*Twitter help menu*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.sc-key {
  display: inline-block;
  min-width: 10px;
  height: 18px;
  padding: 0 4px;
  font-size: 12px;
  line-height: 16px;
  color: #66757f;
  text-align: center;
  background-color: #e6ecf0;
  background-repeat: repeat-x;
  background-image: linear-gradient(#f5f8fa,#eee);
  border: 1px solid #ccd6dd;
  border-radius: 3px;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #ccd6dd;
}
b {
  font-weight: normal;
}
.keyboard-shortcuts .modal-table {
  float: left;
  width: 175px;
}
.keyboard-shortcuts .modal-table+.modal-table {
  float: right;
  margin-left: 15px;
}
.keyboard-shortcuts .modal-table td {
  padding: 3px 0;
}
.keyboard-shortcuts .modal-table th, .keyboard-shortcuts .modal-table td {
  white-space: nowrap;
  padding: 0;
}
.modal-table th, .modal-table td {
  padding: 5px 10px;
  font-size: 12px;
  color: #66757f;
  text-align: left;
  vertical-align: top;
}
