.modal-box{ font-family: 'Noto Sans JP', sans-serif; } .modal-box .show-modal{ color: #EF4141; background-color: #fff; font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 8px 15px 9px; margin: 80px auto 0; border: none; border-radius: 5px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; background-color: #EF4141; outline: none; } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 400px; margin: 50px auto 0; } .modal.fade .modal-dialog{ transform-origin: bottom center; transform: translateY(50px) rotate(90deg); } .modal.in .modal-dialog{ transform: translateY(0) rotate(0); } .modal-box .modal-dialog .modal-content{ background: #fff; text-align: center; border-radius: 0; box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); } .modal-box .modal-dialog .modal-content .close{ color: #000; background-color: #fff; font-size: 20px; font-weight: 600; text-shadow: none; line-height: 20px; height: 30px; width: 30px; box-shadow: 0 0 5px rgba(0,0,0,0.3); border-radius: 50%; overflow: hidden; opacity: 1; position: absolute; left: auto; right: -5px; top: -5px; z-index: 1; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .close:hover{ color: #EF4141; } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 0; } .modal-box .modal-dialog .modal-content .modal-body .icon{ color: #fff; background: linear-gradient(to right bottom, #D72841, #F7901F); font-size: 100px; line-height: 100px; padding: 30px 20px 40px; margin: 0 0 35px; text-shadow: -4px -4px rgba(255, 255, 255, 0.3), -8px -8px rgba(255, 255, 255, 0.15); } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #EF4141; font-size: 45px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #000; font-size: 25px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin: 0 25px 40px; } .modal-box .modal-dialog .modal-content .modal-footer{ background-color: #f5f5f5; border: none; } .modal-box .modal-dialog .modal-content .modal-footer .btn{ color: #fff; background: #EF4141; font-size: 18px; font-weight: 400; letter-spacing: 1px; text-transform: capitalize; padding: 10px 15px 12px; border: none; border-radius: 0; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-footer .btn:nth-child(1){ background-color: #222; } .modal-box .modal-dialog .modal-content .modal-footer .btn:hover{ box-shadow: 3px 3px 3px rgba(0, 0, 0, .4); } .modal-box .modal-dialog .modal-content .modal-footer .btn:focus{ outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } }