/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


@media (max-width: 480px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 900px;
    padding: 0px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 1100px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 1400px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1600px;
  }
}


a {
  color: var(--malachite);
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: var(--text) !important;
}
.widget_links > ul > li > a,
#primary-menu > ul > li > a {
  color: var(--yinmn-blue) !important;
  text-decoration: none;
  background-color: transparent;
}
.site-canvas {
  background-color: var(--anti-flash-white);
}
.stretched {
  background-color: var(--anti-flash-white);
}

.btn-primary {
  background-color: var(--yinmn-blue);
  border-color: var(--indigo-dye);  
}

.btn-primary:hover {
  background-color: var(--alice-blue);
  border-color: var(--indigo-dye);
  color: var(--text);
}

.btn-primary a {
  color: white !important;
}

.btn-primary > a:hover {
  color: var(--text) !important;
}


.btn-disabled {
  color: var(--powder-blue) !important;
  background-color: transparent;
  border-color: var(--powder-blue);
}

.btn-disabled a {
  color: var(--powder-blue) !important;
}

.btn-secondary {
  border-color: white;
}

.btn-success {
  color: #fff !important;
  background-color: var(--malachite);
  border-color: var(--malachite);
}
.btn-success-2 {
  color: #fff !important;
  background-color: var(--yinmn-blue);
  border-color: var(--border);
}

.btn-success-3 {
  color: var(--text) !important;
  background-color: var(--electric-blue);
  border-color: var(--border);
}
.btn-success-4 {
  color: var(--text) !important;
  background-color: var(--columbia-blue);
  border-color: var(--border);
}

.btn-option.selected {
  color: #fff !important;
  background-color: var(--yinmn-blue);
}
.btn-option {
  color: var(--text) !important;
  background-color: var(--alice-blue);
  border: 1px solid var(--border)
}


/*.btn {
  font-weight: 300;
  color: #fff !important;
  background-color: #48D569;
  border-color: #48D569;
}*/

.pricing-title-1 {
  background-color: var(--columbia-blue);
}
.pricing-title-2 {
  background-color: var(--powder-blue);
}
.pricing-title-3 {
  color: white;
  background-color: var(--ucla-blue);
}
.pricing-title-4 {
  color: white;
  background-color: var(--yinmn-blue);
}

.pricing-title > span {
  color: var(--text);
}
.pricing-box {
  
}
.pricing-box2 {
  height: 25rem;
  text-align: center;
  border: 1px solid var(--border);
  
}
.pricing-body {
  height: 28rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.pricing-body > div {
  flex-grow: 1; 
}
.pricing-box-1,
.pricing-price-1 {
  background-color: var(--columbia-blue);
}
.pricing-box-2,
.pricing-price-2 {
  background-color: var(--powder-blue);
}
.pricing-box-3,
.pricing-price-3 {
  color: white;
  background-color: var(--ucla-blue);
}
.pricing-box-4,
.pricing-price-4 {
  color: white;
  background-color: var(--yinmn-blue);
}
.pricing-box-sponsorship {
  background-color: var(--electric-blue);
}
.pricing-features {
  /*height: 10rem;*/
  text-align: left;
  padding-left: 1rem;
}
.pricing-action {
  padding-top: .5rem;
  padding-bottom: 2rem;
  /*display: flex;
  align-self: baseline;
  justify-content: center;*/
}
.authorName {
  font-size: 4vh;
}

.oneLogo {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  color: var(--text);
  background-color: #0CF500;
  display: inline-block;
  border: #A20FC0 solid 1px;
  
  align-items: center;
  justify-content: center;
}
/*
.sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
}*/

.full-height {
  flex: 1;
}


.sidebar-widgets-wrap {
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
  border-style: solid;
  border-color: var(--border); 
  border-width: 1px;
}

.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 35px;
}

.info-box {
  border-style: solid;
  border-color: var(--border);
  border-width: 1px;
  border-radius: 10px;
  background-color: white;
  padding: 1rem;
  box-sizing: border-box; 
}

.info-box-trasparent {
  border-style: solid;
  border-color: white;
  border-width: 1px;
  border-radius: 10px;
  background-color: white;
  padding: 1rem;
  box-sizing: border-box; 
}

.dimension {
  width: auto;
  border-style: solid;
  border-color: var(--border); /*#aab2d0; */
  border-width: 1px;
  border-radius: 10px;
  background-color: white;
}
.dimension:hover {
  border-color: var(--electric-blue);
  border-width: 2px;
  
} 
.toggle-button > i {
  color: var(--text);
  font-size: .5rem;
  border: solid 1px var(--border);
  padding: 3px 6px;
  border-radius: 5px;
  rotate: 90deg;
}
.toggle-button > i:hover {
  cursor: pointer;
  font-size: .6em;
  color: white;
  background-color: var(--yinmn-blue);
}

.dimension-expanded {
  padding: .5em;
  border-style: solid;
  border-color: var(--border);
  border-width: 1px;
  border-radius: 10px;
  background-color: white;
}
.dimension-expanded > div > div > h1,
.dimension-expanded > div > h2 {
  /*color: var(--electric-blue);*/
}

.dimension-expanded > div > div > h3 {
  /*color: white;*/
}

