1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29.lightbox {
overflow: auto;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
display: table;
table-layout: fixed;
background-color: rgba(0,0,0,0.7);
z-index: 999;
}
.lightbox > .lightbox-inner {
display: table-cell;
text-align: center;
vertical-align: middle;
width: 100%;
}
.lightbox-inner > .content {
display: inline-block;
outline: none;
text-align: left;
min-width: 980px;
max-width: 90%;
}