html {
  min-width: 250px;

}

*,
html {
  /* scroll-behavior: smooth !important; */

}

.back-to-top:hover {
  background: #005cb8;
}

.progress-spinner.progress-spinner-double .progress-spinner-inner:after {
  border-color: #008055 transparent transparent #008055;
}

.divider {
  border: 1px solid white !important;
  height: 32px;
}

.divider-blue {
  border: 1px solid #1c61c9 !important;
  height: 32px;
}

.it-footer section {
  padding: 0 16px;
}

@media (min-width: 1199px) {
  .it-footer section {
    padding: 0 16px;
  }
}

@media (min-width: 992px) {
  .it-footer section {
    padding: 0 16px;
  }
}

@media (min-width: 768px) {
  .it-footer section {
    padding: 0 16px;
  }
}


footer .nav-image {
  width: 306px !important;
  height: 49px !important;
}

.login:hover,
.user:hover {
  text-decoration: none !important;
}

.underline-on-hover:hover {
  text-decoration: underline !important;
}

.enlargeImageDiv {
  display: flex;
  background: whitesmoke;
  overflow: hidden;
  position: fixed;
  top: 2%;
  left: 2%;
  width: 96%;
  height: 96%;
  margin: auto;
  z-index: 5;

  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;


  #workflowDiv {
    width: 95%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    background: white;
  }

  #workflowRight {

    background: whitesmoke;
  }


  .enlargeImage {
    width: 100%;
    height: auto;
    background-color: white;
    position: absolute;
  }

  #workflowImg {
    cursor: move;
    /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
  }

  /* (Optional) Apply a "closed-hand" cursor during drag operation. */

  #workflowImg:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
  }
}

#workflowBottom {
  display: none;

  #zoomOutDiv > * {
    margin-right: 20px;
  }
}

@media (max-width: 576px) {
  .enlargeImageDiv #workflowBottom {
    background: whitesmoke;
    height: 7%;
    left: 0px;
    top: 93%;
    width: 100%;
    position: absolute;
    display: flex !important;
  }

  .enlargeImageDiv #workflowRight {
    display: none;
  }

  .enlargeImageDiv #workflowDiv {
    width: 100%;
  }
}


#workflowContainer {
  display: flex;
}

#workflowContainer svg text {
  user-select: none;
}

#workflowLeft {
  width: 95%;
  height: 100%;
  overflow: hidden !important;
}

#workflowRight {
  width: 5%;
  min-width: 50px;
  height: 100%;
  z-index: 0;


  #zoomOutDiv > * {
    margin: 5px auto;
  }
}

.notification {
  bottom: unset;
}

.form-group {
  margin-right: 20px;
  position: sticky !important;
  /* Adjust the value as needed */
}

.form-group .select-wrapper select {
  width: 100%;
  /* Set the select width to 100% */
}

.clean-input {
  display: none
}


.it-footer .logo-wrapper {
  gap: 0px;
  margin-bottom: 24px;
  margin-top: 24px;
}

#footer-div-agenas {
  justify-content: flex-start !important;
}

.nav-link {
  color: #14458f !important;
  text-decoration: none !important;
  height: 100%;
}

.menu-portal a.show {
  background: #1c61c9;
  color: white !important;
}

.menu-portal a.show svg {
  fill: #fff !important;
  transform: rotate(-90deg);

}

.it-header-center-wrapper .nav-item svg {
  stroke-width: 1;
  stroke: #14458f;
}

.close-div button {
  box-shadow: none !important;
}

.menu-portal .nav-link:hover {
  background-color: #1c61c9;
  color: white !important;
}

.menu-portal .nav-link:hover svg {
  fill: white !important;
}

.replyinput {
  width: 80% !important;
}

.accessibilityLink:hover {
  text-decoration: underline !important;
}

.menu-portal .link-list a {
  text-decoration: none !important;
  color: #0059b3;
}

.menu-portal .link-list a:hover {
  text-decoration: underline !important;
  color: #0059b3 !important;
}

.close-div {
  right: 2px !important;
  left: auto !important;
  top: 24px !important;
  position: fixed !important;
}

.is-sticky .showsticky {
  display: block !important;

}

.is-sticky #aHeaderLogo {
  display: none !important;
}

.container-fluid {
  --bs-gutter-x: 32px;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1199px) {
  .replyinput {
    width: 70% !important;
  }
}

@media (min-width: 992px) {
  .it-header-slim-wrapper-content {
    padding: 0px 30px !important;
  }

  #idNavBar {
    padding-left: 51px;
  }

  .navbar .dropdown-menu:before {
    display: none !important;
  }


  #comments {
    min-height: 500px;
  }

  .left-sidebar-scroll {

    height: calc(100vh - 226px);
    overflow-y: auto;
  }

  .menu-portal a.show {
    background: #0059b3;
    color: white !important;
  }

  .navbar .navbar-collapsable .menu-wrapper {
    z-index: 1;
  }
}

@media (max-width: 991.98px) {
  header.is-sticky .it-header-navbar-wrapper {
    top: 20px !important;
  }

  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    top: 20px !important;
  }

  #megamenu .dropdown:hover > .dropdown-menu {
    background: white !important
  }

  #megamenu {
    margin-top: 85px;
  }

  #idNavBar {
    padding-right: 0px !important;
    margin-right: 0px !important;
  }

  header .nav-link span {
    font-weight: 600 !important;
  }

  .login-btn {
    padding-bottom: 5px;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 10px 0 !important;
    justify-content: center !important;
  }

  footer .nav-image {
    height: 42px !important;
  }

  footer .nav-image-text {
    font-size: 0.8rem;
  }

  .menu-portal {
    padding-top: 24px !important;
    inset: 0 48px 0 0 !important;
    line-height: 1.5;
  }

  .navbar .navbar-collapsable .menu-wrapper .navbar-nav {
    padding-top: 0px !important;

  }

  .menu-portal .nav-link:hover {
    background-color: #1c61c9;
    color: white !important;
  }

  .expandable-item {
    position: relative;
  }

  .hamburger-expand-icon {
    padding: 0 4px;
    width: 32px !important;
    position: absolute;
    right: 16px;
  }
}

@media (max-width: 767.98px) {
  #updateddate {
    font-size: 0.8rem !important;
  }

  #footer-div-agenas {
    justify-content: center !important;
  }

  /*#toplogin {*/
  /*  display: none !important;*/
  /*}*/
  #megamenu {
    padding-top: 5px;
  }
}

@media (min-width: 768px) {
  #footer-bottom {
    height: 65px !important;
  }
}

@media (max-width: 576px) {
  .form-group {
    width: 100% !important;
  }

  .navloginbutton {
    height: 30px !important;
    padding-right: 15px !important;
    padding-left: 8px !important;

  }

  .replyinput {
    width: 65% !important;
  }

}

@media (min-width: 769px) {
  #navlogin {
    display: none !important;
  }
}

@media (min-width: 768px) and (min-height: 930px) {
  #stickybottom {
    position: absolute;
    width: 100%;
    bottom: 0px;
  }
}

@media (max-width: 507px) {
  #updateddate {
    font-size: 0.7rem !important;
    padding-right: 0px !important;
  }

}

@media (max-width: 440px) {
  #navlogin {
    font-size: smaller !important;
  }

}

.menu-portal .nav-item:hover svg,
.menu-portal .nav-item:focus svg {
  fill: white !important;

}

.it-footer-main .it-brand-wrapper {
  padding: 32px 0;
}

.view {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: left
}

#megamenu .dropdown:hover > .dropdown-menu {
  display: block;
}


#megamenu .dropdown:active {
  background: #0059b3 !important;
  color: white !important;
}


#megamenu .dropdown > .dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
  pointer-events: none;
}


#megamenu .dropdown-menu {
  margin-top: 0px !important;
}


.it-header-wrapper .navbar .navbar-collapsable .navbar-nav li a.nav-link {
  padding: 0.71rem 1.33rem;
}

.it-header-wrapper .navbar .navbar-collapsable .navbar-nav li {
  margin-left: 5px;
  margin-right: 5px;
}

.it-header-wrapper.it-header-sticky.is-sticky {
  z-index: 1 !important;
}

#footer-bottom {
  background-color: #0d2c5a;
  min-height: 50px;
  padding-top: 9px;
  padding-bottom: 9px;
}


#embeddedMessagingConversationButton {
  bottom: -80px !important;
}

.embeddedMessagingFrame {
  max-height: 95vh !important;
  z-index: 10000 !important;
  bottom: 5px !important;
}

.customdimension[c-lwc_MessagePreChat_lwc_MessagePreChat] {
  width: 100vw !important;
  height: 80vh !important;
  overflow-y: auto;
}

.alink {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-decoration: underline;
}

.it-footer-small-prints {
  background-color: #0d2c5a;
  min-height: 64px;
  font-size: 16px
}