.dimension-expanded > div > div > div > p {
  /*color: white;*/
}
.dimension-expanded > div > div > i {
  color: var(--text);
  font-size: 1rem;
  border: solid 1px var(--text);
  padding: 0 5px;
  border-radius: 5px;
}
.avatar-image {
  /*height: auto;*/
  height: 7rem;
  width: 100%;
  border-radius: 15px; 
  padding: 0px 5px; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.responsive {
  max-width: 100%;
  height: auto;
}

.chart-container {
  color: var(--text);
  background-color: white;
  border-radius: 10px;
  padding: 1em;
}
.data-box0 {
  /*color: white;*/
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
}
.data-box-sponsorship {
  background-color: var(--malachite);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
}
.data-box1 {
  color: white;
  background-color: var(--yinmn-blue);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
}

.data-box1 > h4,
.data-box1 > div > h3,
.data-box1 > div > div > h3,
.data-box1 > div > div > i,
.data-box1 > div > h4,
.data-box1 > div > div > div > h4,
div.togglec > div > div > h4,
div.togglec > div > div > div > h4,
div.togglec > div > div > div > div > h4,
.data-box1-extended > div > div > h4 {
  color: white;
}

.data-box2 {
  color: var(--text);
  background-color: var(--alice-blue);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
}

.data-box3 {
  color: var(--text);
  background-color: var(--columbia-blue);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
}

.data-box4 {
  color: white;
  background-color: var(--ucla-blue);  
  border: solid 1px var(--border); /*#2A7886*/
  border-radius: 10px;
  padding: 1em;
}

.data-box4 > h4,
.data-box4-extended > div > div > h4 {
  color: white;
}

.data-box5 {
  color: white;
  background-color: #2A7886;  
  border: solid 1px var(--border); /*#2A7886*/
  border-radius: 10px;
  padding: 1em;
}

.data-box5 > h4,
.data-box5-extended > div > div > h4 {
  color: white;
}


.data-box1-extended {
  color: white;
  background-color: var(--yinmn-blue);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
  height: 15em;
}

.data-box2-extended {
  color: var(--text);
  background-color: var(--alice-blue);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
  height: 15em;
}

.data-box3-extended {
  color: var(--text);
  background-color: var(--columbia-blue);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
  height: 15em;
}

.data-box4-extended {
  color: white;
  background-color: var(--ucla-blue);
  border: solid 1px var(--border);
  border-radius: 10px;
  padding: 1em;
  height: 15em;
}
.data-box1-extended > div h4, 
.data-box2-extended > div h4, 
.data-box3-extended > div h4,
.data-box4-extended > div h4 {
  padding-top: 1.1em;
  padding-left: 5px;
  margin-bottom: .5em;
}

.data-box1-extended > div ol li, 
.data-box2-extended > div ol li, 
.data-box3-extended > div ol li,
.data-box4-extended > div ol li {
  font-size: .8em;
  padding-left: 3px;
  list-style-type: decimal;
}

.list-box {
  overflow-y: scroll;
  max-height: 8.5em;
  padding-left: 1rem;
  padding-right: .5rem;
}

.data-box1-extended > div ol li a, 
.data-box2-extended > div ol li a, 
.data-box3-extended > div ol li a,
.data-box4-extended > div ol li a {
  color: var(--electric-blue) !important;
}

.sponsorship-counter {
  font-size: 3.5rem;
  line-height: 4rem;
  padding: 1.7rem;
}

div.sponsorship-links a {
  color: var(--yinmn-blue) !important;
  background-color: var(--electric-blue);
}


.inbox-notification {
  color: white;
  text-decoration: none;
  padding: 15px 26px;
  position: relative;
  display: inline-block;
}

.inbox-notification .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 7px 6px 7px;
  border-radius: 50%;
  background: var(--malachite);
  color: white;
}

.modal-header {
  background-color: var(--yinmn-blue);
}
.modal-title {
  color: white;
}
.modal-body > div > div > p > a{
  font-size: 1rem;
  font-weight: 300;
}
.add-indicator {
  cursor: pointer;
  align-self: center;
}

.data-label {
  border-color: var(--border);
  border: 1px;
  border-style: solid;
  border-radius: 5px;
}

#supradimensionsChart {
  min-height: 40vh;
  border-radius: 10px;
}

.oneIndex {
  font-size: 2rem;
}

.oneIndexSmall {
  color: #2D5583; 
  text-shadow: 1px 1px 2px #B6E2EB; 
  font-size: 1.3em; 
  border: 2px solid #77C190;
   cursor:default;
}


.oneIndex_old {
  margin-top: 20px;
  height: 200px;
  width: 200px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  /*border: #7913f6ff  solid 3px;*/
  z-index: 500;
}
.outerring {
  /*align-items: center;*/
  height: 240px;
  width: 240px;
  border-radius: 50%;
  display: inline-block;
  background-image: linear-gradient(120deg, #0ae7ffff, #0069fdff, #7913f6ff);
  z-index: -200;
}
.innerring {
  margin-top:0px;
  height: 200px;
  width: 200px;
  background-color: transparent;
  border-radius: 50%;
  display: inline-block;
  border: #A20FC0 solid 3px;
}
.grade-xxlarge {
  /*color: var(--highlight1);*/
  font-size: 6.4em;
  font-weight: 700;
  margin-bottom: 0px;
  line-height: 6rem;
  text-align: right;
  /*-webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: whitesmoke;*/
}
.grade-large {
  /*color: var(--highlight1);*/
  font-size: 3.4em;
  font-weight: 700;
  margin-bottom: 0px;
  line-height: 3.4rem;
  text-align: right;
  /*-webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: whitesmoke;*/
}
.contribution {
  display: block;
  font-size: 1.5em;
  font-weight: 300;
  text-align: right;
}
.badge-keyword {
  font-size: 1em;
  margin: 3px;
  background-color: var(--alice-blue);
  color: var(--text);
  border-radius: 5px;
  border-color: transparent;
}
.badge-keyword:hover {
  background-color: var(--yinmn-blue);
  color: white;
}
.badge-senior {
  padding: 3px 5px;
  font-size: 1.2em;
  background-color: var(--malachite);
  color: var(--text);
  border-radius: 5px;
}
.badge-info {
  padding: 3px 5px;
  font-size: 1em;
  font-weight: 300;
  background-color: var(--electric-blue);
  color: var(--text);
  border-radius: 5px;
}
.badge-info:hover {
  background-color: var(--columbia-blue);
  color: var(--text);
  cursor: pointer;
}
.badge-keyword-danger {
  font-size: 1em;
  margin: 3px;
  background-color: red;
  color: white;
  border-radius: 5px;
  border-color: transparent;
}
.badge-keyword-danger:hover {
  border: solid 3px #ccc;
}

p {
  font-size: 1.3em;
}
ul {
  font-size: 1.3em;
}

ol {
  list-style-type: none;
  counter-reset: elementcounter;
}
.dimensionScore {  
  font-weight: 700;
  font-family: 'Titillium+Web', sans-serif;
  font-size: 5em;
}


.indicator-list li {
  font-size: 1.2em;
  display: inline-block;
}
.line {
  border-color: #aab2d0;
  border-width: .5px;
  border-style: dashed;
}

.section {
  /*background-color: #DBE4EE;*/
  border-radius: 10px;
}


#button-upgrade {
  background-color: var(--yinmn-blue);
  color: white !important;
  text-transform: none;
  text-shadow: none;
}
#button-upgrade:hover {
  background-color: var(--anti-flash-white);
  color: var(--text) !important;
}

#button-dismis {
  background-color: var(--columbia-blue);
  text-transform: none;
  text-shadow: none;
}

div textarea {
  box-sizing: border-box;
  max-width: 90%;
}

.feedback {
  width: 100%;
  font-weight: 300;
  /*color: white;*/
  background-color: white;
  border-radius: 10px;
  border: solid #aab2d0 1px;
}

#dimDescription {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;        /* Required for line clamping */
  -webkit-line-clamp: 3;       /* Number of lines to show */
  -webkit-box-orient: vertical; /* Required for line clamping */
  line-height: 1.5;            /* Adjust based on your font and spacing needs */
  max-height: calc(1.5em * 3); /* Control the maximum height based on line count */
}

textarea {
  border-style: dashed;
  border-radius: 10px;
  border-color: #aab2d0;
}

.button-feedback {
  background-color: #0AE7FF !important;
  text-transform: none;
  text-shadow: none;
  color: var(--text) !important;
}

.chartable {
  cursor: pointer;
}

div[id$="extraTallChart"] {
  height: 60vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}


div[id$="tallChart"] {
  height: 45vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

div[id$="lgChart"] {
  height: 35vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

div[id$="mdChart"] {
  height: 28vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

div[id$="smChart"] {
  height: 15vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

/* Chart size classes */

.extraTallChart {
  height: 70vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.tallChart {
  height: 45vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.lgChart {
  height: 35vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.mdChart {
  height: 28vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.smChart {
  height: 12vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.xsChart {
  height: 12vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.mdAppChart {
  min-height: 250px !important;
  height: 25vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
}
.plotting {
  font-size: .8rem;
  color: #F0002C;
}

.not-plotting {
  font-size: .8rem;
  color: var(--text);
}

.dimension-image {
  max-height: 14vh;       /* Limits height relative to viewport */
  width: 100%;            /* Makes the SVG scale to its container */
  height: auto;           /* Keeps aspect ratio */
  display: block;         /* Removes bottom whitespace on inline SVGs */
  object-fit: contain;    /* Ensures it scales without cropping */
}

.tooltip-inner {
  max-width: 250px;
  padding: 0.25rem 0.5rem;
  text-align: center;
  background-color: #0AE7FF;
  border-radius: 0.25rem;
}

#ovOneIndex {
  color: var(--text);
  font-size: 4rem;
}

ul.location-list {
  font-size: .8em;
  color: var(--text);
  list-style-type: none;
  margin: 0;
  padding-left: 10px;

}
.icon-line2-pointer {
  color: var(--aerospace-orange);
  font-weight: 600;
}
.tilt-up {
  rotate: 30deg;
  font-size: 1.3rem;
  color: var(--malachite);
}
.tilt-down {
  rotate: 320deg;
  font-size: 1.3rem;
  color: var(--aerospace-orange);
}



/* My styles */

.orcid_link {
  color: #A6CE39;
  /*background-color: #A6CE39;*/
  border-radius: 0.25rem;
  padding: 0.2rem 0.4rem;
  font-size: 0.875rem;
  text-align: center;
}

.pdf_link {
  color: white;
  background-color: #E2513F;
  border-radius: 0.25rem;
  padding: 0.2rem 0.4rem;
  text-align: center;
}

.pdf_link:visited {
  color: white;
}

.xlsx_link {
  color: white;
  background-color: #4CAF51;
  border-radius: 0.25rem;
  padding: 0.2rem 0.4rem;
  text-align: center;
}

.xlsx_link:visited {
  color: white;
}

.bibtex_link {
  color: black !important;
  background-color: #E6E6F9;
  border-radius: 0.25rem;
  padding: 0.2rem 0.4rem;
  text-align: center;
}

.bibtex_link:visited {
  color: white;
}

.ris_link {
  color: white;
  background-color: var(--yinmn-blue);
  border-radius: 0.25rem;
  padding: 0.2rem 0.4rem;
  text-align: center;
}

.ris_link:visited {
  color: white;
}

sup.phd_mark {
  color: white;
  background-color: var(--malachite);
  border-radius: 0.25rem;
  padding: 0.15rem 0.3rem;
  font-size: 0.7rem;
  text-align: center;
}

td.selected {
  background-color: #fcffcd;
}

.main_author_profile {
  color: white;
  background-color: #ecd078;
  border-radius: 0.25rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  text-align: center;
}

.secondary_author_profile {
  color: #ecd078;
  background-color: white;
  border: 1px solid #ecd078;
  border-radius: 0.25rem;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  cursor: pointer;
}

/*====== Count down to release ========*/
.release-day {
  font-size: 7vh;
  font-family: 'Titillium';
}
.release-day-subtitle {
  font-size: 2.5vh;
  font-family: Titillium, sans-serif;
}
#countdown {
  font-family: Titillium, sans-serif;
  text-align: center;
  padding: 20px;
  background-color: var(--electric-blue);
  border-radius: 5px;
  margin: auto;
}
.countdown-number {
    font-size: 6em;
    font-weight: 700;
    line-height: 4rem;
    padding-top: 1.5rem;
}

.countdown-label {
  font-size: 2.5em;
  font-weight: 400;
  padding-bottom: .8rem;
}

#countdown-days {
    color: #ff4500;
}
.value-proposition-list {
  list-style-type: none;
}
.highlight-check {
  color: var(--malachite);
  font-size: 1.5rem;
}
.discount-early-birds {
  text-decoration: line-through;
  font-size: 1.7rem;
  padding-top: 1.3rem;
}
.promotion-early-birds {
  color: white;
  background-color: var(--aerospace-orange);
  padding-bottom: .7rem;
  border-radius: 5px;
}
#countdown {
    transition: all 0.3s ease-in-out; /* Smooth transition for position change */
}

.supporters {
  border-bottom: solid 1px var(--border);
}
.sponsored-created {
  color: var(--malachite);
  font-weight: 700;
}
.Innovate-stars {
  font-size: .7rem;
}
#primary-menu > ul.one-page-menu > li.language > a {
  text-decoration: none;
  text-transform: none;
  color: var(--aerospace-orange) !important;
  font-weight: 300;
}

#primary-menu > ul.one-page-menu > li.disabled a {
  cursor: not-allowed;
  color: grey !important;
}
tr[id^="author_"] > td > a {
  color: var(--text) !important;
}
tr[id^="organization_"] > td > a {
  color: var(--text) !important;
}
tr[id^="location_"] > td > a {
  color: var(--text) !important;
}
tr[id^="document_"] > td > a {
  color: var(--text) !important;
}
div[id^="author_affiliation"] > a {
  color: var(--text) !important;
}
span[id^="author_affiliation"] > a {
  color: var(--text) !important;
}
.support-sponsorship {
  background-color: var(--electric-blue);
}
div.support-sponsorship > h3 > a {
  color: var(--text) !important;
}
/*=================== benchmarking and plans table ===========*/

.data-box0 > h3.mb-2 {
  border-bottom: solid 1px var(--border);
}

/* bar style */
.score-cell {
  background-repeat: no-repeat;
  background-size: var(--fill-percentage) 100%;
  background-image: linear-gradient(to right, var(--columbia-blue), var(--columbia-blue));
  background-position: left center;
}
/* chart like cell */
.indicator-score-cell {
  --fill-percentage: 0%;
  --fill-color: #9bd3f7; /* Columbia blue */
  
  background-repeat: no-repeat;
  background-position: left center;
  background-size: var(--fill-percentage) 100%;
  background-image: linear-gradient(to right, var(--fill-color), var(--fill-color));
  
  height: 1.4em;
  padding-left: 6px;
  transition: background-size 1s ease;
  border-right: solid 1px var(--border);
  border-bottom: solid 1px var(--border);
}
.authorName:hover {
  color: var(--text);
  background-repeat: no-repeat;
  background-size: var(--fill-percentage) 80%;
  background-image: linear-gradient(to right, var(--powder-blue), var(--powder-blue));
  background-position: left center;
  cursor: pointer;
}

/* Highlights selected author  */
.highlighted-cell {
  color: var(--text) !important;
  background-repeat: no-repeat;
  background-size: var(--fill-percentage) 80%;
  background-image: linear-gradient(to right, var(--powder-blue), var(--powder-blue));
  background-position: left center;
}

/* Highlights current user */
.benchmark-highlight {
  color: var(--text) !important;
  background-repeat: no-repeat;
  background-size: var(--fill-percentage) 80%;
  background-image: linear-gradient(to right, var(--electric-blue), var(--electric-blue));
  background-position: left center;
}

/* Highlights users with values within 5% range */
.tolerance-highlight {
  background-color: var(--alice-blue);
  border-left: solid 3px var(--malachite);
  border-right: solid 3px var(--malachite);
}

#benchmarkTablebenchmarkTableOneIndex td,
#benchmarkTableSciCommunitySupraDimension td {
  width: 17%;
}

#benchmarkTable_dimension_impact_excellence td,
#benchmarkTable_dimension_activity td,
#benchmarkTable_dimension_mobility_international_collaboration td,
#benchmarkTable_dimension_community_support td,
#benchmarkTable_dimension_community_recognition td,
#benchmarkTable_dimension_public_outreach td,
#benchmarkTable_dimension_fundraising td {
  width: 10%;
}

#benchmarkTable_dimension_transference td,
#benchmarkTable_dimension_leadership td,
#benchmarkTable_dimension_openness td {
  width:7%;
}

.border-left {
  border-left: solid 1px var(--border);
} 
table[id^="benchmarkTable"] {
  width: 100%;
}

table[id^="benchmarkTable"] th {
  padding: 5px;
}
table[id^="benchmarkTable"] td {
  color: var(--border);
  text-align: left;
  font-size: .7rem;
  padding: .3rem ;
  border-top: solid 1px var(--anti-flash-white);
  border-bottom: solid 1px var(--anti-flash-white);
  margin-top: 1rem;
}

table > tbody > tr > td.authorName {
  color: var(--text) !important;
  font-size: .8rem;
  line-height: .8rem;
}

.plan-features-included {
  color: var(--malachite) !important;
}
.plan-features-excluded {
  color: red !important;
}
div.pricing-price > div > span.badge {
  font-size: .8rem;
}
.pricing-price-small {
  font-size: 2rem;
}
#featuresTable > thead > tr:nth-child(1) > td:nth-child(2) {
  background-color: var(--columbia-blue);
  text-align: center;
  text-transform: uppercase;
}
#featuresTable > thead > tr:nth-child(1) > td:nth-child(3) {
  background-color: var(--powder-blue);
  text-align: center;
  text-transform: uppercase;
}
#featuresTable > thead > tr:nth-child(1) > td:nth-child(4) {
  background-color: var(--ucla-blue);
  color: white;
  text-align: center;
  text-transform: uppercase;
}
#featuresTable > thead > tr:nth-child(1) > td:nth-child(5) {
  background-color: var(--yinmn-blue);
  color: white;
  text-align: center;
  text-transform: uppercase;
}
#featuresTable > tbody > tr > td:nth-child(n+2) {
  text-align: center;
}
#indicatorsTable > tbody > tr > th {
  background-color: var(--columbia-blue) !important;
}

.form-control::placeholder {
  color: var(--silver);
}

a.delete_icon {
  font-size: 1.2rem;
  color: #000000;
}


.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/*================ search table ======================*/
table.cart > tbody > tr > td.select-peer {
  vertical-align: top !important;
  padding-top: 1.5rem !important;
}
td.select-peer > input[type=checkbox] {
  width: 20px;
  height: 20px;
}

/* ONE index circle in the search list*/
.i-rounded:hover,
.i-circled:hover,
.i-bordered:hover {
  background-color: var(--electric-blue) !important;
}

.testi-content > p {
  font-size: 1rem;
}

.call-to-action {
  color: var(--text);
  background-color: var(--electric-blue);
  text-align: center;
  font-size: 1.2rem;
  padding: 1rem .5rem;
  margin: 3rem;
  border-radius: 10px;
}
div.postcontent > div.section > div.container > div > p.post-paragraph {
  font-size: 1.2rem !important;
}
.magnify-text-1 {
  font-size: 1.5rem;
  line-height: 1;
}
.magnify-text-2 {
  font-size: 2rem;
  line-height: 1;
}
.magnify-text-3 {
  font-size: 3rem;
}
.magnify-text-4 {
  font-size: 4rem;
}
.cookie {
  background-color: var(--malachite);
  color: var(--text);
  border: solid 1px white;
  padding: 25px;
  margin: 15px;
  font-size: 1.3rem;
  text-align: center;
  z-index: 2000;
  border-radius: 10px;
}


.boxes-grid {
  list-style: none;
}

.boxes-grid li {
  width: 50%;
  padding: 25px;
  float: left;
}

.box {
  color: var(--text);
  border-color: silver;
  border-width: 1px;
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem;
  text-align: center;
}

.clamp-text-multiple-lines {
  font-size:1rem; 
  line-height:1.4rem;
  width: 95%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* this code clamps based on specified lines */
  display: -webkit-box;
}


#title-container {
  display: flex;
  align-self: center;
  padding: auto;
  margin-right: 40px; 
}

#title {
  font-size: .5rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  display: flex;
  align-self: center;
  padding: auto;
}

#content > div.content-wrap > div.container {
  padding: 0 20px;
}

.icon-magic1 {
    font-size: 24px;
    color: var(--text);
    margin: 10px;
    transition: color 0.3s;
    background-color: #ffc107; 
    /*border: 2px solid var(--text); */
    border-radius: 50%; /* Make it a circle */
    padding: 6px 12px; /* Add padding to ensure the icon fits well inside the circle */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.icon-magic1:hover {
    color: var(--aerospace-orange); 
    background-color: var(--electric-blue); 
}
.interpretation {
  font-size: 1rem;
  margin-left: 1rem;
}

.close {
  color: white;
}
.close:hover {
  color: var(--aerospace-orange)
}


/*  Indicator styles  */

.indicator {
  font-size: 42px;
  font-weight: 600;
  font-family: Titillium+Web, sans-serif;
}

.indicator_small {
  font-size: 1.1rem;
}



a.share_link {
  color: var(--columbia-blue) !important; 
}

a.share_link:hover {
  color: var(--text) !important;
}


a.delete_link {
  color: white !important; 
}

a.delete_link:hover {
  color: var(--columbia-blue) !important;
}


a.link_as_text,
a.link_as_text:visited {
  color: var(--text) !important; 
  font-weight: 300 !important;
}


/* -----------------------------------------------------------
	SWITCH 
-------------------------------------------------------------- */


input.switch-toggle + label {
	padding: 2px;
	width: 60px;
	height: 30px;
	background-color: var(--columbia-blue);
	-webkit-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
}

input.switch-toggle-flat + label:after { background-color: white;}
input.switch-toggle + label:before { background-color: var(--ucla-blue);}

input.switch-toggle-flat:checked + label:after {
	margin-left: 30px;
	background-color: var(--electric-blue);
}

.reset-button {
  background-color: #81A4CD !important;
  font-size: .9em;
  color: white;
  padding: 0px 20px;
  border-color: var(--columbia-blue);
  border-radius: 15px;
  text-shadow: none;
}
#hrfilter {
  border-bottom: 1px solid var(--border);
}

.fancy-title.title-border-color:before {
  border-top: 1px solid var(--border);
}

/*===============  indicator list ================ */
ul.indicator-list {
  flex-wrap: wrap;              /* Allow the items to wrap onto new lines */
  justify-content: flex-start;   /* Align items to the left */
  list-style: none;              /* Remove bullet points (optional) */
  padding: 0;                   /* Remove default padding */
  margin: 0;  
}
ul.indicator-list > li {
  font-size: 0.8rem;            /* Adjust font size */
  margin: 5px;                  /* Add some spacing between items */
  white-space: nowrap;          /* Prevent the text from breaking within each item */
  overflow: hidden;             /* Hide overflow content if any */
  text-overflow: ellipsis;
  line-height: 1.5;
  margin: 5px 7px;
  /*transition: transform 0.3s ease, background-color 0.3s ease; */
}
#shop > .badge-keyword {
  background-color: var(--alice-blue);
}
#shop > li:hover,
#shop > li:focus {
  transform: scale(1.2);
  color: white;
  background-color: var(--ucla-blue);
  cursor: pointer;           /* Change cursor to pointer on hover or focus */
  outline: none; 
}

#hrfilter > div > span.badge-keyword {
  color: white;
  background-color: var(--ucla-blue);

} 

/* Selected buttons for quick filters */

.badge-unselected {
  cursor: pointer;
  font-size: 1em;
  margin: 3px;
  background-color: var(--columbia-blue);
  color: var(--text);
  border-radius: 5px;
  border-color: var(--text);
}

.badge-selected {
  cursor: pointer;
  font-size: 1em;
  margin: 3px;
  background-color: var(--yinmn-blue);
  color: white;
  border-radius: 5px;
  border-color: transparent;
}

.badge-autocomplete {
  font-size: 0.8em;
  font-weight: 300;
  margin: 3px;
  background-color: var(--columbia-blue);
  color: var(--text);
  border-radius: 5px;
  border-color: var(--text);
}

#exportDataSubtotalsBtn.badge-senior,
#exportFieldSubtotalsBtn.badge-senior {
  color: white;
  font-weight: 300;
  border: 1px solid var(--border);
  border-radius: 25;
  padding: .4rem;
}

.md {
  font-size: 1em;
}

.lg {
  font-size: 1.2em; padding: 0.5em;
}

/* Badges for org attributes */

.badge-attr {
  font-size: 0.8em;
  font-weight: 300;
  margin: 3px;
  border-radius: 5px;
}

.badge-attr-excellent {
  background-color: #bdedfc;
  color: var(--polynesian-blue);
  border-color: var(--polynesian-blue);
}

.badge-attr-good {
  background-color: #c2f7be;
  color: var(--text);
  border-color: var(--text);
}

.badge-attr-regular {
  background-color: #ffdfb2;
  color: var(--text);
  border-color: var(--text);
}

.badge-attr-poor {
  background-color: #f4d2d2;
  color: var(--highlight2);
  border-color: var(--highlight2);
}

.badge-attr-unknown {
  background-color: var(--light);
  color: var(--gray);
  border-color: var(--gray);
}



.numerical-icon {
  font-size: 4rem;             /* Make the number 4 times the base rem size */
  width: 4.5rem;               /* Width of the circle */
  height: 4.5rem;              /* Height of the circle */
  display: flex;               /* Flexbox for centering */
  align-items: center;         /* Center vertically */
  justify-content: center;     /* Center horizontally */
  border-radius: 50%;          /* Makes it a circle */
  background-color: var(--electric-blue);   /* Background color for the circle */
  color: white;              /* Text color */
  font-weight: bold;           /* Make the number bold */
}

.numerical-icon-2 {
  font-family:Arial, Helvetica, sans-serif;
  font-size: 4rem;             /* Make the number 4 times the base rem size */
  width: 4.5rem;               /* Width of the circle */
  height: 4.5rem;              /* Height of the circle */
  display: flex;               /* Flexbox for centering */
  align-items: center;         /* Center vertically */
  justify-content: center;     /* Center horizontally */
  border-radius: 50%;          /* Makes it a circle */
  background-color: white;   /* Background color for the circle */
  color: var(--ucla-blue);              /* Text color */
  font-weight: bold;           /* Make the number bold */
}

div.negative > h2,
div.negative > p {
  color: white;
}

/* increase and decresa arrow icons */ 
i.icon-arrow-circle-up {
  color: var(--malachite);
  rotate: 30deg;
}
i.icon-arrow-circle-down {
  color: red;
  rotate: -330deg;
}

#indicatorDefinitionsList {
  font-size: 1rem;
  padding: 2rem;
}
#indicatorsDefinition:hover,
#humanResourcesIndicators:hover {
  cursor: pointer;
}
.logo-org {
  max-width: 100%; 
  height: auto; 
  max-height: 80px;
  display: block; /* Prevents inline image whitespace issues */
  object-fit: contain; /* Ensures the image is scaled without cropping */
}
#instReportFeatures > h2 {
  font-size: 1.5rem;
  color: white;
  font-weight: 300;
}
#instReportFeatures > ol > li {
  font-size: 1.2rem;
  color: white;
  font-weight: 300;
}
.malachite {
  color: var(--malachite);
  font-weight: 300;
  padding: 0 5px;
}
.compact-table {
  text-align: left;
  font-size: .7rem;
  padding: .3rem ;
  width: 100%;
  border-top: solid 1px var(--text);
  border-bottom: solid 1px var(--text);
  margin-top: 1rem;
}

