/* The popup form - hidden by default */
.form-popup {
     /* display: none; */
     position:relative;
     margin-left:auto;
     margin-right:auto;
     max-width: 300px;
     border: 0px solid #f1f1f1;
     z-index: 9;

    background-color: white;
}
.hidden-popup {
    display:none;
}
/* Add styles to the form container */
.form-container {
    max-width: 300px;
    padding: 30px 25px;
    background-color: white;
}
.form-popup h2{
    margin-bottom: 11px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-top: 1px;
    padding-top: 20px;
    padding-left: 45px;
    padding-right: 45px;
    line-height: 1.3;
}
.form-popup .komunikat{
    font-size:14px;
    padding-top:10px;
    padding-bottom:10px;
}
.form-popup label{
    font-weight: 500;
}


/* Full-width input fields */
.form-container input[type=text], .form-container input[type=email], .form-container input[type=number], .form-container input[type=password] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #eeeeee;
}
.form-container input:last-of-type {
    margin-bottom:0px;
}
.form-container .pretty {
    margin-top: 10px;
    margin-bottom: 13px;
}
.form-container .pretty .state{
    line-height: 19px;
    font-size: 14px;
    margin-left: 10px;
}
#loginForm .pretty .state label:after{
    background-color: #f0f0f0;
    top:3px;
    left:2px;
}

#loginForm .pretty .state label:before {

}

#loginForm .pretty input:checked~ .state.p-success label:after {
    border-radius: 2px;
    background-color: #f7ea4f!important;
}
#loginForm .pretty input:checked~ .state.p-success label:before {
    border-color: #f7ea4f!important;
}
#loginForm .resend_password{
    color: black;
    font-size: 13px;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
    background-color: #4CAF50;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
    background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
    opacity: 1;
}
#registerRedactorForm .change_email{
    margin-top:10px;
}
#registerRedactorForm .form-container{
    padding: 10px 20px;
    padding-top: 37px;
    max-width: 100%;
}
#registerRedactorForm [name="kod_wer"] {
    margin-bottom:10px;
}
#registerRedactorForm .form-container input{
    margin-bottom:20px;
}
#registerRedactorForm strong{
    font-weight:600;
}
#registerRedactorForm.form-popup {
    /* display: none; */
    position: relative;
    margin-left: auto;
    margin-right: auto;
    border: 0px solid #f1f1f1;
    z-index: 9;
    background-color: white;
    max-width: 90%;
}
#contactForm{
    padding: 30px;
}
@media screen and (min-width: 768px) {
    .form-popup {
        max-width: 600px;
    }
    #registerRedactorForm.form-popup {
        max-width: 600px;
    }

    /* Add styles to the form container */
    .form-container {
        max-width: 600px;
        padding: 30px 150px;
    }
    #registerRedactorForm .form-container {
        padding: 30px 100px;
    }
}
