.modal-overlay{
    display: none;
    position: fixed;
    background: rgba(46, 42, 42, 0.8);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
}
.modal{
    max-width: 600px;
    background: white;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.close{
    font-size: 20px;
    cursor: pointer;
    position: absolute; 
    top: 10px;
    right: 20px;
    
    

}

.modal-text{
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    padding-bottom: 50px;
    text-align: center;


}
.FG-authorize{
    padding-bottom: 50px;
}

.btn {
  text-align: center;  
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  margin: 5px 0;
  opacity: 0.85;
  display: inline-block;
  font-size: 17px;
  line-height: 20px;
  text-decoration: none; /* remove underline from anchors */
  padding-right: 1px;
}


.btn:hover {
  opacity: 1;
}

/* add appropriate colors to fb, twitter and google buttons */
.fb {
  background-color: #3B5998;
  color: white;
}



.google {
  background-color: #dd4b39;
  color: white;
}
.or{
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    color: #868686;
    text-align: center;

}

.modal-content{
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
}
.input-holder{
    margin-bottom: 30px;
    position: relative;
}
.input, .input-holder{
    width: 100%;
}

.input {
    padding-top: 5px;
    padding-left: 25px;

    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    box-sizing: border-box;
    border-radius: 4px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 146.4%;
    color: #000000;
       
}

.input::placeholder{
    color: black;
    visibility: hidden;
}
.label{
    position: absolute;
    top: -25px;
    left: 5px;
    font-weight: 500;
    font-size: 14px;
    line-height: 152%;
    color: #4E5679;
}
.fa-envelope, .fa-user, .fa-key  {
    position: absolute;
    top: 5px;
    right: 8px;
    color: #575656;
}
.input-agree{
    padding-bottom: 30px;
}

.modal-button{
    background: #FF9D2A;
    border-radius: 22px;
    border: none;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    padding: 8px 85px 9px 90px;
    margin-left: 20px;
    
}
.modal-button:hover{
    background: #000000;
    color: #FF9D2A;
}

/* стрелка вверх */
#up{
    display: none;
    position: fixed;
    bottom: 100px;
    right: 50px;
    cursor: pointer;
    
}
#up>i{
    color: rgb(71, 71, 71);
    font-size: 50px;
}