.compact-table > thead > tr > th {
  text-align: center;
  padding: 3px;
}
.compact-table > tbody > tr > td {
  color: var(--text);
  padding-top: 2px;
  padding-bottom: 2px;
}
.table-compact {
  font-size: .9rem; /* Reduce font size */
  line-height: 1.1rem;   /* Tighten line spacing */
  width: 100%;
  border-collapse: collapse;
  margin: 0; /* Remove extra margins */
}
.table-utlra-compact {
  font-size: .8rem; /* Reduce font size */
  line-height: 1rem;   /* Tighten line spacing */
  width: 100%;
  border-collapse: collapse;
  margin: 0; /* Remove extra margins */
}
.table-compact tr td {
  padding-top: .3rem;
  padding-bottom: .3rem;
}
.table-ultra-compact tr td {
  padding-top: .3rem;
  padding-bottom: .3rem;
}
#regionalDistribution tr td {
  padding-top: .3rem;
  padding-bottom: .3rem;
}
#chartContainer {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30; /* Ensure it appears above the map */
  background: rgba(255, 255, 255, 0.99); /* Semi-transparent white background */
  border-radius: 8px; /* Rounded corners */
  padding: 10px; /* Padding inside the container */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for better visibility */
}

#avgAuthorsChart, #avgOneIndexChart {
  width: 370px;
  height: 50px;
}
#institutionTable tr td a {
  color: var(--text);
}

.dataTables_wrapper .dataTables_scrollBody .right-align {
  text-align: right;
}
.regular {
  font-size: 1.1rem;
  font-weight: 300;
  padding-left: 1.5rem;
}
.cohort-box {
  background-color: white;
  /*color: white;*/
  flex-direction: column;
  flex: 1;
}
ul.no-bullets {
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margins */
}

#fundingDataTable td{
  padding-top: .1rem;
  padding-bottom: .1rem;
}

#projectsScivoc td {
  padding-top: .1rem;
  padding-bottom: .1rem;
}


.autocomplete-suggestions {
  top: 100%;
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.autocomplete-suggestion {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-suggestion:hover {
  background: #f0f0f0;
}

/* font size*/
.f15x {
  font-size: 1.5rem;
}
.f17x {
  font-size: 1.7rem;
}
.f2x {
  font-size: 2rem;
}
.f25x {
  font-size: 2.5rem;
}
.f3x {
  font-size: 3rem;
}
.f35x {
  font-size: 3.5rem;
}
/*.icon-line2-info {
  outline: none; /* optional: prevents the browser's default focus outline 
  cursor: default; /* default cursor 
  transition: color 0.2s ease;
}*/

.info-element:hover {
  font-size: 1.2rem;
  color: 'red';      /* changes text/icon color on focus #2d5583 */ 
  cursor: pointer;     /* shows pointer instead of default arrow */
}


/*=================  trajectory threshold slider ====================*/

#trajectoryThresholdSlider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #2d5583;
  border-radius: 3px;
  outline: none;
}

/* Chrome & Safari: Track */
#trajectoryThresholdSlider::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--yinmn-blue);
  border-radius: 3px;
}

/* Chrome & Safari: Thumb */
#trajectoryThresholdSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--columbia-blue);
  border: solid 1px var(--yinmn-blue);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px; /* aligns with track */
}

/* Firefox: Track */
#trajectoryThresholdSlider::-moz-range-track {
  height: 6px;
  background: var(--columbia-blue);
  border-radius: 3px;
}

/* Firefox: Thumb */
#trajectoryThresholdSlider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--columbia-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.button.button-mini.button-circle { 
  color: var(--text);
  text-shadow: none;
  background-color: var(--columbia-blue);
  border-radius: 5px;
  border: solid 1px var(--border);
}
.button.button-mini.button-circle:hover {
  background-color: var(--ucla-blue) !important;
  color: white;
}
.button.button-mini.button-circle.selected {
  background-color: #48D569 !important;
}
.button.button-mini.button-circle.active {
  background-color: #48D569 !important;
}
span.activeFilter {
  background-color: #48d569aa;
  padding: 1px 6px;
  border-radius: 3px;
  border-color: white;
}

#fieldRankingTable, #regionsTable {
  max-height: 30vh;
  overflow-y: auto;
}
#subfieldRankingTable {
  max-height: 30vh;
  overflow-y: auto;
}

.ranking-table tbody tr.selected {
  background-color: #48D569 !important;
  font-weight: bold;
}

.ranking-table tbody tr:hover {
  cursor: pointer;
  background-color: var(--columbia-blue);
}

/* css for data tables */

#researchersData.table.dataTable {
  text-align: left;
  font-size: .7rem;
  padding: .3rem ;
  width: 100%;
  margin-top: 1rem;
}


#researchersData.dataTable > thead > tr > th {
  text-align: center;
}
#researchersData.dataTable > tbody > tr > td {
  color: var(--text);
  padding: 2px;
}

a {
  color: var(--text);
  /*text-decoration: none;
  font-weight: 300;*/
}


#dtExcelButton {
  background-color: #2d5583;
  color: white;
  border: none;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
}

#dtExcelButton:hover {
  background-color: #4377b1;
}



.roadmap-table tbody tr:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}
.icon-line2-info {
  outline: none; /* optional: prevents the browser's default focus outline */
  cursor: default; /* default cursor */
  transition: color 0.2s ease;
}

.icon-line2-info:focus {
  color: #2d5583;      /* changes text/icon color on focus */
  cursor: pointer;     /* shows pointer instead of default arrow */
}

#fieldRankingTable, #regionsTable {
  max-height: 30vh;
  overflow-y: auto;
}
#subfieldRankingTable {
  max-height: 30vh;
  overflow-y: auto;
}

.ranking-table tbody tr.selected {
  background-color: #48D569 !important;
  font-weight: bold;
}

.ranking-table tbody tr:hover {
  cursor: pointer;
  background-color: var(--columbia-blue);
}

.clickable-region {
cursor: pointer;
}

.clickable-region.selected {
  background-color: #48D569;
  padding: .2rem .4rem;
  font-weight: bold;
}
#regionContainer {
  /*background-color: #4377b1;
  color: white;*/
}
/* Base */
#trajectoryThresholdSlider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #2d5583;
  border-radius: 3px;
  outline: none;
}

/* Chrome & Safari: Track */
#trajectoryThresholdSlider::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--yinmn-blue);
  border-radius: 3px;
}

/* Chrome & Safari: Thumb */
#trajectoryThresholdSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--columbia-blue);
  border: solid 1px var(--yinmn-blue);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -5px; /* aligns with track */
}

/* Firefox: Track */
#trajectoryThresholdSlider::-moz-range-track {
  height: 6px;
  background: var(--columbia-blue);
  border-radius: 3px;
}

/* Firefox: Thumb */
#trajectoryThresholdSlider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--columbia-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.flex-list {
  display: flex;
  flex-wrap: wrap;         /* allow wrapping to next line */
  gap: 1rem;               /* spacing between items */
  list-style-type: none;   /* optional: remove default bullets */
  padding-left: 0;         /* reset padding if needed */
}

.flex-list li {
  background-color: var(--columbia-blue);
  flex: 1 1 150px;          /* grow/shrink, base width */
  min-width: 120px;         /* minimum width before wrapping */
}

.one-focus:hover {
  border-radius: 5px;
  background-color: var(--columbia-blue);
  cursor: pointer;
  z-index: 10;
}
.one-focus:focus {
  background-color: var(--columbia-blue);
  cursor: pointer;
}
.progress-bar {
  font-weight: 600;
  background-color: var(--malachite);
}

.form-control {
  font-size: 0.9rem;
  padding: 0px 2px;
}
.dimension-form {
  display: flex;
  flex-wrap: wrap;         /* Allows wrapping to next line if screen is narrow */
                 /* gap: 1rem; Adds space between inputs */
  align-items: flex-start; /* Align inputs to top of row */
}

.dimension-form .form-control {
  flex: 1 1 auto;           /* Allow inputs to grow/shrink as needed */
  min-width: 200px;         /* Prevent inputs from becoming too small */
  max-width: 600px;         /* Optional: control maximum width */
}

/* Style input fields on focus */
.dimension-form input:focus,
.dimension-form textarea:focus,
.dimension-form select:focus {
  background-color: #eef6fc;    /* Light blue background on focus */
  border-color: #3399cc;        /* Optional: blue border on focus */
  outline: none;                /* Remove default outline */
  box-shadow: 0 0 0 2px rgba(51, 153, 204, 0.2); /* Optional: glow effect */
}
.no-text-tranformation {
  text-transform: none;
}

#fieldToggleControls > span.badge-selected {
  background-color: var(--ucla-blue);
}

.active-area {
  background-color: var(--alice-blue);
}

.icon-line2-plus {
  cursor: pointer;
  font-size: 1.5rem;
  padding-top: 1.2rem;
}
.icon-line2-plus:hover {
  color: #48D569;
}

.drag-handle {
  cursor: grab;
}
.sortable-ghost {
  opacity: 0.5;
}
#rateButton > a > div > i.icon-star {
  color: var(--aerospace-orange);
}

.badge-pill {
  border: solid 1px var(--border);
}

.needs-review {
  background-color: #fff8e1;
}
.excluded {
  opacity: 0.5;
  text-decoration: line-through;
}
.text-danger:hover,
.btn-outline-danger:hover {
  color: white !important;
}




.item_confirmed {
  background-color: #28a745;
  color: white;
}



/* css rules for the web CV*/
.cv-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  font-family: 'Georgia', serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.cv-container h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.cv-container h2 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.cv-container h3 {
  font-size: 16px;
  margin-top: 20px;
  color: #444;
}

.cv-badge {
  display: inline-block;
  background: #e6ecf3;
  color: #333;
  font-size: 11px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 4px;
  font-weight: bold;
}

.drag-handle {
  cursor: move;
  color: #888;
  display: inline-block;
  margin-left: 10px;
}

.section-wrapper {
  border-left: 4px solid #eee;
  /*padding: 10px 20px;*/
  margin-bottom: 30px;
  background: #fdfdfd;
}

.section-wrapper.drag-over {
  border-color: #007bff;
  background-color: #f0f8ff;
}

.section-wrapper > p {
  font-size: 14px;
}

.cv-annex {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #ddd;
}

.cv-annex h2 {
  font-size: 20px;
  margin-top: 30px;
}
.cv-annex h3 {
  font-size: 18px;
  margin-top: 30px;
}
.cv-annex h4 {
  font-size: 14px;
  margin-top: 30px;
}

.annex-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.framework-chart {
  display: block;
  max-width: 600px;
  margin: 20px auto 40px;
}

.indicator-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.indicator-table th, .indicator-table td {
  padding: 8px 10px;
  border: 1px solid #ccc;
  text-align: left;
}

.indicator-table th {
  background: #f5f5f5;
  font-weight: bold;
}


.match-success {
  background-color: var(--fill-percentage);
  font-weight: 700;
}

.match-warning {
  background-color: #FFF8E2;
  font-weight: 500;
}

.item-excluded {
  text-decoration: line-through;
  color: #615f5f;
  background-color:#f2f4f5;
}

textarea.item-excluded {
  text-decoration: line-through;
  color: #615f5f;
  background-color:#f2f4f5;
}


/* keep the ℹ︎ tight with the label text */
.info-tip { font-weight: 600; text-decoration: none; line-height: 1; }
.info-tip:hover { text-decoration: none; }


#experts-search-query {
  width: 100%;
  height: 230px;
}

.file-drop-area {
  position: relative;
  height: 230px;
  width: 100%;  
  padding: 25px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background-color: white;
  transition: 0.2s;
}

.choose-file-button {
  color: white;
  background-color: var(--vista-blue);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 8px 15px;
  margin-right: 10px;
  font-size: 1rem;
}

.file-message {
  font-size: small;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
  
}

#author-photo-container {
  position: relative; /* creates a positioning context */
  display: inline-block; /* keeps it sized to the image */
}

.integrity-badge {
  position: absolute;
  bottom: 8px;  /* or top: 8px; depending on your layout */
  right: 8px;
  width: 40px;
  height: 40px;
  z-index: 10;
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
  transform-origin: center;
  cursor: pointer;
}

