
@font-face {
  font-family: 'nexa';
  src: url('../assets/fonts/nexa/Nexa-ExtraLight.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'nexa';
  src: url('../assets/fonts/nexa/Nexa-Heavy.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'accord';
  src: url('../assets/fonts/accord/Accord-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'accord';
  src: url('../assets/fonts/accord/Accord-Bold.ttf') format('truetype');
  font-weight: bold;
}

:root {
  --secondary: rgb(100 198 187);
  --primary: rgb(34 112 116);
  --text-primary: rgb(1 16 46);
  --skin: rgb(250 190 171);
  --gray-primary: rgb(92 106 120);
  --gray-secondary: rgb(230 231 233);
  --tick-width: 2.41px;
}

*{
  box-sizing: border-box;
}
body,html{
  height: 100%;
  width: 100%;
  margin:0px;
  padding: 0px;
}

h1,h2,h4,h3, .subtitle{
  font-family: 'nexa';
}

h1{
  font-size: 20px;
}

h2{
  font-size: 24px;
}

h3{
  font-size: 18.72px;
}

h4{
  font-size: 16px;
}

p{
  font-size: 16px;
}

section{
  width: 100%;
  height: 100%;
}

.subtitle{
  color: white;
}

p{
  font-family: 'accord';
  color: white;
}

svg [class*="zone"]:hover {
  
  cursor: pointer;
}

svg.button-svg path{
    cursor:pointer;
}

.progress-bar-container{
  background-color: rgb(35 31 31);
  height: 5px;
  width: 100%;
}

.progress-bar{
  transition: all 0.3s linear;
  width:15%;
  height:100%;
  background-color: #FEAAC2;
}


.step-container{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.stepper-text{
  margin:0px;
}

.flex-grow-1{
  flex-grow: 1;
}

.step-content{
  width: 100%;
  border-radius: 11px;
  background-color: #FEAAC2;
  height: 100%;
  position: relative;
}

.row .introduction{
  padding-left: 10px;
  padding-right: 10px;

  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.introduction .subtitle, .introduction p{
  margin:0px 0px 20px 0px;
}


.introduction button{
  background: #f9487a;
  border: none;
  color: white;
  padding: 4px;
  border-radius: 10px;
  font-family: 'accord';
  font-weight: bold;
  width: 135px;
  cursor: pointer;
  font-size: 16px;
  width: 171px;
  height: 40px;
  margin-bottom: 10px;
}

.introduction button:active {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}


.introduction-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}

img, svg{
  max-width: 100%;
}

introduction-image img {
  margin: 0 auto;
}

.title-third-step, .title-fourt-step, .title-six-step{
  margin: 0px;
  padding: 40px 30px;
  color: white;
}
.ticks-main, .ticks{
  position: relative;
  width: 100%;
}

.ticks-text span{
  position: absolute;
  font-family: 'accord';
  font-weight: bold;

}

.ticks-text span:nth-child(1) {
  left: 0%;
}
.ticks-text span:nth-child(2) {
  left: 30%;
}
.ticks-text span:nth-child(3) {
  left: 60%;
}
.ticks-text span:nth-child(4) {
  left: 100%;
}

.ticks-main span{
  position: absolute;
  font-size: 10px;
  top: -14px;
  opacity: 0.5;
}

.ticks-main span:nth-child(1) {
  left: calc( ((0% * 100) / 90 ) + 3px);
}
.ticks-main span:nth-child(2) {
  left: calc( (10% * 100) / 90);
}
.ticks-main span:nth-child(3) {
  left: calc( (20% * 100) / 90); 
}
.ticks-main span:nth-child(4) {
  left: calc( (30% * 100) / 90);
}
.ticks-main span:nth-child(5) {
  left: calc( (40% * 100) / 90);
}
.ticks-main span:nth-child(6) {
  left: calc( (50% * 100) / 90);
}
.ticks-main span:nth-child(7) {
  left: calc( (60% * 100) / 90);
}
.ticks-main span:nth-child(8) {
  left: calc( (70% * 100) / 90);
}
.ticks-main span:nth-child(9) {
  left: calc( (80% * 100) / 90);
}
.ticks-main span:nth-child(10) {
  left: calc( ((90% * 100) / 90 ) - 3px);}


.ticks-main .tick-indicator{
  font-size: 14px;
  font-weight: bold;
  top: -15px;
  color: var(--text-primary);
  opacity: 1;
}

.image-doctor{
  background-image: url('../assets/images/calculadora.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

}

.title-step{
  color: white;
}

.title-second-step{
  padding: 0px 20px;
}

.title-step-fouth{
  color: var(--text-primary);
  padding-bottom: 15px;
}
.gender-button{
  background-color: rgb(255 255 255);
  color: var(--text-primary);
  font-family: 'nexa';
  /*padding: 7px 10px;*/
  width: 101px;
  box-shadow: 4px 6px 1px #f9487a;
  height: 21px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  margin: 40px 0px;
  display: block;
  font-size: 14px;
}

.gender-button:active {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.zone-button{
  background-color: #FEAAC2;
  color: white;
  font-family: 'accord';
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
}
.zone-button:active {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.zone-button-container{
  display: flex;
  gap:10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.subtitle-step-fourth{
  color: var(--text-primary);
  padding: 0px;
  margin: 0px;
}

.calendar, .schedule{
  max-width: 102px;
  width: 100%;
}

#container-privacidad #test1 {
    width: min-content;
}

#container-privacidad label, #container-privacidad a{
    font-family: 'accord';
    color: white;
}


p.schedule-text-soon{
  margin-top: -10px;
}


.rangeWrap{
  display: inline-block;
  position:relative;
}
#textRange{
  display:block;
  position:absolute;
  left:0px;
  bottom:-40px;
  pointer-events: none;
  font-size: 14px;
  line-height: 1;
  text-shadow: none;
  padding: 3px 5px;
  background-color: #FEAAC2;
  color: white;
  border-radius: 4px;
  width: 100px;
  text-align: center;
}

.zone-button-wrap{
  display: flex;
  flex-direction: column;
}
.zone-button-wrap span{
  color: var(--text-primary);
  text-align: center;
  font-size: 13px;
}
.zone-selection-container{
  width: 70%;
}
.button-zone-selected{
  /*border-bottom: 5px solid #f9487a;*/
  background: rgb(230 231 233);

}
.current-button-zone-selected{
  background: #f9487a;
  border: none;
}


#inputRange, .rangeWrap{
  width: 100%;
}
#inputRange{
  accent-color:#FEAAC2;
  color: transparent;
  z-index: 2;
  position: relative;
}

.hide-zone{
  opacity: 0;
  pointer-events: none;
}

.skin-selected{
  fill: #f9487a;
  stroke:#f9487a;
  stroke-width: 2px;
}

.skin-min{
  fill: var(--skin);
  fill-opacity: 0.3;

}
.skin-medium{
  fill: var(--skin);
  fill-opacity: 0.5;

}
.skin-max{
  fill: var(--skin);
  fill-opacity: 0.9;
}

#send-data{
  margin:0px 30px;
}
#send-data input,#send-data select{
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background: transparent;
  color: white;
  border: 1px solid white;
  font-size: 18px;
  font-family: 'accord';
  cursor: pointer;
  margin:15px 0px;
}

#send-data select{
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  margin-top: 0px;
}

