.modal-box{ font-family: 'Roboto', sans-serif; } .modal-box .show-modal{ color: #fff; background-color: #dd4a35; font-size: 18px; font-weight: 600; text-transform: capitalize; padding: 10px 15px; margin: 80px auto 0; border: none; outline: none; display: block; box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); transition: all 0.3s ease 0s; } .modal-box .show-modal:hover, .modal-box .show-modal:focus{ color: #fff; border: none; outline: none; } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 550px; margin: 70px auto 0; } .modal-box .modal-dialog .modal-content{ color: #fff; background: #dd4a35; text-align: center; border: none; border-radius: 0; } .modal-box .modal-dialog .modal-content .close{ color: #fff; font-size: 30px; font-weight: 300; text-shadow: none; line-height: 20px; height: 20px; width: 20px; padding: 0 0 0 3px; opacity: 1; overflow: hidden; position: absolute; left: auto; right: 15px; top: 15px; z-index: 2; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .close span{ margin: -2px 0 0; display: block; } .modal-box .modal-dialog .modal-content .close:hover{ text-shadow: 0 0 3px rgba(0,0,0,0.9); } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 50px 25px 0 !important; } .modal-box .modal-dialog .modal-content .modal-body .icon{ padding: 0; margin: 0 auto 35px; list-style: none; position: relative; z-index: 1; } .modal-box .modal-dialog .modal-content .modal-body .icon:before{ content: ""; width: 160px; border: 2px dashed #fff; transform: translateX(-50%) translateY(-50%); position: absolute; top: 50%; left: 50%; z-index: -1; } .modal-box .modal-dialog .modal-content .modal-body .icon li{ color: #fff; font-size: 100px; line-height: 100px; display: inline-block; vertical-align: middle; } .modal-box .modal-dialog .modal-content .modal-body .icon li:nth-child(2){ color: #dd4a35; background-color: #fff; font-size: 27px; line-height: 43px; height: 40px; width: 40px; margin: 0 50px; border-radius: 50%; } .modal-box .modal-dialog .modal-content .modal-body .title{ font-size: 40px; line-height: 40px; font-weight: 300; text-transform: capitalize; margin: 0 0 15px; } .modal-box .modal-dialog .modal-content .modal-body .description{ font-size: 16px; letter-spacing: 0.5px; margin: 0 auto 25px; } .modal-box .modal-dialog .modal-content .modal-footer{ text-align: center; border: none; background-color: #fff; } .modal-box .modal-dialog .modal-content .modal-footer .btn{ color: #202020; background: #f2f2f2; border: 2px solid #b2b2b2; position: relative; font-size: 20px; font-weight: 400; padding: 8px 30px; border-radius: 50px 50px; text-transform: capitalize; transition: all 0.3s; } .modal-box .modal-dialog .modal-content .modal-footer .btn:hover, .modal-box .modal-dialog .modal-content .modal-footer .btn:focus{ box-shadow: 0 0 6px rgba(0, 0, 0, 0.6); outline: none; } @media only screen and (max-width: 576px){ .modal-dialog{ width: 95% !important; } .modal-box .modal-dialog .modal-content .modal-body .icon:before{ width: 125px; } .modal-box .modal-dialog .modal-content .modal-body .icon li{ font-size: 70px; line-height: 70px; } .modal-box .modal-dialog .modal-content .modal-body .icon li:nth-child(2){ font-size: 27px; line-height: 43px; margin: 0 35px; } .modal-box .modal-dialog .modal-content .modal-body .title{ font-size: 30px; } }