.integrity-badge img {
  width: 100%;
  height: auto;
  border-radius: 50%;  /* optional for circular badge */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

/* Zoom on hover or focus */
.integrity-badge:hover,
.integrity-badge:focus {
  transform: scale(3);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.badge-checkbox {
  font-size: 1em;
  margin: 3px;
  background-color: var(--alice-blue);
  color: var(--text);
  border-radius: 5px;
  border: solid 1px var(--border);
  cursor: pointer;
  position: relative;
  text-transform: none;
  user-select: none;
  transition: all 0.2s ease-in-out;
}

/* Hide the native checkbox */
.badge-checkbox input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Checked badge using :has() */
.badge-checkbox:has(input[type="checkbox"]:checked) {
  background-color: var(--yinmn-blue);
  color: white;
  border-color: var(--yinmn-blue);
  box-shadow: 0 0 6px rgba(10, 231, 255, 0.6);
  padding-right: 1.8rem; /* room for the icon */
}

/* Checkmark icon when active */
.badge-checkbox:has(input[type="checkbox"]:checked)::after {
  content: "✔";
  position: absolute;
  right: 0.6rem;
  font-size: 0.9em;
  color: white;
  transform: scale(0.6);
  opacity: 0;
  animation: checkmark-fade 0.25s forwards ease-out;
}

/* Animation */
@keyframes checkmark-fade {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hover lift effect */
.badge-checkbox:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.base-number {
  position: relative; /* establishes positioning context */
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 600;
}

/* style + position the score badge */
.score_context {
  position: absolute;
  top: -6px;
  right: -30px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 15px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-high {
  background-color: var(--malachite);
  color: white; /* or any accent color */
}

.score-midhigh {
  background-color: var(--columbia-blue);
  color: var(--text); /* or any accent color */
}

.score-standard {
  background-color: white;
  color: var(--border)
}





/*=====================================*/
.card{border-radius:14px; padding:14px;}
.card + .card{margin-top:12px}
.btn-border{display:inline-flex; align-items:center; gap:8px; background:transparent; border:1px solid #1e293b; border-radius:10px; padding:8px 12px; cursor:pointer}
.btn-border[disabled]{opacity:.6; cursor:not-allowed}
.btn-border.primary{background:linear-gradient(90deg,#0ea5e9,#22d3ee); color:#02131d; border-color:#22d3ee; font-weight:700}
.btn-border.icon{padding:6px 8px}
.danger{color:var(--bad)}
.rounded{border-radius: 10px;}
ul[id^="skill"]{font-size: 1em;}

main{padding:22px;}
.wizard{max-width:1100px; margin:0 auto; display:grid; grid-template-columns: 280px 1fr; gap:18px}
.steps{position:sticky; top:76px; align-self:start}
.step{display:flex; align-items:center; gap:12px; padding:9px 10px; border-radius:10px; color:var(--muted); cursor:pointer; border:1px solid transparent}
.step.active{color:var(--ink); background:#0f172a; border-color:#1b2540}
.step .dot{width:10px;height:10px;border-radius:50%; background:#334155}
.step.ok .dot{background:var(--ok)}


.panel{background:transparent; border:1px solid #1a2339; border-radius:16px; padding:16px}
.panel h2{margin:0 0 6px 0}
.desc{color:var(--text); font-size:14px}


.item{border-top:1px dashed #20314f; padding-top:12px; margin-top:12px}
.legend{font-size:14px; color:var(--muted); margin:8px 0 12px 0}
.levels{display:flex; flex-wrap:wrap; gap:8px}
.chip{border:1px solid #27334c; background:#0b1427; color:#d1d5db; padding:6px 10px; border-radius:999px; cursor:pointer;}
.chip input{appearance:none}
.chip.active{border-color:var(--accent); box-shadow:0 0 0 2px rgba(34,211,238,.2) inset}


textarea{width:100%; min-height:72px; border:1px solid #23324f; border-radius:10px; padding:8px; resize:vertical}
.grid-2{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.progress{height:8px; background:#0b1426; border-radius:6px; border:1px solid #1c2944; overflow:hidden}
.progress > span{display:block; height:100%; background:linear-gradient(90deg,#22d3ee,#a78bfa)}


.toolbar{display:flex; flex-wrap:wrap; gap:10px}
.pill{font-size:12px; padding:4px 8px; border-radius:999px; border:1px solid #1f2c47; background:#0c1426; color:#cbd5e1}


.summary{display:grid; grid-template-columns: repeat(7,1fr); gap:8px}
.gauge{padding:10px; border-radius:12px; border:1px solid #1b2540; background:#0c1428; text-align:center}
.gauge strong{display:block; font-size:18px}
.gauge .val{font-size:22px}
.levels {margin-top: 0.8rem; margin-bottom: 2rem;}
.level-card{height: 30vh; background-color: var(--columbia-blue); border:1px solid var(--yinmn-blue); border-radius:10px;padding:10px}
.level-card > div > p {font-size: .8rem;}
.attained{background-color: var(--yinmn-blue); color: #0af005; border-color: var(--malachite);}
.notattained{color: var(--text); background-color: var(--columbia-blue); border: solid var(--yinmn-blue) 1px;}

.rc-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:9999}
.rc-modal[aria-hidden="false"]{display:flex}
.rc-modal__dialog{max-width:720px;width:92vw;max-height:80vh;overflow:auto;background:#0f1629;border:1px solid #1a2339;border-radius:14px;padding:16px;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.rc-modal__close{position:absolute;right:18px;top:10px;background:transparent;border:0;color:#e5e7eb;font-size:24px;cursor:pointer}
.rc-modal__body p{margin:.5rem 0;color:#cbd5e1}
.rc-expander{background:transparent;border:0;color:#93c5fd;cursor:pointer}


.unselected-row {
  opacity: 0.6;
  background-color: #f0f0f0;
}

/* Upskills classes */
/* === UPSKILL.MAP QUESTIONNAIRE === */

/* container sections */
#areaPanel section[id^="dom-"] {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #1e293b; /* dark slate border */
  border-radius: 12px;
  background-color: var(--yinmn-blue); /* matches dark background if present */
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

#areaPanel section[id^="dom-"] h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: .75rem;
  border-bottom: 1px solid #1e293b;
  padding-bottom: .25rem;
}

/* each questionnaire item */
.us-item {
  margin-bottom: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.us-q {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

/* Likert group */
.us-opts {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.us-opt {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .3rem .6rem;
  border: 1px solid #1e293b;
  border-radius: 6px;
  background-color: var(--columbia-blue);
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

.us-opt:hover {
  background-color: #334155;
  color: white;
  border-color: var(--malachite); /* cyan hover tone */
}

.us-opt input[type="radio"] {
  accent-color: var(--malachite); /* cyan radio color */
  transform: scale(1.1);
  cursor: pointer;
}

/* highlight the checked option */
label.us-opt:has(> input[type="radio"]:checked) {
  background-color: #1e293b;
  color: var(--malachite);
  border-color: var(--malachite);
  font-weight: 600;
}
.us-opt input[type="radio"]:checked + span {
  background-color: #1e293b;
  color: var(--malachite);
  font-weight: 600;
}

/* summary styles */
#summary ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

#summary li {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

#summary strong {
  color: #f8fafc;
}

/* domain selector buttons (left sidebar) */
#areaList button.btn {
  display: block;
  width: 100%;
  margin-bottom: 0.4rem;
  border-radius: 6px;
  background: var(--columbia-blue);
  color: var(--text);
  padding: 0.45rem 0.75rem;
  text-align: left;
  transition: background-color .15s;
  font-size: 0.9rem;
  border: transparent;
}

#areaList button.btn:hover {
  background: var(--yinmn-blue);
  color: white;
}

#areaList button.btn.active {
  background: var(--yinmn-blue);
  color: white;
}
.back-to-top {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-left: 2rem;
}
.back-to-top button {
  background-color: var(--yinmn-blue);
  color: white;
  font-size: 1.2rem;
  line-height: 1;
  border: solid white 1px;
  transition: background-color .2s;
}
.back-to-top button:hover {
  background-color: var(--electric-blue);
}

/* Responsive tweaks 
@media (max-width: 768px) {
  .us-opts {
    flex-direction: column;
    gap: .3rem;
  }
  #areaPanel section[id^="dom-"] {
    padding: .75rem;
  }
}*/

#progressModal {
  z-index: 1200;
}
#progressModal .modal-dialog {
  z-index: 1066 !important;
}
.icon-trash { color: #DC3546;}
.icon-trash:hover { scale: 1.5;}