#send-data select option{
  color:var(--text-primary);
}

#send-data input:first-child{
  margin-top: 0px;
}

#send-data input:focus,#send-data select:focus {
  outline-color: #f9487a;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

#send-data input::placeholder,#send-data select::placeholder{
  color: white;
}

#send-data div{
  position: relative;
}

.button-submit{
  padding: 10px;
  background: white;
  border: 1px solid #FEAAC2;
  border-radius: 10px;
  color: #FEAAC2;
  font-weight: bold;
  font-size: 18px;
  width: 100%;
  cursor: pointer;
  margin-top: 20px;
}

.button-submit{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
#back{
    cursor: pointer;
    display: inline-block;
    height: 20px;
    padding: 5px 10px 0 0;
}

button.submit-step-5{
  width: 150px;
  margin: 20px auto;
  display: block;
  position: relative
}

.title-final-step{
  font-family: 'nexa';
  margin:40px 30px 20px 0px;
  padding: 0px;
  color: #fff;
}

.subtitle-final-step{
  font-family: 'accord';
  margin-bottom: 40px;
  color: var(--text-primary);
}

div.margin-final-step{
  margin: 0px 30px;
}

.cell-header-container,.cell-gray-container, .cell-white-container, .cell-total{
  display: flex;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  width: 100%;
  font-family: 'nexa';
}

