/* resource-design */
.cb-resources-wrapper {
  position: relative;
  background-color: #f4f4f4;
  padding: 80px 0;
}
.cb-resource-inner-wrapper {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.cb-container {
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1440px) {
  .cb-resource-inner-wrapper {
    align-items: flex-start;
    position: relative;
  }
}

@media (min-width: 1280px) {
  .cb-resource-inner-wrapper {
    grid-column-gap: 4rem;
  }
}

@media (min-width: 840px) {
  .cb-sidebar {
    flex: none;
    width: 15rem;
  }
  .cb-resource-inner-wrapper {
    grid-column-gap: 3rem;
    padding: 0 30px;
  }
}

.cb-search-wrap .cb-resources-form {
  align-items: center;
  display: flex;
  position: relative;
}
.cb-search-wrap input[type="text"] {
  border: 1px solid #c7c7c7;
  width: 100%;
  height: 2.75rem;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 0.25rem;
  padding-left: 1.25rem;
  padding-right: 3rem;
  font-size: 16px;
}
.cb-search-wrap .search-button {
  width: 30px;
  position: absolute;
  height: 2.5rem;
  border-radius: 50%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
}

.cb-post-list {
  padding: 25px 0 20px;
}
.cb-post-list .cb-cat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
}

.cb-post-list ul {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
}
.cb-post-list ul li {
  margin: 0;
  padding: 0;
}
.cb-post-list ul li.active a {
  color: rgb(178, 221, 76);
}

.cb-post-list ul li a {
  color: #240642;
  background-position: 120%;
  background-repeat: no-repeat;
  background-size: auto;
  border-radius: 0.3125rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 1rem;
  font-size: 1rem;
  transition: all 0.2s;
  display: block;
}

.cb-page-content {
  width: 100%;
  position: relative;
}

.cb-resource-cta {
  color: #240642;
  align-items: flex-start;
  transition: all 0.2s;
  display: flex;
  overflow: hidden;
  position: relative;
}
.cb-resource-cta > a .cb-cta-image {
  color: #240642;
  align-items: flex-start;
  transition: all 0.2s;
  display: flex;
  overflow: hidden;
}

.cb-cta-image img {
  width: 60%;
  object-fit: cover;
  border-radius: 0.625rem;
  flex: none;
  height: 270px;
}

.cb-cta-image .content {
  width: 55%;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 2rem;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  display: flex;
}

.cb-cta-image .content h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 15px;
  font-size: 27px;
}
.cb-cta-image .content > div {
  height: 100px;
  overflow: hidden;
}

.cb-cta-image .content span {
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 0.25rem;
  color: #000000;
  background-color: #b2dd4c;
}
.cb-resources-posts-wrapper {
  margin-top: 3em;
}

.cb-resources-posts-wrapper .cb-resource-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.cb-resources-posts-wrapper .cb-resource-posts > div {
  flex: 0 0 30%;
  max-width: 30%;
}
.cb-resources-posts-wrapper .cb-resource-posts > div img {
  border-radius: 0.25rem;
  height: 150px;
  width: 100%;
  object-fit: cover;
  background: #fff;
}

