a.lang-selector,
a.lang-selector:link,
a.lang-selector:visited,
a.lang-selector:hover,
a.lang-selector:active {
    color: white !important;
    text-decoration: none; /* Optional: removes underline */
}

   .video-thumbnail {
        position: relative;
        margin-bottom: 25px;
        cursor: pointer;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .video-thumbnail:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }
    
    .video-thumbnail img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        background-color: rgba(255, 0, 0, 0.8);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 24px;
    }
    
    .play-button::after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-left: 20px solid white;
        margin-left: 5px;
    }
    
    .video-title {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 8px 12px;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    
    /* Ajustes para o modal de vídeo */
    #videoModal .modal-content {
        background-color: #000;
        border: none;
    }
    
    #videoModal .modal-header {
        border-bottom: 1px solid #333;
        background-color: #111;
        color: white;
    }
    
    #videoModal .close {
        color: white;
        opacity: 0.8;
    }
    
    #videoModal .close:hover {
        opacity: 1;
    }

   .img-gallery {
        transition: transform 0.3s ease;
        cursor: pointer;
        object-fit: cover;
        margin-bottom: 30px;
        border: 3px solid grey;
        border-radius: 7px;
    }
    
    .img-gallery:hover {
        transform: scale(1.03);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    /* Garantir que a imagem no modal se adapte a diferentes orientações */
    #modalImage {
        max-height: 85vh;
        max-width: 100%;
        object-fit: contain;
        padding-bottom: 15px; /* Adicionar espaço na parte inferior */
    }
    
    /* Estilos para o modal autoajustável */
    .modal-dialog {
        margin: 10px auto;
    }
    
    .modal-content {
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        overflow: visible; /* Alterado de hidden para visible */
    }
    
    /* Reduz o padding do modal mas garante espaço inferior */
    .modal-body.p-0 {
        padding: 0 0 15px 0 !important;
    }
    
    /* Ajusta o header do modal */
    .modal-header {
        padding: 8px 15px;
        border-bottom: 1px solid #dee2e6;
        background-color: rgba(248, 249, 250, 0.9);
    }




		/* Turn placeholder almost invisible! */
		
		.img-gallery{
			margin-bottom: 25px;	
		}
	
		.invalid {
		  -moz-box-shadow:    1px 1px 2px 2px red;
		  -webkit-box-shadow: 1px 1px 2px 2px red;
		  box-shadow:         1px 1px 2px 2px red;
		}		
		
		.form-control::-webkit-input-placeholder {
		  color: #C0C0C0;
		}
		
		.form-control:-moz-placeholder {
		  color: #C0C0C0;
		}
		
		.form-control::-moz-placeholder {
		  color: #C0C0C0;
		  opacity: 1;
		}
		
		.form-control:-ms-input-placeholder {
		  color: #C0C0C0;
		}
		
		.form-control::-webkit-input-placeholder {
		  color: #C0C0C0;
		}	
		
		.facebook-messenger-caption{
			line-height: 95%;
			padding: 10px 0 0 0;
		}
		
		.facebook-messenger-link:hover, .facebook-messenger-link:visited, .facebook-messenger-link:link, .facebook-messenger-link:active {
		    text-decoration: none;
		}

	   #loginModal{
			top: 20%;	   
	   }
	   
		.container-tab{
			background-color: #ddd;
			padding: 10px;
			margin-bottom: 20px;	
			border-radius: 5px;
		}
		
		
		.pocket-tabs{
			color: #000;
			padding: 5px 20px 5px 20px;
			border-radius: 10px 10px 0 0;
			border: 0;	
			margin: 0; 
		}
	
		.pocket-tabs a{
			color: #000;
		}
	
		.pocket-tabs-active{
			color: #000;
			padding: 5px 20px 5px 20px;
			border-radius: 5px 5px 0 0;	
			background-color: #fff;
			border: 0;
			margin: 0;
		}	
		
		.tab-pane{ padding-top: 40px; padding-bottom: 40px; background-color: #fff; }
		
		.chat-div{
			 border-bottom: 0; 
		    opacity: .70; /* Standard: FF gt 1.5, Opera, Safari, CSS3 */
		    filter: alpha(opacity=70); /* IE lt 8 */
		    -ms-filter: "alpha(opacity=70)"; /* IE 8 */
		    -khtml-opacity: .70; /* Safari 1.x */
		    -moz-opacity: .70; /* FF lt 1.5, Netscape */
		}
	
		.chat-div:hover {
			 cursor: pointer;	
		    opacity: 1.00; /* Standard: FF gt 1.5, Opera, Safari, CSS3 */
		    filter: alpha(opacity=100); /* IE lt 8 */
		    -ms-filter: "alpha(opacity=100)"; /* IE 8 */
		    -khtml-opacity: 1.0; /* Safari 1.x */
		    -moz-opacity: 1.0; /* FF lt 1.5, Netscape */
		}
	
		table{
			margin-top: 20px;
			margin-bottom: 30px;	
			font-family: sans-serif;	
		}
		
		table td{
			cursor: pointer;	
		}
	
		
		.admin-menu{
			color: #eee;
			margin-top: 100px;
			line-height: 40px
		}
		
	 	#conteudo_admin{
	 		margin-top: 100px;
	 		padding-left: 40px;
	 	}
	
		.item{
			border-bottom: 1px solid grey;
			list-style-type: none;	
			cursor: pointer;
			color: #ddd;
		}	

		.item-active{
			border-bottom: 1px solid grey;
			list-style-type: none;	
			cursor: pointer;
			color: #fff;
			padding-left: 20px;
		}		
	
		.item:hover{
			color: #fff;
		}	
	
		.sel{
			background-color: #666;
		}	
	
		a{cursor: pointer; }
		
		.cog-icon{
			margin-left: 30px;	
		}
		
		.hide{
			display: none;	
		}
		
		.info{
			font-size: 13px;
			font-family: arial, sans-serif;
			color: #666; 
			line-height: 110%;
		}
		 
		 
		 /* unvisited link */
		.brown-link:link {
		    color: #7d6608;
		}
		
		/* visited link */
		.brown-link:visited {
		    color: #7d6608;
		}
		
		/* mouse over link */
		.brown-link:hover {
		   color: #7d6608;
		}
		
		/* selected link */
		.brown-link:active {
		   color: #7d6608;
		} 
	
		.nav-link-grey{
			background-color: #eee;	
			border: 1px solid #ddd;
			color: #666;
			margin-right: 3px;
		}
		
		


	#background {
	    width: 100%;
	    position: fixed;
	    top: 50%;
	    left: 50%;
	    transform: translate(-50%, -50%);
	    min-height: 100%;
	    object-fit: cover;
	    z-index: -1;
	}		
		
		
		.shadowed {
	    text-shadow: 1px 1px 8px #000;
		}
		
		.shadowed-white {
	    text-shadow: 2px 2px 8px #fff;
		}
		
		.tooltip-inner {
		  line-height: 90%;
		  font-style: italic;
		}	
	
		.tooltip > .tooltip-inner {
		  padding: 10px;
		  padding-top: 5px;
		  font-size: 16px;
		  background-color: #fff;
		  color: #000;
	  	  -moz-box-shadow:    1px 1px 2px 2px #666;
	     -webkit-box-shadow: 1px 1px 2px 2px #666;
	     box-shadow:         1px 1px 2px 2px #666;
		}	
	
		.tooltip.bs-tooltip-bottom .tooltip-inner {
		 	background:#fff !important;
		}
		
		.tooltip .arrow:before {
			border-bottom-color:#fff !important;
		  	border-top-color:#fff !important;
		}
	
		.btn{
			border-radius: 5px;	
			font-size: 12px;
		}
		
		.padding-left-50{
			padding-left: 50px;	
		}
		
		.bloco-opt {
			margin-bottom: 10px;	
			float: left;	
		}
		
		.hidden{
			display: none;
		}