.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #1B2541; font-size: 17px; font-weight: 500; text-transform: capitalize; padding: 10px 20px; margin: 80px auto 0; border: none; border-radius: 5px; outline: none; display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; outline: none; box-shadow: 0 0 0 5px #fff,0 0 15px rgba(0,0,0,0.7); } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 400px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: translateY(100px); } .modal.in .modal-dialog{ transform: translateY(0); } .modal-box .modal-dialog .modal-content{ color: #1B2541; background: rgba(255,255,255,0.9); text-align: center; border: none; box-shadow: 0 0 25px rgba(0,0,0,0.1); } .modal-box .modal-dialog .modal-content .modal-body{ padding: 50px 50px 40px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ font-size: 80px; line-height: 80px; margin: 0 0 25px; } .modal-box .modal-dialog .modal-content .modal-body .title{ font-size: 30px; font-weight: 700; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .description{ font-size: 16px; font-weight: 500; margin: 0 0 40px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: #79C1F8; font-size: 15px; font-weight: 500; text-transform: capitalize; padding: 13px 25px; margin: 0 auto 15px; border: none; border-radius: 0; display: block; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ color: #fff; box-shadow: 0 3px 15px #79C1F8; } .modal-box .modal-dialog .modal-content .modal-body .btn.cancel{ color: #79C1F8; background-color: transparent; font-size: 13px; text-transform: none; padding: 0; margin: 0 auto; } .modal-box .modal-dialog .modal-content .modal-body .btn.cancel:hover{ color: #79C1F8; text-shadow: 2px 2px rgba(0,0,0,0.2); box-shadow: none; } .modal-box .modal-dialog .modal-content .modal-body .btn:focus{ outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }