.modal {
    /*border: 1px solid white;*/
    /*display: none;*/
    visibility: hidden;
    position: fixed;
    z-index: 7;
    top: 0vh;
    width: 100vw;
    height: 100vh;
    overflow: visible;
    background-color: white;
    background-color: #333;
    list-style-type: none;
    box-sizing: border-box;
    float: right;
    padding: 2vw;
    padding-right: 0;
    left: 0;
}

#product-viewer .description {
    overflow: visible;
    padding-left: 2vw !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

.modal .textbox {
    position: relative;
    width: 41vw;
    height: auto;
    margin-top: 0;
    /*border: 1px solid orange;*/
    color: white;
    font-size: 1.2vw;
    text-align: justify;
    transition: 1s;
    left: -5vw;
    opacity: 0;
}

.textbox + .textbox {
    margin-top: 1vw;
}

.textbox h2 {
    color: #FBE604;
    font-size: 1.4vw;
    padding: 0;
    margin-top: 0vh;
    padding-top: 0;
    margin-bottom: 1vh;
}

.modal .buttons-box {
    color: white;
    margin-top: 5vh;
    transition: 0s;
    opacity: 0;
}

.modal .description {
    /*border: 1px solid green;*/
    width: 40%;
    height: 100%;
    list-style-type: none;
    box-sizing: border-box;
    align-content: center;
    padding: 3vw;
    padding-top: 0;
    position: relative;
    overflow: auto;
    float: left;
}

.modal .content {
    /*border: 1px solid brown;*/
    position: relative;
    width: 60%;
    height: 100%;
    list-style: none;
    box-sizing: border-box;
    padding: 6vw;
    overflow: visible;
    float: left;
}

.modal .content #lightbox{
    /*border: 1px solid red;*/
    margin-top: 5vh;
    position: relative;
    width: 100%;
    height: 70%;
    overflow: visible;
    color: white;
    transition: 0s;
}

#lightbox-caption {
    /*border: 1 px solid red;*/
    z-index: 5;
    transition: 0s;
    position: absolute;
}

#lightbox-caption-bg {
    position: absolute;
    width: 20vw;
    height:0;
    z-index: 2;
    top: -5vh;
    left: 4vw;
    background-color: #FBE604;
    opacity: 1;
    transition: 1s;
}

#lightbox-caption-text {
    position: absolute;
    font-size: 4vw;
    line-height: 5vw;
    z-index: 4;
    height: 30vw;
    width: 40vw;
    top: -2vh;
    left: 6vw;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", 
   Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #fff;
    text-shadow: 1px 1px 2px #333, 0 0 0 #333; 
    text-align: left;
    transition: 1s;
    opacity: 0;
}


#lightbox #main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*background-size: cover;*/
    z-index: 2;
    transition: 0.5s;
}

#lightbox #main-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    z-index: 1;
    transition: 0.5s;
}

#lightbox #main-image:hover {
    cursor: zoom-in;
}

.modal .content #lightbox-slide-title{
    /*border: 1px solid blue;*/
    position: relative;
    width: 100%;
    height: 8%;
    overflow: visible;
    color: white;
    font-size: 3vmin;
    line-height: 7vmin;
    
}

.modal .content #lightbox-slides-panel{
    /*border: 1px solid blue;*/
    position: relative;
    width: 100%;
    height: 16%;
    overflow: visible;
    color: white;
    list-style-type: none;
    box-sizing: border-box;
    float: left;
}

#lightbox-slides-panel .lightbox-slide {
    list-style: none;
    box-sizing: border-box;
    float: left;
    /*border: 1px solid orange;*/
    width: 16.6%;
    height: 100%;
    color: rgba(0, 0, 0, 0);
    opacity: 0.5;
    transition: 0.5s;
}

#lightbox-slides-panel .lightbox-slide:hover {
    cursor: pointer;
    opacity: 1;
}

