@import url("https://fonts.googleapis.com/css?family=Montserrat");

html {
  font-family: Montserrat;
  margin: 20px;
}

body {
  margin: 0;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
  font-weight: bold;
}

h2 {
  font-size: 24px !important;
  line-height: 40px !important;
}

h3 {
  font-size: 18px !important;
  line-height: 40px !important;
}

h4 {
  font-size: 14px !important;
  line-height: 20px !important;
}

h5 {
  font-size: 12px !important;
  line-height: 20px !important;
}

h6 {
  font-size: 10px !important;
  line-height: 20px !important;
}

a {
  text-decoration: none !important;
}
a:visited {
  text-decoration: none !important;
  color: #0069b6;
}

a:hover {
  text-decoration: none !important;
}

main {
  display: flex;
  margin: 25px 0;
}

.results-label {
  color: #878798;
  font-weight: bold;
}

footer {
  text-align: center;
}

.ais-SearchBox {
  width: 100% !important;
}

.ais-SearchBox-form {
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1rem;
  height: 3rem;
  line-height: 1.25rem;
  position: relative;
  width: 100%;
}

.ais-SearchBox-input {
  background-color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid #999999 !important;
}

.ais-SearchBox-input:focus {
  border: none;
  box-shadow: none !important;
  outline: medium none currentcolor;
}

.ais-Pagination {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  width: 100%;
}

.results {
  display: flex;
  align-items: center;
}

.hit {
  display: flex;
  align-items: baseline;
  /* border: solid 1px #d1d1d1; */
  margin: 0;
  padding: 0;
  box-shadow: 2px 2px 2px 1px rgba(133, 133, 133, 0.2);
}

.hit-actions {
  display: flex;
  margin-right: 10px;
}

.hit-content {
  margin-left: 10px;
  vertical-align: text-top;
  width: 100%;
}

h4.article-category {
  text-transform: uppercase;
  line-height: 20px !important;
  margin: 0;
  padding: 0;
  color: #000000;
}

h4.article-heading {
  font-size: 14px;
  margin: 0;
  padding: 0;
  color: #012d70;
  font-weight: bold;
}

.hit-type {
  text-transform: uppercase;
  color: #000000;
  font-size: 13px;
  font-weight: bold;
  padding-top: 5px;
  padding-bottom: 5px;
}

.hit-description {
  color: #012d70;
  padding-bottom: 10px;
}
.copy-button {
   background:#ffc107;
   border:none;
   border-radius:6px;
   padding-left:8px;
   padding-right:8px;
   padding-top:5px;
   padding-bottom:5px;
   color:#212529;
   cursor: pointer;
   font-size: .7rem;
}
.copy-button:hover{
  background:#e3c136;
}
.hit-picture img {
  border-radius: 8px 0 0 8px;
  display: inline;
  min-width: 100px;
  min-height: 100px;
  height: 100%;
  width: 100%;
  margin: 0 12px 0 0;
  object-fit: cover;
  overflow: hidden;
  vertical-align: text-top;
}

.no-image {
  border: solid 1px #e1e1e1;
  height: 100px;
  width: 100px;
}

.hit-actions {
  padding: 5px;
}

.hit-tags {
  position: relative;
}

.hit-actions .button {
  background-color: white;
  color: #d1d1d1;
  padding: 0;
  border-width: 0;
  border-style: outset;
  border-color: none;
  cursor: copy !important;
}

.ais-Hits {
  margin: 0px !important;
  padding: 0px !important;
}
ul.ais-Hits-list {
  margin: 0px !important;
  padding: 0px !important;
}

.ais-Hits-item,
.ais-InfiniteHits-item {
  margin: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 20px;
  display: flow-root;
}

.ais-Highlight-highlighted,
.ais-Snippet-highlighted {
  background-color: rgba(50, 74, 255, 0.2);
  color: #5468ff;
  font-style: normal;
}

/* To control Pagination */
.ais-No-Pagination {
  display: none !important;
}
