* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Farro', sans-serif;
}

#entire_block {
  background-color: #f3f3f3;
  width: 100%;
  /* padding: 2em 0; */
  margin: 0 auto;
  padding-bottom: 2em;
}

#inner_block {
  width: 100%;
  margin: 0 auto;
  display: grid;
  justify-content: center;
}

#right_block,
#left_block {
  width: 100%;
}

#left_block {
  padding-top: 22px;
}

#line {
  border-left: 1px solid white;
  opacity: 0.1;
  box-shadow: 1px 1px 2px rgb(255, 255, 255);
}

#selector {
  display: flex;
  font-size: 15px;
  font-weight: 700;
}

.active {
  width: 33.33%;
  text-align: center;
  padding: 18px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  background-color: #ef223f;
  pointer-events: none;
}

.passive {
  width: 33.33%;
  text-align: center;
  padding: 18px;
  color: black !important;
  font-size: 14px;
  font-weight: 600;
  background-color: #e7e7e7;
  cursor: pointer;
  transition: all 0.5s ease;
}
.passive:hover {
  background-color: #7a7a7a;
  color: white !important;
}

.salary_reg,
.salary_pure {
  text-align: center;
  width: 50%;
  padding: 18px 0;
}

.salary_reg {
  /* background-color: #EF223F; */
  color: white;
  margin-right: 1px;
}

.salary_pure {
  /* background-color: #b8b8b8; */
  color: white;
  margin-left: 1px;
}

.salary_reg,
.general {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.micro,
.salary_pure {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.general,
.it {
  margin-right: 0.5px;
}

.micro,
.it {
  margin-left: 0.5px;
}

#query_1 > p {
  font-size: 12px;
  text-align: end;
  margin-bottom: 10px;
  color: #ef223f;
  letter-spacing: 0.2px;
  font-style: italic;
}

#social_type {
  /* position: relative; */
  display: flex;
  /* margin-bottom: 50px; */
  width: 100%;
}

#social_question {
  /* position: absolute; */
  display: flex;
  justify-content: flex-end;
  /* left: 12.4em; */
  width: 100%;
}

#social_question p {
  /* text-align: right; */
  width: 60%;
  position: relative;
  /* left: 3em; */
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.2px;
  font-style: italic;
}

#query_2 p {
  font-weight: 600;
}

.yes {
  z-index: 5;
}

/* .yes,
.no {
  width: 50%;
  font-size: 14px;
  text-align: center;
  padding: 18px;
  letter-spacing: 0.3px;
}

.yes,
.no {
  color: white;
}

.yes {
  color: white;
} */

#query_2 {
  font-size: 12px;
  text-align: end;
  margin: 24px 0 10px;
  color: #ef223f;
  letter-spacing: 0.2px;
  font-style: italic;
}

#income_type {
  display: flex;
  margin-bottom: 20px;
}

.general,
.it,
.micro {
  width: 33.33%;
  text-align: center;
  padding: 18px;
  color: white;
  font-size: 14px;
}

#salary0_title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  width: 80%;
  height: 50px;
  text-align: end;
  margin-bottom: 10px;
  color: #ffffff;
  background-color: #ef223f;
  letter-spacing: 0.2px;
  font-style: italic;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#salary0 {
  width: 100%;
  height: 50px;
  background-color: white;
  font-size: 35px;
  text-align: end;
  padding-right: 10px;
  border: none;
  font-weight: 600;
  color: #ef223f;
  letter-spacing: 2.5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

#salary_title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 50px;
  font-size: 13px;
  font-weight: 600;
  /* text-align: end; */
  padding-bottom: 5px;
  color: #000000;
  letter-spacing: 0.2px;
  background-color: #e7e7e7;
  /* border-bottom: 1px solid #c8c7d8; */
  font-style: italic;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#salary {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 50px;
  font-size: 27px;
  text-align: end;
  /* padding: 6px 10px 0 0; */
  padding-right: 10px;
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  background-color: #ffffff;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  /* border-bottom: 1px solid #c8c7d8; */
}

#salary0:focus {
  outline: 1px solid #ef223f;
}

#income_title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  width: 80%;
  height: 50px;
  text-align: end;
  padding-bottom: 5px;
  color: #000000;
  letter-spacing: 0.2px;
  background-color: #e7e7e7;
  /* border-bottom: 1px solid #c8c7d8; */
  font-style: italic;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#income_tax {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 50px;
  font-size: 27px;
  text-align: end;
  padding-right: 10px;
  background-color: #ffffff;
  /* padding: 6px 10px 0 0; */
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  /* border-bottom: 1px solid #c8c7d8; */
}

