:root {
  --primary-color: #2f71e4;
  --hopper-blue: #2f71e4;
  --info-background: #bfdbfe;
  --tool-border-color: #e2e8f0;
  --text-color: #1e293b;
  --grey-background: #f5f7f9;
  --facebook-color: #5484ef;
  --twitter-color: #0ea5e9;
  --linkedin-color: #048ad3;
  --pinterest-color: #e35252;
  --instagram-color: #db2777;
  --youtube-color: #ef4444;
  --tiktok-color: #000000;
  --reddit-color: #ff4500;
  --heart-color: #ef4444;
}
.social-links-widget ul li a:hover i.fa-facebook,
.free-tools-template-default .fab.fa-facebook,
.facebook-color {
  color: var(--facebook-color);
}
.social-links-widget ul li a:hover i.fa-twitter,
.free-tools-template-default .fab.fa-twitter,
.twitter-color {
  color: var(--twitter-color);
}
.social-links-widget ul li a:hover i.fa-linkedin,
.free-tools-template-default .fab.fa-linkedin,
.linkedin-color {
  color: var(--linkedin-color);
}
.social-links-widget ul li a:hover i.fa-pinterest,
.free-tools-template-default .fab.fa-pinterest,
.pinterest-color {
  color: var(--pinterest-color);
}
.social-links-widget ul li a:hover i.fa-instagram,
.free-tools-template-default .fab.fa-instagram,
.instagram-color {
  color: var(--instagram-color);
}
.social-links-widget ul li a:hover i.fa-youtube,
.free-tools-template-default .fab.fa-youtube,
.youtube-color {
  color: var(--youtube-color);
}
.social-links-widget ul li a:hover i.fa-tiktok,
.free-tools-template-default .fab.fa-tiktok,
.tiktok-color {
  color: var(--tiktok-color);
}
.social-links-widget ul li a:hover i.fa-reddit,
.free-tools-template-default .fab.fa-reddit,
.reddit-color {
  color: var(--reddit-color);
}
.app-content-wrapper {
  background-color: var(--grey-background);
  /*  padding-top: 40px;*/
}
.second-content-area {
  background: white;
  padding: 0 0 40px 0;
}
.third-content-area {
  background: var(--grey-background);
  padding: 40px 0;
}
.tool-posts {
  color: #1e293b;
}
.tools-header-wrapper {
  background: white;
  position: relative;
}
.tools-header {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tool-breadcrumb {
  margin-top: 30px;
  display: block;
  color: #a8a29e;
  font-size: 18px;
}

.tool-breadcrumb a {
  text-decoration: underline;
  color: #a8a29e;
}

.tool-title {
  font-size: 36px;
  letter-spacing: -1.82;
}

.tool-description {
  color: #637792;
  font-size: 18px;
  max-width: 586px;
  text-align: center;
  margin-bottom: 30px;
}

.tool-title {
  .badge-pill {
    font-size: 10px;
    position: absolute;
    font-weight: normal;
    letter-spacing: 0;
  }
}
.tools-header-wrapper .free-tool-top-banner {
  background: var(--info-background);
  color: var(--hopper-blue);
  font-weight: bold;
  border-radius: 50px;
  position: absolute;
  font-size: 14px;
  bottom: -15px;
  height: 30px;
  left: 50%;
  transform: translateX(-50%);
  /*  display: flex;*/
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  gap: 5px;
}
.tool-posts h2.tool-wrapper-title {
  margin-bottom: 0 !important;
}
.tool-posts .tool-wrapper-sub-title {
  margin-bottom: 10px;
  margin-top: 0 !important;
}
.tool-posts .tool-wrapper-sub-title a {
  font-weight: normal;
  font-size: 0.9em;
  font-weight: normal;
  text-decoration: underline;
  color: var(--text-color);
}
.tool-posts .tool-wrapper-sub-title a:hover {
  color: var(--primary-color);
}
.tool-list-wrapper.icon-mode {
  display: grid;
  gap: 15px 5px;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 40px;
  justify-items: center;
}

.tool-list-wrapper.icon-mode .tool-post {
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  border: 1px solid var(--tool-border-color);
  padding: 15px 10px;
  border-radius: 5px;
  background: white;
}
.tool-list-wrapper .tool-post .tool-post-image {
  display: flex;
  justify-content: center;
  width: 64px;
  height: 130px;
  /* transition: 0.3s ease all; */
}
.tool-list-wrapper .tool-post:hover .tool-post-image {
  transform: scale(1.1);
}
.tool-list-wrapper.icon-mode .tool-post .tool-title {
  height: 30px;
}
.tool-list-wrapper .tool-post .tool-title {
  margin: 0;
  font-size: 0.9em;
  margin-top: auto;
  font-weight: normal;
  font-weight: 600;
}
.tool-list-wrapper .tool-post:hover .tool-title {
  color: var(--primary-color);
}

.tool-list-wrapper {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
  margin-top: 30px;
}

.tool-list-wrapper:not(.icon-mode) .tool-post {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 30px;
  padding: 0 10px;
}

/* widgets */
.social-links-widget ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-links-widget ul li a {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid var(--tool-border-color);
}
.social-links-widget ul li a:not(:hover) i {
  color: var(--primary-color) !important;
}
.dropdown-list.cat-list {
  display: none;
  padding: 10px;
  left: 10%;
  width: 300px;
}
.dropdown.cat-list:hover .dropdown-list.cat-list {
  display: block;
  z-index: 1;
}
.dropdown-list.cat-list a {
  padding: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert.alert-hopper {
  background-color: #edf3fd;
  font-size: 18px;
  color: #2f71e4;
  padding: 14px 0px;
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.alert.alert-hopper a {
  font-weight: 700;
}

.free-tools-template-default .widget-item {
  margin-bottom: 30px;
}
.free-tools-template-default .widget-item .widget-title {
  font-weight: normal;
}
.feedback-widget .btn-secondary {
  background: white;
  color: var(--text-color);
  border-color: var(--tool-border-color);
}
.feedback-widget .btn-secondary:hover {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.feedback-widget .btn-secondary:hover i {
  transform: rotate(-10deg) scale(1.3);
}
.feedback-widget i.fa-heart {
  color: var(--heart-color);
  transition: 0.2s ease all;
}

#mini-tools-app {
  padding: 2px;
  font-size: 1em;
}
#mini-tools-app .mini-tools-app-loader {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  height: 200px;
}
#mini-tools-app .mini-tools-app-loader .spinner-border {
  color: $hopper-blue;
}

@media (max-width: 768px) {
  .tool-list-wrapper.icon-mode {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 678px) {
  .tool-list-wrapper.icon-mode {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 425px) {
  .tool-list-wrapper.icon-mode {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .tool-list-wrapper.icon-mode .tool-post {
    width: 100%;
  }
}
@media (max-width: 320px) {
  .tool-list-wrapper.icon-mode {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tool-list-wrapper.icon-mode .tool-post {
    width: 100%;
    height: 100%;
    gap: 10px;
  }
  .tool-list-wrapper .tool-post .tool-post-image {
    width: 36px;
    height: 36px;
  }
}
