#overlay {
  background: none;
  display: block;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: background 0.5s ease;
}
body.panel #overlay { z-index: 9000; opacity: 1; background: rgba(0, 0, 0, 0.65); }

.cd-main-content {
  text-align: center;
}

.cd-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  -webkit-transition: visibility 0s 0.6s;
  -moz-transition: visibility 0s 0.6s;
  transition: visibility 0s 0.6s;
  z-index: 9999;
  color: #4f4f4f;
  letter-spacing: 0.5px;
}
.cd-panel.is-visible {
  visibility: visible;
  -webkit-transition: visibility 0s 0s;
  -moz-transition: visibility 0s 0s;
  transition: visibility 0s 0s;
}

.cd-panel-container h2 {
    font-size: 1.5em;
    margin: 0 0 40px 0;
    padding: 40px 20px 40px 40px;
    font-weight: 400;
    color: #404143;
    background: #f2efe8;
}
.cd-panel-container a { color: #2a53ab; }
.cd-panel-prev, .cd-panel-next { float: left; color: #2a53ab; background: #ffffff; font-weight: 600; display: block; cursor: pointer; line-height: 45px; width: 45px; text-align: center; margin-left: -45px;  }
.cd-panel-close { float: right; color: #2a53ab; font-weight: 600; display: block; cursor: pointer; padding: 0 15px; }
.cd-panel-container h3 {
    font-size: 1.5em;
    margin: 30px 0 0 0;
    padding: 10px 0;
    font-weight: 400;
    color: #404143;
}
.cd-panel-container h3 select {
    border: 0;
    cursor: pointer;
    padding: 0 25px 0 10px;
    background: url("../img/select.png") center right no-repeat;
    text-indent: 0.01px;
    text-overflow: "";
    *background-image:none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}
.cd-panel-container p strong { color: #556b88; }
ul#papers {
    margin: 15px 0;
    padding: 0;
    list-style-type: none;
}
ul#papers li { margin-bottom: 20px; }
ul#papers li a {
    background: url("../img/papers-li.png") 40px center no-repeat;
    background-size: 40px auto;
    display: block;
    border : 2px solid #f0efea;
    padding: 20px 30px 20px 120px;
    color: #464648;
}
ul#papers li a:hover { border : 2px solid #556b88; }
ul#papers li a span { display: block; margin-top: 10px; text-transform: uppercase; color: #9d9d9d; font-size: 0.9em; }


.cd-panel-container {
  position: fixed;
  width: 90%;
  height: 100%;
  overflow: auto;
  top: 0;
  background: #ffffff;
  z-index: 1;
  -webkit-overflow-scrolling: touch;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.from-right .cd-panel-container {
  right: 0;
  -webkit-transform: translate3d(100%, 0, 0);
  -moz-transform: translate3d(100%, 0, 0);
  -ms-transform: translate3d(100%, 0, 0);
  -o-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}
.from-left .cd-panel-container {
  left: 0;
  -webkit-transform: translate3d(-100%, 0, 0);
  -moz-transform: translate3d(-100%, 0, 0);
  -ms-transform: translate3d(-100%, 0, 0);
  -o-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}
.is-visible .cd-panel-container {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
}
@media only screen and (min-width: 1170px) {
  .cd-panel-container {
    width: 50%;
  }
}

.cd-panel-content {
  width: 100%;
  padding: 0 40px 20px 40px;
  /* smooth scrolling on touch devices */
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box; 
}

@media screen and (max-width: 640px) {
  .cd-panel-container {
    width: 100%;
  }
  .cd-panel-container h2 { margin-bottom: 20px; font-size: 1.2em; padding: 20px 10px 20px 20px; }
  .cd-panel-content {
    padding: 0 15px;
  }
  ul#papers li a {
    background-position: 15px center;
    padding: 20px 30px 20px 70px;
  }
}