.modal-box{ font-family: 'Hind', sans-serif; } .modal-box .show-modal{ background: #77b222; color: #fff; font-size: 18px; font-weight: 600; text-transform: uppercase; padding: 11px 15px 7px; margin: 80px auto 0; border: none; border-radius: 20px; outline: none; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); display: block; transition: all 0.3s ease 0s; } .modal-box .show-modal:hover{ color: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.5),0 0 5px rgba(0, 0, 0, 0.2) inset; } .modal-backdrop.in{ opacity: 0; } .modal-box .modal-dialog{ width: 450px; margin: 70px auto 0; } .modal-box .modal-dialog .modal-content{ text-align: center; border: none; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); border-radius: 30px; } .modal-box .modal-dialog .modal-content .close{ color: #fff; background: #d1d1d1; font-size: 30px; font-weight: 400; text-shadow: none; line-height: 30px; height: 25px; width: 25px; border-radius: 50%; opacity: 1; position: absolute; left: auto; right: 10px; top: 10px; z-index: 1; overflow: hidden; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .close:hover{ color: #fff; background-color: #77b222; } .modal-box .modal-dialog .modal-content .close:focus{ outline: none; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 60px !important; } .modal-box .modal-dialog .modal-content .modal-body .modal-icon{ color: #742cc0; font-size: 80px; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .title{ color: #535F75; font-size: 26px; font-weight: 700; margin: 0 0 10px; } .modal-box .modal-dialog .modal-content .modal-body .description{ color: #9A9EA9; font-size: 16px; margin: 0 0 20px; } .modal-box .modal-dialog .modal-content .modal-body .form-group{ margin: 0 0 30px; } .modal-box .modal-dialog .modal-content .modal-body .form-group .form-control{ color: #535F75; font-size: 17px; text-align: center; height: 40px; width: 80%; margin: 0 auto; border: 1px solid #AEAFB1; border-radius: 0; box-shadow: none; outline: none; } .modal-box .modal-dialog .modal-content .modal-body .form-group .form-control:focus{ border: 1px solid #77b222; box-shadow: none; } .modal-box .modal-dialog .modal-content .modal-body .form-group .form-control::placeholder{ color: #AEAFB1; text-align: center; } .modal-box .modal-dialog .modal-content .modal-body .subscribe{ color: #742cc0; background-color: #fff; font-size: 25px; letter-spacing: 1px; padding: 10px 15px 4px; margin: 0 auto -60px; border: 2px solid #742cc0; border-radius: 10px; display: block; transition: all 0.3s ease 0s; } .modal-box .modal-dialog .modal-content .modal-body .subscribe:hover, .modal-box .modal-dialog .modal-content .modal-body .subscribe:focus{ color: #fff; background: #77b222; border: 2px solid #77b222; text-shadow: 0 0 15px rgba(0, 0, 0, 0.3); box-shadow: 0 0 10px rgba(0,0,0,0.5); } @media only screen and (max-width: 479px) { .modal-dialog{ width: 95% !important; } .modal-box .modal-dialog .modal-content .modal-body{ padding: 30px 25px !important; } }