body {
margin: 0;
}
#blackout {
display: none;
width: 100%;
height: 100%;
background-color: #000;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
position: fixed;
z-index:997;
top:0;
}
#modal {
display: flex;
background-color: #000;
width: 90%;

height: 90%;
overflow-y: auto;
z-index: 998;
border-style: solid;
border-width: 10px;
border-color: #000;
-webkit-overflow-scrolling: touch;
}
.trigger {
    z-index: 996;
    position: relative;
    cursor: pointer;
    background-color: #131313;
    margin-bottom: 5px;
    color: #fff;
    display: flex;
    align-items: center;
    padding-top: 9px;
    padding-bottom: 9px;
    padding-left: 5px;
    font-weight: 400;
    font-family: 'Oswald';
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.trigger:hover {
background-color: #000;
color: #fff;
}
#griddie  {
display: grid;
grid-template-columns: repeat(5, 1fr);
Grid-gap: 5px;
Grid-row-gap: 0
}
.squares {
Max-width:100%;
}
#lg-share,
#lg-actual-size,
#lg-zoom-in,
#lg-zoom-out,
.lg-fullscreen,
.lg-autoplay-button {
display: none !important;
}
#modal-info {
    display: flex;
    color: #fff;
    font-size: 14px;
    font-family: 'Open Sans';
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #555;
    margin-right: 7px;
    max-width: 100%;
}
#lightgallery {
    width: 100%;
}
#sms {
    flex: 1;
    cursor: pointer;
    margin-left: 5px;
}
#sms a {
color: #fff;
text-decoration: underline;
}
#title {
text-align: center;
text-transform: uppercase;
color: #000;
margin-bottom: 10px;
background-color: #fff;
padding-top: 3px;
padding-bottom: 3px;
font-weight: 600;
margin-right: 7px;
}
#closeout { 
text-align: right; 
margin-right: 10px;
flex: 1;
cursor: pointer;
text-decoration: underline;
}
@media only screen and (max-width : 690px) {
#griddie {
   display: grid;
   grid-template-columns: repeat(5,1fr);
}
#modal {
    width: 100%;
    height: 100%;
}
}
@media only screen and (max-width : 430px) {
#griddie {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
}
#modal {
    width: 100%;
    height: 100%;
}
}