.cb-resources-posts-wrapper .cb-resource-posts > div h3 {
  font-size: 18px;
  margin-top: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cb-resources-posts-wrapper .cb-resource-posts > div a > div {
  color: #797979;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-top: 1rem;
}

.cb-load-more {
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cb-load-more-btn {
  background: #b2dd4c;
  border-color: transparent;
  padding: 12px 25px;
  color: #fff;
  font-size: 20px;
  border-radius: 0.25rem;
  cursor: pointer;
}

.resource-banner {
  padding: 80px 0;
  background: #363636;
}
.cb-container-inner {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
}
.cb-container-inner h2 {
  text-align: center;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}
.cb-container-inner > div {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

.cb-resources-posts-wrapper .cb-resource-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.cb-resources-posts-wrapper .cb-resource-posts > div {
  flex: 0 0 30%;
  max-width: 30%;
}
.cb-search-wrap .cb-resources-form {
  align-items: center;
  display: flex;
  position: relative;
}
.cb-search-wrap .search-button {
  width: 2.5rem;
  position: absolute;
  height: 2.5rem;
  border-radius: 50%;
  right: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
}

.cb-resources-posts-wrapper .cb-resource-posts > div img {
  border-radius: 0.25rem;
  height: 150px;
  width: 250px;
  object-fit: cover;
  background: #fff;
}

@media (max-width: 1024px) {
  .cb-resources-posts-wrapper .cb-resource-posts {
    gap: 30px;
  }
  .cb-resources-posts-wrapper .cb-resource-posts > div {
    flex: 0 0 47%;
    max-width: 47%;
  }
}

@media (max-width: 768px) {
  .cb-container {
    max-width: 100%;
    padding: 0 15px;
  }
  .cb-resource-inner-wrapper,
  .cb-resource-cta > a .cb-cta-image {
    display: block;
  }
  .cb-cta-image img,
  .cb-resources-posts-wrapper .cb-resource-posts > div,
  .cb-resources-posts-wrapper .cb-resource-posts > div img {
    width: 100%;
  }
  .cb-cta-image .content {
    width: 100%;
    padding-left: 0;
    padding-top: 10px;
  }
  .cb-resources-posts-wrapper .cb-resource-posts {
    gap: 0px;
  }
  .cb-resources-posts-wrapper .cb-resource-posts > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .cb-sidebar,
  aside.cb-sidebar.sidebar {
    margin-bottom: 50px;
  }
}

.cb-guide-heading {
  grid-column-gap: 1rem;
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-row-gap: 1.5rem;
  flex-wrap: wrap;
}

.cb-guide-heading .cb-heading {
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 600;
  color: #000;
}
.cb-search-heading {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 3rem;
  margin-top: -3rem;
}

.cb-resources-posts-wrapper .cb-resource-posts .cb-no-post {
  text-align: center;
  background-color: #3c3d3f;
  border-radius: 0.25rem;
  padding: 2rem;
  flex: 0 0 100%;
  max-width: 100%;
}
.cb-resources-posts-wrapper .cb-resource-posts .cb-no-post p {
  font-size: 20px;
  color: #fff;
  font-weight: 500;
}
.cb-social-icon > div {
  font-size: 1.5rem;
  font-weight: 600;
}

.cb-tags {
  padding: 5px 0;
}
.cb-tags.news {
  padding: 0;
}
.cb-tags .cb-category {
  display: none;
}
.cb-tags .cb-posttype,
.cb-tags .cb-category {
  padding: 4px 10px;
  border-radius: 0.25rem;
  color: #000000;
  background-color: #b2dd4c;
}

.cb-tags.news .cb-category {
  display: block;
  width: fit-content;
}
.cb-tags.news .cb-posttype {
  display: none;
}

.cb-container-inner {
  max-width: 100%;
}

.cb-container-inner > div {
  max-width: 50%;
  margin: auto;
}

.cb-social-icon-content {
  margin-left: 1.2rem;
}

a.btn-close {
  position: absolute;
  right: 42px;
  color: #000;
  display: none;
}
.cb-search-wrap input[type="text"] {
  border: 1px solid #c7c7c7;
  width: 100%;
  height: 2.75rem;
  background-color: transparent;
  border-radius: 0.25rem;
  padding-left: 1.25rem;
  padding-right: 3.5rem;
  font-size: 16px;
}

.cb-search-heading {
  font-size: 1.2rem;
  margin-top: -2rem;
  line-height: 1.2;
}
.cb-page-content,
.cb-resources-posts-wrapper .cb-resource-posts {
  overflow: hidden;
}
.cb-search-heading {
  word-break: break-all;
}
@media (max-width: 768px) {
  .resource-banner,
  .cb-resources-wrapper {
    padding: 50px 0;
  }
  .cb-container-inner > div {
    max-width: 100%;
    height: auto;
  }
  .cb-cta-image img {
    height: auto;
  }
  .cb-resources-posts-wrapper .cb-resource-posts > div {
    margin-bottom: 30px;
  }
  .cb-load-more {
    padding-top: 25px;
  }
  .height-mobile-layout-fix {
    height: 15px !important;
  }
  .cb-search-wrap input[type="text"] {
    padding-right: 4rem;
  }
}

.menu {
  display: flex;
  list-style: none;
}

.menu-item {
  position: relative;
  margin: 0 15px;
}

.menu-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 0;
  display: inline-block;
  position: relative;
}

.menu-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #6c42d1;
  transition: width 0.3s;
}

.menu-link:hover::after {
  width: 100%;
}

.menu-item:hover .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.submenu {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.submenu-title {
  background-color: #270d52;
  color: white;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 15px;
}

.submenu-item {
  margin-bottom: 15px;
}

.submenu-link {
  display: block;
  text-decoration: none;
  color: #333;
}

.submenu-heading {
  font-weight: bold;
  margin-bottom: 5px;
  color: #27134e;
}

.submenu-description {
  font-size: 14px;
  color: #666;
}

.right-menu {
  display: flex;
  align-items: center;
}

.login-btn {
  color: #333;
  text-decoration: none;
  margin-right: 15px;
}

.demo-btn {
  background-color: #270d52;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* Multi-column submenu */
.mega-submenu {
  display: flex;
  gap: 20px;
}

.submenu-column {
  flex: 1;
}

/* new header css */

.qodef-drop-down .second .inner > ul {
  gap: 10px;
}
.qodef-drop-down .wide .second ul {
  padding: 20px 0 26px;
}

.qodef-drop-down .wide .second > .inner > ul > li {
  background: #f9f9f9;
  border-radius: 5px;
  padding: 10px;
  height: 100% !important;
}

.qodef-drop-down .wide .second ul li {
  border-left: none;
}

.qodef-drop-down .second .inner ul li a.no_link .item_outer > .item_inner {
  background-color: #b2dd4c;
  color: #000;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  border-top-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  padding: 6px 10px;
  font-size: 0.7rem;
  display: inline-block;
}

.qodef-drop-down .second .inner ul li a.no_link,
.qodef-drop-down .second .inner ul li h4,
#nav-menu-item-12245 .second > .inner > ul > li:nth-child(1) > a,
#nav-menu-item-12245 .second > .inner > ul > li:nth-child(2) > a,
#nav-menu-item-5980 .second > .inner > ul > li:nth-child(2) > a,
#nav-menu-item-5980 .second > .inner > ul > li:nth-child(1) > a,
#nav-menu-item-5980 .second > .inner > ul > li:nth-child(3) > a {
  padding: 0 !important;
}
.qodef-drop-down .second {
  border-top: 2px solid #b2dd4c;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  top: 6.25rem;
  overflow: hidden;
  box-shadow: 0 15px 20px #0000001a;
}

p.field-description.description.description-wide {
  font-size: 15px !important;
  padding: 0 25px;
}

.qodef-drop-down .wide.wide_background .second {
  background-color: #fff !important;
}

.qodef-main-menu > ul > li > a span.item_text {
  display: flex;
  flex-direction: row-reverse;
  gap: 5px;
}
.qodef-main-menu > ul > li > a span.item_inner {
  padding: 0 15px;
}

.qodef-drop-down #nav-menu-item-16062.wide .second > .inner > ul > li {
  width: 50%;
}

/* .qodef-main-menu ul li a .menu_icon_wrapper {
  display: inline-block;
  transition: transform 0.3s ease;
}

.qodef-main-menu ul li a:hover .menu_icon_wrapper > .menu_icon {
  transform: rotateZ(180deg);
} */
