:root {
  
  --main-bg-colour: rgb(26, 26, 33);
  --panel-bg-colour: rgb(35, 36, 46);
  
}

body {
    margin: 0px;
    padding: 10px;
    background-color: var(--main-bg-colour);
    color: white;
    
    font-size: 1.15rem;
    font-family: "Raleway", sans-serif;
}

.hidden {
  display: none;
}

.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    border-bottom: 1px solid rgb(0,0,0, 0.10);
    padding-left:10px;
    padding-right:10px;
    padding-top:5px;
    padding-bottom: 5px;

    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    background-color: rgb(0, 0, 0);
}

.modal-header h5 {

  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 2.5 !important;
  padding-left: 1em;
  font-family: "Raleway", sans-serif;
}

.modal-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-top: 0;
  border-bottom: 1px solid rgb(0,0,0, 0.10);
  padding-left:10px;
  padding-right:10px;
  padding-top:5px;
  padding-bottom: 5px;

  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  background-color: rgb(0, 0, 0);
}

.container {
    display: flex;
    justify-content: center;
}

.target-widget {
  width:800px;
  padding: 20px;
  position: relative;
  background-color: var(--panel-bg-colour);
}

.target-widget-img {
  max-width: 100%;
  filter: grayscale(1);
}

.target-widget-img-parent {
  position: relative;
  display: none;
  max-width: 1000px;
}

.target-widget-img-parent[visible] {
  position: relative;
  display: block;
}

.target-widget .keypoint-canvas {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity 0.5s;
}

.target-widget .keypoint-canvas[visible] {
  opacity:1;
}

.target-file-input-label {
  display: inline;
}

.file-blurb {
  display: inline;
}

.file-select-container {
  margin-block: 1em;
}

#crop-toggle {
  display: inline;
}

.tool-container {
  display: none;
}

.tool-container[visible] {
  display: block;
}

.button {
  display: inline;
}

.crop-tools-container {
  display: none;
}

.crop-tools-container[visible] {
  display: inline;
}

.target-widget-img-overall {
  height: 15vh;
  background-repeat: no-repeat;
  width: 15vh;
  background-size: contain;
  margin: auto;
  display: none;
}

.target-widget-img-overall[visible] {
  display: block;
}

.target-widget-img-good {
  background-image: url("/static/img/test/greenCheck.png");
}

.target-widget-img-bad {
  background-image: url("/static/img/test/redX.png");
}

.corners {
  border-radius: 0.75rem;
  border: 2px solid rgba(54, 114, 183, 0.623);
  -webkit-box-shadow: 0px 0px 22px 3px rgba(54,115,183,0.6), 0px 0px 5px 0px rgba(54,115,183,0.86);
  box-shadow: 0px 0px 22px 3px rgba(54,115,183,0.6), 0px 0px 5px 0px rgba(54,115,183,0.86);
}

.score-header {
  padding-block: 0.5em;
}

.info-div {
  padding-left: 2em;
  padding-bottom: 1em;
}

.keypoints-toggle-container {
  display: inline;
}

.tools-container {
  margin-left: 1em;
}

.dark-toggle-container {
  display: none;
}

.dark-toggle-container[visible] {
  display: inline;
}

label {
  margin-block: 0.5em;
}
