.customInput__subInfo {
  position: absolute;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 12px !important;
  transform: none !important;
  color: rgba(10, 10, 10, 0.6392156863) !important;
  transition: all 0.3s ease;
}
.customInput.error:not(.customInput.error:has(input:focus)) .customInput__subInfo {
  opacity: 0;
}
.ma__wrap {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 20px;
}
.ma__text {
	font-weight: 500;
	font-size: 20px;
	color: #0A0A0A;
	margin-bottom: 20px;
}
.ma__content {
  display: flex;
  gap: 10px;
  max-height: 700px;
}

.ma__banner {
  width: 100%;
  max-width: 340px;
  min-width: 340px;
  background: #0202b3;
  border-radius: 24px 0 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 700px;
  padding: 30px;
  background-position-x: center;
  background-position-y: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}

.ma__bannerTextContent {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ma__form {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 auto;
  background: #EBEBEB;
  border-radius: 0 24px 24px 0;
  position: relative;
}

.ma__topRadios {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 330px;
}
.ma__relativeWrap {
  display: grid;
  grid-template-rows: 1fr 100px;
  width: 100%;
  height: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;
}
.ma__relativeWrapMain {
  display: flex;
  width: 100%;
  height: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;
}
.ma__relativeWrapButtons {
	position: relative;
	display: flex;
	align-items: center; 
	justify-content: space-between;
	padding: 30px 30px 20px;
	gap: 10px;
}
.ma__relativeWrapButtons button {
	font-weight: 600;
	font-size: 16px;
}
.ma__relativeWrapButtons button:first-child svg {
	margin-right: 10px;
}
.ma__relativeWrapButtons button:last-child svg {
	margin-left: 10px;
}
.ma__reminder {
	position: absolute;
    top: 2px;
    left: auto;
    font-size: 12px;	
}
.ma__formScrollableWrap {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: thin;
  padding: 10px 30px 0 30px;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateX(0);
  display: none;
  flex-direction: column;
  font-weight: 500;
  color: #0A0A0A;
}
.ma__formScrollableWrap.active {
  display: flex;
}
@starting-style {
  .ma__formScrollableWrap {
    opacity: 0;
    transform: translateX(200px);
  }
}
.ma__formScrollableWrapTitle {
	font-weight: 600;
	font-size: 32px;
	color: #0202B3;
	padding: 20px 0;
	line-height: 1.2;
}
.ma__formScrollableSections {
	height: 100%;
    max-height: 100%;
}
.ma__formScrollableWrapSubTitle {
	font-size: 20px;
	font-weight: 600;
	color: #0A0A0A;
	margin-bottom: 25px;
}
.ma__formScrollableWrapItem {
	height: 100%;
    max-height: 100%;
    overflow: auto;
    scrollbar-width: thin;
}

.ma__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.3019607843);
  z-index: 11;
  border-radius: 0 24px 24px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.ma__backdrop.active {
  opacity: 1;
  visibility: visible;
}

.ma__formTopBgWrap {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 10px 20px;
  margin-bottom: -10px;
  background: transparent;
  border-radius: 16px;
  position: relative;
  z-index: 12;
  transition: all 0.3s ease;
}
.ma__formTopBgWrap.active {
  background: var(--white);
}

.ma__generalFormWrap {
  padding: 0 0 30px 0;
  width: 100%;
}

.ma__formChoiceItem {
	display: flex;
	align-items: center;
	border-radius: 16px;
	background: #fff;
	margin-bottom: 10px;
	font-size: 16px;
}

.ma__formChoiceItem label {
	width: 100%;
	padding: 20px;
	align-items: center;
	cursor: pointer;
	flex-wrap: wrap;
	text-align: left;
}

.ma__formChoiceItemCont {
	display: flex;
	gap: 10px;
	width: auto!important;
	height: auto!important;
}

.ma__formChoiceItemCont span {
	word-break: break-word;
	line-height: 1.2;	
}

.ma__formChoiceItemPrice {
	width: auto!important;
	margin-left: auto;
	white-space: nowrap;
}

.ma__formSectionsWrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	height: 100%;
}

.ma__formSectionItems {
	display: none;
}

.ma__formSectionItems.active {
	display: block;
}

.ma__formSectionItem {
	display: flex;
    align-items: center;
    justify-content: space-between;	
	border-radius: 16px;
	background: #fff;
	padding: 20px;
	font-size: 16px;
	margin-bottom: 10px;
	cursor: pointer;
}

.ma__formSectionItem svg {
	flex-shrink: 0;
}