#social_title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  width: 80%;
  height: 50px;
  text-align: end;
  padding-bottom: 5px;
  color: #000000;
  letter-spacing: 0.2px;
  background-color: #e7e7e7;
  /* border-bottom: 1px solid #c8c7d8; */
  font-style: italic;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#social_fee {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 50px;
  font-size: 27px;
  text-align: end;
  padding-right: 10px;
  background-color: #ffffff;
  /* padding: 6px 10px 0 0; */
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

#stamp_title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  width: 80%;
  height: 50px;
  text-align: end;
  padding-bottom: 5px;
  color: #000000;
  letter-spacing: 0.2px;
  background-color: #e7e7e7;
  /* border-bottom: 1px solid #c8c7d8; */
  font-style: italic;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#stamp {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 50px;
  font-size: 27px !important;
  text-align: end;
  padding-right: 10px;
  background-color: #ffffff;
  /* padding: 6px 10px 0 0; */
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

#result_title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  width: 80%;
  height: 50px;
  text-align: end;
  padding-bottom: 5px;
  color: #000000;
  letter-spacing: 0.2px;
  background-color: #e7e7e7;
  /* border-bottom: 1px solid #c8c7d8; */
  font-style: italic;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#result {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 50px;
  font-size: 27px;
  text-align: end;
  padding-right: 10px;
  background-color: #ffffff;
  /* padding: 6px 10px 0 0; */
  font-weight: 600;
  color: black;
  letter-spacing: 2.5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* responsible */
@media (max-width: 768px) {
  #entire_block {
    width: 90%;
  }

  #inner_block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #right_block,
  #left_block {
    width: 100%;
  }

  #selector {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    margin-bottom: 30px;
    width: 104%;
  }

  .salary_reg,
  .salary_pure {
    width: 96%;
  }

  #social_type {
    display: flex;
    flex-direction: column;
    /* margin-bottom: 60px; */
    width: 100%;
  }

  .yes,
  .no {
    /* width: 96%; */
    font-size: 12px;
    text-align: center;
    padding: 18px;
  }

  #social_question {
    left: 0;
  }

  #social_question p {
    left: 0;
    width: 70%;
  }

  #query_1 > p {
    font-size: 11px;
    text-align: end;
  }

  #query_2 {
    font-size: 11px;
    text-align: end;
  }

  #income_type {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 104%;
  }

  .general,
  .it,
  .micro {
    width: 96%;
  }

  /* .general,
  .it {
    border-bottom: 1px solid rgb(109, 109, 109);
  } */

  #salary0_title {
    font-size: 11px;
    width: 110%;
    text-align: center;
  }

  #salary_title {
    font-size: 11px;
    width: 110%;
  }

  #income_title {
    font-size: 11px;
    width: 110%;
  }

  #social_title {
    font-size: 11px;
    width: 110%;
  }

  #stamp_title {
    font-size: 11px;
    width: 110%;
  }

  #result_title {
    font-size: 11px;
    width: 110%;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  #entire_block {
    width: 95%;
  }

  #selector {
    display: flex;
    /* flex-direction: column; */
    font-size: 12px;
    margin-bottom: 30px;
    width: 100%;
  }

  .salary_reg,
  .salary_pure {
    width: 96%;
  }

  #social_type {
    display: flex;
    /* flex-direction: column; */
    /* margin-bottom: 30px; */
    width: 100%;
  }

  .yes,
  .no {
    width: 5%;
    font-size: 12px;
    text-align: center;
    padding: 0px;
  }

  #query_1 > p {
    font-size: 11px;
    text-align: end;
  }

  #query_2 {
    font-size: 11px;
    text-align: end;
  }

  #income_type {
    display: flex;
    /* flex-direction: column; */
    margin-bottom: 20px;
    width: 100%;
  }

  .general,
  .it,
  .micro {
    width: 96%;
  }

  /* .general,
  .it {
    border-bottom: 1px solid rgb(109, 109, 109);
  } */

  #salary0_title {
    font-size: 11px;
  }

  #salary_title {
    font-size: 11px;
  }

  #income_title {
    font-size: 10px;
  }

  #social_title {
    font-size: 11px;
  }

  #stamp_title {
    font-size: 11px;
  }

  #result_title {
    font-size: 11px;
  }
}

.chechmark {
  cursor: pointer;
  font-size: 25px;
  transition: all 0.5s ease;
}

.greyCheck {
  color: #000000;
}

.redCheck {
  color: #ef223f;
}

.chechmark:hover {
  color: #ef223f;
}

/* @media (min-width: 1201px) {
  .general,
  .it {
    border-right: 1px solid rgb(109, 109, 109);
  }
} */

.salary_box {
  display: flex;
  justify-content: center;
}

input[type='checkbox'] {
  width: 30px;
  height: 30px;
  accent-color: #ef223f;
  /* margin-right: 10px; */
  margin-top: 5px;
}
