/** For Kagan Gallery Update 2022 **/



a {
    text-decoration: none;
}

#Wrapper { height: auto !important; }

/* ------------------------------------------------------------------------------*/

/*#Container.gallery {
 background: url('../images/photo_gallery/bkg-swoosh.png') no-repeat, linear-gradient(180deg, rgb(90, 44, 122) 30%, rgb(255, 255, 255) 100%);
	background-size: 100%;
	width: 100%;
    max-width: 967px;
}*/

#Container.gallery {
	background: url('../images/photo_gallery/bkg-swoosh.png') no-repeat, linear-gradient(180deg, rgba(90,44,122,1) 10%, rgba(181,110,201,1) 50%, rgba(206,175,214,1) 95%, rgba(228,202,235,1) 99%);
	background-size: 100%;
	width: 100%;
	min-width: unset;
    max-width: 967px;
}
#Container.gallery #Breadcrumb {
    padding-top: 5px !important;
}
#Container.gallery img:first-of-type {
	display: block;
	margin: 0 auto;
}
#Container.gallery h3 {
	font-size: .9em;
	color: #fff;
	margin: 0 0 10px 0;
}

#Container.gallery img.pageTitle {
	width: 70%;
}


/** Home **/

#homeContent {
	display: flex;
	width: 90%;
	margin: 0 auto 20px auto;
	justify-content: center;
    flex-wrap: nowrap;
}

#homeContent p {
	font-size: .85em;
	line-height: 1.7em;
}
#homeContent strong {
	color: #ee008c;
	font-size: 1.31em;
	letter-spacing: -.5px;
	display: block;
	margin: 0 auto 3px auto;
	text-align: center;
}
#homeContent a {
	font-weight: normal;
	color: #333;
	width: 25%;
	border-radius: 10px;
	background-color: white;
	margin: 0 6px;
	padding: 15px;
	transition: .3s;
}
#homeContent a:hover {
	background-color: #fffce2;
}

#homeContent img {
	max-width: 98%;
	border-radius: 10px;
	border: 3px #f8c350 solid;
	overflow: hidden;
}


/** Gallery Thumbnail Layout **/

#thumbnails {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-image: url('../images/photo_gallery/starry-bkg.png');
    background-position: top center;
    background-attachment:scroll;
    background-size: 100%;
		background-repeat: repeat;
}
#thumbnails p {
	display: block;
	width: 90%;
	max-width: 1000px;
}
#thumbnails a {
	width: 25%;
	margin: 25px;
	display: inline-block !important;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid rgba(255,255,255,.80);
	box-shadow: 1px 1px 5px 0px black;
}
#thumbnails a.applyHover {
	position: relative;
	top: 0;
}
#thumbnails a.applyHover:hover {
	border-color: #f8c350;
	border: 2px solid rgba(248,195,80,1);
	top: -5px;
	transition: 0.3s;
}
#thumbnails img.thumb {
	width: 100%;
}

.align {
  	display: flex;
  	height: 100%;
 	align-items: center;
  	justify-content: center;
	margin: 0 auto;
}

.lightbox {
    position: fixed;
    z-index: 999;
    height: 0;
    width: 0;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
}

.lightbox img {
    width: 100%;
	max-width: 1000px;
    margin-top: 2%;
    opacity: 0;
}

.lightbox:target {
    /** Remove default browser outline */
    outline: none;
    width: 100%;
	min-width: 350px;
    height: 100%;
    opacity: 1 !important;
}

.lightbox:target img {
    border: solid 3px rgba(255, 255, 255, 1);
	border-radius: 10px;
    opacity: 1;
    webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

a.light-btn {
	display: block !important;
	position: relative;
	margin: -42% 0 0 0 !important;
	width: max-content;
	font-size: 1.85em;
    color: #fafafa;
    background-color: rgba(238,0,140,0.80);
    border: none !important;
    padding: 10px 3px;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    z-index: 99;
}


/* Buttons */

.light-btn:hover {
    background-color: rgba(244,195,80,0.70);
}

a.btn-prev {
    right: 43%;
	margin: inherit 0 0 0 !important;
	width: 10% !important;
	min-width: unset !important;
	max-width: 60px !important;
	transition: .2s;
}

a.btn-next {
    left: 43.7%; /* add .7% to fine tune placement */
	width: 10% !important;
	min-width: unset !important;
	max-width: 60px !important;
	transition: .2s;
}

.btn-close {
    position: relative;
    left: 50%;
    top: 45px;
	width: max-content !important;
	min-width: unset !important;
    color: #fafafa;
    background-color: #ee008c;
    border: none !important;
    padding: 12px 17px;
    border-radius: 20px !important;
    text-decoration: none;
	transition: 0s;
	z-index: 10;
}

.btn-close:hover {
    background-color: rgba(244,195,80,0.90);
}


/* Bottom Nav Links */

#bottomNav {
	display: flex;
	justify-content: center;
	margin: 10px 0 20px 0;
	flex-wrap: wrap;
}
#bottomNav h3 {
	flex-basis: 100%;
	color: #7140a1 !important;
	font-size: 1.2em !important;
}
#bottomNav a {
	margin: 0 5px 20px 5px;
	font-weight: bold;
    padding: 5px 10px;
    display: inline-block;
    height: auto;
    width: max-content;
    background-color: #5b3381;
    letter-spacing: -.3px;
    text-align: center;
    text-indent: 0px !important;
    border-radius: 8px;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.3);
    color: #ffeb64;
    font-size: 1.1em;
	transition: .2s;
	
}
#bottomNav a:hover {
	background-color: #f4c350;
	color: #fff;
}

a.backToTop { display: none !important; border: none !important; box-shadow: none !important; background-color: #fff; width: max-content !important; margin: 10px auto !important; padding: 5px !important; text-align: center; color: #ee008c; border-radius: 5px; transition: .2s; }

a.backToTop:hover { background-color: #ee008c; color: #fff; }


/*** Responsive Styles ***/

@media screen and (max-width: 850px){
#homeContent {
	flex-wrap: wrap;
}
#homeContent a {
    width: 47%;
    margin: 5px;
	}
}

@media screen and (max-width: 670px){
	#thumbnails {
    background-size: 200%;
	}
	#thumbnails a {
		width: 37%;
	}
	img.pageTitle {
		width: 98% !important;
	}
    #bottomNav a {
	margin: 0 0 10px 0 !important;
	font-weight: bold;
    padding: 5px 10px;
    display: block;
    height: auto;
    width: 95%;
    }
    #bottomNav .row-inner {
        width: 100% !important;
        margin: 0 auto;
        justify-content: center;
    }
}

@media screen and (max-width: 600px){
#homeContent a {
    width: 100%;
    margin: 5px 0;
	}
}

@media screen and (max-width: 450px){
	#thumbnails a {
		width: 90%;
		min-width: 315px;
        margin: 10px;
	}
	a.backToTop { display: block !important; }
}





