.projects-container {
  padding: 10px;
/*  display: flex;*/
  margin: 100px auto 0px auto;
}

    .projects-container p {
        margin: auto;
        color: black;
        width: 520px;
        padding: 20px;
    }

#main-projects {
/*  display: grid;
  grid-template-columns: auto;
  grid-gap: 0px;*/
  width: 90%;
  margin: auto !important;
  margin-top: 50px;
  display:inline-grid;
}

    #main-projects .img-hover-zoom {
        margin: auto;
        display: inline-grid;
        max-width: 500px;
        max-height: 450px;
        width: 95%;
    }

#projects {
    /*  display: grid;
  grid-template-columns: auto;
  grid-gap: 0px;*/
    width: 90%;
    margin: auto !important;
    margin-top: 50px;
    display: inline-grid;
}

    #projects .img-hover-zoom {
        margin: auto;
        display: inline-grid;
        max-width: 500px;
        max-height: 450px;
        width: 95%;
    }

#lightgallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 3;
    align-content: start;
    max-width: 85%;
    margin: 0 auto;
    transition: all 150ms linear;
}

    #lightgallery img {
        /*    display: none;*/
        grid-column-start: 1;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 2;
        width: 100%;
        transition: all 150ms linear;
        max-height: 350px;
        max-width: 400px;
        min-width: 150px;
        object-fit: cover;
        border-radius: 5px;
        box-shadow: 0px 0px 6px 4px #cccccc9c;
    }

.current-gallery-img {
/*    max-width: 250px !important;*/
/*    height: auto !important;
    margin: 10px;
    border-radius: 5px;*/
}

#main-projects > div {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

#main-projects > div > span {
    padding: 15px;
    display: flex;
    flex-direction: column;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 2;
    position: absolute;
    width: 200px;
    height: 80px;
    background-color: #000;
}

#main-projects > div > span p {
    color: #fff;
    margin: auto;
}

#main-projects .item img {
    width: auto;
    max-height: 260px;
    border-radius: 3px;
}

.lg-backdrop {
    background-color: #000000db !important;
}

#main-projects>div>span h2 {
  font-size: 0.8em;
}





#projects > div {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

    #projects > div > span {
        padding: 15px;
        display: flex;
        flex-direction: column;
        text-align: center;
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
        margin: auto;
        z-index: 2;
        position: absolute;
        width: 200px;
        height: 80px;
        background-color: #000;
    }

        #projects > div > span p {
            color: #fff;
            margin: auto;
        }

#projects .item img {
    width: auto;
    max-height: 260px;
    border-radius: 3px;
}

.lg-backdrop {
    background-color: #000000db !important;
}

#projects > div > span h2 {
    font-size: 0.8em;
}

.modal-header {
    padding: 0px 15px !important;
}










#projects>div>a {

}

#projects > div > img {
   
}

/* #projects > div:hover img {
}

#projects > div:hover a {
  opacity: 1;
} */

#main-projects p {
    color: #000;
    text-align: left;
    font-size: 0.8em;
    max-width: 300px;
}

#main-projects p span {
    display: block;
    padding-bottom: 5px;
    text-align: left;
    font-weight: 700;
    font-size: 1.2em;
}

#main-projects div {
    display: inline-table;
    justify-content: start;
    align-items: center;
    text-decoration: none;
    margin: 5px 5px;
    display: grid;
    grid-template-columns: 3fr 2fr 3fr 2fr;
    grid-template-rows: auto;
    margin: auto;
    padding: 10px;
}

/* #main-projects div:hover{
  
} */

#main-projects a {
  display: flex;
  justify-content: start;
  align-items: center;
  text-decoration: none;
}




#projects p {
    color: #000;
    text-align: left;
    font-size: 0.8em;
    max-width: 300px;
}

    #projects p span {
        display: block;
        padding-bottom: 5px;
        text-align: left;
        font-weight: 700;
        font-size: 1.2em;
    }

#projects div {
    display: inline-table;
    justify-content: start;
    align-items: center;
    text-decoration: none;
    margin: 5px 5px;
    display: grid;
    grid-template-columns: 3fr 2fr 3fr 2fr;
    grid-template-rows: auto;
    margin: auto;
    padding: 10px;
}

/* #projects div:hover{
  
} */

#projects a {
    display: flex;
    justify-content: start;
    align-items: center;
    text-decoration: none;
}







[id^="lightbox-"] {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  opacity: 0;
  transition: opacity 450ms ease-in-out;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  -webkit-transition: opacity 450ms ease-in-out;
  -moz-transition: opacity 450ms ease-in-out;
  -ms-transition: opacity 450ms ease-in-out;
  -o-transition: opacity 450ms ease-in-out;
}

