
.donk, .pubabstract {
  margin: auto;
  max-width: 900px;
}

h2, .toggle {
  text-align: center;
}

.pub {
  width: 100%;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
  margin-bottom: 20px;
  cursor: default;
}

.gametheory {
  border-left: 3px solid orange;
}

.dynamicalgorithm {
  border-left: 3px solid blue;
}

.differentialprivacy {
  border-left: 3px solid purple;
}


.pub:hover {
  box-shadow: 0 5px 10px 0 rgba(0,0,0,0.2);
}

.pubcontainer:hover .pubtitle {
    padding: 0px 0px 0px 8px;
}

.pubtitle {
    font-family: Helvetica;
    font-weight: unset;
    font-size: 20px;
    transition: padding 0.5s ease;
}

.pubcontainer {
  position: relative;
  padding: 2px 16px 20px 16px;
  background-color: #fafafa;
}

.pubabstract {
  line-height: 1.42;
  font-family: 'Lato', sans-serif;
  background-color: #f1f1f1;
  display: none;
  padding: 20px 16px;
  font-size: 16px;
  border-left: 6px solid darkgrey;
}

.pubbuttons {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 5px 12px;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 2px solid #dddddd;
  border-left: 2px solid #dddddd;
  border-radius: 0px 0px 0px 5px;
  background-color: #eeeeee;
}

.pubbuttons a{
  font-family: Verdana;
  color: #de6666;
}

.pubbuttons .arXiv {
    display: none;
}

.pubbuttons:hover .X {
    display: none;
}

.pubbuttons:hover .arXiv {
    display: inline;
}

.pubbuttons a {
  text-decoration: none;
}

.pubauthors {
  overflow: hidden;
  width:100%;
  padding-left: 5px;
}

.pubauthors a {
    text-decoration: none;
    color: inherit;
}

.chip {
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  transition: all .2s;
  float: left;
  display: block;
  padding: 0px 15px 0px 15px;
  /* padding: 0px 15px 0px 25px; */
  height: 40px;
  font-size: 15px;
  line-height: 43px;
  border-radius: 15px;
  background-color: #f1f1f1;
  margin-right: 20px;
  margin-bottom: 10px;
}

/* .chip img { */
/*   float: left; */
/*   margin: 0 10px 0 -25px; */
/*   height: 40px; */
/*   width: 40px; */
/*   border-radius: 50%; */
/* } */

.chip img {
  margin: 0 10px 0 -25px;
  border-radius: 50%;
  float: left;
  width: 40px;
  height: 40px;
  display: none;
}

.chip:hover {
  /* padding: 0px 18px 0px 25px; */
  padding: 0px 18px 0px 15px;
  margin-right: 17px;
  margin-left: 3px;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  position: absolute;
  border-radius: 50%;
}

@media (max-width: 700px) {
    .pubtitle {
        font-size: 0.9rem;
    }

    .chip {
        font-size: 0.9rem;
        line-height: 6vw;
        height: 6vw;
        padding: 0 2vw;
    }

    .chip img {
        width: 6vw;
        height: 6vw;
    }

    .pubabstract {
        font-size: 0.8rem;
    }
}
