/* N1 SproutVideo. Block poster, overlay player, and inline (in-page) players. */

/* Click-to-play poster (SproutVideo block). Same look as the old Wistia block. */
.sv-embed .video-thumb{display:block;position:relative;background:#ccc;max-width:100%;width:350px;min-height:350px;}
.sv-embed .video-thumb:after{content:"";display:block;background-image:url("data:image/svg+xml,%0A%3Csvg height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='m18.5 20h-17c-.827 0-1.5-.673-1.5-1.5v-17c0-.827.673-1.5 1.5-1.5h17c.827 0 1.5.673 1.5 1.5v17c0 .827-.673 1.5-1.5 1.5zm-17-19c-.276 0-.5.224-.5.5v17c0 .276.224.5.5.5h17c.276 0 .5-.224.5-.5v-17c0-.276-.224-.5-.5-.5z'/%3E%3Cpath d='m6.5 16c-.08 0-.16-.019-.233-.057-.164-.086-.267-.257-.267-.442v-11c0-.186.103-.356.267-.442s.363-.075.516.031l8 5.5c.136.093.217.247.217.412s-.081.319-.217.412l-8 5.5c-.085.058-.184.088-.283.088zm.5-10.549v9.099l6.617-4.549-6.617-4.549z'/%3E%3C/g%3E%3C/svg%3E");background-size:70px 70px;width:100%;background-position:center center;background-repeat:no-repeat;z-index:2;position:absolute;height:100%;top:0}
.sv-embed .video-thumb:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:#000;opacity:.65;z-index:1;transition:opacity .4s;}
.sv-embed .video-thumb:hover{cursor:pointer;}
.sv-embed .video-thumb:hover:before,.sv-embed .video-thumb:focus:before{opacity:.3;}
.sv-embed .video-thumb img{display:block;max-width:100%;margin:0 auto;}

/* Overlay player */
#video-overlay.sv-overlay{position:fixed;inset:0;width:100%;height:100%;background:rgba(0,0,0,.84);display:none;align-items:center;justify-content:center;z-index:8888888;}
#video-overlay.sv-overlay.active{display:flex;}
#video-overlay.sv-overlay .video-wrapper{position:relative;z-index:2;top:auto;width:min(90vw,900px);}
#video-overlay.sv-overlay .sv-ratio{position:relative;height:0;}
#video-overlay.sv-overlay iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;}

/* Inline players. Width matches the old Wistia embeds (Additional CSS capped .wistia_embed at
   640px, except inside .wysiwyg content where it was full width). */
.sv-inline{width:100%;max-width:640px;}
.wysiwyg .sv-inline{max-width:100%;}
.sv-ratio{position:relative;height:0;padding-top:56.25%;}
.sv-ratio iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;}
