/* Estilo da galeria */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px !Important;
}
#lightbox-caption{
    max-width: 945px !Important;
}
.tituloGaleria {
    margin: 0;
    padding: 30px 27px;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    color: #414141;
}

/* Estilo da imagem principal */
.main-image img {
    max-width: 100%;
    height: auto;
}
.bloco_galeria .thumbnails{
    height: 145px;
    display: block;
    border-top: 2px solid #E2E2E2;
    padding-top: 30px;
    overflow: hidden;
    text-align: center;
}
.bloco_galeria{
    max-width: 100%;
    width: 100%;
    float: left;
    display: block;
    background-color: #f0f0f0;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0px;
}
.titulo_galeria{
    text-align: center;
}
/* Estilo das miniaturas */
.thumbnails figure{
    display: inline-block;
    margin-right: 10px;
    margin-bottom:15px;
}
.thumbnails {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.thumbnails img {
    width: 100px;
    height: 100px !important;
    cursor: pointer;
    transition: opacity 0.3s;
    object-fit: cover;
}

.thumbnails img:hover {
    opacity: 0.7;
}

.container-contents-lightbox{
    position: absolute;
      max-width: 945px !Important;
    bottom: 0;
    min-height: 44px;
    background: rgba(0,0,0,0.3);
}
.lightbox-credit{
    font-style: italic;
       font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    color:#fff;
    line-height: 25.74px;
    text-align: left;
		letter-spacing: 0.5px;
}
/* Estilo da legenda */
.caption {
    text-align: center;
    margin-top: 10px;
}

/* Estilo do lightbox */

/* Estilo do lightbox */

/* Estilo para as setas esquerda e direita */
.lightbox-arrow {
    font-size: 24px; /* Tamanho da fonte das setas */
    color: #fff; /* Cor das setas */
    text-decoration: none; /* Remova qualquer sublinhado */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

/* Estilo para a seta esquerda */
#prev-image {
    left: 10px;
    width:60px;
transform: rotate(180deg);
    height:60px;
}
#prev-image img{
    width:60px;
    height:60px;
}

/* Estilo para a seta direita */
#next-image {
    right: 10px;
    color: #fff !important;
    width: 60px;
    height: 60px;
    
}

#next-image img{
    width:60px;
    height:60px;
}

#lightbox {
    z-index:9999999 !Important;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#000;
    text-align: center;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
}


.image-counter {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    font-size: 20px;
}




#lightbox img {
    max-width: 80%;
    max-height: 80%;
    margin-top: 20px;
}

#lightbox-caption {
    color: #fff;
    margin-top: 10px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}
#lightbox.oculta{
  display:none !Important;
}
.titulo_galeria h3 {
color: #414141 !Important;
font-size: 28px;
font-weight: 700;
font-family: "Raleway", Sans-serif;
padding: 30px 27px;
line-height: 1.1;
}

.bloco_galeria .thumbnails	 {
		    padding-left: 30px;
	}
	
	#main-image .caption {
		font-size: 18.2px;
    line-height: 27.3px;
    text-align: left;
    padding: 15px;
    margin: 0px;
    padding-top: 0px;
    font-family: "Lato", sans-serif;
		padding-bottom: 45px;
		font-weight: 300;
		letter-spacing: 0.5px;
	}	
	
	
	#lightbox-caption {
		color: #ccc;
    max-width: 75%;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 25.74px;
    text-align: left;
		letter-spacing: 0.5px;
	}
	
	.image-counter {
		font-size: 13px;
		opacity: 0.75;
	}
	
	
	
/*CSS MOBILE*/
@media (max-width: 767px){
		.titulo_galeria h3 {
			font-size: 22px;
			line-height: 24.2px;
	}
	
	.bloco_galeria .thumbnails {
    padding-left: 10px;
}
	
	
	#main-image .caption {
		font-size: 14.3px;
		line-height: 24.2px;
	}
	#lightbox-credit {
        font-style: italic;
    }

	#lightbox-caption,#lightbox-credit {
		font-size: 13px;
        width: 100% !important;
        line-height: 1.43 !important;
        font-family: 'Lato';
        background-color: rgba(0,0,0,0.5);
        color:#fff;
        padding-right: 15px;
        padding-left: 15px;
	}
	
	#prev-image img, #next-image img {
    display:none !important;
    }
	
    #lightbox img {
        max-width: 100%;
        margin-top: 0px !important;
    }



	}	