/* Standard Styles */
/* Photo Styles */

.photo_198 {
	border: 4px solid #FFFFFF;
}

.album-frame .topx----,
.album-frame .top----x,
.album-frame .botx----,
.album-frame .bot----x {
	height: 14px;
	width: 14px;
}

.album-frame .top-x--- {
	background-repeat: repeat-x;
	background-image: url(images/borders/album-tstretch.gif);
	text-align: left;
	height: 14px;
	width: auto;
}
.album-frame .top--x-- {
	background-repeat: repeat-x;
	background-image: url(images/borders/album-tstretch.gif);
	height: 14px;
	width: auto;
}
.album-frame .top---x- {
	background-repeat: repeat-x;
	background-image: url(images/borders/album-tstretch.gif);
	text-align: right;
	height: 14px;
	width: auto;
}

.album-frame .mtpx---- {
	background-repeat: repeat-y;
	background-image: url(images/borders/album-lstretch.gif);
	vertical-align: top;
	height: auto;
	width: 14px;
}
.album-frame .mtp----x {
	background-repeat: repeat-y;
	background-image: url(images/borders/album-rstretch.gif);
	vertical-align: top;
	height: auto;
	width: 14px;
}

.album-frame .midx---- {
	background-repeat: repeat-y;
	background-image: url(images/borders/album-lstretch.gif);
	height: auto;
	width: 14px;
}
.album-frame .mid----x {
	background-repeat: repeat-y;
	background-image: url(images/borders/album-rstretch.gif);
	height: auto;
	width: 14px;
}

.album-frame .mbtx---- {
	background-repeat: repeat-y;
	background-image: url(images/borders/album-lstretch.gif);
	vertical-align: bottom;
	height: auto;
	width: 14px;
}
.album-frame .mbt----x {
	background-repeat: repeat-y;
	background-image: url(images/borders/album-rstretch.gif);
	vertical-align: bottom;
	height: auto;
	width: 14px;
}

.album-frame .bot-x--- {
	background-repeat: repeat-x;
	background-image: url(images/borders/album-bstretch.gif);
	text-align: right;
	height: 14px;
	width: auto;
}
.album-frame .bot--x-- {
	background-repeat: repeat-x;
	background-image: url(images/borders/album-bstretch.gif);
	height: 14px;
	width: auto;
}
.album-frame .bot---x- {
	background-repeat: repeat-x;
	background-image: url(images/borders/album-bstretch.gif);
	text-align: left;
	height: 14px;
	width: auto;
}

.photo-frame
{
	margin: 0px;
	padding: 0px;
	border: 0px;
	border-collapse: collapse;
}

.photo-frame TD {
	margin: 0px;
	padding: 0px;
}

.photo-frame .topx-- 
{
	background-repeat: no-repeat;
	background-image: url(images/borders/frame-topx--.gif);
	width: auto;
	height: 4px;
	vertical-align: top;
}
.photo-frame .top-x- {
	background-repeat: repeat-x;
	background-image: url(images/borders/frame-top-x-.gif);
	width: auto;
	height: 4px;
}
.photo-frame .top--x {
	background-repeat: no-repeat;
	background-image: url(images/borders/frame-top--x.gif);
	width: auto;
	height: 4px;
	vertical-align: top;
}

.photo-frame .midx-- {
	background-repeat: repeat-y;
	background-image: url(images/borders/frame-midx--.gif);
	width: 4px;
	height: auto;
}

.photo-frame .mid--x {
	background-repeat: repeat-y;
	background-image: url(images/borders/frame-mid--x.gif);
	width: 4px;
	height: auto;
}

.photo-frame .botx-- {
	background-repeat: no-repeat;
	background-image: url(images/borders/frame-botx--.gif);
	width: 4px;
	height: 4px;
	vertical-align: top;
}
.photo-frame .bot-x- {
	background-repeat: repeat-x;
	background-image: url(images/borders/frame-bot-x-.gif);
	width: auto;
	height: 4px;
}
.photo-frame .bot--x {
	background-repeat: no-repeat;
	background-image: url(images/borders/frame-bot--x.gif);
	width: 4px;
	height: 4px;
	vertical-align: bottom;
}

/* Lightbox */


#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
	
#loading #loadingLink{ width: 32px; height: 32px; background: url(images/lightbox/loading.gif) no-repeat;	}		