.it-footer-small-prints ul.it-footer-small-prints-list {
  padding: 1rem .5rem
}

a:hover, .test:hover {
  text-decoration: underline
}

a.web {
  height: 34px !important;
  text-decoration: underline;
}

.last-item a {
  text-decoration: underline;
}

.h6-like {
  font-size: 18px !important;
  font-style: normal;
  font-weight: 600;
  line-height: 24px
}

.assistanceHeader {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  text-align: left !important
}

.view {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: left
}

.it-footer-main .it-brand-wrapper a {
  gap: 16px
}

#footer ul li span {
  color: #fff;
  font-weight: 600;
  cursor: pointer
}

.border-left {
  border-left: 1px solid #06c;
  padding-left: 10px;
}

.table-xs {
  font-size: medium;
}

.table-xs tr {
  vertical-align: middle;
}


#workflowImg {
  max-width: unset;
}

#workflowImg svg {
  width: 100%;
  height: 100%;
}

svg .djs-children .djs-group .djs-element[data-element-id^="Activity"] rect:hover {
  fill: rgb(0 127 255 / 21%) !important;
  cursor: pointer;
}

.form-group label {
  z-index: 0;
}

aside .sticky-top {
  top: 160px;
}


.modal .modal-dialog .modal-content .modal-body p:not(.cmp-upload__info) {
  font-weight: unset;
}

@media (max-width: 575px) {
  .modal.it-dialog-scrollable .modal-dialog {
    margin: 104px 6px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .modal.it-dialog-scrollable .modal-dialog {
    margin: 104px auto;
  }
}


.modal-xl {
  --bs-modal-width: 95%;
}

.subtask-section-container img {
  max-width: -webkit-fill-available;
  height: auto;
}

.pathenter {
  cursor: pointer !important;
  stroke-width: 15px !important;
  stroke: rgb(0 127 255 / 21%) !important;
  stroke-opacity: 1 !important;
}

.CodeMirror-wrap {
  height: fit-content !important;
}

.CodeMirror.cm-s-eclipse {
  height: fit-content;
}

#input-group-1:focus {
  z-index: 0;
}

#searchButton:focus,
#searchButton:hover {
  z-index: 0;
}

@media (min-width: 992px) {
  .custom-submenu {
    width: 13rem !important;
  }
}

@media (max-width: 767.98px) {
  .web {
    padding-bottom: 3em
  }

  .it-footer-main .it-brand-wrapper {
    padding: 15px 0
  }

  .it-footer-main {
    margin-top: 100px
  }

  .it-brand-wrapper a {
    display: inline-block;
    margin: 0 10px
  }

  .it-brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-top: 1rem;
    margin-bottom: 1rem
  }

  .it-brand-wrapper a {
    display: block;
    margin: 10px 0
  }

  .it-brand-wrapper .divider {
    display: none
  }

  .row.clearfix {
    margin-bottom: 0
  }
}

@media (max-width: 1199px) {
  .logopnt {
    width: 265.38px !important;
    height: 40px !important
  }
}

@media (max-width: 762px) {
  .logoUnioneEuropea {
    width: 202.03px !important;
    height: 50px !important
  }

  .logoMinistero {
    width: 150.29px !important;
    height: 60px !important
  }

  .logopnt {
    width: 179.71px !important;
    height: 30px !important
  }

  .logoministeria {
    width: 216.79px !important;
    height: 40px !important
  }

  .logoItaliadomani {
    width: 170.59px !important;
    height: 50px !important
  }

  .col-sm-7 .it-brand-wrapper {
    margin-top: 2rem;
    margin-bottom: .5rem
  }
}

