/* The Modal (background) */ #base_modal { display: none; position: fixed; z-index: 1000; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: black; background-color: rgba(0, 0, 0, 0.4); /* Modal Content */ } #base_modal .modal_content { /*position: relative;*/ background-color: #fefefe; margin: auto; padding: 0; width: 80%; max-width: 1000px; -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); -webkit-animation-name: animatetop; -webkit-animation-duration: 0.4s; animation-name: animatetop; animation-duration: 0.4s; border-radius: 5px; overflow: hidden; } #base_modal .modal_content .modal_close { color: white; font-size: 25px; -webkit-transition: all 0.3s; transition: all 0.3s; -webkit-transform-origin: center; transform-origin: center; position: absolute; top: 15px; right: 20px; } #base_modal .modal_content .modal_close:hover, #base_modal .modal_content .modal_close:focus { -webkit-transform: rotate(90deg); transform: rotate(90deg); -webkit-transform-origin: center; transform-origin: center; text-decoration: none; cursor: pointer; } #base_modal .modal_content .modal_header { padding: 2px 13px; width:100%; background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.2)), to(rgba(255, 255, 255, 0))), -webkit-gradient(linear, left top, left bottom, from(#019875), to(#019875)); background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)), linear-gradient(to bottom, #019875, #019875); color: white; position: relative; } #base_modal .modal_content .modal_header h3 { color: white; } #base_modal .modal_content .modal_body { padding: 2px 16px; } #base_modal .modal_content .modal_footer { padding: 2px 16px; background: white; text-align: center; color: white; } #base_modal .modal_content .modal_footer .base_btn { width: auto; height: auto; -webkit-transition: 0.3s all; transition: 0.3s all; } #base_modal .modal_content .modal_footer .base_btn:hover { -webkit-transform: scale(1.01); transform: scale(1.01); } /* Add Animation */ @-webkit-keyframes animatetop { from { top: -300px; opacity: 0; } to { top: 0; opacity: 1; } } @keyframes animatetop { from { top: -300px; opacity: 0; } to { top: 0; opacity: 1; } } /* The Close Button */ /*# sourceMappingURL=modal.css.map */