@font-face {
    font-family: 'AbsaraSans';
    src: url('../fonts/AbsaraSans-Regular.woff2') format('woff2'),
        url('../fonts/AbsaraSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AbsaraSans';
    src: url('../fonts/AbsaraSans-Bold.woff2') format('woff2'),
        url('../fonts/AbsaraSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



html,
body {
  height: 100%;
  width: 100%;
  position: absolute;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
}

p,
a {
  line-height: 1.5em;
}

#loading {
  display: none;
}
#settings {
  margin-top: 0;
  margin-bottom: 0;
}

h1,
a {
  color: #1a1a1a;
}

label {
  font-weight: 50px;
}

a {
  text-decoration: none;
}

main {
  width: 40em;
  /* margin: auto;
  text-align: center; */
}

.styled-button {
  color: #fff;
  text-align: center;
  background-color: #6706ce;
  border: 1px solid #6706ce;
  border-radius: 4px;
  padding: 13px 20px;
  line-height: 1.5em;
  text-decoration: none;
  display: block;
  margin: 10px;
  margin-bottom: 25px;
  width: 100%;
}

.styled-button-turqouise {
  border: none;
  color: black;
  background-color: #00ffce;
}

.links {
  display: flex;
  text-align: center;
}

.links:first-child {
  flex: 0 50%;
}

.links:last-child {
  flex: 1 50%;
}

.mv-header {
  display: flex;
  padding: 0 1em;
  flex-direction: row;
  align-items: center;
  color: #ffffff;
  background-color: #0d0d0d;
  width: 100%;
}

.mv-header h1 {
  color: #ffffff;
}
.chrt-container {
  height: 612px;
  width: 612px;
}

.bod-wrapper {
  padding: 1em;
}

main {
  position: absolute;
  height: 100%;
  width: 100%;
}


.hairscope-page {
  position: relative;
  height: auto;
  width: 100%;
}

.hairscope-page #video_canvas {
  position: absolute;
}

.hairscope-page .chrt-container {
  height: auto;
  width: 50%;
    display: none;
  
}

.hairscope-page .mv-header {
  width: auto;
}

.vid-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  align-items: center;
  margin-top:16px;
}

.vid-wrapper {
  overflow: hidden;
  border-radius: 0;
  border: none;
}

.infer-widget {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

.load_1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  width: 640px;
  border-radius: 32px;
  background-color: black;
}

.load_txt {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1em;
  color: white;
}

.hairscope-page .mv-header h2 {
    font-size: 16px;
}
.HairScope-SubHeading {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EEF8FA;
    border: 1px solid #E7F5F8;
    border-radius: 50px;
    padding: 3px 10px;
}
.HairScope-SubHeading h4 {
    margin: 0;
    margin-left: 10px;
    font-size: 14px;
    color: #383838;
}
.HairScope-Dec p {
    margin: 0;
    color: #555454;
    font-size: 16px;
    font-weight: 500;
    line-height: 18.14px;
    margin-bottom: 10px;
    text-align: center;
}
#user-name {
    color: #000;
    font-size: 26px;
    font-weight: 800;
    margin-top: 21px;
    margin-bottom: 12px;
}

.hairscope-select {
    margin-top: 29px;
}
.hairscope-select label,.confidence-range label{
    color: #B9B9B9;
    font-weight: normal;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 12.47px;
    margin-bottom: 10px;
    display: block;
}
.form-select {
    background-color: #FAFAFA;
    height: 42px;
    border: 0.5px solid #EEEEEE;
    border-radius: 3px;
    color: #383838;
    font-family: 'AbsaraSans';
    font-weight: normal;
    width: 100%;
    padding-left: 15px;
    padding-right: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 9px;
}
.form-select:focus{
 border: 0.5px solid #EEEEEE;
 outline: none;
}
section#settings {
    max-width: 640px;
    margin: auto;
}
.confidence-range {
    margin-top: 18px;
}
.post_btn {
    background: #383838;
    border: none;
    height: 42px;
    width: 100%;
    border-radius: 3px;
    color: #ffff;
    font-size: 16px;
    text-align: left;
    padding-left: 17px;
    position: relative;
    font-weight: 500;
    font-family: 'AbsaraSans';
    margin-top: 43px;
    padding-right: 20px;
}
.post_btn::after {
    content: '';
    border-left: 7px solid #fff;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    position: absolute;
    right: 16px;
    top: 14px;
}

