@font-face {
  font-family: 'SpaceGrotesk-Medium';
  src: local('SpaceGrotesk-Medium'),
       url('../fonts/SpaceGrotesk-Medium.ttf') format("truetype");
  font-display: swap;
}

@font-face {
  font-family: 'SpaceGrotesk-Bold';
  src: local('SpaceGrotesk-Bold'),
       url('../fonts/SpaceGrotesk-Bold.ttf') format("truetype");
  font-display: swap;
}



* {
 font-family: "SpaceGrotesk-Medium", "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}


body {
  background-color: #f5f5f5;
}

.container-fluid{
    margin: 2vh 10vw 2vh 10vw;
    width:80vw;
}

.row_header {
  position:relative;
  height:5vh;
  margin-bottom: 2vh;
  width:80vw;
}

.row_header img {
   position: absolute;
   left:0;
   height:5vh;
}

.row_header .nav_main {
    position: absolute;
    right: 50%;
    transform : translate(50%, 0);
    height:5vh;
}

.row_select {
    position:relative;
    height:5vh;
    margin-bottom:2vh;
    width:80vw;
}

.row_select h3 {
   position: absolute;
   left:0;
   height:5vh;
}

.row_select .select_main {
    position: absolute;
    right: 0;
    height:5vh;
}

.row_graph{
    background-color: #ffffff;
    width:80vw;
    padding:10px;
    border-radius: 25px;
    margin-bottom:10px;
}

.row_param{
    position:relative;
    background-color: #ffffff;
    width:80vw;
    padding:10px;
    border-radius: 25px;
    min-height:15vh;
}
.param_input{

    height:100%;
}
.margin_row{
    margin-top:10px;
}
.margin_row_big{
    margin-top:20px;
}

.row_input_range{
    height:100px;
}

.row_input_button{
 padding-left: 15px;
}

.param_output{
    position: absolute;
    right: 0;
    top: 10px;
    width:50%;
}


.checkbox-menu li label {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    margin:0;
    transition: background-color .4s ease;
}
.checkbox-menu li input {
    margin: 0px 5px;
    top: 2px;
    position: relative;
}

.checkbox-menu li.active label {
    background-color: #cbcbff;
    font-weight:bold;
}

.checkbox-menu li label:hover,
.checkbox-menu li label:focus {
    background-color: #f5f5f5;
}

.checkbox-menu li.active label:hover,
.checkbox-menu li.active label:focus {
    background-color: #b8b8ff;
}

.text_header {
    overflow: hidden;
    white-space: nowrap;

}

.nav-link {
    color:black;
}

.btn {
    border-radius: 25px;
}
.dropdown-menu {
    border-radius: 25px;
}

.dropdown{
    display:inline-block;
}

.btn-secondary{
    color: black;
    background-color:#ededed;
    border-color:#ededed;
}
.btn:focus,
.btn:active{
    box-shadow:none !important;
    outline:0px !important;
}



.row_input_range input{
    width:100%;

}

#trs_yield {
    color:black;
    width: 100px;
    border-radius: 10px;
}

#trs_value {
    color:black;
    width: 100px;
    border-radius: 10px;
}

.label_input{
    color: #100E0E;
    opacity:0.7;
    margin-bottom: .5rem;
}

.slider_col{
    width: 15vw;
    padding-left:30px;
}

button.btn.btn-secondary.cancel{
  font-family: fontAwesome;
  content: "\f00d\00a0";
}

#refreshSelect img{
    width:20px;
    height:20px;
    margin:auto;
}

li:hover {
    cursor: pointer;
}

.tooltip_container{
height:0;
width:0;
}

.tooltip{

z-index: 1;
  position:relative;
  opacity: 1;
  width: fit-content;
  font-family: sans-serif;
  background-color: #ECECEC;
  color: #4D4E53;
  border-radius: 5px;
  padding: 4px 8px 4px 9px;
  font-size: 12px;
}

.loader {
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background-color:#f7f9fb;
    transition: opacity 0.75s,visibility 0.75s;
    padding:20px;
}

.loader-hidden {
    opacity:0;
    visibility:hidden;
}

.loader-panel{
    background:#ffffff;
    border-radius:12px;
    padding:32px 28px;
    box-shadow:0 20px 60px rgba(0,0,0,0.12);
    width:min(90vw,420px);
}

.loader-progress{
    height:1.25rem;
    background-color:#e8f0fa;
}

.loader-progress .progress-bar{
    font-weight:600;
}

.loader-caption{
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: #0c2038;
}

.loader-error{
    font-size:0.95rem;
}

.mobile-hero{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:4rem 2rem;
    background-color:#f7f9fb;
    position:relative;
}

.mobile-hero-corner{
    position:absolute;
    top:1.5rem;
    right:1.5rem;
    width:110px;
    height:110px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(1,110,205,0.25);
}

.mobile-hero-title{
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
}

.mobile-hero-highlight{
    color:#016ecd;
}

.mobile-hero .lead{
    font-family:'Space Grotesk', sans-serif;
}

body.email-gate {
    min-height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.email-backdrop {
    position: fixed;
    inset: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000;
    display: none;
    z-index: 900;
}

body.email-gate .email-backdrop {
    display: block;
}

body.email-gate .app-shell {
    display: none;
}

@media (max-width: 768px) {
    .email-backdrop {
        background-size: cover;
    }
}
