﻿html,
body {
    height: 100%;
    font-family: Verdana;
    font-size: 16px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

.top-nav-collapse {
    background-color: #4E4C4C;
}

.navbar {
    background-color: #4E4C4C;
}

.cloudinfouser {
    font-size:0.7rem;
}

.painellogin {
    max-width:500px;
}

@media screen and (min-width: 992px) {
    .navbar li a {
        color: white !important;
        text-decoration: none;
        background-color: #AD4949;
        margin-right: 5px;
    }

        .navbar li a:hover {
            text-decoration: none;
            background-color: #6E1515;
        }

    #basicExampleNav {
    }

    #basicExampleNav ul {
        background-color: #4E4C4C;
    }

    .cloudmain {
        font-size: 1rem;
    }


}

@media screen and (max-width: 991px) {
    .navbar li a {
        color: white !important;
        text-decoration: none;
        margin-right: 5px;
    }

        .navbar li a:hover {
            text-decoration: none;
            background-color: #6E1515;
        }

    #basicExampleNav ul {
        background-color: #4E4C4C;
    }

    .cloudmain {
        font-size: 0.75rem;
    }

}
.topoinfoini {
    bottom: 0;
    left: 0;
    z-index: 16;
    position: absolute;
    width: 100%;
    text-shadow: 1px 1px #24355C;
    background-color: rgb(0,0,0, 0.30);
}

.topoinfoinisp {
    display: none;
}

.white-text {
    color: white;
}

.logotop {
    display: none;
}

@media screen and (min-width: 500px) {
    .listavistos {
        text-align: left;
        color: white;
        font-weight: bold;
    }

    .listavistosfunc {
        display: none;
    }
}

@media screen and (max-width: 499px) {
    .listavistosfunc {
        text-align: left;
        color: black;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .listavistos {
        display: none;
    }
}

.footerbginfo {
    background-color: #4E4C4C;
    color: white;
}

    .footerbginfo a {
        color: white;
        text-decoration: underline;
    }

.footerbgline {
    background-color: #000000;
    color: white;
}

    .footerbgline a {
        color: white;
        text-decoration: underline;
    }

.iconmap {
    background: url("/images/map.png") no-repeat no-repeat left top;
    padding-left: 20px;
    padding-top: 0px;
    max-width: 250px;
    text-align: left !important;
}

.iconpointmap {
    background: url("/images/pointmap.png") no-repeat left top;
    padding-left: 20px;
    padding-top: 0px;
    max-width: 250px;
    text-align: left !important;
}

.iconemail {
    background: url("/images/mail.png") no-repeat left top;
    padding-left: 20px;
    padding-top: 0px;
    max-width: 250px;
    text-align: left !important;
}

.iconphone {
    background: url("/images/phone.png") no-repeat left top;
    padding-left: 20px;
    padding-top: 0px;
    max-width: 250px;
    text-align: left !important;
}

.alertavalidacontacto {
    margin-left: 5px;
}

.botaospinner {
    margin-right: 5px;
}

.fundonormal {
    padding-top: 10px;
}

.fundonormal h2 {
    font-style: italic;
}
.fundonormal a {
    color: #009FFF;
    text-decoration: underline;
}

.fundorealce {
    padding-top: 10px;
    background-color: #B03838;
    color: whitesmoke;
}

.fundorealce h2 {
    font-style: italic;
}

.fundorealce a {
    color: #009FFF;
    text-decoration: underline;
}

.fundorealcec {
    padding-top: 10px;
    background-color: #EEEEEE;
    color: black;
}

.fundorealcec h2 {
    font-style: italic;
}

.fundorealcec a {
    color: #009FFF;
    text-decoration: underline;
}

.grey-text {
    text-align: justify;
}

.modoini  {
    max-width:none;
    width:100%;
    height:500px;
    max-height:500px;
    overflow:hidden;    
}

.modoini .carousel-item img {
    width: 100%;
  height: 500px;
  object-fit: cover;     
}

.navbarsombra {
    box-shadow: rgb(0,0,0, 1) 0px 0px 20px 0px;
}

.carousel-control-prev {
    filter: invert(100%);
}
.carousel-control-next {
    filter: invert(100%);
}

.divdisabled {
    pointer-events: none;
    opacity: 0.4;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btnmbway {
    background:url(/images/mbway32.png) center center no-repeat;
    width:34px;
    height:34px;
}

/* cloud tabela com a lista dos documentos */
.cloudlistatabelatdnaoquebra {
    white-space: nowrap;
}
.cloudlistatabelatdquebra {
    word-wrap: break-word;
    word-break: break-all;
}
.cloudlistatabelatrpendente {
    color:firebrick;    
}
@media screen and (min-width: 992px) {
    .cloudlistatabelacolsdc {display:normal;}
    .cloudlistatabelacolsovalor {display:none;}
}
@media screen and (max-width: 991px) {
    .cloudlistatabelacolsdc {display:none;}
    .cloudlistatabelacolsovalor {display:normal;}    
}
/*******************************************/


/*** estilos para as linhas das tabelas que dão para clicar *****/
.clickable-row {
    cursor: pointer;
    transition: background-color 0.1s ease;
}
.clickable-row:hover {
    background-color: #d0d0d0;
}
/*******************************************/

/* Estilos para a barra de cookies ********************************************/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(45, 45, 45, 0.7);
    color: #ffffff;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    z-index: 1000;
    display: none; /* Escondido inicialmente */
}

.cookie-banner p {
    margin: 0;
    display: inline-block;
}

.cookie-banner a {
    color: #009FFF;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #AD4949;
    color: #ffffff;
    border: none;
    padding: 5px;
    margin-left: 20px;
    cursor: pointer;
    font-size: 12px;
}

.cookie-banner button:hover {
    background-color: #6E1515;
}
/*******************************************/


.areapdf{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color:lightgray; 
    width: 100%;
    border: 1px solid #b6b3b3; 
}
.pdfContainer {
    position: relative;
    display: inline-block;
}
.pdfCanvas {
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.15);
}
#draggableImage {
    position: absolute;
    cursor: grab;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.1);
    border:1px solid gray;
    border-radius: 4px; 
    user-select: none; 
}
#draggableImage:active {
    cursor: grabbing;
}
.pdfimagemassinaturacolocar {
}
.pdfbotao {
    background-color: #AD4949;
    color: white;
}
.pdfbotao:hover {
    background-color: #6E1515;
    color: white;
}
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd; /* Cor da barra */
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
}

/* Estilização padrão para Chrome, Edge e Safari */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Remove o estilo padrão */
    appearance: none;
    width: 16px; /* Tamanho da bola */
    height: 16px;
    background-color: #AD4949; /* Cor de fundo */
    border: 2px solid #eea236; /* Borda */
    border-radius: 50%; /* Mantém a forma arredondada */
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Hover no Chrome, Edge e Safari */
input[type="range"]::-webkit-slider-thumb:hover {
    background-color: #6E1515; /* Cor de fundo ao passar o mouse */
    border-color: #d58512;
}

/* Estilização padrão para Firefox */
input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background-color: #AD4949;
    border: 2px solid #eea236;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Hover no Firefox */
input[type="range"]::-moz-range-thumb:hover {
    background-color: #6E1515;
    border-color: #d58512;
}

/* Mudar a cor da barra ao interagir */
input[type="range"]:hover {
    background: #ccc;
}



/* painel de confirmação */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width:400px;
}
.modal-content button {
    max-width:100px;
}
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Espaçamento entre os botões */
    margin-top: 15px;
}

.d-none {
    display: none;
}
/*******************/