.cell-header-container div,.cell-gray-container div, .cell-white-container div, .cell-total div{
  width: 100%;
}

.cell-header-container{
  display: flex;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  border-left: 5px solid #fff;
  width: 100%;
  font-family: 'nexa';
  background: var(--gray-primary);
  color: white;
  border-radius: 10px;
}
.cell-header-container div{
  width: 100%;
}

.cell-gray-container{
  background: var(--gray-secondary);
  color: var(--text-primary);
}

.cell-white-container{
  background: white;
  color: var(--text-primary);
}
.cell-total{
  background: #f9487a;
  color: white;
  border-right: 5px solid #fff;
  margin-bottom:0px;
  border-radius: 10px;
}

.swiper-container{
  width: 100%;
  position: relative;
  /*overflow: clip;*/
  overflow: hidden;
  height: 100%;
}

.step-content{
  overflow-y: auto;
}

.button-svg path, .button-svg rect{
  cursor: pointer;
}
/*
svg.man{
  width: 40%;
}
.woman{
  width: 30%;
}*/

.years-text, .schedule-text{
  color: white;
  font-size: 16px;
  font-weight: bold;
  font-family: 'nexa';
  margin:0px;
  padding: 0px;
  text-align: center;
}

#zone-range-container{
  margin-bottom: 20px;
}
.ticks-text span {
  font-size: 12px;
  color: var(--text-primary);
}
.ticks-text span:last-child {
  position: absolute;
  right: -60px;
  left: unset;
}

.title-fourth-step{
  color: var(--text-primary);
  margin-bottom: 20px;
}

@media (min-width: 986px) {
    .subtitle{
      /*font-size: 2.8vw;*/
    }
    .introduction p{
      /*font-size: 1.7vw;*/
    }
    .introduction-image img{
      width: 90%;
    }

    .introduction button,.gender-button, .button-submit, .button-submit.submit-step-5{

      /*width: 12vw;
      height: 3.5vw;
      font-size: 1.1vw;*/
    }

    .title-step{
      /*font-size: 2.9vw;*/
    }

    .subtitle-final-step{
      /*font-size: 1.4vw;*/
    }

    .calendar, .schedule{
      /*width: 11vw;
      max-width: 11vw;*/
    }

    .years-text,.schedule-text{
      /*font-size: 2vw;*/
    }

    .title-step.title-fourth-step{
      /*font-size: 1.9vw;*/
    }
}


@media (min-width: 577px) {
  .ticks-text span {
    font-size: 12px;
  }
  .ticks-text span:last-child {
    position: absolute;
    right: -60px;
    left: unset;
  }
}


@media (min-width: 577px) {
  .ticks-text span {
    font-size: 12px;
  }
  .ticks-text span:last-child {
    position: absolute;
    right: -60px;
    left: unset;
  }
}



@media (max-width: 576px) {
  .title-step {
    padding-bottom: 0px;
  }

  .title-third-step{
    padding-bottom: 0px;
  }

  .image-doctor{
    height: 426px;
  }
  .calendar,.schedule{
    width: 127px;
  }

  .title-fourth-step,#zone-range-container{
    padding: 0px 20px;
  }
  .zone-button-container{
    padding-left: 20px;
  }

  div svg.man{
    width: 37%;
  }
  svg.woman{
    width: 27%;
  }

  .title-six-step{
    font-size: 24px;
  }

 

  .ticks-text span:nth-child(2), .ticks-text span:nth-child(3) {
    transform: translateX(-29%);
  }


  .ticks-text span {
    font-size: 10px;
  }

  .ticks-text span:last-child {
    position: absolute;
    right: -10px;
    left: unset;
}

  .zone-selection-container{
    width: 100%;
  }
  .title-step{
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
    margin-bottom: 20px;
	margin-top: 30px;
  }

}

img.button-svg{
	cursor: pointer;
}

.centrar{
	text-align:center;
}