/**
* Place your webforms styles here.

MAIN
ADAPTIVE

*/


/* MAIN */
.webforms-callback {

}

.front-tenth-screen {
  margin-top: 0;
  background-color: #18A1C6;
  padding-top: 1em;
}

.front-tenth-screen h2 {
  text-align: center;
  color: #323232;
  font-weight: normal;
  text-align: left;
  font-size: 45px;
}

.front-tenth-screen .paragraph-columns .paragraph-column > div {
  display: grid;
  grid-template-columns: 5fr 4fr;
  max-width: 1344px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(1) {
  grid-column: 1/3;
  grid-row: 1;
  background: #A5DBE6;
}

.front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(1) > div {
  /*! padding-top: 20px; */
  /*! margin-bottom: 20px; */
}

.front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.front-tenth-screen__webform img {
  max-width: 90vw;
  float: right;
  margin-bottom: -8px;
}

.front-tenth-screen form {
  /*! max-width: 45vw; */
  display: grid;
  grid-template-columns: 255px 255px auto;
  column-gap: 15px;
}

.webforms-callback-title {
  grid-column: 1/4;
  grid-row: 1;
  z-index: 1;
}

.webforms-callback-description {
  color: var(--grey-text);
  font-size: 20px;
  grid-column: 1/4;
  grid-row: 2;
  z-index: 1;
  max-width: 45vw;
  font-weight: 500;
  line-height: normal;
}

.webforms-callback-name {
  font-size: 15px;
  grid-column: 1;
  grid-row: 3;
  z-index: 1;
}

.webforms-callback-name input {
  padding: 17px 20px;
  color: var(--grey-text);
  font-size: 16px;
  font-family: var(--font-primary);
  font-weight: var(--font-light);
  width: 210px;
  border-radius: 33px;
  border: none;
  background-color: var(--white);
}

.webforms-callback-phone {
  grid-column: 2;
  grid-row: 3;
  z-index: 1;
}

.webforms-callback-phone input {
  padding: 17px 20px;
  color: var(--grey-text);
  font-size: 15px;
  font-family: var(--font-primary);
  font-weight: var(--font-light);
  width: 210px;
  border-radius: 33px;
  border: none;
  background-color: var(--white);
}

.webforms-callback-filial {
  width: fit-content!important;
}

.webforms-callback-filial select {
  padding: 17px 20px;
  color: var(--grey-text);
  font-size: 15px;
  font-family: var(--font-primary);
  font-weight: var(--font-light);
  width: 210px;
  border-radius: 33px;
  border: none;
  background-color: var(--white);
}

.webforms-callback-agreement {
  color: var(--black-text);
  font-size: 15px;
  grid-column: 1/4;
  grid-row: 4;
  z-index: 1;
  max-width: 45vw;
  line-height: normal;
}

.webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-agreement,
.webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-agreement {
  grid-column: 2/4;
  grid-row: 4;
  z-index: 1;
  max-width: 25vw;
  display: flex;
  align-items: center;
  margin-left: 2rem;
  margin-top: 1rem;
  font-size: 14px;
  min-width: 450px;
}

.webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-agreement p,
.webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-agreement p {
  padding: 0;
  margin: 0; 
}

.webforms-callback-agreement a {
  color: inherit;
}

.webforms-callback-agreement a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.webform-actions {
  z-index: 1;
}

.webform-submission-khotite-my-vam-perezvonim-form .webform-actions,
.webform-submission-khotite-my-vam-perezvonim-top-form .webform-actions {
  margin-top: 1rem;
}

.webform-actions .button {
  padding: 16px 20px;
  font-size: 20px;
  background-color: var(--yellow);
  border-radius: 33px;
  color: var(--white);
  grid-column: 3;
  grid-row: 3;
  width: 280px;
  cursor: pointer;
  border: none;
  -webkit-appearance: none;
  transition: var(--transition);
}

.webform-actions .button:hover {
  background-color: var(--yellow-hover);
}

.ui-widget.ui-widget-content {
  z-index: 9;
}

/* webforms-zapisatsya-na-priem */
.webforms-zapisatsya-na-priem {
  position: fixed;
  display: none;
  z-index: 9;
}

.webforms-zapisatsya-na-priem__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9;
  background-color: rgb(0,0,0,0.5)
}

.webforms-zapisatsya-na-priem__background {
  background-color: #fff;
  padding: 2.5em;
  border-radius: 7px;
  position: relative;
}

.webform-sign-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.webforms-zapisatsya-na-priem__13-percent .webform-sign-title {
  max-width: 350px;
}


.webform-sign-title p {
  margin: 0;
}

