@font-face {
    font-family: "Source Sans Pro Bold";
    src: url("../fonts/SourceSansPro-Bold.ttf");
}

@font-face {
    font-family: "Source Sans Pro Regular";
    src: url("../fonts/SourceSansPro-Regular.ttf");
}

@font-face {
    font-family: "Sora Bold";
    src: url("../fonts/Sora-Bold.ttf");
}

@font-face {
    font-family: "Sora Regular";
    src: url("../fonts/Sora-Regular.ttf");
}

.modal::-webkit-scrollbar {
    width: 0;
}

.modal {
    overflow-y: scroll;
    overflow: hidden;
    position: fixed;
    /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    /* цвет фона */
    z-index: 100050;
    opacity: 0;
    /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    /* анимация перехода */
    pointer-events: none;
    /* элемент невидим для событий мыши */
}

/* при отображении модального окно */
.modal:target {
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: 44px auto;
    }
}

/* свойства для блока, содержащего контент модального окна */
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-image:
        url(../image/Form_BG.svg);
    background-size: no-repeat;
    background-position: center;
    background-size: cover;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: 20PX;
    outline: 0;
}

@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
}

/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}

/* свойства для кнопки "Закрыть" */

.close {
    z-index: 999999;
    top: -45px;
    right: calc(10% - 347px/2 - 0.5px);
    position: absolute;
}

/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
    overflow: auto;
}

#regForm {
    margin: 90px auto;
    font-family: Raleway;
    padding: 40px;
    width: 70%;
    min-width: 300px;
}

h1 {
    color: white;
    font-family: 'Source Sans Pro Bold';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: #FFFFFF;
}

#regForm p {
    color: white;
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.3px;
    color: #FFFFFF;
}

.harik {
    color: white;
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.3px;
    color: #FFFFFF;
}

.tab p {
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    margin-top: 5px;
}

input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
}

.etap {
    display: flex;
}

.imgetap {
    margin: auto;
}




#regForm button {
    background: #CBCBCB;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    cursor: pointer;
    width: 600px;
    height: 60px;
    border-radius: 30px;
    transition: all .2s ease;
}

#regForm button:hover {
    background: #F49B35;
}

.br {
    position: relative;
    display: flex;
}

.bd {
    margin: auto;
}

button:hover {
    opacity: 0.8;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: 2px solid red;
}

input.invalid + .formfield__error,
label.invalid + .formfield__error {
    display: block;
}


/* Hide all steps by default: */
.tab {
    display: none;
}



#prevBtn {
    background-color: #bbbbbb;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 1px;
    width: 1px;
    margin: 0px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0;
}

.step.active {
    opacity: 0;
}

/* Mark the steps that are finished and valid: */
.step.finish {
    background-color: #4CAF50;
}

.form_radio_group {
    position: relative;
    display: inline-block;
    overflow: hidden;
    left: calc(50% - 600px/2 - 0.5px);
    margin-bottom: 50px;
    margin-top: 5px;
}

.form_radio_group-item {
    display: inline-block;
    float: left;
}

.form_radio_group input[type=radio] {
    display: none;
}

.form_radio_group label {
    display: inline-block;
    cursor: pointer;
    padding: 0px 15px;
    line-height: 34px;
    border: 1px solid #999;
    border-right: none;
    user-select: none;
    width: 270px;
    height: 60px;
    text-align: center;

    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
    letter-spacing: 0.25px;
    color: #FFFFFF;
}

.form_radio_group label p {
    position: relative;
    top: 3px;
}

.form_radio_group .form_radio_group-item:first-child label {
    border-radius: 30px 0 0 30px;
}

.form_radio_group .form_radio_group-item:last-child label {
    border-radius: 0 30px 30px 0;
    border-right: 1px solid #999;
}

/* Checked */
.form_radio_group input[type=radio]:checked+label {
    background: #F49B35;
    border-right: 1px solid #F49B35;
}

.textform {
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    left: calc(50% - 600px/2 - 0.5px);
    position: relative;
}

.textform2 {
    top: calc(50% - -33px/2 - 61px);
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    left: calc(50% - 600px/2 - 0.5px);
    position: relative;
}

.formpole {
    background-color: #4E1B66;
    width: 580px;
    height: 30px;
    color: white;
    border-radius: 0px;
}

.formfield__error {
    display: none;
    height: 21px;
    font-size: 15px;
    margin: auto;
    background-color: red;
    width: 594px;
    text-align: left;
    padding-left: 10px;
}

.formfield__wrapper {
    margin-bottom: 20px;
    display: block;
    color: white;
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.3px;
    color: #FFFFFF;
}


input:focus {
    background-color: #ffffff;
    outline: none;
    color: black;
}

input:valid {
    border-color: #2E9AFF;
}

input:valid+span::before {
    content: '✓';
}

input+span {
    position: absolute;
    right: 10px;
    bottom: 10px;
}



.dog {
    z-index: 10;
    width: 53px;
    height: 474px;
    position: relative;
    left: calc(50% - 464px/2 - 0.5px);
}


.tab h2 {
    color: white;
    font-family: 'Source Sans Pro Bold';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.45px;
    color: #FFFFFF;
}

.colortextform2 {
    color: #F49B35;
}

.podloj {
    height: 52px;
}

.textform3 a {
    color: #F49B35;
    font-family: 'Source Sans Pro Regular';
}

.textform4 a {
    color: #F49B35;
    font-family: 'Source Sans Pro Regular';
}

.textform3 {
    top: calc(50% - 7px/2 - 61px);
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    left: calc(50% - 600px/2 - 0.5px);
    position: relative;
}

.textform4 {
    top: calc(50% - 35px/2 - 61px);
    font-family: 'Source Sans Pro Regular';
    font-style: normal;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.25px;
    color: #FFFFFF;
    left: calc(50% - 600px/2 - 0.5px);
    position: relative;
}

.punkspan {
    font-family: 'Source Sans Pro Regular';
    font-weight: 100;
}


#idgtl-2fa-widget button {
    background-color: #CBCBCB;
}
.prevbtn_wrap {
    margin-top:20px;
}
.checkbox.style-c {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .checkbox.style-c input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  .checkbox.style-c input:checked ~ .checkbox__checkmark {
    background-color: #F49B35;
  }
  .checkbox.style-c input:checked ~ .checkbox__checkmark:after {
    opacity: 1;
  }
  .checkbox.style-c:hover input ~ .checkbox__checkmark {
    background-color: #eee;
  }
  .checkbox.style-c:hover input:checked ~ .checkbox__checkmark {
    background-color: #F49B35;
  }
  .checkbox.style-c .checkbox__checkmark {
    position: absolute;
    top: 6px;
    left: 0;
    height: 30px;
    width: 30px;
    background-color: #eee;
    transition: background-color 0.25s ease;
    border-radius: 4px;
  }
  .checkbox.style-c .checkbox__checkmark:after {
    content: "";
    position: absolute;
    left: 8px;
    top: -1px;
    width: 13px;
    height: 21px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .checkbox.style-c .checkbox__body {
    color: #333;
    line-height: 1.4;
    font-size: 16px;
  }
  label.checkbox {
    height:30px;
  }
  