/*
Theme Name:   DNSStuff
Author: SolarWinds WEBDEV team
Version: 1.0
Template: sw-global
*/

html {
  min-height: 100vh;
}

body {
  background-color: #fff;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  margin: 0;
  min-height: 100vh;

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
    padding: 0;
  }

  a {
    text-decoration: none;
  }

  button {
    outline: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-size-adjust: none;
  }

  ul {
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }

  .grid-container {
    margin: 0;
    padding: 0;
    max-width: none;
  }
  &.category .grid-container {
    margin: 0;
    padding: 0;
    max-width: none;
  }
}

.sw-wrapper {
  max-width: 1280px;
  padding: 0 2rem;
  box-sizing: border-box;
  margin: 0 auto;

  * {
    box-sizing: inherit;
  }

  @media (max-width: 1024px) {
    padding: 0 1.5rem;
  }
}

#promotion_boxes {
  width: 100%;
  white-space: nowrap;
  margin: 0 auto 0 auto;
  line-height: 0em;
  position: relative;
}
#promo_1 {
  position: absolute;
  left: 0;
  z-index: 1;
}
#promo_2 {
}
#promo_3 {
  position: absolute;
  right: 0;
  top: 0;
}
@media (min-width: 1100px) {
  #mobile-header {
    display: none;
  }
  #promotion_boxes,
  #promo_1,
  #promo_3 {
    display: block;
    background-color: #ffffff;
    min-height: 200px;
  }
  #promo_2 {
    position: relative;
    z-index: 50;
    max-width: 1130px;
    width: 100%;
    margin: 0 auto;
    top: 60px;
  }
}

@media (max-width: 1099px) {
  #mobile-header {
    display: block;
    padding-top: 30px;
    padding-bottom: 10px;
  }
  #promotion_boxes,
  #promo_1,
  #promo_2,
  #promo_3 {
    display: none;
  }
}

#navmenu li {
  float: left;
  display: inline;
  list-style: none;
  padding: 0px;
  margin-top: -6px;
  font-size: 10px;
}