.webforms-zapisatsya-na-priem__form > form {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.webform-sign-filial select,
.webform-send-resume-name input,
.webform-send-resume-phone input,
.webform-send-resume-post input,
.webform-send-resume-additional-info input,
.webform-sign-name input,
.webform-sign-phone input,
.form-item-question textarea {
  padding: 8px 10px;
  max-width: 280px;
  width: 100%;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #067C93;
  color: var(--grey-text);
}

.webform-sign-filial select {
  outline: none;
  max-width: 350px;
}

.webform-sign-check {
  max-width: 280px;
  font-size: 13px;
  line-height: normal;
  display: flex;
  flex-direction: row-reverse;
  column-gap: 5px;
}

.webform-sign-check a {
  color: #067C93;
  text-decoration: underline;
}

.webforms-zapisatsya-na-priem .webforms-zapisatsya-na-priem__close {
  width: fit-content;
  font-size: 24px;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  padding: 0 6px;
}

.webforms-zapisatsya-na-priem .webform-actions .button {
    display: flex;
    width: 134px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    background-color: #FFAE00;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px
}




/* zapisatsya-na-priem-doctor-page */
.page-doctor-webform {
  background: linear-gradient(90deg, #3B0DCC 0%, #6F58DE 51.23%, #ABA3EE 100%);
}

.page-doctor-webform__webform {
  color: #fff;
  max-width: 850px;
}

.page-doctor-webform__webform form {
 display: flex;
  flex-direction: column;
  row-gap: 1em;
 color: #fff;
}

.page-doctor-webform__webform h2 {
  color: #fff;
}

.page-doctor-webform__webform input,
.page-doctor-webform__webform textarea {
  color: #fff;
  background: none;
  border-radius: 15px;
  border: 1px solid rgb(255,255,255, 0.4);
  padding: 15px 10px;
  width: 100%;
  font-size: 15px;
  display: inline-block;
}

.page-doctor-webform__webform input::placeholder,
.page-doctor-webform__webform textarea::placeholder {
  color: #fff;
}

.page-doctor-webform__webform .webform-sign-check {
  display: grid;
  grid-template-columns: 30px auto;
  column-gap: 1em;
  max-width: none;
  align-items: center;
}

.page-doctor-webform__webform .webform-sign-check label {
  grid-row: 1;
  grid-column: 2;
}

.page-doctor-webform__webform .webform-sign-check input {
  grid-row: 1;
  grid-column: 1;
  height: 17px;
}

.page-doctor-webform__webform .webform-sign-check a {
  color: #fff;
}

.page-doctor-webform__webform .webform-sign-button {
  background-color: #fff;
  border: none;
  cursor: pointer;
  color: #323232;
  font-size: 16px;
  padding: 11px 40px 12px 40px;
  border-radius: 10px;
  width: auto;
  height: 49px;
}






/* webforms-zapisatsya-send-resume */
.webform-send-resume-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.webform-send-resume-title p {
  margin: 0;
}




/* 13% */
.webforms-zapisatsya-na-priem__form .webform-webform-telephone-international {
  width: 302px;
  max-width: 302px;
}






/* ADAPTIVE */
@media (min-width: 1920px) {
}

@media (max-width: 1920px) {
}

@media (max-width: 1919px) {
}

@media (max-width: 1800px) {
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    padding-left: 250px;
    padding-right: 250px;
  }
}

@media (max-width: 1600px) {
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    padding-left: 180px;
    padding-right: 180px;
  }
}

@media (max-width: 1440px) {
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    padding-left: 150px;
    padding-right: 150px;
  }
}

@media (max-width: 1366px) {
}