.ma__formSectionItem.active {
  color: #0202B3;
}

.ma__formSectionItem.active svg path {
	stroke: #0202B3;
}

.ma__fullProgram {
	border-radius: 24px;
	background: #FFFFFF;
	padding: 20px 20px 1px;
	font-size: 16px;
	margin-bottom: 30px;
	text-align: left;
}

.ma__fullProgramBlock {
	margin-bottom: 30px;
}

.ma__fullProgramItemTitle {
	font-size: 12px;
	color: #0A0A0A52;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.ma__fullProgramItem {
	margin-bottom: 10px;
	word-break: break-word;
}

.ma__fullPriceBlock {
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 24px;
	background: #FFFFFF;
	padding: 20px;
	font-size: 16px;
	margin-bottom: 30px;
}

.ma__fullPrice {
	font-weight: 600;
	font-size: 20px;
	color: #0202B3;
	white-space: nowrap;
}

.ma__fullPriceOld {
	font-size: 14px;
	color: #0A0A0A52;
    text-decoration: line-through;
	white-space: nowrap;
}

.ma__fullPriceDiscount {
	font-size: 14px;
	color: #0202B3;
	border: 1px solid #0202B3;
	border-radius: 6px;
	padding: 0 6px;
}

.ma__fullPriceText {
	padding-left: 20px;
	font-size: 12px;
	color: #0A0A0AA3;
	line-height: 1.2;
}

.ma__footerPrice {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: 12px;
	color: #0A0A0A;
	margin-left: auto;
}

.ma__footerPriceValue {
	font-weight: 600;
	font-size: 16px;
	color: #0202B3;
}

.ma__generalFormInputs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--white);
  border-radius: 24px;
  padding: 20px 20px 40px 20px;
  margin-bottom: 20px;
}

.ma__generalFormInputs .customInput input {
	background: #F5F5F5;
	border: 1px solid #0A0A0A14;
	border-radius: 16px;
}
.customInput--gray-text { 
	background: #F5F5F5;
}
.ma__generalFormInputsFlex {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.ma__generalFormInputsFlex--withMargin {
  margin-bottom: 40px;
}
.ma__generalFormInputsFlex--align-center {
	align-items: center;
}
.ma__generalFormInputsFlexLeftText {
	margin-right: 50px;
}
.ma__checkboxGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ma__generalFormErrorBlock {
  display: flex;
  gap: 20px;
  padding: 12px 20px;
  width: 100%;
  border: 1px solid #e13320;
  border-radius: 12px;
  align-items: center;
}

.ma__successWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.3019607843);
    z-index: 110;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;	
	cursor: pointer;
}

.ma__success {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  position: relative;
  border-radius: 24px;
  padding: 30px 20px;
  background: #fff;
  max-width: 400px;
}

.ma__success svg {
	position: absolute;
	top: 20px;
	right: 20px;
}

.ma__successTitle {
  font-weight: 600;
  font-size: 24px;
  color: #0202B3;
  text-align: left;
}

.ma__successBody {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
}

.ma__successWrap.active {
    opacity: 1;
    visibility: visible;	
}

.hidden {
  display: none !important;
}

.ma__content.extended {
  max-height: fit-content;
  transition: all 0.3s ease;
}

.ma__content.extended .ma__formScrollableWrap {
  overflow: hidden;
}

.ma__content.extended .ma__banner {
	height: 340px;
}

.ma__generalFormInputs--gray,
.ma__infoDoctor--gray {
  background-color: #f5f5f5;
}

.ma__generalFormInputs--gray {
  padding-bottom: 22px;
}

.ma__generalFormInputs--gray input[type="text"] {
  background-color: #fff;
  border-radius: 16px;
}

