.container-max {
  max-width: 1010px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px
}

.container-min {
  background-color: #fff;
  max-width: 650px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.input-box {
  max-width: 100%;
  width: 100%
}

.input-box p {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #5f5f5f;
  margin-bottom: 8px;
  margin-top: 0 !important;
}

.input-box input {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: #000;
  width: 100%;
  height: 48px;
  border-radius: 4px;
  border: none;
  outline: none;
  border: 1px solid #d3d3d3;
  padding-left: 16px;
  padding-right: 48px;
  background-color: #fff;
  margin: 0 !important;
}

.input-box input::-webkit-inner-spin-button,
.input-box input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none
}

.input-box input:focus {
  border: 1px solid #297cdd
}

.input-wrap {
  width: 100%;
  position: relative
}

.input-wrap .input-wrap-text {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  padding-left: 16px
}

.input-wrap .clear-btn {
  position: absolute;
  width: 24px;
  height: 24px;
  right: 16px;
  top: calc((100% - 24px)/2);
  pointer-events: none;
  opacity: 0
}

.input-wrap .clear-btn.active {
  opacity: 1;
  pointer-events: visible;
  cursor: pointer
}

.external-block-wrap {
  background-color: #ededf0;
  border-radius: 4px;
  border: .5px solid #d3d3d3
}

.external-block {
  padding: 24px 16px
}

.external-block__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px
}
.external-block__top h5 {
  font-size: 25px;
  line-height: 32px;
}
.external-block__top h4 {
  font-weight: 500;
  font-size: 21px;
  line-height: 27px
}

.external-block__top img {
  max-width: 216px;
  width: 100%
}

.external-block__form form {
  display: flex;
  align-items: flex-end
}

.external-block .input-box {
  max-width: 228px;
  width: 100%;
  margin-right: 16px
}

.external-block .input-box:last-of-type {
  margin-right: 24px
}

.external-block__btn {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 216px;
  width: 100%;
  height: 48px;
  background-color: #0b4369;
  color: #fff;
  border-radius: 4px;
  border: 2px solid #0b4369;
  transition: all .3s ease;
  text-decoration: none
}

.external-block__btn:hover {
  background-color: #DC3135;
  color: #fff !important;
  border: 2px solid #DC3135;
}

.sanoat img {
  max-width: -moz-fit-content;
  max-width: fit-content;
  width: 100%
}

.sanoat p {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px
}

.sanoat__top h4 {
  font-weight: 500;
  font-size: 25px !important;
  line-height: 32px;
  margin-bottom: 16px
}

.sanoat__top p {
  margin-bottom: 16px
}

.sanoat__top-logo-img {
  margin-bottom: 0;
  max-width: 223px !important;
  width: 100%
}

.sanoat__top-img {
  margin-bottom: 16px
}

.sanoat__bot p {
  margin-bottom: 16px
}

.sanoat__bot p:not(:last-of-type) {
  margin-bottom: 14px
}

.calc-sec {
  margin-bottom: 16px
}

.calc-wrap {
  width: 100%;
  background-color: #ededf0;
  border-radius: 4px;
  border: .5px solid #d3d3d3;
  padding: 24px 16px
}

.calc h4 {
  font-weight: 500;
  font-size: 25px;
  line-height: 32px;
  margin-bottom: 16px
}

.calc .calc__top {
  padding-bottom: 16px;
  margin-bottom: 16px;
  position: relative
}