#prev,
#next {
  cursor: pointer;
  position: absolute;
  top: 35%;
  width: auto;
  padding: 1.5vw;
  /*margin-top: -50px;*/
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  /*border-radius: 0 3px 3px 0;*/
  user-select: none;
  -webkit-user-select: none;
  z-index: 5;
}

#prev {
    left: 0;  
}

#next {
  right: 0;
  /*border-radius: 3px 0 0 3px;*/
}

#prev:hover,
#next:hover {
  background-color: #FBE604;
  opacity: 0.8;
  color: black;
}

#project-viewer {
    padding: 1vw !important;
    margin: 0vw !important;
}


#project-viewer #project-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
    background: #333;
    opacity: 0;
}

#project-viewer #slideshow-close {
    color: red;
}


.project-slideshow-slide {
    width: 0;
    height: 100%;
    right: 0;
    position: absolute;
    color: rgba(0, 0, 0, 0);
    transition: 1s;
    /*background-color: #FBE604;*/
}

.numbertext {
    color: #f2f2f2;
    font-size: 1vw;
    height: auto;
    width: auto;
    position: absolute;
    top: 2vh;
    left: 1vw;
    z-index: 3;
}

#product-numbertext {
    float: left;
    left: -50vw;
}

.modal .close {
    color: white;
    position: absolute;
    top: 1vh;
    right: 1.5vw;
    font-size: 3vw;
    font-weight: bold;
    transition: 0.5s;
}

#lightbox-close {
    top: -1vw !important;
    right: 2vw !important;
    color: red;
}

.modal .close:hover {
    color: #999;
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.2);
}  

#project-slideshow #slideshow-arrow {
    transition: all 0.2s ease-in-out;
    align-items: center;
    position: absolute;
    z-index: 2;
    width: 0;
    height: auto;
    min-height: 19vh;
    top:40vh;
    right:2vw;
    background: url(../images/cube/right.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: right;
}

#slideshow-arrow:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.modal-button {
    transition: 0.5s;
    text-align: center;
    position: absolute;
    z-index: 2;
    padding: 0.5vw;
    height: 6vh;
    bottom: 1vw;
    font-family: "Lato";
    font-size: 2vw;
    font-weight: 300;
    width: auto;
    background-color: #333;
    color: #FBE604;
    right:2vw;
}

.modal-button:hover {
    transform: scale(1.1);
    cursor: pointer;
    color: black;
    background-color: #FBE604;
    opacity: 1;
}

#lightbox-button-buy {
    right:2vw;
    bottom: -2vw !important;
}

#lightbox-button-consultation {
    right:16vw;
    bottom: -2vw !important;
}

#project-slideshow #project-description {
    width: 40vw;
    height: auto;
    position: relative;
    top: 20vh;
    z-index: 2;
    float: left;
    opacity: 0;
    /*border: 1px solid red;*/
    transition: 0s;
    /*display: none;*/
}

#project-description #project-description-bg {
    width: 100%;
    height: 100%;
    /*background-color: #FBE604;*/
    background-color: #333;
    position: absolute;
    top: 0;
    left: -40vw;
    z-index: 1;
    opacity: 0.5;
    transition: 1s;
}

#project-description #project-description-name {
    position: relative;
    z-index: 2;
    margin-top: 2vh;
    margin-right: 1vw;
    margin-left: 3vw;
    /*border: 1px solid red;*/
    font-size: 6vh;
    font-weight: 700;
    text-align: left;
    height: auto;
    width: 90%;
    transition: 1s;
    left: -3vw;
    opacity: 0;
    color: #FBE604;
}

#project-description #project-description-text {
    position: relative;
    z-index: 2;
    margin-top: 3vh;
    margin-right: 1vw;
    margin-bottom: 2vh;
    margin-left: 3vw;
    /*border: 1px solid black;*/
    font-size: 3vh;
    font-weight: 500;
    line-height: 4vh;
    text-align: justify;
    height: auto;
    width: 90%;
    transition: 1s;
    opacity: 0;
    left: -3vw;
    color: white;
}