/*   
Theme Name: jb-template
Theme URI: https://joinbrands.com/
Version: 1.0
Tags: clean, development, html5, tailwindcss
Description: Wordpress theme with minimal tailwind markup for fast development starting
Author: joinbrands
Author URI: https://www.joinbrands.com
*/
@media (min-width: 1536px) {
  .container {
    max-width: 1290px !important;
  }
  .products .container {
    max-width: 910px !important;
  }
  .policy-or-terms .container {
    max-width: 740px !important;
  }
}

@media (min-width: 979px) {
  ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu {
    /* для раскрывания субменю по наведению */
    display: block;
  }
  .comment-list .children {
    /* для комментов */
    padding: 0;
    margin-left: 74px;
    padding-bottom: 15px;
  }
  .comment-list .media {
    margin-top: 0;
  }
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

.popover-item {
  bottom: 115%;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
}

.popover-item:before {
  content: "";
  width: 30px;
  height: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #fff;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
}

.ez-toc-title,
.ez-toc-title-toggle {
  font-family: Mulish;
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  line-height: 25px;
  color: #202020;
  margin-bottom: 1rem;
}

div.ez-toc-widget-container ul.ez-toc-list {
  padding: 0;
  margin-bottom: 40px;
}
div.ez-toc-widget-container ul.ez-toc-list li {
  margin-bottom: 16px;
  font-family: Lato;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 140%;
  color: #202020;
}

@media (min-width: 1024px) {
  .mb-n20 {
    margin-bottom: -20%;
  }
}

@media (min-width: 1200px) {
  .single-content .addtoany_content {
    display: none;
  }
}

.a2a_default_style .a2a_count,
.a2a_default_style .a2a_svg,
.a2a_floating_style .a2a_svg,
.a2a_menu .a2a_svg,
.a2a_vertical_style .a2a_count,
.a2a_vertical_style .a2a_svg,
.addtoany_list a:not(.addtoany_special_service) > span {
  border-radius: 50% !important;
}

div.ez-toc-widget-container ul.ez-toc-list {
  margin-top: 16px;
}

.ez-toc-link:hover {
  text-decoration: underline;
}

@media screen and (min-width: 1024px) {
  .first-item img.wp-post-image {
    min-height: 438px;
  }
}
@media screen and (max-width: 1200px) {
  .first-item {
    max-width: 630px;
  }
}

.avatar {
  border-radius: 50%;
}

.skeleton {
  background-color: #eee;
  border-radius: 0.35rem;
  min-height: 450px;
  width: 100%;
  position: relative;
}
.skeleton::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 1s infinite;
  content: "";
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media screen and (max-width: 767px) {
  .skeleton {
    min-height: 310px;
  }
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#ez-toc-container nav {
  margin-left: -8px;
}

strong {
  font-weight: bold !important;
}

.footer-title {
  color: #666768;
}

.category-article {
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .mobile-slider {
    margin-left: -12px;
  }
  .mobile-slider .slick-slide {
    padding-right: 0;
    padding-left: 12px;
  }

  .mobile-slider .md\:left-\[109px\] {
    left: 88px;
  }

  .mobile-slider .md\:left-\[173px\] {
    left: 152px;
  }
}

.category-list ul li:not(.hidden) {
  display: inline;
}

.category-list ul li a {
  margin: 0.25rem;
}

.category-list ul.children,
.category-list ul li {
  padding: 0 !important;
  margin: 0 !important;
}
.article-item img {
  width: 100%;
}

.submit.inactive {
  cursor: progress;
  opacity: 0.5;
}

/*new 404*/

.hero404-new {
  min-height: calc(100vh - 137px);
}

.hero404-item {
  gap: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero404-item .btn-primary {
  font-size: 16px;
  font-family: Inter;
  font-weight: 500;
  line-height: 150%;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.hero404-item h1 {
  color: #ff1b60;
  font-size: 120px;
  font-family: Red Hat Display;
  font-weight: 900;
  line-height: 100%;
}
.hero404-item h1 span {
  transform: rotate(-180deg);
  display: inline-block;
}

.hero404-item h4 {
  font-size: 56px;
  font-family: Red Hat Display;
  font-weight: 800;
  line-height: 100%;
  letter-spacing: -1.12px;
}
.hero404-item p {
  overflow: hidden;
  color: #6b7280;
  text-align: center;
  text-overflow: ellipsis;
  font-size: 18px;
  font-family: Inter;
  line-height: 150%;
}

/*new footer*/
.footer-new {
  background: #f9fafb;
  padding: 24px 0;
}
.footer-new .container {
  max-width: 1440px !important;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-new-menu {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-new-menu li {
  display: block;
}
.footer-new-menu li:nth-last-child(2) {
  margin-left: auto;
}
.footer-new-menu li a {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  color: #6b7280;
  transition: 0.3s;
  display: block;
}
.footer-new-menu li a.footer-red-link {
  color: #f05252;
}
.footer-new-menu li a:hover {
  text-decoration-line: underline;
}
.footer-new-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-new-bottom .copy {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #9ca3af;
}
.footer-new-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.footer-new-bottom-wrap .lang,
.footer-new-bottom-wrap .currency {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #9ca3af;
}
.footer-new-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 8px;
}
.footer-new-socials .icon {
  width: 20px;
  height: 20px;
  color: #6b7280;
}

@media screen and (max-width: 1279px) {
  #signup .modal-dialog {
    max-width: 767px;
  }
}

@media screen and (max-width: 1023px) {
  .hero404-item p {
    max-width: 230px;
  }
  .footer-new .container {
    padding: 0 16px;
  }
  .footer-new-menu {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-new-menu li:nth-last-child(2) {
    border-top: 1px solid #e5e7eb;
    margin-left: 0;
    padding-top: 24px;
    margin-top: 8px;
    width: 100%;
  }
  .footer-new-menu li:last-child {
    width: 100%;
  }
  .footer-new-bottom {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-new-bottom-wrap {
    order: -1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

.single-content #ez-toc-container {
  display: none !important;
}

.pricing-summ-title {
  display: none;
}

.pricing-summ-title.active {
  display: block;
}

.category-article li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-article li a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partners-item img {
  width: max-content;
}

.pricing-summ-info {
  margin-top: auto;
}

.book-demo {
  margin: 0 auto;
  max-width: 80rem;
  width: 100%;
}
.book-demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0px 8px 30px 0px rgba(19, 20, 49, 0.08);
  overflow: hidden;
}
.book-demo-text {
  max-width: 520px;
  flex: 1;
  margin-left: 52px;
  position: relative;
  z-index: 10;
}
.book-demo-text h2 {
  color: #111928;
  font-family: "Inter Tight";
  font-size: 52px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 30px;
}
.book-demo-text h2 span {
  display: block;
  background: linear-gradient(103deg, #ff1b60 37.55%, #8f51d6 83.47%, #0477f5 124.19%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.book-demo-text p {
  color: #4b5563;
  font-family: "Inter Tight";
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 30.8px */
  margin-bottom: 52px;
}

.book-demo-text p b {
  font-weight: 600;
}
.book-demo-img {
  max-width: 540px;
}

.book-demo-button {
  display: flex;
  padding: 14px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 56px;
  background: #111928;
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  width: fit-content;
}

.book-demo-img-tablet {
  display: none;
}
.book-demo-img-mob {
  display: none;
}

@media screen and (max-width: 1150px) {
  .book-demo {
    max-width: 712px;
  }

  .book-demo-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .book-demo-img {
    margin-left: auto;
    max-width: 600px;
    width: 100%;
    margin-top: -202px;
  }

  .book-demo-text {
    margin: 52px 36px;
    position: relative;
    z-index: 3;
  }

  .book-demo-img-desktop {
    display: none;
  }

  .book-demo-img-tablet {
    display: block;
  }
}

@media screen and (max-width: 720px) {
  .book-demo-img {
    margin-top: -28.565217391304348vw;
  }
}

@media screen and (max-width: 530px) {
  .book-demo-img-tablet {
    display: none;
  }

  .book-demo-img-mob {
    display: block;
    max-width: 450px;
    margin-top: -133px;
  }
}

@media screen and (max-width: 420px) {
  .book-demo-text {
    margin: 36px 16px;
  }

  .book-demo-text h2 {
    font-size: 40px;
    margin-bottom: 16px;
  }
  .book-demo-text p {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .book-demo-button {
    padding: 10px 18px;
  }
}

.section-search {
  min-height: calc(100vh - 557px);
}

#beehiiv-modal .modal-dialog {
  max-width: 382px;
  margin: 0 auto;
  border-radius: 30px;
  border: 1px solid #F7FAFF;
}

#beehiiv-modal .modal-content {
  background: #FFF;
  overflow-y: auto;
  height: 100%;
}

.beehiiv-modal-title {
  color: #111928;
  text-align: center;
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 33.8px */
}

.beehiiv-modal-desc {
  color: #50545B;
  text-align: center;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 30px */
  margin-bottom: 18px;
}

.beehiiv-modal-content-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.beehiiv-modal-form input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #DCE3EA;
  background: #FFF;
  min-height: 44px;
  padding: 13px 16px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
  margin-bottom: 18px;
}

.beehiiv-modal-form input.error, .beehiiv-modal-form input.error:focus, .beehiiv-modal-form input.error:focus-visible {
  border-color: #FF1B60;
}

.beehiiv-modal-form button {
  width: 100%;
  border-radius: 26px;
  background: #FF1B60;
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 30px */
  display: flex;
  padding: 14px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

#beehiiv-modal button.beehiiv-modal-no-thanks {
  color: #111928;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 30px */
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
}

.beehiiv-modal-content {
  padding: 16px 20px 24px;
}

.allert {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #FF1B60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.allert svg {
  width: 20px;
  height: 20px;
}

.label {
  position: relative;
}

#beehiiv-message {
  margin-top: 18px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

#beehiiv-message.error {
  color: #FF1B60;
}

#beehiiv-message.success {
  color: #059669;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: block;
}

::-webkit-scrollbar-thumb {
  background-color: #DCE3EA;
  border-radius: 12px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #DCE3EA;
  cursor: pointer;
}