#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(images/lightbox/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/lightbox/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; height: 22px; float: right;  padding-bottom: 0.7em; background: url(images/lightbox/closelabel.gif) no-repeat;	}			
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	


	.branch_Inner_Gallery_Wrapper.pa-branch-gallery {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
}

.pa-gallery-source {
    display: none !important;
}

.pa-gallery-main {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f4f4f4;
}
.pa-gallery-main.has-loader::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .55);
}

.pa-gallery-main.has-loader::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 21;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    margin-top: -21px;
    border: 3px solid rgba(0, 0, 0, .18);
    border-top-color: rgba(0, 0, 0, .65);
    border-radius: 50%;
    animation: paGallerySpin .75s linear infinite;
}

@keyframes paGallerySpin {
    to {
        transform: rotate(360deg);
    }
}
.pa-gallery-main-link {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
    text-decoration: none !important;
}

.pa-gallery-main-img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 700 / 405;
    object-fit: cover;
}

.pa-gallery-fullscreen {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    transition: background .2s ease;
}

.pa-gallery-main-link:hover .pa-gallery-fullscreen {
    background: rgba(0, 0, 0, .78);
}

.pa-gallery-fullscreen-icon {
    font-size: 18px;
    line-height: 1;
}
.pa-gallery-thumbs{display: grid;grid-template-columns:repeat(5 ,1fr);gap:15px;margin-top:15px}
.pa-gallery-thumb {
    position: relative;
    display: block;
    height: 88px;
    overflow: visible;
    background: transparent;
    cursor: pointer;
    text-decoration: none !important;
    padding-bottom: 8px;
}

.pa-gallery-thumb-inner {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    background: #111;
}

.pa-gallery-thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    transition: transform .25s ease, opacity .25s ease;
}

.pa-gallery-thumb:hover img,
.pa-gallery-thumb.is-openable img {
    opacity: .55;
    transform: scale(1.04);
    opacity: .55;

}
.pa-gallery-thumb.has-more img {
    opacity: .55;
}
.pa-gallery-thumb:hover img {
    transform: scale(1.04);
}
.pa-gallery-thumb::before,
.pa-gallery-thumb::after {
    display: none !important;
}

.pa-gallery-thumb::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    transform: translate(-50%, -50%) scale(.85);
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.pa-gallery-thumb::after {
    content: "";
    position: absolute;
    left: calc(50% + 10px);
    top: calc(50% + 10px);
    z-index: 5;
    width: 11px;
    height: 2px;
    background: rgba(255, 255, 255, .95);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity .2s ease;
}

.pa-gallery-thumb:hover::before,
.pa-gallery-thumb:hover::after,
.pa-gallery-thumb.is-openable::before,
.pa-gallery-thumb.is-openable::after {
    opacity: 1;
}

.pa-gallery-thumb:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.pa-gallery-thumb.is-active .pa-gallery-active-line {
    opacity: 1;
}

.pa-gallery-active-line {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    z-index: 8;
    height: 4px;
    background: #0072ce;
    opacity: 0;
}

.pa-gallery-more {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .50);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .pa-gallery-thumbs {
        gap: 10px;
    }

    .pa-gallery-thumb {
        height: 74px;
    }
}

@media (max-width: 767px) {
    .pa-gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .pa-gallery-thumb {
        height: 78px;
    }

    .pa-gallery-fullscreen {
        bottom: 12px;
        padding: 10px 14px;
        font-size: 12px;
    }
}
.pa-gallery-thumb .pa-gallery-search-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%) scale(.85);
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.pa-gallery-thumb .pa-gallery-search-icon::after {
    content: "";
    position: absolute;
    right: -7px;
    bottom: 3px;
    width: 11px;
    height: 2px;
    background: rgba(255, 255, 255, .95);
    transform: rotate(45deg);
}

.pa-gallery-thumb:hover .pa-gallery-search-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.pa-gallery-thumb.has-more .pa-gallery-search-icon {
    display: none;
}

.pa-gallery-active-line {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    z-index: 8;
    height: 4px;
    background: #0072ce;
    opacity: 0;
}

.pa-gallery-thumb.is-active .pa-gallery-active-line {
    opacity: 1;
}

.pa-gallery-more {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .50);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}