html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  color: #110b2f;
  font-family: 'Open Sans', sans-serif;
  font-optical-sizing: auto;
}

*,
::after,
::before {
  box-sizing: border-box;
}

li {
  list-style: none;
}

img,
picture {
  max-width: 100%;
  height: auto;
  width: auto;
  border: 0;
}

.d-flex {
  display: flex !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-end {
  justify-content: end !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.gap-5 {
  gap: 1rem !important;
}

.mt-3 {
  margin-top: 0.5rem !important;
}

.mb-6 {
  margin-bottom: 1.25rem !important;
}

.mb-7 {
  margin-bottom: 1.5rem !important;
}

.mb-12 {
  margin-bottom: 3rem !important;
}

.mb-30 {
  margin-bottom: 30px;
}

.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.kmb-col,
.row > .col {
  padding-left: 15px;
  padding-right: 15px;
}

.col-3 {
  width: 25%;
}

.col-2-9 {
  width: 37.5%;
}

.col-5 {
  width: 41.66666667%;
}

.col-7 {
  width: 58.33333333%;
}

.col-12 {
  width: 100%;
}

.items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.templates-loading {
  cursor: wait;
  position: relative;
}

.templates-loading:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
}

.kmb-site-arrow-left {
  position: relative;
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-left: 5px;
  margin-bottom: 2px;
  transform: rotate(136deg);
}

.kmb-site-arrow-left::after {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-right-style: solid;
  border-right-width: 2px;
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0px;
  width: 8px;
  height: 8px;
}

.kmb-site-template-view-back-btn {
  color: #110b2f;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.kmb-site-template-view-back-btn:hover {
  color: #6f41db;
}

.kmb-site-template-view-back-btn i {
  margin-right: 4px;
}

.kmb-site-template-view-tool-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  background: #fff;
  border-bottom: 2px solid #e9e8ed;
}

.kmb-site-template-view-btn {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #231a50;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  border: none;
  outline: none;
  border-radius: 25px;
  box-shadow: 0px 2px 15px 0px #21373e26;
  white-space: nowrap;
}

.kmb-site-template-view-btn > svg {
  margin-right: 8px;
  flex-shrink: 0;
}

.kmb-site-template-view-edit-btn {
  padding: 10px 33px;
}

.kmb-site-template-view-tool-bar-label {
  font-size: 14px;
  margin-right: 10px;
}

.kmb-site-template-view-type {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.kmb-site-template-view-full-screen-mode .kmb-site-template-view-type,
.kmb-site-template-preview-placeholder-container .kmb-site-template-view-type {
  display: flex;
}

.kmb-site-template-view-type > li {
  margin: 3px 8px;
  padding: 2px;
}

.kmb-site-template-view-type > li:first-child {
  border-right: 1px solid #e9e8ed;
  padding-right: 10px;
}

.kmb-site-template-view-type > li button {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.kmb-site-template-view-type > li button.active svg path,
.kmb-site-template-view-type > li button:hover svg path {
  fill: #231a50;
}

.kmb-site-template-view-related-section{
  padding: 24px 0;
  background: #fff;
}

.kmb-site-template-view-details-section {
  padding: 24px 0;
  background: #f6f5f8;
}

.kmb-site-template-view-details-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .kmb-site-template-view-details-section .container {
    grid-template-columns: 1fr;
  }
}

.kmb-site-template-section-title {
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
}

.kmb-site-template-label {
  margin: 0 0 7px 0;
  font-size: 18px;
  font-weight: 700;
}

.kmb-site-template-category-value {
  font-size: 16px;
  font-weight: 400;
  display: block;
}

.kmb-site-template-best-suited-for-value {
  text-transform: capitalize;
  padding-left: 20px;
}

.kmb-site-template-best-suited-for-value li {
  list-style-type: disc;
}

.kmb-site-template-preview-placeholder {
  position: sticky;
  top: 120px;
  box-shadow: 4.81px 4.81px 9.63px 0px #18242626;
  margin-top: 15px;
  width: 100%;
  height: auto;
  min-height: 800px; /* Ensure there's space for the placeholder */
  /* aspect-ratio: 600/550; */
  background-color: #f5f5f5; /* Light background in case image fails to load */
}

.kmb-site-template-preview-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center top;
  background-repeat: repeat-y;
  z-index: 1;
  opacity: 1;
  background-color: #ffffff; /* White background behind the placeholder */
}

