/* block 1 */

.lb-album {
    width: 900px;
    margin: 0 auto;
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
}

.lb-album li {
    float: left;
    margin: 5px;
    position: relative;
}

.lb-album li > a,
.lb-album li > a img {
    display: block;
}

.lb-album li > a {
    width: 150px;
    height: 150px;
    position: relative;
    padding: 10px;
    background: #f1d2c2;
    box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158, 111, 86, 0.3) inset;
    border-radius: 4px;
}
/* block 2 -- makes hover span work */

.lb-album li > a span {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 10px;
    left: 10px;
    text-align: center;
    line-height: 150px;
    color: rgba(27, 54, 81, 0.8);
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.6);
    font-size: 24px;
    opacity: 0;
    background: radial-gradient( center, ellipse cover, rgba(255, 255, 255, 0.56) 0%, rgba(241, 210, 194, 1) 100%);
    transition: opacity 0.3s linear;
}

.lb-album li > a:hover span {
    opacity: 1;
}
/* block 3 -- made enlarged dissappear */

#blog-post-gallery li.remove-thumb > a {
	display:none;
	}


.lb-overlay {
    width: 0px;
    height: 0px;
    position: fixed;
    overflow: hidden;
    left: 0px;
    top: 0px;
    padding: 0px;
    z-index: 99;
    text-align: center;
	background: #333;
    background: -moz-radial-gradient( center, ellipse cover, rgba(34, 34, 34, 0.9) 0%, rgba(34, 34, 34, 1) 100%);
    background: -webkit-radial-gradient( center, ellipse cover, rgba(34, 34, 34, 0.9) 0%, rgba(34, 34, 34, 1) 100%);
    background: radial-gradient( center, ellipse cover, rgba(34, 34, 34, 0.9) 0%, rgba(34, 34, 34, 1) 100%);
}
/* block 4 --  styling */

.lb-overlay .lb-caption {
    position: relative;
    max-width: 550px;
    height: 80px;
    margin: 45px auto 0px auto;
    /*    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.6);
*/
}

.lb-viewport {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.lb-overlay p {
    text-align: center;
    color: #fff !important;
}

.lb-overlay div p {
    font-size: 16px;
    font-family: Constantia, Palatino, serif;
    font-style: italic;
    text-align: center;

}

.lb-overlay div h3 span {
    display: block;
    line-height: 6px;
}


/* block 5 --  close */

.lb-overlay a.lb-close {
    opacity: 0;
    z-index: 1001;
    position: absolute;
    top: -50px;
    left: 50%;
    margin-left: -30px !important;
    /*    margin-left: -40px !important;
    background: url("https://test.webservices.illinois.edu/webservices/styles/close-btn.png") !important;
    background-repeat: no-repeat !important;
    color: #444;
    font-size: 25px;
    height: 34px;
    line-height: 34px;
    width: 80px;
    padding-right: 38px !important;
    text-align: right;
    z-index: 102;*/
    
    width: 65px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    color: #222 !important;
    background-color: rgba(255, 255, 255, .4) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 12px !important;
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif !important;
}

.lb-overlay a.lb-close:hover,
#uofi #ws-pa #edu-il #ws-content .lb-overlay a.lb-close:active:hover,
#uofi #ws-pa #edu-il #ws-content .lb-overlay a.lb-close:focus:hover {
    background-color: rgba(255, 255, 255, .6) !important;
    color: #222 !important;
}

.lb-overlay a.lb-close:before {
    font-family: "FontAwesome";
    content: "\f00d";
    font-size: 17px !important;
    margin-right: 1px;
}

.lb-close:hover {
    background-position: 0 -34px !important;
}
/* block 6 --  */

.lb-overlay img {
    max-height: 100%;
    position: relative;
    opacity: 0;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s linear;
}
/* Block 7 -- Styled Navigation */

.lb-prev,
.lb-next {
    /*        text-indent: -9000px;
*/
    
    position: absolute;
    top: -45px;
    width: 20px;
    height: 25px;
    left: 50%;
    opacity: 0.6;
}

.lb-prev {
    margin-left: -20px !important;
}

.lb-next {
    margin-left: 10px !important;
}

.lb-prev:hover,
.lb-next:hover {
    opacity: 1;
}

.lb-next,
.lb-prev {
    width: 20px;
    height: 50px;
    overflow: hidden;
    text-decoration: none !important;
}

.lb-next:before {
    font-family: "FontAwesome";
    content: "\f054";
    width: 20px;
    height: 50px;
    font-size: 30px;
    color: #fff;
    opacity: .5;
    /*        background: transparent url(../images/arrows.png) no-repeat top right;
*/
}

.lb-prev:before {
    font-family: "FontAwesome";
    content: "\f053";
    width: 25px;
    height: 50px;
    font-size: 30px;
    color: #fff;
    opacity: .5;
    /*        background: transparent url(../images/arrows.png) no-repeat top right;
*/
}

.lb-next:hover {
    text-decoration: none!important;
}
/* Block 8, 9, 10, 11 */

.lb-overlay:target {
    width: auto;
    height: auto;
    bottom: 0px;
    right: 0px;
    /*    padding: 110px 100px 120px 100px;
*/
    
    padding: 110px 3% 120px 3%;
}

.lb-overlay:target img,
.lb-overlay:target a.lb-close {
    opacity: 1;
}
.page-overflow {
	overflow: hidden;
	}

.lb-overlay:target img {
    -webkit-animation: fadeInScale .4s ease-in-out;
	-moz-animation: fadeInScale .4s ease-in-out;
	 animation: fadeInScale .4s ease-in-out;
	 max-width: 100%;
}

/* =============================
Revised for Infographics
============================== */
    #image-cycle {
        visibility: hidden;
        opacity: 0;
		position:absolute;
/*		z-index:1002; */
z-index:99999;
    }
    .lb-overlay {
        padding-top: 4em;
        transition: opacity 250ms ease-out 0s;
        position: fixed !important;
    }
    .lb-overlay:target {
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
		overflow-y: scroll;
    }
    
    .lb-overlay img {
        opacity: 1 !important;
    }
    .lb-viewport {
		max-width: 2000px;
		}
    .lb-overlay:target {
        opacity: 1 !important;
    }
    
    .lb-next,
    .lb-previous {
        cursor: pointer;
    }
    
/* =========================== */

@keyframes fadeInScale {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
