
#iLightbox {
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.55);
}

#iLightbox > * {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    zoom: 1;
}

#iLightbox .iLightbox-container {
    position: absolute;
    font-family: sans-serif;
}

#iLightbox .iLightbox-media {
    position: relative;
    -webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
    -moz-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
    -o-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
    box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );       border: 5px solid #fff;
}

#iLightbox .iLightbox-media img,
#iLightbox .iLightbox-media iframe,
#iLightbox .iLightbox-media object {
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    vertical-align: top;
}

#iLightbox .iLightbox-media [class^="iLightbox-btn"] {
    position: absolute;
    height: 100%;
    top: 0;
    float: left;
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

#iLightbox .iLightbox-media [class^="iLightbox-btn"] a {
    display: block;
    width: 100%;
    height: 100%;
}

#iLightbox .iLightbox-media [class^="iLightbox-btn"]:hover {
    filter: alpha(opacity=100);
    opacity: 1;
}

#iLightbox .iLightbox-media .iLightbox-btnPrev {
    width: 30%;
    left: 0;
    background: url(../images/ilightbox-icons/prev.png) left 50% no-repeat;
}

#iLightbox .iLightbox-media .iLightbox-btnNext {
    width: 70%;
    right: 0;
    background: url(../images/ilightbox-icons/next.png) right 50% no-repeat;
}

#iLightbox .iLightbox-media.iLightbox-iframe [class^="iLightbox-btn"] {
    height: 50px;
    width: 50px;
    top: 50%;
    margin-top: -25px;
}

#iLightbox .iLightbox-details {
    position: relative;
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #f9f9f9;
    font-weight: normal;
    text-shadow: 1px 1px 3px #333;
    z-index: 5;
    text-align: center;
}

#iLightbox .iLightbox-details h3 {
    display: inline-block;
    font-size: 20px;
    line-height: 20px;
    font-weight: normal;
    margin: 0px;
}

#iLightbox .iLightbox-container:hover .iLightbox-close {
    display: block;
}

#iLightbox .iLightbox-close {
    position: absolute;
    display: none;
    top: 0px;
    right: 0px;
    width: 54px;
    height: 54px;
    background: url(../images/ilightbox-icons/close.png) center no-repeat;
    background-size: 28px auto;
    z-index: 1011;
    border-bottom-left-radius: 5px;
    filter: alpha(opacity(40));
    opacity: 0.4;
    outline: none;
}

#iLightbox .iLightbox-close:hover {
    filter: alpha(opacity(100));
    opacity: 1;
}

#iLightbox .iLightbox-loader {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -16px;
    background: #fff url(../images/ilightbox-icons/loading.gif) center no-repeat;
    border-radius: 50%;
    outline: none;
    padding: 10px;
    z-index: 1015;
    -webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
    -moz-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
    -o-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
    box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 );
}

#iLightbox .iLightbox-error,
#iLightbox .iLightbox-content{
    background: #f0f0f0;
    padding: 45px 40px;
}


.gl_section{padding:30px 0 60px;}

.grid{border:0;}
.grid h4{text-align:left;}
.grid p{font-size:14px;text-align:left;}
.grid-span span:before { position:absolute;     left: -15px;
    top: -8px; margin-right:5px; content: "";background: url(../images/quote-open.html) 0 0 no-repeat;width: 34px;height: 26px;display: inline-block;}
.grid p:after {content: "";background: url(../images/quote-close.html) 0 0 no-repeat;width: 34px;height: 26px;display: inline-block;    vertical-align: text-top;}
.grid p strong{ font-weight:bold;color:#000;}
.grid-contain{ background-color:#fff;     margin: 10px;padding:10px;    background: #fff;
    box-shadow: 0px 1px 3px 3px #eaeaea;}
.grid-span{ position:relative; width:305px; font-size:13px; padding-top:5px;}
.grid-span span{font-weight: bold;font-size: 15px;position:relative;color: #1742bd; padding-left:30px;display: block; }
.top_box{text-align:center;position:relative; }
.top_box img{border:4px solid #f2f2f2;}
.grid li{-ms-transition: all .7s;-moz-transition: all .7s;-webkit-transition: all .7s;transition: all .7s;}
.grid li{  margin-bottom:20px!important;}
.grid li:nth-child(3n+0){ margin-right:0px!important;}
.info{ background:#DAA523; font-family:Lato; text-transform:capitalize;}
.view .mask,.view .content {position: absolute;overflow: hidden;top: 30%;left:0px;}
.grid li a,
.grid li img {
	outline: none;
	border: none;
	max-width: 100%;
}
.download{position:absolute; bottom:0; right:0;cursor:pointer;}
.download i{    color: #de2505;
    font-size: 24PX;}
.grid {
	list-style: none; 
	padding: 0;  width:100%;
}

.grid li {
	display: block;
	float: left;
	padding: 0px;
	
	opacity: 0;
}
.view.view-fifth {
    padding: 0px;
}
.grid li.shown,
.no-js .grid li,
.no-cssanimations .grid li {
	opacity: 1;
}



/* Effect 1: opacity */
.grid.effect-1 li.animate {
	-webkit-animation: fadeIn 0.65s ease forwards;
	animation: fadeIn 0.65s ease forwards;
}

@-webkit-keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

@keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

/* Effect 2: Move Up */
.grid.effect-2 li.animate {
	-webkit-transform: translateY(200px);
	transform: translateY(200px);
	-webkit-animation: moveUp 0.65s ease forwards;
	animation: moveUp 0.65s ease forwards;
}

@-webkit-keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

/* Effect 3: Scale up */
.grid.effect-3 li.animate {
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: scaleUp 0.65s ease-in-out forwards;
	animation: scaleUp 0.65s ease-in-out forwards;
}

@-webkit-keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

/* Effect 4: fall perspective */
.grid.effect-4 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-4 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	-webkit-animation: fallPerspective .8s ease-in-out forwards;
	animation: fallPerspective .8s ease-in-out forwards;
}

@-webkit-keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

@keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

/* Effect 5: fly (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.grid.effect-5 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-5 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 50% 50% -300px;
	transform-origin: 50% 50% -300px;
	-webkit-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
	-webkit-animation: fly .8s ease-in-out forwards;
	animation: fly .8s ease-in-out forwards;
}

@-webkit-keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes fly {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}

/* Effect 6: flip (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.grid.effect-6 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-6 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform-origin: 0% 0%;
	transform-origin: 0% 0%;
	-webkit-transform: rotateX(-80deg);
	transform: rotateX(-80deg);
	-webkit-animation: flip .8s ease-in-out forwards;
	animation: flip .8s ease-in-out forwards;
}

@-webkit-keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@keyframes flip {
	0% { }
	100% { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; }
}

/* Effect 7: helix (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
.grid.effect-7 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-7 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
	-webkit-animation: helix .8s ease-in-out forwards;
	animation: helix .8s ease-in-out forwards;
}

@-webkit-keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); opacity: 1; }
}

@keyframes helix {
	0% { }
	100% { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); opacity: 1; }
}

/* Effect 8:  */
.grid.effect-8 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-8 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: scale(0.4);
	transform: scale(0.4);
	-webkit-animation: popUp .8s ease-in forwards;
	animation: popUp .8s ease-in forwards;
}

@-webkit-keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes popUp {
	0% { }
	70% { -webkit-transform: scale(1.1); transform: scale(1.1); opacity: .8; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

@media screen and (max-width: 900px) {
	.grid li {
		width: 50%;
	}
}

@media screen and (max-width: 480px) {
	.grid li {
		width: 100%;
	}
} 
