@import "custom-variables/variables";
@import "../../bootstrap-4.0.0/scss/functions";
@import "../../bootstrap-4.0.0/scss/variables";
@import "../../bootstrap-4.0.0/scss/mixins";

@import "custom/sidebar-left";
@import "custom/pagination";
@import "custom/breadcrumbs";
@import "plugin/slick";

.top-news{
  .search-news{
    background: transparent;
    border: none;
    border-bottom: 1px solid #76ab97;
    color: $white !important;
    padding-left: 0;
    font-size: 14.5px;
    font-weight: 300;
  }
  input::-webkit-input-placeholder {
    color: $white;
    opacity: 0.9;
    font-weight: 300;
  }
  .input-group {
    position: relative;
  }
  .input-group-addon{
    color: #76ab97;
    border-bottom: 1px solid #76ab97;
  }
}

ul.news-list {
  li.item {
      box-shadow: 0 2px 10px 0 rgba(0,0,0,.04);
      @include clearfix;
   }
   .img_pane{
    max-width: 115px;
    float: left;
    @include media-breakpoint-down(xs) { width: 55px; }
   }
   .content{
    width: calc(100% - 115px);
    float: left;
    @include media-breakpoint-down(xs) { width: calc(100% - 55px); }
    h5 {
      a{
        color: $headings-color;
        @include media-breakpoint-down(md) { font-size: 16.5px; }
        &:hover {
          color: $primary;
        }
      }
    }
   }
}
.news-topics{
  @include media-breakpoint-down(md) {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  @include transition(all .5s cubic-bezier(0.165, 0.84, 0.44, 1));
  &.opened{
    opacity: 1;
    visibility: visible;
  }
 }
}
.news-navbtm {
  display: none;
  @include media-breakpoint-down(md) {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: $green;
    padding: 10px 0;
    z-index: 97;
    color: $white;
    text-align: center;
    font-weight: $font-weight-light;
    font-size: 16px;
  }
}

.close-topics{
  position: absolute;
  right: 15px;
  top: 17px;
  color: $white;
}

#news-slider{
  .slick-prev , .slick-next{
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 30px;
    cursor: pointer;
    z-index: 88;
    @include media-breakpoint-down(md) { font-size: 20px;}
  }
  .slick-prev{
    right: 40px;
    @include media-breakpoint-down(md) { right: 25px;}
  }
}
.current-news{
  .bg-secondary{
    background: #c8a278 !important;
  }
  a:focus {
    outline: none;
  }
}

.mx-10{
 @include media-breakpoint-down(sm) {   
  margin: 0 -10px !important;
 }
}
#news-slider:not(.slick-initialized){
 height: 208px;
 overflow: hidden;
}
.news-search{
  position: relative;
  &::after{
    position: absolute;
    right: 10px;
    top: 10px;
    content: "\e917";
    font-family: 'icomoon';
    z-index: 5;
    color: $light;
  }
  form {
    width: 100%;
  }
  #submitNewsText{
    position: absolute;
    right: 0;
    top: 0;
    content: "\e917";
    font-family: 'icomoon';
    font-size: 15px;
    color: transparent;
    background: transparent;
    border: none;
    text-align: right;
    z-index: 6;
  }
}