.navbar-wrapper, .navbar-container {
    height: auto;
    border-bottom-color: #f1f1f1;
}

.maxx.responsivegrid {
    margin-top: 0;
}

@media screen and (max-width: 1023px) {
    .navbar-wrapper {
        height: auto;
        background: #fff;
    }
}

@media screen and (max-width: 1023px) {
    .navbar-container {
        height: auto
    }
}

.vw-100{
    width: 100vw;
}

.portin-footer-wrapper {
    margin-bottom: 40px;
    padding-top: 10px;
}

.portin-footer-wrapper h1, .portin-footer-wrapper h2, .portin-footer-wrapper h3 {
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: normal;
}

.portin-footer-wrapper p {
    font-size: 12px;
    line-height: 16px;
}

.readmore-wrapper {
    padding-bottom: 40px;
    border-bottom: 1px solid #9F9F9F;
}

.readmore-accordion-item {
    overflow: hidden;
}
.readmore-section {
    display: block;
    margin-top: 20px;
}
.readmore-accordion-footer {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #1f1f1f;
}
.readmore-accordion-footer span {
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
    font-size: 12px;
    line-height: 16px;
}
.readmore-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out, padding 0.2s ease-out;
    color: #1f1f1f;
    text-align: left;
}
.readmore-accordion-content.active {
    padding-bottom: 10px;
    padding-top: 8px;
    max-height: 2500px;
    transition: max-height 0.2s ease-in, padding 0.2s ease-in;
}
.readmore-accordion-content p a {
    color: #ff9800!important;
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
}

@media screen and (max-width: 768px) {
    .portin-footer-wrapper {
        padding-left: 0px;
    }
}

/* Registration Popup */
body.modal-open-fixed {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  top: var(--modal-scroll-top, 0) !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

body.modal-open-fixed {
  -webkit-overflow-scrolling: auto !important;
  touch-action: none !important;
}


.modal-content.position-right {
  position: fixed;
  right: 0;
  top: 0;
  overflow-y: scroll;
  width: 428px !important;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out !important;
  margin: 0 !important;
  z-index: 1060 !important;
}

.modal-body.position-right {
  padding: 1rem !important;
  overflow-y: auto;
}

.modal.fade .modal-dialog {
  transition: none !important;
  transform: none !important;
}

.modal.show .modal-content.position-right {
  transform: translateX(0) !important;
}

.modal.fade .modal-dialog.modal-dialog-middle {
  -webkit-animation: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  margin: 0 !important;
  max-width: 100% !important;
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  height: 100vh !important;
  width: 40% !important;
  overflow: hidden !important;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop.fade {
  opacity: 0 !important;
}

.modal-backdrop.show {
  opacity: 0.5 !important;
  transition: opacity 0.3s ease-in-out !important;
}

.modal {
  z-index: 1060;
  overflow: hidden;
}

/* Responsive styles for tablets and smartphones */
@media (max-width: 991.98px) { /* Covers tablets and smaller */
  .modal-content.position-right,
  .modal.fade .modal-dialog.modal-dialog-middle {
    width: 60% !important;
  }
}

@media (max-width: 767.98px) { /* Smartphones */
  .modal-content.position-right,
  .modal.fade .modal-dialog.modal-dialog-middle {
    width: 100% !important;
  }
}