@media (min-width: 763px) {
  .logoUnioneEuropea {
    width: 181.82px !important;
    height: 35px !important
  }

  .logoMinistero {
    width: 120.23px !important;
    height: 40px !important
  }

  .logoministeria {
    width: 162.6px !important;
    height: 30px !important
  }

  .logoItaliadomani {
    width: 143px !important;
    height: 42px !important
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .col-sm-7 {
    position: relative;
    flex: 0 0 auto;
    width: 58.33333333%
  }

  .logopnt {
    width: 180.4px !important;
    height: 30px !important
  }

  .logoUnioneEuropea {
    width: 181.82px !important;
    height: 35px !important
  }

  .logoMinistero {
    width: 120.23px !important;
    height: 40px !important
  }

  .logoministeria {
    width: 162.6px !important;
    height: 30px !important
  }

  .logoItaliadomani {
    width: 143px !important;
    height: 42px !important
  }
}

.it-header-slim-wrapper {
  padding: 8px 16px;
}

.nav-image {
  height: 30px;
}

.address-footer {
  font-weight: 400 !important;
}

.it-header-navbar-wrapper {
  height: 76px;
}

.login-wrapper {
  padding-right: 14px;
  display: flex;
  justify-content: right;
  align-items: center;
}

.username-logout {
  color: #06c
}

@media (max-width: 360px) {
  .topbar-home {
    font-size: 14px;
  }
}

@media (min-width: 361px) and (max-width: 390px) {
  .topbar-home {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .ministry-title, .agenas-large, .pnt-logo-large {
    display: none !important;
  }

  .user-name {
    display: none !important;
  }

  .custom-navbar-toggler {
    margin-right: 8px;
  }

  .container-fluid {
    padding-left: 0;
  }

  .breadcrumb-wrapper {
    margin-top: 48px;
  }

  .reserved-area-nav {
    display: none;
  }

  .logo-group-wrapper {
    width: 100%;
  }

  .section-wrapper {
    padding-top: 24px;
    border-top: 1px solid #FFFFFF;
  }
}

@media (min-width: 768px) {
  .agenas-small, .pnt-logo-small {
    display: none;
  }

  .reserved-area-topbar {
    display: none;
  }

  .user-name {
    display: inline;
  }

  .custom-navbar-toggler {
    margin-right: 16px;
  }

  .footer-logos-wrapper {
    display: flex;
    flex-direction: column;
  }

  .logo-group {
    display: flex;
    flex-direction: row;
  }

  .breadcrumb-wrapper {
    margin-top: 32px;
  }

  .username-logout {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .logo-group-wrapper {
    width: 100%;
  }

  .it-footer-main .it-brand-wrapper {
    justify-content: space-between !important;
  }

  .logoUnioneEuropea {
    width: auto !important;
    height: 35px !important
  }

  .btn-full {
    max-width: 180px;
    text-overflow: ellipsis;
  }
}

@media (min-width: 992px) {
  .topbar-home {
    font-size: 18px;
    padding-right: 30px;
  }

  .it-header-navbar-wrapper {
    height: 88px !important;
  }

  .custom-space-menu {
    position: absolute;
    top: 88px;
    left: -16px;
    background: #e8effa;
    width: calc(100% + 16px);
  }

  .dropdown-arrow {
    position: absolute;
    top: -6px;
    left: 24px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    transform: rotate(45deg);
    border-radius: 2px;
  }

  .nav-image {
    height: 40px;
  }

  .btn-full {
    padding: 12px 12px !important;
    max-width: 200px;
  }

  .navbar-nav {
    height: 52px;
    width: 100%;
    padding-left: 30px !important;
  }

  .item-title {
    font-size: 14px;
    font-weight: 600;
  }

  .nav-item {
    margin: 0 1px !important;
  }

  .it-header-wrapper .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    padding: 0 12px;
  }

  .it-header-wrapper .navbar .navbar-collapsable .navbar-nav li a.nav-link:hover {
    text-decoration: underline !important;
  }

  .it-header-center-content-wrapper {
    padding-left: 14px;
  }

  .it-header-slim-wrapper .it-header-slim-wrapper-content {
    height: 100%;
  }

  .footer-logos-wrapper {
    flex-direction: row;
  }
}

@media (min-width: 1200px) {
  .it-header-wrapper .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    padding: 0 20px;
  }

  .item-title {
    font-size: 16px;
  }

  .btn-full {
    max-width: 220px;
  }

  .logoUnioneEuropea {
    width: auto !important;
    height: 45px !important
  }

  .logoMinistero {
    width: auto !important;
    height: 48px !important
  }

  .logoItaliadomani {
    width: auto !important;
    height: 45px !important
  }

  .logopnt {
    width: auto !important;
    height: 40px !important
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .logoUnioneEuropea {
    width: auto !important;
    height: 35px !important
  }

  .logoMinistero {
    width: auto !important;
    height: 40px !important
  }

  .logoministeria {
    width: auto !important;
    height: 30px !important
  }

  .logoItaliadomani {
    width: auto !important;
    height: 42px !important
  }

  .logopnt {
    width: auto !important;
    height: 30px !important
  }
}

.link-list-wrapper ul li a, .link-list-wrapper ul li a span {
  text-decoration: underline !important;
}

footer a.list-item.alink {
  display: inline;
}

.navbar .navbar-collapsable .navbar-nav li a.nav-link.dropdown-toggle[aria-expanded=true] .icon {
  transform: none;
}

.chip {
  background-color: white;
}

.chip .chip-label {
  color: #06c;
  cursor: default;
  word-break: break-word
}

.chip-in-consulting {
  background-color: #a732c7 !important;
  border-color: #a732c7 !important;
}

.div-h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  margin-top: 0;
  margin-bottom: 8px;
}

.form-control::placeholder {
  color: black !important;
  opacity: 1;
}

/* style for comment form, resolving accessibility problem */
.sub-comment-input {
  border: 1px solid #4a4a4a;
  color: #333;
  padding: 4px;
  background-color: transparent;
}

.sub-comment-input:focus {
  border: 1px solid #0056b3;
  box-shadow: 0 0 2px 1px rgba(0, 86, 179, 0.5);
  outline: none;
}

.btn-outline-primary {
  color: #0056b3;
  border-color: #0056b3;
}

.btn-outline-primary:hover {
  background-color: #0056b3;
  color: #fff;
}

/* end of style for comment form */

.action-link {
  margin: auto;
  opacity: 70%;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;


}

.bottom-link {
  color: white !important;
  font-weight: 600;
  font-size: 16px !important;
  text-decoration: underline !important;
  cursor: pointer;
}

.white {
  color: white !important;
}

.hide {
  display: none !important;
}

.user-image {
  height: 24px;
  width: 24px;
}

.login-button {
  background: #71e8e8;
  height: 44px;
  border-radius: 25px;
  padding: 16px 14px;
  text-wrap: nowrap;
  height: 44px;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 130px;
}

.login-button:hover {
  background: #71e8e8 !important;
}

.login-text {
  color: #036;
  margin-left: 10px;
  font-weight: 700;
}

.chatbot-btn {
  width: 217px;
  height: 30px;
  color: #191919;
  font-size: 18px;
  padding: 2px 5px;
  font-weight: 500;
  cursor: auto;
  background-color: white;
}

.chatbot-btn:hover {
  background-color: white;
  color: #191919;

}

.terminology-chip {
  background-color: #0066CC !important;
  color: white !important;
}

.terminology-chip:hover {
  background-color: #0066CC !important;
  color: white !important;
}

.nav-link--active {
  color: white !important;
  background: #1c61c9
}

.nav-link--active svg {
  fill: white !important;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .terminologies-row {
    padding: 0 !important;
  }
}

@media (min-width: 361px) and (max-width: 767px) {
  .terminology-table-first-row {
    width: 25% !important;
  }

  .terminology-table-second-row {
    width: 50% !important;
  }
}

.div-italic p {
  font-style: italic;
}

.remove-border-top {
  border-top: none;
}

.remove-border-bottom {
  border-bottom: none;
}

.remove-side-borders {
  border-left: none;
  border-right: none;
}

.table-header {
  background-color: #F4F4F4;
}

@media (max-width: 767px) {
  .terminologies-table {
    display: none;
  }

  .terminology-small-screen-cards {
    width: 100%;
  }

  .terminology-small-screen-card {
    border-radius: 8px;
    width: 100%;
    min-height: 120px;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid grey;
  }
}

@media (min-width: 768px) {
  .terminology-small-screen-cards {
    display: none;
  }
}

.lang-buttons {
  display: inline-flex;
  gap: 4px;
  margin-left: 8px;
  white-space: nowrap;
  vertical-align: baseline;
}

.lang-btn {
  background-color: #eee;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #333;
  cursor: default;
}

.lang-btn.active {
  background-color: #ccc;
  font-weight: bold;
}

.w-120px {
  width: 120px;
}

.fit-content {
  width: fit-content !important;
}

.usage-context-modal {
  background-color: #fff;
  border-radius: 8px;
  width: 50%;
  max-width: 600px;
  min-height: 530px;
  position: relative;
}

@media (max-width: 768px) {
  .usage-context-modal {
    width: 70%;
  }
}

@media (max-width: 425px) {
  .usage-context-modal {
    width: 100%;
  }
}

.usage-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: hidden
}