[id^="lightbox-"]:target {
  opacity: 1;
  pointer-events: inherit;
}

[id^="lightbox-"]:target img {
  filter: blur(0);
  -webkit-filter: blur(0);
}

[id^="lightbox-"] .content {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  max-height: 720px;
  position: relative;
  color: #fff;
  left: -7px;
}

[id^="lightbox-"] .content:hover>a.close {
  opacity: 1;
  transform: scale(1, 1);
}

    [id^="lightbox-"] .content:hover > .title {
        opacity: 1;
        transform: translateY(-80px);
        -webkit-transform: translateY(-80px);
        -moz-transform: translateY(-80px);
        -ms-transform: translateY(-80px);
        -o-transform: translateY(-80px);
    }

[id^="lightbox-"] .content:hover>.title::after {
  opacity: 1;
}

[id^="lightbox-"] .content>* {
  transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
}

[id^="lightbox-"] .title {
  display: block;
  margin: 0;
  padding: 1em;
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(50%);
  font-size: 0.8em;
  opacity: 0;
}

[id^="lightbox-"] .title::after {
  content: ' ';
  background-color: rgba(0, 0, 0, 0.6);
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all 350ms ease-in-out 250ms;
  opacity: 0;
  transform-origin: bottom;
  mix-blend-mode: soft-light;
}

/* [id^="lightbox-"] img {
  max-height: 90vh;
  max-width: 100%;
  margin: 0;
  padding: 0;
  filter: blur(50px);
} */

[id^="lightbox-"] a.close {
  width: 2em;
  height: 2em;
  position: absolute;
  right: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0, 0);
  opacity: 0;
  transform-origin: right top;
  text-decoration: none;
  color: #fff;
}

[id^="lightbox-"] a.close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-image: url("../images/icons/close.svg");
  display: block;
  background-position: center;
  background-size: cover;
}

/* Phones, 576px and up */
@media (min-width: 576px) {
  #main-projects {
    grid-template-columns: auto auto;
  }

    #projects {
        grid-template-columns: auto auto;
    }
}

/* Desktops, 992px and up */
@media (min-width: 992px) {
    #main-projects {
        display: grid;
        grid-template-columns: 3fr auto 2fr;
    }

    #projects {
        display: block;
    }
}

/*********************************
* Slideshow Styling
*********************************/
.slider-wtumb-container {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 900px;
  margin: auto;
  position:relative;
  }

.slideshow-container {
    width: 100%;
    height: 100%;
    margin: 100px auto;
    position: relative;
    overflow: hidden;
}

    .slideshow-container.fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-width: 1200px;
        max-height: 720px;
        width: 100%;
        height: 100%;
        margin: auto;
        padding: 0;
        overflow: hidden;
    }

.img-wrapper {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    overflow: hidden;
    z-index: 8;
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: black;
}

.slideshow-container .img-wrapper.active {
    z-index: 10;
}

.slideshow-container .img-wrapper.last-active {
    z-index: 9;
}

/*********************************
	* Thumbnail Styling
	*********************************/
.thumbs-container {
  width: 100%;
  height: 80px;
  position: absolute;
  left: 0;

  z-index: 11;

  background: #222222;
  opacity: .9;
}

.thumbs-container.top {
  top: 0;
}

.thumbs-container.bottom {
  bottom: 0;
}

.prev,
.next {
  width: 3%;
  min-width: 40px;
  height: 48px;
  padding: 25px 1%;

  color: #999999;
  cursor: pointer;
}

.prev {
  float: left;
}

.next {
  float: right;
 margin-right: 20px;
}

.prev:hover,
.next:hover {
  color: #555555;
}

ul.thumbs {
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 140px;
  padding: 0;
  margin: 0 5%;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

.thumb {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin: 10px;

  overflow: hidden;
  background-size: cover;
  background-position: center center;

  cursor: pointer;
}

.thumb:first-of-type {
  margin-left: 0px;
}

.thumb.active {
  width: 56px;
  height: 56px;
  border: 2px solid #FFF;
}

#prev-btn .fa{
  width: 40px;
  height: 40px;
  display: block;
  background-image: url("../content/images/icons/arrows_prev_buttons.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -5% center;
}

#next-btn .fa {
    width: 40px;
    height: 40px;
    display: block;
    background-image: url("../content/images/icons/arrows_prev_buttons.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 105% center;
}



@media (max-width: 991px) {

    #main-projects {
        width: 95% !important;
    }
        #projects {
        width: 95% !important;
    }
}

