/*ФОРМА регистрации*/
.main-wrapper__registration-form--wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 0.6fr 0.6fr 1fr 1fr;
    row-gap: 10px;
    column-gap: 10px;

    max-width: 50%;
    max-height: 500px;

    margin-top: 200px;
    margin-bottom: 20px;
}
.main-wrapper__registration-form{
    display: grid;
    margin: 0 auto 0;
    max-width: 1600px;
    width: 100%;
}
.x{
    border: 0 !important;
}

.main-wrapper__registration-form--yr{
    display: none;
    font-size: 10pt;
    color: #8b8b8b;
    grid-column: 2/3;
    grid-row: 1/2;
    position: relative;
    align-self: end;
    align-content: end;
    align-items: end;
}
.main-wrapper__registration-form__heading{
    font-size: 20pt;
    grid-column: 1/2;
    grid-row: 1/2;
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: 1fr;
    column-gap: 15px;
}
.main-wrapper__registration-form__heading--{
    display: grid;
    position: relative;
    align-self: end;
    align-content: end;
    align-items: end;
}
.main-wrapper__registration-form--fiz{
    font-size: 10pt;
    color: #8b8b8b;
    grid-column: 2/3;
    grid-row: 1/2;
    display: grid;
    position: relative;
    align-self: end;
    align-content: end;
    align-items: end;
}
.main-wrapper__registration-form_yr-reg{
    grid-column: 1/2;
    grid-row: 2/3;
    border-radius: 20px;
    font-size: 12pt;
    color: white;
    text-align: center;
    padding: 5px;
    width: 100%;
    height: 100%;
    background-color: #300000;
    transition: 0.8s;
}
.main-wrapper__registration-form_yr-reg:hover{
    background-color: #523f3f;
    cursor: pointer;
}

.main-wrapper__registration-form_email,.main-wrapper__registration-form_password,.main-wrapper__registration-form_fnp,.main-wrapper__registration-form_phone,.main-wrapper__registration-form_born-date,.main-wrapper__registration-form_location{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 10px;
    font-size: 15pt;
    background-color: #dcdcdc;
    color: #2e2e2f;
}
.main-wrapper__registration-form_email{
    grid-column: 1/3;
    grid-row: 3/4;
}
.main-wrapper__registration-form_password{
    grid-column: 1/3;
    grid-row: 4/5;
}
.main-wrapper__registration-form_fnp{
    display: none;
    grid-column: 1/3;
    grid-row: 3/4;
}
.main-wrapper__registration-form_phone{
    display: none;
    grid-column: 1/3;
    grid-row: 4/5;
}
.main-wrapper__registration-form_born-date{
    display: none;
    grid-column: 1/3;
    grid-row: 3/4;
}
.main-wrapper__registration-form_location{
    display: none;
    grid-column: 1/3;
    grid-row: 4/5;
}
.login-href__link{
    color: #300000;
}
.login-href__link:hover{
    color: #6d2323;
}
.login-href{
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    color: #300000;
}

.main-wrapper__registration-form_back-button{
    display: none;
    text-align: center;
    font-size: 15pt;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: #300000;
    color: white;
    position: relative;
    align-items: center;
    align-content: center;
    align-self: center;
}
.main-wrapper__registration-form_next-button{
    text-align: center;
    font-size: 15pt;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: #300000;
    color: white;
    display: grid;
    position: relative;
    align-items: center;
    align-content: center;
    align-self: center;
}
.main-wrapper__registration-form_buttons-wrapper{
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-column: 1/2;
    grid-row: 5/6;
    column-gap: 30px;
}
.main-wrapper__registration__reg-stage{
    display: grid;
    grid-column: 1/2;
    grid-row: 6/7;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    column-gap: 20px;
}

.active-reg-stage{
    border-radius: 20px;
    width: 15px;
    height: 15px;
    font-size: 10pt;
    color: white;
    background-color: #300000;
}

.reg-stage{
    border-radius: 20px;
    width: 30px;
    height: 30px;
    font-size: 10pt;
    color: #300000;
    background-color: white;
    border: 1px solid #300000;
    display: grid;
    position: relative;
    align-items: center;
    align-content: center;
    align-self: center;
    text-align: center;
}
input{
    font-family: "Century Gothic";
}
.main-wrapper__registration-form_next-button,.main-wrapper__registration-form_back-button{
    transition: 0.5s;
}
.main-wrapper__registration-form_next-button:hover{
    cursor: pointer;
    background-color: #523f3f;
}
.main-wrapper__registration-form_back-button:hover{
    cursor: pointer;
    background-color: #523f3f;
}



.regerror-varning{
    padding-top: 200px;
    font-size: 20pt;
    max-width: 1200px;
    width: 100%;
    display: block;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}



@media (max-width: 1700px) {
    .main-wrapper__registration-form{
        max-width: 1200px;
        margin: 0 auto;
    }
    .login-href{
        max-width: 1200px;
    }

}
@media (max-width: 1280px) {
    .main-wrapper__registration-form{
        max-width: 800px;
        margin: 0 auto;
    }
    .login-href{
        max-width: 800px;
    }
    .main-wrapper__registration-form--wrapper{
        max-width: unset;
    }

}
@media (max-width: 884px) {
    .main-wrapper__registration-form{
        margin-left: 20px;
        margin-right: 20px;
    }
    .login-href{
        margin-left: 20px;
        margin-right: 20px;
    }
    .x{
        grid-column: 1/2;
        font-size: 10pt;
    }
    .main-wrapper__registration-form--wrapper{
        grid-template-columns: 1fr;
        margin-right: 40px;
    }
}
@media (max-width: 533px) {
    .main-wrapper__registration-form{
        margin-top: 60px;
        margin-bottom: 60px;
    }
}






input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
  }
  
  label {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: #dcdcdc;
    display: block;
    border-radius: 100px;
    position: relative;
  }
  
  label:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 22.5px;
    height: 22.5px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
  }
  
  input:checked + label {
    background: #6e0000;
  }
  
  input:checked + label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
  }
  
  label:active:after {
    width: 30px;
  }
  .switch-but--{
    grid-row: 7/8;
    grid-column: 1/2;
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: max-content;
  }
  .switch-but__desc{
    text-align: center;
    display: grid;
    position: relative;
    align-items: center;
    align-self: end;
    align-content: center;
    padding-left: 10px;
  }
  .deducation-value{
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 220px;
    padding-left: 40px;
    display: none;
    grid-row: 8/9;
    grid-column: 1/3;
  }
  footer{
    margin-top: 100px;
  }
  .ready-reg-button{
    display: none;
    text-align: center;
    font-size: 15pt;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: #300000;
    color: white;
    position: relative;
    align-items: center;
    align-content: center;
    align-self: center;
    transition: 0.5s;
  }
  .ready-reg-button:hover{
    background-color: #461616;
  }