.usage-modal-body {
  padding: 16px;
  border-radius: 8px;
  min-width: 100%;
  min-height: calc(100% - 30px);
}

.usage-table-wrapper {
  border: 1px solid #aaaaaa;
  border-radius: 8px;
  width: 100%;
  min-height: 50px
}

.add-usage-icon {
  height: 36px;
  border-radius: 8px;
  border: 1px solid #0053A5;
  padding: 4px;
  cursor: pointer;
  color: #0053A5;
  font-size: 14px;
}

.close-modal-button {
  margin: 0;
  padding: 0;
  line-height: 16px;
  font-size: 32px;
  border: none;
  display: flex;
  background: transparent;
  cursor: pointer;
}

.modal-buttons-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  gap: 8px;
  justify-content: end;
  display: flex;
}

.modal-save-button {
  width: 100px;
  height: 36px;
  border: none;
  color: white;
  background-color: #06c;
  border-radius: 8px;
}

.modal-cancel-button {
  width: 100px;
  height: 36px;
  border: 1px solid #06c;
  color: #06c;
  border-radius: 8px;
}

.usage-modal-header {
  width: 100%;
  height: 30px;
  background-color: rgb(244, 244, 244);
  padding: 4px 16px;
  line-height: 24px;
}

.remove-context-icon {
  color: red;
}

