﻿
.img45Style {
    border: 1px solid #dbdbe4;
    width: 45px;
    height: 45px
}

.img65Style {
    border: 1px solid #dbdbe4;
    width: 65px !important;
    height: 65px !important;
}

#preview, #lookupPreview {
    position: absolute;
    border: 1px solid #dbdbe4;
    display: none;
    color: #fff;
    z-index: 100000;
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.05);
}
#lightbox {
    position: fixed; /* keeps the lightbox window in the current viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(153, 157, 163,.6);
    text-align: center;
    z-index: 1000
}
#lightbox button {
    text-align:right; 
    font-size:12px; 
   }

#lightbox img {
    width: auto !important;    
    height: auto !important;    
    max-height: 100% !important;
}

.close {
    padding-top: 3% !important;
    padding-right: 28% !important;
    font-size: 50px !important;
    position: absolute !important;
    right: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.5em;
    text-decoration: none;
    color: #000;
    
}
#mobilelightbox {
    position: fixed; /* keeps the lightbox window in the current viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(153, 157, 163,.6);
    text-align: center;
    z-index: 100000
}

#mobilelightbox img {
    padding-top: 5% !important;
    padding-bottom: 10px !important;
    max-width: 250px;
}

#mobilelightbox button {
    text-align: right;
    font-size: 12px;
}

.spanlightbox {
    display: block;
    position: absolute;
    top: 4px;
    right: 5px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F9F9F9;
    cursor: pointer;
    box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.15);
}
.spanlightbox:before, .spanlightbox:after {
    position: absolute;
    top: 8px;
    left: 21px;
    content: ' ';
    height: 26px;
    width: 1px;
    background-color: #333;
}
.spanlightbox:before {
    transform: rotate(45deg);
}
.spanlightbox:after {
    transform: rotate(-45deg);
}

#lightboxlookup {
    position: fixed; /* keeps the lightbox window in the current viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(153, 157, 163,.6);
    text-align: center;
    z-index: 100000
}
#lightboxlookup button {
    text-align:right; 
    font-size:12px; 
   
}
#lightboxlookup img {
        width: auto !important;
        height: auto !important;
        max-height: 100% !important;
}

#lightbox > div {
    height: 100%;
}

#lightbox > div > div:first-child {
        padding-top: 0 !important;
}

#lightbox #content {
    width: auto;
    height: 100%;
    padding: 25px;
}


/* From brandon to fix issue VGO-1613 */
#lightboxlookup > div {
    height: 100%;
}

    #lightboxlookup > div > div:first-child {
        padding-top: 0 !important;
    }

#lightboxlookup #content {
    width: auto;
    height: 100%;
    padding: 25px;
}

#mobilelightbox > div {
    height: 100%;
}

    #mobilelightbox > div > div:first-child {
        padding-top: 0 !important;
    }

#mobilelightbox #content {
    width: auto;
    height: 100%;
    padding: 25px;
}

#mobilelightbox img {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
}

table.dataTable a.preview img, table.dataTable a.lookupPreview img {
    border: 1px solid #dbdbe4;
}