img {
    display: inline-block;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}
.custom-table tbody tr:nth-child(even) {
    background-color: transparent; /* Replace with your desired background color */
}

.collapsed #toggle-indicator {
    transform: rotate(-90deg); /* Rotate the icon to horizontal position */
}


.my_custom_column {
    width: 300px;
    text-align: center;
}

.rowheight {
    height: 310px;
}

.nobotmargin{
    margin-bottom: 0;
}


#imgOrig{
    cursor: pointer;
}

#figure #figcaption {
    text-align: center;
}

/* try click show original image */
#overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.7;
    filter: alpha(opacity = 70) !important;
    display: none;
    z-index: 100;

}

#overlayContent{
    position: fixed;
    width: 100%;
    top: 100px;
    display: none;
    z-index: 100;
}

#contentGallery{
    margin: 0 auto;
}

#imgBig, #imgSmall{
    cursor: pointer;
}

g.legendsymbols>g.legendpoints>path.scatterpts{
    fill: none !important;
}

.js-plotly-plot .plotly .modebar .vertical{
    margin: auto !important;
}

.svg-container{
    margin: auto !important;
}

.large-up-4 > .column, .large-up-4 > .columns {

    float: left;

}

.imgbox{
    height: auto;
    width: auto;
    line-height: 300px;
    margin-right: auto;
    margin-left: auto;
}

/*#over img {*/
    /*margin: auto;*/
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
  /*!*display: block;*!*/
/*}*/


/*ul.magellan {width: 240px}*/
/*@media only screen and (max-width: 767px) {*/
  /*ul.magellan {position: static !important; width: 100%}*/
/*}*/

/*.sticky{*/
/*    top: -30px;*/
/*}*/

/*@import url("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/bootstrap-table.css");*/
#table {
    display: none
}

/* for cammanjs test */

/*#image,#myCanvas{*/
  /*float:left;*/
/*}*/

/* Seconda way of filter function by using CSS which comment out here */
/*#blur,#grayscale,#brightness,#contrast,#rotate,#invert,#opacity,#saturate,#sepia{*/
    /*width: 300px;*/
    /*margin: 15px;*/
   /*float:left;*/
 /*}*/


/* start of tesing the modal image method */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
  /*width: 50%;*/
  /*width: 80%;*/
  /*max-width: 300px;*/
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/* make navigation bar hidden otherwise it is float over the image modal */
  .modal-backdrop {
    z-index: 100000 !important;
  }

  .modal {
    z-index: 100001 !important;
  }

/* make navigation bar hidden otherwise it is float over the image modal */

/* make canvas the same as the image center at the middle */

#canvas {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
  /*width: 50%;*/
  /*width: 80%;*/
  /*max-width: 300px;*/
}

/* Adjust slider size */
input[type="range"] {
  margin: 0 0 10px 0;
  width: 90%;
}


/* end of tesing the modal image method */

/* start change the style of entry va page link on top of page*/
a.titlelink {
    border-bottom-style: none;
}

a.titlelink:link {
    color: rgb(0,124,130);
}

a.titlelink:visited{
    color: rgb(0,124,130);
}

/* end change the style of entry va page link on top of page*/


table th {
    background: rgba(0, 124, 130, 1);
    color: white;
}

/*a {*/
/*    color: #007c82 !important;*/
/*}*/

p.redirect-text {
    font-size: small;
    width: 355px;
}

p.image-legend {
    padding-left: 11px;
}

div.large-6.columns.style-scope.entry-info.padding-left-xlarge>p.warning-bg {
    background-color: #FF0000;
    text-align: center;
    color: white;
    font-weight: bold;
}

div.row.style-scope.entry-info

div.large-2.columns.stype-scope.entry-info.padding-right-none.padding-left-none>button.go-button {
    background-color: rgb(0, 124, 130);
    padding: 0.8em;
}

div.large-2.columns.padding-right-none.padding-left-none.margin-top-medium>button.go-button {
    background-color: rgb(0, 124, 130);
    padding: 0.8em;
}

a.link-color {
    color: #007c82;
    font-weight: bold;
}

a.help-icon {
    float: right;
}

a.icon-larger {
    font-size: 1.25rem;
}

pre.release-text {
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    padding-left: 25px;
}

pre.image-text {
    font-family: Helvetica, sans-serif;
    padding-top: 20px;
    padding-left: 13px;
}

div.fsc-table {
    margin-top: 15px;
}

div.qscore-plotdiv {
    overflow: scroll;
    height: 500px;
}

div.qscore-secdiv {
    height: 500px;
    margin-right: -50px;
}

div.navi-bgcolor {
    background-color:#e1eaea;
}

th.fsc-col-width-1 {
    width: 200px;
}

th.fsc-col-width-2 {
    width: 150px;
}

th.symmetry-table-1 {
    background: white;
    color: black;
}

span.toggle-font {
    font-size: 11px;
}

h4.title-black {
    color: black;
}

div.columns.large-3.home-text>h3.home-tile {
    color: rgb(0, 124, 130);
}

div.columns.large-6.home-text>h3.home-tile {
    color: rgb(0, 124, 130);
}

div.column.large-12.margin-top-large>h3.home-title{
    color: rgb(0, 124, 130);
}

div.column.large-12>h3.home-title{
    color: rgb(0, 124, 130);
}


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

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    max-width: 900px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

ul.item-size {
    font-size: larger;
}

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

div.button-left {
    text-align: left;
}

img.vahome-imagebox {
    width: 910px;
    height: 260px
}

div.empty-row {
    height: 43px;
    width: 100%;
    background-color: white;
}

.top-anchor {
  position: relative;
  top: -135px;
  display: block;
  height: 0;
  width: 0;
}

.anchor-target { scroll-margin-top: 130px; }

/* Make colgroup widths take effect */
.custom-table { width: 100%; table-layout: fixed; }
.custom-table th, .custom-table td { vertical-align: middle; }

/* Desktop proportions: make the bar column wide */
.eval-table{
  --w-model: 10%;
  --w-metric: 14%;
  --w-avg: 16%;
  /* eval = rest of the width */
  --w-eval: calc(100% - (var(--w-model) + var(--w-metric) + var(--w-avg)));
}
.eval-table col.col-model  { width: var(--w-model); }
.eval-table col.col-metric { width: var(--w-metric); }
.eval-table col.col-avg    { width: var(--w-avg); min-width:96px;}
.eval-table col.col-eval   { width: var(--w-eval); }

/* Keep text columns compact */
.eval-table td:nth-child(1),
.eval-table td:nth-child(2),
.eval-table td:nth-child(4),
.eval-table th:nth-child(1),
.eval-table th:nth-child(2),
.eval-table th:nth-child(4) {
  padding-left: 8px;
  padding-right: 8px;
  white-space: nowrap;          /* don’t let short labels stretch columns */
}

.eval-table td:has(.plot),
.eval-table th:has(.plot) {
  padding-left: 0;
  padding-right: 0;
}
.eval-table td:has(.plot) .js-plotly-plot,
.eval-table td:has(.plot) .plot-container,
.eval-table td:has(.plot) .svg-container {
  width: 100% !important;
  max-width: none !important;
}

/* The plot container each row uses */
.plot {
  width: 100%;
  height: 75px;
  box-sizing: border-box;
}
/* Mobile: rebalance so it still fits the screen */
@media (max-width: 640px) {
  .eval-table{
    --w-model: 20%;
    --w-metric: 22%;
    --w-avg: 18%;
    --w-eval: calc(100% - (var(--w-model) + var(--w-metric) + var(--w-avg)));
  }
  .plot { height: 64px; }
}

/* for the legend bar */


/* Center the legend plot within the full-width TD */
.legend-bar {
  display: block;
  width: clamp(480px, 60%, 840px);  /* responsive width, capped */
  margin-inline: auto;              /* centers it */
}

/* Ensure Plotly fills the container width */
#legbar,
#legbar .js-plotly-plot,
#legbar .plot-container,
#legbar .svg-container {
  width: 100% !important;
  max-width: none !important;
}
