.header_logon{
    cursor: pointer;
}

.modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(4px);
    /*background: linear-gradient(231.58deg, #31A2F3 2%, rgba(35, 157, 184, .2) 65.3%, rgba(20, 152, 120, 0.9) 100%);*/
    background: linear-gradient(228deg, rgba(36, 120, 216, 1) 0%, rgba(36, 200, 216, .1) 50%, rgba(1,137,184, 1) 99%);
    /*background:  linear-gradient(180deg,#2478D8 0%,#0189B8 100%) 0% 0% no-repeat;*/
    /*background: linear-gradient(231.58deg, #31A2F3 0%, rgba(35, 157, 184, 0.658981) 65.3%, rgba(20, 152, 120, 0.29) 99.11%);*/
    /*background-color: rgba(0, 0, 0, 0.479); */ /* Затемнение фона */
    visibility: hidden;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", 'Calibri',sans-serif;
}
   

   





    .button {
        background-color: rgb(225, 241, 132);
        border-radius: 8px;
        padding: 0 20px;
        padding-bottom: 5px;
        font-size: 30px;
        margin: 10px;
        -moz-user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
        -khtml-user-select: none;
    }
.button:hover{
    cursor: pointer;
    background-color: rgb(221, 255, 29);

}


.modal-window {
    position: relative;
    width: 400px;
    height: 400px;
    background: #FFFFFF;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 20px;
    /*    display:flex;
    flex-direction:column;
    align-items:center;*/
}
.modal-header {

    margin: 20px;
    text-align: center;
    font-size: 24px;
}

.modal-content{
    margin-top: 30px;
}

.modal-form{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-form label {
    font-size: 18px;
    margin: 10px 0px 10px 0px;
}


#closeForm {
    width: 16px;
    height: 16px;
    text-align: center;
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    /*border: 1px solid #C4C4C4;
    border-radius:50%;*/
}

input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
   
}

.forminput {
    height: 40px;
    padding: 5px;
    width: 100%;
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
    background: #FFFFFF;
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    border-radius: 10px;
}


    .forminput:focus {
        border: 2px solid #6DC2FF;
    }

#submit {
    font-size: 18px;
    margin-top: 20px;
    height: 50px;
    padding: 5px;
    width: 100%;
    background: #6DC2FF;
    border-radius: 10px;
    cursor: pointer;
}
/*#submit:hover {

    background: #f6e41d;

}*/

#error {
    height: 15px;
    width: 100%;
    text-align:center;
    color:red;
}


.modal-visible {
    visibility: visible;
}


.error {
    border: 1px solid #ff4d4d;
}


@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) {


    .modal-wrap {
        background: rgba(0, 0, 0, 0.7);

    }
    .modal-window {
        width: 300px;
        height: 350px;
    }
    .modal-header{
        margin: 10px;
    }
    .modal-content {
        margin-top: 10px;
    }
    #submit {
        background-color: rgb(36, 120, 216);
        color: #fff;
    }
  
}

@media (min-width: 320px) and (max-width: 480px){
    .modal-wrap {
        background: rgba(0, 0, 0, 0.7);
    }

    .modal-window {
        width: 300px;
        height: 350px;
    }

    .modal-header {
        margin: 10px;
    }

    .modal-content {
        margin-top: 10px;
    }

    #submit {
        background-color: rgb(36, 120, 216);
        color: #fff;
    }
   


  

