/*== == GALLERY == ==*/

.gallery-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12.5px;
	padding: 50px 0px;
	padding-top: 0px;
}

.gallery-img {
	flex: 1 0 15%;
	display: none;
	overflow: hidden;
	}

.gallery-img.active {
	display: block;
	flex: 0 1 calc(100% / 5 - 10px);
	}

a.gallery-img-link img {
	width: 100%;
	object-fit: cover;
	height: 100%;
	transition:
		all 500ms ease;
}
.gallery-img:hover img {
    transform:
        scale(1.05);
}

.gallery-wrapper .title {
    color: white;
}
.slb_data_content {
    display: none;
}

/*== == BUTTONS == ==*/

.gallery-dropdown {
  position: relative;
  z-index: 999;
  flex: 1 0 45%;
  padding: 15px 0px;
}
.gallery-content {
  display: none;
  position: absolute;
  width: 150%;
  overflow: auto;
  z-index: 99999;
  display: none;
  transform: translatex(-12.5%);
  flex-wrap: wrap;
  background: black;
  padding: 2.5px 20px;
}
.gallery-dropdown:hover .gallery-content {
  display: flex;
}
.gallery-content button {
  display: block;
  color: white;
  padding: 5px;
  text-decoration: none;
  z-index: 999;
  background: black;
  flex: 1 0 45%;
  cursor: pointer;
  text-align: left;
}
.gallery-content a:hover {
  color: #FFFFFF;
  background-color: #00A4BD;
}
.gallery-navigation{
    display: flex;
    padding: 15px 0px;
    column-gap: 15px;
    justify-content: center;
}

.gallery-navigation button, .gallery-dropdown > button:first-child {
    display: block;
    /* flex: 0 1 20%; */
    /* max-width: 175px; */
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    background: none;
    color: black;
    font-size: 22px;
    line-height: 22px;
    cursor: pointer;
    font-family: 'DM Serif Display';
    border-width: 2px;
    border-color: var(--color0);
    transition: all .3s ease;
}

.gallery-navigation button:hover, .gallery-dropdown button:hover {
}

.gallery-dropdown button.commercial, .gallery-dropdown button.residential {
    display: flex;
    justify-content: center;
    cursor: pointer;
    margin: auto;
    width: 100%;
    transition: all .3s ease;
}

.gallery-navigation-dropdown {
    display: flex;
    justify-content: space-around;
    column-gap: 15px;
}
.gallery-content button:last-child {
    flex: 0 0 50%;
}

.gallery-navigation-dropdown .gallery-content button:first-child {
    text-align: left;
    display: block;
    justify-content: flex-start;
}
/*== == NEW BUTTONS == ==*/

.gallery-buttons {
    gap: 12px;
    padding: 15px 0px;
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.gallery-buttons button {
    flex: 1 0 calc(100% / 7 - 20px);
    cursor: pointer;
    font-family: 'DM Serif Display';
    font-size: 16px;
    line-height: 20px;
    transition: all .3s ease;
    background: var(--canary);
    color: var(--leaf);
    border: none;
    font-family: 'Poppins';
    padding: 7.5px 0px;
    border-radius: var(--curve);
}

.gallery-buttons.show  {
    height: auto;
    opacity: 1;
    transition: all .3s ease;
    display: flex;
}

commercial.show .commercial .gallery-buttons {
    width: 200%;
    transform: translatex(50%);
}

.gallery-dropdown.show  > button:first-child {
    background: var(--color0);
    transition: all .3s ease;
}

.gallery-buttons button.active {
	background: black;
	color: white;
}

.gallery-buttons button:hover {
   	background: black;
	color: white;
}

.gallery-dropdown > button:hover:first-child {
    background: var(--color0);
}

	/*== == NEW BUTTONS END == ==*/


	/*== == BUTTONS END == ==*/

	/*== == GALLERY END == ==*/