.modal-box{ font-family: 'Poppins', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #424FFA; font-size: 16px; font-weight: 500; text-transform: uppercase; padding: 12px 18px; margin: 50px auto 0; border: none; outline: none; border-radius: 20px; 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 5px 5px rgba(0, 0, 0, 0.3); } .modal-backdrop.in{ background-color: #999; opacity: 0.7; } .modal-box .modal-dialog{ width: 500px; margin: 70px auto 0; } .modal.fade .modal-dialog{ transform: translateY(-100px); } .modal.in .modal-dialog{ transform: translateY(0); } .modal-box .modal-dialog .modal-content{ background: transparent; text-align: center; border-radius: 0; border: none; box-shadow: none; position: relative; z-index: 1; } .modal-box .modal-dialog .modal-content:before, .modal-box .modal-dialog .modal-content:after{ content: ''; background-color: #424FFA; height: 100%; width: 90%; margin: auto; position: absolute; left: 0; right: 0; top: 0; z-index: -1; clip-path: polygon(50% 0%, 100% 30%, 100% 100%, 0 100%, 0 30%); } .modal-box .modal-dialog .modal-content:after{ background-color: #fff; width: 100%; height: 80%; top: auto; bottom: 10px; clip-path: polygon(0 0, 50% 10%, 100% 0, 100% 100%, 50% 90%, 0 100%); } .modal-box .modal-dialog .modal-content .modal-body{ padding: 40px 20px 50px !important; } .modal-box .modal-dialog .modal-content .modal-body .cancel{ color: rgba(255,255,255,0.7); background-color: transparent; font-size: 16px; font-weight: 500; text-transform: uppercase; padding: 0; margin: 0 0 70px; border: none; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .cancel:hover{ color: #fff; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #424FFA; font-size: 33px; line-height: 33px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 25px; } .modal-box .modal-dialog .modal-content .modal-body .form-control{ color: #424FFA; font-size: 16px; font-weight: 500; text-align: center; width: 300px; height: 45px; margin: 0 auto 30px; border: 2px solid #424FFA; border-radius: 30px; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .form-control:focus{ box-shadow: 0 3px 0 0 #1926b7; } .modal-box .modal-dialog .modal-content .modal-body .form-control::placeholder{ color: rgba(66,79,250,0.8); } .modal-box .modal-dialog .modal-content .modal-body .btn{ color: #fff; background: #424FFA; font-size: 20px; font-weight: 400; text-transform: uppercase; padding: 5px 30px; margin: 0 auto 10px; border-radius: 25px; border: none; 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, .9); box-shadow: 0 3px 0 0 #1926b7; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }