/****************************** 

Algolia Styles

******************************/

/* Hits Per Page */

#hits-mobile {
  display: none;
}

.ais-HitsPerPage-select {
  margin-left: 0 !important;
}

/* End Hits Per Page */

/* RefinementList */

.ais-RefinementList-item {
  padding-top: 20px;
  border-bottom: 3px solid transparent;
}

.ais-RefinementList-item--selected {
  padding-bottom: 5px;
  border-bottom: 3px solid #005596;
}

.ais-RefinementList-item:hover{
  border-bottom: 3px solid #005596;
}

.ais-RefinementList-labelText {
  padding: 10px;
}

.ais-RefinementList-count {
  padding: 0 3px;
  outline: 1px solid black;
}

/* End RefinementList */

/* Search */

.ais-SearchBox-input {
  width: 100%;
  font-size: 16px;
  border: none;
  outline: none;
  box-shadow: none;
  background-color: #ffffff;
  font-family: 'Poppins', sans-serif;
  color: #323232;
}

.ais-SearchBox-submitIcon {
  display: none;
}

.ais-SearchBox-reset {
  display: none;
}

/* End Search */

/* Pagination */

.ais-Pagination {
  justify-content: flex-end;
}

.ais-Pagination-list {
  justify-content: flex-end;
}

.ais-Pagination-item--previousPage,
.ais-Pagination-item--nextPage {
  padding: 10px;
  margin-left: 5px;
  margin-right: 5px;
}

.ais-Pagination-item--page {
  padding: 20px;
  margin-left: 5px;
  margin-right: 5px;
} 

.ais-Pagination-item--selected {
  background-color: #EFEFEF;
}

/* End Pagination */

/* Sort */

.ais-SortBy-select {
  margin-left: 0 !important;
}

/* End Sort */

.ais-Hits-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
  margin: 0;
}

.ais-Hits-item {
  width: 100%;
}

/****************************** 

Article Feed

******************************/

.article-feed {
  padding-top: 30px;
  padding-bottom: 30px;
}

.article-feed .section-header-blog {
  background-color: #005596;
  color: white;
  text-align: center;
}

.af-main-container {
  display: flex;
}

.top-nav-articles-container {
  width: 70%;
}

.af-articles-container {
  display: flex;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 50px;
  justify-content: space-around;
}

/* Sidebar */

.sidebar-filter,
.mobile-sidebar-filter {
  display: flex;
  flex-direction: column;
  width: 25%;
  margin-right: 50px;
}

.sf-category {
  position: sticky;
  top: 50px;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: solid 1px #E6E9EB;
}

/* End Sidebar */

/* Top Nav */

.search-bar-container {
  display: flex;
  max-width: 100%;
  justify-content: flex-end;
  border: 1px solid rgba(50, 50, 50, 0.4);
  padding: 10px !important;
}

.sort-paging-container {
  display: flex;
  width: 100%;
  padding-top: 20px;
  align-items: center;
}

/* Mobile Menu */

.btn-filter-toggle {
  display: none;
}

#outside-mobile-filter-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
}

.af-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #F4F7F9;
  border: 1px solid #E6E9EB;
  z-index: 2;
  padding: 40px;
}

.mobile-sidebar-filter {
  width: 70%
}

.btn-back {
  padding: 10px;
}

/* End Mobile Menu */

/****************************** 

Search

******************************/

/* Search bar */


.search-bar-input {
  width: 90%;
  padding: 10px;
  padding-left: 30px;
  font-size: 16px;
}

.search-bar-submit {
  width: 10%;
  padding-right: 0 !important
}

/* End Search Bar */

/* Article Long Card */

.article-long-card {
  display: flex;
  margin-top: 20px;
  outline: 2px solid #EFEFEF;
  width: 100%;
  max-height: 330px;
}

.article-long-card:hover {
  outline: 5px solid #005596;
}

.alc-link {
  display: flex;
}

.alc-header {
  width: 100%;
}

.alc-image-wrapper {
  text-align: center;
  justify-content: center;
  object-fit: cover;
}

.alc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 225px;
  max-height: 330px;
}

.alc-summary-social-container {
  width: 70%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  padding-left: 20px;
}

.alc-summary-social-container hr {
  margin: 10px 0;
}

.alc-author-date-container {
  display: flex;
  padding-top: 10px;
}

.alc-author {
  /* padding-right: 10px; */
}

.alc-summary {
  padding: 10px 0;
  /* max-height: 110px; */
  overflow: hidden;
}

.alc-social {
  padding-top: 10px;
  padding-left: 0 !important;
  padding-bottom: 0 !important;
}

/* End Article Long Card */

/* End Article Feed */

/********************* Media Queries **********************/

/*************** Smaller Screens and Lower *******************/

@media only screen and 
(max-width: 1100px) {

  .ais-SortBy-select {
    font-weight: bold;
  }

.search-bar-container {
  display: flex !important;
}

.sort {
  display: flex;
  justify-content: flex-end !important;
}

.sidebar-filter {
  display: none;
}

.top-nav-articles-container {
  width: 100%;
}

.sort-paging-container {
  width: 100%;
  justify-content: space-between;
}

.btn-filter-toggle {
  display: block;
}

.hits-per-page-bottom {
  display: none;
}

.paging-bottom {
  width: 100% !important;
  justify-content: center !important;
}

}

/* Smaller Screens */

@media only screen and 
(max-width: 1100px) and
(min-width: 850px) {

}

/* Tablet */

@media only screen and 
(max-width: 850px) and
(min-width: 451px) {

  .af-mobile-menu {
    width: 60%;
  }

}

/* Mobile */

@media only screen and (max-width: 450px) {

  #hits {
    display: none;
  }

  #hits-mobile {
    display: flex;
  }

  .af-mobile-menu {
    width: 100%;
  }

}