/* whatsApp btn */
@-webkit-keyframes pulse {
  from {
    opacity: 1;
    -webkit-transform: scale(1.1, 1.1);
            transform: scale(1.1, 1.1);
  }
  to {
    opacity: 0;
    -webkit-transform: scale(1.7, 1.7);
            transform: scale(1.7, 1.7);
  }
}

@keyframes pulse {
  from {
    opacity: 1;
    -webkit-transform: scale(1.1, 1.1);
            transform: scale(1.1, 1.1);
  }
  to {
    opacity: 0;
    -webkit-transform: scale(1.7, 1.7);
            transform: scale(1.7, 1.7);
  }
}
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 60px;
  width: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
  background-color: #408A7E;
  -webkit-box-shadow: rgb(0 0 0 / 15%) 0px 3px 12px;
          box-shadow: rgb(0 0 0 / 15%) 0px 3px 12px;
  cursor: pointer;
  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  z-index: 999;
}
.whatsapp-btn svg {
  width: 36px;
  height: 36px;
}
.whatsapp-btn .pulse-button__rings {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: auto;
  height: auto;
  border: 2px solid #408A7E;
  border-radius: 50%;
  -webkit-animation-name: pulse;
          animation-name: pulse;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  z-index: -1;
}

.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 300px;
  width: 100%;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 10px;
  -webkit-box-shadow: rgb(0 0 0 / 10%) 0px 12px 24px 0px;
          box-shadow: rgb(0 0 0 / 10%) 0px 12px 24px 0px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  z-index: 999;
}
.whatsapp-widget.active {
  bottom: 120px;
  opacity: 1;
  visibility: visible;
}
.whatsapp-widget__header {
  padding: 15px 17px;
  position: relative;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  background-color: #408A7E;
}
.whatsapp-widget__header .close {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.whatsapp-widget__header .close path {
  -webkit-transition: all 100ms ease-in-out;
  transition: all 100ms ease-in-out;
}
.whatsapp-widget__header .close:hover path {
  fill: #fff;
}
.whatsapp-widget__header .img {
  width: 48px;
  height: 48px;
  position: relative;
}
.whatsapp-widget__header .img:after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  background-color: #62BD4D;
  border: 2px solid #408A7E;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  z-index: 1111;
}
.whatsapp-widget__header .img img {
  width: inherit;
  height: inherit;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  object-position: left 20%;
  background-color: #ffff;
}
.whatsapp-widget__header .info .author {
  margin: 0;
  font-weight: bold;
}
.whatsapp-widget__header .info .work-time {
  color: #CADEDB;
  margin: 6px 0 0;
}
.whatsapp-widget__body {
  min-height: 150px;
  padding: 20px 17px;
  background-color: #999;
  background-image: url("https://static.tildacdn.com/tild3230-6533-4435-b033-383562366130/wh_wallpaper.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.whatsapp-widget__body .message {
  padding: 12px;
  max-width: 85%;
  width: 100%;
  background-color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.whatsapp-widget__body .message_left {
  border-radius: 10px 10px 10px 0;
}
.whatsapp-widget__body .message_author {
  margin: 0;
  color: #919191;
  font-weight: 500;
}
.whatsapp-widget__body .message_content {
  margin: 8px 0 0;
  color: #212121;
  line-height: 1.4;
}
.whatsapp-widget__footer {
  padding: 17px;
  color: #fff;
  background-color: #fff;
}
.whatsapp-widget__btn {
  padding: 14px 0;
  max-width: 100%;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 15px;
  background-color: #6BA39A;
  text-decoration: none;
  -webkit-transition: all 100ms ease-in-out;
  transition: all 100ms ease-in-out;
}
.whatsapp-widget__btn:hover {
  background-color: #408A7E;
}

@media (max-width: 576px) {
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-btn .pulse-button__rings {
    -webkit-animation-name: none;
            animation-name: none;
  }
  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-widget {
    max-width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .whatsapp-widget__body {
    height: 100vh;
  }
}

.t-rec{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: scale(1)
    transition: all 300ms ease-in-out;
}
.t-rec.hide{
    position: absolute;
    opacity: 0;
    transform: scale(-1);
    visibility: hidden;
}

/* Калькулятор с Модальным окном */
.ras-form{
    margin: 0 auto;
    font-family: "Ubuntu", sans-serif;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	gap: 30px;
}
.ras-form_col-2{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 30px 1fr;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}
@media (max-width: 680px) {
    .ras-form_col-2{
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;    
    }
}
.ras-form_col-2 .t-input-title{
    height: auto;
}
.ras-form_col-2 .t-descr_md {
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: bold;
}
.ras-form .t-radio__indicator{
    border-color: #fa6125;
}
.ras-form .t-radio__indicator:after{
    background: #fa6125;
}

.ras-form .btn{
    margin: 0 auto;
    width: 100%;
    display: inline-block;
}
.ras-form .btn .t-btn{
    margin: 0 auto;
    max-width: 390px;
    width: 100%;
    color: #ffff;
    font-weight: 400;
    border: 0 !important;
    background: #fa6125;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    opacity: 1;
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.ras-form .btn.disabled{
    pointer-events: none;
}
.ras-form .btn.disabled .t-btn,
.ras-form .btn .t-btn:hover{
    background: #FF9E77;
}




.ras-form .t-input-block{
    position: relative;
}
.ras-form .t-input-block .t-input{
    padding-top: 15px;
}
.ras-form .t-input-block .t-input + label{
    color: #747474;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    transition: all 200ms ease-in-out;
    cursor: text;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently */
}

.ras-form .t-input-block .t-input:not(:placeholder-shown) + label,
.ras-form .t-input-block .t-input:focus + label {
    font-size: 11px;
    top: 10px;
    transform: translateY(0);
}



/* Форма паказаний при аперайии */
.ras-form-indication{
    /*margin-top: 100px;*/
}
.ras-form-indication__header{
    padding: 50px 20px;
    position: relative;
    text-align: center;
    border: 1px solid #B8CAD5;
    box-sizing: border-box;
}
.ras-form-indication__header .question-count{
    padding: 12px 50px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-family: "Ubuntu", sans-serif;
    white-space: nowrap;
    color: #fff;
    background-color: #FA6125;
}
.ras-form-indication__header .title{
    font-size: 28px;
}
.ras-form-indication__header .desc{
    margin-top: 10px;
    font-size: 20px;
}
.ras-form-indication .t-input-group{
    height: 52px;
    position: relative;
}
.ras-form-indication .t-input-group .t-input-block{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.ras-form-indication .t-input-block .t-input{
    padding-top: 15px;
}
.ras-form-indication .form-control{
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 300ms ease-in-out;
}
.ras-form-indication .form-control.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.ras-form-indication .btn{
    width: 100%;
    text-align: center;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms ease-in-out;
}
.ras-form-indication .btn.active{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.ras-form-indication .btn .t-btn.disabled{
    pointer-events: none;
    background: #FF9E77;
}
.ras-form-indication .btn .t-btn{
    cursor: pointer;
}



@media (max-width: 680px) {
    .ras-form,
    .ras-form_col-2{
        grid-gap: 15px;
    }
    .ras-form .t-input,
    .ras-form .btn .t-btn{
        height: 48px;
    }
    .ras-form .btn .t-btn:hover{
        background: #fa6125;
    }
    
    .ras-form-indication__header {
        padding: 50px 20px 40px;
    }
    .ras-form-indication__header .question-count{
        padding: 10px 50px;
        font-size: 18px;
    }
    .ras-form-indication__header .title{
        font-size: 18px;
    }
    .ras-form-indication__header .desc{
        font-size: 14px;
    }
    
}



/* График ИМТ и таблица */
.red{
    background: #E7463C;
}
.green{
    background: #62BD4D;
}
.orange{
    background: #F7BE41;
}

/* График */
.chart{
    margin: 0 auto;
    font-family: "Ubuntu", sans-serif;
}
.chart .bar{
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 15% 25% 15% 45%;
    grid-template-columns: 15% 25% 15% 45%;
}
.chart .bar .cell{
    height: 24px;
    opacity: 0.4;
}
.chart .bar .cell.active{
    opacity: 1;
    position: relative;
}
.chart .bar .cell.active::before{
    content: "";
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    position: absolute;
    top: 30px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 16px 10px;
    border-color: transparent transparent orange transparent;
}
.chart .bar .cell.red.active:before{
    border-color: transparent transparent #E7463C transparent;
}

.chart .bar .cell.green.active:before{
    border-color: transparent transparent #62BD4D transparent;
}

.chart .bar .cell.orange.active:before{
    border-color: transparent transparent #F7BE41 transparent;
}
.chart .bar .cell.active::after{
    content: attr(data-BMI);
    font-size: 12px;
    font-weight: 500;
    position: absolute;
    top: 52px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}


/* Таблица */
.table{
    margin-top: 60px;
    color: #424551;
    font-family: "Ubuntu", sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.table .row{
    padding: 10px 20px;
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 5px 10px;
}
.table .row:nth-child(2n){
    background: #F4F5F7;
}