.video_lightbox_anchor_image {
    width:33%;
}
a {
  outline:none !important;
}

.popup-youtube {
  .youtube-click {
    outline:none;
    width: 50px;
    height: 50px;
  }
}

* {
  box-sizing: border-box;
}

#rig {
    max-width:100%;
    margin:0 auto; /*center aligned*/
    padding:0!important;
    font-size:0; /* Remember to change it back to normal font size if have captions */
    list-style:none;
    background-color:#fff;
	  z-index:99999;
}
#rig li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:33%;
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
    position: relative;
    /*-webkit-transition: all 200ms*/
    
}
        
/* The wrapper for each item */
.rig-cell {
    /*margin:12px;
    box-shadow:0 0 6px rgba(0,0,0,0.3);*/
    display:block;
    position: relative;
    overflow:hidden;
}
        
/* If have the image layer */
.rig-img {
    display:block;
    width: 100%;
    height: auto;
	  max-height:250px;
	  overflow:hidden;
    border:none;
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    transform: scale(1.01);
    -webkit-transition: -webkit-transform 500ms ease;
    -moz-transition: -moz-transform 500ms ease;
    transition: transform 500ms ease;
    
}

#rig li:hover .rig-img {
       -webkit-transform: scale(1.05) translateZ(0);
  -moz-transform: scale(1.05) translateZ(0);
  transform: scale(1.05) translateZ(0);
  -webkit-transition: -webkit-transform 500ms ease;
    -moz-transition: -moz-transform 500ms ease;
    transition: transform 500ms ease;
}

/*starts*/
.rig-overlay {
    position: absolute;
    display:block;
    top: 0;/*0%;*/
    left: 0;/*0;*/
    bottom: 0;/*0;*/
    right: 0;/*0;*/
    margin: auto;
    background: rgba(0, 0, 0, 0.5);
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
   /* transition:all 0.6s;*/
}
#rig li:hover .rig-overlay {
    opacity:0.8;
}
.rig-text {
    display:block;
    padding:0px 40px;/*0 30px;*/
    z-index: 10;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    font-size: 18px;
    text-transform: uppercase;
    top:45%;
    color:#fff;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    /*transform:translateY(-20px);*/
    transition:all .3s;
}

.edgtf-show-title li .rig-text{opacity:1;}

#rig li:hover .rig-text {
    transform:translateY(0px);
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    -o-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
    opacity:0.9;
}
/*ends*/

@media (max-width: 9000px) {
    #rig li {
        width:33.3%;/*25%;*/
    }
}

@media (max-width: 700px) {
    #rig li {
        width:50%;
    }
	.rig-img {
    max-height:100%;
	}
	.rig-text {
    font-size: 16px;
  font-weight: 600;
	}
}

@media (max-width: 550px) {
    #rig li {
        width:100%;
    }
	.rig-img {
    max-height:100%;
	}
	.rig-text {
    font-size: 16px;
  font-weight: 600;
	}
}
.page-load-status {
  display: none; /* hidden by default */
  padding-top: 20px;
  border-top: 1px solid #DDD;
  text-align: center;
  color: #777;
}
.loader-ellips {
  font-size: 20px; /* change size here */
  position: relative;
  width: 4em;
  height: 1em;
  margin: 10px auto;
}

.loader-ellips__dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 0.5em;
  background: #555; /* change color here */
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
  left: 0;
}
.loader-ellips__dot:nth-child(3) { left: 1.5em; }
.loader-ellips__dot:nth-child(4) { left: 3em; }

@keyframes reveal {
  from { transform: scale(0.001); }
  to { transform: scale(1); }
}

@keyframes slide {
  to { transform: translateX(1.5em) }
}

.loader-ellips__dot:nth-child(1) {
  animation-name: reveal;
}

.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
  animation-name: slide;
}

.loader-ellips__dot:nth-child(4) {
  animation-name: reveal;
  animation-direction: reverse;
}

.animated.delay-1p {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;

}

.animated.delay-2p {

    -webkit-animation-delay: 0.75s;
    animation-delay: 0.75s;

}

.animated.delay-3p {

    -webkit-animation-delay: 1s;
    animation-delay: 1s;

}
p.btn-loadmore{ text-align:center;}
p.btn-loadmore .view-more-button {
    font-size: 22px;
    border: 0;
    background: none;
    cursor: pointer;
    color: #aa182c; outline:none;
}

.rig-overlay{ display: none!important; }
li .edgtf-pli-image, li .edgtf-pl-item-inner{
     overflow: hidden;
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
}

li .edgtf-pli-image:after {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background-color: rgba(0,0,0,.35);
    opacity: 0;
    z-index: 1;
}

li:hover .edgtf-pli-image:after {
    opacity:1;
}

.edgtf-show-title li .edgtf-pli-image:after{opacity:1;}

li a.edgtf-pli-link {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}