.pis-li {
  margin-bottom: 10px;
}
#snippet-box {
  display: none !important;
}
.rp4wp-related-posts {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.rp4wp-related-posts {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}
article .contributor__block {
  border-top: 1px solid #ccc;
  padding: 25px 0 0 0;
  margin-top: 25px;
}

article .contributor__block .contributor {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}
article .contributor__block .contributor:first-child {
  margin-top: 0;
}
article .contributor__block .contributor div:first-child {
  flex-basis: 80px;
}
article .contributor__block .contributor div:first-child .default__avatar {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
  background-color: #ccc;
  border-radius: 50%;
  margin: auto;
}
article .contributor__block .contributor div:first-child img {
  max-width: 62px;
  max-height: 62px;
  border-radius: 50%;
}
article .contributor__block .contributor div:last-child {
  flex-basis: calc(100% - 80px);
}
article .contributor__block .contributor div:last-child p {
  font-size: 14px;
  font-style: italic;
  margin: 0;
}
article .contributor__block .contributor div:last-child .author_name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
/* Related Posts */
.rp4wp-related-posts {
  margin-top: 25px;
}
.rp4wp-related-posts ul.rp4wp-posts-list .rp4wp-col-last {
  padding-left: 0 !important;
  margin-bottom: 20px !important;
}
.rp4wp-related-posts ul.rp4wp-posts-list .rp4wp-col-last .rp4wp_component {
  padding-bottom: 0 !important;
}
.rp4wp-related-posts
  ul.rp4wp-posts-list
  .rp4wp-col-last
  .rp4wp_component_title
  a {
  font-weight: 400;
}

.btn-primary {
  padding: 10px 15px;
  background-color: #1e73be;
  color: white !important;
  font-weight: 500;
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: #3481c4;
}

.secondary-link {
  padding: 12px;
  margin-left: 15px;
  border-left: dotted 1px #3a3a3a;
  color: #1e73be;
  font-weight: 500;
  font-size: 14px;
}

body {
  overflow-x: hidden;
  background-color: #ffffff;
}

.sw19b-comparison-table table {
  border-collapse: collapse;
  border-width: 0;
}

.sw19b-comparison-table td,
.sw19b-comparison-table th {
  border-color: #1e73be;
  border-width: 2px;
  line-height: normal;
  width: 33%;
  padding: 20px 10px;
}

.sw19b-comparison-table thead th {
  background: #1e73be;
  font-weight: bold;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

.sw19b-comparison-table tbody {
  font-size: 16px;
}

.sw19b-comparison-table tbody th span {
  display: block;
  font-weight: normal;
}

.sw19b-comparison-table tbody td {
  text-align: center;
}

.sw19b-comparison-table td:first-child,
.sw19b-comparison-table th:first-child {
  border-left-width: 1px;
}

.sw19b-comparison-table td:last-child,
.sw19b-comparison-table th:last-child {
  border-right-width: 1px;
}

.sw19b-comparison-table thead td,
.sw19b-comparison-table thead th {
  border-top-width: 1px;
}

.sw19b-comparison-table tbody tr:last-child td,
.sw19b-comparison-table tbody tr:last-child th {
  border-bottom-width: 1px;
}

.sw19b-comparison-table tbody tr:nth-child(even) {
  background: rgba(30, 115, 190, 0.1);
}

.sw19b-comparison-table tfoot tr {
  background: none;
}

.sw19b-comparison-table tfoot tr td,
.sw19b-comparison-table tfoot tr th {
  border: none;
}

.sw19b-comparison-table tfoot td {
  padding-top: 30px;
  text-align: center;
}

.sw19b-comparison-table tfoot a.button {
  padding: 10px 24px 11px;
  border-radius: 29px;
  background-color: #fcb900;
  font-family: Roboto;
  font-size: 16px;
  font-weight: bold;
  color: #111111;
}

.sw19b-comparison-table tfoot a.text {
  font-family: Roboto;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #111111;
}

.sw19b-comparison-table .mobile-comparison {
  display: none;
}

@media (max-width: 768px) {
  .sw19b-comparison-table .desktop-comparison {
    display: none;
  }

  .sw19b-comparison-table .mobile-comparison {
    display: table;
  }

  .sw19b-comparison-table tbody th {
    text-align: center;
  }

  .sw19b-comparison-table tbody th span {
    font-weight: 700;
  }

  .sw19b-comparison-table tbody tr:nth-child(even) {
    background: inherit;
  }

  .sw19b-comparison-table tbody tr:nth-child(4n + 3),
  .sw19b-comparison-table tbody tr:nth-child(4n + 4) {
    background: rgba(30, 115, 190, 0.1);
  }

  .sw19b-comparison-table td,
  .sw19b-comparison-table th {
    border-width: 0;
  }

  .sw19b-comparison-table tr.header {
    border-top: 2px solid #1e73be;
  }

  .sw19b-comparison-table td,
  .sw19b-comparison-table th {
    padding: 10px;
  }

  .sw19b-comparison-table thead th {
    font-size: 14px;
  }

  .sw19b-comparison-table tbody {
    font-size: 12px;
  }
}

body.single-comparisons .wp-block-group__inner-container {
  padding: 0;
}

@media (max-width: 768px) {
  body.single-comparisons .wp-block-group__inner-container > h2 {
    position: relative;
    padding-right: 20px;
    cursor: pointer;
  }

  body.single-comparisons .wp-block-group__inner-container > h2:after {
    content: "";
    background-image: url("images/symbol_arrow_down.svg");
    background-size: 16px 10px;
    height: 10px;
    width: 16px;
    position: absolute;
    right: 0;
    top: 10px;
  }

  body.single-comparisons
    .wp-block-group__inner-container:not(.selected)
    > *:not(h2) {
    display: none;
  }

  body.single-comparisons .wp-block-group__inner-container.selected h2:after {
    background-image: url("images/symbol_arrow_up.svg");
  }
}

@media (max-width: 768px) {
  .sw-hide-on-mobile {
    display: none;
  }
}

.hero_section {
  padding: 40px;
  background-color: #fff;
  margin: auto;
}

.hero_section .hero_image {
  float: left;
  width: 30%;
  height: 100%;
}

.hero_section .hero-section-right-text {
  float: left;
  width: 68%;
  height: 100%;
  flex-direction: column;
  display: flex;
  justify-content: space-between;
}

.hero_section .hero_title {
  font-size: 40px;
}

.hero_section .btn-holder {
  justify-content: flex-end;
  display: flex;
}

.hero_section .hero_button {
  padding: 10px 24px 11px;
  border-radius: 29px;
  background-color: #fcb900;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #111111;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
}

.hero_section .hero_button:hover {
  background-color: #ff7a00;
  color: #111111;
}

.hero_section .hero_button:visited {
  color: #111111;
}

.cat-links:before {
  content: "\f07b";
}

@media (max-width: 768px) {
  .hero_section .hero_image {
    display: none;
  }

  .hero_section .hero-section-right-text {
    width: 100%;
  }

  .hero_section .btn-holder {
    justify-content: flex-start;
    display: flex;
  }
}

@media (min-width: 768px) {
  @media (max-width: 1200px) {
    .hero_section .hero_image {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 225px;
    }

    .hero_section .hero-section-right-text {
      padding-left: 10px;
      width: 65%;
    }
  }
}

footer.site-info {
  display: none;
}

.sw-footer {
  .sw-footer-space {
    height: 3.5rem;
    width: 100%;
    background-color: #eaf2f5;
    border-bottom: 3px solid #64a2ff;
  }

  .bg-gray {
    background-color: #d9d9d3;
  }

  .bg-black {
    background-color: #000;
  }

  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sw-wrapper {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .content {
    display: flex;
    justify-content: space-between;
    margin: 0 6.5rem;
    padding: 2.5rem 0 8rem;
  }

  .block-footer {
    .footer-title {
      font-family: "Roboto", sans-serif;
      white-space: nowrap;
      font-size: 0.875rem;
      line-height: 1.71;
      color: #9f9894;
      margin-bottom: 1.5rem;
      display: flex;
      justify-content: center;
    }
    .underline {
      border-bottom: 1px solid #9f9894;
      width: 100%;
      margin-bottom: 0.375rem;
    }
  }

  .block-links {
    min-width: 27.375rem;

    .column_links {
      display: flex;
      column-gap: 6rem;
    }

    .list-links {
      li {
        margin-bottom: 1.5rem;
      }

      a {
        font-family: "Roboto", sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.5;
        color: #fff;

        &:hover {
          text-decoration: underline;
        }
      }
    }
  }

  .block-socials {
    min-width: 14rem;

    .list-social {
      display: flex;
      gap: 1rem;
    }
  }

  .block-copyright {
    font-family: Roboto;
    font-size: 0.75rem;
    line-height: 1.33;
    color: #584f4a;
    padding: 1rem 0;

    .list-copyright {
      display: flex;
      justify-content: center;

      li {
        padding: 0 1.25rem;
        border-right: 1px solid #b3b3a8;

        &:last-child {
          border-right: none;
        }

        a {
          color: inherit;

          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }

  @media (max-width: 1024px) {
    .content {
      display: block;
      margin: 0;
      padding-bottom: 5.5rem;
    }

    .block-links {
      min-width: auto;
      margin-bottom: 6.5rem;

      .column_links {
        justify-content: center;
      }
    }

    .block-socials {
      min-width: auto;

      .list-social {
        justify-content: center;
      }
    }

    .block-copyright {
      .list-copyright {
        flex-wrap: wrap;

        li:first-child {
          border-right: none;
          text-align: center;
          width: 100%;
          margin-bottom: 2rem;
        }
      }
    }
  }

  @media (max-width: 768px) {
    .block-links {
      .column_links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        .list-links:last-child {
          grid-column: span 2;
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          column-gap: 6rem;
        }
      }
    }

    .block-copyright {
      .list-copyright {
        li {
          padding: 0 1rem;
        }
      }
    }

    .sw-wrapper.m-shink {
      padding: 0 0.25rem;
    }
  }

  @media (max-width: 400px) {
    .block-copyright {
      .list-copyright {
        li {
          padding: 0 0.5rem;
        }
      }
    }
  }
}

.hero-block {
  background-color: #eaf2f5;
}

.hero_section_2024 {
  padding: 2.5rem 4.5rem;
  display: flex;
  position: relative;
  justify-content: center;

  .hero-section-left-text {
    width: 100%;
    max-width: 500px;
  }

  .hero-section-right-text {
    width: 100%;
    max-width: 512px;
  }

  .hero_subheadline {
    font-family: "Archivo Black", sans-serif;
    font-size: 18px;
    line-height: 1.33;
    color: #584f4a;
  }

  .hero_title {
    font-family: "Roboto", sans-serif;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.33;
    color: #222222;
  }

  .hero_description {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.78;
    padding-left: 12px;
    margin-top: 24px;
    color: #584f4a;
    border-left: 1px solid #0066ff;
  }

  @media (max-width: 900px) {
    flex-direction: column;
    padding: 2.5rem 0;

    .hero_title {
      font-size: 48px;
      font-weight: bold;
      line-height: 1.4;
      padding-top: 8px;
    }
    .hero_description {
      padding-top: 16px;
      padding-left: 0;
      margin-top: 16px;
      font-weight: normal;
      border-left: none;
      border-top: 1px solid #0066ff;
    }
  }
}

article.style-2024 {
  width: 100%;
  max-width: 720px;
  padding: 32px 0 36px;
  border-bottom: 1px solid #b3b3a8;

  &:first-child {
    padding-top: 16px;
  }
  .entry-header {
    margin-bottom: 40px;
    position: relative;

    a {
      &:hover .entry-title {
        text-decoration: underline;
        color: #222222;
      }

      &:active .entry-title {
        text-decoration: underline;
        color: #00086f;
      }
    }
  }

  .entry-icon {
    position: absolute;
    top: 8px;
    right: calc(100% + 8px);
  }

  .entry-title {
    font-family: "Roboto", sans-serif;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.25;
    color: #222;
  }

  .entry-image {
    margin-top: 32px;

    img {
      max-width: 720px;
      max-height: 221px;
      object-fit: cover;
      object-position: top center;
      width: 100%;
      transition: all 0.4s ease;

      &:hover {
        transform: scale(0.96);
      }
    }
  }

  .entry-body {
    display: flex;
    justify-content: space-between;
    gap: 13px;
    margin-bottom: 16px;
  }

  .entry-summary {
    max-width: 608px;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    line-height: 1.78;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    margin: 0;
  }

  .posted-on {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1.71;
    color: #766d68;
    display: block;
    text-align: right;
    white-space: nowrap;
  }

  .entry-url {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #0044ab;
    text-decoration: underline;

    &:visited {
      color: #0066ff;
      text-decoration: none;
    }

    &:hover {
      color: #00086f;
      text-decoration: underline;
    }

    &:active {
      color: #00086f;
      text-decoration: none;
    }
  }

  .entry-meta {
    margin: 0;
    width: 100%;

    &.mobile {
      display: none;
    }

    @media (max-width: 1024px) {
      &.mobile {
        display: block;
        text-align: right;
      }

      &.desktop {
        display: none;
      }
    }
  }

  @media (max-width: 1024px) {
    margin: 0 auto;

    .entry-title {
      font-size: 24px;
      font-weight: bold;
      line-height: 1.33;
    }

    .entry-icon {
      top: 6px;
      right: calc(100% + 6px);
    }

    .entry-header {
      margin-bottom: 32px;
    }

    .entry-meta {
      &.mobile {
        display: block;
        text-align: right;
      }

      &.desktop {
        display: none;
      }
    }
  }

  @media (max-width: 768px) {
    .entry-image {
      img {
        max-width: 328px;
        max-height: 100px;
      }
    }
  }
}

.category-pagination-container {
  padding-top: 32px;
}

.widget.featured-posts {
  max-width: 276px;
  padding: 16px 16px 24px;
  border-radius: 8px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.16);
  background-color: #fff;

  .widget-title {
    font-family: "Archivo Black";
    font-size: 18px;
    line-height: 1.33;
    color: #584f4a;
    margin-bottom: 16px;
  }

  ul {
    list-style: none;
  }

  li {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    line-height: 1.78;
    color: #222;
    padding: 16px 0;
    border-top: 1px solid #d9d9d3;

    &:first-child {
      border-top-color: #0066ff;
    }

    a {
      color: inherit;

      &:visited {
        color: #222;
        text-decoration: underline;
      }

      &:hover {
        color: #0044ab;
        text-decoration: underline;
      }

      &:active {
        color: #00086f;
        text-decoration: underline;
      }
    }
  }

  @media (max-width: 1024px) {
    margin: 0 auto;
    max-width: 576px;
  }
}

.category-content {
  .sw-wrapper {
    display: flex;
    gap: clamp(32px, 10vw, 64px);
  }
  #main {
    margin: 32px 0 0 clamp(104px, 14vw, 230px);

    article:first-of-type {
      padding-top: 16px;
    }
  }

  .content-title {
    font-family: "Archivo Black";
    font-size: 18px;
    line-height: 1.33;
    color: #584f4a;
  }

  @media (max-width: 1024px) {
    .sw-wrapper {
      flex-direction: column;
    }

    #main {
      margin-left: 0;
    }

    .content-title {
      max-width: 720px;
      margin: 0 auto;
    }
  }
}

.dns-primary-btn {
  font-family: "Archivo";
  font-weight: bold;
  color: #000000;
  font-size: 18px;
  line-height: 24px;
  background-color: #42e2b8;
  border-radius: 48px;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 8px;

  &:hover {
    background-color: #83ecd0;
    color: #000000;
  }

  &:active {
    background-color: #21d4a4;
    color: #000000;
  }

  &:visited {
    color: #000000;
  }
}

.below-btn-text {
  color: #766d68;
  font-size: 14px;
  line-height: 24px;
  margin-top: 8px;
  text-align: center;
}

.dns-secondary-link {
  display: block;
  padding-left: 16px;
  margin-left: 16px;
  border-left: #b3b3a8 2px solid;
  color: #0044ab;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  margin-top: 12px;
  font-weight: 600;

  &:hover {
    color: #00086f;
    text-decoration: underline;
  }

  &:active {
    color: #00086f;
    text-decoration: none;
  }

  &:visited {
    color: #0044ab;
  }
}

.free-tools-page-template {
  padding: 0 24px;

  .main-section {
    display: flex;
    gap: 64px;
  }
}

.separate-containers .inside-article {
  padding: 0;
}

.separate-containers .inside-right-sidebar {
  margin: 32px 0;
}

.sw19s-std-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.post-index {
  display: flex;
  flex-direction: column;

  .sw-wrapper {
    display: flex;
    gap: 64px;
  }

  .content-title {
    margin-top: 32px;
    margin-bottom: -16px;
    font-size: 18px;
    line-height: 1.33;
    font-family: "Archivo Black", sans-serif;
    color: #584f4a;
  }

  .entry-title {
    margin-bottom: 16px;
  }

  .style-2024 .entry-header {
    margin-bottom: 32px;
  }

  .entry-meta {
    display: flex;
    justify-content: space-between;
  }

  .entry-header .entry-image {
    line-height: 0;
    padding-bottom: 8px;
  }

  .entry-body .entry-summary {
    max-width: none;
    color: #222;
  }

  a.category {
    color: #766d68;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    padding-right: 12px;
    margin-right: 12px;
    border-right: solid 2px;
    border-image: linear-gradient(to bottom, #3fb9ff, #0066ff) 1;
    line-height: 24px;

    &:last-child {
      border: none;
      padding: 0;
      margin: 0;
    }

    &:hover {
      color: #584f4a;
    }

    &:active {
      text-decoration: none;
      color: #3a312c;
    }
  }

  .sw-dns-pagination {
    padding-top: 32px;
  }

  @media (max-width: 992px) {
    .sw-wrapper {
      flex-direction: column;
      gap: 32px;
    }

    article.style-2024 {
      padding-bottom: 56px;
    }

    .entry-header .entry-image {
      margin-top: 16px;
      padding-bottom: 0;
    }

    .posted-on {
      padding-left: 16px;
    }
  }
}
