@charset "UTF-8"; /* Name: YouTubePopUp | Special Version for WordPress Description: jQuery plugin to display YouTube or Vimeo video in PopUp, responsive and retina, easy to use. Version: 1.0.3 Plugin URL: http://wp-time.com/youtube-popup-jquery-plugin/ Written By: Qassim Hassan Twitter: @QQQHZ Websites: wp-time.com | qass.im | wp-plugins.in Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html Copyright (c) 2018 - Qassim Hassan */ .YouTubePopUp-Wrap{ position:fixed; width:100%; height:100%; background-color:#000; background-color:rgba(0,0,0,0.7); top:0; left:0; z-index:9999999999999; } body.logged-in .YouTubePopUp-Wrap{ top:32px; } .Video-PopUp-Content{ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-align: center; -moz-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; justify-content: center; -webkit-justify-content:center; width:100%; height:100%; } .vp-flex{ max-width:880px; width:100%; height:440px; margin:0 60px; position:relative; padding:5px; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; background-color:#fff; box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.3); -webkit-box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.3); } .vp-flex iframe, .vp-flex video{ width:100%; height:100%; max-width:100% !important; max-height:100%; min-width:100%; min-height:100%; border:none !important; margin: 0 !important; padding: 0 !important; outline: none !important; display:block; } .YouTubePopUp-Close{ position:absolute; top:0px; cursor:pointer; left:-36px; margin:auto 0; transition:all ease-in-out 0.3s; -webkit-transition:all ease-in-out 0.3s; -moz-transition:all ease-in-out 0.3s; -o-transition:all ease-in-out 0.3s; } .YouTubePopUp-Close:before{ font-family: 'vp-close-icon' !important; speak: none !important; font-style: normal !important; font-weight: normal !important; font-variant: normal !important; text-transform: none !important; line-height: 1 !important; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; content: "\61"; text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8); font-size:26px; color:#fff; } .YouTubePopUp-Close:hover{ opacity:0.5; } .vp-flex.vp-flex-no-border, .vp-flex-no-border{ padding:0 !important; background: transparent !important; } .vp-flex-no-border.vp-vt-locally, .vp-flex-no-border.vp-vt-vimeo{ box-shadow:none; -moz-box-shadow:none; -webkit-box-shadow:none; } @media all and (max-width: 782px){ body.logged-in .YouTubePopUp-Wrap{ top:46px !important; } } @media all and (max-width: 600px){ body.logged-in .YouTubePopUp-Wrap{ top:0 !important; } .YouTubePopUp-Close{ top:-31px; left:-5px; } .vp-flex, .Video-PopUp-Content .vp-flex{ max-width:480px !important; height:320px !important; } } @media all and (max-width: 480px){ .vp-flex, .Video-PopUp-Content .vp-flex{ max-width:480px !important; height:240px !important; margin: 0 20px; } } @media all and (max-width: 320px){ .vp-flex, .Video-PopUp-Content .vp-flex{ max-width:280px !important; height:140px !important; } }