.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;
}
.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 {
	display: flex;
	align-items: center; 
	justify-content: space-between;
	padding: 20px 30px;
}
.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__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 34px;
	line-height: 1.2;
}
.ma__formScrollableWrapLabel {
		font-size: 16px;
		margin-bottom: 15px;
}
.ma__formScrollableWrapItem {
	margin-bottom: 30px;
}
.ma__selectDirectionWrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  padding: 30px 0;
  height: -moz-fit-content;
  height: fit-content;
}
.ma__selectDirectionItem {
  background: var(--white);
  border-radius: 16px;
  padding: 0 20px;
  min-height: 64px;
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  cursor: pointer;
}
.ma__selectDirectionItem span {
  transition: all 0.3s ease;
}
.ma__selectDirectionItem:hover span {
  color: #0202b3;
}

.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__simpleSelectWrap {
  display: flex;
  min-width: 300px;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  height: 56px;
}
.ma__simpleSelectWrap--field {
  width: 100%;
}
.ma__simpleSelectWrap.disabled button {
  background: var(--secondary-bg-color);
  pointer-events: none;
  padding-bottom: 11px;
  border: 1px solid rgba(10, 10, 10, 0.0784313725);
}
.ma__simpleSelectWrap.disabled button svg {
  display: none;
}
.ma__simpleSelectWrap button {
  width: auto;
  min-width: 300px;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 13px 20px 7.5px 20px;
  border-radius: 16px;
  cursor: pointer;
  background: var(--white);
  height: 56px;
}
.ma__simpleSelectWrap--field button {
  width: 100%;
}
.ma__simpleSelectWrap button div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.ma__simpleSelectWrap button svg {
  transition: all 0.3s ease;
}
.ma__simpleSelectWrap select {
  display: none;
}
.ma__simpleSelectWrap.popup-active .ma__simpleSelectPopup {
  visibility: visible;
  opacity: 1;
}
.ma__simpleSelectWrap.popup-active button svg {
  transform: rotateX(180deg);
}
.ma__simpleSelectPopup {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.0784313725);
  border-radius: 16px;
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1019607843);
  padding: 20px;
  z-index: 10;
  transition: all 0.3s ease;
  visibility: hidden;
  opacity: 0;
}
.ma__simpleSelectPopupContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ma__simpleSelectPopupCheckbox {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.ma__simpleSelectPopupCheckbox--exampleNode {
  display: none;
}
.ma__simpleSelectPopupCheckbox input {
  display: none;
}
.ma__simpleSelectPopupCheckbox:hover .ma__checkboxTextInfo span:first-child {
  color: #0202b3;
}
.ma__generalFormWrap {
  padding: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.ma__generalFormInputs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--white);
  border-radius: 24px;
  padding: 20px 20px 40px 20px;
}
.ma__generalFormInputs--dms {
  padding-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;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
  height: 100%;
}
.ma__successTopContent {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hidden {
  display: none !important;
}

.ma__content.extended {
  min-height: 900px;
  transition: all 0.3s ease;
}

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

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

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

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

.ma__simpleSelectWrap button:disabled {
  background-color: #f5f5f5;
  border: 1px solid #0a0a0a14;
}

.ma__simpleSelectWrap button:disabled svg {
  display: none;
}

.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%;
}

.ma__formFile input {
	display: none;
}

.ma__formFile div {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	color: #0202B3;
	font-size: 16px;
}

.ma__formFileNames {
}

.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;
}

.ma__infoWrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.ma__infoDefaultBlock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
}

.ma__infoDefaultBlock:first-child {
	grid-column: 1 / 3;
}

.blueBtn[disabled] {
	opacity: 0.5;
}

.ma_conditions {
	text-align: justify;
}

@media screen and (max-width: 1300px) {
  .ma__wrap {
    align-items: center;
  }
  .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__form {
    background: transparent;
  }

  .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: 15px;
  }  

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

  .ma__generalFormErrorBlock svg {
    min-width: 24px;
  }
  
  .ma__infoWrap {
	  display: flex;
	  flex-direction: column;
  }
  
  .ma__infoDefaultBlock {
	  padding: 15px;
  }

  .ma__confirmation .s20 {
    font-size: 16px !important;
  }

  .ma__successWrap {
    padding-block: 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;
  }
}

@media (max-width: 540px) {
  .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;
  }
}