.inline{
  display: inline-block;
  vertical-align: bottom;
}
.titleLimit { /* collapsible titles */
 overflow: hidden;
 text-overflow: ellipsis;
 display: -webkit-box;
 -webkit-line-clamp: 1;
         line-clamp: 1;
 -webkit-box-orient: vertical;
 transition: 0.3s;
}

.titleLimit:hover { /* expand title on hover */
  overflow: show;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 8;
          line-clamp: 8;
  -webkit-box-orient: vertical;
  transition: 0.3s;
}

.modal {
  background-color: rgba(0, 0, 0, 0.5);
  display: block;
  left: 0;
  margin: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 1000;
  text-align: center;
}
.modal .menu {
  border-radius: 25px;
  border: 2px solid #54406b;
  background-color: lightgray;
  margin: 2rem;
  padding: 2%;
  height: auto;
  width: 70%;
  display: inline-block;
  text-align: center;
}
/*
strong{
    color:#48206E
}
*/
.pill{
    cursor:pointer;
    display: inline-block;
    border-radius: 999px;

    border-style: solid;
    border-width: 2.5px;
    border-color: #888;

    color: #888;
    font-weight: 550;
    background:rgba(0, 0, 0, 0.0);
}
.button i{
    /* padding-top: 50%; /* 1:1 Aspect Ratio */
    line-height: 1.2rem;
}
.button{
    font-size: 1.2rem;
    line-height: 1.2rem;
    padding: 4px 12px;
}
.tag{
    border-color: #48206E;
    color:#48206E;
    font-size: 0.9rem;
    line-height: 0.9rem;
    padding: 4px 8px;
    /* max-width: 99%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
    margin: 5px 0px 0px 0px;
}
.bigButton {
    width:100%;
    display:inline-block;
    font-size: 1.5rem;
    padding: 5px 10px;
    margin:10px 0px 0px;

}
.pill:hover {
    /* background: #9040DC; */
    color: #fff;
    background: #888;
}
.tag:hover {
    /* background: #9040DC; */
    color: #fff;
    background: #48206E;
}

.row .puzzle{
  padding: 0.2rem 0.4rem;
}
.row .hidden{
  display: none;
}
.puzzle .title{

}
.puzzle .image{
  height: 10rem;
}
/* .preview .image{
  height: 20rem;
} */
.card .card-header{
  padding: 0.2rem 0.6rem;
}
.nav-item .tab-link{
  font-size: 14px;
  padding: 0.3rem;
  margin: 0.1rem;
}
/* .puzzle .image{
  display:inline-block;
  width: 49%;
  max-width: 500px;
  vertical-align: top;
} */
/* .puzzle .details{
  display:inline-block;
  width: 49%
} */
.image img{
  max-width: 100%;
  max-height: 100%;
  width: 1000;
  height: 1000;
  object-fit: contain;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#x {
  position: relative;
  float: right;
  background: red;
  color: white;
  top: -10px;
  right: -10px;
  border-radius: 50%;
}

#x i{
  padding-top: 25%; /* 1:1 Aspect Ratio */
  padding-bottom: 25%; /* 1:1 Aspect Ratio */
}


form{
  margin:0px;
}
.form-input{
  width:100%;
  height:1.8rem;
}

a.tab-link{
    color: #eca500;
}
a.tab-link:hover{
    color: #b98100;;
}

.card-header .nav-tabs .nav-link.active {
    color: #48206E  ;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.tags{
    margin:0px;
    padding:0px;
}
.filter {
  font-size: 12px;
  cursor:pointer;
  background-color: #48206E;
  padding: 4px;
  display: inline-block;
  margin-top: 2px; /*incase tags go in next line, will space */
  color:#fff;
  /*background:#789;*/
  /*padding-right: 20px; /* adds space inside the tags for the 'x' button */
  border-radius: 3px;
  margin: 3px;
}
@media only screen and (max-width: 600px) {
    .nav-item .tab-link{
      font-size: 11px;
      padding: 0.3rem;
      margin: 0.1rem;
    }
    .button i{
        /* padding-top: 50%; /* 1:1 Aspect Ratio */
        line-height: 0.7rem;
    }
    .button{
      font-size: 0.8rem;
      line-height: 0.8rem;
      cursor:pointer;
      padding: 5px 8px;
    }
    .tag{
      font-size: 0.7rem;
      line-height: 0.7rem;
      cursor:pointer;
      padding: 3px 6px;
      max-width: 99%;
      /* white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis; */
      margin: 3px 0px 0px 0px;
    }

}
