.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #4596fc; font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 10px 15px; margin: 80px auto 0; border: none; outline: none; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); display: block; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; outline: none; } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 350px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: scale(0); transition: all 400ms cubic-bezier(.47,1.64,.41,.8); } .modal.in .modal-dialog{ transform: scale(1); } .modal-box .modal-dialog .modal-content{ background: #fff; text-align: center; border: none; } .modal-box .modal-dialog .modal-content .close{ color: #4596fc; font-size: 30px; font-weight: 400; line-height: 15px; text-shadow: none; opacity: 1; overflow: hidden; position: absolute; left: auto; right: 10px; top: 10px; z-index: 1; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .close span{ display: block; } .modal-box .modal-dialog .modal-content .close:hover{ color: #4596fc; transform: rotate(180deg); } .modal-box .modal-dialog .modal-content .modal-body{ padding: 40px 20px 20px !important; } .modal-box .modal-dialog .modal-content .modal-body .star-rating{ color: #fbb03c; padding: 0; margin: 0 auto 10px; list-style: none; } .modal-box .modal-dialog .modal-content .modal-body .star-rating li{ display: inline-block; } .modal-box .modal-dialog .modal-content .modal-body .star-rating li:nth-child(1), .modal-box .modal-dialog .modal-content .modal-body .star-rating li:last-child{ font-size: 20px; line-height: 20px; } .modal-box .modal-dialog .modal-content .modal-body .star-rating li:nth-child(2), .modal-box .modal-dialog .modal-content .modal-body .star-rating li:nth-child(4){ font-size: 40px; line-height: 40px; } .modal-box .modal-dialog .modal-content .modal-body .star-rating li:nth-child(3){ font-size: 60px; line-height: 60px; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #2d2851; font-size: 65px; margin: 0 0 5px; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #2a2f44; font-size: 35px; font-weight: 600; text-transform: capitalize; margin: 0 0 12px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color:#2f343e; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: #4d7bf8; font-size: 18px; font-weight: 600; letter-spacing: 1px; padding: 15px 20px 14px; margin: 0 auto 15px; border-radius: 5px; display: block; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .modal-body .btn:hover{ text-shadow: 3px 3px 3px rgba(0,0,0,0.5); } .modal-box .modal-dialog .modal-content .modal-body .btn.cancel{ color: #4d7bf8; background: transparent; font-size: 15px; padding: 0; margin: 0 auto; border-radius: 0; } .modal-box .modal-dialog .modal-content .modal-body .btn.cancel:hover{ text-shadow: 3px 3px 3px rgba(0,0,0,0.2); } .modal-box .modal-dialog .modal-content .modal-body .btn:focus{ outline: none; } @media only screen and (max-width: 767px){ .modal-dialog{ width: 93% !important; } }