/* Custom Range Slider Start*/
.range-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    background: #fff;
    padding: 0px 15px;
    background-color: #FAFAFA;
    height: 42px;
    border: 0.5px solid #EEEEEE;
    border-radius: 3px;
    color: #383838;
}

.range-container .range-label{
    font-size: 14px;
    width: 76px;
    text-align: right;
    color: #383838;
    font-weight: 500;
    margin-bottom: 0;
	white-space: nowrap;
}
.range-container input[type="range"] {
  -webkit-appearance: none;
  appearance: none; 
  width: 100%;
  cursor: pointer;
  outline: none;
  border-radius: 15px;
  height: 4px;
  background: #ccc;
}
.range-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none; 
  height: 23px;
  width: 23px;
  background-color: #fff;
  border-radius: 50%;
  border: none;
  transition: .2s ease-in-out;
  box-shadow: rgba(0, 0, 0, 12%) 0px 0.5px 4px;
}
.range-container input[type="range"]::-moz-range-thumb {
  height: 23px;
  width: 23px;
  background-color: #fff;
  border-radius: 50%;
  border: none;
  transition: .2s ease-in-out;
  box-shadow: rgba(0, 0, 0, 12%) 0px 0.5px 4px;
}
/* Custom Range Slider End */



/* Main Popup Container */
    .Popup-HairScope{
      position: fixed;
      bottom: -100%;
      left: 0;
	  height: 100vh;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      display: flex;
      justify-content: center;
      align-items: flex-end;
      transition: bottom 0.5s ease;
    }
	.Popup-HairScope .popup {
		background-color: #fff;
		padding: 16px;
		width: 100%;
		max-width: 640px;
		border-radius: 13px 13px 0 0;
		box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
		text-align: center;
	}
    .Popup-HairScope .popup h3 {
      margin: 0;
      font-size: 20px;
	  color:#000;
	  font-family: 'AbsaraSans';
	  font-weight:bold;
    }
    .Popup-HairScope select{
      padding: 10px;
      width: 100%;
      margin-top: 15px;
      font-size: 1em;
      border-radius: 5px;
      border: 1px solid #ddd;
    }
    .open-popup-btn{
      bottom: 20px;
      right: 20px;
      padding: 10px 20px;
      background-color: #333;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
.Popup-HairScope .popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.Popup-HairScope .save_btn{
    width: 49px;
    height: 30px;
    background: #383838;
    border: none;
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-family: 'AbsaraSans';
    font-weight: 500;
    margin-right: 10px;
}
.popup-open{
    overflow:hidden;
}
.close-btn {
    color: #3C3C43;
    background: #F4F4F4;
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
    line-height: 30px;
}
.HairScope-Radio-Group .radio-button {
   position: relative;
}
.HairScope-Radio-Group .radio-button input {
   display: none;
}
.HairScope-Radio-Group .button {
    background-color: #fff;
    border-radius: 5px;
    color: #B9B9B9;
    cursor:pointer;
    transition: background-color 0.3s, border-color 0.3s;
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    font-family: 'AbsaraSans';
	margin-bottom: 5px;
}
.HairScope-Radio-Group .radio-button input:checked + .button {
    background-color: #F4F4F4;
    color: #383838;
}
.HairScope-Radio-Group .button:hover {
    background-color: #F4F4F4;
    color: #383838;
}
.HairScope-Radio-Group .radio-button input:checked:hover + .button {
    background-color: #F4F4F4;
    color: #383838;
}
.HairScope-Radio-Group {
    margin-top: 45px;
	margin-bottom:25px
}
input#cameraSelect{
    width: 100%;
    height: 42px;
    border: 0.5px solid #EEEEEE;
    padding-left: 12px;
    box-sizing: border-box;
background: url(../images/down-arrow.png) no-repeat;
     background-size: 12px;
    background-position: 98% 50%;
}
input#cameraSelect:focus{
   outline:none;
}
.popup-open .hairscope-page {
    overflow: hidden;
}
.hairscope-page{
    overflow-x: hidden;
}
.vid-wrapper {
    position: relative;
}