.calc .calc__top::after {
  content: '';
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ededf0;
  background: linear-gradient(to right, transparent 50%, #ededf0 50%),
    linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  background-size: 15px;
}

.calc .calc__flex-box {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.calc .calc__flex-box .input-box {
  max-width: 283px
}

.calc .input-box {
  margin-bottom: 16px
}



.calc .calc-btn {
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 216px;
  width: 100%;
  height: 48px;
  background-color: #0b4369;
  color: #fff;
  border-radius: 4px;
  border: 2px solid #0b4369;
  transition: all .3s ease;
  text-decoration: none
}

.calc .calc-btn:hover {
  background-color: #DC3135;
  color: #fff;
  border: 2px solid #DC3135;
}

.recommend-sec {
  display: none;
  padding-bottom: 10px
}

.recommend-sec.active {
  display: block
}

.recommend-wrap {
  background-color: #e7fcff;
  position: relative;
  padding: 24px 16px
}

.recommend-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background-color: #87f1ff;
}

.recommend p {
  font-size: 16px;
  line-height: 25px;
  max-width: 568px;
}

.recommend p .acc {
  background-color: #87f1ff;
  font-weight: 400 !important;
}

.recommend__top h4 {
  font-weight: 500;
  font-size: 25px !important;
  line-height: 32px;
  margin-bottom: 16px
}

.recommend__top p{
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}



.recommend__cont{
  padding-bottom: 20px;
  margin-bottom: 20px;
  position: relative;
}
.recommend__cont::after {
  content: '';
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ededf0;
  background: linear-gradient(to right, transparent 50%, #ededf0 50%), linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  background-size: 15px;
}


.recommend__cont p:not(:last-of-type) {
  margin-bottom: 16px;
}

.recommend__cont p a {
  color: #297cdd
}

.recommend__cont p span {
  font-weight: 700
}

.recommend__cont .box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.recommend__cont .box p {
  margin: 0;
}

.recommend__cont img {
  display: block;
  max-width: 223px;
  width: 100%;
}

.recommend__cont-line p {
  margin: 0;
}

.recommend__cont-line {
  position: relative;
}

.cont-text p a{
  text-decoration: underline;
}

.recommend__cont-line::after {
  content: '';
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ededf0;
  background: linear-gradient(to right, transparent 50%, #e7fcff 50%),
    linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  background-size: 15px;
  display: none;
}

.coment {
  display: flex;
  align-items: center
}

.coment .coment__item {
  display: flex;
  align-items: center;
  margin-right: 33px
}

.coment .coment__item img {
  margin-right: 5px
}

.coment__item p {
  margin-bottom: 0;
}

.err-sec {
  display: none;
  padding-bottom: 23px
}

.err-sec.active {
  display: block
}

.err-wrap {
  background-color: #FFFACD;
  position: relative;
  padding: 24px 16px
}

.err-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background-color: #FFF48E;
}

.err p {
  font-size: 16px;
  line-height: 25px
}

.border {
  border: 1px solid #DC3135 !important;
  animation: shake .5s;
  animation-iteration-count: 1000s
}



@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg)
  }

  10% {
    transform: translate(-1px, -1px) rotate(-1deg)
  }

  20% {
    transform: translate(-1px, 0px) rotate(1deg)
  }

  30% {
    transform: translate(1px, 1px) rotate(0deg)
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg)
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg)
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg)
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg)
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg)
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg)
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg)
  }
}

@media(max-width: 1199px) {
  .container-min {
    margin: 0 auto
  }
}

@media(max-width: 992px) {
  .external-block .input-box {
    margin-right: 10px
  }

  .external-block .input-box:last-of-type {
    margin-right: 10px
  }

  .sanoat__top .sanoat__top-logo-img {
    max-width: 200px !important;
    margin-bottom: 0 !important;
  }
}

@media(max-width: 769px) {

  .input-box input:focus{
    border: none;
    outline: 1px solid #297cdd !important;
  }
  .external-block {
    padding: 24px 16px
  }

  .external-block__top {
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 16px
  }

  .external-block__top img {
    max-width: 156px;
    width: 100%;
    margin-bottom: 8px
  }

  .external-block__form form {
    display: block
  }

  .external-block .input-box {
    max-width: 100%;
    width: 100%;
    margin-right: 0;
    margin-bottom: 16px
  }

  .external-block .input-box:last-of-type {
    margin-bottom: 24px;
    margin-right: 0
  }

  .external-block__btn {
    max-width: 100%;
    width: 100%
  }

  .container-max {
    padding: 0
  }

  .container-min {
    max-width: 100%;
  }




  .calc-sec {
    max-width: 100%;
    width: 100%;
  }

  .calc-wrap {
    padding: 24px 12px
  }

  .calc .calc__flex-box {
    display: block
  }

  .calc .calc__flex-box .input-box {
    max-width: 100%
  }

  .calc .calc-btn {
    max-width: 100%
  }

  .recommend-sec {
    padding-bottom: 26px;
  }

  .recommend p {
    max-width: 100%
  }

  .coment {
    padding-left: 12px;
    padding-right: 12px;
    justify-content: space-between
  }

  .coment .coment__item {
    display: flex;
    align-items: center;
    margin-right: 0
  }

  .coment .coment__item img {
    margin-right: 5px
  }

  .coment .coment__item p {
    font-size: 14px;
    line-height: 22px;

  }

  .err-sec {
    padding: 0 12px;
    padding-bottom: 23px
  }
}

@media(max-width:500px) {
  .recommend__cont .box {
    display: block;
  }

  .recommend__cont .box p {
    margin-bottom: 10px;
  }
}
