.model {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.DemoModel .model-content {
	width: 75%;
	text-align: center;
	z-index: 999;
}

.model-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px 40px;
    border: 1px solid #888;
    width: 30%;
    border-radius: 15px;
}

.close {
    width: 16px;
    opacity: 1 !important;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.SigninSignupModel-content .ModelTitle {
    text-align: center;
}

.SigninSignupModel-content #user-registration {
    box-shadow: none !important;
    margin: 0 !important;
}

.SigninSignupModel-content #user-registration #ur-frontend-form {
    border: none !important;
}

.SigninSignupModel-content #user-registration #ur-frontend-form,
.SigninSignupModel-content #user-registration #ur-frontend-form .ur-form-row .ur-form-grid {
    padding: 0 !important;
}

.SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-form-row {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    font-size: 16px;
}

.SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-form-row label {
    font-size: 16px;
    font-weight: 500;
    color: #3A3A3A;
}

.SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-form-row input {
    border-radius: 10px;
}

.SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-Button {
    background: #6969F4;
    border: none !important;
    color: #fff;
    margin-top: 15px;
}

.SigninSignupModel-content #user-registration p {
    margin: 0 !important;
}

.SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-form__label.user-registration-form__label-for-checkbox.inline {
    display: inline-block;
}

.SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-LostPassword.lost_password {
    margin: 0 !important;
}

.SigninSignupModel #loginform {
	display: flex;
	flex-direction: column;
	margin: 15px 0 auto;
}

.SigninSignupModel #loginform p {
	margin-top: 0 !important;
}

.SigninSignupModel #loginform .error {
	color: red;
	margin-bottom: 0 !important;
}

.SigninSignupModel #loginform .submit-error {
	order: -1;
}

.SigninSignupModel #loginform .login-submit #wp-submit {
	background: #6969F4;
	color: #fff;
	font-weight: 500;
}

@media screen and (max-width: 1440px) {
    .model-content {
        width: 35%;
    }
	
	.DemoModel .model-content {
		width: 85% !important;
	}
}

@media screen and (max-width: 1260px) {
    .model-content {
        width: 40%;
    }
}

@media screen and (max-width: 1024px) {
    .model-content {
        width: 50%;
    }

    .SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-form-row label,
    .SigninSignupModel-content #user-registration #ur-frontend-form form.login .user-registration-LostPassword.lost_password a,
    .SigninSignupModel-content .SignupText {
        font-size: 14px;
    }
		
	.DemoModel .model-content {
		width: 98%;
	}
	
	.DemoModel .model-content iframe {
		height: 50vw;
	}
}

@media screen and (max-width: 768px) {
    .model-content {
        width: 80%;
    }
}

@media screen and (max-width: 576px) {
    .model-content {
        width: 95%;
    }
}