There is a photo on the page. When you click on it, the image is enlarged. To implement the chosen plugin Fancybox .
Everything basically works, but the fact is that I have the top menu fixed and, when a modal window appears with an enlarged image, it is located just behind the top menu.
How can I adjust the indent for the appearing window so that it is lower, or so that the appearing image is in the foreground and the rest is darkened?
After opening the picture, the main menu overlaps the modal window 
It should be noted that the pictures are not located at the beginning of the page, but after a significant scroll down. Some code. Advice added z-index. Menu:
<div class="navbar navbar-default navbar-top" role="navigation" data-spy="affix" data-offset-top="50" style="z-index:99;"> Page:
<div class="row"> <div class="abv " style="z-index:999;"> <div class="col-md-6 image-service-box text-center"> <a id="single_1" href="ссылка.jpg"> <img src="ссылка.jpg" alt="" /> </a> <h4 class="text-center"><strong>Пример 1</strong></h4> </div> <div class="col-md-6 image-service-box text-center"> <a id="single_2" href="ссылка.jpg"> <img src="ссылка.jpg" alt="" /> </a> <h4 class="text-center"><strong>Пример 2</strong></h4> </div> </div> </div> Script inside page:
$(document).ready(function() { $("#single_1").fancybox({ openEffect: "none", closeEffect: "none" }); $("#single_2").fancybox({ openEffect : 'elastic', closeEffect : 'elastic', }); Tried to change the margin, but nothing changes:
$("#single_1").fancybox({ margin:200, openEffect: "none", closeEffect: "none" }); When you change the padding, only a frame appears.

z-index? ..... - teranfancybox {z-index:999;}.menu {z-index:99;}- klifort