.test {
  background-color: red;
}

.no-display {
  display: none;
}

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

Default Tags 

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

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #323232;
}

h1 {
  font-weight: 800;
  letter-spacing: 0.05em;
}

a {
  text-decoration: none;
  color: #323232;
}

a:hover {
  color: #323232;
}

p {
  /* color: #323232; */
  font-family: poppins,sans-serif;font-family: poppins,sans-serif !important;
  font-size: 1.5em !important;
}

blockquote {
  font-size: 1.5em !important;
}

ul {
  list-style-type: none;
}

hr {
  background: #E6E9EB;
  opacity: 0.4;
}

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

Headers

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

.page-header {
  font-weight: 800;
  font-size: 48px;
  letter-spacing: 0.05em;
}

.section-header-blog {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.subsection-header {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
}

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

Containers

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

.content-container {
  padding-left: 5%;
  padding-right: 5%;
}

.flex-container {
  display: flex;
}

.flex-1 {
  flex-grow: 1
}

.flex-3 {
  flex-grow: 3
}

.flex-5 {
  flex-grow: 5
}

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

Search

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

/* Search bar */

.search-bar-container {
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
}

.search-bar-input, 
.search-bar-input:hover,
.search-bar-input:active,
.search-bar-input:focus,
.search-bar-submit, 
.search-bar-submit:hover,
.search-bar-submit:active,
.search-bar-submit:focus {
  border: none;
  outline: none;
  box-shadow: none;
  background-color: #ffffff;
}

.search-bar {
  width: 100%;
}

.search-bar:hover {
  outline: solid 2px #323232;
}
.search-bar:focus {
  outline: solid 2px #005596;
}
.search-bar:active {
  outline: solid 2px #323232;
}

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

.search-bar-submit {
  width: 10%;
  font-size: 16px;
  padding-right: 20px;
}

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

Articles

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

.articles {
  display: flex;
  justify-content: center;
}

.article-card { 
  display: flex;
  flex-direction: column;
  border: 2px solid #EFEFEF;
  margin-top: 25px;
  min-width: 250px !important;
}

.article-card:hover {
  border: 2px solid #005596;
}

.ac-thumbnail {
  width: 100%;
  object-fit: cover;
  max-height: 200px;
}

.ac-desc {
  padding: 20px;
}

.ac-author-date {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 20px;
  padding-top: 10px;
}

.ac-author-date p {
  padding-right: 10px;
  opacity: 0.6;
}

.ac-social {
  display: flex;
  margin-top: auto;
}

.ac-social a {
  padding-right: 10px;
}

.ac-social-icons {
  width: 50%;
}

.ac-social-icons img {
  padding-right: 10px;
}

.ac-comments {
  width: 100%;
  text-align: left;
  /* background-color: #005596; */
  /* color: #ffffff; */
  color: #005596;
  border-radius: 5px;
  padding: 5px 0 5px 0;
}

.view-articles-link {
  text-align: center;
  padding-top: 50px;
}

.view-articles-link a {
  color: #005596;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.05em;
}

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

Newsletter Signup

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

/* Newsletter Signup bar  */

.newsletter-signup-bar-container {
  display: flex;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  justify-content: center;
}

.newsletter-signup-bar {
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding-left: 30px;
}

.nsb-input {
  border: solid 1px rgba(50, 50, 50, 40%);
  border-right: none;
  width: 90%;
  padding: 10px;
  font-size: 14px;
  line-height: 21px;
  height: 28px;
  max-height: 28px;   /* With padding/border it adds up to 50px */
}

.nsb-input:hover,
.nsb-input:active {
  border: solid 1px #323232;
}

.nsb-input:focus {
  border: solid 1px #005596;
}

.nsb-input::placeholder {
  font-family: 'Poppins', sans-serif;
  color: #323232;
  opacity: 40%;
}

.nsb-submit {
  text-align: center;
  border: solid 1px #005596;
  background-color: #005596;
  width: 40%;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
  letter-spacing: 0.05em;
  height: 50px;
  max-height: 50px;
}

.nsb-submit:hover {
  background: linear-gradient(0deg, 
    rgba(255, 255, 255, 0.2), 
    rgba(255, 255, 255, 0.2)), 
    #005596;
  mix-blend-mode: normal;
}

.nsb-submit:active {
  background: linear-gradient(0deg, 
    rgba(255, 255, 255, 0.3), 
    rgba(255, 255, 255, 0.3)), 
    #005596;
  mix-blend-mode: normal;
}

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

Top Nav

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

.filter-button {
  display: none;
}

.btn-filter-toggle {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: bold;
  letter-spacing: 0.05em;

  padding: 15px 20px 15px 20px;
  background-color: #EFEFEF;
  border: none;
}

.top-nav {
  display: flex;
  padding-top: 30px;
}

.sort {
  width: 50%;
  justify-content: flex-start;
}

.sort select {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 150%;

  padding: 15px 50px 15px 20px;
  margin-left: 30px;
  background-color: #EFEFEF;
  border: none;
  
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;

  background-color: #EFEFEF;
  background-image: url(https://kencove.com/c/assets/images/plp/select-arrow.svg);
  background-position:
    calc(100% - 20px) calc(1.2em + 2px),
    calc(100% - 15px) calc(1.2em + 2px),
    100% 0;
  background-size: 8px;
  background-repeat: no-repeat;

}

.paging,
.paging-bottom {
  display: flex;
  width: 50%;
  justify-content: flex-end;
  align-items: center;

  /* flex-grow: auto; */
  /* margin-right: 10%; */
}

ul.page-numbers {
  list-style-type: none;
  display: flex;
}

ul.page-numbers li {
  padding: 20px;
  margin-left: 5px;
  margin-right: 5px;
}

li.current-page {
  background-color: #EFEFEF;
}


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

Bottom Nav

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

.bottom-nav {
  display: flex;
  padding-top: 30px;
}

.items-per-page {
  display: flex;
  width: 50%;
  justify-content: flex-start;
  align-items: center;
}

.items-per-page p {
  padding-right: 40px;
  color: #969696;
}

ul.page-item-amount {
  list-style-type: none;
  display: flex;
}

ul.page-item-amount li {
  padding: 20px;
  margin-left: 5px;
  margin-right: 5px;
}

li.current-amount {
  background-color: #EFEFEF;
}

.bottom-nav-mobile {
  display: none;
}

.btn-prev {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: bold;
  letter-spacing: 0.05em;

  padding: 15px 20px 15px 20px;
  background-color: #EFEFEF;
  border: none;
}

.btn-next {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: bold;
  letter-spacing: 0.05em;

  padding: 15px 20px 15px 20px;
  background-color: #EFEFEF;
  border: none;
}

.bn-page-select select {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: bold;

  padding: 15px 80px 15px 30px;
  margin-right: 10px;
  background-color: #EFEFEF;
  border: none;
  
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;

  background-color: #EFEFEF;
  background-image: url("/assets/plp/select-arrow.svg");
  background-position:
    calc(100% - 20px) calc(1.2em + 2px),
    calc(100% - 15px) calc(1.2em + 2px),
    100% 0;
  background-size: 8px;
  background-repeat: no-repeat;

}

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

Buttons

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

.btn-back {
  color: #005596;
  border: none;
  background-color: transparent;
  font-family: Poppins;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin: 10px;
  padding: 2px;
}

.btn-back:hover {
  color: #194363;
  background: linear-gradient(0deg, rgba(0, 85, 150, 0.15), rgba(0, 85, 150, 0.15)), #FFFFFF;
  outline: 2px solid #575858;
}

.ml-button-horizontal button {
  min-width: 100px;
}

.ml-field-email input {
  width: 250px;
}

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

/******************* Larger Screens ***********************/

@media only screen and (min-width: 1920px) {

  .content-container {
    padding-left: 15%;
    padding-right: 15%;
  }

}

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

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

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

  Algolia Styles

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

  /* Sort */

  .ais-SortBy-select {
    justify-content: flex-end;
  }

  ais-sort-by.sort {
    justify-content: flex-end;
  }

  /* End Sort */

  /* top nav */

  .paging {
    display: none;
  }

  .filter-button {
    display: flex;
    width: 50%;
    justify-content: flex-start;
  }

  .sort {
    width: 50%;
    text-align: end;
  }

  /* bottom nav */

  .bottom-nav {
    display: none;
  }

  .bottom-nav-mobile{
    display: flex;
  }

  .newsletter-signup-bar {
    padding-left: 0;
  }

  .newsletter-signup-bar-container {
    width: 100%;
  }

  .newsletter-signup-container {
    width: 100%;
  }

}

/********************* 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) {

  .page-header {
    font-size: 48px;
  }

  .content-container {
    padding-left: 3%;
    padding-right: 3%;
  }

  .section-header-blog {
    font-size: 30px;
    margin-bottom: 30px;
  }

  /* Newsletter Signup */

  .newsletter-signup-bar-container {
    width: 100%;
  }

  .newsletter-signup-container {
    width: 100%;
  }
  
  .newsletter-signup { 
    width: 100%;
  }
  
  .newsletter-signup-input {
    width: 60%;
    padding-left: 0;
  }
  
  .newsletter-signup-submit {
    width: 40%; 
  }

  .nsb-submit {
    font-size: 14px;
  }

  /* top nav */

  .sort label {
    display: none;
  }

  .sort select {
    font-weight: bold;
  }

}

/************************* Mobile **************************/

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

  .page-header {
    font-size: 36px;
  }

  .content-container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .section-header-blog {
    font-size: 24px;
    margin-bottom: 20px;
  }

  /* Newsletter Signup */

  .newsletter-signup-bar { 
    flex-direction: column;
  }
  
  .nsb-input {
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    border: solid 1px rgba(50, 50, 50, 40%);
  }
  
  .nsb-submit {
    width: 100%;
    margin-top: 20px;
  }

}