/* Specific - knowledgebase Listing Pages */
.header-wrapper {
  padding-bottom: 30px;
}

body.headerless .header {
  margin: 0 auto;
  max-width: 960px;
}

body.headerless .header::before {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("/img/new/knowledgebase/kb-list-icon-speaker.svg") bottom left no-repeat;
  content: '';
}

html.dark body.headerless .header::before {
  background-image: url("/img/new/knowledgebase/kb-list-icon-speaker-dark-mode.svg");
}

@media (min-width: 320px) and (max-width: 767px) {
  body.headerless .header::before {
    display: none;
  }
}

body.headerless .header::after {
  position: absolute;
  bottom: 25px;
  right: 0;
  width: 100%;
  height: 107px;
  background: url("/img/new/knowledgebase/kb-list-icon-bubbles.svg") bottom right no-repeat;
  content: '';
}

html.dark body.headerless .header::after {
  background-image: url("/img/new/knowledgebase/kb-list-icon-bubbles-dark-mode.svg");
}

@media (min-width: 320px) and (max-width: 767px) {
  body.headerless .header::after {
    display: none;
  }
}

body.headerless .header .header-title {
  position: relative;
  width: 100%;
  margin-top: 50px;
  padding: 0 10px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 60px;
  text-align: center;
  z-index: 2;
}

@media (min-width: 320px) and (max-width: 767px) {
  body.headerless .header .header-title {
    margin-top: 60px;
  }
}

body.headerless .header .header-subtitle {
  margin-top: 20px;
  max-width: 280px;
  z-index: 2;
}

body.headerless .header .hspacer {
  position: relative;
  margin-top: 10px;
  width: 80px;
  height: 1px;
  z-index: 2;
}

@media (min-width: 320px) and (max-width: 767px) {
  .navbar-wrapper .nav-top {
    background: #1a2e34;
  }
}

.section-title {
  padding: 15px 0 10px 10px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  border-bottom: 1px solid #ccc;
}

html.dark .section-title {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.article-container {
  margin-bottom: 30px;
}

.article-container h3 {
  margin-top: 0;
  padding: 10px 10px 0;
}

@media (min-width: 320px) and (max-width: 767px) {
  .article-container h3 {
    padding-left: 0;
    padding-right: 0;
  }
}

.article-container h3 a {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  color: #000;
}

html.dark .article-container h3 a {
  color: #fff;
}

.article-container h3 a:hover {
  opacity: 1;
  color: #5975E4;
}

html.dark .article-container h3 a:hover {
  color: #5975E4;
}

.article-container .info-date {
  margin: 0;
  padding: 10px 10px 20px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 400;
  opacity: .6;
}

@media (min-width: 320px) and (max-width: 767px) {
  .article-container .info-date {
    padding-left: 0;
    padding-right: 0;
  }
}

.article-container .snippet {
  display: block;
  display: -webkit-box;
  margin: 0;
  max-height: 78px;
  padding: 0 10px;
  overflow: hidden;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

@media (min-width: 320px) and (max-width: 767px) {
  .article-container .snippet {
    padding-left: 0;
    padding-right: 0;
  }
}

.article-container .article-link {
  padding: 20px 10px;
  border: none;
  color: #D021AE;
}

@media (min-width: 320px) and (max-width: 767px) {
  .article-container .article-link {
    padding-left: 0;
    padding-right: 0;
  }
}

.main-wrapper {
  padding-bottom: 60px;
}

@media (min-width: 320px) and (max-width: 767px) {
  .main-wrapper {
    padding: 0 20px;
  }
}

.main-wrapper .container {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 960px;
}

@media (min-width: 320px) and (max-width: 767px) {
  .main-wrapper .container {
    max-width: 100%;
    padding: 0px 0px 30px 0;
  }
}

.main-wrapper .container .articles-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.main-wrapper .container .articles-list .section-title {
  min-width: 100%;
  max-width: 100%;
}

.main-wrapper .container .articles-list .article-container {
  min-width: 460px;
  max-width: 460px;
}

@media (min-width: 320px) and (max-width: 767px) {
  .main-wrapper .container .articles-list .article-container {
    min-width: 100%;
  }
}

.main-wrapper .container .articles-list.recent-articles-list {
  margin-top: 10px;
}

.main-wrapper .container .articles-list.recent-articles-list .article-container .info-date {
  padding-top: 5px;
  padding-bottom: 10px;
}

.main-wrapper .container .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-wrapper .container .pagination .button-pagination {
  min-width: 180px;
  border-width: 2px;
}

.main-wrapper .container .pagination .button-pagination:hover {
  background-color: #dc6060;
  color: #fff;
}

.main-wrapper .container .pagination .button-pagination:first-child:not(:last-child) {
  margin-right: 10px;
}

/* START Search */
body.documentation-home .documentation-search,
body.documentation-search-results .documentation-search {
  margin: 0 auto;
  margin-bottom: 20px;
}

body.documentation-home .documentation-search {
  margin-top: 20px;
}

.documentation-search.two-lines {
  margin-top: 15px;
}

body:not(.documentation-home):not(.documentation-search-results) .documentation-search {
  float: right;
  width: 250px;
  right: calc((100% - 960px) / 2);
}

.documentation-search {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.documentation-search input {
  width: 100%;
  padding: 10px 15px 10px 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #666;
  transition: opacity .2s ease-out , padding .2s ease-out;
}

html.dark .documentation-search input {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
}

.documentation-search input::placeholder {
  color: #666;
  transition: all .2s ease-out;
}

html.dark .documentation-search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.documentation-search input:focus {
  border: 1px solid #5975E4;
  outline: none;
  padding-left: 10px;
}

html.dark .documentation-search input:focus {
  border-color: #5975E4;
}

.documentation-search input:focus::placeholder {
  color: #ccc;
}

html.dark .documentation-search input:focus::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.documentation-search button {
  position: absolute;
  top: 2px;
  right: 14px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  z-index: 2;
  transform: rotate(-45deg);
}

.documentation-search button::before {
  display: block;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid #559eb9;
  border-radius: 6px;
  content: "";
}

.documentation-search button::after {
  display: block;
  margin: 0 auto;
  width: 2px;
  height: 6px;
  background-color: #559eb9;
  border-radius: 0 0 1px 1px;
  content: "";
}

/* END Search */