.kmb-site-template-preview-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #007cba;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.kmb-site-template-preview-image {
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  display: block;
}

.kmb-site-template-preview-placeholder img {
  width: 100%;
}

.kmb-site-template-preview-placeholder-inner-hover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: hsla(0, 0%, 100%, .30); */
}

.kmb-site-template-demo {
  overflow: hidden;
  height: calc(100vh - 69px);
  padding-top: 12px;
}

.kmb-site-template-demo .container {
  margin-bottom: 12px;
}

/* .kmb-site-template-mobile-view .kmb-site-template-demo {
  overflow: auto;
} */

.kmb-site-template-iframe-container {
  height: 100%;
}

iframe.kmb-site-template-view-iframe {
  border: none;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
}

.kmb-site-template-mobile-view .kmb-site-template-iframe-container {
  display: flex;
  justify-content: center;
  width: 300px;
  height: 600px;
  margin: 0px auto 30px;
  background: url(https://d2ogrdw2mh0rsl.cloudfront.net/production/images/layout/devices/iphone-x-port.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.kmb-site-template-mobile-view #preview-iframe {
  max-width: calc(100% - 65px);
  max-height: 450px;
  margin-top: 55px;
  margin-left: 10px;
}

.kmb-site-template-item-preview-group {
  position: relative;
  border-radius: 8px;
  box-shadow: 1px 2px 5px 0px #18242614;
}

.kmb-site-template-item-preview-group > .kmb-site-template-item-preview {
  border-radius: 8px;
  max-height: 467px;
  overflow: hidden;
}

.kmb-site-template-item-preview-group img {
  width: 100%;
}

.kmb-site-template-item-preview-group > .kmb-site-template-item-preview,
.kmb-site-template-item-preview-group
  > .kmb-site-template-item-preview
  .kmb-site-template-item-inner-hover {
  height: 100%;
}

.kmb-site-template-item-preview-group
  > .kmb-site-template-item-preview
  .kmb-site-template-item-inner-hover {
  padding: 25px;
  align-items: center;
  background: hsla(0, 0%, 100%, 0.7);
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  opacity: 0;
  border-radius: 8px;
  pointer-events: none;
  transition: opacity 0.05s linear;
}

.kmb-site-template-item-preview-group
  > .kmb-site-template-item-preview:hover
  .kmb-site-template-item-inner-hover {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.1s ease-out;
}

.kmb-site-template-item-preview-group
  > .kmb-site-template-item-preview
  .kmb-site-template-item-inner-btn-group {
  display: flex;
  flex-direction: column;
}

.kmb-site-template-item-preview-group
  > .kmb-site-template-item-preview
  .kmb-site-template-item-inner-btn-group
  > a {
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
}

.kmb-site-template-item-preview-group
  > .kmb-site-template-item-preview
  .kmb-site-template-item-inner-btn-group
  > .kmb-site-template-item-edit-btn {
  background: #231a50;
  color: #fff;
  border: 1px solid #231a50;
}

.kmb-site-template-item-preview-group
  > .kmb-site-template-item-preview
  .kmb-site-template-item-inner-btn-group
  > .kmb-site-template-item-view-btn {
  background: #fff;
  color: #231a50;
  border: 1px solid #918da8;
}

.kmb-site-template-item .kmb-site-template-item-name {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.0015em;
}

.kmb-footer {
  color: #f6f5f8;
  background: rgb(35, 26, 80);
  font-size: 1rem !important;
  padding-top: 4rem;
}

.kmb-footer * {
  color: #f6f5f8;
}

.error {
  line-height: 120%;
  color: #f24c57;
}

.kmb-content .h5,
.kmb-content .h6 {
  font-size: 1.25rem;
  margin: 0;
}

.kmb-footer .footer-menu {
  padding: 0;
}

.kmb-footer .footer-menu li {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.kmb-footer .footer-menu li a {
  line-height: 125%;
  color: #fff;
  text-decoration: none;
}

.kmb-footer .footer-menu li a:hover,
.kmb-footer .kmb-bottom-footer-row a:hover {
  color: #00ffc3 !important;
}

.footer-additional-menu li {
  margin-right: 30px;
}

.kmb-footer .kmb-bottom-footer * {
  color: #bdbaca !important;
}

.kmb-footer .welcome-input-form .welcome-input {
  width: 100%;
  position: relative;
}

.kmb-footer .welcome-input-form input {
  font-size: 1.1rem;
  padding: 0.8rem 40% 1rem 2rem;
  border: 4px solid rgb(81, 69, 135);
  line-height: 120%;
  transition: 1s;
  width: 100%;
  height: 58px;
  background: transparent;
  border-radius: 100px;
}

.error-input {
  border-color: #f24c57;
}

.error-button {
  background-color: #f24c57 !important;
}

.welcome-input input::placeholder {
  color: #fff;
}

.kmb-footer .welcome-input-form .btn-submit {
  color: rgb(35, 26, 80);
  background: rgb(224, 205, 255);
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  padding: 0.6rem 2.5rem 0.7rem;
  border: none;
  outline: none;
  border-radius: 30px;
  cursor: pointer;
}

.kmb-footer .welcome-input-form .btn-submit:hover {
  color: #ffacdf !important;
  background-color: #fff !important;
}

.kmb-footer-social-content {
  margin-top: 30px;
}

.kmb-footer-social-networks {
  padding: 0;
  margin: 0;
}

.kmb-footer-social-networks > li {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

div#form-modal {
  display: none;
}

.kmb-site-template-view-details-section .kmb-site-template-label.kmb-site-template-faq-label {
  font-size: 20px;
  margin-bottom: 12px;
}

.template-faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.template-faq-question,
.template-small-label {
  font-family: Vary-Bold, sans-serif;
  font-size: 18px;
  margin-bottom: 12px;
}

.template-normal-label {
  font-family: Vary-Regular, sans-serif;
  font-size: 18px;
  margin-bottom: 12px;
}

.template-faq-answer {
  font-size: 16px;
}

.kmb-site-template-important-pages-label,
.kmb-site-template-additional-info-label,
.kmb-site-template-key-features-label {
  margin-bottom: 24px;
}

.kmb-site-template-additional-info-value,
.kmb-site-template-key-features-value,
.kmb-site-template-important-pages-value,
.kmb-site-template-faq-value {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kmb-site-template-view-details-section summary > * {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kmb-site-template-view-details-section details[open] p {
  margin-bottom: 12px;
}

.kmb-site-template-view-details-section details summary::marker,
.kmb-site-template-view-details-section :is(::-webkit-details-marker) {
  content: '';
}

.kmb-site-template-view-details-section details summary h3::before {
  transition: all 0.3s ease;
  border-top-style: solid;
  border-top-width: 2px;
  border-right-style: solid;
  border-right-width: 2px;
  content: '';
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
}

.kmb-site-template-view-details-section details[open] summary h3::before {
  transform: rotate(90deg);
}

@media (min-width: 1280px) {
  .mh-lg-15rem {
    max-height: 15rem;
  }
}

@media (min-width: 992px) {
  .col-lg-6 {
    width: 50%;
  }

  .flex-lg-row {
    flex-direction: row !important;
  }

  .flex-lg-column {
    flex-direction: column !important;
  }

  .align-items-lg-start {
    align-items: flex-start !important;
  }

  .justify-content-lg-start {
    justify-content: flex-start !important;
  }

  .text-lg-start {
    text-align: left !important;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-6 {
    width: 50%;
  }
}

@media screen and (max-width: 1540px) {
  .kmb-site-template-mobile-view .kmb-site-template-iframe-container {
    margin-top: 30px;
    width: 300px;
    height: 600px;
  }

  .kmb-site-template-mobile-view #preview-iframe {
    max-width: calc(100% - 40px);
    max-height: 350px;
    margin: auto;
    margin-top: 35px;
  }
}

@media screen and (max-width: 1200px) {
  .kmb-site-template-view-tool-bar-label {
    font-size: 10px;
  }
}

@media screen and (max-width: 991px) {
  .kmb-site-template-view-tool-bar-label {
    display: none;
  }

  .kmb-footer-social-networks {
    margin-top: 20px;
  }
}

@media screen and (max-width: 540px) {
  .kmb-site-template-view-edit-btn {
    font-size: 13px;
    padding: 10px 15px;
  }

  .kmb-site-template-preview-placeholder {
    max-width: 100%;
  }

  .kmb-site-template-view-type > li button svg {
    width: 18px;
    height: 14px;
  }

  .kmb-site-template-view-type > li button.mobile-view-btn svg {
    width: 12px;
    height: 20px;
  }
}

.kmb-site-template-view-type > li button svg {
  width: 20px;
  height: 16px;
}

.kmb-site-template-view-type > li button.mobile-view-btn svg {
  width: 14px;
  height: 22px;
}