@media (max-width: 1280px) {
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media (max-width: 1200px) {
  .webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-filial,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-filial {
    grid-column: 2;
    grid-row: 4;
    margin-top: 1rem;
  }
  .webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-filial select,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-filial select {
    width: 250px;
  }
  .webform-submission-khotite-my-vam-perezvonim-form .webform-actions,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webform-actions {
    grid-column: 1;
    grid-row: 4;
  }
  .webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-agreement,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-agreement {
    font-size: 12px;
    grid-column: 1/-1;
    grid-row: 5;
    max-width: 45vw;
    margin-left: 0;
  }
  .webform-submission-khotite-my-vam-perezvonim-form .webform-actions .button,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webform-actions .button {
    width: 250px;
  }
}

@media (max-width: 1150px) {
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1024px) {
  .webforms-callback-description {
    font-size: 16px;
    max-width: 100%;
  }
  .page-doctor-webform__webform {
    max-width: 600px;
  }
  .webforms-callback-agreement {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    padding-left: 15px;
    padding-right: 15px;
  }
  .front-tenth-screen form {
    display: grid;
    grid-template-columns: 180px 180px auto;
    column-gap: 50px;
  }
  .webforms-callback-name input {
    padding: 11px 15px;
    font-size: 14px;
    width: 180px;
  }
  .webforms-callback-phone input {
    padding: 11px 15px;
    font-size: 14px;
    width: 180px;
  }
  .webform-actions .button {
    padding: 11px 15px;
    font-size: 14px;
    width: 212px;
  }
  .webform-submission-khotite-my-vam-perezvonim-form .webform-actions .button,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webform-actions .button {
    width: 210px;
    padding: 13px 15px;
  }
  .webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-filial select,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-filial select {
    padding: 10px 15px;
    font-size: 14px;
    width: 210px;
  }
}

@media (max-width: 834px) {
  .page-doctor-webform__webform {
    max-width: 370px;
  }
  .front-tenth-screen {
    padding-top: 2em;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    display: grid;
    grid-template-columns: 1fr;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .front-tenth-screen__webform img {
    max-width: 90vw;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .webforms-callback-description {
    font-size: 14px;
  }
  .webforms-callback-agreement {
    font-size: 13px;
  }
  .front-tenth-screen form {
    grid-template-columns: 180px 180px;
    row-gap: 10px;
  }
  .webform-actions {
    grid-column: 1;
    grid-row: 5;
  }
  .webforms-callback-agreement {
    grid-row: 6;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(2) {
    margin-top: -25%;
  }
  .front-tenth-screen__webform img {
    margin-right: 0;
  }
}

@media (max-width: 670px) {
  .webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-filial select,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-filial select {
    width: 100%;
  }
  .webforms-callback-filial {
    width: 100% !important;
  }
}

@media (max-width: 650px) {
  .page-doctor-webform__webform {
    max-width: 350px;
  }
  .webform-actions .button {
    /*! padding: 10px 15px; */
    /*! width: 150px; */
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    row-gap: 0;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 500px) {
  .front-tenth-screen form {
    max-width: none;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(1) > div {
    padding-bottom: 0;
  }
  .page-doctor-webform__webform {
    max-width: 80vw;
    padding-left: 0;
    padding-right: 0;
    margin-left: 30px;
    margin-right: 30px;
  }
  .webforms-callback-name input,
  .webforms-callback-phone input {
    width: 130px;
  }
  .front-tenth-screen form {
    grid-template-columns: 125px 125px auto;
    row-gap: 5px;
  }
  .webform-actions .button {
    width: 162px;
  }
  .webforms-callback-title {
    grid-column: 1/4;
  }
  .webforms-callback-description {
    grid-column: 1/4;
  }
  .front-tenth-screen__webform img {
    max-width: 50vw;
    margin-right: 0;
  }
  .webforms-callback-agreement {
    grid-column: 1/3;
    grid-row: 6;
  }
  .front-tenth-screen .paragraph-columns .paragraph-column > div > div:nth-child(2) {
    margin-top: -20%;
  }
  .webform-submission-khotite-my-vam-perezvonim-form .webforms-callback-agreement,
  .webform-submission-khotite-my-vam-perezvonim-top-form .webforms-callback-agreement {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .front-tenth-screen .paragraph-columns .paragraph-column > div {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 400px) {
  .webforms-zapisatsya-na-priem__background {
    padding: 1.5em;
    max-width: 300px;
  }
  .webform-sign-title {
    width: 260px;
    line-height: normal;
  }
  .webform-sign-name input,
  .webform-sign-phone input {
    max-width: 75vw;
    width: 210px;
  }
  .webform-sign-filial {
    display: flex;
    flex-direction: column;
  }
  .webform-sign-filial select {
    width: 232px;
  }
  .webforms-zapisatsya-na-priem__form .webform-webform-telephone-international {
    max-width: 75vw;
    width: 230px;
  }
  .webform-sign-check {
    max-width: 75vw;
    font-size: 12px;
  }
  .page-doctor-webform__webform form {
  }
  .page-doctor-webform__webform {
    max-width: 73vw;
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media (max-width: 380px) {
  .webforms-callback-name input,
  .webforms-callback-phone input {
    width: 120px;
  }
  .front-tenth-screen form {
    grid-template-columns: 120px 120px;
    row-gap: 5px;
    column-gap: 40px;
  }
  .webform-actions .button {
    width: 150px;
  }
}

@media (max-width: 340px) {
  .front-tenth-screen form {
    display: flex;
    flex-direction: column;
  }
  .webforms-callback-name input,
  .webforms-callback-phone input {
    width: 75vw;
  }
  .front-tenth-screen form {
    grid-template-columns: 120px 120px;
    row-gap: 5px;
    column-gap: 40px;
  }
  .webform-actions .button {
    width: 150px;
  }
}
