Popup-windows

The standard HTML markup of  popup window has a structure:

 <div class="... has-popup">

<a href="#" class="btn btn--round btn--secondary btn--transparent btn--hover-decoration js-open-popup">..</a>

<div class='window-popup'>

   <div class='content'>

<a class='js-open-popup popup-close' href='#'>

  ..

</a>

...

   </div>

</div>

</div>

“has-popup” – it is the main parent block, which responsible for window location. It can be any independent block, the main condition is the presence of the class "has-popup"

 Following is the button for opening the pop-up window. In general, it can be any element, not necessarily a link, most importantly it must have the class "js-open-popup", which is responsible for opening the window.

 <div class='window-popup'>.. - the main parent of popup-window block

<div class='content'> - wrap for window content

<a class='js-open-popup popup-close' href='#'> - button for closing the window

 You can easily modify the content of any pop-up window and add them to any place as well.