.forum-topic-select-container {
  display: none
}

.select2-container {
  width: 500px;
  max-width: 100%
}

.select2-dropdown {
  border: 2px solid #ddd!important;
  border-radius: 10px!important
}

body.forum .select2-container-inline .select2-container--default .select2-selection--single {
  height: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%!important;
  width: 30px!important
}

.rec-count {
  height: 22px;
  width: 22px;
  min-width: auto!important;
  padding: 0!important;
  vertical-align: middle;
  line-height: 23px!important;
  font-size: 11px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.5 !important;
  text-align: left;
  font-size: .9rem
}

.select2-results__option {
  padding: .7rem 1rem!important;
  border-radius: 10px!important;
  height: auto
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  display: inline-block;
  width: 100%;
  background-color: #f7f3f3;
  color: #212529;
}

.badge-primary {
  background-color: #212529!important
}

.badge-secondary {
}

.badge-secondary2 {
  background-color: #343a40!important;
  color: #fff!important
}

.select2-results__option--selectable {
  line-height: 1.3rem!important;
  font-size: .9rem;
  display: inline-block;
  width: 100%
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ddd!important;
  border-radius: 5px!important;
  padding: .4rem 1rem!important;
  height: auto!important;
  font-size: 14px;
  line-height: 16px!important;
  background-color: #fdfbfb
}

.select2-search--dropdown {
  padding: 10px!important
}

.select-text-container {
  max-width: 90%;
  overflow: hidden
}

.submit_button_forum {
  line-height: normal;
}

.select2-container--default .select2-results__option--selected {
  background-color: #f7f3f3 !important;
}

@media only screen and (min-width: 768px) {
  .select2-container-inline .select2-container--default .select2-selection--single {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right-width: 0 !important;    
  }
}

@media only screen and (max-width: 767px) {
  .forum_date,.forum_author,.forum_date span,.forum_author span {
      font-size:.8rem!important;
      line-height: 1rem
  }

  .forum-button-container button {
      margin: 0!important;
      display: inline-block
  }

  .forum-topics-container.pr-5 {
      padding-right: 15px!important
  }

  .forum-topics-container .mb-5 {
      margin-bottom: 15px!important
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
      max-height: 1.4rem
  }

  .select2-container {
      width: 100%!important
  }

  body.forum .select2-container-inline .select2-container--default .select2-selection--single {
    margin-bottom: 15px;
    height: auto !important;
  }

  .forum-search-select2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 70%!important;
  }
}