.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background: linear-gradient(to right, #7F7FD5, #86A8E7, #57e0d4); font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 10px 15px; margin: 80px auto 0; border: none; outline: none; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); outline: none; } .modal-box .modal-dialog{ width: 400px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: scale(0.5); } .modal.in .modal-dialog{ transform: scale(1); } .modal-box .modal-dialog .modal-content{ text-align: center; border: none; } .modal-box .modal-dialog .modal-content .close{ color: #fff; background: linear-gradient(to right, #7F7FD5, #86A8E7, #57e0d4); font-size: 25px; font-weight: 400; text-shadow: none; line-height: 27px; height: 25px; width: 25px; border-radius: 50%; overflow: hidden; opacity: 1; position: absolute; left: auto; right: 8px; top: 8px; z-index: 1; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .close:hover{ color: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.5); } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 60px 40px 40px !important; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #7F7FD5; font-size: 30px; font-weight: 700; letter-spacing: 1px; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #9A9EA9; font-size: 16px; margin: 0 0 20px; } .modal-box .modal-dialog .modal-content .modal-body .form-group{ text-align: left; margin-bottom: 20px; position: relative; } .modal-box .modal-dialog .modal-content .modal-body .input-icon{ color: #777; font-size: 18px; transform: translateY(-50%); position: absolute; top: 50%; left: 20px; } .modal-box .modal-dialog .modal-content .modal-body .form-control{ font-size: 17px; height: 45px; width: 100%; padding: 6px 0 6px 50px; margin: 0 auto; border: 2px solid #eee; border-radius: 5px; box-shadow: none; outline: none; } .modal-box .modal-dialog .modal-content .modal-body .form-control::placeholder{ color: #AEAFB1; } .modal-box .modal-dialog .modal-content .modal-body .form-group.checkbox{ width: 130px; margin-top: 0; display: inline-block; } .modal-box .modal-dialog .modal-content .modal-body .form-group.checkbox label{ color: #9A9EA9; font-weight: normal; } .modal-box .modal-dialog .modal-content .modal-body .form-group.checkbox input[type=checkbox]{ margin-left: 0; } .modal-box .modal-dialog .modal-content .modal-body .forgot-pass{ color: #7F7FD5; font-size: 13px; text-align: right; width: calc(100% - 135px); margin: 2px 0; display: inline-block; vertical-align: top; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .forgot-pass:hover{ color: #9A9EA9; text-decoration: underline; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: linear-gradient(to right, #7F7FD5, #86A8E7, #57e0d4); font-size: 16px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; line-height: 38px; width: 100%; height: 40px; padding: 0; border: none; border-radius: 5px; border: none; display: inline-block; transition: all 0.6s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ color: #fff; letter-spacing: 2px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .modal-box .modal-dialog .modal-content .modal-body .btn:focus{ outline: none; } @media only screen and (max-width: 480px){ .modal-dialog{ width: 95% !important; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 60px 20px 40px !important; } }