.search-bar{
  border-bottom: 1px solid #f2f2f2;
  margin-bottom: 1rem;
}

.search-input{
  display: inline-block !important;
  width: auto;
}

.search-button{
  padding: 3px 61px;
}

.search-dropdown{
  z-index: 1;
  white-space: nowrap;
}

.ad-date{
  font-size: 1.1rem;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0.25, rgb(238, 238, 238)), color-stop(0.75, rgb(255, 255, 255)));
  padding: 4px 10px;
  font-family: arial;
}

.ad-list{
  margin: 0;
  padding: 0;
  color: #000;
  list-style-type: none;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 576px) {
  .ad-list{
    display: block;
  }
}

.thumbnail-wrapper{
  display: block;
  position: relative;
  margin-bottom: 5px;
  overflow: hidden;
  transition: 0.3s;
  background-color: #fff;
}

.thumbnail-container{
  list-style: none;
  margin: 0;
  padding: 0;
  transition: 0.3s;
}

.thumbnail-item{
  text-align: center;
  float: left;
  width: 100%;
}

.thumbnail-item img{
  max-width: 100%;
  max-height: 100%;
}

@media (min-width: 577px) {
  .ad-list-item{
    width: 200px;
    margin: 0 18px 50px;
  }

  .thumbnail-wrapper{
    width: 200px;
    height: 200px;
  }

  .thumbnail-wrapper:hover{
    transform: scale(1.25, 1.25);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
  }

  .thumbnail-container{
    position: absolute;
    top: 0;
    left: 0;
    /* height: 100%; */
  }

  .thumbnail-item{
    width: 200px;
    height: 200px;
    line-height: 200px;
  }
}


.video-icon{
  display: inline-block;
  padding: 0 2px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  line-height: 0.9;
}

.post-date{
  font-size: 10px;
  color: #bbb;
  display: block;
}

@media (max-width: 576px) {
  .ad-list-item{
    width: auto;
    margin-bottom: 10px;
  }

  .thumbnail-container img{
    width: 100%;
  }
}

.ad-list-item a{
  word-break: break-word;
}

.ad-list-item a:visited{
  color: #0000ff;
}

.sponsor-list{
  float: right;
  width: 200px;
  padding: 0;
  list-style: none;
}

.sponsor-list .sponsor-item{
  margin-bottom: 10px;
  background-color: rgb(250, 250, 210);
  color: rgb(0, 0, 0);
  padding: 0px;
  border: 1px solid rgb(233, 233, 58);
  border-image: initial;
  font: 9pt arial;
}

.sponsor-content{
  margin: 5px;
  word-break: break-word;
}

.sponsor-content a:link{
  color: rgb(0, 0, 255);
  font: 11pt arial;
}

.sponsor-content a:visited {
  color: rgb(153, 0, 153);
  font: 11pt arial;
}

.sponsor-content a:hover {
  text-decoration: underline;
}

.sponsor-item-image{
  border: 1px solid rgb(0, 0, 255);
  max-width: 60px;
  max-height: 45px;
}

.sponsor-list-bottom{
  margin: 0;
  padding: 6px;
  background: rgb(227, 233, 242);
  list-style: none;
}

.sponsor-list-bottom .sponsor-item{
  margin-bottom: 10px;
  color: rgb(0, 0, 0);
  padding: 0px;
  border-bottom: 1px solid #ccc;
  font: 9pt arial;
}

.sponsor-image-list{
  margin: 5px;
  padding: 0;
  list-style: none;
}

.sponsor-image-item{
  display: inline-block;
  vertical-align: bottom;
}

.sponsor-image-item:last-child{
  margin-right: 0;
}

.sponsor-list-bottom .sponsor-image-list{
  float: right;
}

.region-list{
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.region-item{
  margin: 0;
  padding: 0;
  display: inline;
}

.region-item + .region-item::before{
  content: "|";
}

.region-item a{
  text-decoration: underline;
}