.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background: linear-gradient(#D00F08,#970505); font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 10px 15px; margin: 80px auto 0; border: none; border-radius: 0; outline: none; letter-spacing: 1px; 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 10px rgba(0,0,0,0.5); } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 550px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: scaleX(0); transition: all 400ms cubic-bezier(.47,1.64,.41,.8); } .modal.in .modal-dialog{ transform: scaleX(1); } .modal-box .modal-dialog .modal-content{ background: linear-gradient(#555,#333); text-align: center; border-radius: 0; border: none; } .modal-box .modal-dialog .modal-content:before{ content: ""; background: linear-gradient(#D00F08,#970505); width: 100px; height: 100%; position: absolute; top: 0; left: 0; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 50px 30px 40px 110px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color:#fff; font-size: 60px; transform: translateY(-50%); position: absolute; top: 50%; left: 20px; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #fff; font-size: 30px; font-weight: 400; letter-spacing: 2px; margin: 0 0 50px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: linear-gradient(#D00F08,#970505); font-size: 22px; font-weight: 300; letter-spacing: 1px; padding: 8px 12px; margin: 0 8px; border-radius: 0; border: none; transition: all 0.4s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .btn.cancel{ color: #fff; background: linear-gradient(#73CB00,#4F8A02); } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ color: #fff; text-shadow: 3px 3px rgba(0, 0, 0, 0.4); box-shadow: 0 0 10px rgba(0,0,0,0.8); } .modal-box .modal-dialog .modal-content .modal-body .btn:focus{ outline: none; } @media only screen and (max-width: 767px){ .modal-dialog{ width: 93% !important; } } @media only screen and (max-width: 479px){ .modal-box .modal-dialog .modal-content:before{ width: 100%; height: 100px; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 130px 20px 40px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ transform: translateX(-50%) translateY(0); left: 50%; top: 10px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ margin: 0 auto 10px; display: block; } }