/* #svg-container
{
	margin: 0x auto;
	text-align: center;
	max-width: 1600px;
	min-width: 650px;
}
#svg
{
	width:100%;
	height:calc(100vh - 150px);
} */
body {
  /* background: rgb(218, 247, 247); */
  overflow: hidden;
}

#scene-container {
  border: 0px solid #aaddcc;
  width: 100%;
  /*height: calc(100% - 48px);*/
  height: 100%;
  display: block;
  /* background-image: linear-gradient(rgb(228, 245, 245), rgb(252, 253, 253)); */
  position: absolute;
  /* top:100px; */
  opacity: 0;
  transition: all 2s;
  overflow-y: auto;
}



/***********************/
#instructions-container {
  display:block;
  width:100%;
  text-align: center;
  position: relative;
}
#instructions {
  width: 90%;
  max-width: 800px;
  padding: 0px;
  margin: 0 auto;
  transition: 1s;
}
#instructions .alert {
  text-align: left;
}
#progress {
  transition: 1s;
}
/* only to hide instructions  background */
#my-alert {
  background:none;
  border: none;
  min-height: 95px !important;
}
#svg {
  display: inline-block;
	position: relative;
	width: 100%;
	vertical-align: middle; 
	overflow: hidden;
  margin-bottom: 0;
  /* margin-bottom: 1rem; */
}

/* for the focus marker where it may not provide enough contrast */
.btn-close:focus-visible, .btn:focus-visible, button:focus-visible, 
.form-check-input:focus-visible, .nav-item a:focus-visible, .form-select:focus-visible, a:focus-visible {
  /* outline: 4px solid rgb(255, 140, 0); */
  outline: 4px solid #054cad;
}
#progress-feedback:focus-visible {
  max-width: 130px;
  margin: 0 auto;
}
.form-control:focus, .accordion-button:focus {
  /* outline: 4px solid rgb(255, 140, 0); */
  box-shadow: 0 0 0 2px #054cad !important;
  outline: 2px solid #054cad;
}

/* Bootstrap overrides*/
.accordion-button:not(.collapsed) {
  background-color: rgb(255, 255, 255);
  border: none;
  color: #000;
  font-size: 1.5rem;
}
.accordion-button.collapsed {
 /*  border: 1px solid rgb(220, 220, 220); */
 color: #666;
}
.accordion-body {
  background-image: linear-gradient(rgb(248, 248, 248), rgb(255, 255, 255));
}
/**/
.mlo-btn:hover .card, .mlo-btn:hover .card .svg-fill,
.mlo-btn:focus .card, .mlo-btn:focus .card .svg-fill  {
  transition: background-color .3s, color .3s, fill .3s;
  background-color: #FFF !important;
  color: #0c4ec6 !important;
  fill: #0c4ec6;
  --bs-card-border-width: 3px;
  --bs-card-border-color: #0c4ec6;
}

.mlo-btn .card, .mlo-btn .card .svg-fill,
.mlo-btn .card, .mlo-btn .card .svg-fill  {
  transition: background-color 1s, color .3s, fill .3s;
  vertical-align: middle;
}
/*************************/
/* input placeholders */
.faded::placeholder {
  color:#aaaaaa !important;
  font-style: italic !important;
}
/*************************/
.interactive:focus {
  outline: 0 !important;
}

/*************************************/
/******** ACTIVITY ORDER PAGE ********/
/*************************************/
.skull-icon {
  box-sizing: border-box;
}
.skull-icon .cont {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin:0 auto;
  
  cursor: pointer;
}
.skull-icon .cont .img {
  display: block;
  width: 100%;
  height: auto;
}
.skull-icon .cont .overlay {
  position: absolute;
  bottom: 0;
  background: #BCBCBC;
  width: 100%;
  transition: .5s ease;
  /* opacity: 0.15; */
  color: white;
  padding: 5px;
  text-align: center;
  border-radius: 0 0 5px 5px;
  color: #000000;
}
.complete {
  opacity: 1 !important;
}
.skull-icon .cont:hover .overlay, /* normal css hover */
.skull-icon .cont.hover .overlay /* hover in javascript focus by adding/removing "hover" class */
{
  /* opacity: 1; */
  color: #BCBCBC;
  background: #000000;
}

/*************************************/
/********* ALL ACTIVITY PAGES ********/
/*************************************/
#mlo-container {
  display: inline-block;
  width: 100%;
  margin-top:54px;
  height: calc(100% - 54px);
}
#activity-container, #activity-0-container, #activity-1-container, #model, #models, #model-0, #model-1 {
  border: none;
  width: 100%;
  min-width: 100px;
  height: calc(100vh - 54px - 250px);
  display: block;
  background-color: none;
}
#anatomical-list-container {
  border: none;
  width: 100%;
  height: calc(100vh - 54px - 250px);
  display: block;
  background-color: none;
}

#activity-0-container {
  border-right: .125px solid #ccc;
  width: calc((100vw - (100vw - 100%))/2);
  float:left;
}
#activity-1-container {
  border-left: .125px solid #ccc;
  width: calc((100vw - (100vw - 100%))/2);
  float:left;
}
#models {
  position: absolute;
  top: 54px;
  left: 0px;
  height: calc(100vh - 54px - 250px);
  width: calc(100vw - (100vw - 100%));
  z-index: +1;
}
canvas {
  outline: none;
  border: 0px solid red;
  width: 100%;
  height: calc(100vh - 54px - 250px);
}
#c 
{
  position: fixed;
  left: 0px; 
  top: 54px;
  width: calc(100vw - 260px);
  height: calc(100vh - 54px - 250px);
  background-color: #fff;
}

#model {
  height: calc(100%);
}
#sidebar-container {
  /* background-color: #FFF;
  background-image: linear-gradient(rgb(235, 235, 235), rgb(250, 250, 250)); */
  border: none;
  width: 100%;
  height: 100%;
  display: block;
  overflow-y:unset;
}
.floating-badge {
  color: rgb(255, 255, 255);
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.7);
  width: 20px;
  height: 20px;
  border-radius: 10px;
  line-height: 16px;
  text-align: center;
  vertical-align: middle;
  border: #CCC 2px solid;
}
/* LOADER:START *
#loading, #loading-0, #loading-1 {
  width: 100%;
  height: calc(100% - 57px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; 
  animation: spin 2s linear infinite;
  margin: 0 auto;
}
/* LOADER:Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* LOADER: END */

/* LOADER II: START */
#loading, #loading-0, #loading-1 {
  width: 100%;
  height: calc(100% - 57px - 75px);
  display: flex;
  justify-content: center;
  align-items: center;
}
/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #0000;
  border-right-color: #ffa50097;
  position: relative;
  animation: l24 1s infinite linear;
}
.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: inherit;
  animation: inherit;
  animation-duration: 2s;
}
.loader:after {
  animation-duration: 4s;
}
@keyframes l24 {
  100% {transform: rotate(1turn)}
}
/* LOADER II: END */

#message-text, #feedback, #ai-feedback {
  word-wrap: break-word;
  white-space: pre-line;
}
a {
  position: relative;
  text-decoration: none;
  border-bottom: none;
}
a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 0px;
  bottom: 0;
  left: 0;
  border-bottom: 1px dotted #4349A9;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
a:hover::before {
  transform: scaleX(1);
}
a.no-line::before, a.no-line:hover::before {
  border-bottom: none;
  transform: none;
  transition: none;
}

/**/
.grid-icons
{
  background-color: #FFF;
}
.grid-icons .col
{
  background-color: #FFF;
}
.grid-icons .col img
{
  background-color: #DDD;
}
/* */
.skull-title-container
{
  padding-left: 1rem;
  padding-top: .5rem;
  text-align:left;
  height: 75px;
}
.skull-title
{
  font-size:1.25rem;
  font-weight: bold;
}
.skull-subtitle
{
  font-size:1rem;
  font-style: italic;
}
.modal-body #mlo-container-order {
  margin-top:0 !important; 
  height:calc(100vh - 170px);
}
.modal-body #mlo-container-order #activity-container, .modal-body #mlo-container-order #activity-container canvas {
  height: 100%;
}
.mammal {
   width: 100%;
   height:auto;
}

@media only screen and (min-width: 768px) {

	/**************************************************
    CSS FOR MONITORS
    **************************************************/
    /* NOTE: (100vw - (100vw - 100%)) is viewport width minus any scrollbar width that may exist */
  #mlo-container {
    display: flex;
  }
  .modal-body #mlo-container-order {
    height:100%;
  }
  .modal-body #mlo-container-order #activity-container {
    height: calc(100vh - 170px);
  }
  #activity-container, #activity-0-container, #activity-1-container, #anatomical-list-container {
    height: 100%;
  }
  #activity-0-container {
    width: calc(( (100vw - (100vw - 100%)) - 260px)/2);
  }
  #activity-1-container {
    width: calc(( (100vw - (100vw - 100%)) - 260px)/2);
  }
  #anatomical-list-container {
    border-left: .125px solid #ccc;
    width: 260px;
    float: left;
  }
  #sidebar-container {
    min-width: 300px;
    max-width: 400px;
    overflow-y:auto;
  }
  #models {
    height: calc(100vh - 54px);
    width: calc( (100vw - (100vw - 100%)) - 260px);
  }
  canvas {
    height: 100%;
  }
  #c {
    height: calc(100vh - 54px);
  }
}