/* Custom tooltip */
.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-container .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: small;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ------------ */

.usage-context-select {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 1rem;
  margin-bottom: 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background-color: #fff;
  color: #495057;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23495057" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.usage-context-select:focus {
  border-color: #3f51b5;
  box-shadow: 0 0 0 0.2rem rgba(63, 81, 181, 0.25);
  outline: none;
}

/*Multiselect dropdown*/
.usage-context-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  font-family: sans-serif;
}

.usage-context-dropdown-toggle {
  padding: 8px;
  max-height: 100px;
  overflow: auto;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  user-select: none;
}

.usage-context-dropdown-item {
  cursor: pointer;
  padding: 4px;
}

.usage-context-dropdown-item:hover {
  background-color: #06c;
  color: white;
}

.usage-context-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background-color: #fff;
  display: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
  padding: 5px;
}

.usage-context-dropdown.open .usage-context-dropdown-menu {
  display: block;
}

.usage-context-dropdown-menu label {
  display: flex;
  align-items: center;
  padding: 4px;
  gap: 8px;
  cursor: pointer;
}

.usage-context-dropdown-menu input[type="checkbox"] {
  appearance: checkbox !important;
  display: inline-block !important;
  width: auto !important;
}

.usage-context-dropdown-arrow {
  width: 10px;
  height: 10px;
  border-left: 2px solid black;
  border-bottom: 2px solid black;
  transform: rotate(-45deg);
  margin: 6px;
}

.dropdown-select-all-wrapper {
  display: flex;
  background-color: #f6f6f6;
  padding: 4px;
}

.error-modal {
  z-index: 1001;
  height: 132px;
  transform: translateY(-100px);
  background-color: white;
  position: relative;
  min-width: 200px;
  width: 80%;
  border: 1px solid #06c;
  border-radius: 8px;
  margin: auto;
}

.error-modal-close {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.error-modal-text {
  color: red;
  margin-top: 32px;
  margin-left: 16px;
}

.age-range-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: 24px;
  align-items: center;
}

.age-range-group-wrapper {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.age-range-input {
  padding: 0.5rem !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  height: unset !important;
}

.age-range-select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.dropdown-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  gap: 0.5rem;
  width: 100% !important;
}

.dropdown-search-input {
  flex-grow: 1;
  padding: 4px 8px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  outline: none !important;
  font-size: 14px;
}

.close-dropdown {
  cursor: pointer;
  margin-left: 8px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .preview-table {
    display: none;
  }
}

.mobile-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 12px;
}

.usage-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.usage-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.usage-card-actions {
  min-width: 35px;
}

.usage-card-actions span {
  font-size: 16px;
  cursor: pointer;
}

.usage-card-body {
  margin-top: 6px;
  font-size: 15px;
  color: #333;
}

.modal-loading-spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-loading-spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*.tables-container table.table-striped {*/
/*  --bs-table-striped-bg: #ffffff; !* odd row background *!*/
/*  --bs-table-striped-color: #000000; !* text color of odd rows *!*/
/*}*/

/*.tables-container table.table-striped tbody tr:nth-of-type(even) {*/
/*  background-color: #f5f9fe !important;*/
/*}*/

.tables-container table.table-striped {
  --bs-table-striped-bg: #f5f9fe !important;
}

.tables-container table.table-striped tbody tr:nth-of-type(even) {
  background-color: #ffffff;
}

.tables-container table thead {
  position: relative;
}

.tables-container table thead tr, .tables-container table thead tr th {
  border: none
}

.tables-container table thead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #51636F;
}

.tables-container table tbody::before {
  content: "";
  display: table-row;
  height: 16px;
}

