.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #B33771; font-size: 17px; font-weight: 300; text-transform: capitalize; padding: 10px 25px; margin: 80px auto 0; border: none; border-radius: 3px; outline: none; display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; outline: none; text-shadow: 3px 3px rgba(0,0,0,0.5); box-shadow: 3px 3px rgba(0,0,0,0.5); } .modal-backdrop.in{ background-color: #B33771; opacity: 0.9; } .modal-box .modal-dialog{ width: 500px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: translate(100px); } .modal.in .modal-dialog{ transform: translate(0); } .modal-box .modal-dialog .modal-content .close{ color: rgba(0,0,0, 0.5); font-size: 30px; font-weight: 300; text-shadow: none; line-height: 20px; height: 20px; width: 20px; padding: 0 0 0 3px; opacity: 1; overflow: hidden; position: absolute; left: auto; right: 15px; top: 15px; z-index: 2; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .close span{ margin: -2px 0 0; display: block; } .modal-box .modal-dialog .modal-content .close:hover{ color: #999; } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content{ background: #fff; text-align: center; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 40px 20px 30px !important; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #555; font-size: 23px; font-weight: 400; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #888; font-size: 23px; font-weight: 400; margin: 0 0 40px; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #333d47; font-size: 100px; line-height: 100px; display: inline-block; position: relative; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon:before{ content: "\f164"; color: #6be375; background: #e0fae4; font-family: "Font Awesome 5 Free"; font-size: 25px; font-weight: 900; line-height: 50px; width: 50px; height: 50px; border-radius: 50px; position: absolute; top: -15px; left: -25px; } .modal-box .modal-dialog .modal-content .modal-footer{ background-color: #E8F3FF; padding: 30px 20px; border: none; } .modal-box .modal-dialog .modal-content .modal-footer .btn{ color: #fff; background: #B33771; font-size: 15px; font-weight: 300; text-transform: capitalize; padding: 10px 30px; margin: 0 auto 5px; border: none; border-radius: 3px; display: block; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-footer .btn:hover{ color: #fff; text-shadow: 0 0 4px rgba(0, 0, 0, 0.6); } .modal-box .modal-dialog .modal-content .modal-footer .btn.cancel{ color: #353d45; background-color: transparent; font-size: 15px; text-decoration: underline; padding: 0; margin: 0 auto; } .modal-box .modal-dialog .modal-content .modal-footer .btn:focus{ outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }