@import url("/-/media/roland-emea/files/css/buttons.css");
h3.h3.feature-title {
  display: none;
}

/* Gallery starts*/
.cbp-nav-next:after,
.cbp-nav-prev:after {
  background: none !important;
}

.grid-container-description-galleryapplications {
  padding: 60px 0;
}

.galleryapplications .cbp-item-wrapper p {
  font-weight: bold;
  text-shadow: 2px 3px 7px #4a4a4a;
  font-size: 40px;
  line-height: 1;
  max-width: 10ch;
}

.galleryapplications .gallery-title {
  bottom: 40px;
  left: 40px;
  position: absolute;
  color: white;
  font-weight: 300;
  margin: 0 !important;
}

div.gallery-button {
  border: solid 1px white;
  padding: 10px 25px;
  color: white;
  border-radius: 25px;
  margin-top: 20px;
  display: block;
  width: fit-content;
  font-size: 15px;
}

div.gallery-button:hover {
  background-color: white;
  color: black;
  box-shadow: 2px 2px 10px #0000004d;
}

.cbp-popup-lightbox-title .gallery-button {
  display: none;
}

.galleryapplications .cbp img {
  max-width: 600px;
  max-height: 600px;
  margin: 0 auto;
  filter: brightness(0.4);
}

.galleryapplications .cbp-nav-pagination {
  bottom: -50px !important;
}

.galleryapplications .cbp-nav-controls {
  position: inherit;
}

.galleryapplications .cbp-nav-controls .cbp-nav-prev {
  display: block;
  position: absolute;
  z-index: 2;
  left: -60px;
  top: 50%;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background: none;
  opacity: 0.6;
  box-shadow: none;
  border: solid 2px black;
  margin-left: 0;
}

.galleryapplications .cbp-nav-controls .cbp-nav-next {
  display: block;
  position: absolute;
  z-index: 2;
  right: -60px;
  top: 50%;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background: none;
  opacity: 0.6;
  box-shadow: none;
  border: solid 2px black;
  margin-left: 0;
}

.cbp-nav-next:active,
.cbp-nav-prev:active {
  opacity: 1;
}

.cbp-nav-next:hover,
.cbp-nav-prev:hover {
  opacity: 1;
}

.cbp-nav-prev:after {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  left: 5px !important;
  padding: 5px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.cbp-nav-next:after {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  right: 5px !important;
  padding: 5px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.cbp-nav-next:after,
.cbp-nav-prev:after {
  background: none;
}

.galleryapplications .custom-container {
  max-width: 1240px !important;
}

/* Gallery ends*/

/* Popup starts */

.cbp-popup-wrap {
  padding: 0 !important;
}
.cbp-popup-lightbox-bottom {
  max-width: 960px;
  margin: 3px auto;
  min-height: 300px;
}

.cbp-popup-lightbox-counter {
  font-family: proxima-nova, Arial, sans-serif;
  font-size: 18px;
  text-align: center;
  position: inherit;
}

.cbp-popup-lightbox-title {
  font-family: proxima-nova, Arial, sans-serif;
  font-size: 18px;
  line-height: 20px;
  padding: 20px !important;
  text-align: center;
}

.cbp-popup-lightbox-title p {
  font-size: 40px;
  margin-bottom: 20px;
  font-family: "proxima-nova";
  line-height: 1;
}

.application-description {
  line-height: 1.5;
  font-size: 18px;
  max-width: 50ch;
  margin: auto;
  font-family: "proxima-nova";
}
.application-description em {
  display: block;
  margin-top: 15px;
}
.cbp-popup-content .cbp-popup-lightbox-counter {
  font-size: 14px !important;
  font-family: "proxima-nova" !important;
}

.cbp-popup-lightbox-img {
  margin: 0 auto;
}

.application-description {
  display: none;
}

.cbp-popup-lightbox-title .application-description {
  display: block;
}

/* Popup ends */

/* ======== Media Query ======== */

@media only screen and (max-width: 900px) {
  .grid-container-wrap-galleryapplications.container-fluid {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .grid-container-wrap-galleryapplications.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .grid-container-description-galleryapplications {
    padding: 0;
    padding-top: 30px;
  }

  .galleryapplications .gallery-title {
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
  }

  .galleryapplications .cbp-nav-controls .cbp-nav-prev {
    left: -10px;
    border: none;
    opacity: 1 !important;
  }

  .galleryapplications .cbp-nav-controls .cbp-nav-next {
    right: -10px;
    border: none;
    opacity: 1 !important;
  }

  .galleryapplications .cbp-nav-controls .cbp-nav-next:after {
    right: 5px !important;
    padding: 5px !important;
    border-color: white;
  }

  .galleryapplications .cbp-nav-controls .cbp-nav-prev:after {
    left: 5px !important;
    padding: 5px !important;
    border-color: white;
  }
}

/* NEW pop-up design */
/* MOBILE */
.cbp-popup-wrap {
  padding: 0;
}

.cbp-popup-lightbox .cbp-popup-content {
  display: flex;
  height: 90%;
  background: white;
  width: 100%;
}

.cbp-popup-lightbox-title p {
  color: black;
  font-weight: 500;
  font-size: 25px !important;
  margin-bottom: 10px;
}

.cbp-popup-lightbox-title .application-description {
  display: block;
  color: black;
  text-align: left;
  font-size: 15px;
}

img.cbp-popup-lightbox-img {
  margin-top: 40px;
  min-height: 415px;
}

.cbp-popup-lightbox-counter {
  color: black !important;
  height: fit-content;
  width: 100%;
  top: 29vh !important;
  position: absolute !important;
}

.cbp-popup-lightbox .cbp-popup-next,
.cbp-popup-lightbox .cbp-popup-prev {
  bottom: 7vh !important;
  top: initial !important;
}

.cbp-popup-lightbox .cbp-popup-prev {
  background: url("https://www.rolanddg.eu/-/media/roland-emea/images/applications/arrowleft.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
.cbp-popup-lightbox .cbp-popup-next {
  background: url("https://www.rolanddg.eu/-/media/roland-emea/images/applications/arrowright.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.cbp-popup-lightbox .cbp-popup-close {
  background: url("https://www.rolanddg.eu/-/media/roland-emea/images/applications/close.svg") !important;
  top: 7vh !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* SMALL DEVICES */
@media only screen and (max-width: 376px) {
  img.cbp-popup-lightbox-img {
    min-height: 250px;
  }
  .cbp-popup-lightbox-counter {
    top: 28vh !important;
  }
  .cbp-popup-lightbox .cbp-popup-close {
    height: 25px;
    width: 25px;
  }
  img.cbp-popup-lightbox-img {
    margin-top: 30px;
  }
}

/* DESKTOP */
@media only screen and (min-width: 900px) {
  .cbp-popup-lightbox-figure {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    justify-content: center;
    padding: 0 6vw !important;
    /* gap: 2vw; */
  }
  .cbp-popup-lightbox .cbp-popup-next,
  .cbp-popup-lightbox .cbp-popup-prev {
    top: 0 !important;
    bottom: 0 !important;
  }

  .cbp-popup-lightbox-counter {
    top: 44vh !important;
    text-align: left;
    padding-left: 20px;
  }

  img.cbp-popup-lightbox-img {
    width: auto;
    height: 100%;
    margin-top: 0;
  }
  .cbp-popup-lightbox .cbp-popup-close {
    top: 7vh !important;
  }
}
