/*======================================
            inner gallery
======================================== */
/*====gallery=====*/
.gallery
{
    margin-bottom: 30px;
}
.gallery_grid 
{
    overflow: hidden;
    position: relative;
    /*padding: 12px;*/
}
.gallery-grid-image
{
    border: 1px solid #aaa;
    background-color: #eee;
}
.gallery_grid>a
{
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
	text-decoration: none !important;
}
/*====light box=====*/
.lightspeed-box 
{
	visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.84);
    z-index: 30;
    transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
    box-sizing: border-box;
    transform: scale(0);
}
.lightspeed-box.lsb-active 
{
    visibility: visible;
    transform: scale(1);
    opacity: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999 !important;
}
.lightspeed-box .lsb-content 
{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    margin: auto;
    padding: 20px;
    transition: all 0.5s;
    height: 100%;
}
.lightspeed-box .lsb-header 
{
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 32;
    margin: 0;
    padding: 0;
    display: block;
    background: transparent;
}
.lightspeed-box .lsb-image-count 
{
    display: block;
    margin-right: 5px;
    font-weight: 500;
    color: #ffffff;
    font-size: 11px;
    text-shadow: 0 1px 4px #000000;
    background: transparent;
}
.lightspeed-box .lsb-image-title 
{
    display: block;
    padding: 5px 10px;
    color: #ffffff;
    font-size: 14px;
    text-shadow: 0 1px 4px #000000;
    background: rgba(0, 0, 0, 0.32);
    transition: opacity 0.5s ease-out;
    opacity: 0;
}
.lightspeed-box .lsb-image-title:not(:empty) 
{
    opacity: 1;
}
.lightspeed-box .lsb-control-panel 
{
    position: absolute;
    bottom: 5px;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.64);
    border-radius: 3px;
    opacity: .5;
}
.lightspeed-box .lsb-control-panel:hover 
{
	opacity: 1; 
}
.lightspeed-box .lsb-panel-button:not(:last-child) 
{
    margin-right: 10px;
}
.lsb-control-panel 
{
    visibility: hidden;
}
.lightspeed-box .lsb-image-container 
{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
.lightspeed-box .lsb-no-image-found 
{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    height: 100%;
    width: 100%;
    padding: 10px;
    margin: auto;
    overflow: visible;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}
.lightspeed-box .lsb-no-image-found .no-found-msg 
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateY(50%);
    margin: 0 auto;
}
.lightspeed-box img.lsb-image.lsb-image-loaded 
{
    max-height: 100%;
    max-width: 100%;
    min-height: 1px;
    border: 3px solid rgba(0, 0, 0, 0.18);
    border-radius: 3px;
}
.lightspeed-box img.lsb-image 
{
    position: relative;
    max-height: 0%;
    max-width: 0%;
    cursor: pointer;
    min-width: 0;
    min-height: 0;
    margin: auto;
    transition: all 0.95s cubic-bezier(0.12, 0.58, 0.26, 0.99);
    user-select: none;
    object-fit: scale-down;
}
.waitingicon 
{
    margin: auto;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.waitingicon .waitingicon-circle:nth-child(1) 
{
    transform: rotate(30deg);
}
.waitingicon .waitingicon-circle 
{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.lightspeed-box .lsb-close 
{
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 25%;
    z-index: 3;
    text-align: right;
}
.lightspeed-box .lsb-close .lsb-control-text 
{
    display: inline-block;
    margin-top: 17px;
    margin-right: 30px;
    font-size: 30px;
}
.lightspeed-box .lsb-control 
{
    cursor: pointer;
    color: #ffffff;
    overflow: visible;
    text-shadow: 0 0 2px #000;
}
.lightspeed-box .lsb-prev 
{
    left: 0;
    text-align: left;
}
.lightspeed-box .lsb-prev, .lightspeed-box .lsb-next 
{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 20%;
    height: 100%;
    top: 0;
    z-index: 2;
}
.lightspeed-box .lsb-control-text 
{
    font-family: Monaco, monospace;
    font-size: 45px;
    font-weight: bold;
}
.lightspeed-box .lsb-next .lsb-control-text 
{
    margin-right: 30px;
}
.lightspeed-box .lsb-next 
{
    right: 0;
    text-align: right;
}
.lightspeed-box .lsb-prev .lsb-control-text 
{
    margin-left: 30px;
}