/* 404 */

/* ==============================
   404 PAGE
============================== */
div#content.page-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12rem 15px 0;
  max-width: 1400px;
  min-height: 80dvh;
  margin: 0 auto;
  text-align: center;
}

div#content.page-404 h1 {
  font-size: 44px;
  line-height: 1.2;
  text-align: center;
}

div#content.page-404 img {
  width: 100%;
  max-width: 600px;
  padding-top: 50px;
}

.error404 .error-btn a {
  width: fit-content;
  display: flex;
  gap: 8px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background-color: #4560e2;
  font-size: 18px;
  line-height: 2.2;
  padding: 8px 34px;
  border-radius: 30px;
  border: 2px solid #4560e2;
  /* FIX: was transition:all */
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.error404 .error-btn a:hover {
  color: #4560e2;
  background-color: transparent;
}

.error404 .error-btn svg path {
  transition: fill 0.3s ease-in-out;
}

.error404 .error-btn a:hover svg path {
  fill: #4560e2;
}

.error404 .error-desc {
  color: #505050;
}

@media screen and (max-width: 767px) {
  div#content.page-404 h1 {
    font-size: 26px;
  }

  div#content.page-404 {
    min-height: 60dvh;
    padding: 120px 15px 90px;
  }

  div#content.page-404 img {
    width: 96%;
    padding: 30px 0;
  }

  .error404 .error-btn a {
    font-size: 16px;
  }
}

@media only screen and (max-width: 1024px) {
  #BorlabsCookieBoxWidget.bottom-left {
    left: 0;
    bottom: 66px !important;
  }
}

/* ==============================
   SCROLL-TO-TOP BUTTON
============================== */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background: var(--brand-gradient);
  border: 1px solid #ffffff3b;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  z-index: 997;
  /* FIX: was transition:all */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(49, 66, 216, 0.35);
  align-items: center;
  justify-content: center;
  will-change: transform;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(49, 66, 216, 0.5);
}

#scrollTopBtn:active {
  transform: scale(0.93);
}

@media (max-width: 1024px) {
  #scrollTopBtn {
    bottom: 90px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

div#content.page-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0px;
    max-width:1350px;
    margin:0 auto;
  }
  
  .error-404.not-found.default-max-width .page-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0px;
  }
  
  div#content.page-404 img{
    max-width:100%;
    padding-top: 50px;
  }
  
  @media only screen and (max-width:1024px){
    /* borlab==begin */
    #BorlabsCookieBoxWidget.bottom-left {
      left: 0;
      bottom: 66px !important;
  }
        /* borlab==end */

    div#content.page-404 {
        padding: 100px 16px;
        text-align: center;
    }

  }
  /* 404 end*/
