var css = document.createElement('style'); // Creates
css.type = 'text/css'; // Specifies the type
var rule = ".js-modal{position:absolute;max-width:450px;top:50%;left:50%;transform:translate(-50%,-50%);z-index:10;border-radius:4px;background-color:#1f3056;font-size:20px;color:#fff}.js-modal-hidden{display:none}.js-modal iframe,.js-modal img,.js-modal video{max-width:100%}.js-modal-inner{position:relative;padding:10px}.js-modal-close{font-size:10px;position:absolute;top:-10px;right:-10px;width:24px;height:24px;text-align:center;color:#eee;border-width:0;border-radius:100%;background-color:#000}#cover{position:fixed;top:0;left:0;background:rgba(0,0,0,.6);z-index:2;width:100%;height:100%}";
rule += ".js-modal a { color: white; text-decoration: underline; }";
rule += "#js_modal_close, .modal-close {background:#3498db;background-image:-webkit-linear-gradient(top, #3498db, #2980b9);background-image:-moz-linear-gradient(top, #3498db, #2980b9);background-image:-ms-linear-gradient(top, #3498db, #2980b9);background-image:-o-linear-gradient(top, #3498db, #2980b9);background-image:linear-gradient(to bottom, #3498db, #2980b9);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0px;font-family:Arial;color:#fff;font-size:16px;padding:10px 20px 10px 20px;text-decoration:none}#js_modal_close:hover, .modal-close:hover {background:#3cb0fd;background-image:-webkit-linear-gradient(top, #3cb0fd, #3498db);background-image:-moz-linear-gradient(top, #3cb0fd, #3498db);background-image:-ms-linear-gradient(top, #3cb0fd, #3498db);background-image:-o-linear-gradient(top, #3cb0fd, #3498db);background-image:linear-gradient(to bottom, #3cb0fd, #3498db);text-decoration:none}";
if (css.styleSheet) {
css.styleSheet.cssText = rule; // Support for IE
} else {
css.appendChild(document.createTextNode(rule));
} // Support for the rest
document.getElementsByTagName("head")[0].appendChild(css); // Specifies where to place the css
document.write('