/*
 css file for sidebar
 layouts/partial/sidebar.html
 */

.topic {
  /* background-image setting */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  /* border */
  border: solid 1px #ddd;
  border-radius: 4px;
  /*box-sizing: border-box;*/

  /* box shadow */
  box-shadow: 0 0 5px #ccc;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 6px 7px 6px 7px;
  background-color:rgba(255,255,255,0.6);
  background-blend-mode:lighten;

}
.imgsize{
  width: 24vw;
  height: 18vw;
  /*border: solid 5px red; */
}
.bannersize{
  width: 24vw;
  padding-bottom: 25%;
/*  border: solid 5px blue;*/
}
.topic img{
  width: 100%;
  height: auto;
}

.topic:hover {
  filter:alpha(opacity=50);
  -ms-filter: "alpha(opacity=50)";
  -moz-opacity:0.5;
  -khtml-opacity: 0.5;
  cursor: pointer;
  background-color:rgba(180,180,180,0.3);
  box-shadow: 0 0 9px #bbb;
}

.topic a {
  display: block;
  font-family: serif;
}

.topic h1 {
  font-size: 16px;
  justify-content: center;
  text-align: center;

}

.topic h2 {
  font-size: 18px;
  color: #444;
  -webkit-align-items: center;
  align-items: center; 
  -webkit-justify-content: center; 
  justify-content: center; 
  text-align: center;
  margin: 10px 20px 10px 10px;

}


.topic_list {
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255,255,255,0.6);
  /*
  border: solid 8px hotpink;
  box-sizing: border-box;
  */
}

.topic_list-narrow {
  display: box;
  align: center;
  margin: 0 auto;
  width: 100vw;
  height: 105%;
  /*
  border: solid 4px orange;
  box-sizing: border-box;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  */
}

.slick-initialized .slick-slide{
  opacity: 0.4;
}

.slick-initialized .slick-slide.slick-active{
  opacity: 1;
  border: solid 1px #bbb;
  border-radius: 4px;
  box-shadow: 0 0 11px #ccc;
}



.slick-prev:before {
  color: #445;
  opacity: 0.5;
}

.slick-next:before {
  color: #445;
  opacity: 0.5;
  /*color: #348; */
}
