ul.lSGallery li.active {
    border: 2px solid #000;
    /*outline: medium none;
    padding: 3px;*/
}

#gwts-gwl-thumbrig {
    max-width:900px;
    margin:0 auto; /*center aligned*/
    padding:0;
    font-size:0; /* Remember to change it back to normal font size if have captions */
    list-style:none;
    /*background-color:#000;*/
}
#gwts-gwl-thumbrig li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:25%;
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
}
        
/* The wrapper for each item */
.gwts-gwl-thumbrig-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 */
.gwts-gwl-thumbrig-img {
    display:block;
    width: 100%;
    height: auto;
    border:none;
    transform:scale(1);
    transition:all 1s;
}

#gwts-gwl-thumbrig li:hover .gwts-gwl-thumbrig-img {
    transform:scale(1.05);
}
        
/* If have the overlay layer */
.gwts-gwl-thumbrig-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #3DC0F1 url(img/link.png) no-repeat center 20%;
    background-size:50px 50px;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
#gwts-gwl-thumbrig li:hover .gwts-gwl-thumbrig-overlay {
    opacity:0.8;
}

/* If have captions */
.gwts-gwl-thumbrig-text {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:18px;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    font-weight:normal!important;
    top:40%;
    color:white;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
}
#gwts-gwl-thumbrig li:hover .gwts-gwl-thumbrig-text {
    transform:translateY(0px);
    opacity:0.9;
}

@media (max-width: 9000px) {
    #gwts-gwl-thumbrig li {
        width:25%;
    }
}

@media (max-width: 700px) {
    #gwts-gwl-thumbrig li {
        width:33.33%;
    }
}

@media (max-width: 550px) {
    #gwts-gwl-thumbrig li {
        width:50%;
    }
}
.lSSlideWrapper ul#gwts-gwl-img-gallery {
    height: auto;
}

.lSAction > a:hover {
    box-shadow: none;
}
.lSAction > a {
    box-shadow: none!important;
}


/*.gwts-gwl-slidergal li {    
    display: flex;
    align-items: center;
    justify-content: center;    
}*/

/*.lSSlideOuter li.lslide, .lSSlideOuter li.clone {
    min-height: 350px;
    max-height: 100%;
}*/

/*.lSSlideOuter li.lslide, .lSSlideOuter li.clone {
min-height: auto;
max-height: 100%;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}*/

/*.lSSlideOuter li img{
vertical-align: middle;
}
.lSSlideOuter.vertical li {
min-height: auto;
}
.lSSlideOuter.vertical .lSPager.lSGallery li img {
margin: 0 auto;
}*/

/*Lightbox load more gallery*/

.lightgallery li, .launch-gallery li{ display:none;}

.actions {
    text-align: center;
}
.button.-tertiary {
    background-color: #434350;
    border-color: #434350;
    color: #ADADAD;
}
.button {
    text-transform: uppercase;
    letter-spacing: .258em;
    font-size: 0.774em;
    font-weight: 800;
    padding: 1.154em;
    background-color: #ADADAD;
    border: 0;
    display: inline-block;
    letter-spacing: normal;
    line-height: 1.3;
    min-height: 3.462em;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.home .demo-gallery {
    max-width: 800px;
    margin: 0 auto;
}
.demo-gallery > ul {
  margin-bottom: 0;
}
.demo-gallery > ul > li {
    float: left;
    margin-bottom: 15px;
    margin-right: 20px;
    width: 200px;
    list-style: none;
}
.demo-gallery > ul > li a {
  border: 3px solid #FFF;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
  float: left;
}
.demo-gallery > ul > li a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: auto;
  width: 100%;
}
/*.demo-gallery > ul > li a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}*/
.demo-gallery > ul > li a:hover .demo-gallery-poster > img {
  opacity: 1;
}
.demo-gallery > ul > li a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.demo-gallery > ul > li a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.demo-gallery > ul > li a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .justified-gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.demo-gallery .justified-gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster > img {
  opacity: 1;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .video .demo-gallery-poster img {
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.8;
  width: 48px;
}
.demo-gallery.dark > ul > li a {
  border: 3px solid #04070a;
}
.home .demo-gallery {
/*padding-bottom: 80px;*/
}

/*Gallery Button*/
.gallery-feature {
    margin-bottom: 1.786em;
    position: relative;
}
.gallery-feature .button {
    position: absolute;
    bottom: 0;
    /*z-index: 999;
    font-size: 12px;*/
    border-radius: none;
}
.button.-tertiary {
    background-color: #434350;
    border-color: #434350;
    color: #ADADAD;
}


.article.-full .img {
    font-size: 0.75em;
    line-height: 1.3;
    font-family: "Chronicle SSm A","Chronicle SSm B","Georgia","Cambria","Times New Roman","Times",serif;
}
.gallery-feature .img {
    display: block;
}
ul#launch-gallery11 {
    list-style: none;
    margin: 0 auto;
}
.gallery-feature .button:focus{
    outline: none;
}

.loadingimg {
    position: relative;
    top: 7px;
    left: 7px;
}
/*.demo-gallery > ul > li a > img {
    min-height: 127px;
}*/