.customInput__symbolsCounter {
	position: absolute;
	top: 60px!important;
	right: 0;
	transform: none!important;
	text-align: right;
}
.customInput__symbolsCounterValue {
  font-style: normal;
}
.customInput__symbolsCounter--bottom {
	top: 102%!important;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.outlinedBtn {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 0 30px;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  background-color: transparent;
  border: 1px solid var(--blue);
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  text-decoration: none;
  color: var(--blue);
  transition: background-color 0.3s ease;
}
.outlinedBtn * {
  text-decoration: none;
  color: var(--blue);
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.outlinedBtn:hover {
  background-color: var(--blue);
  color: var(--white);
}

.outlinedBtn:hover span {
  color: var(--white);
}

.ma__globalLoader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.3019607843);
  z-index: 110;
  border-radius: 0 24px 24px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ma__globalLoader.active {
  opacity: 1;
  visibility: visible;
}

.ma__globalLoader:before {
  display: block;
  width: 50px;
  height: 48px;
  background: url("/images/app-loader-white.png");
  content: "";
  animation-name: spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.customInput--full-textarea textarea {
	height: 200px;
}

.customInput--full-textarea span {
	top: 15%;
}

.grayBtn {
	display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 0 30px;
    height: 48px;
    min-height: 48px;
    border-radius: 12px;
    background-color: #0A0A0A14;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: #0A0A0A;
    transition: opacity 0.3s ease;	
}

.invisible {
	visibility: hidden;
}

.blueBtn[disabled] {
	opacity: 0.5;
}

.ma__note {
	padding: 30px;
	border-radius: 16px;
	background: #F2F2FB;
	font-size: 20px;
	margin-bottom: 80px;
	font-weight: 500;
}

.ma__work {}

.ma__workTitle {
	text-align: center;
	font-weight: 600;
	font-size: 48px;
	margin-bottom: 50px;
	line-height: 1;
}

.ma__workBody {
	margin-bottom: -100px;
}

.ma__workBody ol {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;	
	list-style: none;
    margin: 0;
    padding: 0;	
}

.ma__workBody ol li {
	counter-increment: cnt;
    border-radius: 24px;
    background: #f5f5f5;
    font-size: 16px;	
	padding: 30px 20px;
	font-weight: 500;
}

.ma__workBody ol li:before {
	display: block;
    width: 48px;
    height: 48px;
    content: counter(cnt);
    background: #e3e3f7;
    font-size: 24px;
    color: #0202b3;
    text-align: center;
    border-radius: 50%;
    font-weight: 600;	
	line-height: 2;
	margin-bottom: 30px;
}

.ma__workBody ol li p {
	margin: 0 0 10px 0;
	font-weight: 600;
	font-size: 24px;
}

@media screen and (max-width: 1300px) {
  .ma__wrap {
    align-items: center;
	gap: 20px;
  }
  .ma__wrap h1 {
    font-size: 32px;
  }
  
  .ma__banner {
    display: none;
  }
  
  .ma__form {
    display: flex;
    max-width: 100%;
    width: 100%;
    border-radius: 24px;
  }

  .ma__content {
    width: 100%;
    max-width: 100%;
    min-height: 700px;
    justify-content: center;
  }  

  .ma__globalLoader {
    border-radius: 24px;
  }
}

@media screen and (max-width: 830px) {
  .makeAppointment .container {
	  padding: 0;
  }
  .ma__text {
	  font-size: 16px;
	  line-height: 1.6;
	  margin-bottom: 0;
	  text-align: justify;
  }
  .ma__formTopBgWrap {
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 10px 5px;
    border-radius: 0;
    justify-content: flex-start;
  }

  .ma__content {
    max-height: 100%;
    min-height: 0;
	border-radius: 16px;
	background: #F5F5F5;
  }

  .ma__formScrollableWrap {
    overflow: visible;
    padding: 0 20px;
  }

  .ma__formTop {
    position: sticky;
    top: 44px;
    z-index: 10;
  }
  
  .ma__formScrollableWrapTitle {
	  font-size: 24px;
	  padding: 30px 0 25px;
  }

  #make-appointment-search-input:not(:focus):placeholder-shown {
    padding-right: 0;
  }

  .ma__globalLoader {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 0;
    z-index: 100000;
    height: 100dvh;
    width: 100vw;
  }

  .ma__simpleSelectWrap,
  .ma__simpleSelectWrap button {
    min-width: 0;
    width: 100%;
    max-width: 300px;
  }
  
  .ma__simpleSelectWrap--field,
  .ma__simpleSelectWrap--field button {
    width: 100%;
    max-width: 100%;
  }  

  .simple-select-placeholder {
    font-size: 10px !important;
  }

  .simple-select-value div span {
    font-size: 14px !important;
  }

  .ma__simpleSelectWrap button {
    height: 48px;
    padding: 11.5px 15px 7.5px 15px;
  }
  
  .ma__simpleSelectWrap--field button {
	  height: auto;
  }
  
  .ma__simpleSelectWrap--field button span {
	  text-align: left;
  }

  .ma__backdrop {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 0;
    z-index: 10000;
  }

  .ma__infoFlex {
    flex-direction: column;
  }

  .ma__generalFormWrap {
    padding-bottom: 0;
  }

  .ma__generalFormInputsFlex {
    flex-direction: column;
  }

  .ma__generalFormInputs {
    padding: 10px;
    border-radius: 16px;
  }

  .ma__generalFormInputsFlex--withMargin {
    margin-bottom: 0;
  }

  .ma__generalFormInputsFlex--withMargin .customInput:has(#makeAppointment-form-phone) {
    margin-bottom: 40px;
  }
  
  .ma__generalFormInputsFlex--withMargin .customInput:has(#makeAppointment-form-email) {
    margin-bottom: 0;
  }  

  .ma__relativeWrap {
    overflow: visible;
	height: 800px;
  }
  
  .ma__content.extended .ma__relativeWrap {
	  height: auto;
  }
  
  .ma__relativeWrapMain {
	  overflow-y: scroll;
  }

  .ma__generalFormErrorBlock svg {
    min-width: 24px;
  }
  
  .ma__confirmation .s20 {
    font-size: 16px !important;
  }

  .ma__successWrap {
    position: fixed;
	align-items: flex-end;
  }
  
  .ma__success {
	  border-radius: 16px 16px 0 0;
	  gap: 0;
	  padding: 30px 20px 60px 20px;
  }
  
  .ma__generalFormInputsFlex--align-center {
	flex-direction: row;
	flex-wrap: wrap;
	padding: 0 5px;
	gap: 10px;
  }
  
  .ma__generalFormInputsFlexLeftText {
	  width: 100%;
	  margin-right: 0;
  }
  
  .ma__relativeWrapButtons {
	  padding: 20px;
  }
  
  .customInput--gray-text .customInput__symbolsCounter {
	display: none;
  }
  
  .ma__formChoiceItemPrice {
	  flex-basis: 100%;
	  margin-left: 0;
	  color: #0A0A0AA3;
	  padding-left: 28px;
  }
  
  .ma__formScrollableWrapSubTitle {
	  font-size: 16px;
	  margin-bottom: 10px;
  }
  
  .ma__note {
	  padding: 20px;
	  font-size: 16px;
	  text-align: left;
	  margin-bottom: 40px;
  }
  
  .ma__workTitle {
	  font-size: 32px;
	  margin-bottom: 20px;
  }
  
  .ma__workBody ol {
	  grid-template-columns: 1fr;
  }
  
  .ma__workBody ol li {
	  border-radius: 16px;
	  font-size: 14px;
	  text-align: left;
	  padding: 20px;
  }
  
  .ma__workBody ol li:before {
	  width: 32px;
	  height: 32px;
	  font-size: 20px;
	  line-height: 1.6;
	  margin-bottom: 20px;
  }
  
  .ma__workBody ol li p {
	  font-size: 20px;
  }
  
  .ma__fullPriceText {
	  padding: 0;
  }
  
  .ma__fullPriceBlock {
	  flex-wrap: wrap;
  }
  
  .ma__relativeWrapButtons {
	  flex-wrap: wrap;
  }
  
  .ma__relativeWrapButtons button:first-of-type {
	  order: 2
  }
  
  .ma__relativeWrapButtons button:last-child {
	  order: 3;
  }  
  
  .ma__footerPrice {
	  order: 1;
	  flex-basis: 100%;
	  margin: 0;
  }
  
  .ma__relativeWrap {
      grid-template-rows: 1fr 150px;
  }
  
  .ma__formSectionItem {
	  font-size: 14px;
  }
  
  .ma__formSectionsWrap {
	  grid-template-columns: 1fr;
  }
  
  .ma__formSectionItem svg {
	  transform: rotate(90deg);
  }
  
  .ma__formSectionItem.active svg {
	  transform: rotate(-90deg);
  } 
  
  .ma__relativeWrapButtons button {
	max-width: 140px;
  }  
}

@media (max-width: 540px) {
  .ma__generalFormInputsFlex--withMargin .customInput:has(#makeAppointment-form-phone) {
    margin-bottom: 50px;
  }
  
  .ma__content {
	  flex-direction: column;
	  background: none;
  }
  
  .ma__banner {
    height: 200px;
    min-height: 200px;
    border-radius: 16px;
    background-size: auto 90%;
    background-position: 90% bottom;
    display: flex;
    flex-direction: column;
    justify-content: center;	  
  }
  
  .ma__bannerTextContent {
	  max-width: 66%;
  }
  
  .ma__bannerTextContent span.text.s32 {
	  font-size: 24px;
  }
  
  .ma__content.extended .ma__banner {
	height: 200px;
  }
}